|
|
@@ -1,6 +1,10 @@
|
|
|
package xlsx
|
|
|
|
|
|
|
|
|
+// XLSXWorkbook directly maps the workbook element from the namespace
|
|
|
+// http://schemas.openxmlformats.org/spreadsheetml/2006/main -
|
|
|
+// currently I have not checked it for completeness - it does as much
|
|
|
+// as I need.
|
|
|
type XLSXWorkbook struct {
|
|
|
FileVersion XLSXFileVersion
|
|
|
WorkbookPr XLSXWorkbookPr
|
|
|
@@ -10,6 +14,10 @@ type XLSXWorkbook struct {
|
|
|
CalcPr XLSXCalcPr
|
|
|
}
|
|
|
|
|
|
+// XLSXFileVersion directly maps the fileVersion element from the
|
|
|
+// namespace http://schemas.openxmlformats.org/spreadsheetml/2006/main
|
|
|
+// - currently I have not checked it for completeness - it does as
|
|
|
+// much as I need.
|
|
|
type XLSXFileVersion struct {
|
|
|
AppName string "attr"
|
|
|
LastEdited string "attr"
|
|
|
@@ -17,15 +25,26 @@ type XLSXFileVersion struct {
|
|
|
RupBuild string "attr"
|
|
|
}
|
|
|
|
|
|
+// XLSXWorkbookPr directly maps the workbookPr element from the
|
|
|
+// namespace http://schemas.openxmlformats.org/spreadsheetml/2006/main
|
|
|
+// - currently I have not checked it for completeness - it does as
|
|
|
+// much as I need.
|
|
|
type XLSXWorkbookPr struct {
|
|
|
DefaultThemeVersion string "attr"
|
|
|
}
|
|
|
|
|
|
+// XLSXBookViews directly maps the bookViews element from the
|
|
|
+// namespace http://schemas.openxmlformats.org/spreadsheetml/2006/main
|
|
|
+// - currently I have not checked it for completeness - it does as
|
|
|
+// much as I need.
|
|
|
type XLSXBookViews struct {
|
|
|
WorkBookView []XLSXWorkBookView
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+// XLSXWorkBookView directly maps the workbookView element from the
|
|
|
+// namespace http://schemas.openxmlformats.org/spreadsheetml/2006/main
|
|
|
+// - currently I have not checked it for completeness - it does as
|
|
|
+// much as I need.
|
|
|
type XLSXWorkBookView struct {
|
|
|
XWindow string "attr"
|
|
|
YWindow string "attr"
|
|
|
@@ -33,28 +52,48 @@ type XLSXWorkBookView struct {
|
|
|
WindowHeight string "attr"
|
|
|
}
|
|
|
|
|
|
+// XLSXSheets directly maps the sheets element from the namespace
|
|
|
+// http://schemas.openxmlformats.org/spreadsheetml/2006/main -
|
|
|
+// currently I have not checked it for completeness - it does as much
|
|
|
+// as I need.
|
|
|
type XLSXSheets struct {
|
|
|
Sheet []XLSXSheet
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+// XLSXSheet directly maps the sheet element from the namespace
|
|
|
+// http://schemas.openxmlformats.org/spreadsheetml/2006/main -
|
|
|
+// currently I have not checked it for completeness - it does as much
|
|
|
+// as I need.
|
|
|
type XLSXSheet struct {
|
|
|
Name string "attr"
|
|
|
SheetId string "attr"
|
|
|
Id string "attr"
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+// XLSXDefinedNames directly maps the definedNames element from the
|
|
|
+// namespace http://schemas.openxmlformats.org/spreadsheetml/2006/main
|
|
|
+// - currently I have not checked it for completeness - it does as
|
|
|
+// much as I need.
|
|
|
type XLSXDefinedNames struct {
|
|
|
DefinedName []XLSXDefinedName
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+// XLSXDefinedName directly maps the definedName element from the
|
|
|
+// namespace http://schemas.openxmlformats.org/spreadsheetml/2006/main
|
|
|
+// - currently I have not checked it for completeness - it does as
|
|
|
+// much as I need.
|
|
|
type XLSXDefinedName struct {
|
|
|
Data string "chardata"
|
|
|
Name string "attr"
|
|
|
LocalSheetID string "attr"
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+// XLSXCalcPr directly maps the calcPr element from the namespace
|
|
|
+// http://schemas.openxmlformats.org/spreadsheetml/2006/main -
|
|
|
+// currently I have not checked it for completeness - it does as much
|
|
|
+// as I need.
|
|
|
type XLSXCalcPr struct {
|
|
|
CalcId string "attr"
|
|
|
}
|