From 2f74ec171d8c42367666014fa661eab26f088e68 Mon Sep 17 00:00:00 2001 From: william Date: Mon, 24 May 2021 15:27:36 +0800 Subject: fix the bug when there was no count attribute in sharedStrings file --- xmlWorksheet.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmlWorksheet.go') diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 438e900..82ac395 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -248,9 +248,9 @@ type xlsxSheetPr struct { // adjust the direction of grouper controls. type xlsxOutlinePr struct { ApplyStyles *bool `xml:"applyStyles,attr"` - SummaryBelow bool `xml:"summaryBelow,attr,omitempty"` - SummaryRight bool `xml:"summaryRight,attr,omitempty"` - ShowOutlineSymbols bool `xml:"showOutlineSymbols,attr,omitempty"` + SummaryBelow bool `xml:"summaryBelow,attr"` + SummaryRight bool `xml:"summaryRight,attr"` + ShowOutlineSymbols bool `xml:"showOutlineSymbols,attr"` } // xlsxPageSetUpPr expresses page setup properties of the worksheet. -- cgit v1.2.1