настройка границ

This commit is contained in:
Adelina888 2024-12-13 13:46:24 +04:00
parent 441b9a1443
commit f995cae743

View File

@ -88,7 +88,7 @@ internal class ExcelBuilder
for (var j = 0; j < data[i].Length; ++j)
{
CreateCell(j, _rowIndex, data[i][j],
StyleIndex.SimpleTextWithoutBorder);
StyleIndex.SimpleTextWithBorder);
}
_rowIndex++;
}
@ -217,8 +217,8 @@ workbookPart.AddNewPart<WorkbookStylesPart>();
{
NumberFormatId = 1,
FormatId = 0,
FontId = 1,
BorderId = 0,
FontId = 0,
BorderId = 1,
FillId = 0,
Alignment = new Alignment()
{
@ -231,8 +231,8 @@ workbookPart.AddNewPart<WorkbookStylesPart>();
{
NumberFormatId = 2,
FormatId = 0,
FontId = 0,
BorderId = 1,
FontId = 1,
BorderId = 0,
FillId = 0,
Alignment = new Alignment()
{