diff options
author | xuri <xuri.me@gmail.com> | 2021-10-11 00:08:45 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-10-11 00:08:45 +0800 |
commit | aa8f6f02bdf933df6cffec6b408276d02ed9e6b0 (patch) | |
tree | b2ed34428c62832003f3ed285a7f8afaacd9ec0a /xmlPivotTable.go | |
parent | 28841af9804243205a9693be0cb501ce2d980302 (diff) |
This closes #1029, support specify compact and outline for the pivot table
Diffstat (limited to 'xmlPivotTable.go')
-rw-r--r-- | xmlPivotTable.go | 8 |
1 files changed, 4 insertions, 4 deletions
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"` |