diff options
author | xuri <xuri.me@gmail.com> | 2019-09-24 21:53:19 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-09-24 21:53:19 +0800 |
commit | a34d3b8c86d67d3ad0bc0dbedb69d3b4ebbc210f (patch) | |
tree | b281ae447cdf2f9355cde1d04098db664882a759 /xmlStyles.go | |
parent | 75d66a03f33f25c29167c5f75ee8a4cc58598420 (diff) |
Compatibility improvement
Diffstat (limited to 'xmlStyles.go')
-rw-r--r-- | xmlStyles.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmlStyles.go b/xmlStyles.go index 7e02d6e..16a89ab 100644 --- a/xmlStyles.go +++ b/xmlStyles.go @@ -85,9 +85,6 @@ type xlsxFonts struct { // xlsxFont directly maps the font element. This element defines the // properties for one of the fonts used in this workbook. type xlsxFont struct { - Name *attrValString `xml:"name"` - Charset *attrValInt `xml:"charset"` - Family *attrValInt `xml:"family"` B *bool `xml:"b,omitempty"` I *bool `xml:"i,omitempty"` Strike *bool `xml:"strike,omitempty"` @@ -95,9 +92,12 @@ type xlsxFont struct { Shadow *bool `xml:"shadow,omitempty"` Condense *bool `xml:"condense,omitempty"` Extend *bool `xml:"extend,omitempty"` - Color *xlsxColor `xml:"color"` - Sz *attrValFloat `xml:"sz"` U *attrValString `xml:"u"` + Sz *attrValFloat `xml:"sz"` + Color *xlsxColor `xml:"color"` + Name *attrValString `xml:"name"` + Family *attrValInt `xml:"family"` + Charset *attrValInt `xml:"charset"` Scheme *attrValString `xml:"scheme"` } |