Так лучше
This commit is contained in:
parent
146a8cd252
commit
96f5a5ac76
@ -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
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -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; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user