From 96f5a5ac76ad100d9969c4fa3cf4bb1226e4f6da Mon Sep 17 00:00:00 2001 From: dasha Date: Thu, 23 Mar 2023 16:39:55 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B0=D0=BA=20=D0=BB=D1=83=D1=87=D1=88?= =?UTF-8?q?=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OfficePackage/AbstractSaveToWord.cs | 10 ---------- .../OfficePackage/HelperModels/WordRow.cs | 2 -- 2 files changed, 12 deletions(-) diff --git a/SushiBar/SushiBarBusinessLogic/OfficePackage/AbstractSaveToWord.cs b/SushiBar/SushiBarBusinessLogic/OfficePackage/AbstractSaveToWord.cs index b761a4d..d493b56 100644 --- a/SushiBar/SushiBarBusinessLogic/OfficePackage/AbstractSaveToWord.cs +++ b/SushiBar/SushiBarBusinessLogic/OfficePackage/AbstractSaveToWord.cs @@ -59,11 +59,6 @@ namespace SushiBarBusinessLogic.OfficePackage ("Название", new WordTextProperties { Size = "24", Bold = true }), ("Адрес", new WordTextProperties { Size = "24", Bold = true }), ("Дата открытия", new WordTextProperties { Size = "24", Bold = true }) - }, - TextProperties = new WordTextProperties - { - Size = "24", - JustificationType = WordJustificationType.Both } }); @@ -75,11 +70,6 @@ namespace SushiBarBusinessLogic.OfficePackage (shop.ShopName, new WordTextProperties { Size = "24" }), (shop.Address, new WordTextProperties { Size = "24" }), (shop.DateOpening.ToShortDateString(), new WordTextProperties { Size = "24" }) - }, - TextProperties = new WordTextProperties - { - Size = "24", - JustificationType = WordJustificationType.Both } }); } diff --git a/SushiBar/SushiBarBusinessLogic/OfficePackage/HelperModels/WordRow.cs b/SushiBar/SushiBarBusinessLogic/OfficePackage/HelperModels/WordRow.cs index a534875..b283776 100644 --- a/SushiBar/SushiBarBusinessLogic/OfficePackage/HelperModels/WordRow.cs +++ b/SushiBar/SushiBarBusinessLogic/OfficePackage/HelperModels/WordRow.cs @@ -3,7 +3,5 @@ public class WordRow { public List<(string, WordTextProperties)> Texts { get; set; } = new(); - - public WordTextProperties? TextProperties { get; set; } } }