summaryrefslogtreecommitdiff
path: root/xmlWorksheet.go
diff options
context:
space:
mode:
authorthree <three3q@qq.com>2021-08-13 01:32:44 +0800
committerGitHub <noreply@github.com>2021-08-13 01:32:44 +0800
commitf6f14f507ee1adf4883cb1b12f27932a63afb286 (patch)
tree36128e53dc1b54f555bdd944829b1a4eb270f053 /xmlWorksheet.go
parent61d0ed1ff26fbe47b4bfdc6adbc6db09743beb3a (diff)
Speed up merge cells
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r--xmlWorksheet.go7
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 {