ISEbd-21 Melnikov I. O. Lab Work 04 Advanced #28
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user