summaryrefslogtreecommitdiff
path: root/xmlWorkbook.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-01-23 00:09:13 +0800
committerxuri <xuri.me@gmail.com>2021-01-23 00:09:13 +0800
commite568319bbca22011690a54c5f5741da2b50d0c7c (patch)
tree9a8b2ae74fa71c25c94542db337872198fb08c54 /xmlWorkbook.go
parent58ecf81630e693646d4e70d5f7f33dcb8dafaeb0 (diff)
Fixed #766, change order, and added fields of workbook fields
Diffstat (limited to 'xmlWorkbook.go')
-rw-r--r--xmlWorkbook.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/xmlWorkbook.go b/xmlWorkbook.go
index 89cacd9..b25165b 100644
--- a/xmlWorkbook.go
+++ b/xmlWorkbook.go
@@ -32,18 +32,26 @@ type xlsxRelationship struct {
// subclause references.
type xlsxWorkbook struct {
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/spreadsheetml/2006/main workbook"`
+ Conformance string `xml:"conformance,attr,omitempty"`
FileVersion *xlsxFileVersion `xml:"fileVersion"`
+ FileSharing *xlsxExtLst `xml:"fileSharing"`
WorkbookPr *xlsxWorkbookPr `xml:"workbookPr"`
WorkbookProtection *xlsxWorkbookProtection `xml:"workbookProtection"`
BookViews *xlsxBookViews `xml:"bookViews"`
Sheets xlsxSheets `xml:"sheets"`
+ FunctionGroups *xlsxExtLst `xml:"functionGroups"`
ExternalReferences *xlsxExternalReferences `xml:"externalReferences"`
DefinedNames *xlsxDefinedNames `xml:"definedNames"`
CalcPr *xlsxCalcPr `xml:"calcPr"`
+ OleSize *xlsxExtLst `xml:"oleSize"`
CustomWorkbookViews *xlsxCustomWorkbookViews `xml:"customWorkbookViews"`
PivotCaches *xlsxPivotCaches `xml:"pivotCaches"`
- ExtLst *xlsxExtLst `xml:"extLst"`
+ SmartTagPr *xlsxExtLst `xml:"smartTagPr"`
+ SmartTagTypes *xlsxExtLst `xml:"smartTagTypes"`
+ WebPublishing *xlsxExtLst `xml:"webPublishing"`
FileRecoveryPr *xlsxFileRecoveryPr `xml:"fileRecoveryPr"`
+ WebPublishObjects *xlsxExtLst `xml:"webPublishObjects"`
+ ExtLst *xlsxExtLst `xml:"extLst"`
}
// xlsxFileRecoveryPr maps sheet recovery information. This element defines