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; } } }