diff --git a/LawFirm/LawFirmBusinessLogic/OfficePackage/Implements/SaveToExcel.cs b/LawFirm/LawFirmBusinessLogic/OfficePackage/Implements/SaveToExcel.cs index 8939900..f6088a9 100644 --- a/LawFirm/LawFirmBusinessLogic/OfficePackage/Implements/SaveToExcel.cs +++ b/LawFirm/LawFirmBusinessLogic/OfficePackage/Implements/SaveToExcel.cs @@ -22,16 +22,14 @@ namespace LawFirmBusinessLogic.OfficePackage.Implements var fonts = new Fonts() { Count = 2U, KnownFonts = true }; var fontUsual = new Font(); fontUsual.Append(new FontSize() { Val = 12D }); - fontUsual.Append(new DocumentFormat.OpenXml.Office2010.Excel.Color() - { Theme = 1U }); + fontUsual.Append(new DocumentFormat.OpenXml.Office2010.Excel.Color(){ Theme = 1U }); fontUsual.Append(new FontName() { Val = "Times New Roman" }); fontUsual.Append(new FontFamilyNumbering() { Val = 2 }); fontUsual.Append(new FontScheme() { Val = FontSchemeValues.Minor }); var fontTitle = new Font(); fontTitle.Append(new Bold()); fontTitle.Append(new FontSize() { Val = 14D }); - fontTitle.Append(new DocumentFormat.OpenXml.Office2010.Excel.Color() - { Theme = 1U }); + fontTitle.Append(new DocumentFormat.OpenXml.Office2010.Excel.Color(){ Theme = 1U }); fontTitle.Append(new FontName() { Val = "Times New Roman" }); fontTitle.Append(new FontFamilyNumbering() { Val = 2 }); fontTitle.Append(new FontScheme() { Val = FontSchemeValues.Minor }); @@ -125,15 +123,15 @@ namespace LawFirmBusinessLogic.OfficePackage.Implements }; cellFormats.Append(cellFormatFont); cellFormats.Append(cellFormatFontAndBorder); - cellFormats.Append(cellFormatTitle); var cellStyles = new CellStyles() { Count = 1U }; + cellFormats.Append(cellFormatTitle); + var cellStyles = new CellStyles() { Count = 1U }; cellStyles.Append(new CellStyle() { Name = "Normal", FormatId = 0U, BuiltinId = 0U }); - var differentialFormats = new DocumentFormat.OpenXml.Office2013.Excel.DifferentialFormats() - { Count = 0U }; + var differentialFormats = new DocumentFormat.OpenXml.Office2013.Excel.DifferentialFormats(){ Count = 0U }; var tableStyles = new TableStyles() {