-
Notifications
You must be signed in to change notification settings - Fork 7
/
dml-tableStyle.xsd
295 lines (295 loc) · 12.6 KB
/
dml-tableStyle.xsd
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://schemas.openxmlformats.org/drawingml/2006/main" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.openxmlformats.org/drawingml/2006/main">
<xsd:include schemaLocation="dml-shapeEffects.xsd" />
<xsd:include schemaLocation="dml-shapeLineProperties.xsd" />
<xsd:include schemaLocation="dml-shapeStyle.xsd" />
<xsd:include schemaLocation="dml-stylesheet.xsd" />
<xsd:include schemaLocation="dml-textCharacter.xsd" />
<xsd:complexType name="CT_Cell3D">
<xsd:sequence>
<xsd:element name="bevel" type="CT_Bevel" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Bevel</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="lightRig" type="CT_LightRig" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Light Rig</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"></xsd:element>
</xsd:sequence>
<xsd:attribute name="prstMaterial" type="ST_PresetMaterialType" use="optional" default="plastic">
<xsd:annotation>
<xsd:documentation>Preset Material</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:group name="EG_ThemeableFillStyle">
<xsd:choice>
<xsd:element name="fill" type="CT_FillProperties" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Fill</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="fillRef" type="CT_StyleMatrixReference" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Fill Reference</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:group>
<xsd:complexType name="CT_ThemeableLineStyle">
<xsd:choice>
<xsd:element name="ln" type="CT_LineProperties" minOccurs="1" maxOccurs="1" />
<xsd:element name="lnRef" type="CT_StyleMatrixReference" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Line Reference</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:complexType>
<xsd:group name="EG_ThemeableEffectStyle">
<xsd:choice>
<xsd:element name="effect" type="CT_EffectProperties" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Effect</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="effectRef" type="CT_StyleMatrixReference" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Effect Reference</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:group>
<xsd:group name="EG_ThemeableFontStyles">
<xsd:choice>
<xsd:element name="font" type="CT_FontCollection" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Font</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="fontRef" type="CT_FontReference" minOccurs="1" maxOccurs="1" />
</xsd:choice>
</xsd:group>
<xsd:simpleType name="ST_OnOffStyleType">
<xsd:annotation>
<xsd:documentation>On/Off Style Type</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="on">
<xsd:annotation>
<xsd:documentation>On</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="off">
<xsd:annotation>
<xsd:documentation>Off</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="def">
<xsd:annotation>
<xsd:documentation>Default</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_TableStyleTextStyle">
<xsd:sequence>
<xsd:group ref="EG_ThemeableFontStyles" minOccurs="0" maxOccurs="1" />
<xsd:group ref="EG_ColorChoice" minOccurs="0" maxOccurs="1" />
<xsd:element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"></xsd:element>
</xsd:sequence>
<xsd:attribute name="b" type="ST_OnOffStyleType" use="optional" default="def">
<xsd:annotation>
<xsd:documentation>Bold</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="i" type="ST_OnOffStyleType" use="optional" default="def">
<xsd:annotation>
<xsd:documentation>Italic</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_TableCellBorderStyle">
<xsd:sequence>
<xsd:element name="left" type="CT_ThemeableLineStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Left Border</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="right" type="CT_ThemeableLineStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Right Border</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="top" type="CT_ThemeableLineStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Top Border</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="bottom" type="CT_ThemeableLineStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Bottom Border</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="insideH" type="CT_ThemeableLineStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Inside Horizontal Border</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="insideV" type="CT_ThemeableLineStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Inside Vertical Border</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="tl2br" type="CT_ThemeableLineStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Top Left to Bottom Right Border</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="tr2bl" type="CT_ThemeableLineStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Top Right to Bottom Left Border</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_TableBackgroundStyle">
<xsd:sequence>
<xsd:group ref="EG_ThemeableFillStyle" minOccurs="0" maxOccurs="1" />
<xsd:group ref="EG_ThemeableEffectStyle" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_TableStyleCellStyle">
<xsd:sequence>
<xsd:element name="tcBdr" type="CT_TableCellBorderStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Table Cell Borders</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group ref="EG_ThemeableFillStyle" minOccurs="0" maxOccurs="1" />
<xsd:element name="cell3D" type="CT_Cell3D" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_TablePartStyle">
<xsd:sequence>
<xsd:element name="tcTxStyle" type="CT_TableStyleTextStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Table Cell Text Style</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="tcStyle" type="CT_TableStyleCellStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Table Cell Style</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_TableStyle">
<xsd:sequence>
<xsd:element name="tblBg" type="CT_TableBackgroundStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Table Background</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="wholeTbl" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Whole Table</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="band1H" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Band 1 Horizontal</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="band2H" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Band 2 Horizontal</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="band1V" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Band 1 Vertical</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="band2V" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Band 2 Vertical</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="lastCol" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Last Column</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="firstCol" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>First Column</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="lastRow" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Last Row</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="seCell" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Southeast Cell</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="swCell" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Southwest Cell</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="firstRow" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>First Row</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="neCell" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Northeast Cell</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="nwCell" type="CT_TablePartStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Northwest Cell</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"></xsd:element>
</xsd:sequence>
<xsd:attribute name="styleId" type="ST_Guid" use="required">
<xsd:annotation>
<xsd:documentation>Style ID</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="styleName" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Name</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_TableStyleList">
<xsd:sequence>
<xsd:element name="tblStyle" type="CT_TableStyle" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Table Style</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="def" type="ST_Guid" use="required">
<xsd:annotation>
<xsd:documentation>Default</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:element name="tblStyleLst" type="CT_TableStyleList">
<xsd:annotation>
<xsd:documentation>Table Style List</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>