diff --git a/src/NetCore.Utilities.Spreadsheet/OpenXmlSpreadsheetGenerator.cs b/src/NetCore.Utilities.Spreadsheet/OpenXmlSpreadsheetGenerator.cs index a3c3d01..dbc1c7c 100644 --- a/src/NetCore.Utilities.Spreadsheet/OpenXmlSpreadsheetGenerator.cs +++ b/src/NetCore.Utilities.Spreadsheet/OpenXmlSpreadsheetGenerator.cs @@ -534,7 +534,7 @@ private static Stylesheet CreateStylesheet() NumberFormatId = 22, ApplyNumberFormat = true }, - new CellFormat + new CellFormat // F0 { FormatId = 0, FontId = 0, @@ -543,7 +543,7 @@ private static Stylesheet CreateStylesheet() NumberFormatId = 301, ApplyNumberFormat = true }, - new CellFormat + new CellFormat // F1 { FormatId = 0, FontId = 0, @@ -551,7 +551,8 @@ private static Stylesheet CreateStylesheet() FillId = 0, NumberFormatId = 302, ApplyNumberFormat = true - }, new CellFormat + }, + new CellFormat // F2 { FormatId = 0, FontId = 0, @@ -559,7 +560,8 @@ private static Stylesheet CreateStylesheet() FillId = 0, NumberFormatId = 303, ApplyNumberFormat = true - }, new CellFormat + }, + new CellFormat // F3 { FormatId = 0, FontId = 0, @@ -567,6 +569,24 @@ private static Stylesheet CreateStylesheet() FillId = 0, NumberFormatId = 304, ApplyNumberFormat = true + }, + new CellFormat // C3 + { + FormatId = 0, + FontId = 0, + BorderId = 0, + FillId = 0, + NumberFormatId = 401, + ApplyNumberFormat = true + }, + new CellFormat // C4 + { + FormatId = 0, + FontId = 0, + BorderId = 0, + FillId = 0, + NumberFormatId = 402, + ApplyNumberFormat = true } ); return styles;