From dfb8ee759f12d8d081267dadb25906f1034057c8 Mon Sep 17 00:00:00 2001 From: mara-1 <147929076+mara-1@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:23:32 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BE=D0=BA?= =?UTF-8?q?=20=D0=BF=D0=BE=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D0=B5(?= =?UTF-8?q?=D0=B6=D0=B8=D1=80=D0=BD=D1=8B=D0=B9=20=D1=88=D1=80=D0=B8=D1=84?= =?UTF-8?q?=D1=82)=20Excel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectHorseRacingOrg/Reports/ExcelBuilder.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ProjectHorseRacingOrg/Reports/ExcelBuilder.cs b/ProjectHorseRacingOrg/Reports/ExcelBuilder.cs index e40ec66..1dcee63 100644 --- a/ProjectHorseRacingOrg/Reports/ExcelBuilder.cs +++ b/ProjectHorseRacingOrg/Reports/ExcelBuilder.cs @@ -38,7 +38,7 @@ namespace ProjectHorseRacingOrg.Reports; public ExcelBuilder AddHeader(string header, int startIndex, int count) { CreateCell(startIndex, _rowIndex, header, - StyleIndex.SimpleTextWithoutBorder); + StyleIndex.BoldTextWithoutBorder); for (int i = startIndex + 1; i < startIndex + count; ++i) { CreateCell(i, _rowIndex, "", StyleIndex.SimpleTextWithoutBorder); @@ -81,7 +81,7 @@ namespace ProjectHorseRacingOrg.Reports; })); for (var j = 0; j < data.First().Length; ++j) { - CreateCell(j, _rowIndex, data.First()[j], StyleIndex.SimpleTextWithoutBorder); + CreateCell(j, _rowIndex, data.First()[j], StyleIndex.BoldTextWithBorder); } _rowIndex++; for (var i = 1; i < data.Count - 1; ++i) @@ -210,8 +210,8 @@ namespace ProjectHorseRacingOrg.Reports; { NumberFormatId = 1, FormatId = 0, - FontId = 1, - BorderId = 0, + FontId = 0, + BorderId = 1, FillId = 0, Alignment = new Alignment() { @@ -224,8 +224,8 @@ namespace ProjectHorseRacingOrg.Reports; { NumberFormatId = 2, FormatId = 0, - FontId = 0, - BorderId = 1, + FontId = 1, + BorderId = 0, FillId = 0, Alignment = new Alignment() {