forked from tealeg/xlsx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxmlDrawing.go
66 lines (53 loc) · 1.13 KB
/
xmlDrawing.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
64
65
66
package xlsx
type xlsxWsDr struct {
TwoCellAnchors []xlsxTwoCellAnchor `xml:"twoCellAnchor"`
}
type xlsxTwoCellAnchor struct {
From xlsxPos `xml:"from"`
To xlsxPos `xml:"to"`
Pic *xlsxPic `xml:"pic"`
}
type xlsxPos struct {
Col int `xml:"col"`
ColOff int `xml:"colOff"`
Row int `xml:"row"`
RowOff int `xml:"rowOff"`
}
type xlsxPic struct {
NvPicPr xlsxNvPicPr `xml:"nvPicPr"`
BlipFill xlsxBlipFill `xml:"blipFill"`
SpPr xlsxSpPr `xml:"spPr"`
}
type xlsxNvPicPr struct {
CNvPr xlsxCNvPr `xml:"cNvPr"`
}
type xlsxCNvPr struct {
Id int `xml:"id,attr"`
Name string `xml:"name,attr"`
Descr string `xml:"descr,attr"`
HlinkClick xlsxHlinkClick `xml:"hlinkClick"`
}
type xlsxHlinkClick struct {
Id string `xml:"id,attr"`
}
type xlsxBlipFill struct {
Blip xlsxBlip `xml:"blip"`
}
type xlsxBlip struct {
Embed string `xml:"embed,attr"`
}
type xlsxSpPr struct {
Xfrm xlsxXfrm `xml:"xfrm"`
}
type xlsxXfrm struct {
Off xlsxOff `xml:"off"`
Ext xlsxExt `xml:"ext"`
}
type xlsxOff struct {
X int `xml:"x,attr"`
Y int `xml:"y,attr"`
}
type xlsxExt struct {
CX int `xml:"cx,attr"`
CY int `xml:"cy,attr"`
}