summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-09-05 17:14:01 +0800
committerRi Xu <xuri.me@gmail.com>2017-09-05 17:14:01 +0800
commit5354074fc278e3155a00cc94ec5eb5927e74be7a (patch)
tree6bd6bd15ab8a1a171ee43e3a9f6cad67bbb6af9f
parent224f1850c7d59a25fbbf573c29f8c558d85b3aab (diff)
Update struct define to fix issue #112.
-rw-r--r--xmlWorksheet.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go
index ebcf2cc..de7ea93 100644
--- a/xmlWorksheet.go
+++ b/xmlWorksheet.go
@@ -118,13 +118,14 @@ type xlsxPageMargins struct {
// specifies the sheet formatting properties.
type xlsxSheetFormatPr struct {
BaseColWidth uint8 `xml:"baseColWidth,attr,omitempty"`
- CustomHeight float64 `xml:"customHeight,attr,omitempty"`
DefaultColWidth float64 `xml:"defaultColWidth,attr,omitempty"`
DefaultRowHeight float64 `xml:"defaultRowHeight,attr"`
+ CustomHeight bool `xml:"customHeight,attr,omitempty"`
+ ZeroHeight bool `xml:"zeroHeight,attr,omitempty"`
ThickTop bool `xml:"thickTop,attr,omitempty"`
- OutlineLevelCol uint8 `xml:"outlineLevelCol,attr,omitempty"`
+ ThickBottom bool `xml:"thickBottom,attr,omitempty"`
OutlineLevelRow uint8 `xml:"outlineLevelRow,attr,omitempty"`
- ZeroHeight float64 `xml:"zeroHeight,attr,omitempty"`
+ OutlineLevelCol uint8 `xml:"outlineLevelCol,attr,omitempty"`
}
// xlsxSheetViews directly maps the sheetViews element in the namespace