summaryrefslogtreecommitdiff
path: root/xmlWorkbook.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmlWorkbook.go')
-rw-r--r--xmlWorkbook.go15
1 files changed, 11 insertions, 4 deletions
diff --git a/xmlWorkbook.go b/xmlWorkbook.go
index a0fce15..dcfa6ca 100644
--- a/xmlWorkbook.go
+++ b/xmlWorkbook.go
@@ -308,8 +308,15 @@ type xlsxCustomWorkbookView struct {
// 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
+ Name string `json:"name,omitempty"`
+ Comment string `json:"comment,omitempty"`
+ RefersTo string `json:"refers_to,omitempty"`
+ Scope string `json:"scope,omitempty"`
+}
+
+// WorkbookPropsOptions directly maps the settings of workbook proprieties.
+type WorkbookPropsOptions struct {
+ Date1904 *bool `json:"date_1994,omitempty"`
+ FilterPrivacy *bool `json:"filter_privacy,omitempty"`
+ CodeName *string `json:"code_name,omitempty"`
}