diff options
author | xuri <xuri.me@gmail.com> | 2022-07-18 00:21:34 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-07-18 00:21:34 +0800 |
commit | ebea684ae5c60776d4d8364b7360d0c0603cb3b0 (patch) | |
tree | 257562b2549f81ed8593cdd2eaa39ac55652b79a /xmlWorksheet.go | |
parent | 0d4c97c88aa9254a4db5a0b9192d0f431ff90e43 (diff) |
Fix potential file corrupted and change worksheet name case-insensitive
- Using sheet ID instead of sheet index when delete the cell in calculation chain
- Update documentation for exported functions
- Using `sheet` represent the sheet name in the function parameters
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r-- | xmlWorksheet.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 0c0fe92..81e9ff9 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -465,9 +465,12 @@ type xlsxC struct { R string `xml:"r,attr,omitempty"` // 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. + Cm *uint `xml:"cm,attr,omitempty"` // + Vm *uint `xml:"vm,attr,omitempty"` // + Ph *bool `xml:"ph,attr,omitempty"` // + F *xlsxF `xml:"f,omitempty"` // Formula + V string `xml:"v,omitempty"` // Value IS *xlsxSI `xml:"is"` } |