-
Notifications
You must be signed in to change notification settings - Fork 0
/
x_workbook_u.go
63 lines (53 loc) · 1.69 KB
/
x_workbook_u.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package packaging
import (
"encoding/xml"
)
// XWorkbookU fix XML ns
type XWorkbookU struct {
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/spreadsheetml/2006/main workbook"`
XmlnsR string `xml:"r,attr"`
XmlnsMC string `xml:"mc,attr"`
McIgnorable string `xml:"Ignorable,attr"`
XmlnsX15 string `xml:"x15,attr"`
FileVersion *XFileVersionU `xml:"fileVersion"`
WorkbookPr *XWorkbookPrU `xml:"workbookPr"`
BookViews *XBookViewsU `xml:"bookViews"`
Sheets *XSheetsU `xml:"sheets"`
CalcPr *XCalcPrU `xml:"calcPr"`
}
// XFileVersionU fix XML ns
type XFileVersionU struct {
AppName string `xml:"appName,attr,omitempty"`
LastEdited string `xml:"lastEdited,attr,omitempty"`
LowestEdited string `xml:"lowestEdited,attr,omitempty"`
RupBuild string `xml:"rupBuild,attr,omitempty"`
}
// XWorkbookPrU fix XML ns
type XWorkbookPrU struct {
DefaultThemeVersion string `xml:"defaultThemeVersion,attr,omitempty"`
}
// XBookViewsU fix XML ns
type XBookViewsU struct {
WorkBookView []*XWorkBookViewU `xml:"workbookView"`
}
// XWorkBookViewU fix XML ns
type XWorkBookViewU struct {
XWindow string `xml:"xWindow,attr,omitempty"`
YWindow string `xml:"yWindow,attr,omitempty"`
WindowWidth int `xml:"windowWidth,attr,omitempty"`
WindowHeight int `xml:"windowHeight,attr,omitempty"`
}
// XSheetsU fix XML ns
type XSheetsU struct {
Sheet []*XSheetU `xml:"sheet"`
}
// XSheetU fix XML ns
type XSheetU struct {
Name string `xml:"name,attr,omitempty"`
SheetID int `xml:"sheetId,attr,omitempty"`
Rid string `xml:"id,attr,omitempty"`
}
// XCalcPrU fix XML ns
type XCalcPrU struct {
CalcID string `xml:"calcId,attr,omitempty"`
}