From 6e287839ecc64396a6e40fb15cc62363fca6ca7a Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Fri, 7 Apr 2017 17:32:14 +0800 Subject: - Set number format for a cell support; - go test updated --- xmlStyles.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmlStyles.go') diff --git a/xmlStyles.go b/xmlStyles.go index 62bf0f5..14b5e4b 100644 --- a/xmlStyles.go +++ b/xmlStyles.go @@ -285,7 +285,7 @@ type formatCellStyle struct { } `json:"fill"` Alignment *struct { Horizontal string `json:"horizontal"` - Indent int `json:"indent,omitempty"` + Indent int `json:"indent"` JustifyLastLine bool `json:"justify_last_line"` ReadingOrder uint64 `json:"reading_order"` RelativeIndent int `json:"relative_indent"` @@ -294,4 +294,5 @@ type formatCellStyle struct { Vertical string `json:"vertical"` WrapText bool `json:"wrap_text"` } `json:"alignment"` + NumFmt int `json:"number_format"` } -- cgit v1.2.1