diff options
author | Ri Xu <xuri.me@gmail.com> | 2016-09-19 10:10:41 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2016-09-19 10:10:41 +0800 |
commit | 9e0aca22233da1326794d378c3d06acbc4e76a8e (patch) | |
tree | 473076c22b476eb10be2274622f21976b2a6e8f5 | |
parent | 2e8fa2d39c8771c6f79c59e708f2b443302ade7f (diff) |
Add custom height and zero height attributes in sheetFormatPr element.
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | xmlWorksheet.go | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -11,7 +11,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -* Neither the name of [project] nor the names of its +* Neither the name of Excelize nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 975e40e..0421c51 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -112,6 +112,8 @@ type xlsxPageMargins struct { type xlsxSheetFormatPr struct { DefaultColWidth float64 `xml:"defaultColWidth,attr,omitempty"` DefaultRowHeight float64 `xml:"defaultRowHeight,attr"` + CustomHeight float64 `xml:"customHeight,attr,omitempty"` + ZeroHeight float64 `xml:"zeroHeight,attr,omitempty"` OutlineLevelCol uint8 `xml:"outlineLevelCol,attr,omitempty"` OutlineLevelRow uint8 `xml:"outlineLevelRow,attr,omitempty"` } |