diff options
| author | Ri Xu <xuri.me@gmail.com> | 2017-11-16 10:24:45 +0800 |
|---|---|---|
| committer | Ri Xu <xuri.me@gmail.com> | 2017-11-16 10:24:45 +0800 |
| commit | 96b3e1ea74c2a28842c04891c8d6bd99e2fb3c86 (patch) | |
| tree | d11cc870283651c10cc4e3d7d4908c5880ddc0b7 /xmlWorksheet.go | |
| parent | a4ffb4fbfc9048998345e979577dab2a81bf57ff (diff) | |
Bugfix: corrupted xlsx after write operation, relate issue #152.
Signed-off-by: Ri Xu <xuri.me@gmail.com>
Diffstat (limited to 'xmlWorksheet.go')
| -rw-r--r-- | xmlWorksheet.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go index de7ea93..d0f4f5d 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -357,7 +357,7 @@ type xlsxSheetProtection struct { // properties specify how to display that phonetic run. type xlsxPhoneticPr struct { Alignment string `xml:"alignment,attr,omitempty"` - FontID int `xml:"fontId,attr,omitempty"` + FontID *int `xml:"fontId,attr"` Type string `xml:"type,attr,omitempty"` } |
