-
Notifications
You must be signed in to change notification settings - Fork 7
/
dml-spreadsheetDrawing.xsd
410 lines (410 loc) · 17.5 KB
/
dml-spreadsheetDrawing.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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" elementFormDefault="qualified" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing">
<xsd:import schemaLocation="dml-shapeStyle.xsd" namespace="http://schemas.openxmlformats.org/drawingml/2006/main" />
<xsd:import schemaLocation="dml-shapeProperties.xsd" namespace="http://schemas.openxmlformats.org/drawingml/2006/main" />
<xsd:import schemaLocation="dml-documentProperties.xsd" namespace="http://schemas.openxmlformats.org/drawingml/2006/main" />
<xsd:import schemaLocation="dml-graphicalObject.xsd" namespace="http://schemas.openxmlformats.org/drawingml/2006/main" />
<xsd:import schemaLocation="dml-text.xsd" namespace="http://schemas.openxmlformats.org/drawingml/2006/main" />
<xsd:complexType name="CT_AnchorClientData">
<xsd:attribute name="fLocksWithSheet" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>Locks With Sheet Flag</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fPrintsWithSheet" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>Prints With Sheet Flag</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_ShapeNonVisual">
<xsd:sequence>
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Non-Visual Drawing Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="cNvSpPr" type="a:CT_NonVisualDrawingShapeProps" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Connection Non-Visual Shape Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_Shape">
<xsd:sequence>
<xsd:element name="nvSpPr" type="CT_ShapeNonVisual" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Non-Visual Properties for a Shape</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Shape Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1" />
<xsd:element name="txBody" type="a:CT_TextBody" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Shape Text Body</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="macro" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Reference to Custom Function</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="textlink" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Text Link</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fLocksText" type="xsd:boolean" use="optional" default="true">
<xsd:annotation>
<xsd:documentation>Lock Text Flag</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Publish to Server Flag</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_ConnectorNonVisual">
<xsd:sequence>
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Connection Non-Visual Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="cNvCxnSpPr" type="a:CT_NonVisualConnectorProperties" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Non-Visual Connector Shape Drawing Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_Connector">
<xsd:sequence>
<xsd:element name="nvCxnSpPr" type="CT_ConnectorNonVisual" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Non-Visual Properties for a Connection Shape</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Connector Shape Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="macro" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Reference to Custom Function</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Publish to Server Flag</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_PictureNonVisual">
<xsd:sequence>
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1" />
<xsd:element name="cNvPicPr" type="a:CT_NonVisualPictureProperties" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Non-Visual Picture Drawing Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_Picture">
<xsd:sequence>
<xsd:element name="nvPicPr" type="CT_PictureNonVisual" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Non-Visual Properties for a Picture</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="blipFill" type="a:CT_BlipFillProperties" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Picture Fill</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1" />
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Shape Style</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="macro" type="xsd:string" use="optional" default="">
<xsd:annotation>
<xsd:documentation>Reference To Custom Function</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Publish to Server Flag</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_GraphicalObjectFrameNonVisual">
<xsd:sequence>
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Connection Non-Visual Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="cNvGraphicFramePr" type="a:CT_NonVisualGraphicFrameProperties" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Non-Visual Graphic Frame Drawing Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_GraphicalObjectFrame">
<xsd:sequence>
<xsd:element name="nvGraphicFramePr" type="CT_GraphicalObjectFrameNonVisual" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Non-Visual Properties for a Graphic Frame</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>2D Transform for Graphic Frames</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="a:graphic" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="macro" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Reference To Custom Function</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Publish to Server Flag</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_GroupShapeNonVisual">
<xsd:sequence>
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Connection Non-Visual Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="cNvGrpSpPr" type="a:CT_NonVisualGroupDrawingShapeProps" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Non-Visual Group Shape Drawing Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_GroupShape">
<xsd:sequence>
<xsd:element name="nvGrpSpPr" type="CT_GroupShapeNonVisual" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Non-Visual Properties for a Group Shape</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="grpSpPr" type="a:CT_GroupShapeProperties" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Group Shape Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="sp" type="CT_Shape">
<xsd:annotation>
<xsd:documentation>Shape</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="grpSp" type="CT_GroupShape">
<xsd:annotation>
<xsd:documentation>Group Shape</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="graphicFrame" type="CT_GraphicalObjectFrame" />
<xsd:element name="cxnSp" type="CT_Connector">
<xsd:annotation>
<xsd:documentation>Connection Shape</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="pic" type="CT_Picture">
<xsd:annotation>
<xsd:documentation>Picture</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
<xsd:group name="EG_ObjectChoices">
<xsd:sequence>
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="sp" type="CT_Shape">
<xsd:annotation>
<xsd:documentation>Shape</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="grpSp" type="CT_GroupShape">
<xsd:annotation>
<xsd:documentation>Group Shape</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="graphicFrame" type="CT_GraphicalObjectFrame">
<xsd:annotation>
<xsd:documentation>Graphic Frame</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="cxnSp" type="CT_Connector">
<xsd:annotation>
<xsd:documentation>Connection Shape</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="pic" type="CT_Picture" />
</xsd:choice>
</xsd:sequence>
</xsd:group>
<xsd:simpleType name="ST_ColID">
<xsd:annotation>
<xsd:documentation>Column ID</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:int">
<xsd:minInclusive value="0" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ST_RowID">
<xsd:annotation>
<xsd:documentation>Row ID</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:int">
<xsd:minInclusive value="0" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_Marker">
<xsd:sequence>
<xsd:element name="col" type="ST_ColID">
<xsd:annotation>
<xsd:documentation>Column)</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="colOff" type="a:ST_Coordinate">
<xsd:annotation>
<xsd:documentation>Column Offset</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="row" type="ST_RowID">
<xsd:annotation>
<xsd:documentation>Row</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="rowOff" type="a:ST_Coordinate">
<xsd:annotation>
<xsd:documentation>Row Offset</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ST_EditAs">
<xsd:annotation>
<xsd:documentation>Resizing Behaviors</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="twoCell">
<xsd:annotation>
<xsd:documentation>Move and Resize With Anchor Cells</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="oneCell">
<xsd:annotation>
<xsd:documentation>Move With Cells but Do Not Resize</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="absolute">
<xsd:annotation>
<xsd:documentation>Do Not Move or Resize With Underlying Rows/Columns</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_TwoCellAnchor">
<xsd:sequence>
<xsd:element name="from" type="CT_Marker">
<xsd:annotation>
<xsd:documentation>Starting Anchor Point</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="to" type="CT_Marker">
<xsd:annotation>
<xsd:documentation>Ending Anchor Point</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group ref="EG_ObjectChoices" />
<xsd:element name="clientData" type="CT_AnchorClientData" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Client Data</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="editAs" type="ST_EditAs" use="optional" default="twoCell">
<xsd:annotation>
<xsd:documentation>Positioning and Resizing Behaviors</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_OneCellAnchor">
<xsd:sequence>
<xsd:element name="from" type="CT_Marker" />
<xsd:element name="ext" type="a:CT_PositiveSize2D" />
<xsd:group ref="EG_ObjectChoices" />
<xsd:element name="clientData" type="CT_AnchorClientData" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_AbsoluteAnchor">
<xsd:sequence>
<xsd:element name="pos" type="a:CT_Point2D">
<xsd:annotation>
<xsd:documentation>Position</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ext" type="a:CT_PositiveSize2D">
<xsd:annotation>
<xsd:documentation>Shape Extent</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group ref="EG_ObjectChoices" />
<xsd:element name="clientData" type="CT_AnchorClientData" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:group name="EG_Anchor">
<xsd:choice>
<xsd:element name="twoCellAnchor" type="CT_TwoCellAnchor">
<xsd:annotation>
<xsd:documentation>Two Cell Anchor Shape Size</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="oneCellAnchor" type="CT_OneCellAnchor">
<xsd:annotation>
<xsd:documentation>One Cell Anchor Shape Size</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="absoluteAnchor" type="CT_AbsoluteAnchor">
<xsd:annotation>
<xsd:documentation>Absolute Anchor Shape Size</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:group>
<xsd:complexType name="CT_Drawing">
<xsd:sequence>
<xsd:group ref="EG_Anchor" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="wsDr" type="CT_Drawing">
<xsd:annotation>
<xsd:documentation>Worksheet Drawing</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>