From 9e0aca22233da1326794d378c3d06acbc4e76a8e Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Mon, 19 Sep 2016 10:10:41 +0800 Subject: [PATCH] Add custom height and zero height attributes in sheetFormatPr element. --- LICENSE | 2 +- xmlWorksheet.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index c391b00f..3ee17235 100644 --- a/LICENSE +++ b/LICENSE @@ -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 975e40ef..0421c519 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"` }