diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-08-07 10:42:10 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-08-07 10:42:10 +0800 |
commit | 5cf3725f026d2a1dbf3208d575ade996cfd7e7ec (patch) | |
tree | 89dbfb3b9d580109654fa9728e9b46f8729040d5 /xmlStyles.go | |
parent | 6626a26f7baca10773f4066de47a811a8a89d236 (diff) |
Add missing element `xfId` of the styles to fix issue #93.
Diffstat (limited to 'xmlStyles.go')
-rw-r--r-- | xmlStyles.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlStyles.go b/xmlStyles.go index e8aaef6..43bf945 100644 --- a/xmlStyles.go +++ b/xmlStyles.go @@ -211,7 +211,7 @@ type xlsxXf struct { NumFmtID int `xml:"numFmtId,attr"` PivotButton bool `xml:"pivotButton,attr,omitempty"` QuotePrefix bool `xml:"quotePrefix,attr,omitempty"` - XfID *int `xml:"xfId,attr,omitempty"` + XfID *int `xml:"xfId,attr"` Alignment *xlsxAlignment `xml:"alignment"` Protection *xlsxProtection `xml:"protection"` } |