diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-04-07 17:32:14 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-04-07 17:32:14 +0800 |
commit | 6e287839ecc64396a6e40fb15cc62363fca6ca7a (patch) | |
tree | 5b72a4a5737386372c9fcae5c875f90253fe8eaf /xmlStyles.go | |
parent | c7e277a07a3e151d3622828d1670ac4b33d2f5e8 (diff) |
- Set number format for a cell support;
- go test updated
Diffstat (limited to 'xmlStyles.go')
-rw-r--r-- | xmlStyles.go | 3 |
1 files changed, 2 insertions, 1 deletions
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"` } |