summaryrefslogtreecommitdiff
path: root/xmlWorkbook.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-06-18 23:07:44 +0800
committerxuri <xuri.me@gmail.com>2019-06-18 23:07:44 +0800
commita335be7e4e6824e65f3d8a34b7b45ffa8d78fe4b (patch)
tree3788d1fbffa22245acb8b0ad4745f63655b34932 /xmlWorkbook.go
parent5cf1c05ed48ad92b6c58d3dfe7d3598526b77b01 (diff)
New functions: SetDefinedName and GetDefinedName added
Diffstat (limited to 'xmlWorkbook.go')
-rw-r--r--xmlWorkbook.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/xmlWorkbook.go b/xmlWorkbook.go
index 5384977..0118685 100644
--- a/xmlWorkbook.go
+++ b/xmlWorkbook.go
@@ -288,3 +288,12 @@ type xlsxCustomWorkbookView struct {
XWindow *int `xml:"xWindow,attr"`
YWindow *int `xml:"yWindow,attr"`
}
+
+// DefinedName directly maps the name for a cell or cell range on a
+// worksheet.
+type DefinedName struct {
+ Name string
+ Comment string
+ RefersTo string
+ Scope string
+}