From aa8f6f02bdf933df6cffec6b408276d02ed9e6b0 Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 11 Oct 2021 00:08:45 +0800 Subject: This closes #1029, support specify compact and outline for the pivot table --- xmlPivotTable.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xmlPivotTable.go') diff --git a/xmlPivotTable.go b/xmlPivotTable.go index 5324991..529b867 100644 --- a/xmlPivotTable.go +++ b/xmlPivotTable.go @@ -71,8 +71,8 @@ type xlsxPivotTableDefinition struct { ShowEmptyRow bool `xml:"showEmptyRow,attr,omitempty"` ShowEmptyCol bool `xml:"showEmptyCol,attr,omitempty"` ShowHeaders bool `xml:"showHeaders,attr,omitempty"` - Compact bool `xml:"compact,attr"` - Outline bool `xml:"outline,attr"` + Compact *bool `xml:"compact,attr"` + Outline *bool `xml:"outline,attr"` OutlineData bool `xml:"outlineData,attr,omitempty"` CompactData *bool `xml:"compactData,attr,omitempty"` Published bool `xml:"published,attr,omitempty"` @@ -125,10 +125,10 @@ type xlsxPivotField struct { ShowDropDowns bool `xml:"showDropDowns,attr,omitempty"` HiddenLevel bool `xml:"hiddenLevel,attr,omitempty"` UniqueMemberProperty string `xml:"uniqueMemberProperty,attr,omitempty"` - Compact bool `xml:"compact,attr"` + Compact *bool `xml:"compact,attr"` AllDrilled bool `xml:"allDrilled,attr,omitempty"` NumFmtID string `xml:"numFmtId,attr,omitempty"` - Outline bool `xml:"outline,attr"` + Outline *bool `xml:"outline,attr"` SubtotalTop bool `xml:"subtotalTop,attr,omitempty"` DragToRow bool `xml:"dragToRow,attr,omitempty"` DragToCol bool `xml:"dragToCol,attr,omitempty"` -- cgit v1.2.1