diff options
author | xuri <xuri.me@gmail.com> | 2020-02-07 00:25:01 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-02-07 00:53:38 +0800 |
commit | e51aff2d9562bbfb290ef76a948facb6d4660eff (patch) | |
tree | 9555d9a40aca0ca5998d5183544c40945391082e /xmlWorksheet.go | |
parent | a691c1048d2575d70ce97d2da80c2c40a2c37fb2 (diff) |
Resolve #570, flat columns for the column's operation
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r-- | xmlWorksheet.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go index ed304cc..46253e6 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -278,15 +278,15 @@ type xlsxCols struct { // width and column formatting for one or more columns of the worksheet. type xlsxCol struct { BestFit bool `xml:"bestFit,attr,omitempty"` - Collapsed bool `xml:"collapsed,attr"` + Collapsed bool `xml:"collapsed,attr,omitempty"` CustomWidth bool `xml:"customWidth,attr,omitempty"` - Hidden bool `xml:"hidden,attr"` + Hidden bool `xml:"hidden,attr,omitempty"` Max int `xml:"max,attr"` Min int `xml:"min,attr"` OutlineLevel uint8 `xml:"outlineLevel,attr,omitempty"` Phonetic bool `xml:"phonetic,attr,omitempty"` - Style int `xml:"style,attr"` - Width float64 `xml:"width,attr"` + Style int `xml:"style,attr,omitempty"` + Width float64 `xml:"width,attr,omitempty"` } // xlsxDimension directly maps the dimension element in the namespace |