From 84eed7fd392aa0343d9413272df8416192accea0 Mon Sep 17 00:00:00 2001 From: malimova Date: Thu, 25 Apr 2024 23:10:23 +0400 Subject: [PATCH] =?UTF-8?q?+=D1=86=D0=B5=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfectioneryBusinessLogic/AbstractSaveToWord.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Confectionery/ConfectioneryBusinessLogic/AbstractSaveToWord.cs b/Confectionery/ConfectioneryBusinessLogic/AbstractSaveToWord.cs index bdbb056..d69ae7e 100644 --- a/Confectionery/ConfectioneryBusinessLogic/AbstractSaveToWord.cs +++ b/Confectionery/ConfectioneryBusinessLogic/AbstractSaveToWord.cs @@ -26,7 +26,10 @@ namespace ConfectioneryBusinessLogic.OfficePackage { CreateParagraph(new WordParagraph { - Texts = new List<(string, WordTextProperties)> {(pastry.PastryName, new WordTextProperties { Size = "24", }) }, + Texts = new List<(string, WordTextProperties)> { + (pastry.PastryName, new WordTextProperties { Size = "24", Bold = true}), + ("\t"+pastry.Price.ToString(), new WordTextProperties{Size = "24"}) + }, TextProperties = new WordTextProperties { Size = "24",