доработки по ворду

This commit is contained in:
Мк Игорь 2023-05-09 18:53:44 +04:00
parent 503c88533b
commit 9a98b79594

View File

@ -54,25 +54,6 @@ namespace BlacksmithWorkshopBusinessLogic.OfficePackage
JustificationType = WordJustificationType.Center
}
});
//foreach (var store in info.Stores)
//{
// CreateParagraph(new WordParagraph
// {
// Texts = new List<(string, WordTextProperties)>
// {
// (store.StoreName, new WordTextProperties { Bold = true, Size = "24", }),
// (" ", new WordTextProperties { Size = "24"}),
// (store.Address, new WordTextProperties { Size = "24" }),
// (" ", new WordTextProperties { Size = "24"}),
// (store.OpeningDate.ToShortDateString(), new WordTextProperties { Size = "24" })
// },
// TextProperties = new WordTextProperties
// {
// Size = "24",
// JustificationType = WordJustificationType.Both
// }
// });
//}
CreateTable(new()
{
("Название", 3000),
@ -83,7 +64,7 @@ namespace BlacksmithWorkshopBusinessLogic.OfficePackage
.Select(x => new List<string>
{
x.StoreName,
Convert.ToString(x.OpeningDate.ToShortDateString),
Convert.ToString(x.OpeningDate),
x.Address,
})
.ToList());