Так лучше

This commit is contained in:
dasha 2023-03-23 16:39:55 +04:00
parent 146a8cd252
commit 96f5a5ac76
2 changed files with 0 additions and 12 deletions

View File

@ -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 }), ("Адрес", 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.ShopName, new WordTextProperties { Size = "24" }),
(shop.Address, new WordTextProperties { Size = "24" }), (shop.Address, new WordTextProperties { Size = "24" }),
(shop.DateOpening.ToShortDateString(), new WordTextProperties { Size = "24" }) (shop.DateOpening.ToShortDateString(), new WordTextProperties { Size = "24" })
},
TextProperties = new WordTextProperties
{
Size = "24",
JustificationType = WordJustificationType.Both
} }
}); });
} }

View File

@ -3,7 +3,5 @@
public class WordRow public class WordRow
{ {
public List<(string, WordTextProperties)> Texts { get; set; } = new(); public List<(string, WordTextProperties)> Texts { get; set; } = new();
public WordTextProperties? TextProperties { get; set; }
} }
} }