-
Notifications
You must be signed in to change notification settings - Fork 7
/
dml-textParagraph.xsd
344 lines (344 loc) · 13.6 KB
/
dml-textParagraph.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
<?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-baseTypes.xsd" />
<xsd:include schemaLocation="dml-shapeGeometry.xsd" />
<xsd:include schemaLocation="dml-textBullet.xsd" />
<xsd:include schemaLocation="dml-textRun.xsd" />
<xsd:simpleType name="ST_TextSpacingPoint">
<xsd:annotation>
<xsd:documentation>Text Spacing Point</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:int">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="158400" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ST_TextSpacingPercent">
<xsd:annotation>
<xsd:documentation>Text Spacing Percent</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="ST_Percentage">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="13200000" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_TextSpacingPercent">
<xsd:attribute name="val" type="ST_TextSpacingPercent" use="required">
<xsd:annotation>
<xsd:documentation>Value</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_TextSpacingPoint">
<xsd:attribute name="val" type="ST_TextSpacingPoint" use="required">
<xsd:annotation>
<xsd:documentation>Value</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="ST_TextMargin">
<xsd:annotation>
<xsd:documentation>Text Margin</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="ST_Coordinate32">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="51206400" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ST_TextIndent">
<xsd:annotation>
<xsd:documentation>Text Indentation</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="ST_Coordinate32">
<xsd:minInclusive value="-51206400" />
<xsd:maxInclusive value="51206400" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ST_TextTabAlignType">
<xsd:annotation>
<xsd:documentation>Text Tab Alignment Types</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="l">
<xsd:annotation>
<xsd:documentation>Text Tab Alignment Enum ( Left)</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="ctr">
<xsd:annotation>
<xsd:documentation>Text Tab Alignment Enum ( Center )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="r">
<xsd:annotation>
<xsd:documentation>Text Tab Alignment Enum ( Right )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="dec">
<xsd:annotation>
<xsd:documentation>Text Tab Alignment Enum ( Decimal )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_TextTabStop">
<xsd:attribute name="pos" type="ST_Coordinate32" use="optional">
<xsd:annotation>
<xsd:documentation>Tab Position</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="algn" type="ST_TextTabAlignType" use="optional">
<xsd:annotation>
<xsd:documentation>Tab Alignment</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_TextTabStopList">
<xsd:sequence>
<xsd:element name="tab" type="CT_TextTabStop" minOccurs="0" maxOccurs="32">
<xsd:annotation>
<xsd:documentation>Tab Stop</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_TextLineBreak">
<xsd:sequence>
<xsd:element name="rPr" type="CT_TextCharacterProperties" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Text Run Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_TextSpacing">
<xsd:choice>
<xsd:element name="spcPct" type="CT_TextSpacingPercent">
<xsd:annotation>
<xsd:documentation>Spacing Percent</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="spcPts" type="CT_TextSpacingPoint">
<xsd:annotation>
<xsd:documentation>Spacing Points</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:complexType>
<xsd:simpleType name="ST_TextAlignType">
<xsd:annotation>
<xsd:documentation>Text Alignment Types</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="l">
<xsd:annotation>
<xsd:documentation>Text Alignment Enum ( Left )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="ctr">
<xsd:annotation>
<xsd:documentation>Text Alignment Enum ( Center )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="r">
<xsd:annotation>
<xsd:documentation>Text Alignment Enum ( Right )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="just">
<xsd:annotation>
<xsd:documentation>Text Alignment Enum ( Justified )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="justLow">
<xsd:annotation>
<xsd:documentation>Text Alignment Enum ( Justified Low )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="dist">
<xsd:annotation>
<xsd:documentation>Text Alignment Enum ( Distributed )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="thaiDist">
<xsd:annotation>
<xsd:documentation>Text Alignment Enum ( Thai Distributed )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ST_TextFontAlignType">
<xsd:annotation>
<xsd:documentation>Font Alignment Types</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="auto">
<xsd:annotation>
<xsd:documentation>Font Alignment Enum ( Automatic )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="t">
<xsd:annotation>
<xsd:documentation>Font Alignment Enum ( Top )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="ctr">
<xsd:annotation>
<xsd:documentation>Font Alignment Enum ( Center )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="base">
<xsd:annotation>
<xsd:documentation>Font Alignment Enum ( Baseline )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="b">
<xsd:annotation>
<xsd:documentation>Font Alignment Enum ( Bottom )</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ST_TextIndentLevelType">
<xsd:annotation>
<xsd:documentation>Text Indent Level Type</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:int">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="8" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_TextParagraphProperties">
<xsd:sequence>
<xsd:element name="lnSpc" type="CT_TextSpacing" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Line Spacing</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="spcBef" type="CT_TextSpacing" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Space Before</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="spcAft" type="CT_TextSpacing" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Space After</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group ref="EG_TextBulletColor" minOccurs="0" maxOccurs="1"></xsd:group>
<xsd:group ref="EG_TextBulletSize" minOccurs="0" maxOccurs="1"></xsd:group>
<xsd:group ref="EG_TextBulletTypeface" minOccurs="0" maxOccurs="1"></xsd:group>
<xsd:group ref="EG_TextBullet" minOccurs="0" maxOccurs="1"></xsd:group>
<xsd:element name="tabLst" type="CT_TextTabStopList" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Tab List</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="defRPr" type="CT_TextCharacterProperties" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Default Text Run Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"></xsd:element>
</xsd:sequence>
<xsd:attribute name="marL" type="ST_TextMargin" use="optional">
<xsd:annotation>
<xsd:documentation>Left Margin</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="marR" type="ST_TextMargin" use="optional">
<xsd:annotation>
<xsd:documentation>Right Margin</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="lvl" type="ST_TextIndentLevelType" use="optional">
<xsd:annotation>
<xsd:documentation>Level</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="indent" type="ST_TextIndent" use="optional">
<xsd:annotation>
<xsd:documentation>Indent</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="algn" type="ST_TextAlignType" use="optional">
<xsd:annotation>
<xsd:documentation>Alignment</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="defTabSz" type="ST_Coordinate32" use="optional">
<xsd:annotation>
<xsd:documentation>Default Tab Size</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="rtl" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation>Right To Left</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="eaLnBrk" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation>East Asian Line Break</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="fontAlgn" type="ST_TextFontAlignType" use="optional">
<xsd:annotation>
<xsd:documentation>Font Alignment</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="latinLnBrk" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation>Latin Line Break</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="hangingPunct" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation>Hanging Punctuation</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="CT_TextField">
<xsd:sequence>
<xsd:element name="rPr" type="CT_TextCharacterProperties" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Text Character Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="pPr" type="CT_TextParagraphProperties" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Text Paragraph Properties</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="t" type="xsd:string" minOccurs="0" maxOccurs="1"></xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="ST_Guid" use="required">
<xsd:annotation>
<xsd:documentation>Field ID</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Field Type</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:group name="EG_TextRun">
<xsd:choice>
<xsd:element name="r" type="CT_RegularTextRun">
<xsd:annotation>
<xsd:documentation>Text Run</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="br" type="CT_TextLineBreak">
<xsd:annotation>
<xsd:documentation>Text Line Break</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="fld" type="CT_TextField">
<xsd:annotation>
<xsd:documentation>Text Field</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:group>
</xsd:schema>