|
|
@@ -82,8 +82,9 @@ type xlsxFonts struct {
|
|
|
Font []*xlsxFont `xml:"font"`
|
|
|
}
|
|
|
|
|
|
-// font directly maps the font element.
|
|
|
-type font 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"`
|
|
|
@@ -100,12 +101,6 @@ type font struct {
|
|
|
Scheme *attrValString `xml:"scheme"`
|
|
|
}
|
|
|
|
|
|
-// xlsxFont directly maps the font element. This element defines the properties
|
|
|
-// for one of the fonts used in this workbook.
|
|
|
-type xlsxFont struct {
|
|
|
- Font string `xml:",innerxml"`
|
|
|
-}
|
|
|
-
|
|
|
// xlsxFills directly maps the fills element. This element defines the cell
|
|
|
// fills portion of the Styles part, consisting of a sequence of fill records. A
|
|
|
// cell fill consists of a background color, foreground color, and pattern to be
|
|
|
@@ -262,7 +257,7 @@ type xlsxDxf struct {
|
|
|
|
|
|
// dxf directly maps the dxf element.
|
|
|
type dxf struct {
|
|
|
- Font *font `xml:"font"`
|
|
|
+ Font *xlsxFont `xml:"font"`
|
|
|
NumFmt *xlsxNumFmt `xml:"numFmt"`
|
|
|
Fill *xlsxFill `xml:"fill"`
|
|
|
Alignment *xlsxAlignment `xml:"alignment"`
|