summaryrefslogtreecommitdiff
path: root/xmlWorksheet.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r--xmlWorksheet.go16
1 files changed, 14 insertions, 2 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go
index 24f5e4e..263c2a3 100644
--- a/xmlWorksheet.go
+++ b/xmlWorksheet.go
@@ -44,8 +44,8 @@ type xlsxWorksheet struct {
PageMargins *xlsxPageMargins `xml:"pageMargins"`
PageSetUp *xlsxPageSetUp `xml:"pageSetup"`
HeaderFooter *xlsxHeaderFooter `xml:"headerFooter"`
- RowBreaks *xlsxBreaks `xml:"rowBreaks"`
- ColBreaks *xlsxBreaks `xml:"colBreaks"`
+ RowBreaks *xlsxRowBreaks `xml:"rowBreaks"`
+ ColBreaks *xlsxColBreaks `xml:"colBreaks"`
CustomProperties *xlsxInnerXML `xml:"customProperties"`
CellWatches *xlsxInnerXML `xml:"cellWatches"`
IgnoredErrors *xlsxInnerXML `xml:"ignoredErrors"`
@@ -358,6 +358,18 @@ type xlsxBrk struct {
Pt bool `xml:"pt,attr,omitempty"`
}
+// xlsxRowBreaks directly maps a collection of the row breaks.
+type xlsxRowBreaks struct {
+ XMLName xml.Name `xml:"rowBreaks"`
+ xlsxBreaks
+}
+
+// xlsxRowBreaks directly maps a collection of the column breaks.
+type xlsxColBreaks struct {
+ XMLName xml.Name `xml:"colBreaks"`
+ xlsxBreaks
+}
+
// xlsxBreaks directly maps a collection of the row or column breaks.
type xlsxBreaks struct {
Brk []*xlsxBrk `xml:"brk"`