diff options
author | three <three3q@qq.com> | 2021-08-13 01:32:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-13 01:32:44 +0800 |
commit | f6f14f507ee1adf4883cb1b12f27932a63afb286 (patch) | |
tree | 36128e53dc1b54f555bdd944829b1a4eb270f053 /xmlWorksheet.go | |
parent | 61d0ed1ff26fbe47b4bfdc6adbc6db09743beb3a (diff) |
Speed up merge cells
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r-- | xmlWorksheet.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 4499546..697504e 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -399,7 +399,8 @@ type xlsxCustomSheetView struct { // xlsxMergeCell directly maps the mergeCell element. A single merged cell. type xlsxMergeCell struct { - Ref string `xml:"ref,attr,omitempty"` + Ref string `xml:"ref,attr,omitempty"` + rect []int } // xlsxMergeCells directly maps the mergeCells element. This collection @@ -468,10 +469,6 @@ type xlsxC struct { IS *xlsxSI `xml:"is"` } -func (c *xlsxC) hasValue() bool { - return c.S != 0 || c.V != "" || c.F != nil || c.T != "" -} - // xlsxF represents a formula for the cell. The formula expression is // contained in the character node of this element. type xlsxF struct { |