summaryrefslogtreecommitdiff
path: root/xmlPivotTable.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-04-09 01:00:14 +0800
committerxuri <xuri.me@gmail.com>2020-04-09 01:00:14 +0800
commite36650f4ffd3e305d2c3834620f97ec382cf6faf (patch)
tree3d0a20cdacb43d3beead9d19bab327da7499e786 /xmlPivotTable.go
parenta2e1da8d9d90ed71a33523cfe2c5231cd0b5fad9 (diff)
Resolve #598, filter support for AddPivotTable
Diffstat (limited to 'xmlPivotTable.go')
-rw-r--r--xmlPivotTable.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlPivotTable.go b/xmlPivotTable.go
index 82bbf27..2eff026 100644
--- a/xmlPivotTable.go
+++ b/xmlPivotTable.go
@@ -251,9 +251,9 @@ type xlsxPageFields struct {
type xlsxPageField struct {
Fld int `xml:"fld,attr"`
Item int `xml:"item,attr,omitempty"`
- Hier int `xml:"hier,attr"`
- Name string `xml:"name,attr"`
- Cap string `xml:"cap,attr"`
+ Hier int `xml:"hier,attr,omitempty"`
+ Name string `xml:"name,attr,omitempty"`
+ Cap string `xml:"cap,attr,omitempty"`
ExtLst *xlsxExtLst `xml:"extLst"`
}