diff options
author | xuri <xuri.me@gmail.com> | 2021-09-05 11:59:50 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-09-05 11:59:50 +0800 |
commit | 32b23ef42d3ecb393e102c5f63ab5125db354435 (patch) | |
tree | e73ec4e2e062d15ca6d53407039ddb3004942995 /xmlWorksheet.go | |
parent | 2616aa88cb2b1e45c03ada60093f4dfe7fabfb87 (diff) |
This closes #998
- Support text comparison in the formula, also ref #65
- `GetCellValue`, `GetRows`, `GetCols`, `Rows` and `Cols` support to specify read cell with raw value, ref #621
- Add missing properties for the cell formula
- Update the unit test for the `CalcCellValue`
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r-- | xmlWorksheet.go | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go index a4aef4c..217f367 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -473,9 +473,18 @@ type xlsxC struct { // contained in the character node of this element. type xlsxF struct { Content string `xml:",chardata"` - T string `xml:"t,attr,omitempty"` // Formula type + T string `xml:"t,attr,omitempty"` // Formula type + Aca bool `xml:"aca,attr,omitempty"` Ref string `xml:"ref,attr,omitempty"` // Shared formula ref - Si *int `xml:"si,attr"` // Shared formula index + Dt2D bool `xml:"dt2D,attr,omitempty"` + Dtr bool `xml:"dtr,attr,omitempty"` + Del1 bool `xml:"del1,attr,omitempty"` + Del2 bool `xml:"del2,attr,omitempty"` + R1 string `xml:"r1,attr,omitempty"` + R2 string `xml:"r2,attr,omitempty"` + Ca bool `xml:"ca,attr,omitempty"` + Si *int `xml:"si,attr"` // Shared formula index + Bx bool `xml:"bx,attr,omitempty"` } // xlsxSheetProtection collection expresses the sheet protection options to |