Add custom height and zero height attributes in sheetFormatPr element.

This commit is contained in:
Ri Xu 2016-09-19 10:10:41 +08:00
parent 2e8fa2d39c
commit 9e0aca2223
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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"`
}