diff options
| author | Ri Xu <xuri.me@gmail.com> | 2017-03-28 11:48:09 +0800 |
|---|---|---|
| committer | Ri Xu <xuri.me@gmail.com> | 2017-03-28 11:48:09 +0800 |
| commit | bee487c445768b8afd15bbfa7caa4d8427e4c880 (patch) | |
| tree | 4b31fc11a593ad1a02e7f0726aa1d6fe6895fa97 /xmlWorksheet.go | |
| parent | b6254209fe56c84a9ac99805ce3dd877a494e134 (diff) | |
Leading space(s) character in cell value detection added. Related issue #32.
Diffstat (limited to 'xmlWorksheet.go')
| -rw-r--r-- | xmlWorksheet.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 5919edb..f7188b6 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -302,9 +302,10 @@ type xlsxC struct { R string `xml:"r,attr"` // Cell ID, e.g. A1 S int `xml:"s,attr,omitempty"` // Style reference. // Str string `xml:"str,attr,omitempty"` // Style reference. - T string `xml:"t,attr,omitempty"` // Type. - F *xlsxF `xml:"f,omitempty"` // Formula - V string `xml:"v,omitempty"` // Value + T string `xml:"t,attr,omitempty"` // Type. + F *xlsxF `xml:"f,omitempty"` // Formula + V string `xml:"v,omitempty"` // Value + XMLSpace xml.Attr `xml:"space,attr,omitempty"` } // xlsxF directly maps the f element in the namespace |
