LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / schema / odf1.3 / OpenDocument-v1.3-schema.rng
blobbbffe383781cfbda08f9c5e8ce59cd1a033210ca
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Open Document Format for Office Applications (OpenDocument) Version 1.3
4 OASIS Standard
5 27 April 2021
6 Copyright (c) OASIS Open 2021. All Rights Reserved.
7 Source: https://docs.oasis-open.org/office/OpenDocument/v1.3/os/schemas/
8 Latest stage of specification: https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part1-introduction.html
9 TC IPR Statement: https://www.oasis-open.org/committees/office/ipr.php
11 Open Document Format for Office Applications (OpenDocument) Version 1.3
12 Relax-NG Schema
13 OpenDocument-v1.3-schema.rng
14 -->
15 <!-- https://issues.oasis-open.org/browse/OFFICE-2153 -->
17 <rng:grammar xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:db="urn:oasis:names:tc:opendocument:xmlns:database:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
18 <rng:start>
19 <rng:choice>
20 <rng:ref name="office-document"/>
21 <rng:ref name="office-document-content"/>
22 <rng:ref name="office-document-styles"/>
23 <rng:ref name="office-document-meta"/>
24 <rng:ref name="office-document-settings"/>
25 </rng:choice>
26 </rng:start>
27 <rng:define name="CURIE">
28 <rng:data type="string">
29 <rng:param name="pattern">(([\i-[:]][\c-[:]]*)?:)?.+</rng:param>
30 <rng:param name="minLength">1</rng:param>
31 </rng:data>
32 </rng:define>
33 <rng:define name="CURIEs">
34 <rng:list>
35 <rng:oneOrMore>
36 <rng:ref name="CURIE"/>
37 </rng:oneOrMore>
38 </rng:list>
39 </rng:define>
40 <rng:define name="ID">
41 <rng:data type="ID"/>
42 </rng:define>
43 <rng:define name="IDREF">
44 <rng:data type="IDREF"/>
45 </rng:define>
46 <rng:define name="IDREFS">
47 <rng:data type="IDREFS"/>
48 </rng:define>
49 <rng:define name="NCName">
50 <rng:data type="NCName"/>
51 </rng:define>
52 <rng:define name="SafeCURIE">
53 <rng:data type="string">
54 <rng:param name="pattern">\[(([\i-[:]][\c-[:]]*)?:)?.+\]</rng:param>
55 <rng:param name="minLength">3</rng:param>
56 </rng:data>
57 </rng:define>
58 <rng:define name="URIorSafeCURIE">
59 <rng:choice>
60 <rng:ref name="anyURI"/>
61 <rng:ref name="SafeCURIE"/>
62 </rng:choice>
63 </rng:define>
64 <rng:define name="angle">
65 <rng:data type="string"/>
66 </rng:define>
67 <rng:define name="anim-animate-color-attlist">
68 <rng:interleave>
69 <rng:optional>
70 <rng:attribute name="anim:color-interpolation">
71 <rng:choice>
72 <rng:value>rgb</rng:value>
73 <rng:value>hsl</rng:value>
74 </rng:choice>
75 </rng:attribute>
76 </rng:optional>
77 <rng:optional>
78 <rng:attribute name="anim:color-interpolation-direction">
79 <rng:choice>
80 <rng:value>clockwise</rng:value>
81 <rng:value>counter-clockwise</rng:value>
82 </rng:choice>
83 </rng:attribute>
84 </rng:optional>
85 </rng:interleave>
86 </rng:define>
87 <rng:define name="anim-animate-motion-attlist">
88 <rng:interleave>
89 <rng:optional>
90 <rng:attribute name="svg:path">
91 <rng:ref name="pathData"/>
92 </rng:attribute>
93 </rng:optional>
94 <rng:optional>
95 <rng:attribute name="svg:origin">
96 <rng:ref name="string"/>
97 </rng:attribute>
98 </rng:optional>
99 <rng:optional>
100 <rng:attribute name="smil:calcMode">
101 <rng:choice>
102 <rng:value>discrete</rng:value>
103 <rng:value>linear</rng:value>
104 <rng:value>paced</rng:value>
105 <rng:value>spline</rng:value>
106 </rng:choice>
107 </rng:attribute>
108 </rng:optional>
109 </rng:interleave>
110 </rng:define>
111 <rng:define name="anim-animate-transform-attlist">
112 <rng:attribute name="svg:type">
113 <rng:choice>
114 <rng:value>translate</rng:value>
115 <rng:value>scale</rng:value>
116 <rng:value>rotate</rng:value>
117 <rng:value>skewX</rng:value>
118 <rng:value>skewY</rng:value>
119 </rng:choice>
120 </rng:attribute>
121 </rng:define>
122 <rng:define name="anim-audio-attlist">
123 <rng:interleave>
124 <rng:optional>
125 <rng:attribute name="xlink:href">
126 <rng:ref name="anyIRI"/>
127 </rng:attribute>
128 </rng:optional>
129 <rng:optional>
130 <rng:attribute name="anim:audio-level">
131 <rng:ref name="double"/>
132 </rng:attribute>
133 </rng:optional>
134 </rng:interleave>
135 </rng:define>
136 <rng:define name="anim-command-attlist">
137 <rng:attribute name="anim:command">
138 <rng:ref name="string"/>
139 </rng:attribute>
140 </rng:define>
141 <rng:define name="anim-iterate-attlist">
142 <rng:interleave>
143 <rng:ref name="common-anim-target-attlist"/>
144 <rng:optional>
145 <rng:attribute name="anim:iterate-type">
146 <rng:ref name="string"/>
147 </rng:attribute>
148 </rng:optional>
149 <rng:optional>
150 <rng:attribute name="anim:iterate-interval">
151 <rng:ref name="duration"/>
152 </rng:attribute>
153 </rng:optional>
154 </rng:interleave>
155 </rng:define>
156 <rng:define name="anim-transition-filter-attlist">
157 <rng:interleave>
158 <rng:attribute name="smil:type">
159 <rng:ref name="string"/>
160 </rng:attribute>
161 <rng:optional>
162 <rng:attribute name="smil:subtype">
163 <rng:ref name="string"/>
164 </rng:attribute>
165 </rng:optional>
166 <rng:optional>
167 <rng:attribute name="smil:direction">
168 <rng:choice>
169 <rng:value>forward</rng:value>
170 <rng:value>reverse</rng:value>
171 </rng:choice>
172 </rng:attribute>
173 </rng:optional>
174 <rng:optional>
175 <rng:attribute name="smil:fadeColor">
176 <rng:ref name="color"/>
177 </rng:attribute>
178 </rng:optional>
179 <rng:optional>
180 <rng:attribute name="smil:mode">
181 <rng:choice>
182 <rng:value>in</rng:value>
183 <rng:value>out</rng:value>
184 </rng:choice>
185 </rng:attribute>
186 </rng:optional>
187 </rng:interleave>
188 </rng:define>
189 <rng:define name="animation-element">
190 <rng:choice>
191 <rng:element name="anim:animate">
192 <rng:ref name="common-anim-target-attlist"/>
193 <rng:ref name="common-anim-named-target-attlist"/>
194 <rng:ref name="common-anim-values-attlist"/>
195 <rng:ref name="common-anim-spline-mode-attlist"/>
196 <rng:ref name="common-spline-anim-value-attlist"/>
197 <rng:ref name="common-timing-attlist"/>
198 <rng:ref name="common-anim-add-accum-attlist"/>
199 </rng:element>
200 <rng:element name="anim:set">
201 <rng:ref name="common-anim-target-attlist"/>
202 <rng:ref name="common-anim-named-target-attlist"/>
203 <rng:ref name="common-anim-set-values-attlist"/>
204 <rng:ref name="common-timing-attlist"/>
205 <rng:ref name="common-anim-add-accum-attlist"/>
206 </rng:element>
207 <rng:element name="anim:animateMotion">
208 <rng:ref name="anim-animate-motion-attlist"/>
209 <rng:ref name="common-anim-target-attlist"/>
210 <rng:ref name="common-anim-named-target-attlist"/>
211 <rng:ref name="common-anim-add-accum-attlist"/>
212 <rng:ref name="common-anim-values-attlist"/>
213 <rng:ref name="common-timing-attlist"/>
214 <rng:ref name="common-spline-anim-value-attlist"/>
215 </rng:element>
216 <rng:element name="anim:animateColor">
217 <rng:ref name="common-anim-target-attlist"/>
218 <rng:ref name="common-anim-named-target-attlist"/>
219 <rng:ref name="common-anim-add-accum-attlist"/>
220 <rng:ref name="common-anim-values-attlist"/>
221 <rng:ref name="common-anim-spline-mode-attlist"/>
222 <rng:ref name="common-spline-anim-value-attlist"/>
223 <rng:ref name="anim-animate-color-attlist"/>
224 <rng:ref name="common-timing-attlist"/>
225 </rng:element>
226 <rng:element name="anim:animateTransform">
227 <rng:ref name="common-anim-target-attlist"/>
228 <rng:ref name="common-anim-named-target-attlist"/>
229 <rng:ref name="common-anim-add-accum-attlist"/>
230 <rng:ref name="common-anim-values-attlist"/>
231 <rng:ref name="anim-animate-transform-attlist"/>
232 <rng:ref name="common-timing-attlist"/>
233 </rng:element>
234 <rng:element name="anim:transitionFilter">
235 <rng:ref name="common-anim-target-attlist"/>
236 <rng:ref name="common-anim-add-accum-attlist"/>
237 <rng:ref name="common-anim-values-attlist"/>
238 <rng:ref name="common-anim-spline-mode-attlist"/>
239 <rng:ref name="anim-transition-filter-attlist"/>
240 <rng:ref name="common-timing-attlist"/>
241 </rng:element>
242 <rng:element name="anim:par">
243 <rng:ref name="common-anim-attlist"/>
244 <rng:ref name="common-timing-attlist"/>
245 <rng:ref name="common-endsync-timing-attlist"/>
246 <rng:zeroOrMore>
247 <rng:ref name="animation-element"/>
248 </rng:zeroOrMore>
249 </rng:element>
250 <rng:element name="anim:seq">
251 <rng:ref name="common-anim-attlist"/>
252 <rng:ref name="common-endsync-timing-attlist"/>
253 <rng:ref name="common-timing-attlist"/>
254 <rng:zeroOrMore>
255 <rng:ref name="animation-element"/>
256 </rng:zeroOrMore>
257 </rng:element>
258 <rng:element name="anim:iterate">
259 <rng:ref name="common-anim-attlist"/>
260 <rng:ref name="anim-iterate-attlist"/>
261 <rng:ref name="common-timing-attlist"/>
262 <rng:ref name="common-endsync-timing-attlist"/>
263 <rng:zeroOrMore>
264 <rng:ref name="animation-element"/>
265 </rng:zeroOrMore>
266 </rng:element>
267 <rng:element name="anim:audio">
268 <rng:ref name="common-anim-attlist"/>
269 <rng:ref name="anim-audio-attlist"/>
270 <rng:ref name="common-basic-timing-attlist"/>
271 </rng:element>
272 <rng:element name="anim:command">
273 <rng:ref name="common-anim-attlist"/>
274 <rng:ref name="anim-command-attlist"/>
275 <rng:ref name="common-begin-end-timing-attlist"/>
276 <rng:ref name="common-anim-target-attlist"/>
277 <rng:zeroOrMore>
278 <rng:element name="anim:param">
279 <rng:attribute name="anim:name">
280 <rng:ref name="string"/>
281 </rng:attribute>
282 <rng:attribute name="anim:value">
283 <rng:ref name="string"/>
284 </rng:attribute>
285 </rng:element>
286 </rng:zeroOrMore>
287 </rng:element>
288 </rng:choice>
289 </rng:define>
290 <rng:define name="any-date">
291 <rng:choice>
292 <rng:ref name="number-day"/>
293 <rng:ref name="number-month"/>
294 <rng:ref name="number-year"/>
295 <rng:ref name="number-era"/>
296 <rng:ref name="number-day-of-week"/>
297 <rng:ref name="number-week-of-year"/>
298 <rng:ref name="number-quarter"/>
299 <rng:ref name="number-hours"/>
300 <rng:ref name="number-am-pm"/>
301 <rng:ref name="number-minutes"/>
302 <rng:ref name="number-seconds"/>
303 </rng:choice>
304 </rng:define>
305 <rng:define name="any-number">
306 <rng:choice>
307 <rng:ref name="number-number"/>
308 <rng:ref name="number-scientific-number"/>
309 <rng:ref name="number-fraction"/>
310 </rng:choice>
311 </rng:define>
312 <rng:define name="any-time">
313 <rng:choice>
314 <rng:ref name="number-hours"/>
315 <rng:ref name="number-am-pm"/>
316 <rng:ref name="number-minutes"/>
317 <rng:ref name="number-seconds"/>
318 </rng:choice>
319 </rng:define>
320 <rng:define name="anyAttListOrElements">
321 <rng:zeroOrMore>
322 <rng:attribute>
323 <rng:anyName/>
324 <rng:text/>
325 </rng:attribute>
326 </rng:zeroOrMore>
327 <rng:ref name="anyElements"/>
328 </rng:define>
329 <rng:define name="anyElements">
330 <rng:zeroOrMore>
331 <rng:element>
332 <rng:anyName/>
333 <rng:mixed>
334 <rng:ref name="anyAttListOrElements"/>
335 </rng:mixed>
336 </rng:element>
337 </rng:zeroOrMore>
338 </rng:define>
339 <rng:define name="anyIRI">
340 <rng:data type="anyURI"/>
341 <dc:description>An IRI-reference as defined in [RFC3987]. See ODF 1.3 Part 3 section 18.3.</dc:description>
342 </rng:define>
343 <rng:define name="anyURI">
344 <rng:data type="anyURI"/>
345 </rng:define>
346 <rng:define name="base64Binary">
347 <rng:data type="base64Binary"/>
348 </rng:define>
349 <rng:define name="boolean">
350 <rng:choice>
351 <rng:value>true</rng:value>
352 <rng:value>false</rng:value>
353 </rng:choice>
354 </rng:define>
355 <rng:define name="borderWidths">
356 <rng:list>
357 <rng:ref name="positiveLength"/>
358 <rng:ref name="positiveLength"/>
359 <rng:ref name="positiveLength"/>
360 </rng:list>
361 </rng:define>
362 <rng:define name="bound-column">
363 <rng:optional>
364 <rng:attribute name="form:bound-column">
365 <rng:ref name="string"/>
366 </rng:attribute>
367 </rng:optional>
368 </rng:define>
369 <rng:define name="button-type">
370 <rng:optional>
371 <rng:attribute name="form:button-type">
372 <rng:ref name="types"/>
373 </rng:attribute>
374 </rng:optional>
375 </rng:define>
376 <rng:define name="cellAddress">
377 <rng:data type="string">
378 <rng:param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+</rng:param>
379 </rng:data>
380 </rng:define>
381 <rng:define name="cellRangeAddress">
382 <rng:choice>
383 <rng:data type="string">
384 <rng:param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+)?</rng:param>
385 </rng:data>
386 <rng:data type="string">
387 <rng:param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[0-9]+:($?([^\. ']+|'([^']|'')+'))?\.$?[0-9]+</rng:param>
388 </rng:data>
389 <rng:data type="string">
390 <rng:param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+</rng:param>
391 </rng:data>
392 </rng:choice>
393 </rng:define>
394 <rng:define name="cellRangeAddressList">
395 <rng:data type="string"/>
396 <dc:description>Value is a space separated list of "cellRangeAddress" patterns</dc:description>
397 </rng:define>
398 <rng:define name="change-mark-attr">
399 <rng:attribute name="text:change-id">
400 <rng:ref name="IDREF"/>
401 </rng:attribute>
402 </rng:define>
403 <rng:define name="change-marks">
404 <rng:choice>
405 <rng:element name="text:change">
406 <rng:ref name="change-mark-attr"/>
407 </rng:element>
408 <rng:element name="text:change-start">
409 <rng:ref name="change-mark-attr"/>
410 </rng:element>
411 <rng:element name="text:change-end">
412 <rng:ref name="change-mark-attr"/>
413 </rng:element>
414 </rng:choice>
415 </rng:define>
416 <rng:define name="character">
417 <rng:data type="string">
418 <rng:param name="length">1</rng:param>
419 </rng:data>
420 </rng:define>
421 <rng:define name="chart-axis">
422 <rng:element name="chart:axis">
423 <rng:ref name="chart-axis-attlist"/>
424 <rng:optional>
425 <rng:ref name="chart-title"/>
426 </rng:optional>
427 <rng:optional>
428 <rng:ref name="chart-categories"/>
429 </rng:optional>
430 <rng:zeroOrMore>
431 <rng:ref name="chart-grid"/>
432 </rng:zeroOrMore>
433 </rng:element>
434 </rng:define>
435 <rng:define name="chart-axis-attlist">
436 <rng:interleave>
437 <rng:attribute name="chart:dimension">
438 <rng:ref name="chart-dimension"/>
439 </rng:attribute>
440 <rng:optional>
441 <rng:attribute name="chart:name">
442 <rng:ref name="string"/>
443 </rng:attribute>
444 </rng:optional>
445 <rng:optional>
446 <rng:attribute name="chart:style-name">
447 <rng:ref name="styleNameRef"/>
448 </rng:attribute>
449 </rng:optional>
450 </rng:interleave>
451 </rng:define>
452 <rng:define name="chart-categories">
453 <rng:element name="chart:categories">
454 <rng:optional>
455 <rng:attribute name="table:cell-range-address">
456 <rng:ref name="cellRangeAddressList"/>
457 </rng:attribute>
458 </rng:optional>
459 </rng:element>
460 </rng:define>
461 <rng:define name="chart-chart">
462 <rng:element name="chart:chart">
463 <rng:ref name="chart-chart-attlist"/>
464 <rng:optional>
465 <rng:ref name="chart-title"/>
466 </rng:optional>
467 <rng:optional>
468 <rng:ref name="chart-subtitle"/>
469 </rng:optional>
470 <rng:optional>
471 <rng:ref name="chart-footer"/>
472 </rng:optional>
473 <rng:optional>
474 <rng:ref name="chart-legend"/>
475 </rng:optional>
476 <rng:ref name="chart-plot-area"/>
477 <rng:zeroOrMore>
478 <rng:ref name="shape"/>
479 </rng:zeroOrMore>
480 <!-- https://issues.oasis-open.org/browse/OFFICE-2123 -->
481 <rng:optional>
482 <rng:ref name="table-table"/>
483 </rng:optional>
484 </rng:element>
485 </rng:define>
486 <rng:define name="chart-chart-attlist">
487 <rng:interleave>
488 <rng:attribute name="chart:class">
489 <rng:ref name="namespacedToken"/>
490 </rng:attribute>
491 <rng:ref name="common-draw-size-attlist"/>
492 <rng:optional>
493 <rng:attribute name="chart:column-mapping">
494 <rng:ref name="string"/>
495 </rng:attribute>
496 </rng:optional>
497 <rng:optional>
498 <rng:attribute name="chart:row-mapping">
499 <rng:ref name="string"/>
500 </rng:attribute>
501 </rng:optional>
502 <rng:optional>
503 <rng:attribute name="chart:style-name">
504 <rng:ref name="styleNameRef"/>
505 </rng:attribute>
506 </rng:optional>
507 <rng:optional>
508 <rng:group>
509 <rng:attribute name="xlink:type">
510 <rng:value>simple</rng:value>
511 </rng:attribute>
512 <rng:attribute name="xlink:href">
513 <rng:ref name="anyIRI"/>
514 </rng:attribute>
515 </rng:group>
516 </rng:optional>
517 <rng:optional>
518 <rng:ref name="xml-id"/>
519 </rng:optional>
520 </rng:interleave>
521 </rng:define>
522 <rng:define name="chart-coordinate-region">
523 <rng:element name="chart:coordinate-region">
524 <rng:ref name="chart-coordinate-region-attlist"/>
525 <rng:empty/>
526 </rng:element>
527 </rng:define>
528 <rng:define name="chart-coordinate-region-attlist">
529 <rng:ref name="common-draw-position-attlist"/>
530 <rng:ref name="common-draw-size-attlist"/>
531 </rng:define>
532 <!-- https://issues.oasis-open.org/browse/OFFICE-3928 -->
533 <rng:define name="chart-data-label">
534 <rng:element name="chart:data-label">
535 <rng:ref name="chart-data-label-attlist"/>
536 <rng:optional>
537 <rng:ref name="text-p"/>
538 </rng:optional>
539 </rng:element>
540 </rng:define>
541 <rng:define name="chart-data-label-attlist">
542 <rng:interleave>
543 <rng:ref name="common-draw-position-attlist"/>
544 <rng:optional>
545 <rng:attribute name="chart:style-name">
546 <rng:ref name="styleNameRef"/>
547 </rng:attribute>
548 </rng:optional>
549 </rng:interleave>
550 </rng:define>
551 <rng:define name="chart-data-point">
552 <rng:element name="chart:data-point">
553 <rng:ref name="chart-data-point-attlist"/>
554 <rng:optional>
555 <rng:ref name="chart-data-label"/>
556 </rng:optional>
557 </rng:element>
558 </rng:define>
559 <rng:define name="chart-data-point-attlist">
560 <rng:interleave>
561 <rng:optional>
562 <rng:attribute name="chart:repeated">
563 <rng:ref name="positiveInteger"/>
564 </rng:attribute>
565 </rng:optional>
566 <rng:optional>
567 <rng:attribute name="chart:style-name">
568 <rng:ref name="styleNameRef"/>
569 </rng:attribute>
570 </rng:optional>
571 <rng:optional>
572 <rng:ref name="xml-id"/>
573 </rng:optional>
574 </rng:interleave>
575 </rng:define>
576 <rng:define name="chart-dimension">
577 <rng:choice>
578 <rng:value>x</rng:value>
579 <rng:value>y</rng:value>
580 <rng:value>z</rng:value>
581 </rng:choice>
582 </rng:define>
583 <rng:define name="chart-domain">
584 <rng:element name="chart:domain">
585 <rng:optional>
586 <rng:attribute name="table:cell-range-address">
587 <rng:ref name="cellRangeAddressList"/>
588 </rng:attribute>
589 </rng:optional>
590 </rng:element>
591 </rng:define>
592 <rng:define name="chart-equation">
593 <rng:element name="chart:equation">
594 <rng:ref name="chart-equation-attlist"/>
595 <rng:optional>
596 <rng:ref name="text-p"/>
597 </rng:optional>
598 </rng:element>
599 </rng:define>
600 <rng:define name="chart-equation-attlist">
601 <rng:interleave>
602 <rng:optional>
603 <rng:attribute name="chart:automatic-content">
604 <rng:ref name="boolean"/>
605 </rng:attribute>
606 </rng:optional>
607 <rng:optional>
608 <rng:attribute name="chart:display-r-square">
609 <rng:ref name="boolean"/>
610 </rng:attribute>
611 </rng:optional>
612 <rng:optional>
613 <rng:attribute name="chart:display-equation">
614 <rng:ref name="boolean"/>
615 </rng:attribute>
616 </rng:optional>
617 <rng:ref name="common-draw-position-attlist"/>
618 <rng:optional>
619 <rng:attribute name="chart:style-name">
620 <rng:ref name="styleNameRef"/>
621 </rng:attribute>
622 </rng:optional>
623 </rng:interleave>
624 </rng:define>
625 <rng:define name="chart-error-indicator">
626 <rng:element name="chart:error-indicator">
627 <rng:ref name="chart-error-indicator-attlist"/>
628 <rng:empty/>
629 </rng:element>
630 </rng:define>
631 <rng:define name="chart-error-indicator-attlist">
632 <rng:interleave>
633 <rng:optional>
634 <rng:attribute name="chart:style-name">
635 <rng:ref name="styleNameRef"/>
636 </rng:attribute>
637 </rng:optional>
638 <rng:attribute name="chart:dimension">
639 <rng:ref name="chart-dimension"/>
640 </rng:attribute>
641 </rng:interleave>
642 </rng:define>
643 <rng:define name="chart-floor">
644 <rng:element name="chart:floor">
645 <rng:ref name="chart-floor-attlist"/>
646 <rng:empty/>
647 </rng:element>
648 </rng:define>
649 <rng:define name="chart-floor-attlist">
650 <rng:interleave>
651 <rng:optional>
652 <rng:attribute name="svg:width">
653 <rng:ref name="length"/>
654 </rng:attribute>
655 </rng:optional>
656 <rng:optional>
657 <rng:attribute name="chart:style-name">
658 <rng:ref name="styleNameRef"/>
659 </rng:attribute>
660 </rng:optional>
661 </rng:interleave>
662 </rng:define>
663 <rng:define name="chart-footer">
664 <rng:element name="chart:footer">
665 <rng:ref name="chart-title-attlist"/>
666 <rng:optional>
667 <rng:ref name="text-p"/>
668 </rng:optional>
669 </rng:element>
670 </rng:define>
671 <rng:define name="chart-grid">
672 <rng:element name="chart:grid">
673 <rng:ref name="chart-grid-attlist"/>
674 </rng:element>
675 </rng:define>
676 <rng:define name="chart-grid-attlist">
677 <rng:interleave>
678 <rng:optional>
679 <rng:attribute name="chart:class">
680 <rng:choice>
681 <rng:value>major</rng:value>
682 <rng:value>minor</rng:value>
683 </rng:choice>
684 </rng:attribute>
685 </rng:optional>
686 <rng:optional>
687 <rng:attribute name="chart:style-name">
688 <rng:ref name="styleNameRef"/>
689 </rng:attribute>
690 </rng:optional>
691 </rng:interleave>
692 </rng:define>
693 <rng:define name="chart-legend">
694 <rng:element name="chart:legend">
695 <rng:ref name="chart-legend-attlist"/>
696 <rng:optional>
697 <rng:ref name="text-p"/>
698 </rng:optional>
699 </rng:element>
700 </rng:define>
701 <rng:define name="chart-legend-attlist">
702 <rng:interleave>
703 <rng:choice>
704 <rng:group>
705 <rng:attribute name="chart:legend-position">
706 <rng:choice>
707 <rng:value>start</rng:value>
708 <rng:value>end</rng:value>
709 <rng:value>top</rng:value>
710 <rng:value>bottom</rng:value>
711 </rng:choice>
712 </rng:attribute>
713 <rng:optional>
714 <rng:attribute name="chart:legend-align">
715 <rng:choice>
716 <rng:value>start</rng:value>
717 <rng:value>center</rng:value>
718 <rng:value>end</rng:value>
719 </rng:choice>
720 </rng:attribute>
721 </rng:optional>
722 </rng:group>
723 <rng:attribute name="chart:legend-position">
724 <rng:choice>
725 <rng:value>top-start</rng:value>
726 <rng:value>bottom-start</rng:value>
727 <rng:value>top-end</rng:value>
728 <rng:value>bottom-end</rng:value>
729 </rng:choice>
730 </rng:attribute>
731 <rng:empty/>
732 </rng:choice>
733 <rng:ref name="common-draw-position-attlist"/>
734 <rng:choice>
735 <rng:attribute name="style:legend-expansion">
736 <rng:choice>
737 <rng:value>wide</rng:value>
738 <rng:value>high</rng:value>
739 <rng:value>balanced</rng:value>
740 </rng:choice>
741 </rng:attribute>
742 <rng:group>
743 <rng:attribute name="style:legend-expansion">
744 <rng:value>custom</rng:value>
745 </rng:attribute>
746 <rng:attribute name="style:legend-expansion-aspect-ratio">
747 <rng:ref name="double"/>
748 </rng:attribute>
749 <rng:ref name="common-draw-size-attlist"/>
750 <!-- https://issues.oasis-open.org/browse/OFFICE-3883 -->
751 </rng:group>
752 <rng:empty/>
753 </rng:choice>
754 <rng:optional>
755 <rng:attribute name="chart:style-name">
756 <rng:ref name="styleNameRef"/>
757 </rng:attribute>
758 </rng:optional>
759 </rng:interleave>
760 </rng:define>
761 <rng:define name="chart-mean-value">
762 <rng:element name="chart:mean-value">
763 <rng:ref name="chart-mean-value-attlist"/>
764 <rng:empty/>
765 </rng:element>
766 </rng:define>
767 <rng:define name="chart-mean-value-attlist">
768 <rng:optional>
769 <rng:attribute name="chart:style-name">
770 <rng:ref name="styleNameRef"/>
771 </rng:attribute>
772 </rng:optional>
773 </rng:define>
774 <rng:define name="chart-plot-area">
775 <rng:element name="chart:plot-area">
776 <rng:ref name="chart-plot-area-attlist"/>
777 <rng:optional>
778 <!-- https://issues.oasis-open.org/browse/OFFICE-3928 -->
779 <rng:ref name="chart-coordinate-region"/>
780 </rng:optional>
781 <rng:zeroOrMore>
782 <rng:ref name="dr3d-light"/>
783 </rng:zeroOrMore>
784 <rng:zeroOrMore>
785 <rng:ref name="chart-axis"/>
786 </rng:zeroOrMore>
787 <rng:zeroOrMore>
788 <rng:ref name="chart-series"/>
789 </rng:zeroOrMore>
790 <rng:optional>
791 <rng:ref name="chart-stock-gain-marker"/>
792 </rng:optional>
793 <rng:optional>
794 <rng:ref name="chart-stock-loss-marker"/>
795 </rng:optional>
796 <rng:optional>
797 <rng:ref name="chart-stock-range-line"/>
798 </rng:optional>
799 <rng:optional>
800 <rng:ref name="chart-wall"/>
801 </rng:optional>
802 <rng:optional>
803 <rng:ref name="chart-floor"/>
804 </rng:optional>
805 </rng:element>
806 </rng:define>
807 <rng:define name="chart-plot-area-attlist">
808 <rng:interleave>
809 <rng:ref name="common-draw-position-attlist"/>
810 <rng:ref name="common-draw-size-attlist"/>
811 <rng:optional>
812 <rng:attribute name="chart:style-name">
813 <rng:ref name="styleNameRef"/>
814 </rng:attribute>
815 </rng:optional>
816 <rng:optional>
817 <rng:attribute name="table:cell-range-address">
818 <rng:ref name="cellRangeAddressList"/>
819 </rng:attribute>
820 </rng:optional>
821 <rng:optional>
822 <rng:attribute name="chart:data-source-has-labels">
823 <rng:choice>
824 <rng:value>none</rng:value>
825 <rng:value>row</rng:value>
826 <rng:value>column</rng:value>
827 <rng:value>both</rng:value>
828 </rng:choice>
829 </rng:attribute>
830 </rng:optional>
831 <rng:ref name="dr3d-scene-attlist"/>
832 <rng:ref name="common-dr3d-transform-attlist"/>
833 <rng:optional>
834 <rng:ref name="xml-id"/>
835 </rng:optional>
836 </rng:interleave>
837 </rng:define>
838 <rng:define name="chart-regression-curve">
839 <rng:element name="chart:regression-curve">
840 <rng:ref name="chart-regression-curve-attlist"/>
841 <rng:optional>
842 <rng:ref name="chart-equation"/>
843 </rng:optional>
844 </rng:element>
845 </rng:define>
846 <rng:define name="chart-regression-curve-attlist">
847 <rng:optional>
848 <rng:attribute name="chart:style-name">
849 <rng:ref name="styleNameRef"/>
850 </rng:attribute>
851 </rng:optional>
852 </rng:define>
853 <rng:define name="chart-series">
854 <rng:element name="chart:series">
855 <rng:ref name="chart-series-attlist"/>
856 <rng:zeroOrMore>
857 <rng:ref name="chart-domain"/>
858 </rng:zeroOrMore>
859 <rng:optional>
860 <rng:ref name="chart-mean-value"/>
861 </rng:optional>
862 <rng:zeroOrMore>
863 <rng:ref name="chart-regression-curve"/>
864 </rng:zeroOrMore>
865 <rng:zeroOrMore>
866 <rng:ref name="chart-error-indicator"/>
867 </rng:zeroOrMore>
868 <rng:zeroOrMore>
869 <rng:ref name="chart-data-point"/>
870 </rng:zeroOrMore>
871 <rng:optional>
872 <rng:ref name="chart-data-label"/>
873 </rng:optional>
874 </rng:element>
875 </rng:define>
876 <rng:define name="chart-series-attlist">
877 <rng:interleave>
878 <rng:optional>
879 <rng:attribute name="chart:values-cell-range-address">
880 <rng:ref name="cellRangeAddressList"/>
881 </rng:attribute>
882 </rng:optional>
883 <rng:optional>
884 <rng:attribute name="chart:label-cell-address">
885 <rng:ref name="cellRangeAddressList"/>
886 </rng:attribute>
887 </rng:optional>
888 <rng:optional>
889 <rng:attribute name="chart:class">
890 <rng:ref name="namespacedToken"/>
891 </rng:attribute>
892 </rng:optional>
893 <rng:optional>
894 <rng:attribute name="chart:attached-axis">
895 <rng:ref name="string"/>
896 </rng:attribute>
897 </rng:optional>
898 <rng:optional>
899 <rng:attribute name="chart:style-name">
900 <rng:ref name="styleNameRef"/>
901 </rng:attribute>
902 </rng:optional>
903 <rng:optional>
904 <rng:ref name="xml-id"/>
905 </rng:optional>
906 </rng:interleave>
907 </rng:define>
908 <rng:define name="chart-stock-gain-marker">
909 <rng:element name="chart:stock-gain-marker">
910 <rng:ref name="common-stock-marker-attlist"/>
911 </rng:element>
912 </rng:define>
913 <rng:define name="chart-stock-loss-marker">
914 <rng:element name="chart:stock-loss-marker">
915 <rng:ref name="common-stock-marker-attlist"/>
916 </rng:element>
917 </rng:define>
918 <rng:define name="chart-stock-range-line">
919 <rng:element name="chart:stock-range-line">
920 <rng:ref name="common-stock-marker-attlist"/>
921 </rng:element>
922 </rng:define>
923 <rng:define name="chart-subtitle">
924 <rng:element name="chart:subtitle">
925 <rng:ref name="chart-title-attlist"/>
926 <rng:optional>
927 <rng:ref name="text-p"/>
928 </rng:optional>
929 </rng:element>
930 </rng:define>
931 <rng:define name="chart-title">
932 <rng:element name="chart:title">
933 <rng:ref name="chart-title-attlist"/>
934 <rng:optional>
935 <rng:ref name="text-p"/>
936 </rng:optional>
937 </rng:element>
938 </rng:define>
939 <rng:define name="chart-title-attlist">
940 <rng:interleave>
941 <rng:optional>
942 <rng:attribute name="table:cell-range">
943 <rng:ref name="cellRangeAddressList"/>
944 </rng:attribute>
945 </rng:optional>
946 <rng:ref name="common-draw-position-attlist"/>
947 <rng:optional>
948 <rng:attribute name="chart:style-name">
949 <rng:ref name="styleNameRef"/>
950 </rng:attribute>
951 </rng:optional>
952 </rng:interleave>
953 </rng:define>
954 <rng:define name="chart-wall">
955 <rng:element name="chart:wall">
956 <rng:ref name="chart-wall-attlist"/>
957 <rng:empty/>
958 </rng:element>
959 </rng:define>
960 <rng:define name="chart-wall-attlist">
961 <rng:interleave>
962 <rng:optional>
963 <rng:attribute name="svg:width">
964 <rng:ref name="length"/>
965 </rng:attribute>
966 </rng:optional>
967 <rng:optional>
968 <rng:attribute name="chart:style-name">
969 <rng:ref name="styleNameRef"/>
970 </rng:attribute>
971 </rng:optional>
972 </rng:interleave>
973 </rng:define>
974 <rng:define name="clipShape">
975 <rng:data type="string">
976 <rng:param name="pattern">rect\([ ]*((-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)))|(auto))([ ]*,[ ]*((-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc))))|(auto)){3}[ ]*\)</rng:param>
977 </rng:data>
978 </rng:define>
979 <rng:define name="color">
980 <rng:data type="string">
981 <rng:param name="pattern">#[0-9a-fA-F]{6}</rng:param>
982 </rng:data>
983 </rng:define>
984 <rng:define name="column-controls">
985 <rng:choice>
986 <rng:element name="form:text">
987 <rng:ref name="form-text-attlist"/>
988 <rng:ref name="common-form-control-content"/>
989 </rng:element>
990 <rng:element name="form:textarea">
991 <rng:ref name="form-textarea-attlist"/>
992 <rng:ref name="common-form-control-content"/>
993 <rng:zeroOrMore>
994 <rng:ref name="text-p"/>
995 </rng:zeroOrMore>
996 </rng:element>
997 <rng:element name="form:formatted-text">
998 <rng:ref name="form-formatted-text-attlist"/>
999 <rng:ref name="common-form-control-content"/>
1000 </rng:element>
1001 <rng:element name="form:number">
1002 <rng:ref name="form-number-attlist"/>
1003 <rng:ref name="common-numeric-control-attlist"/>
1004 <rng:ref name="common-form-control-content"/>
1005 <rng:ref name="common-linked-cell"/>
1006 <rng:ref name="common-spin-button"/>
1007 <rng:ref name="common-repeat"/>
1008 <rng:ref name="common-delay-for-repeat"/>
1009 </rng:element>
1010 <rng:element name="form:date">
1011 <rng:ref name="form-date-attlist"/>
1012 <rng:ref name="common-numeric-control-attlist"/>
1013 <rng:ref name="common-form-control-content"/>
1014 <rng:ref name="common-linked-cell"/>
1015 <rng:ref name="common-spin-button"/>
1016 <rng:ref name="common-repeat"/>
1017 <rng:ref name="common-delay-for-repeat"/>
1018 </rng:element>
1019 <rng:element name="form:time">
1020 <rng:ref name="form-time-attlist"/>
1021 <rng:ref name="common-numeric-control-attlist"/>
1022 <rng:ref name="common-form-control-content"/>
1023 <rng:ref name="common-linked-cell"/>
1024 <rng:ref name="common-spin-button"/>
1025 <rng:ref name="common-repeat"/>
1026 <rng:ref name="common-delay-for-repeat"/>
1027 </rng:element>
1028 <rng:element name="form:combobox">
1029 <rng:ref name="form-combobox-attlist"/>
1030 <rng:ref name="common-form-control-content"/>
1031 <rng:zeroOrMore>
1032 <rng:ref name="form-item"/>
1033 </rng:zeroOrMore>
1034 </rng:element>
1035 <rng:element name="form:listbox">
1036 <rng:ref name="form-listbox-attlist"/>
1037 <rng:ref name="common-form-control-content"/>
1038 <rng:zeroOrMore>
1039 <rng:ref name="form-option"/>
1040 </rng:zeroOrMore>
1041 </rng:element>
1042 <rng:element name="form:checkbox">
1043 <rng:ref name="form-checkbox-attlist"/>
1044 <rng:ref name="common-form-control-content"/>
1045 </rng:element>
1046 </rng:choice>
1047 </rng:define>
1048 <rng:define name="common-anim-add-accum-attlist">
1049 <rng:interleave>
1050 <rng:optional>
1051 <rng:attribute name="smil:accumulate">
1052 <rng:choice>
1053 <rng:value>none</rng:value>
1054 <rng:value>sum</rng:value>
1055 </rng:choice>
1056 </rng:attribute>
1057 </rng:optional>
1058 <rng:optional>
1059 <rng:attribute name="smil:additive">
1060 <rng:choice>
1061 <rng:value>replace</rng:value>
1062 <rng:value>sum</rng:value>
1063 </rng:choice>
1064 </rng:attribute>
1065 </rng:optional>
1066 </rng:interleave>
1067 </rng:define>
1068 <rng:define name="common-anim-attlist">
1069 <rng:interleave>
1070 <rng:optional>
1071 <rng:attribute name="presentation:node-type">
1072 <rng:choice>
1073 <rng:value>default</rng:value>
1074 <rng:value>on-click</rng:value>
1075 <rng:value>with-previous</rng:value>
1076 <rng:value>after-previous</rng:value>
1077 <rng:value>timing-root</rng:value>
1078 <rng:value>main-sequence</rng:value>
1079 <rng:value>interactive-sequence</rng:value>
1080 </rng:choice>
1081 </rng:attribute>
1082 </rng:optional>
1083 <rng:optional>
1084 <rng:attribute name="presentation:preset-id">
1085 <rng:ref name="string"/>
1086 </rng:attribute>
1087 </rng:optional>
1088 <rng:optional>
1089 <rng:attribute name="presentation:preset-sub-type">
1090 <rng:ref name="string"/>
1091 </rng:attribute>
1092 </rng:optional>
1093 <rng:optional>
1094 <rng:attribute name="presentation:preset-class">
1095 <rng:choice>
1096 <rng:value>custom</rng:value>
1097 <rng:value>entrance</rng:value>
1098 <rng:value>exit</rng:value>
1099 <rng:value>emphasis</rng:value>
1100 <rng:value>motion-path</rng:value>
1101 <rng:value>ole-action</rng:value>
1102 <rng:value>media-call</rng:value>
1103 </rng:choice>
1104 </rng:attribute>
1105 </rng:optional>
1106 <rng:optional>
1107 <rng:attribute name="presentation:master-element">
1108 <rng:ref name="IDREF"/>
1109 </rng:attribute>
1110 </rng:optional>
1111 <rng:optional>
1112 <rng:attribute name="presentation:group-id">
1113 <rng:ref name="string"/>
1114 </rng:attribute>
1115 </rng:optional>
1116 <rng:optional>
1117 <rng:group>
1118 <rng:ref name="xml-id"/>
1119 <rng:optional>
1120 <rng:attribute name="anim:id">
1121 <rng:ref name="NCName"/>
1122 </rng:attribute>
1123 </rng:optional>
1124 </rng:group>
1125 </rng:optional>
1126 </rng:interleave>
1127 </rng:define>
1128 <rng:define name="common-anim-named-target-attlist">
1129 <rng:attribute name="smil:attributeName">
1130 <rng:ref name="string"/>
1131 </rng:attribute>
1132 </rng:define>
1133 <rng:define name="common-anim-set-values-attlist">
1134 <rng:optional>
1135 <rng:attribute name="smil:to">
1136 <rng:ref name="string"/>
1137 </rng:attribute>
1138 </rng:optional>
1139 </rng:define>
1140 <rng:define name="common-anim-spline-mode-attlist">
1141 <rng:optional>
1142 <rng:attribute name="smil:calcMode">
1143 <rng:choice>
1144 <rng:value>discrete</rng:value>
1145 <rng:value>linear</rng:value>
1146 <rng:value>paced</rng:value>
1147 <rng:value>spline</rng:value>
1148 </rng:choice>
1149 </rng:attribute>
1150 </rng:optional>
1151 </rng:define>
1152 <rng:define name="common-anim-target-attlist">
1153 <rng:interleave>
1154 <rng:optional>
1155 <rng:attribute name="smil:targetElement">
1156 <rng:ref name="IDREF"/>
1157 </rng:attribute>
1158 </rng:optional>
1159 <rng:optional>
1160 <rng:attribute name="anim:sub-item">
1161 <rng:ref name="string"/>
1162 </rng:attribute>
1163 </rng:optional>
1164 </rng:interleave>
1165 </rng:define>
1166 <rng:define name="common-anim-values-attlist">
1167 <rng:interleave>
1168 <rng:optional>
1169 <rng:attribute name="smil:values">
1170 <rng:ref name="string"/>
1171 </rng:attribute>
1172 </rng:optional>
1173 <rng:optional>
1174 <rng:attribute name="anim:formula">
1175 <rng:ref name="string"/>
1176 </rng:attribute>
1177 </rng:optional>
1178 <rng:ref name="common-anim-set-values-attlist"/>
1179 <rng:optional>
1180 <rng:attribute name="smil:from">
1181 <rng:ref name="string"/>
1182 </rng:attribute>
1183 </rng:optional>
1184 <rng:optional>
1185 <rng:attribute name="smil:by">
1186 <rng:ref name="string"/>
1187 </rng:attribute>
1188 </rng:optional>
1189 </rng:interleave>
1190 </rng:define>
1191 <rng:define name="common-auto-reorder-attlist">
1192 <rng:optional>
1193 <rng:attribute name="number:automatic-order">
1194 <rng:ref name="boolean"/>
1195 </rng:attribute>
1196 </rng:optional>
1197 </rng:define>
1198 <rng:define name="common-background-color-attlist">
1199 <rng:optional>
1200 <rng:attribute name="fo:background-color">
1201 <rng:choice>
1202 <rng:value>transparent</rng:value>
1203 <rng:ref name="color"/>
1204 </rng:choice>
1205 </rng:attribute>
1206 </rng:optional>
1207 </rng:define>
1208 <rng:define name="common-background-transparency-attlist">
1209 <rng:optional>
1210 <rng:attribute name="style:background-transparency">
1211 <rng:ref name="zeroToHundredPercent"/>
1212 </rng:attribute>
1213 </rng:optional>
1214 </rng:define>
1215 <rng:define name="common-basic-timing-attlist">
1216 <rng:ref name="common-begin-end-timing-attlist"/>
1217 <rng:ref name="common-dur-timing-attlist"/>
1218 <rng:ref name="common-repeat-timing-attlist"/>
1219 <rng:ref name="common-restart-timing-attlist"/>
1220 <rng:ref name="common-restart-default-attlist"/>
1221 <rng:ref name="common-fill-timing-attlist"/>
1222 <rng:ref name="common-fill-default-attlist"/>
1223 </rng:define>
1224 <rng:define name="common-begin-end-timing-attlist">
1225 <rng:interleave>
1226 <rng:optional>
1227 <rng:attribute name="smil:begin">
1228 <rng:ref name="string"/>
1229 </rng:attribute>
1230 </rng:optional>
1231 <rng:optional>
1232 <rng:attribute name="smil:end">
1233 <rng:ref name="string"/>
1234 </rng:attribute>
1235 </rng:optional>
1236 </rng:interleave>
1237 </rng:define>
1238 <rng:define name="common-border-attlist">
1239 <rng:optional>
1240 <rng:attribute name="fo:border">
1241 <rng:ref name="string"/>
1242 </rng:attribute>
1243 </rng:optional>
1244 <rng:optional>
1245 <rng:attribute name="fo:border-top">
1246 <rng:ref name="string"/>
1247 </rng:attribute>
1248 </rng:optional>
1249 <rng:optional>
1250 <rng:attribute name="fo:border-bottom">
1251 <rng:ref name="string"/>
1252 </rng:attribute>
1253 </rng:optional>
1254 <rng:optional>
1255 <rng:attribute name="fo:border-left">
1256 <rng:ref name="string"/>
1257 </rng:attribute>
1258 </rng:optional>
1259 <rng:optional>
1260 <rng:attribute name="fo:border-right">
1261 <rng:ref name="string"/>
1262 </rng:attribute>
1263 </rng:optional>
1264 </rng:define>
1265 <rng:define name="common-border-line-width-attlist">
1266 <rng:optional>
1267 <rng:attribute name="style:border-line-width">
1268 <rng:ref name="borderWidths"/>
1269 </rng:attribute>
1270 </rng:optional>
1271 <rng:optional>
1272 <rng:attribute name="style:border-line-width-top">
1273 <rng:ref name="borderWidths"/>
1274 </rng:attribute>
1275 </rng:optional>
1276 <rng:optional>
1277 <rng:attribute name="style:border-line-width-bottom">
1278 <rng:ref name="borderWidths"/>
1279 </rng:attribute>
1280 </rng:optional>
1281 <rng:optional>
1282 <rng:attribute name="style:border-line-width-left">
1283 <rng:ref name="borderWidths"/>
1284 </rng:attribute>
1285 </rng:optional>
1286 <rng:optional>
1287 <rng:attribute name="style:border-line-width-right">
1288 <rng:ref name="borderWidths"/>
1289 </rng:attribute>
1290 </rng:optional>
1291 </rng:define>
1292 <rng:define name="common-break-attlist">
1293 <rng:optional>
1294 <rng:attribute name="fo:break-before">
1295 <rng:choice>
1296 <rng:value>auto</rng:value>
1297 <rng:value>column</rng:value>
1298 <rng:value>page</rng:value>
1299 </rng:choice>
1300 </rng:attribute>
1301 </rng:optional>
1302 <rng:optional>
1303 <rng:attribute name="fo:break-after">
1304 <rng:choice>
1305 <rng:value>auto</rng:value>
1306 <rng:value>column</rng:value>
1307 <rng:value>page</rng:value>
1308 </rng:choice>
1309 </rng:attribute>
1310 </rng:optional>
1311 </rng:define>
1312 <rng:define name="common-calendar-attlist">
1313 <rng:optional>
1314 <rng:attribute name="number:calendar">
1315 <rng:choice>
1316 <rng:value>gregorian</rng:value>
1317 <rng:value>gengou</rng:value>
1318 <rng:value>ROC</rng:value>
1319 <rng:value>hanja_yoil</rng:value>
1320 <rng:value>hanja</rng:value>
1321 <rng:value>hijri</rng:value>
1322 <rng:value>jewish</rng:value>
1323 <rng:value>buddhist</rng:value>
1324 <rng:ref name="string"/>
1325 </rng:choice>
1326 </rng:attribute>
1327 </rng:optional>
1328 </rng:define>
1329 <rng:define name="common-contour-attlist">
1330 <rng:attribute name="draw:recreate-on-edit">
1331 <rng:ref name="boolean"/>
1332 </rng:attribute>
1333 </rng:define>
1334 <rng:define name="common-control-id-attlist">
1335 <rng:group>
1336 <rng:ref name="xml-id"/>
1337 <rng:optional>
1338 <rng:attribute name="form:id">
1339 <rng:ref name="NCName"/>
1340 </rng:attribute>
1341 </rng:optional>
1342 </rng:group>
1343 </rng:define>
1344 <rng:define name="common-convert-empty-attlist">
1345 <rng:optional>
1346 <rng:attribute name="form:convert-empty-to-null">
1347 <rng:ref name="boolean"/>
1348 </rng:attribute>
1349 </rng:optional>
1350 </rng:define>
1351 <rng:define name="common-current-value-attlist">
1352 <rng:optional>
1353 <rng:attribute name="form:current-value">
1354 <rng:ref name="string"/>
1355 </rng:attribute>
1356 </rng:optional>
1357 </rng:define>
1358 <rng:define name="common-data-field-attlist">
1359 <rng:optional>
1360 <rng:attribute name="form:data-field">
1361 <rng:ref name="string"/>
1362 </rng:attribute>
1363 </rng:optional>
1364 </rng:define>
1365 <rng:define name="common-data-style-attlist">
1366 <rng:interleave>
1367 <rng:attribute name="style:name">
1368 <rng:ref name="styleName"/>
1369 </rng:attribute>
1370 <rng:optional>
1371 <rng:attribute name="style:display-name">
1372 <rng:ref name="string"/>
1373 </rng:attribute>
1374 </rng:optional>
1375 <rng:optional>
1376 <rng:attribute name="number:language">
1377 <rng:ref name="languageCode"/>
1378 </rng:attribute>
1379 </rng:optional>
1380 <rng:optional>
1381 <rng:attribute name="number:country">
1382 <rng:ref name="countryCode"/>
1383 </rng:attribute>
1384 </rng:optional>
1385 <rng:optional>
1386 <rng:attribute name="number:script">
1387 <rng:ref name="scriptCode"/>
1388 </rng:attribute>
1389 </rng:optional>
1390 <rng:optional>
1391 <rng:attribute name="number:rfc-language-tag">
1392 <rng:ref name="language"/>
1393 </rng:attribute>
1394 </rng:optional>
1395 <rng:optional>
1396 <rng:attribute name="number:title">
1397 <rng:ref name="string"/>
1398 </rng:attribute>
1399 </rng:optional>
1400 <rng:optional>
1401 <rng:attribute name="style:volatile">
1402 <rng:ref name="boolean"/>
1403 </rng:attribute>
1404 </rng:optional>
1405 <rng:optional>
1406 <rng:attribute name="number:transliteration-format">
1407 <rng:ref name="string"/>
1408 </rng:attribute>
1409 </rng:optional>
1410 <rng:optional>
1411 <rng:attribute name="number:transliteration-language">
1412 <rng:ref name="countryCode"/>
1413 </rng:attribute>
1414 </rng:optional>
1415 <rng:optional>
1416 <rng:attribute name="number:transliteration-country">
1417 <rng:ref name="countryCode"/>
1418 </rng:attribute>
1419 </rng:optional>
1420 <rng:optional>
1421 <rng:attribute name="number:transliteration-style">
1422 <rng:choice>
1423 <rng:value>short</rng:value>
1424 <rng:value>medium</rng:value>
1425 <rng:value>long</rng:value>
1426 </rng:choice>
1427 </rng:attribute>
1428 </rng:optional>
1429 </rng:interleave>
1430 </rng:define>
1431 <rng:define name="common-db-default-value">
1432 <rng:optional>
1433 <rng:ref name="common-value-and-type-attlist"/>
1434 </rng:optional>
1435 </rng:define>
1436 <rng:define name="common-db-object-description">
1437 <rng:optional>
1438 <rng:attribute name="db:description">
1439 <rng:ref name="string"/>
1440 </rng:attribute>
1441 </rng:optional>
1442 </rng:define>
1443 <rng:define name="common-db-object-name">
1444 <rng:attribute name="db:name">
1445 <rng:ref name="string"/>
1446 </rng:attribute>
1447 </rng:define>
1448 <rng:define name="common-db-object-title">
1449 <rng:optional>
1450 <rng:attribute name="db:title">
1451 <rng:ref name="string"/>
1452 </rng:attribute>
1453 </rng:optional>
1454 </rng:define>
1455 <rng:define name="common-db-table-name-attlist">
1456 <rng:interleave>
1457 <rng:attribute name="db:name">
1458 <rng:ref name="string"/>
1459 </rng:attribute>
1460 <rng:optional>
1461 <rng:attribute name="db:catalog-name">
1462 <rng:ref name="string"/>
1463 </rng:attribute>
1464 </rng:optional>
1465 <rng:optional>
1466 <rng:attribute name="db:schema-name">
1467 <rng:ref name="string"/>
1468 </rng:attribute>
1469 </rng:optional>
1470 </rng:interleave>
1471 </rng:define>
1472 <rng:define name="common-db-table-style-name">
1473 <rng:interleave>
1474 <rng:optional>
1475 <rng:attribute name="db:style-name">
1476 <rng:ref name="styleNameRef"/>
1477 </rng:attribute>
1478 </rng:optional>
1479 <rng:optional>
1480 <rng:attribute name="db:default-row-style-name">
1481 <rng:ref name="styleNameRef"/>
1482 </rng:attribute>
1483 </rng:optional>
1484 </rng:interleave>
1485 </rng:define>
1486 <rng:define name="common-dde-connection-decl-attlist">
1487 <rng:interleave>
1488 <rng:attribute name="office:dde-application">
1489 <rng:ref name="string"/>
1490 </rng:attribute>
1491 <rng:attribute name="office:dde-topic">
1492 <rng:ref name="string"/>
1493 </rng:attribute>
1494 <rng:attribute name="office:dde-item">
1495 <rng:ref name="string"/>
1496 </rng:attribute>
1497 <rng:optional>
1498 <rng:attribute name="office:automatic-update">
1499 <rng:ref name="boolean"/>
1500 </rng:attribute>
1501 </rng:optional>
1502 </rng:interleave>
1503 </rng:define>
1504 <rng:define name="common-decimal-places-attlist">
1505 <rng:optional>
1506 <rng:attribute name="number:decimal-places">
1507 <rng:ref name="integer"/>
1508 </rng:attribute>
1509 </rng:optional>
1510 <rng:optional>
1511 <rng:attribute name="number:min-decimal-places">
1512 <rng:ref name="integer"/>
1513 </rng:attribute>
1514 </rng:optional>
1515 <!-- https://issues.oasis-open.org/browse/OFFICE-3860 added number:min-decimal-places -->
1516 </rng:define>
1517 <rng:define name="common-delay-for-repeat">
1518 <rng:optional>
1519 <rng:attribute name="form:delay-for-repeat">
1520 <rng:ref name="duration"/>
1521 </rng:attribute>
1522 </rng:optional>
1523 </rng:define>
1524 <rng:define name="common-disabled-attlist">
1525 <rng:optional>
1526 <rng:attribute name="form:disabled">
1527 <rng:ref name="boolean"/>
1528 </rng:attribute>
1529 </rng:optional>
1530 </rng:define>
1531 <rng:define name="common-dr3d-transform-attlist">
1532 <rng:optional>
1533 <rng:attribute name="dr3d:transform">
1534 <rng:ref name="string"/>
1535 </rng:attribute>
1536 </rng:optional>
1537 </rng:define>
1538 <rng:define name="common-draw-area-attlist">
1539 <rng:interleave>
1540 <rng:optional>
1541 <rng:attribute name="xlink:type">
1542 <rng:value>simple</rng:value>
1543 </rng:attribute>
1544 <rng:attribute name="xlink:href">
1545 <rng:ref name="anyIRI"/>
1546 </rng:attribute>
1547 <rng:optional>
1548 <rng:attribute name="office:target-frame-name">
1549 <rng:ref name="targetFrameName"/>
1550 </rng:attribute>
1551 </rng:optional>
1552 <rng:optional>
1553 <rng:attribute name="xlink:show">
1554 <rng:choice>
1555 <rng:value>new</rng:value>
1556 <rng:value>replace</rng:value>
1557 </rng:choice>
1558 </rng:attribute>
1559 </rng:optional>
1560 </rng:optional>
1561 <rng:optional>
1562 <rng:attribute name="office:name">
1563 <rng:ref name="string"/>
1564 </rng:attribute>
1565 </rng:optional>
1566 <rng:optional>
1567 <rng:attribute name="draw:nohref">
1568 <rng:value>nohref</rng:value>
1569 </rng:attribute>
1570 </rng:optional>
1571 </rng:interleave>
1572 </rng:define>
1573 <rng:define name="common-draw-caption-id-attlist">
1574 <rng:optional>
1575 <rng:attribute name="draw:caption-id">
1576 <rng:ref name="IDREF"/>
1577 </rng:attribute>
1578 </rng:optional>
1579 </rng:define>
1580 <rng:define name="common-draw-circle-ellipse-attlist">
1581 <rng:interleave>
1582 <rng:optional>
1583 <rng:attribute name="draw:kind">
1584 <rng:choice>
1585 <rng:value>full</rng:value>
1586 <rng:value>section</rng:value>
1587 <rng:value>cut</rng:value>
1588 <rng:value>arc</rng:value>
1589 </rng:choice>
1590 </rng:attribute>
1591 </rng:optional>
1592 <rng:optional>
1593 <rng:attribute name="draw:start-angle">
1594 <rng:ref name="angle"/>
1595 </rng:attribute>
1596 </rng:optional>
1597 <rng:optional>
1598 <rng:attribute name="draw:end-angle">
1599 <rng:ref name="angle"/>
1600 </rng:attribute>
1601 </rng:optional>
1602 </rng:interleave>
1603 </rng:define>
1604 <rng:define name="common-draw-circle-ellipse-pos-attlist">
1605 <rng:attribute name="svg:cx">
1606 <rng:ref name="coordinate"/>
1607 </rng:attribute>
1608 <rng:attribute name="svg:cy">
1609 <rng:ref name="coordinate"/>
1610 </rng:attribute>
1611 </rng:define>
1612 <rng:define name="common-draw-data-attlist">
1613 <rng:group>
1614 <rng:attribute name="xlink:type">
1615 <rng:value>simple</rng:value>
1616 </rng:attribute>
1617 <rng:attribute name="xlink:href">
1618 <rng:ref name="anyIRI"/>
1619 </rng:attribute>
1620 <rng:optional>
1621 <rng:attribute name="xlink:show">
1622 <rng:value>embed</rng:value>
1623 </rng:attribute>
1624 </rng:optional>
1625 <rng:optional>
1626 <rng:attribute name="xlink:actuate">
1627 <rng:value>onLoad</rng:value>
1628 </rng:attribute>
1629 </rng:optional>
1630 </rng:group>
1631 </rng:define>
1632 <rng:define name="common-draw-gradient-attlist">
1633 <rng:interleave>
1634 <rng:optional>
1635 <rng:attribute name="draw:name">
1636 <rng:ref name="styleName"/>
1637 </rng:attribute>
1638 </rng:optional>
1639 <rng:optional>
1640 <rng:attribute name="draw:display-name">
1641 <rng:ref name="string"/>
1642 </rng:attribute>
1643 </rng:optional>
1644 <rng:attribute name="draw:style">
1645 <rng:ref name="gradient-style"/>
1646 </rng:attribute>
1647 <rng:optional>
1648 <rng:attribute name="draw:cx">
1649 <rng:ref name="percent"/>
1650 </rng:attribute>
1651 </rng:optional>
1652 <rng:optional>
1653 <rng:attribute name="draw:cy">
1654 <rng:ref name="percent"/>
1655 </rng:attribute>
1656 </rng:optional>
1657 <rng:optional>
1658 <rng:attribute name="draw:angle">
1659 <rng:ref name="angle"/>
1660 </rng:attribute>
1661 </rng:optional>
1662 <rng:optional>
1663 <rng:attribute name="draw:border">
1664 <rng:ref name="percent"/>
1665 </rng:attribute>
1666 </rng:optional>
1667 </rng:interleave>
1668 </rng:define>
1669 <rng:define name="common-draw-id-attlist">
1670 <rng:optional>
1671 <rng:group>
1672 <rng:ref name="xml-id"/>
1673 <rng:optional>
1674 <rng:attribute name="draw:id">
1675 <rng:ref name="NCName"/>
1676 </rng:attribute>
1677 </rng:optional>
1678 </rng:group>
1679 </rng:optional>
1680 </rng:define>
1681 <rng:define name="common-draw-layer-name-attlist">
1682 <rng:optional>
1683 <rng:attribute name="draw:layer">
1684 <rng:ref name="string"/>
1685 </rng:attribute>
1686 </rng:optional>
1687 </rng:define>
1688 <rng:define name="common-draw-mime-type-attlist">
1689 <rng:optional>
1690 <rng:attribute name="draw:mime-type">
1691 <rng:ref name="string"/>
1692 </rng:attribute>
1693 </rng:optional>
1694 </rng:define>
1695 <!-- https://issues.oasis-open.org/browse/OFFICE-3943 -->
1696 <rng:define name="common-draw-name-attlist">
1697 <rng:optional>
1698 <rng:attribute name="draw:name">
1699 <rng:ref name="string"/>
1700 </rng:attribute>
1701 </rng:optional>
1702 </rng:define>
1703 <rng:define name="common-draw-path-data-attlist">
1704 <rng:attribute name="svg:d">
1705 <rng:ref name="pathData"/>
1706 </rng:attribute>
1707 </rng:define>
1708 <rng:define name="common-draw-points-attlist">
1709 <rng:attribute name="draw:points">
1710 <rng:ref name="points"/>
1711 </rng:attribute>
1712 </rng:define>
1713 <rng:define name="common-draw-position-attlist">
1714 <rng:optional>
1715 <rng:attribute name="svg:x">
1716 <rng:ref name="coordinate"/>
1717 </rng:attribute>
1718 </rng:optional>
1719 <rng:optional>
1720 <rng:attribute name="svg:y">
1721 <rng:ref name="coordinate"/>
1722 </rng:attribute>
1723 </rng:optional>
1724 </rng:define>
1725 <rng:define name="common-draw-rel-size-attlist">
1726 <rng:ref name="common-draw-size-attlist"/>
1727 <rng:optional>
1728 <rng:attribute name="style:rel-width">
1729 <rng:choice>
1730 <rng:ref name="percent"/>
1731 <rng:value>scale</rng:value>
1732 <rng:value>scale-min</rng:value>
1733 </rng:choice>
1734 </rng:attribute>
1735 </rng:optional>
1736 <rng:optional>
1737 <rng:attribute name="style:rel-height">
1738 <rng:choice>
1739 <rng:ref name="percent"/>
1740 <rng:value>scale</rng:value>
1741 <rng:value>scale-min</rng:value>
1742 </rng:choice>
1743 </rng:attribute>
1744 </rng:optional>
1745 </rng:define>
1746 <rng:define name="common-draw-shape-with-styles-attlist">
1747 <rng:ref name="common-draw-z-index-attlist"/>
1748 <rng:ref name="common-draw-id-attlist"/>
1749 <rng:ref name="common-draw-layer-name-attlist"/>
1750 <rng:ref name="common-draw-style-name-attlist"/>
1751 <rng:ref name="common-draw-transform-attlist"/>
1752 <rng:ref name="common-draw-name-attlist"/>
1753 <rng:ref name="common-text-spreadsheet-shape-attlist"/>
1754 </rng:define>
1755 <rng:define name="common-draw-shape-with-text-and-styles-attlist">
1756 <rng:ref name="common-draw-shape-with-styles-attlist"/>
1757 <rng:ref name="common-draw-text-style-name-attlist"/>
1758 </rng:define>
1759 <rng:define name="common-draw-size-attlist">
1760 <rng:optional>
1761 <rng:attribute name="svg:width">
1762 <rng:ref name="length"/>
1763 </rng:attribute>
1764 </rng:optional>
1765 <rng:optional>
1766 <rng:attribute name="svg:height">
1767 <rng:ref name="length"/>
1768 </rng:attribute>
1769 </rng:optional>
1770 </rng:define>
1771 <rng:define name="common-draw-style-name-attlist">
1772 <rng:choice>
1773 <rng:group>
1774 <rng:optional>
1775 <rng:attribute name="draw:style-name">
1776 <rng:ref name="styleNameRef"/>
1777 </rng:attribute>
1778 </rng:optional>
1779 <rng:optional>
1780 <rng:attribute name="draw:class-names">
1781 <rng:ref name="styleNameRefs"/>
1782 </rng:attribute>
1783 </rng:optional>
1784 </rng:group>
1785 <rng:group>
1786 <rng:optional>
1787 <rng:attribute name="presentation:style-name">
1788 <rng:ref name="styleNameRef"/>
1789 </rng:attribute>
1790 </rng:optional>
1791 <rng:optional>
1792 <rng:attribute name="presentation:class-names">
1793 <rng:ref name="styleNameRefs"/>
1794 </rng:attribute>
1795 </rng:optional>
1796 </rng:group>
1797 </rng:choice>
1798 </rng:define>
1799 <rng:define name="common-draw-text-style-name-attlist">
1800 <rng:optional>
1801 <rng:attribute name="draw:text-style-name">
1802 <rng:ref name="styleNameRef"/>
1803 </rng:attribute>
1804 </rng:optional>
1805 </rng:define>
1806 <rng:define name="common-draw-transform-attlist">
1807 <rng:optional>
1808 <rng:attribute name="draw:transform">
1809 <rng:ref name="string"/>
1810 </rng:attribute>
1811 </rng:optional>
1812 </rng:define>
1813 <rng:define name="common-draw-viewbox-attlist">
1814 <rng:attribute name="svg:viewBox">
1815 <rng:list>
1816 <rng:ref name="integer"/>
1817 <rng:ref name="integer"/>
1818 <rng:ref name="integer"/>
1819 <rng:ref name="integer"/>
1820 </rng:list>
1821 </rng:attribute>
1822 </rng:define>
1823 <rng:define name="common-draw-z-index-attlist">
1824 <rng:optional>
1825 <rng:attribute name="draw:z-index">
1826 <rng:ref name="nonNegativeInteger"/>
1827 </rng:attribute>
1828 </rng:optional>
1829 </rng:define>
1830 <rng:define name="common-dur-timing-attlist">
1831 <rng:optional>
1832 <rng:attribute name="smil:dur">
1833 <rng:ref name="string"/>
1834 </rng:attribute>
1835 </rng:optional>
1836 </rng:define>
1837 <rng:define name="common-editable-attlist">
1838 <rng:optional>
1839 <rng:attribute name="style:editable">
1840 <rng:ref name="boolean"/>
1841 </rng:attribute>
1842 </rng:optional>
1843 </rng:define>
1844 <rng:define name="common-endsync-timing-attlist">
1845 <rng:optional>
1846 <rng:attribute name="smil:endsync">
1847 <rng:choice>
1848 <rng:value>first</rng:value>
1849 <rng:value>last</rng:value>
1850 <rng:value>all</rng:value>
1851 <rng:value>media</rng:value>
1852 <rng:ref name="IDREF"/>
1853 </rng:choice>
1854 </rng:attribute>
1855 </rng:optional>
1856 </rng:define>
1857 <rng:define name="common-field-data-style-name-attlist">
1858 <rng:optional>
1859 <rng:attribute name="style:data-style-name">
1860 <rng:ref name="styleNameRef"/>
1861 </rng:attribute>
1862 </rng:optional>
1863 </rng:define>
1864 <rng:define name="common-field-database-name">
1865 <rng:choice>
1866 <rng:optional>
1867 <rng:attribute name="text:database-name">
1868 <rng:ref name="string"/>
1869 </rng:attribute>
1870 </rng:optional>
1871 <rng:ref name="form-connection-resource"/>
1872 </rng:choice>
1873 </rng:define>
1874 <rng:define name="common-field-database-table">
1875 <rng:ref name="common-field-database-table-attlist"/>
1876 <rng:ref name="common-field-database-name"/>
1877 </rng:define>
1878 <rng:define name="common-field-database-table-attlist">
1879 <rng:interleave>
1880 <rng:attribute name="text:table-name">
1881 <rng:ref name="string"/>
1882 </rng:attribute>
1883 <rng:optional>
1884 <rng:attribute name="text:table-type">
1885 <rng:choice>
1886 <rng:value>table</rng:value>
1887 <rng:value>query</rng:value>
1888 <rng:value>command</rng:value>
1889 </rng:choice>
1890 </rng:attribute>
1891 </rng:optional>
1892 </rng:interleave>
1893 </rng:define>
1894 <rng:define name="common-field-description-attlist">
1895 <rng:optional>
1896 <rng:attribute name="text:description">
1897 <rng:ref name="string"/>
1898 </rng:attribute>
1899 </rng:optional>
1900 </rng:define>
1901 <rng:define name="common-field-display-value-formula-attlist">
1902 <rng:optional>
1903 <rng:attribute name="text:display">
1904 <rng:choice>
1905 <rng:value>value</rng:value>
1906 <rng:value>formula</rng:value>
1907 </rng:choice>
1908 </rng:attribute>
1909 </rng:optional>
1910 </rng:define>
1911 <rng:define name="common-field-display-value-formula-none-attlist">
1912 <rng:optional>
1913 <rng:attribute name="text:display">
1914 <rng:choice>
1915 <rng:value>value</rng:value>
1916 <rng:value>formula</rng:value>
1917 <rng:value>none</rng:value>
1918 </rng:choice>
1919 </rng:attribute>
1920 </rng:optional>
1921 </rng:define>
1922 <rng:define name="common-field-display-value-none-attlist">
1923 <rng:optional>
1924 <rng:attribute name="text:display">
1925 <rng:choice>
1926 <rng:value>value</rng:value>
1927 <rng:value>none</rng:value>
1928 </rng:choice>
1929 </rng:attribute>
1930 </rng:optional>
1931 </rng:define>
1932 <rng:define name="common-field-fixed-attlist">
1933 <rng:optional>
1934 <rng:attribute name="text:fixed">
1935 <rng:ref name="boolean"/>
1936 </rng:attribute>
1937 </rng:optional>
1938 </rng:define>
1939 <rng:define name="common-field-formula-attlist">
1940 <rng:optional>
1941 <rng:attribute name="text:formula">
1942 <rng:ref name="string"/>
1943 </rng:attribute>
1944 </rng:optional>
1945 </rng:define>
1946 <rng:define name="common-field-name-attlist">
1947 <rng:attribute name="text:name">
1948 <rng:ref name="variableName"/>
1949 </rng:attribute>
1950 </rng:define>
1951 <rng:define name="common-field-num-format-attlist">
1952 <rng:optional>
1953 <rng:ref name="common-num-format-attlist"/>
1954 </rng:optional>
1955 </rng:define>
1956 <rng:define name="common-fill-default-attlist">
1957 <rng:optional>
1958 <rng:attribute name="smil:fillDefault">
1959 <rng:choice>
1960 <rng:value>remove</rng:value>
1961 <rng:value>freeze</rng:value>
1962 <rng:value>hold</rng:value>
1963 <rng:value>transition</rng:value>
1964 <rng:value>auto</rng:value>
1965 <rng:value>inherit</rng:value>
1966 </rng:choice>
1967 </rng:attribute>
1968 </rng:optional>
1969 </rng:define>
1970 <rng:define name="common-fill-timing-attlist">
1971 <rng:optional>
1972 <rng:attribute name="smil:fill">
1973 <rng:choice>
1974 <rng:value>remove</rng:value>
1975 <rng:value>freeze</rng:value>
1976 <rng:value>hold</rng:value>
1977 <rng:value>auto</rng:value>
1978 <rng:value>default</rng:value>
1979 <rng:value>transition</rng:value>
1980 </rng:choice>
1981 </rng:attribute>
1982 </rng:optional>
1983 </rng:define>
1984 <rng:define name="common-form-control-attlist">
1985 <rng:interleave>
1986 <rng:optional>
1987 <rng:attribute name="form:name">
1988 <rng:ref name="string"/>
1989 </rng:attribute>
1990 </rng:optional>
1991 <rng:optional>
1992 <rng:attribute name="form:control-implementation">
1993 <rng:ref name="namespacedToken"/>
1994 </rng:attribute>
1995 </rng:optional>
1996 </rng:interleave>
1997 </rng:define>
1998 <rng:define name="common-form-control-content">
1999 <rng:optional>
2000 <rng:ref name="form-properties"/>
2001 </rng:optional>
2002 <rng:optional>
2003 <rng:ref name="office-event-listeners"/>
2004 </rng:optional>
2005 </rng:define>
2006 <rng:define name="common-form-relative-image-position-attlist">
2007 <rng:choice>
2008 <rng:optional>
2009 <rng:attribute name="form:image-position">
2010 <rng:value>center</rng:value>
2011 </rng:attribute>
2012 </rng:optional>
2013 <rng:group>
2014 <rng:attribute name="form:image-position">
2015 <rng:choice>
2016 <rng:value>start</rng:value>
2017 <rng:value>end</rng:value>
2018 <rng:value>top</rng:value>
2019 <rng:value>bottom</rng:value>
2020 </rng:choice>
2021 </rng:attribute>
2022 <rng:optional>
2023 <rng:attribute name="form:image-align">
2024 <rng:choice>
2025 <rng:value>start</rng:value>
2026 <rng:value>center</rng:value>
2027 <rng:value>end</rng:value>
2028 </rng:choice>
2029 </rng:attribute>
2030 </rng:optional>
2031 </rng:group>
2032 </rng:choice>
2033 </rng:define>
2034 <rng:define name="common-form-visual-effect-attlist">
2035 <rng:optional>
2036 <rng:attribute name="form:visual-effect">
2037 <rng:choice>
2038 <rng:value>flat</rng:value>
2039 <rng:value>3d</rng:value>
2040 </rng:choice>
2041 </rng:attribute>
2042 </rng:optional>
2043 </rng:define>
2044 <rng:define name="common-format-source-attlist">
2045 <rng:optional>
2046 <rng:attribute name="number:format-source">
2047 <rng:choice>
2048 <rng:value>fixed</rng:value>
2049 <rng:value>language</rng:value>
2050 </rng:choice>
2051 </rng:attribute>
2052 </rng:optional>
2053 </rng:define>
2054 <rng:define name="common-horizontal-margin-attlist">
2055 <rng:optional>
2056 <rng:attribute name="fo:margin-left">
2057 <rng:choice>
2058 <rng:ref name="length"/>
2059 <rng:ref name="percent"/>
2060 </rng:choice>
2061 </rng:attribute>
2062 </rng:optional>
2063 <rng:optional>
2064 <rng:attribute name="fo:margin-right">
2065 <rng:choice>
2066 <rng:ref name="length"/>
2067 <rng:ref name="percent"/>
2068 </rng:choice>
2069 </rng:attribute>
2070 </rng:optional>
2071 </rng:define>
2072 <rng:define name="common-in-content-meta-attlist">
2073 <rng:attribute name="xhtml:about">
2074 <rng:ref name="URIorSafeCURIE"/>
2075 </rng:attribute>
2076 <rng:attribute name="xhtml:property">
2077 <rng:ref name="CURIEs"/>
2078 </rng:attribute>
2079 <rng:ref name="common-meta-literal-attlist"/>
2080 </rng:define>
2081 <rng:define name="common-keep-with-next-attlist">
2082 <rng:optional>
2083 <rng:attribute name="fo:keep-with-next">
2084 <rng:choice>
2085 <rng:value>auto</rng:value>
2086 <rng:value>always</rng:value>
2087 </rng:choice>
2088 </rng:attribute>
2089 </rng:optional>
2090 </rng:define>
2091 <rng:define name="common-linked-cell">
2092 <rng:optional>
2093 <rng:attribute name="form:linked-cell">
2094 <rng:choice>
2095 <rng:ref name="cellAddress"/>
2096 <rng:ref name="string"/>
2097 </rng:choice>
2098 </rng:attribute>
2099 </rng:optional>
2100 </rng:define>
2101 <rng:define name="common-margin-attlist">
2102 <rng:optional>
2103 <rng:attribute name="fo:margin">
2104 <rng:choice>
2105 <rng:ref name="nonNegativeLength"/>
2106 <rng:ref name="percent"/>
2107 </rng:choice>
2108 </rng:attribute>
2109 </rng:optional>
2110 </rng:define>
2111 <rng:define name="common-maxlength-attlist">
2112 <rng:optional>
2113 <rng:attribute name="form:max-length">
2114 <rng:ref name="nonNegativeInteger"/>
2115 </rng:attribute>
2116 </rng:optional>
2117 </rng:define>
2118 <rng:define name="common-meta-literal-attlist">
2119 <rng:optional>
2120 <rng:attribute name="xhtml:datatype">
2121 <rng:ref name="CURIE"/>
2122 </rng:attribute>
2123 </rng:optional>
2124 <rng:optional>
2125 <rng:attribute name="xhtml:content">
2126 <rng:ref name="string"/>
2127 </rng:attribute>
2128 </rng:optional>
2129 </rng:define>
2130 <rng:define name="common-num-format-attlist">
2131 <rng:choice>
2132 <rng:attribute name="style:num-format">
2133 <rng:choice>
2134 <rng:value>1</rng:value>
2135 <rng:value>i</rng:value>
2136 <rng:value>I</rng:value>
2137 <rng:ref name="string"/>
2138 <rng:empty/>
2139 </rng:choice>
2140 </rng:attribute>
2141 <rng:group>
2142 <rng:attribute name="style:num-format">
2143 <rng:choice>
2144 <rng:value>a</rng:value>
2145 <rng:value>A</rng:value>
2146 </rng:choice>
2147 </rng:attribute>
2148 <rng:ref name="style-num-letter-sync-attlist"/>
2149 </rng:group>
2150 <rng:empty/>
2151 </rng:choice>
2152 </rng:define>
2153 <rng:define name="common-num-format-prefix-suffix-attlist">
2154 <rng:optional>
2155 <rng:attribute name="style:num-prefix">
2156 <rng:ref name="string"/>
2157 </rng:attribute>
2158 </rng:optional>
2159 <rng:optional>
2160 <rng:attribute name="style:num-suffix">
2161 <rng:ref name="string"/>
2162 </rng:attribute>
2163 </rng:optional>
2164 </rng:define>
2165 <rng:define name="common-number-attlist">
2166 <rng:interleave>
2167 <rng:optional>
2168 <rng:attribute name="number:min-integer-digits">
2169 <rng:ref name="integer"/>
2170 </rng:attribute>
2171 </rng:optional>
2172 <rng:optional>
2173 <rng:attribute name="number:grouping">
2174 <rng:ref name="boolean"/>
2175 </rng:attribute>
2176 </rng:optional>
2177 </rng:interleave>
2178 </rng:define>
2179 <rng:define name="common-numeric-control-attlist">
2180 <rng:ref name="form-control-attlist"/>
2181 <rng:ref name="common-disabled-attlist"/>
2182 <rng:ref name="common-maxlength-attlist"/>
2183 <rng:ref name="common-printable-attlist"/>
2184 <rng:ref name="common-readonly-attlist"/>
2185 <rng:ref name="common-tab-attlist"/>
2186 <rng:ref name="common-title-attlist"/>
2187 <rng:ref name="common-convert-empty-attlist"/>
2188 <rng:ref name="common-data-field-attlist"/>
2189 </rng:define>
2190 <rng:define name="common-office-annotation-name-attlist">
2191 <rng:attribute name="office:name">
2192 <rng:ref name="string"/>
2193 </rng:attribute>
2194 </rng:define>
2195 <rng:define name="common-padding-attlist">
2196 <rng:optional>
2197 <rng:attribute name="fo:padding">
2198 <rng:ref name="nonNegativeLength"/>
2199 </rng:attribute>
2200 </rng:optional>
2201 <rng:optional>
2202 <rng:attribute name="fo:padding-top">
2203 <rng:ref name="nonNegativeLength"/>
2204 </rng:attribute>
2205 </rng:optional>
2206 <rng:optional>
2207 <rng:attribute name="fo:padding-bottom">
2208 <rng:ref name="nonNegativeLength"/>
2209 </rng:attribute>
2210 </rng:optional>
2211 <rng:optional>
2212 <rng:attribute name="fo:padding-left">
2213 <rng:ref name="nonNegativeLength"/>
2214 </rng:attribute>
2215 </rng:optional>
2216 <rng:optional>
2217 <rng:attribute name="fo:padding-right">
2218 <rng:ref name="nonNegativeLength"/>
2219 </rng:attribute>
2220 </rng:optional>
2221 </rng:define>
2222 <rng:define name="common-page-number-attlist">
2223 <rng:optional>
2224 <rng:attribute name="style:page-number">
2225 <rng:choice>
2226 <rng:ref name="nonNegativeInteger"/>
2227 <rng:value>auto</rng:value>
2228 </rng:choice>
2229 <!-- https://issues.oasis-open.org/browse/OFFICE-3923 -->
2230 </rng:attribute>
2231 </rng:optional>
2232 </rng:define>
2233 <rng:define name="common-presentation-effect-attlist">
2234 <rng:interleave>
2235 <rng:attribute name="draw:shape-id">
2236 <rng:ref name="IDREF"/>
2237 </rng:attribute>
2238 <rng:optional>
2239 <rng:attribute name="presentation:effect">
2240 <rng:ref name="presentationEffects"/>
2241 </rng:attribute>
2242 </rng:optional>
2243 <rng:optional>
2244 <rng:attribute name="presentation:direction">
2245 <rng:ref name="presentationEffectDirections"/>
2246 </rng:attribute>
2247 </rng:optional>
2248 <rng:optional>
2249 <rng:attribute name="presentation:speed">
2250 <rng:ref name="presentationSpeeds"/>
2251 </rng:attribute>
2252 </rng:optional>
2253 <rng:optional>
2254 <rng:attribute name="presentation:delay">
2255 <rng:ref name="duration"/>
2256 </rng:attribute>
2257 </rng:optional>
2258 <rng:optional>
2259 <rng:attribute name="presentation:start-scale">
2260 <rng:ref name="percent"/>
2261 </rng:attribute>
2262 </rng:optional>
2263 <rng:optional>
2264 <rng:attribute name="presentation:path-id">
2265 <rng:ref name="string"/>
2266 </rng:attribute>
2267 </rng:optional>
2268 </rng:interleave>
2269 </rng:define>
2270 <rng:define name="common-presentation-header-footer-attlist">
2271 <rng:interleave>
2272 <rng:optional>
2273 <rng:attribute name="presentation:use-header-name">
2274 <rng:ref name="string"/>
2275 </rng:attribute>
2276 </rng:optional>
2277 <rng:optional>
2278 <rng:attribute name="presentation:use-footer-name">
2279 <rng:ref name="string"/>
2280 </rng:attribute>
2281 </rng:optional>
2282 <rng:optional>
2283 <rng:attribute name="presentation:use-date-time-name">
2284 <rng:ref name="string"/>
2285 </rng:attribute>
2286 </rng:optional>
2287 </rng:interleave>
2288 </rng:define>
2289 <rng:define name="common-printable-attlist">
2290 <rng:optional>
2291 <rng:attribute name="form:printable">
2292 <rng:ref name="boolean"/>
2293 </rng:attribute>
2294 </rng:optional>
2295 </rng:define>
2296 <rng:define name="common-readonly-attlist">
2297 <rng:optional>
2298 <rng:attribute name="form:readonly">
2299 <rng:ref name="boolean"/>
2300 </rng:attribute>
2301 </rng:optional>
2302 </rng:define>
2303 <rng:define name="common-ref-format-values">
2304 <rng:choice>
2305 <rng:value>page</rng:value>
2306 <rng:value>chapter</rng:value>
2307 <rng:value>direction</rng:value>
2308 <rng:value>text</rng:value>
2309 </rng:choice>
2310 </rng:define>
2311 <rng:define name="common-repeat">
2312 <rng:optional>
2313 <rng:attribute name="form:repeat">
2314 <rng:ref name="boolean"/>
2315 </rng:attribute>
2316 </rng:optional>
2317 </rng:define>
2318 <rng:define name="common-repeat-timing-attlist">
2319 <rng:optional>
2320 <rng:attribute name="smil:repeatDur">
2321 <rng:ref name="string"/>
2322 </rng:attribute>
2323 </rng:optional>
2324 <rng:optional>
2325 <rng:attribute name="smil:repeatCount">
2326 <rng:choice>
2327 <rng:ref name="nonNegativeDecimal"/>
2328 <rng:value>indefinite</rng:value>
2329 </rng:choice>
2330 </rng:attribute>
2331 </rng:optional>
2332 </rng:define>
2333 <rng:define name="common-restart-default-attlist">
2334 <rng:optional>
2335 <rng:attribute name="smil:restartDefault">
2336 <rng:choice>
2337 <rng:value>never</rng:value>
2338 <rng:value>always</rng:value>
2339 <rng:value>whenNotActive</rng:value>
2340 <rng:value>inherit</rng:value>
2341 </rng:choice>
2342 </rng:attribute>
2343 </rng:optional>
2344 </rng:define>
2345 <rng:define name="common-restart-timing-attlist">
2346 <rng:optional>
2347 <rng:attribute name="smil:restart">
2348 <rng:choice>
2349 <rng:value>never</rng:value>
2350 <rng:value>always</rng:value>
2351 <rng:value>whenNotActive</rng:value>
2352 <rng:value>default</rng:value>
2353 </rng:choice>
2354 </rng:attribute>
2355 </rng:optional>
2356 </rng:define>
2357 <rng:define name="common-rotation-angle-attlist">
2358 <rng:optional>
2359 <rng:attribute name="style:rotation-angle">
2360 <rng:ref name="angle"/>
2361 </rng:attribute>
2362 </rng:optional>
2363 </rng:define>
2364 <rng:define name="common-section-attlist">
2365 <rng:interleave>
2366 <rng:optional>
2367 <rng:attribute name="text:style-name">
2368 <rng:ref name="styleNameRef"/>
2369 </rng:attribute>
2370 </rng:optional>
2371 <rng:attribute name="text:name">
2372 <rng:ref name="string"/>
2373 </rng:attribute>
2374 <rng:optional>
2375 <rng:attribute name="text:protected">
2376 <rng:ref name="boolean"/>
2377 </rng:attribute>
2378 </rng:optional>
2379 <rng:optional>
2380 <rng:attribute name="text:protection-key">
2381 <rng:ref name="string"/>
2382 </rng:attribute>
2383 </rng:optional>
2384 <rng:optional>
2385 <rng:attribute name="text:protection-key-digest-algorithm">
2386 <rng:ref name="anyIRI"/>
2387 </rng:attribute>
2388 </rng:optional>
2389 <rng:optional>
2390 <rng:ref name="xml-id"/>
2391 </rng:optional>
2392 </rng:interleave>
2393 </rng:define>
2394 <rng:define name="common-shadow-attlist">
2395 <rng:optional>
2396 <rng:attribute name="style:shadow">
2397 <rng:ref name="shadowType"/>
2398 </rng:attribute>
2399 </rng:optional>
2400 </rng:define>
2401 <rng:define name="common-source-cell-range">
2402 <rng:optional>
2403 <rng:attribute name="form:source-cell-range">
2404 <rng:choice>
2405 <rng:ref name="cellRangeAddress"/>
2406 <rng:ref name="string"/>
2407 </rng:choice>
2408 </rng:attribute>
2409 </rng:optional>
2410 </rng:define>
2411 <rng:define name="common-spin-button">
2412 <rng:optional>
2413 <rng:attribute name="form:spin-button">
2414 <rng:ref name="boolean"/>
2415 </rng:attribute>
2416 </rng:optional>
2417 </rng:define>
2418 <rng:define name="common-spline-anim-value-attlist">
2419 <rng:interleave>
2420 <rng:optional>
2421 <rng:attribute name="smil:keyTimes">
2422 <rng:ref name="string"/>
2423 </rng:attribute>
2424 </rng:optional>
2425 <rng:optional>
2426 <rng:attribute name="smil:keySplines">
2427 <rng:ref name="string"/>
2428 </rng:attribute>
2429 </rng:optional>
2430 </rng:interleave>
2431 </rng:define>
2432 <rng:define name="common-stock-marker-attlist">
2433 <rng:optional>
2434 <rng:attribute name="chart:style-name">
2435 <rng:ref name="styleNameRef"/>
2436 </rng:attribute>
2437 </rng:optional>
2438 </rng:define>
2439 <rng:define name="common-style-direction-attlist">
2440 <rng:optional>
2441 <rng:attribute name="style:direction">
2442 <rng:choice>
2443 <rng:value>ltr</rng:value>
2444 <rng:value>ttb</rng:value>
2445 </rng:choice>
2446 </rng:attribute>
2447 </rng:optional>
2448 </rng:define>
2449 <rng:define name="common-style-header-footer-attlist">
2450 <rng:optional>
2451 <rng:attribute name="style:display">
2452 <rng:ref name="boolean"/>
2453 </rng:attribute>
2454 </rng:optional>
2455 </rng:define>
2456 <rng:define name="common-svg-font-face-xlink-attlist">
2457 <rng:attribute name="xlink:type">
2458 <rng:value>simple</rng:value>
2459 </rng:attribute>
2460 <rng:attribute name="xlink:href">
2461 <rng:ref name="anyIRI"/>
2462 </rng:attribute>
2463 <rng:optional>
2464 <rng:attribute name="xlink:actuate">
2465 <rng:value>onRequest</rng:value>
2466 </rng:attribute>
2467 </rng:optional>
2468 </rng:define>
2469 <rng:define name="common-svg-gradient-attlist">
2470 <rng:interleave>
2471 <rng:optional>
2472 <rng:attribute name="svg:gradientUnits">
2473 <rng:value>objectBoundingBox</rng:value>
2474 </rng:attribute>
2475 </rng:optional>
2476 <rng:optional>
2477 <rng:attribute name="svg:gradientTransform">
2478 <rng:ref name="string"/>
2479 </rng:attribute>
2480 </rng:optional>
2481 <rng:optional>
2482 <rng:attribute name="svg:spreadMethod">
2483 <rng:choice>
2484 <rng:value>pad</rng:value>
2485 <rng:value>reflect</rng:value>
2486 <rng:value>repeat</rng:value>
2487 </rng:choice>
2488 </rng:attribute>
2489 </rng:optional>
2490 <rng:attribute name="draw:name">
2491 <rng:ref name="styleName"/>
2492 </rng:attribute>
2493 <rng:optional>
2494 <rng:attribute name="draw:display-name">
2495 <rng:ref name="string"/>
2496 </rng:attribute>
2497 </rng:optional>
2498 </rng:interleave>
2499 </rng:define>
2500 <rng:define name="common-tab-attlist">
2501 <rng:interleave>
2502 <rng:optional>
2503 <rng:attribute name="form:tab-index">
2504 <rng:ref name="nonNegativeInteger"/>
2505 </rng:attribute>
2506 </rng:optional>
2507 <rng:optional>
2508 <rng:attribute name="form:tab-stop">
2509 <rng:ref name="boolean"/>
2510 </rng:attribute>
2511 </rng:optional>
2512 </rng:interleave>
2513 </rng:define>
2514 <rng:define name="common-table-cell-address-attlist">
2515 <rng:attribute name="table:column">
2516 <rng:ref name="integer"/>
2517 </rng:attribute>
2518 <rng:attribute name="table:row">
2519 <rng:ref name="integer"/>
2520 </rng:attribute>
2521 <rng:attribute name="table:table">
2522 <rng:ref name="integer"/>
2523 </rng:attribute>
2524 </rng:define>
2525 <rng:define name="common-table-cell-range-address-attlist">
2526 <rng:attribute name="table:start-column">
2527 <rng:ref name="integer"/>
2528 </rng:attribute>
2529 <rng:attribute name="table:start-row">
2530 <rng:ref name="integer"/>
2531 </rng:attribute>
2532 <rng:attribute name="table:start-table">
2533 <rng:ref name="integer"/>
2534 </rng:attribute>
2535 <rng:attribute name="table:end-column">
2536 <rng:ref name="integer"/>
2537 </rng:attribute>
2538 <rng:attribute name="table:end-row">
2539 <rng:ref name="integer"/>
2540 </rng:attribute>
2541 <rng:attribute name="table:end-table">
2542 <rng:ref name="integer"/>
2543 </rng:attribute>
2544 </rng:define>
2545 <rng:define name="common-table-change-attlist">
2546 <rng:interleave>
2547 <rng:attribute name="table:id">
2548 <rng:ref name="string"/>
2549 </rng:attribute>
2550 <rng:optional>
2551 <rng:attribute name="table:acceptance-state">
2552 <rng:choice>
2553 <rng:value>accepted</rng:value>
2554 <rng:value>rejected</rng:value>
2555 <rng:value>pending</rng:value>
2556 </rng:choice>
2557 </rng:attribute>
2558 </rng:optional>
2559 <rng:optional>
2560 <rng:attribute name="table:rejecting-change-id">
2561 <rng:ref name="string"/>
2562 </rng:attribute>
2563 </rng:optional>
2564 </rng:interleave>
2565 </rng:define>
2566 <rng:define name="common-table-range-attlist">
2567 <rng:choice>
2568 <rng:group>
2569 <rng:ref name="common-table-cell-address-attlist"/>
2570 </rng:group>
2571 <rng:group>
2572 <rng:ref name="common-table-cell-range-address-attlist"/>
2573 </rng:group>
2574 </rng:choice>
2575 </rng:define>
2576 <rng:define name="common-table-template-attlist">
2577 <rng:attribute name="table:style-name">
2578 <rng:ref name="styleNameRef"/>
2579 </rng:attribute>
2580 <rng:optional>
2581 <rng:attribute name="table:paragraph-style-name">
2582 <rng:ref name="styleNameRef"/>
2583 </rng:attribute>
2584 </rng:optional>
2585 </rng:define>
2586 <rng:define name="common-text-align">
2587 <rng:optional>
2588 <rng:attribute name="fo:text-align">
2589 <rng:choice>
2590 <rng:value>start</rng:value>
2591 <rng:value>end</rng:value>
2592 <rng:value>left</rng:value>
2593 <rng:value>right</rng:value>
2594 <rng:value>center</rng:value>
2595 <rng:value>justify</rng:value>
2596 </rng:choice>
2597 </rng:attribute>
2598 </rng:optional>
2599 </rng:define>
2600 <rng:define name="common-text-anchor-attlist">
2601 <rng:interleave>
2602 <rng:optional>
2603 <rng:attribute name="text:anchor-type">
2604 <rng:choice>
2605 <rng:value>page</rng:value>
2606 <rng:value>frame</rng:value>
2607 <rng:value>paragraph</rng:value>
2608 <rng:value>char</rng:value>
2609 <rng:value>as-char</rng:value>
2610 </rng:choice>
2611 </rng:attribute>
2612 </rng:optional>
2613 <rng:optional>
2614 <rng:attribute name="text:anchor-page-number">
2615 <rng:ref name="positiveInteger"/>
2616 </rng:attribute>
2617 </rng:optional>
2618 </rng:interleave>
2619 </rng:define>
2620 <rng:define name="common-text-spreadsheet-shape-attlist">
2621 <rng:interleave>
2622 <rng:optional>
2623 <rng:attribute name="table:end-cell-address">
2624 <rng:ref name="cellAddress"/>
2625 </rng:attribute>
2626 </rng:optional>
2627 <rng:optional>
2628 <rng:attribute name="table:end-x">
2629 <rng:ref name="coordinate"/>
2630 </rng:attribute>
2631 </rng:optional>
2632 <rng:optional>
2633 <rng:attribute name="table:end-y">
2634 <rng:ref name="coordinate"/>
2635 </rng:attribute>
2636 </rng:optional>
2637 <rng:optional>
2638 <rng:attribute name="table:table-background">
2639 <rng:ref name="boolean"/>
2640 </rng:attribute>
2641 </rng:optional>
2642 <rng:ref name="common-text-anchor-attlist"/>
2643 </rng:interleave>
2644 </rng:define>
2645 <rng:define name="common-time-manip-attlist">
2646 <rng:interleave>
2647 <rng:optional>
2648 <rng:attribute name="smil:accelerate">
2649 <rng:ref name="zeroToOneDecimal"/>
2650 </rng:attribute>
2651 </rng:optional>
2652 <rng:optional>
2653 <rng:attribute name="smil:decelerate">
2654 <rng:ref name="zeroToOneDecimal"/>
2655 </rng:attribute>
2656 </rng:optional>
2657 <rng:optional>
2658 <rng:attribute name="smil:autoReverse">
2659 <rng:ref name="boolean"/>
2660 </rng:attribute>
2661 </rng:optional>
2662 </rng:interleave>
2663 </rng:define>
2664 <rng:define name="common-timing-attlist">
2665 <rng:ref name="common-basic-timing-attlist"/>
2666 <rng:ref name="common-time-manip-attlist"/>
2667 </rng:define>
2668 <rng:define name="common-title-attlist">
2669 <rng:optional>
2670 <rng:attribute name="form:title">
2671 <rng:ref name="string"/>
2672 </rng:attribute>
2673 </rng:optional>
2674 </rng:define>
2675 <rng:define name="common-value-and-type-attlist">
2676 <rng:choice>
2677 <rng:group>
2678 <rng:attribute name="office:value-type">
2679 <rng:value>float</rng:value>
2680 </rng:attribute>
2681 <rng:attribute name="office:value">
2682 <rng:ref name="double"/>
2683 </rng:attribute>
2684 </rng:group>
2685 <rng:group>
2686 <rng:attribute name="office:value-type">
2687 <rng:value>percentage</rng:value>
2688 </rng:attribute>
2689 <rng:attribute name="office:value">
2690 <rng:ref name="double"/>
2691 </rng:attribute>
2692 </rng:group>
2693 <rng:group>
2694 <rng:attribute name="office:value-type">
2695 <rng:value>currency</rng:value>
2696 </rng:attribute>
2697 <rng:attribute name="office:value">
2698 <rng:ref name="double"/>
2699 </rng:attribute>
2700 <rng:optional>
2701 <rng:attribute name="office:currency">
2702 <rng:ref name="string"/>
2703 </rng:attribute>
2704 </rng:optional>
2705 </rng:group>
2706 <rng:group>
2707 <rng:attribute name="office:value-type">
2708 <rng:value>date</rng:value>
2709 </rng:attribute>
2710 <rng:attribute name="office:date-value">
2711 <rng:ref name="dateOrDateTime"/>
2712 </rng:attribute>
2713 </rng:group>
2714 <rng:group>
2715 <rng:attribute name="office:value-type">
2716 <rng:value>time</rng:value>
2717 </rng:attribute>
2718 <rng:attribute name="office:time-value">
2719 <rng:ref name="duration"/>
2720 </rng:attribute>
2721 </rng:group>
2722 <rng:group>
2723 <rng:attribute name="office:value-type">
2724 <rng:value>boolean</rng:value>
2725 </rng:attribute>
2726 <rng:attribute name="office:boolean-value">
2727 <rng:ref name="boolean"/>
2728 </rng:attribute>
2729 </rng:group>
2730 <rng:group>
2731 <rng:attribute name="office:value-type">
2732 <rng:value>string</rng:value>
2733 </rng:attribute>
2734 <rng:optional>
2735 <rng:attribute name="office:string-value">
2736 <rng:ref name="string"/>
2737 </rng:attribute>
2738 </rng:optional>
2739 </rng:group>
2740 </rng:choice>
2741 </rng:define>
2742 <rng:define name="common-value-attlist">
2743 <rng:optional>
2744 <rng:attribute name="form:value">
2745 <rng:ref name="string"/>
2746 </rng:attribute>
2747 </rng:optional>
2748 </rng:define>
2749 <rng:define name="common-value-type-attlist">
2750 <rng:attribute name="office:value-type">
2751 <rng:ref name="valueType"/>
2752 </rng:attribute>
2753 </rng:define>
2754 <rng:define name="common-vertical-margin-attlist">
2755 <rng:optional>
2756 <rng:attribute name="fo:margin-top">
2757 <rng:choice>
2758 <rng:ref name="nonNegativeLength"/>
2759 <rng:ref name="percent"/>
2760 </rng:choice>
2761 </rng:attribute>
2762 </rng:optional>
2763 <rng:optional>
2764 <rng:attribute name="fo:margin-bottom">
2765 <rng:choice>
2766 <rng:ref name="nonNegativeLength"/>
2767 <rng:ref name="percent"/>
2768 </rng:choice>
2769 </rng:attribute>
2770 </rng:optional>
2771 </rng:define>
2772 <rng:define name="common-vertical-pos-attlist">
2773 <rng:optional>
2774 <rng:attribute name="style:vertical-pos">
2775 <rng:choice>
2776 <rng:value>top</rng:value>
2777 <rng:value>middle</rng:value>
2778 <rng:value>bottom</rng:value>
2779 <rng:value>from-top</rng:value>
2780 <rng:value>below</rng:value>
2781 </rng:choice>
2782 </rng:attribute>
2783 </rng:optional>
2784 <rng:optional>
2785 <rng:attribute name="svg:y">
2786 <rng:ref name="coordinate"/>
2787 </rng:attribute>
2788 </rng:optional>
2789 </rng:define>
2790 <rng:define name="common-vertical-rel-attlist">
2791 <rng:optional>
2792 <rng:attribute name="style:vertical-rel">
2793 <rng:choice>
2794 <rng:value>page</rng:value>
2795 <rng:value>page-content</rng:value>
2796 <rng:value>frame</rng:value>
2797 <rng:value>frame-content</rng:value>
2798 <rng:value>paragraph</rng:value>
2799 <rng:value>paragraph-content</rng:value>
2800 <rng:value>char</rng:value>
2801 <rng:value>line</rng:value>
2802 <rng:value>baseline</rng:value>
2803 <rng:value>text</rng:value>
2804 </rng:choice>
2805 </rng:attribute>
2806 </rng:optional>
2807 </rng:define>
2808 <rng:define name="common-writing-mode-attlist">
2809 <rng:optional>
2810 <rng:attribute name="style:writing-mode">
2811 <rng:choice>
2812 <rng:value>lr-tb</rng:value>
2813 <rng:value>rl-tb</rng:value>
2814 <rng:value>tb-rl</rng:value>
2815 <rng:value>tb-lr</rng:value>
2816 <rng:value>lr</rng:value>
2817 <rng:value>rl</rng:value>
2818 <rng:value>tb</rng:value>
2819 <rng:value>page</rng:value>
2820 </rng:choice>
2821 </rng:attribute>
2822 </rng:optional>
2823 </rng:define>
2824 <rng:define name="config-config-item">
2825 <rng:element name="config:config-item">
2826 <rng:ref name="config-config-item-attlist"/>
2827 <rng:text/>
2828 </rng:element>
2829 </rng:define>
2830 <rng:define name="config-config-item-attlist">
2831 <rng:interleave>
2832 <rng:attribute name="config:name">
2833 <rng:ref name="string"/>
2834 </rng:attribute>
2835 <rng:attribute name="config:type">
2836 <rng:choice>
2837 <rng:value>boolean</rng:value>
2838 <rng:value>short</rng:value>
2839 <rng:value>int</rng:value>
2840 <rng:value>long</rng:value>
2841 <rng:value>double</rng:value>
2842 <rng:value>string</rng:value>
2843 <rng:value>datetime</rng:value>
2844 <rng:value>base64Binary</rng:value>
2845 </rng:choice>
2846 </rng:attribute>
2847 </rng:interleave>
2848 </rng:define>
2849 <rng:define name="config-config-item-map-entry">
2850 <rng:element name="config:config-item-map-entry">
2851 <rng:ref name="config-config-item-map-entry-attlist"/>
2852 <rng:ref name="config-items"/>
2853 </rng:element>
2854 </rng:define>
2855 <rng:define name="config-config-item-map-entry-attlist">
2856 <rng:optional>
2857 <rng:attribute name="config:name">
2858 <rng:ref name="string"/>
2859 </rng:attribute>
2860 </rng:optional>
2861 </rng:define>
2862 <rng:define name="config-config-item-map-indexed">
2863 <rng:element name="config:config-item-map-indexed">
2864 <rng:ref name="config-config-item-map-indexed-attlist"/>
2865 <rng:oneOrMore>
2866 <rng:ref name="config-config-item-map-entry"/>
2867 </rng:oneOrMore>
2868 </rng:element>
2869 </rng:define>
2870 <rng:define name="config-config-item-map-indexed-attlist">
2871 <rng:attribute name="config:name">
2872 <rng:ref name="string"/>
2873 </rng:attribute>
2874 </rng:define>
2875 <rng:define name="config-config-item-map-named">
2876 <rng:element name="config:config-item-map-named">
2877 <rng:ref name="config-config-item-map-named-attlist"/>
2878 <rng:oneOrMore>
2879 <rng:ref name="config-config-item-map-entry"/>
2880 </rng:oneOrMore>
2881 </rng:element>
2882 </rng:define>
2883 <rng:define name="config-config-item-map-named-attlist">
2884 <rng:attribute name="config:name">
2885 <rng:ref name="string"/>
2886 </rng:attribute>
2887 </rng:define>
2888 <rng:define name="config-config-item-set">
2889 <rng:element name="config:config-item-set">
2890 <rng:ref name="config-config-item-set-attlist"/>
2891 <rng:ref name="config-items"/>
2892 </rng:element>
2893 </rng:define>
2894 <rng:define name="config-config-item-set-attlist">
2895 <rng:attribute name="config:name">
2896 <rng:ref name="string"/>
2897 </rng:attribute>
2898 </rng:define>
2899 <rng:define name="config-items">
2900 <rng:oneOrMore>
2901 <rng:choice>
2902 <rng:ref name="config-config-item"/>
2903 <rng:ref name="config-config-item-set"/>
2904 <rng:ref name="config-config-item-map-named"/>
2905 <rng:ref name="config-config-item-map-indexed"/>
2906 </rng:choice>
2907 </rng:oneOrMore>
2908 </rng:define>
2909 <rng:define name="controls">
2910 <rng:choice>
2911 <rng:ref name="column-controls"/>
2912 <rng:element name="form:password">
2913 <rng:ref name="form-password-attlist"/>
2914 <rng:ref name="common-form-control-content"/>
2915 </rng:element>
2916 <rng:element name="form:file">
2917 <rng:ref name="form-file-attlist"/>
2918 <rng:ref name="common-form-control-content"/>
2919 </rng:element>
2920 <rng:element name="form:fixed-text">
2921 <rng:ref name="form-fixed-text-attlist"/>
2922 <rng:ref name="common-form-control-content"/>
2923 </rng:element>
2924 <rng:element name="form:button">
2925 <rng:ref name="form-button-attlist"/>
2926 <rng:ref name="common-form-control-content"/>
2927 </rng:element>
2928 <rng:element name="form:image">
2929 <rng:ref name="form-image-attlist"/>
2930 <rng:ref name="common-form-control-content"/>
2931 </rng:element>
2932 <rng:element name="form:radio">
2933 <rng:ref name="form-radio-attlist"/>
2934 <rng:ref name="common-form-control-content"/>
2935 </rng:element>
2936 <rng:element name="form:frame">
2937 <rng:ref name="form-frame-attlist"/>
2938 <rng:ref name="common-form-control-content"/>
2939 </rng:element>
2940 <rng:element name="form:image-frame">
2941 <rng:ref name="form-image-frame-attlist"/>
2942 <rng:ref name="common-form-control-content"/>
2943 </rng:element>
2944 <rng:element name="form:hidden">
2945 <rng:ref name="form-hidden-attlist"/>
2946 <rng:ref name="common-form-control-content"/>
2947 </rng:element>
2948 <rng:element name="form:grid">
2949 <rng:ref name="form-grid-attlist"/>
2950 <rng:ref name="common-form-control-content"/>
2951 <rng:zeroOrMore>
2952 <rng:ref name="form-column"/>
2953 </rng:zeroOrMore>
2954 </rng:element>
2955 <rng:element name="form:value-range">
2956 <rng:ref name="form-value-range-attlist"/>
2957 <rng:ref name="common-form-control-content"/>
2958 </rng:element>
2959 <rng:element name="form:generic-control">
2960 <rng:ref name="form-generic-control-attlist"/>
2961 <rng:ref name="common-form-control-content"/>
2962 </rng:element>
2963 </rng:choice>
2964 </rng:define>
2965 <rng:define name="coordinate">
2966 <rng:ref name="length"/>
2967 </rng:define>
2968 <rng:define name="countryCode">
2969 <rng:data type="token">
2970 <rng:param name="pattern">[A-Za-z0-9]{1,8}</rng:param>
2971 </rng:data>
2972 </rng:define>
2973 <rng:define name="currency-symbol-and-text">
2974 <rng:ref name="number-currency-symbol"/>
2975 <rng:optional>
2976 <rng:ref name="number-text-with-fillchar"/>
2977 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
2978 </rng:optional>
2979 </rng:define>
2980 <rng:define name="current-selected">
2981 <rng:optional>
2982 <rng:attribute name="form:current-selected">
2983 <rng:ref name="boolean"/>
2984 </rng:attribute>
2985 </rng:optional>
2986 </rng:define>
2987 <rng:define name="custom-shape-type">
2988 <rng:choice>
2989 <rng:value>non-primitive</rng:value>
2990 <rng:ref name="string"/>
2991 </rng:choice>
2992 </rng:define>
2993 <rng:define name="date">
2994 <rng:data type="date"/>
2995 </rng:define>
2996 <rng:define name="dateOrDateTime">
2997 <rng:choice>
2998 <rng:data type="date"/>
2999 <rng:data type="dateTime"/>
3000 </rng:choice>
3001 </rng:define>
3002 <rng:define name="dateTime">
3003 <rng:data type="dateTime"/>
3004 </rng:define>
3005 <rng:define name="db-application-connection-settings">
3006 <rng:element name="db:application-connection-settings">
3007 <rng:ref name="db-application-connection-settings-attlist"/>
3008 <rng:optional>
3009 <rng:ref name="db-table-filter"/>
3010 </rng:optional>
3011 <rng:optional>
3012 <rng:ref name="db-table-type-filter"/>
3013 </rng:optional>
3014 <rng:optional>
3015 <rng:ref name="db-data-source-settings"/>
3016 </rng:optional>
3017 </rng:element>
3018 </rng:define>
3019 <rng:define name="db-application-connection-settings-attlist">
3020 <rng:interleave>
3021 <rng:optional>
3022 <rng:attribute name="db:is-table-name-length-limited">
3023 <rng:ref name="boolean"/>
3024 </rng:attribute>
3025 </rng:optional>
3026 <rng:optional>
3027 <rng:attribute name="db:enable-sql92-check">
3028 <rng:ref name="boolean"/>
3029 </rng:attribute>
3030 </rng:optional>
3031 <rng:optional>
3032 <rng:attribute name="db:append-table-alias-name">
3033 <rng:ref name="boolean"/>
3034 </rng:attribute>
3035 </rng:optional>
3036 <rng:optional>
3037 <rng:attribute name="db:ignore-driver-privileges">
3038 <rng:ref name="boolean"/>
3039 </rng:attribute>
3040 </rng:optional>
3041 <rng:optional>
3042 <rng:attribute name="db:boolean-comparison-mode">
3043 <rng:choice>
3044 <rng:value>equal-integer</rng:value>
3045 <rng:value>is-boolean</rng:value>
3046 <rng:value>equal-boolean</rng:value>
3047 <rng:value>equal-use-only-zero</rng:value>
3048 </rng:choice>
3049 </rng:attribute>
3050 </rng:optional>
3051 <rng:optional>
3052 <rng:attribute name="db:use-catalog">
3053 <rng:ref name="boolean"/>
3054 </rng:attribute>
3055 </rng:optional>
3056 <rng:optional>
3057 <rng:attribute name="db:max-row-count">
3058 <rng:ref name="integer"/>
3059 </rng:attribute>
3060 </rng:optional>
3061 <rng:optional>
3062 <rng:attribute name="db:suppress-version-columns">
3063 <rng:ref name="boolean"/>
3064 </rng:attribute>
3065 </rng:optional>
3066 </rng:interleave>
3067 </rng:define>
3068 <rng:define name="db-apply-command">
3069 <rng:optional>
3070 <rng:attribute name="db:apply-command">
3071 <rng:ref name="boolean"/>
3072 </rng:attribute>
3073 </rng:optional>
3074 </rng:define>
3075 <rng:define name="db-auto-increment">
3076 <rng:element name="db:auto-increment">
3077 <rng:ref name="db-auto-increment-attlist"/>
3078 <rng:empty/>
3079 </rng:element>
3080 </rng:define>
3081 <rng:define name="db-auto-increment-attlist">
3082 <rng:interleave>
3083 <rng:optional>
3084 <rng:attribute name="db:additional-column-statement">
3085 <rng:ref name="string"/>
3086 </rng:attribute>
3087 </rng:optional>
3088 <rng:optional>
3089 <rng:attribute name="db:row-retrieving-statement">
3090 <rng:ref name="string"/>
3091 </rng:attribute>
3092 </rng:optional>
3093 </rng:interleave>
3094 </rng:define>
3095 <rng:define name="db-character-set">
3096 <rng:element name="db:character-set">
3097 <rng:ref name="db-character-set-attlist"/>
3098 <rng:empty/>
3099 </rng:element>
3100 </rng:define>
3101 <rng:define name="db-character-set-attlist">
3102 <rng:optional>
3103 <rng:attribute name="db:encoding">
3104 <rng:ref name="textEncoding"/>
3105 </rng:attribute>
3106 </rng:optional>
3107 </rng:define>
3108 <rng:define name="db-column">
3109 <rng:element name="db:column">
3110 <rng:ref name="db-column-attlist"/>
3111 <rng:ref name="common-db-object-name"/>
3112 <rng:ref name="common-db-object-title"/>
3113 <rng:ref name="common-db-object-description"/>
3114 <rng:ref name="common-db-default-value"/>
3115 </rng:element>
3116 </rng:define>
3117 <rng:define name="db-column-attlist">
3118 <rng:interleave>
3119 <rng:optional>
3120 <rng:attribute name="db:visible">
3121 <rng:ref name="boolean"/>
3122 </rng:attribute>
3123 </rng:optional>
3124 <rng:optional>
3125 <rng:attribute name="db:style-name">
3126 <rng:ref name="styleNameRef"/>
3127 </rng:attribute>
3128 </rng:optional>
3129 <rng:optional>
3130 <rng:attribute name="db:default-cell-style-name">
3131 <rng:ref name="styleNameRef"/>
3132 </rng:attribute>
3133 </rng:optional>
3134 </rng:interleave>
3135 </rng:define>
3136 <rng:define name="db-column-definition">
3137 <rng:element name="db:column-definition">
3138 <rng:ref name="db-column-definition-attlist"/>
3139 <rng:ref name="common-db-default-value"/>
3140 </rng:element>
3141 </rng:define>
3142 <rng:define name="db-column-definition-attlist">
3143 <rng:interleave>
3144 <rng:attribute name="db:name">
3145 <rng:ref name="string"/>
3146 </rng:attribute>
3147 <rng:optional>
3148 <rng:attribute name="db:data-type">
3149 <rng:ref name="db-data-types"/>
3150 </rng:attribute>
3151 </rng:optional>
3152 <rng:optional>
3153 <rng:attribute name="db:type-name">
3154 <rng:ref name="string"/>
3155 </rng:attribute>
3156 </rng:optional>
3157 <rng:optional>
3158 <rng:attribute name="db:precision">
3159 <rng:ref name="positiveInteger"/>
3160 </rng:attribute>
3161 </rng:optional>
3162 <rng:optional>
3163 <rng:attribute name="db:scale">
3164 <rng:ref name="positiveInteger"/>
3165 </rng:attribute>
3166 </rng:optional>
3167 <rng:optional>
3168 <rng:attribute name="db:is-nullable">
3169 <rng:choice>
3170 <rng:value>no-nulls</rng:value>
3171 <rng:value>nullable</rng:value>
3172 </rng:choice>
3173 </rng:attribute>
3174 </rng:optional>
3175 <rng:optional>
3176 <rng:attribute name="db:is-empty-allowed">
3177 <rng:ref name="boolean"/>
3178 </rng:attribute>
3179 </rng:optional>
3180 <rng:optional>
3181 <rng:attribute name="db:is-autoincrement">
3182 <rng:ref name="boolean"/>
3183 </rng:attribute>
3184 </rng:optional>
3185 </rng:interleave>
3186 </rng:define>
3187 <rng:define name="db-column-definitions">
3188 <rng:element name="db:column-definitions">
3189 <rng:ref name="db-column-definitions-attlist"/>
3190 <rng:oneOrMore>
3191 <rng:ref name="db-column-definition"/>
3192 </rng:oneOrMore>
3193 </rng:element>
3194 </rng:define>
3195 <rng:define name="db-column-definitions-attlist">
3196 <rng:empty/>
3197 </rng:define>
3198 <rng:define name="db-columns">
3199 <rng:element name="db:columns">
3200 <rng:ref name="db-columns-attlist"/>
3201 <rng:oneOrMore>
3202 <rng:ref name="db-column"/>
3203 </rng:oneOrMore>
3204 </rng:element>
3205 </rng:define>
3206 <rng:define name="db-columns-attlist">
3207 <rng:empty/>
3208 </rng:define>
3209 <rng:define name="db-command">
3210 <rng:attribute name="db:command">
3211 <rng:ref name="string"/>
3212 </rng:attribute>
3213 </rng:define>
3214 <rng:define name="db-component">
3215 <rng:element name="db:component">
3216 <rng:ref name="db-component-attlist"/>
3217 <rng:ref name="common-db-object-name"/>
3218 <rng:ref name="common-db-object-title"/>
3219 <rng:ref name="common-db-object-description"/>
3220 <rng:optional>
3221 <rng:choice>
3222 <rng:ref name="office-document"/>
3223 <rng:ref name="math-math"/>
3224 </rng:choice>
3225 </rng:optional>
3226 </rng:element>
3227 </rng:define>
3228 <rng:define name="db-component-attlist">
3229 <rng:interleave>
3230 <rng:optional>
3231 <rng:attribute name="xlink:type">
3232 <rng:value>simple</rng:value>
3233 </rng:attribute>
3234 <rng:attribute name="xlink:href">
3235 <rng:ref name="anyIRI"/>
3236 </rng:attribute>
3237 <rng:optional>
3238 <rng:attribute name="xlink:show">
3239 <rng:value>none</rng:value>
3240 </rng:attribute>
3241 </rng:optional>
3242 <rng:optional>
3243 <rng:attribute name="xlink:actuate">
3244 <rng:value>onRequest</rng:value>
3245 </rng:attribute>
3246 </rng:optional>
3247 </rng:optional>
3248 <rng:optional>
3249 <rng:attribute name="db:as-template">
3250 <rng:ref name="boolean"/>
3251 </rng:attribute>
3252 </rng:optional>
3253 </rng:interleave>
3254 </rng:define>
3255 <rng:define name="db-component-collection">
3256 <rng:element name="db:component-collection">
3257 <rng:ref name="db-component-collection-attlist"/>
3258 <rng:ref name="common-db-object-name"/>
3259 <rng:ref name="common-db-object-title"/>
3260 <rng:ref name="common-db-object-description"/>
3261 <rng:zeroOrMore>
3262 <rng:choice>
3263 <rng:ref name="db-component"/>
3264 <rng:ref name="db-component-collection"/>
3265 </rng:choice>
3266 </rng:zeroOrMore>
3267 </rng:element>
3268 </rng:define>
3269 <rng:define name="db-component-collection-attlist">
3270 <rng:empty/>
3271 </rng:define>
3272 <rng:define name="db-connection-data">
3273 <rng:element name="db:connection-data">
3274 <rng:ref name="db-connection-data-attlist"/>
3275 <rng:choice>
3276 <rng:ref name="db-database-description"/>
3277 <rng:ref name="db-connection-resource"/>
3278 </rng:choice>
3279 <rng:optional>
3280 <rng:ref name="db-login"/>
3281 </rng:optional>
3282 </rng:element>
3283 </rng:define>
3284 <rng:define name="db-connection-data-attlist">
3285 <rng:empty/>
3286 </rng:define>
3287 <rng:define name="db-connection-resource">
3288 <rng:element name="db:connection-resource">
3289 <rng:ref name="db-connection-resource-attlist"/>
3290 <rng:empty/>
3291 </rng:element>
3292 </rng:define>
3293 <rng:define name="db-connection-resource-attlist">
3294 <rng:attribute name="xlink:type">
3295 <rng:value>simple</rng:value>
3296 </rng:attribute>
3297 <rng:attribute name="xlink:href">
3298 <rng:ref name="anyIRI"/>
3299 </rng:attribute>
3300 <rng:optional>
3301 <rng:attribute name="xlink:show">
3302 <rng:value>none</rng:value>
3303 </rng:attribute>
3304 </rng:optional>
3305 <rng:optional>
3306 <rng:attribute name="xlink:actuate">
3307 <rng:value>onRequest</rng:value>
3308 </rng:attribute>
3309 </rng:optional>
3310 </rng:define>
3311 <rng:define name="db-data-source">
3312 <rng:element name="db:data-source">
3313 <rng:ref name="db-data-source-attlist"/>
3314 <rng:ref name="db-connection-data"/>
3315 <rng:optional>
3316 <rng:ref name="db-driver-settings"/>
3317 </rng:optional>
3318 <rng:optional>
3319 <rng:ref name="db-application-connection-settings"/>
3320 </rng:optional>
3321 </rng:element>
3322 </rng:define>
3323 <rng:define name="db-data-source-attlist">
3324 <rng:empty/>
3325 </rng:define>
3326 <rng:define name="db-data-source-setting">
3327 <rng:element name="db:data-source-setting">
3328 <rng:ref name="db-data-source-setting-attlist"/>
3329 <rng:oneOrMore>
3330 <rng:ref name="db-data-source-setting-value"/>
3331 </rng:oneOrMore>
3332 </rng:element>
3333 </rng:define>
3334 <rng:define name="db-data-source-setting-attlist">
3335 <rng:interleave>
3336 <rng:optional>
3337 <rng:attribute name="db:data-source-setting-is-list">
3338 <rng:ref name="boolean"/>
3339 </rng:attribute>
3340 </rng:optional>
3341 <rng:attribute name="db:data-source-setting-name">
3342 <rng:ref name="string"/>
3343 </rng:attribute>
3344 <rng:attribute name="db:data-source-setting-type">
3345 <rng:ref name="db-data-source-setting-types"/>
3346 </rng:attribute>
3347 </rng:interleave>
3348 </rng:define>
3349 <rng:define name="db-data-source-setting-types">
3350 <rng:choice>
3351 <rng:value>boolean</rng:value>
3352 <rng:value>short</rng:value>
3353 <rng:value>int</rng:value>
3354 <rng:value>long</rng:value>
3355 <rng:value>double</rng:value>
3356 <rng:value>string</rng:value>
3357 </rng:choice>
3358 </rng:define>
3359 <rng:define name="db-data-source-setting-value">
3360 <rng:element name="db:data-source-setting-value">
3361 <rng:ref name="db-data-source-setting-value-attlist"/>
3362 <rng:ref name="string"/>
3363 </rng:element>
3364 </rng:define>
3365 <rng:define name="db-data-source-setting-value-attlist">
3366 <rng:empty/>
3367 </rng:define>
3368 <rng:define name="db-data-source-settings">
3369 <rng:element name="db:data-source-settings">
3370 <rng:ref name="db-data-source-settings-attlist"/>
3371 <rng:oneOrMore>
3372 <rng:ref name="db-data-source-setting"/>
3373 </rng:oneOrMore>
3374 </rng:element>
3375 </rng:define>
3376 <rng:define name="db-data-source-settings-attlist">
3377 <rng:empty/>
3378 </rng:define>
3379 <rng:define name="db-data-types">
3380 <rng:choice>
3381 <rng:value>bit</rng:value>
3382 <rng:value>boolean</rng:value>
3383 <rng:value>tinyint</rng:value>
3384 <rng:value>smallint</rng:value>
3385 <rng:value>integer</rng:value>
3386 <rng:value>bigint</rng:value>
3387 <rng:value>float</rng:value>
3388 <rng:value>real</rng:value>
3389 <rng:value>double</rng:value>
3390 <rng:value>numeric</rng:value>
3391 <rng:value>decimal</rng:value>
3392 <rng:value>char</rng:value>
3393 <rng:value>varchar</rng:value>
3394 <rng:value>longvarchar</rng:value>
3395 <rng:value>date</rng:value>
3396 <rng:value>time</rng:value>
3397 <rng:value>timestmp</rng:value>
3398 <rng:value>binary</rng:value>
3399 <rng:value>varbinary</rng:value>
3400 <rng:value>longvarbinary</rng:value>
3401 <rng:value>sqlnull</rng:value>
3402 <rng:value>other</rng:value>
3403 <rng:value>object</rng:value>
3404 <rng:value>distinct</rng:value>
3405 <rng:value>struct</rng:value>
3406 <rng:value>array</rng:value>
3407 <rng:value>blob</rng:value>
3408 <rng:value>clob</rng:value>
3409 <rng:value>ref</rng:value>
3410 </rng:choice>
3411 </rng:define>
3412 <rng:define name="db-database-description">
3413 <rng:element name="db:database-description">
3414 <rng:ref name="db-database-description-attlist"/>
3415 <rng:choice>
3416 <rng:ref name="db-file-based-database"/>
3417 <rng:ref name="db-server-database"/>
3418 </rng:choice>
3419 </rng:element>
3420 </rng:define>
3421 <rng:define name="db-database-description-attlist">
3422 <rng:empty/>
3423 </rng:define>
3424 <rng:define name="db-delimiter">
3425 <rng:element name="db:delimiter">
3426 <rng:ref name="db-delimiter-attlist"/>
3427 <rng:empty/>
3428 </rng:element>
3429 </rng:define>
3430 <rng:define name="db-delimiter-attlist">
3431 <rng:interleave>
3432 <rng:optional>
3433 <rng:attribute name="db:field">
3434 <rng:ref name="string"/>
3435 </rng:attribute>
3436 </rng:optional>
3437 <rng:optional>
3438 <rng:attribute name="db:string">
3439 <rng:ref name="string"/>
3440 </rng:attribute>
3441 </rng:optional>
3442 <rng:optional>
3443 <rng:attribute name="db:decimal">
3444 <rng:ref name="string"/>
3445 </rng:attribute>
3446 </rng:optional>
3447 <rng:optional>
3448 <rng:attribute name="db:thousand">
3449 <rng:ref name="string"/>
3450 </rng:attribute>
3451 </rng:optional>
3452 </rng:interleave>
3453 </rng:define>
3454 <rng:define name="db-driver-settings">
3455 <rng:element name="db:driver-settings">
3456 <rng:ref name="db-driver-settings-attlist"/>
3457 <rng:optional>
3458 <rng:ref name="db-auto-increment"/>
3459 </rng:optional>
3460 <rng:optional>
3461 <rng:ref name="db-delimiter"/>
3462 </rng:optional>
3463 <rng:optional>
3464 <rng:ref name="db-character-set"/>
3465 </rng:optional>
3466 <rng:optional>
3467 <rng:ref name="db-table-settings"/>
3468 </rng:optional>
3469 </rng:element>
3470 </rng:define>
3471 <rng:define name="db-driver-settings-attlist">
3472 <rng:interleave>
3473 <rng:ref name="db-show-deleted"/>
3474 <rng:optional>
3475 <rng:attribute name="db:system-driver-settings">
3476 <rng:ref name="string"/>
3477 </rng:attribute>
3478 </rng:optional>
3479 <rng:optional>
3480 <rng:attribute name="db:base-dn">
3481 <rng:ref name="string"/>
3482 </rng:attribute>
3483 </rng:optional>
3484 <rng:ref name="db-is-first-row-header-line"/>
3485 <rng:optional>
3486 <rng:attribute name="db:parameter-name-substitution">
3487 <rng:ref name="boolean"/>
3488 </rng:attribute>
3489 </rng:optional>
3490 </rng:interleave>
3491 </rng:define>
3492 <rng:define name="db-file-based-database">
3493 <rng:element name="db:file-based-database">
3494 <rng:ref name="db-file-based-database-attlist"/>
3495 </rng:element>
3496 </rng:define>
3497 <rng:define name="db-file-based-database-attlist">
3498 <rng:interleave>
3499 <rng:attribute name="xlink:type">
3500 <rng:value>simple</rng:value>
3501 </rng:attribute>
3502 <rng:attribute name="xlink:href">
3503 <rng:ref name="anyIRI"/>
3504 </rng:attribute>
3505 <rng:attribute name="db:media-type">
3506 <rng:ref name="string"/>
3507 </rng:attribute>
3508 <rng:optional>
3509 <rng:attribute name="db:extension">
3510 <rng:ref name="string"/>
3511 </rng:attribute>
3512 </rng:optional>
3513 </rng:interleave>
3514 </rng:define>
3515 <rng:define name="db-filter-statement">
3516 <rng:element name="db:filter-statement">
3517 <rng:ref name="db-command"/>
3518 <rng:ref name="db-apply-command"/>
3519 <rng:empty/>
3520 </rng:element>
3521 </rng:define>
3522 <rng:define name="db-forms">
3523 <rng:element name="db:forms">
3524 <rng:ref name="db-forms-attlist"/>
3525 <rng:zeroOrMore>
3526 <rng:choice>
3527 <rng:ref name="db-component"/>
3528 <rng:ref name="db-component-collection"/>
3529 </rng:choice>
3530 </rng:zeroOrMore>
3531 </rng:element>
3532 </rng:define>
3533 <rng:define name="db-forms-attlist">
3534 <rng:empty/>
3535 </rng:define>
3536 <rng:define name="db-host-and-port">
3537 <rng:attribute name="db:hostname">
3538 <rng:ref name="string"/>
3539 </rng:attribute>
3540 <rng:optional>
3541 <rng:attribute name="db:port">
3542 <rng:ref name="positiveInteger"/>
3543 </rng:attribute>
3544 </rng:optional>
3545 </rng:define>
3546 <rng:define name="db-index">
3547 <rng:element name="db:index">
3548 <rng:ref name="db-index-attlist"/>
3549 <rng:oneOrMore>
3550 <rng:ref name="db-index-columns"/>
3551 </rng:oneOrMore>
3552 </rng:element>
3553 </rng:define>
3554 <rng:define name="db-index-attlist">
3555 <rng:interleave>
3556 <rng:attribute name="db:name">
3557 <rng:ref name="string"/>
3558 </rng:attribute>
3559 <rng:optional>
3560 <rng:attribute name="db:catalog-name">
3561 <rng:ref name="string"/>
3562 </rng:attribute>
3563 </rng:optional>
3564 <rng:optional>
3565 <rng:attribute name="db:is-unique">
3566 <rng:ref name="boolean"/>
3567 </rng:attribute>
3568 </rng:optional>
3569 <rng:optional>
3570 <rng:attribute name="db:is-clustered">
3571 <rng:ref name="boolean"/>
3572 </rng:attribute>
3573 </rng:optional>
3574 </rng:interleave>
3575 </rng:define>
3576 <rng:define name="db-index-column">
3577 <rng:element name="db:index-column">
3578 <rng:ref name="db-index-column-attlist"/>
3579 <rng:empty/>
3580 </rng:element>
3581 </rng:define>
3582 <rng:define name="db-index-column-attlist">
3583 <rng:interleave>
3584 <rng:attribute name="db:name">
3585 <rng:ref name="string"/>
3586 </rng:attribute>
3587 <rng:optional>
3588 <rng:attribute name="db:is-ascending">
3589 <rng:ref name="boolean"/>
3590 </rng:attribute>
3591 </rng:optional>
3592 </rng:interleave>
3593 </rng:define>
3594 <rng:define name="db-index-columns">
3595 <rng:element name="db:index-columns">
3596 <rng:oneOrMore>
3597 <rng:ref name="db-index-column"/>
3598 </rng:oneOrMore>
3599 </rng:element>
3600 </rng:define>
3601 <rng:define name="db-indices">
3602 <rng:element name="db:indices">
3603 <rng:ref name="db-indices-attlist"/>
3604 <rng:oneOrMore>
3605 <rng:ref name="db-index"/>
3606 </rng:oneOrMore>
3607 </rng:element>
3608 </rng:define>
3609 <rng:define name="db-indices-attlist">
3610 <rng:empty/>
3611 </rng:define>
3612 <rng:define name="db-is-first-row-header-line">
3613 <rng:optional>
3614 <rng:attribute name="db:is-first-row-header-line">
3615 <rng:ref name="boolean"/>
3616 </rng:attribute>
3617 </rng:optional>
3618 </rng:define>
3619 <rng:define name="db-key">
3620 <rng:element name="db:key">
3621 <rng:ref name="db-key-attlist"/>
3622 <rng:oneOrMore>
3623 <rng:ref name="db-key-columns"/>
3624 </rng:oneOrMore>
3625 </rng:element>
3626 </rng:define>
3627 <rng:define name="db-key-attlist">
3628 <rng:interleave>
3629 <rng:optional>
3630 <rng:attribute name="db:name">
3631 <rng:ref name="string"/>
3632 </rng:attribute>
3633 </rng:optional>
3634 <rng:attribute name="db:type">
3635 <rng:choice>
3636 <rng:value>primary</rng:value>
3637 <rng:value>unique</rng:value>
3638 <rng:value>foreign</rng:value>
3639 </rng:choice>
3640 </rng:attribute>
3641 <rng:optional>
3642 <rng:attribute name="db:referenced-table-name">
3643 <rng:ref name="string"/>
3644 </rng:attribute>
3645 </rng:optional>
3646 <rng:optional>
3647 <rng:attribute name="db:update-rule">
3648 <rng:choice>
3649 <rng:value>cascade</rng:value>
3650 <rng:value>restrict</rng:value>
3651 <rng:value>set-null</rng:value>
3652 <rng:value>no-action</rng:value>
3653 <rng:value>set-default</rng:value>
3654 </rng:choice>
3655 </rng:attribute>
3656 </rng:optional>
3657 <rng:optional>
3658 <rng:attribute name="db:delete-rule">
3659 <rng:choice>
3660 <rng:value>cascade</rng:value>
3661 <rng:value>restrict</rng:value>
3662 <rng:value>set-null</rng:value>
3663 <rng:value>no-action</rng:value>
3664 <rng:value>set-default</rng:value>
3665 </rng:choice>
3666 </rng:attribute>
3667 </rng:optional>
3668 </rng:interleave>
3669 </rng:define>
3670 <rng:define name="db-key-column">
3671 <rng:element name="db:key-column">
3672 <rng:ref name="db-key-column-attlist"/>
3673 <rng:empty/>
3674 </rng:element>
3675 </rng:define>
3676 <rng:define name="db-key-column-attlist">
3677 <rng:interleave>
3678 <rng:optional>
3679 <rng:attribute name="db:name">
3680 <rng:ref name="string"/>
3681 </rng:attribute>
3682 </rng:optional>
3683 <rng:optional>
3684 <rng:attribute name="db:related-column-name">
3685 <rng:ref name="string"/>
3686 </rng:attribute>
3687 </rng:optional>
3688 </rng:interleave>
3689 </rng:define>
3690 <rng:define name="db-key-columns">
3691 <rng:element name="db:key-columns">
3692 <rng:ref name="db-key-columns-attlist"/>
3693 <rng:oneOrMore>
3694 <rng:ref name="db-key-column"/>
3695 </rng:oneOrMore>
3696 </rng:element>
3697 </rng:define>
3698 <rng:define name="db-key-columns-attlist">
3699 <rng:empty/>
3700 </rng:define>
3701 <rng:define name="db-keys">
3702 <rng:element name="db:keys">
3703 <rng:ref name="db-keys-attlist"/>
3704 <rng:oneOrMore>
3705 <rng:ref name="db-key"/>
3706 </rng:oneOrMore>
3707 </rng:element>
3708 </rng:define>
3709 <rng:define name="db-keys-attlist">
3710 <rng:empty/>
3711 </rng:define>
3712 <rng:define name="db-local-socket-name">
3713 <rng:optional>
3714 <rng:attribute name="db:local-socket">
3715 <rng:ref name="string"/>
3716 </rng:attribute>
3717 </rng:optional>
3718 </rng:define>
3719 <rng:define name="db-login">
3720 <rng:element name="db:login">
3721 <rng:ref name="db-login-attlist"/>
3722 <rng:empty/>
3723 </rng:element>
3724 </rng:define>
3725 <rng:define name="db-login-attlist">
3726 <rng:interleave>
3727 <rng:optional>
3728 <rng:choice>
3729 <rng:attribute name="db:user-name">
3730 <rng:ref name="string"/>
3731 </rng:attribute>
3732 <rng:attribute name="db:use-system-user">
3733 <rng:ref name="boolean"/>
3734 </rng:attribute>
3735 </rng:choice>
3736 </rng:optional>
3737 <rng:optional>
3738 <rng:attribute name="db:is-password-required">
3739 <rng:ref name="boolean"/>
3740 </rng:attribute>
3741 </rng:optional>
3742 <rng:optional>
3743 <rng:attribute name="db:login-timeout">
3744 <rng:ref name="positiveInteger"/>
3745 </rng:attribute>
3746 </rng:optional>
3747 </rng:interleave>
3748 </rng:define>
3749 <rng:define name="db-order-statement">
3750 <rng:element name="db:order-statement">
3751 <rng:ref name="db-command"/>
3752 <rng:ref name="db-apply-command"/>
3753 <rng:empty/>
3754 </rng:element>
3755 </rng:define>
3756 <rng:define name="db-queries">
3757 <rng:element name="db:queries">
3758 <rng:ref name="db-queries-attlist"/>
3759 <rng:zeroOrMore>
3760 <rng:choice>
3761 <rng:ref name="db-query"/>
3762 <rng:ref name="db-query-collection"/>
3763 </rng:choice>
3764 </rng:zeroOrMore>
3765 </rng:element>
3766 </rng:define>
3767 <rng:define name="db-queries-attlist">
3768 <rng:empty/>
3769 </rng:define>
3770 <rng:define name="db-query">
3771 <rng:element name="db:query">
3772 <rng:ref name="db-query-attlist"/>
3773 <rng:ref name="common-db-object-name"/>
3774 <rng:ref name="common-db-object-title"/>
3775 <rng:ref name="common-db-object-description"/>
3776 <rng:ref name="common-db-table-style-name"/>
3777 <rng:optional>
3778 <rng:ref name="db-order-statement"/>
3779 </rng:optional>
3780 <rng:optional>
3781 <rng:ref name="db-filter-statement"/>
3782 </rng:optional>
3783 <rng:optional>
3784 <rng:ref name="db-columns"/>
3785 </rng:optional>
3786 <rng:optional>
3787 <rng:ref name="db-update-table"/>
3788 </rng:optional>
3789 </rng:element>
3790 </rng:define>
3791 <rng:define name="db-query-attlist">
3792 <rng:interleave>
3793 <rng:attribute name="db:command">
3794 <rng:ref name="string"/>
3795 </rng:attribute>
3796 <rng:optional>
3797 <rng:attribute name="db:escape-processing">
3798 <rng:ref name="boolean"/>
3799 </rng:attribute>
3800 </rng:optional>
3801 </rng:interleave>
3802 </rng:define>
3803 <rng:define name="db-query-collection">
3804 <rng:element name="db:query-collection">
3805 <rng:ref name="db-query-collection-attlist"/>
3806 <rng:ref name="common-db-object-name"/>
3807 <rng:ref name="common-db-object-title"/>
3808 <rng:ref name="common-db-object-description"/>
3809 <rng:zeroOrMore>
3810 <rng:choice>
3811 <rng:ref name="db-query"/>
3812 <rng:ref name="db-query-collection"/>
3813 </rng:choice>
3814 </rng:zeroOrMore>
3815 </rng:element>
3816 </rng:define>
3817 <rng:define name="db-query-collection-attlist">
3818 <rng:empty/>
3819 </rng:define>
3820 <rng:define name="db-reports">
3821 <rng:element name="db:reports">
3822 <rng:ref name="db-reports-attlist"/>
3823 <rng:zeroOrMore>
3824 <rng:choice>
3825 <rng:ref name="db-component"/>
3826 <rng:ref name="db-component-collection"/>
3827 </rng:choice>
3828 </rng:zeroOrMore>
3829 </rng:element>
3830 </rng:define>
3831 <rng:define name="db-reports-attlist">
3832 <rng:empty/>
3833 </rng:define>
3834 <rng:define name="db-schema-definition">
3835 <rng:element name="db:schema-definition">
3836 <rng:ref name="db-schema-definition-attlist"/>
3837 <rng:ref name="db-table-definitions"/>
3838 </rng:element>
3839 </rng:define>
3840 <rng:define name="db-schema-definition-attlist">
3841 <rng:empty/>
3842 </rng:define>
3843 <rng:define name="db-server-database">
3844 <rng:element name="db:server-database">
3845 <rng:ref name="db-server-database-attlist"/>
3846 <rng:empty/>
3847 </rng:element>
3848 </rng:define>
3849 <rng:define name="db-server-database-attlist">
3850 <rng:interleave>
3851 <rng:attribute name="db:type">
3852 <rng:ref name="namespacedToken"/>
3853 </rng:attribute>
3854 <rng:choice>
3855 <rng:ref name="db-host-and-port"/>
3856 <rng:ref name="db-local-socket-name"/>
3857 </rng:choice>
3858 <rng:optional>
3859 <rng:attribute name="db:database-name">
3860 <rng:ref name="string"/>
3861 </rng:attribute>
3862 </rng:optional>
3863 </rng:interleave>
3864 </rng:define>
3865 <rng:define name="db-show-deleted">
3866 <rng:optional>
3867 <rng:attribute name="db:show-deleted">
3868 <rng:ref name="boolean"/>
3869 </rng:attribute>
3870 </rng:optional>
3871 </rng:define>
3872 <rng:define name="db-table-definition">
3873 <rng:element name="db:table-definition">
3874 <rng:ref name="common-db-table-name-attlist"/>
3875 <rng:ref name="db-table-definition-attlist"/>
3876 <rng:ref name="db-column-definitions"/>
3877 <rng:optional>
3878 <rng:ref name="db-keys"/>
3879 </rng:optional>
3880 <rng:optional>
3881 <rng:ref name="db-indices"/>
3882 </rng:optional>
3883 </rng:element>
3884 </rng:define>
3885 <rng:define name="db-table-definition-attlist">
3886 <rng:optional>
3887 <rng:attribute name="db:type">
3888 <rng:ref name="string"/>
3889 </rng:attribute>
3890 </rng:optional>
3891 </rng:define>
3892 <rng:define name="db-table-definitions">
3893 <rng:element name="db:table-definitions">
3894 <rng:ref name="db-table-definitions-attlist"/>
3895 <rng:zeroOrMore>
3896 <rng:ref name="db-table-definition"/>
3897 </rng:zeroOrMore>
3898 </rng:element>
3899 </rng:define>
3900 <rng:define name="db-table-definitions-attlist">
3901 <rng:empty/>
3902 </rng:define>
3903 <rng:define name="db-table-exclude-filter">
3904 <rng:element name="db:table-exclude-filter">
3905 <rng:ref name="db-table-exclude-filter-attlist"/>
3906 <rng:oneOrMore>
3907 <rng:ref name="db-table-filter-pattern"/>
3908 </rng:oneOrMore>
3909 </rng:element>
3910 </rng:define>
3911 <rng:define name="db-table-exclude-filter-attlist">
3912 <rng:empty/>
3913 </rng:define>
3914 <rng:define name="db-table-filter">
3915 <rng:element name="db:table-filter">
3916 <rng:ref name="db-table-filter-attlist"/>
3917 <rng:optional>
3918 <rng:ref name="db-table-include-filter"/>
3919 </rng:optional>
3920 <rng:optional>
3921 <rng:ref name="db-table-exclude-filter"/>
3922 </rng:optional>
3923 </rng:element>
3924 </rng:define>
3925 <rng:define name="db-table-filter-attlist">
3926 <rng:empty/>
3927 </rng:define>
3928 <rng:define name="db-table-filter-pattern">
3929 <rng:element name="db:table-filter-pattern">
3930 <rng:ref name="db-table-filter-pattern-attlist"/>
3931 <rng:ref name="string"/>
3932 </rng:element>
3933 </rng:define>
3934 <rng:define name="db-table-filter-pattern-attlist">
3935 <rng:empty/>
3936 </rng:define>
3937 <rng:define name="db-table-include-filter">
3938 <rng:element name="db:table-include-filter">
3939 <rng:ref name="db-table-include-filter-attlist"/>
3940 <rng:oneOrMore>
3941 <rng:ref name="db-table-filter-pattern"/>
3942 </rng:oneOrMore>
3943 </rng:element>
3944 </rng:define>
3945 <rng:define name="db-table-include-filter-attlist">
3946 <rng:empty/>
3947 </rng:define>
3948 <rng:define name="db-table-presentation">
3949 <rng:element name="db:table-representation">
3950 <rng:ref name="db-table-presentation-attlist"/>
3951 <rng:ref name="common-db-table-name-attlist"/>
3952 <rng:ref name="common-db-object-title"/>
3953 <rng:ref name="common-db-object-description"/>
3954 <rng:ref name="common-db-table-style-name"/>
3955 <rng:optional>
3956 <rng:ref name="db-order-statement"/>
3957 </rng:optional>
3958 <rng:optional>
3959 <rng:ref name="db-filter-statement"/>
3960 </rng:optional>
3961 <rng:optional>
3962 <rng:ref name="db-columns"/>
3963 </rng:optional>
3964 </rng:element>
3965 </rng:define>
3966 <rng:define name="db-table-presentation-attlist">
3967 <rng:empty/>
3968 </rng:define>
3969 <rng:define name="db-table-presentations">
3970 <rng:element name="db:table-representations">
3971 <rng:ref name="db-table-presentations-attlist"/>
3972 <rng:zeroOrMore>
3973 <rng:ref name="db-table-presentation"/>
3974 </rng:zeroOrMore>
3975 </rng:element>
3976 </rng:define>
3977 <rng:define name="db-table-presentations-attlist">
3978 <rng:empty/>
3979 </rng:define>
3980 <rng:define name="db-table-setting">
3981 <rng:element name="db:table-setting">
3982 <rng:ref name="db-table-setting-attlist"/>
3983 <rng:optional>
3984 <rng:ref name="db-delimiter"/>
3985 </rng:optional>
3986 <rng:optional>
3987 <rng:ref name="db-character-set"/>
3988 </rng:optional>
3989 <rng:empty/>
3990 </rng:element>
3991 </rng:define>
3992 <rng:define name="db-table-setting-attlist">
3993 <rng:ref name="db-is-first-row-header-line"/>
3994 <rng:ref name="db-show-deleted"/>
3995 </rng:define>
3996 <rng:define name="db-table-settings">
3997 <rng:element name="db:table-settings">
3998 <rng:zeroOrMore>
3999 <rng:ref name="db-table-setting"/>
4000 </rng:zeroOrMore>
4001 </rng:element>
4002 </rng:define>
4003 <rng:define name="db-table-type">
4004 <rng:element name="db:table-type">
4005 <rng:ref name="db-table-type-attlist"/>
4006 <rng:ref name="string"/>
4007 </rng:element>
4008 </rng:define>
4009 <rng:define name="db-table-type-attlist">
4010 <rng:empty/>
4011 </rng:define>
4012 <rng:define name="db-table-type-filter">
4013 <rng:element name="db:table-type-filter">
4014 <rng:ref name="db-table-type-filter-attlist"/>
4015 <rng:zeroOrMore>
4016 <rng:ref name="db-table-type"/>
4017 </rng:zeroOrMore>
4018 </rng:element>
4019 </rng:define>
4020 <rng:define name="db-table-type-filter-attlist">
4021 <rng:empty/>
4022 </rng:define>
4023 <rng:define name="db-update-table">
4024 <rng:element name="db:update-table">
4025 <rng:ref name="common-db-table-name-attlist"/>
4026 </rng:element>
4027 </rng:define>
4028 <rng:define name="dc-creator">
4029 <rng:element name="dc:creator">
4030 <rng:ref name="string"/>
4031 </rng:element>
4032 </rng:define>
4033 <rng:define name="dc-date">
4034 <rng:element name="dc:date">
4035 <rng:ref name="dateTime"/>
4036 </rng:element>
4037 </rng:define>
4038 <rng:define name="distance">
4039 <rng:ref name="length"/>
4040 </rng:define>
4041 <rng:define name="double">
4042 <rng:data type="double"/>
4043 </rng:define>
4044 <rng:define name="dr3d-cube">
4045 <rng:element name="dr3d:cube">
4046 <rng:ref name="dr3d-cube-attlist"/>
4047 <rng:ref name="common-draw-z-index-attlist"/>
4048 <rng:ref name="common-draw-id-attlist"/>
4049 <rng:ref name="common-draw-layer-name-attlist"/>
4050 <rng:ref name="common-draw-style-name-attlist"/>
4051 <rng:ref name="common-dr3d-transform-attlist"/>
4052 <rng:empty/>
4053 </rng:element>
4054 </rng:define>
4055 <rng:define name="dr3d-cube-attlist">
4056 <rng:optional>
4057 <rng:attribute name="dr3d:min-edge">
4058 <rng:ref name="vector3D"/>
4059 </rng:attribute>
4060 </rng:optional>
4061 <rng:optional>
4062 <rng:attribute name="dr3d:max-edge">
4063 <rng:ref name="vector3D"/>
4064 </rng:attribute>
4065 </rng:optional>
4066 </rng:define>
4067 <rng:define name="dr3d-extrude">
4068 <rng:element name="dr3d:extrude">
4069 <rng:ref name="common-draw-path-data-attlist"/>
4070 <rng:ref name="common-draw-viewbox-attlist"/>
4071 <rng:ref name="common-draw-id-attlist"/>
4072 <rng:ref name="common-draw-z-index-attlist"/>
4073 <rng:ref name="common-draw-layer-name-attlist"/>
4074 <rng:ref name="common-draw-style-name-attlist"/>
4075 <rng:ref name="common-dr3d-transform-attlist"/>
4076 <rng:empty/>
4077 </rng:element>
4078 </rng:define>
4079 <rng:define name="dr3d-light">
4080 <rng:element name="dr3d:light">
4081 <rng:ref name="dr3d-light-attlist"/>
4082 <rng:empty/>
4083 </rng:element>
4084 </rng:define>
4085 <rng:define name="dr3d-light-attlist">
4086 <rng:interleave>
4087 <rng:optional>
4088 <rng:attribute name="dr3d:diffuse-color">
4089 <rng:ref name="color"/>
4090 </rng:attribute>
4091 </rng:optional>
4092 <rng:attribute name="dr3d:direction">
4093 <rng:ref name="vector3D"/>
4094 </rng:attribute>
4095 <rng:optional>
4096 <rng:attribute name="dr3d:enabled">
4097 <rng:ref name="boolean"/>
4098 </rng:attribute>
4099 </rng:optional>
4100 <rng:optional>
4101 <rng:attribute name="dr3d:specular">
4102 <rng:ref name="boolean"/>
4103 </rng:attribute>
4104 </rng:optional>
4105 </rng:interleave>
4106 </rng:define>
4107 <rng:define name="dr3d-rotate">
4108 <rng:element name="dr3d:rotate">
4109 <rng:ref name="common-draw-viewbox-attlist"/>
4110 <rng:ref name="common-draw-path-data-attlist"/>
4111 <rng:ref name="common-draw-z-index-attlist"/>
4112 <rng:ref name="common-draw-id-attlist"/>
4113 <rng:ref name="common-draw-layer-name-attlist"/>
4114 <rng:ref name="common-draw-style-name-attlist"/>
4115 <rng:ref name="common-dr3d-transform-attlist"/>
4116 <rng:empty/>
4117 </rng:element>
4118 </rng:define>
4119 <rng:define name="dr3d-scene">
4120 <rng:element name="dr3d:scene">
4121 <rng:ref name="dr3d-scene-attlist"/>
4122 <rng:ref name="common-draw-position-attlist"/>
4123 <rng:ref name="common-draw-size-attlist"/>
4124 <rng:ref name="common-draw-style-name-attlist"/>
4125 <rng:ref name="common-draw-z-index-attlist"/>
4126 <rng:ref name="common-draw-id-attlist"/>
4127 <rng:ref name="common-draw-layer-name-attlist"/>
4128 <rng:ref name="common-text-spreadsheet-shape-attlist"/>
4129 <rng:ref name="common-dr3d-transform-attlist"/>
4130 <rng:ref name="common-draw-caption-id-attlist"/>
4131 <rng:optional>
4132 <rng:ref name="svg-title"/>
4133 </rng:optional>
4134 <rng:optional>
4135 <rng:ref name="svg-desc"/>
4136 </rng:optional>
4137 <rng:zeroOrMore>
4138 <rng:ref name="dr3d-light"/>
4139 </rng:zeroOrMore>
4140 <rng:zeroOrMore>
4141 <rng:ref name="shapes3d"/>
4142 </rng:zeroOrMore>
4143 <rng:zeroOrMore>
4144 <rng:ref name="draw-glue-point"/>
4145 </rng:zeroOrMore>
4146 </rng:element>
4147 </rng:define>
4148 <rng:define name="dr3d-scene-attlist">
4149 <rng:interleave>
4150 <rng:optional>
4151 <rng:attribute name="dr3d:vrp">
4152 <rng:ref name="vector3D"/>
4153 </rng:attribute>
4154 </rng:optional>
4155 <rng:optional>
4156 <rng:attribute name="dr3d:vpn">
4157 <rng:ref name="vector3D"/>
4158 </rng:attribute>
4159 </rng:optional>
4160 <rng:optional>
4161 <rng:attribute name="dr3d:vup">
4162 <rng:ref name="vector3D"/>
4163 </rng:attribute>
4164 </rng:optional>
4165 <rng:optional>
4166 <rng:attribute name="dr3d:projection">
4167 <rng:choice>
4168 <rng:value>parallel</rng:value>
4169 <rng:value>perspective</rng:value>
4170 </rng:choice>
4171 </rng:attribute>
4172 </rng:optional>
4173 <rng:optional>
4174 <rng:attribute name="dr3d:distance">
4175 <rng:ref name="length"/>
4176 </rng:attribute>
4177 </rng:optional>
4178 <rng:optional>
4179 <rng:attribute name="dr3d:focal-length">
4180 <rng:ref name="length"/>
4181 </rng:attribute>
4182 </rng:optional>
4183 <rng:optional>
4184 <rng:attribute name="dr3d:shadow-slant">
4185 <rng:ref name="angle"/>
4186 </rng:attribute>
4187 </rng:optional>
4188 <rng:optional>
4189 <rng:attribute name="dr3d:shade-mode">
4190 <rng:choice>
4191 <rng:value>flat</rng:value>
4192 <rng:value>phong</rng:value>
4193 <rng:value>gouraud</rng:value>
4194 <rng:value>draft</rng:value>
4195 </rng:choice>
4196 </rng:attribute>
4197 </rng:optional>
4198 <rng:optional>
4199 <rng:attribute name="dr3d:ambient-color">
4200 <rng:ref name="color"/>
4201 </rng:attribute>
4202 </rng:optional>
4203 <rng:optional>
4204 <rng:attribute name="dr3d:lighting-mode">
4205 <rng:ref name="boolean"/>
4206 </rng:attribute>
4207 </rng:optional>
4208 </rng:interleave>
4209 </rng:define>
4210 <rng:define name="dr3d-sphere">
4211 <rng:element name="dr3d:sphere">
4212 <rng:ref name="dr3d-sphere-attlist"/>
4213 <rng:ref name="common-draw-z-index-attlist"/>
4214 <rng:ref name="common-draw-id-attlist"/>
4215 <rng:ref name="common-draw-layer-name-attlist"/>
4216 <rng:ref name="common-draw-style-name-attlist"/>
4217 <rng:ref name="common-dr3d-transform-attlist"/>
4218 <rng:empty/>
4219 </rng:element>
4220 </rng:define>
4221 <rng:define name="dr3d-sphere-attlist">
4222 <rng:interleave>
4223 <rng:optional>
4224 <rng:attribute name="dr3d:center">
4225 <rng:ref name="vector3D"/>
4226 </rng:attribute>
4227 </rng:optional>
4228 <rng:optional>
4229 <rng:attribute name="dr3d:size">
4230 <rng:ref name="vector3D"/>
4231 </rng:attribute>
4232 </rng:optional>
4233 </rng:interleave>
4234 </rng:define>
4235 <rng:define name="draw-a">
4236 <rng:element name="draw:a">
4237 <rng:ref name="draw-a-attlist"/>
4238 <rng:ref name="shape-instance"/>
4239 </rng:element>
4240 </rng:define>
4241 <rng:define name="draw-a-attlist">
4242 <rng:interleave>
4243 <rng:attribute name="xlink:type">
4244 <rng:value>simple</rng:value>
4245 </rng:attribute>
4246 <rng:attribute name="xlink:href">
4247 <rng:ref name="anyIRI"/>
4248 </rng:attribute>
4249 <rng:optional>
4250 <rng:attribute name="xlink:actuate">
4251 <rng:value>onRequest</rng:value>
4252 </rng:attribute>
4253 </rng:optional>
4254 <rng:optional>
4255 <rng:attribute name="office:target-frame-name">
4256 <rng:ref name="targetFrameName"/>
4257 </rng:attribute>
4258 </rng:optional>
4259 <rng:optional>
4260 <rng:attribute name="xlink:show">
4261 <rng:choice>
4262 <rng:value>new</rng:value>
4263 <rng:value>replace</rng:value>
4264 </rng:choice>
4265 </rng:attribute>
4266 </rng:optional>
4267 <rng:optional>
4268 <rng:attribute name="office:name">
4269 <rng:ref name="string"/>
4270 </rng:attribute>
4271 </rng:optional>
4272 <rng:optional>
4273 <rng:attribute name="office:title">
4274 <rng:ref name="string"/>
4275 </rng:attribute>
4276 </rng:optional>
4277 <rng:optional>
4278 <rng:attribute name="office:server-map">
4279 <rng:ref name="boolean"/>
4280 </rng:attribute>
4281 </rng:optional>
4282 <rng:optional>
4283 <rng:ref name="xml-id"/>
4284 </rng:optional>
4285 </rng:interleave>
4286 </rng:define>
4287 <rng:define name="draw-applet">
4288 <rng:element name="draw:applet">
4289 <rng:ref name="draw-applet-attlist"/>
4290 <rng:optional>
4291 <rng:ref name="common-draw-data-attlist"/>
4292 </rng:optional>
4293 <rng:zeroOrMore>
4294 <rng:ref name="draw-param"/>
4295 </rng:zeroOrMore>
4296 </rng:element>
4297 </rng:define>
4298 <rng:define name="draw-applet-attlist">
4299 <rng:interleave>
4300 <rng:optional>
4301 <rng:attribute name="draw:code">
4302 <rng:ref name="string"/>
4303 </rng:attribute>
4304 </rng:optional>
4305 <rng:optional>
4306 <rng:attribute name="draw:object">
4307 <rng:ref name="string"/>
4308 </rng:attribute>
4309 </rng:optional>
4310 <rng:optional>
4311 <rng:attribute name="draw:archive">
4312 <rng:ref name="string"/>
4313 </rng:attribute>
4314 </rng:optional>
4315 <rng:optional>
4316 <rng:attribute name="draw:may-script">
4317 <rng:ref name="boolean"/>
4318 </rng:attribute>
4319 </rng:optional>
4320 <rng:optional>
4321 <rng:ref name="xml-id"/>
4322 </rng:optional>
4323 </rng:interleave>
4324 </rng:define>
4325 <rng:define name="draw-area-circle">
4326 <rng:element name="draw:area-circle">
4327 <rng:ref name="common-draw-area-attlist"/>
4328 <rng:attribute name="svg:cx">
4329 <rng:ref name="coordinate"/>
4330 </rng:attribute>
4331 <rng:attribute name="svg:cy">
4332 <rng:ref name="coordinate"/>
4333 </rng:attribute>
4334 <rng:attribute name="svg:r">
4335 <rng:ref name="length"/>
4336 </rng:attribute>
4337 <rng:optional>
4338 <rng:ref name="svg-title"/>
4339 </rng:optional>
4340 <rng:optional>
4341 <rng:ref name="svg-desc"/>
4342 </rng:optional>
4343 <rng:optional>
4344 <rng:ref name="office-event-listeners"/>
4345 </rng:optional>
4346 </rng:element>
4347 </rng:define>
4348 <rng:define name="draw-area-polygon">
4349 <rng:element name="draw:area-polygon">
4350 <rng:ref name="common-draw-area-attlist"/>
4351 <rng:attribute name="svg:x">
4352 <rng:ref name="coordinate"/>
4353 </rng:attribute>
4354 <rng:attribute name="svg:y">
4355 <rng:ref name="coordinate"/>
4356 </rng:attribute>
4357 <rng:attribute name="svg:width">
4358 <rng:ref name="length"/>
4359 </rng:attribute>
4360 <rng:attribute name="svg:height">
4361 <rng:ref name="length"/>
4362 </rng:attribute>
4363 <rng:ref name="common-draw-viewbox-attlist"/>
4364 <rng:ref name="common-draw-points-attlist"/>
4365 <rng:optional>
4366 <rng:ref name="svg-title"/>
4367 </rng:optional>
4368 <rng:optional>
4369 <rng:ref name="svg-desc"/>
4370 </rng:optional>
4371 <rng:optional>
4372 <rng:ref name="office-event-listeners"/>
4373 </rng:optional>
4374 </rng:element>
4375 </rng:define>
4376 <rng:define name="draw-area-rectangle">
4377 <rng:element name="draw:area-rectangle">
4378 <rng:ref name="common-draw-area-attlist"/>
4379 <rng:attribute name="svg:x">
4380 <rng:ref name="coordinate"/>
4381 </rng:attribute>
4382 <rng:attribute name="svg:y">
4383 <rng:ref name="coordinate"/>
4384 </rng:attribute>
4385 <rng:attribute name="svg:width">
4386 <rng:ref name="length"/>
4387 </rng:attribute>
4388 <rng:attribute name="svg:height">
4389 <rng:ref name="length"/>
4390 </rng:attribute>
4391 <rng:optional>
4392 <rng:ref name="svg-title"/>
4393 </rng:optional>
4394 <rng:optional>
4395 <rng:ref name="svg-desc"/>
4396 </rng:optional>
4397 <rng:optional>
4398 <rng:ref name="office-event-listeners"/>
4399 </rng:optional>
4400 </rng:element>
4401 </rng:define>
4402 <rng:define name="draw-caption">
4403 <rng:element name="draw:caption">
4404 <rng:ref name="draw-caption-attlist"/>
4405 <rng:ref name="common-draw-position-attlist"/>
4406 <rng:ref name="common-draw-size-attlist"/>
4407 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
4408 <rng:ref name="common-draw-caption-id-attlist"/>
4409 <rng:optional>
4410 <rng:ref name="svg-title"/>
4411 </rng:optional>
4412 <rng:optional>
4413 <rng:ref name="svg-desc"/>
4414 </rng:optional>
4415 <rng:optional>
4416 <rng:ref name="office-event-listeners"/>
4417 </rng:optional>
4418 <rng:zeroOrMore>
4419 <rng:ref name="draw-glue-point"/>
4420 </rng:zeroOrMore>
4421 <rng:ref name="draw-text"/>
4422 </rng:element>
4423 </rng:define>
4424 <rng:define name="draw-caption-attlist">
4425 <rng:interleave>
4426 <rng:optional>
4427 <rng:attribute name="draw:caption-point-x">
4428 <rng:ref name="coordinate"/>
4429 </rng:attribute>
4430 <rng:attribute name="draw:caption-point-y">
4431 <rng:ref name="coordinate"/>
4432 </rng:attribute>
4433 </rng:optional>
4434 <rng:optional>
4435 <rng:attribute name="draw:corner-radius">
4436 <rng:ref name="nonNegativeLength"/>
4437 </rng:attribute>
4438 </rng:optional>
4439 </rng:interleave>
4440 </rng:define>
4441 <rng:define name="draw-circle">
4442 <rng:element name="draw:circle">
4443 <rng:choice>
4444 <rng:group>
4445 <rng:ref name="draw-circle-attlist"/>
4446 <rng:ref name="common-draw-circle-ellipse-pos-attlist"/>
4447 </rng:group>
4448 <rng:group>
4449 <rng:ref name="common-draw-position-attlist"/>
4450 <rng:ref name="common-draw-size-attlist"/>
4451 </rng:group>
4452 </rng:choice>
4453 <rng:ref name="common-draw-circle-ellipse-attlist"/>
4454 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
4455 <rng:ref name="common-draw-caption-id-attlist"/>
4456 <rng:optional>
4457 <rng:ref name="svg-title"/>
4458 </rng:optional>
4459 <rng:optional>
4460 <rng:ref name="svg-desc"/>
4461 </rng:optional>
4462 <rng:optional>
4463 <rng:ref name="office-event-listeners"/>
4464 </rng:optional>
4465 <rng:zeroOrMore>
4466 <rng:ref name="draw-glue-point"/>
4467 </rng:zeroOrMore>
4468 <rng:ref name="draw-text"/>
4469 </rng:element>
4470 </rng:define>
4471 <rng:define name="draw-circle-attlist">
4472 <rng:attribute name="svg:r">
4473 <rng:ref name="length"/>
4474 </rng:attribute>
4475 </rng:define>
4476 <rng:define name="draw-connector">
4477 <rng:element name="draw:connector">
4478 <rng:ref name="draw-connector-attlist"/>
4479 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
4480 <rng:ref name="common-draw-caption-id-attlist"/>
4481 <rng:ref name="common-draw-viewbox-attlist"/>
4482 <rng:optional>
4483 <rng:ref name="svg-title"/>
4484 </rng:optional>
4485 <rng:optional>
4486 <rng:ref name="svg-desc"/>
4487 </rng:optional>
4488 <rng:optional>
4489 <rng:ref name="office-event-listeners"/>
4490 </rng:optional>
4491 <rng:zeroOrMore>
4492 <rng:ref name="draw-glue-point"/>
4493 </rng:zeroOrMore>
4494 <rng:ref name="draw-text"/>
4495 </rng:element>
4496 </rng:define>
4497 <rng:define name="draw-connector-attlist">
4498 <rng:interleave>
4499 <rng:optional>
4500 <rng:attribute name="draw:type">
4501 <rng:choice>
4502 <rng:value>standard</rng:value>
4503 <rng:value>lines</rng:value>
4504 <rng:value>line</rng:value>
4505 <rng:value>curve</rng:value>
4506 </rng:choice>
4507 </rng:attribute>
4508 </rng:optional>
4509 <rng:optional>
4510 <rng:attribute name="svg:x1">
4511 <rng:ref name="coordinate"/>
4512 </rng:attribute>
4513 <rng:attribute name="svg:y1">
4514 <rng:ref name="coordinate"/>
4515 </rng:attribute>
4516 </rng:optional>
4517 <rng:optional>
4518 <rng:attribute name="draw:start-shape">
4519 <rng:ref name="IDREF"/>
4520 </rng:attribute>
4521 </rng:optional>
4522 <rng:optional>
4523 <rng:attribute name="draw:start-glue-point">
4524 <rng:ref name="nonNegativeInteger"/>
4525 </rng:attribute>
4526 </rng:optional>
4527 <rng:optional>
4528 <rng:attribute name="svg:x2">
4529 <rng:ref name="coordinate"/>
4530 </rng:attribute>
4531 <rng:attribute name="svg:y2">
4532 <rng:ref name="coordinate"/>
4533 </rng:attribute>
4534 </rng:optional>
4535 <rng:optional>
4536 <rng:attribute name="draw:end-shape">
4537 <rng:ref name="IDREF"/>
4538 </rng:attribute>
4539 </rng:optional>
4540 <rng:optional>
4541 <rng:attribute name="draw:end-glue-point">
4542 <rng:ref name="nonNegativeInteger"/>
4543 </rng:attribute>
4544 </rng:optional>
4545 <rng:optional>
4546 <rng:attribute name="draw:line-skew">
4547 <rng:list>
4548 <rng:ref name="length"/>
4549 <rng:optional>
4550 <rng:ref name="length"/>
4551 <rng:optional>
4552 <rng:ref name="length"/>
4553 </rng:optional>
4554 </rng:optional>
4555 </rng:list>
4556 </rng:attribute>
4557 </rng:optional>
4558 <rng:optional>
4559 <rng:attribute name="svg:d">
4560 <rng:ref name="pathData"/>
4561 </rng:attribute>
4562 </rng:optional>
4563 </rng:interleave>
4564 </rng:define>
4565 <rng:define name="draw-contour-path">
4566 <rng:element name="draw:contour-path">
4567 <rng:ref name="common-contour-attlist"/>
4568 <rng:ref name="common-draw-size-attlist"/>
4569 <rng:ref name="common-draw-viewbox-attlist"/>
4570 <rng:ref name="common-draw-path-data-attlist"/>
4571 <rng:empty/>
4572 </rng:element>
4573 </rng:define>
4574 <rng:define name="draw-contour-polygon">
4575 <rng:element name="draw:contour-polygon">
4576 <rng:ref name="common-contour-attlist"/>
4577 <rng:ref name="common-draw-size-attlist"/>
4578 <rng:ref name="common-draw-viewbox-attlist"/>
4579 <rng:ref name="common-draw-points-attlist"/>
4580 <rng:empty/>
4581 </rng:element>
4582 </rng:define>
4583 <rng:define name="draw-control">
4584 <rng:element name="draw:control">
4585 <rng:ref name="draw-control-attlist"/>
4586 <rng:ref name="common-draw-position-attlist"/>
4587 <rng:ref name="common-draw-size-attlist"/>
4588 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
4589 <rng:ref name="common-draw-caption-id-attlist"/>
4590 <rng:optional>
4591 <rng:ref name="svg-title"/>
4592 </rng:optional>
4593 <rng:optional>
4594 <rng:ref name="svg-desc"/>
4595 </rng:optional>
4596 <rng:zeroOrMore>
4597 <rng:ref name="draw-glue-point"/>
4598 </rng:zeroOrMore>
4599 </rng:element>
4600 </rng:define>
4601 <rng:define name="draw-control-attlist">
4602 <rng:attribute name="draw:control">
4603 <rng:ref name="IDREF"/>
4604 </rng:attribute>
4605 </rng:define>
4606 <rng:define name="draw-custom-shape">
4607 <rng:element name="draw:custom-shape">
4608 <rng:ref name="draw-custom-shape-attlist"/>
4609 <rng:ref name="common-draw-position-attlist"/>
4610 <rng:ref name="common-draw-size-attlist"/>
4611 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
4612 <rng:ref name="common-draw-caption-id-attlist"/>
4613 <rng:optional>
4614 <rng:ref name="svg-title"/>
4615 </rng:optional>
4616 <rng:optional>
4617 <rng:ref name="svg-desc"/>
4618 </rng:optional>
4619 <rng:optional>
4620 <rng:ref name="office-event-listeners"/>
4621 </rng:optional>
4622 <rng:zeroOrMore>
4623 <rng:ref name="draw-glue-point"/>
4624 </rng:zeroOrMore>
4625 <rng:ref name="draw-text"/>
4626 <rng:optional>
4627 <rng:ref name="draw-enhanced-geometry"/>
4628 </rng:optional>
4629 </rng:element>
4630 </rng:define>
4631 <rng:define name="draw-custom-shape-attlist">
4632 <rng:interleave>
4633 <rng:optional>
4634 <rng:attribute name="draw:engine">
4635 <rng:ref name="namespacedToken"/>
4636 </rng:attribute>
4637 </rng:optional>
4638 <rng:optional>
4639 <rng:attribute name="draw:data">
4640 <rng:ref name="string"/>
4641 </rng:attribute>
4642 </rng:optional>
4643 </rng:interleave>
4644 </rng:define>
4645 <rng:define name="draw-ellipse">
4646 <rng:element name="draw:ellipse">
4647 <rng:choice>
4648 <rng:group>
4649 <rng:ref name="draw-ellipse-attlist"/>
4650 <rng:ref name="common-draw-circle-ellipse-pos-attlist"/>
4651 </rng:group>
4652 <rng:group>
4653 <rng:ref name="common-draw-position-attlist"/>
4654 <rng:ref name="common-draw-size-attlist"/>
4655 </rng:group>
4656 </rng:choice>
4657 <rng:ref name="common-draw-circle-ellipse-attlist"/>
4658 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
4659 <rng:ref name="common-draw-caption-id-attlist"/>
4660 <rng:optional>
4661 <rng:ref name="svg-title"/>
4662 </rng:optional>
4663 <rng:optional>
4664 <rng:ref name="svg-desc"/>
4665 </rng:optional>
4666 <rng:optional>
4667 <rng:ref name="office-event-listeners"/>
4668 </rng:optional>
4669 <rng:zeroOrMore>
4670 <rng:ref name="draw-glue-point"/>
4671 </rng:zeroOrMore>
4672 <rng:ref name="draw-text"/>
4673 </rng:element>
4674 </rng:define>
4675 <rng:define name="draw-ellipse-attlist">
4676 <rng:attribute name="svg:rx">
4677 <rng:ref name="length"/>
4678 </rng:attribute>
4679 <rng:attribute name="svg:ry">
4680 <rng:ref name="length"/>
4681 </rng:attribute>
4682 </rng:define>
4683 <rng:define name="draw-enhanced-geometry">
4684 <rng:element name="draw:enhanced-geometry">
4685 <rng:ref name="draw-enhanced-geometry-attlist"/>
4686 <rng:zeroOrMore>
4687 <rng:ref name="draw-equation"/>
4688 </rng:zeroOrMore>
4689 <rng:zeroOrMore>
4690 <rng:ref name="draw-handle"/>
4691 </rng:zeroOrMore>
4692 </rng:element>
4693 </rng:define>
4694 <rng:define name="draw-enhanced-geometry-attlist">
4695 <rng:interleave>
4696 <rng:optional>
4697 <rng:attribute name="draw:type">
4698 <rng:ref name="custom-shape-type"/>
4699 </rng:attribute>
4700 </rng:optional>
4701 <rng:optional>
4702 <rng:attribute name="svg:viewBox">
4703 <rng:list>
4704 <rng:ref name="integer"/>
4705 <rng:ref name="integer"/>
4706 <rng:ref name="integer"/>
4707 <rng:ref name="integer"/>
4708 </rng:list>
4709 </rng:attribute>
4710 </rng:optional>
4711 <rng:optional>
4712 <rng:attribute name="draw:mirror-vertical">
4713 <rng:ref name="boolean"/>
4714 </rng:attribute>
4715 </rng:optional>
4716 <rng:optional>
4717 <rng:attribute name="draw:mirror-horizontal">
4718 <rng:ref name="boolean"/>
4719 </rng:attribute>
4720 </rng:optional>
4721 <rng:optional>
4722 <rng:attribute name="draw:text-rotate-angle">
4723 <rng:ref name="angle"/>
4724 </rng:attribute>
4725 </rng:optional>
4726 <rng:optional>
4727 <rng:attribute name="draw:extrusion-allowed">
4728 <rng:ref name="boolean"/>
4729 </rng:attribute>
4730 </rng:optional>
4731 <rng:optional>
4732 <rng:attribute name="draw:text-path-allowed">
4733 <rng:ref name="boolean"/>
4734 </rng:attribute>
4735 </rng:optional>
4736 <rng:optional>
4737 <rng:attribute name="draw:concentric-gradient-fill-allowed">
4738 <rng:ref name="boolean"/>
4739 </rng:attribute>
4740 </rng:optional>
4741 <rng:optional>
4742 <rng:attribute name="draw:extrusion">
4743 <rng:ref name="boolean"/>
4744 </rng:attribute>
4745 </rng:optional>
4746 <rng:optional>
4747 <rng:attribute name="draw:extrusion-brightness">
4748 <rng:ref name="zeroToHundredPercent"/>
4749 </rng:attribute>
4750 </rng:optional>
4751 <rng:optional>
4752 <rng:attribute name="draw:extrusion-depth">
4753 <rng:list>
4754 <rng:ref name="length"/>
4755 <rng:ref name="double"/>
4756 </rng:list>
4757 </rng:attribute>
4758 </rng:optional>
4759 <rng:optional>
4760 <rng:attribute name="draw:extrusion-diffusion">
4761 <rng:ref name="percent"/>
4762 </rng:attribute>
4763 </rng:optional>
4764 <rng:optional>
4765 <rng:attribute name="draw:extrusion-number-of-line-segments">
4766 <rng:ref name="integer"/>
4767 </rng:attribute>
4768 </rng:optional>
4769 <rng:optional>
4770 <rng:attribute name="draw:extrusion-light-face">
4771 <rng:ref name="boolean"/>
4772 </rng:attribute>
4773 </rng:optional>
4774 <rng:optional>
4775 <rng:attribute name="draw:extrusion-first-light-harsh">
4776 <rng:ref name="boolean"/>
4777 </rng:attribute>
4778 </rng:optional>
4779 <rng:optional>
4780 <rng:attribute name="draw:extrusion-second-light-harsh">
4781 <rng:ref name="boolean"/>
4782 </rng:attribute>
4783 </rng:optional>
4784 <rng:optional>
4785 <rng:attribute name="draw:extrusion-first-light-level">
4786 <rng:ref name="zeroToHundredPercent"/>
4787 </rng:attribute>
4788 </rng:optional>
4789 <rng:optional>
4790 <rng:attribute name="draw:extrusion-second-light-level">
4791 <rng:ref name="zeroToHundredPercent"/>
4792 </rng:attribute>
4793 </rng:optional>
4794 <rng:optional>
4795 <rng:attribute name="draw:extrusion-first-light-direction">
4796 <rng:ref name="vector3D"/>
4797 </rng:attribute>
4798 </rng:optional>
4799 <rng:optional>
4800 <rng:attribute name="draw:extrusion-second-light-direction">
4801 <rng:ref name="vector3D"/>
4802 </rng:attribute>
4803 </rng:optional>
4804 <rng:optional>
4805 <rng:attribute name="draw:extrusion-metal">
4806 <rng:ref name="boolean"/>
4807 </rng:attribute>
4808 </rng:optional>
4809 <rng:optional>
4810 <rng:attribute name="dr3d:shade-mode">
4811 <rng:choice>
4812 <rng:value>flat</rng:value>
4813 <rng:value>phong</rng:value>
4814 <rng:value>gouraud</rng:value>
4815 <rng:value>draft</rng:value>
4816 </rng:choice>
4817 </rng:attribute>
4818 </rng:optional>
4819 <rng:optional>
4820 <rng:attribute name="draw:extrusion-rotation-angle">
4821 <rng:list>
4822 <rng:ref name="angle"/>
4823 <rng:ref name="angle"/>
4824 </rng:list>
4825 </rng:attribute>
4826 </rng:optional>
4827 <rng:optional>
4828 <rng:attribute name="draw:extrusion-rotation-center">
4829 <rng:ref name="vector3D"/>
4830 </rng:attribute>
4831 </rng:optional>
4832 <rng:optional>
4833 <rng:attribute name="draw:extrusion-shininess">
4834 <rng:ref name="zeroToHundredPercent"/>
4835 </rng:attribute>
4836 </rng:optional>
4837 <rng:optional>
4838 <rng:attribute name="draw:extrusion-skew">
4839 <rng:list>
4840 <rng:ref name="double"/>
4841 <rng:ref name="angle"/>
4842 </rng:list>
4843 </rng:attribute>
4844 </rng:optional>
4845 <rng:optional>
4846 <rng:attribute name="draw:extrusion-specularity">
4847 <rng:ref name="zeroToHundredPercent"/>
4848 </rng:attribute>
4849 </rng:optional>
4850 <rng:optional>
4851 <rng:attribute name="dr3d:projection">
4852 <rng:choice>
4853 <rng:value>parallel</rng:value>
4854 <rng:value>perspective</rng:value>
4855 </rng:choice>
4856 </rng:attribute>
4857 </rng:optional>
4858 <rng:optional>
4859 <rng:attribute name="draw:extrusion-viewpoint">
4860 <rng:ref name="point3D"/>
4861 </rng:attribute>
4862 </rng:optional>
4863 <rng:optional>
4864 <rng:attribute name="draw:extrusion-origin">
4865 <rng:list>
4866 <rng:ref name="extrusionOrigin"/>
4867 <rng:ref name="extrusionOrigin"/>
4868 </rng:list>
4869 </rng:attribute>
4870 </rng:optional>
4871 <rng:optional>
4872 <rng:attribute name="draw:extrusion-color">
4873 <rng:ref name="boolean"/>
4874 </rng:attribute>
4875 </rng:optional>
4876 <rng:optional>
4877 <rng:attribute name="draw:enhanced-path">
4878 <rng:ref name="string"/>
4879 </rng:attribute>
4880 </rng:optional>
4881 <rng:optional>
4882 <rng:attribute name="draw:path-stretchpoint-x">
4883 <rng:ref name="double"/>
4884 </rng:attribute>
4885 </rng:optional>
4886 <rng:optional>
4887 <rng:attribute name="draw:path-stretchpoint-y">
4888 <rng:ref name="double"/>
4889 </rng:attribute>
4890 </rng:optional>
4891 <rng:optional>
4892 <rng:attribute name="draw:text-areas">
4893 <rng:ref name="string"/>
4894 </rng:attribute>
4895 </rng:optional>
4896 <rng:optional>
4897 <rng:attribute name="draw:glue-points">
4898 <rng:ref name="string"/>
4899 </rng:attribute>
4900 </rng:optional>
4901 <rng:optional>
4902 <rng:attribute name="draw:glue-point-type">
4903 <rng:choice>
4904 <rng:value>none</rng:value>
4905 <rng:value>segments</rng:value>
4906 <rng:value>rectangle</rng:value>
4907 </rng:choice>
4908 </rng:attribute>
4909 </rng:optional>
4910 <rng:optional>
4911 <rng:attribute name="draw:glue-point-leaving-directions">
4912 <rng:ref name="string"/>
4913 </rng:attribute>
4914 </rng:optional>
4915 <rng:optional>
4916 <rng:attribute name="draw:text-path">
4917 <rng:ref name="boolean"/>
4918 </rng:attribute>
4919 </rng:optional>
4920 <rng:optional>
4921 <rng:attribute name="draw:text-path-mode">
4922 <rng:choice>
4923 <rng:value>normal</rng:value>
4924 <rng:value>path</rng:value>
4925 <rng:value>shape</rng:value>
4926 </rng:choice>
4927 </rng:attribute>
4928 </rng:optional>
4929 <rng:optional>
4930 <rng:attribute name="draw:text-path-scale">
4931 <rng:choice>
4932 <rng:value>path</rng:value>
4933 <rng:value>shape</rng:value>
4934 </rng:choice>
4935 </rng:attribute>
4936 </rng:optional>
4937 <rng:optional>
4938 <rng:attribute name="draw:text-path-same-letter-heights">
4939 <rng:ref name="boolean"/>
4940 </rng:attribute>
4941 </rng:optional>
4942 <rng:optional>
4943 <rng:attribute name="draw:modifiers">
4944 <rng:ref name="string"/>
4945 </rng:attribute>
4946 </rng:optional>
4947 </rng:interleave>
4948 </rng:define>
4949 <rng:define name="draw-equation">
4950 <rng:element name="draw:equation">
4951 <rng:ref name="draw-equation-attlist"/>
4952 <rng:empty/>
4953 </rng:element>
4954 </rng:define>
4955 <rng:define name="draw-equation-attlist">
4956 <rng:interleave>
4957 <rng:optional>
4958 <rng:attribute name="draw:name">
4959 <rng:ref name="string"/>
4960 </rng:attribute>
4961 </rng:optional>
4962 <rng:optional>
4963 <rng:attribute name="draw:formula">
4964 <rng:ref name="string"/>
4965 </rng:attribute>
4966 </rng:optional>
4967 </rng:interleave>
4968 </rng:define>
4969 <rng:define name="draw-fill-image">
4970 <rng:element name="draw:fill-image">
4971 <rng:ref name="draw-fill-image-attlist"/>
4972 <!-- XLink duplicate declaration removed. see common-draw-data-attlist -->
4973 <rng:choice>
4974 <rng:group>
4975 <rng:ref name="common-draw-data-attlist"/>
4976 <rng:empty/>
4977 </rng:group>
4978 <rng:ref name="office-binary-data"/>
4979 </rng:choice>
4980 <!-- https://issues.oasis-open.org/browse/OFFICE-3933 -->
4981 </rng:element>
4982 </rng:define>
4983 <rng:define name="draw-fill-image-attlist">
4984 <rng:interleave>
4985 <rng:attribute name="draw:name">
4986 <rng:ref name="styleName"/>
4987 </rng:attribute>
4988 <rng:optional>
4989 <rng:attribute name="draw:display-name">
4990 <rng:ref name="string"/>
4991 </rng:attribute>
4992 </rng:optional>
4993 <rng:optional>
4994 <rng:attribute name="svg:width">
4995 <rng:ref name="length"/>
4996 </rng:attribute>
4997 </rng:optional>
4998 <rng:optional>
4999 <rng:attribute name="svg:height">
5000 <rng:ref name="length"/>
5001 </rng:attribute>
5002 </rng:optional>
5003 </rng:interleave>
5004 </rng:define>
5005 <rng:define name="draw-floating-frame">
5006 <rng:element name="draw:floating-frame">
5007 <rng:ref name="draw-floating-frame-attlist"/>
5008 <rng:ref name="common-draw-data-attlist"/>
5009 </rng:element>
5010 </rng:define>
5011 <rng:define name="draw-floating-frame-attlist">
5012 <rng:interleave>
5013 <rng:optional>
5014 <rng:attribute name="draw:frame-name">
5015 <rng:ref name="string"/>
5016 </rng:attribute>
5017 </rng:optional>
5018 <rng:optional>
5019 <rng:ref name="xml-id"/>
5020 </rng:optional>
5021 </rng:interleave>
5022 </rng:define>
5023 <rng:define name="draw-frame">
5024 <rng:element name="draw:frame">
5025 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
5026 <rng:ref name="common-draw-position-attlist"/>
5027 <rng:ref name="common-draw-rel-size-attlist"/>
5028 <rng:ref name="common-draw-caption-id-attlist"/>
5029 <rng:ref name="presentation-shape-attlist"/>
5030 <rng:ref name="draw-frame-attlist"/>
5031 <rng:zeroOrMore>
5032 <rng:choice>
5033 <rng:ref name="draw-text-box"/>
5034 <rng:ref name="draw-image"/>
5035 <rng:ref name="draw-object"/>
5036 <rng:ref name="draw-object-ole"/>
5037 <rng:ref name="draw-applet"/>
5038 <rng:ref name="draw-floating-frame"/>
5039 <rng:ref name="draw-plugin"/>
5040 <rng:ref name="table-table"/>
5041 </rng:choice>
5042 </rng:zeroOrMore>
5043 <rng:optional>
5044 <rng:ref name="office-event-listeners"/>
5045 </rng:optional>
5046 <rng:zeroOrMore>
5047 <rng:ref name="draw-glue-point"/>
5048 </rng:zeroOrMore>
5049 <rng:optional>
5050 <rng:ref name="draw-image-map"/>
5051 </rng:optional>
5052 <rng:optional>
5053 <rng:ref name="svg-title"/>
5054 </rng:optional>
5055 <rng:optional>
5056 <rng:ref name="svg-desc"/>
5057 </rng:optional>
5058 <rng:optional>
5059 <rng:choice>
5060 <rng:ref name="draw-contour-polygon"/>
5061 <rng:ref name="draw-contour-path"/>
5062 </rng:choice>
5063 </rng:optional>
5064 </rng:element>
5065 </rng:define>
5066 <rng:define name="draw-frame-attlist">
5067 <rng:optional>
5068 <rng:attribute name="draw:copy-of">
5069 <rng:ref name="string"/>
5070 </rng:attribute>
5071 </rng:optional>
5072 </rng:define>
5073 <rng:define name="draw-g">
5074 <rng:element name="draw:g">
5075 <rng:ref name="draw-g-attlist"/>
5076 <rng:ref name="common-draw-z-index-attlist"/>
5077 <rng:ref name="common-draw-name-attlist"/>
5078 <rng:ref name="common-draw-id-attlist"/>
5079 <rng:ref name="common-draw-style-name-attlist"/>
5080 <rng:ref name="common-text-spreadsheet-shape-attlist"/>
5081 <rng:ref name="common-draw-caption-id-attlist"/>
5082 <rng:optional>
5083 <rng:ref name="svg-title"/>
5084 </rng:optional>
5085 <rng:optional>
5086 <rng:ref name="svg-desc"/>
5087 </rng:optional>
5088 <rng:optional>
5089 <rng:ref name="office-event-listeners"/>
5090 </rng:optional>
5091 <rng:zeroOrMore>
5092 <rng:ref name="draw-glue-point"/>
5093 </rng:zeroOrMore>
5094 <rng:zeroOrMore>
5095 <rng:ref name="shape"/>
5096 </rng:zeroOrMore>
5097 </rng:element>
5098 </rng:define>
5099 <rng:define name="draw-g-attlist">
5100 <rng:optional>
5101 <rng:attribute name="svg:y">
5102 <rng:ref name="coordinate"/>
5103 </rng:attribute>
5104 </rng:optional>
5105 </rng:define>
5106 <rng:define name="draw-glue-point">
5107 <rng:element name="draw:glue-point">
5108 <rng:ref name="draw-glue-point-attlist"/>
5109 <rng:empty/>
5110 </rng:element>
5111 </rng:define>
5112 <rng:define name="draw-glue-point-attlist">
5113 <rng:interleave>
5114 <rng:attribute name="draw:id">
5115 <rng:ref name="nonNegativeInteger"/>
5116 </rng:attribute>
5117 <rng:attribute name="svg:x">
5118 <rng:choice>
5119 <rng:ref name="distance"/>
5120 <rng:ref name="percent"/>
5121 </rng:choice>
5122 </rng:attribute>
5123 <rng:attribute name="svg:y">
5124 <rng:choice>
5125 <rng:ref name="distance"/>
5126 <rng:ref name="percent"/>
5127 </rng:choice>
5128 </rng:attribute>
5129 <rng:optional>
5130 <rng:attribute name="draw:align">
5131 <rng:choice>
5132 <rng:value>top-left</rng:value>
5133 <rng:value>top</rng:value>
5134 <rng:value>top-right</rng:value>
5135 <rng:value>left</rng:value>
5136 <rng:value>center</rng:value>
5137 <rng:value>right</rng:value>
5138 <rng:value>bottom-left</rng:value>
5139 <rng:value>bottom-right</rng:value>
5140 </rng:choice>
5141 </rng:attribute>
5142 </rng:optional>
5143 <rng:attribute name="draw:escape-direction">
5144 <rng:choice>
5145 <rng:value>auto</rng:value>
5146 <rng:value>left</rng:value>
5147 <rng:value>right</rng:value>
5148 <rng:value>up</rng:value>
5149 <rng:value>down</rng:value>
5150 <rng:value>horizontal</rng:value>
5151 <rng:value>vertical</rng:value>
5152 </rng:choice>
5153 </rng:attribute>
5154 </rng:interleave>
5155 </rng:define>
5156 <rng:define name="draw-gradient">
5157 <rng:element name="draw:gradient">
5158 <rng:ref name="common-draw-gradient-attlist"/>
5159 <rng:ref name="draw-gradient-attlist"/>
5160 <rng:empty/>
5161 </rng:element>
5162 </rng:define>
5163 <rng:define name="draw-gradient-attlist">
5164 <rng:interleave>
5165 <rng:optional>
5166 <rng:attribute name="draw:start-color">
5167 <rng:ref name="color"/>
5168 </rng:attribute>
5169 </rng:optional>
5170 <rng:optional>
5171 <rng:attribute name="draw:end-color">
5172 <rng:ref name="color"/>
5173 </rng:attribute>
5174 </rng:optional>
5175 <rng:optional>
5176 <rng:attribute name="draw:start-intensity">
5177 <rng:ref name="zeroToHundredPercent"/>
5178 </rng:attribute>
5179 </rng:optional>
5180 <rng:optional>
5181 <rng:attribute name="draw:end-intensity">
5182 <rng:ref name="zeroToHundredPercent"/>
5183 </rng:attribute>
5184 </rng:optional>
5185 </rng:interleave>
5186 </rng:define>
5187 <rng:define name="draw-handle">
5188 <rng:element name="draw:handle">
5189 <rng:ref name="draw-handle-attlist"/>
5190 <rng:empty/>
5191 </rng:element>
5192 </rng:define>
5193 <rng:define name="draw-handle-attlist">
5194 <rng:interleave>
5195 <rng:optional>
5196 <rng:attribute name="draw:handle-mirror-vertical">
5197 <rng:ref name="boolean"/>
5198 </rng:attribute>
5199 </rng:optional>
5200 <rng:optional>
5201 <rng:attribute name="draw:handle-mirror-horizontal">
5202 <rng:ref name="boolean"/>
5203 </rng:attribute>
5204 </rng:optional>
5205 <rng:optional>
5206 <rng:attribute name="draw:handle-switched">
5207 <rng:ref name="boolean"/>
5208 </rng:attribute>
5209 </rng:optional>
5210 <rng:attribute name="draw:handle-position">
5211 <rng:ref name="string"/>
5212 </rng:attribute>
5213 <rng:optional>
5214 <rng:attribute name="draw:handle-range-x-minimum">
5215 <rng:ref name="string"/>
5216 </rng:attribute>
5217 </rng:optional>
5218 <rng:optional>
5219 <rng:attribute name="draw:handle-range-x-maximum">
5220 <rng:ref name="string"/>
5221 </rng:attribute>
5222 </rng:optional>
5223 <rng:optional>
5224 <rng:attribute name="draw:handle-range-y-minimum">
5225 <rng:ref name="string"/>
5226 </rng:attribute>
5227 </rng:optional>
5228 <rng:optional>
5229 <rng:attribute name="draw:handle-range-y-maximum">
5230 <rng:ref name="string"/>
5231 </rng:attribute>
5232 </rng:optional>
5233 <rng:optional>
5234 <rng:attribute name="draw:handle-polar">
5235 <rng:ref name="string"/>
5236 </rng:attribute>
5237 </rng:optional>
5238 <rng:optional>
5239 <rng:attribute name="draw:handle-radius-range-minimum">
5240 <rng:ref name="string"/>
5241 </rng:attribute>
5242 </rng:optional>
5243 <rng:optional>
5244 <rng:attribute name="draw:handle-radius-range-maximum">
5245 <rng:ref name="string"/>
5246 </rng:attribute>
5247 </rng:optional>
5248 </rng:interleave>
5249 </rng:define>
5250 <rng:define name="draw-hatch">
5251 <rng:element name="draw:hatch">
5252 <rng:ref name="draw-hatch-attlist"/>
5253 <rng:empty/>
5254 </rng:element>
5255 </rng:define>
5256 <rng:define name="draw-hatch-attlist">
5257 <rng:interleave>
5258 <rng:attribute name="draw:name">
5259 <rng:ref name="styleName"/>
5260 </rng:attribute>
5261 <rng:optional>
5262 <rng:attribute name="draw:display-name">
5263 <rng:ref name="string"/>
5264 </rng:attribute>
5265 </rng:optional>
5266 <rng:attribute name="draw:style">
5267 <rng:choice>
5268 <rng:value>single</rng:value>
5269 <rng:value>double</rng:value>
5270 <rng:value>triple</rng:value>
5271 </rng:choice>
5272 </rng:attribute>
5273 <rng:optional>
5274 <rng:attribute name="draw:color">
5275 <rng:ref name="color"/>
5276 </rng:attribute>
5277 </rng:optional>
5278 <rng:optional>
5279 <rng:attribute name="draw:distance">
5280 <rng:ref name="length"/>
5281 </rng:attribute>
5282 </rng:optional>
5283 <rng:optional>
5284 <rng:attribute name="draw:rotation">
5285 <rng:ref name="angle"/>
5286 </rng:attribute>
5287 </rng:optional>
5288 </rng:interleave>
5289 </rng:define>
5290 <rng:define name="draw-image">
5291 <rng:element name="draw:image">
5292 <rng:ref name="draw-image-attlist"/>
5293 <rng:choice>
5294 <rng:ref name="common-draw-data-attlist"/>
5295 <rng:ref name="office-binary-data"/>
5296 </rng:choice>
5297 <rng:ref name="draw-text"/>
5298 </rng:element>
5299 </rng:define>
5300 <rng:define name="draw-image-attlist">
5301 <rng:interleave>
5302 <rng:optional>
5303 <rng:attribute name="draw:filter-name">
5304 <rng:ref name="string"/>
5305 </rng:attribute>
5306 </rng:optional>
5307 <rng:ref name="common-draw-mime-type-attlist"/>
5308 <!-- https://issues.oasis-open.org/browse/OFFICE-3943 -->
5309 <rng:optional>
5310 <rng:ref name="xml-id"/>
5311 </rng:optional>
5312 </rng:interleave>
5313 </rng:define>
5314 <rng:define name="draw-image-map">
5315 <rng:element name="draw:image-map">
5316 <rng:zeroOrMore>
5317 <rng:choice>
5318 <rng:ref name="draw-area-rectangle"/>
5319 <rng:ref name="draw-area-circle"/>
5320 <rng:ref name="draw-area-polygon"/>
5321 </rng:choice>
5322 </rng:zeroOrMore>
5323 </rng:element>
5324 </rng:define>
5325 <rng:define name="draw-layer">
5326 <rng:element name="draw:layer">
5327 <rng:ref name="draw-layer-attlist"/>
5328 <rng:optional>
5329 <rng:ref name="svg-title"/>
5330 </rng:optional>
5331 <rng:optional>
5332 <rng:ref name="svg-desc"/>
5333 </rng:optional>
5334 </rng:element>
5335 </rng:define>
5336 <rng:define name="draw-layer-attlist">
5337 <rng:interleave>
5338 <rng:attribute name="draw:name">
5339 <rng:ref name="string"/>
5340 </rng:attribute>
5341 <rng:optional>
5342 <rng:attribute name="draw:protected">
5343 <rng:ref name="boolean"/>
5344 </rng:attribute>
5345 </rng:optional>
5346 <rng:optional>
5347 <rng:attribute name="draw:display">
5348 <rng:choice>
5349 <rng:value>always</rng:value>
5350 <rng:value>screen</rng:value>
5351 <rng:value>printer</rng:value>
5352 <rng:value>none</rng:value>
5353 </rng:choice>
5354 </rng:attribute>
5355 </rng:optional>
5356 </rng:interleave>
5357 </rng:define>
5358 <rng:define name="draw-layer-set">
5359 <rng:element name="draw:layer-set">
5360 <rng:zeroOrMore>
5361 <rng:ref name="draw-layer"/>
5362 </rng:zeroOrMore>
5363 </rng:element>
5364 </rng:define>
5365 <rng:define name="draw-line">
5366 <rng:element name="draw:line">
5367 <rng:ref name="draw-line-attlist"/>
5368 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
5369 <rng:ref name="common-draw-caption-id-attlist"/>
5370 <rng:optional>
5371 <rng:ref name="svg-title"/>
5372 </rng:optional>
5373 <rng:optional>
5374 <rng:ref name="svg-desc"/>
5375 </rng:optional>
5376 <rng:optional>
5377 <rng:ref name="office-event-listeners"/>
5378 </rng:optional>
5379 <rng:zeroOrMore>
5380 <rng:ref name="draw-glue-point"/>
5381 </rng:zeroOrMore>
5382 <rng:ref name="draw-text"/>
5383 </rng:element>
5384 </rng:define>
5385 <rng:define name="draw-line-attlist">
5386 <rng:interleave>
5387 <rng:attribute name="svg:x1">
5388 <rng:ref name="coordinate"/>
5389 </rng:attribute>
5390 <rng:attribute name="svg:y1">
5391 <rng:ref name="coordinate"/>
5392 </rng:attribute>
5393 <rng:attribute name="svg:x2">
5394 <rng:ref name="coordinate"/>
5395 </rng:attribute>
5396 <rng:attribute name="svg:y2">
5397 <rng:ref name="coordinate"/>
5398 </rng:attribute>
5399 </rng:interleave>
5400 </rng:define>
5401 <rng:define name="draw-marker">
5402 <rng:element name="draw:marker">
5403 <rng:ref name="draw-marker-attlist"/>
5404 <rng:ref name="common-draw-viewbox-attlist"/>
5405 <rng:ref name="common-draw-path-data-attlist"/>
5406 <rng:empty/>
5407 </rng:element>
5408 </rng:define>
5409 <rng:define name="draw-marker-attlist">
5410 <rng:interleave>
5411 <rng:attribute name="draw:name">
5412 <rng:ref name="styleName"/>
5413 </rng:attribute>
5414 <rng:optional>
5415 <rng:attribute name="draw:display-name">
5416 <rng:ref name="string"/>
5417 </rng:attribute>
5418 </rng:optional>
5419 </rng:interleave>
5420 </rng:define>
5421 <rng:define name="draw-measure">
5422 <rng:element name="draw:measure">
5423 <rng:ref name="draw-measure-attlist"/>
5424 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
5425 <rng:ref name="common-draw-caption-id-attlist"/>
5426 <rng:optional>
5427 <rng:ref name="svg-title"/>
5428 </rng:optional>
5429 <rng:optional>
5430 <rng:ref name="svg-desc"/>
5431 </rng:optional>
5432 <rng:optional>
5433 <rng:ref name="office-event-listeners"/>
5434 </rng:optional>
5435 <rng:zeroOrMore>
5436 <rng:ref name="draw-glue-point"/>
5437 </rng:zeroOrMore>
5438 <rng:ref name="draw-text"/>
5439 </rng:element>
5440 </rng:define>
5441 <rng:define name="draw-measure-attlist">
5442 <rng:interleave>
5443 <rng:attribute name="svg:x1">
5444 <rng:ref name="coordinate"/>
5445 </rng:attribute>
5446 <rng:attribute name="svg:y1">
5447 <rng:ref name="coordinate"/>
5448 </rng:attribute>
5449 <rng:attribute name="svg:x2">
5450 <rng:ref name="coordinate"/>
5451 </rng:attribute>
5452 <rng:attribute name="svg:y2">
5453 <rng:ref name="coordinate"/>
5454 </rng:attribute>
5455 </rng:interleave>
5456 </rng:define>
5457 <rng:define name="draw-object">
5458 <rng:element name="draw:object">
5459 <rng:ref name="draw-object-attlist"/>
5460 <rng:choice>
5461 <rng:ref name="common-draw-data-attlist"/>
5462 <rng:ref name="office-document"/>
5463 <rng:ref name="math-math"/>
5464 </rng:choice>
5465 </rng:element>
5466 </rng:define>
5467 <rng:define name="draw-object-attlist">
5468 <rng:interleave>
5469 <rng:optional>
5470 <rng:attribute name="draw:notify-on-update-of-ranges">
5471 <rng:choice>
5472 <rng:ref name="cellRangeAddressList"/>
5473 <rng:ref name="string"/>
5474 </rng:choice>
5475 </rng:attribute>
5476 </rng:optional>
5477 <rng:optional>
5478 <rng:ref name="xml-id"/>
5479 </rng:optional>
5480 </rng:interleave>
5481 </rng:define>
5482 <rng:define name="draw-object-ole">
5483 <rng:element name="draw:object-ole">
5484 <rng:ref name="draw-object-ole-attlist"/>
5485 <rng:choice>
5486 <rng:ref name="common-draw-data-attlist"/>
5487 <rng:ref name="office-binary-data"/>
5488 </rng:choice>
5489 </rng:element>
5490 </rng:define>
5491 <rng:define name="draw-object-ole-attlist">
5492 <rng:interleave>
5493 <rng:optional>
5494 <rng:attribute name="draw:class-id">
5495 <rng:ref name="string"/>
5496 </rng:attribute>
5497 </rng:optional>
5498 <rng:optional>
5499 <rng:ref name="xml-id"/>
5500 </rng:optional>
5501 </rng:interleave>
5502 </rng:define>
5503 <rng:define name="draw-opacity">
5504 <rng:element name="draw:opacity">
5505 <rng:ref name="common-draw-gradient-attlist"/>
5506 <rng:ref name="draw-opacity-attlist"/>
5507 <rng:empty/>
5508 </rng:element>
5509 </rng:define>
5510 <rng:define name="draw-opacity-attlist">
5511 <rng:optional>
5512 <rng:attribute name="draw:start">
5513 <rng:ref name="zeroToHundredPercent"/>
5514 </rng:attribute>
5515 </rng:optional>
5516 <rng:optional>
5517 <rng:attribute name="draw:end">
5518 <rng:ref name="zeroToHundredPercent"/>
5519 </rng:attribute>
5520 </rng:optional>
5521 </rng:define>
5522 <rng:define name="draw-page">
5523 <rng:element name="draw:page">
5524 <rng:ref name="common-presentation-header-footer-attlist"/>
5525 <rng:ref name="draw-page-attlist"/>
5526 <rng:optional>
5527 <rng:ref name="svg-title"/>
5528 </rng:optional>
5529 <rng:optional>
5530 <rng:ref name="svg-desc"/>
5531 </rng:optional>
5532 <rng:optional>
5533 <rng:ref name="draw-layer-set"/>
5534 </rng:optional>
5535 <rng:optional>
5536 <rng:ref name="office-forms"/>
5537 </rng:optional>
5538 <rng:zeroOrMore>
5539 <rng:ref name="shape"/>
5540 </rng:zeroOrMore>
5541 <rng:optional>
5542 <rng:choice>
5543 <rng:ref name="presentation-animations"/>
5544 <rng:ref name="animation-element"/>
5545 </rng:choice>
5546 </rng:optional>
5547 <rng:optional>
5548 <rng:ref name="presentation-notes"/>
5549 </rng:optional>
5550 </rng:element>
5551 </rng:define>
5552 <rng:define name="draw-page-attlist">
5553 <rng:interleave>
5554 <rng:optional>
5555 <rng:attribute name="draw:name">
5556 <rng:ref name="string"/>
5557 </rng:attribute>
5558 </rng:optional>
5559 <rng:optional>
5560 <rng:attribute name="draw:style-name">
5561 <rng:ref name="styleNameRef"/>
5562 </rng:attribute>
5563 </rng:optional>
5564 <rng:attribute name="draw:master-page-name">
5565 <rng:ref name="styleNameRef"/>
5566 </rng:attribute>
5567 <rng:optional>
5568 <rng:attribute name="presentation:presentation-page-layout-name">
5569 <rng:ref name="styleNameRef"/>
5570 </rng:attribute>
5571 </rng:optional>
5572 <rng:optional>
5573 <rng:group>
5574 <rng:ref name="xml-id"/>
5575 <rng:optional>
5576 <rng:attribute name="draw:id">
5577 <rng:ref name="NCName"/>
5578 </rng:attribute>
5579 </rng:optional>
5580 </rng:group>
5581 </rng:optional>
5582 <rng:optional>
5583 <rng:attribute name="draw:nav-order">
5584 <rng:ref name="IDREFS"/>
5585 </rng:attribute>
5586 </rng:optional>
5587 </rng:interleave>
5588 </rng:define>
5589 <rng:define name="draw-page-thumbnail">
5590 <rng:element name="draw:page-thumbnail">
5591 <rng:ref name="draw-page-thumbnail-attlist"/>
5592 <rng:ref name="common-draw-position-attlist"/>
5593 <rng:ref name="common-draw-size-attlist"/>
5594 <rng:ref name="presentation-shape-attlist"/>
5595 <rng:ref name="common-draw-shape-with-styles-attlist"/>
5596 <rng:ref name="common-draw-caption-id-attlist"/>
5597 <rng:optional>
5598 <rng:ref name="svg-title"/>
5599 </rng:optional>
5600 <rng:optional>
5601 <rng:ref name="svg-desc"/>
5602 </rng:optional>
5603 </rng:element>
5604 </rng:define>
5605 <rng:define name="draw-page-thumbnail-attlist">
5606 <rng:optional>
5607 <rng:attribute name="draw:page-number">
5608 <rng:ref name="positiveInteger"/>
5609 </rng:attribute>
5610 </rng:optional>
5611 </rng:define>
5612 <rng:define name="draw-param">
5613 <rng:element name="draw:param">
5614 <rng:ref name="draw-param-attlist"/>
5615 <rng:empty/>
5616 </rng:element>
5617 </rng:define>
5618 <rng:define name="draw-param-attlist">
5619 <rng:interleave>
5620 <rng:optional>
5621 <rng:attribute name="draw:name">
5622 <rng:ref name="string"/>
5623 </rng:attribute>
5624 </rng:optional>
5625 <rng:optional>
5626 <rng:attribute name="draw:value">
5627 <rng:ref name="string"/>
5628 </rng:attribute>
5629 </rng:optional>
5630 </rng:interleave>
5631 </rng:define>
5632 <rng:define name="draw-path">
5633 <rng:element name="draw:path">
5634 <rng:ref name="common-draw-path-data-attlist"/>
5635 <rng:ref name="common-draw-position-attlist"/>
5636 <rng:ref name="common-draw-size-attlist"/>
5637 <rng:ref name="common-draw-viewbox-attlist"/>
5638 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
5639 <rng:ref name="common-draw-caption-id-attlist"/>
5640 <rng:optional>
5641 <rng:ref name="svg-title"/>
5642 </rng:optional>
5643 <rng:optional>
5644 <rng:ref name="svg-desc"/>
5645 </rng:optional>
5646 <rng:optional>
5647 <rng:ref name="office-event-listeners"/>
5648 </rng:optional>
5649 <rng:zeroOrMore>
5650 <rng:ref name="draw-glue-point"/>
5651 </rng:zeroOrMore>
5652 <rng:ref name="draw-text"/>
5653 </rng:element>
5654 </rng:define>
5655 <rng:define name="draw-plugin">
5656 <rng:element name="draw:plugin">
5657 <rng:ref name="draw-plugin-attlist"/>
5658 <rng:ref name="common-draw-data-attlist"/>
5659 <rng:zeroOrMore>
5660 <rng:ref name="draw-param"/>
5661 </rng:zeroOrMore>
5662 </rng:element>
5663 </rng:define>
5664 <rng:define name="draw-plugin-attlist">
5665 <rng:interleave>
5666 <rng:ref name="common-draw-mime-type-attlist"/>
5667 <rng:optional>
5668 <rng:ref name="xml-id"/>
5669 </rng:optional>
5670 </rng:interleave>
5671 </rng:define>
5672 <!-- https://issues.oasis-open.org/browse/OFFICE-3943 -->
5673 <rng:define name="draw-polygon">
5674 <rng:element name="draw:polygon">
5675 <rng:ref name="common-draw-points-attlist"/>
5676 <rng:ref name="common-draw-position-attlist"/>
5677 <rng:ref name="common-draw-size-attlist"/>
5678 <rng:ref name="common-draw-viewbox-attlist"/>
5679 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
5680 <rng:ref name="common-draw-caption-id-attlist"/>
5681 <rng:optional>
5682 <rng:ref name="svg-title"/>
5683 </rng:optional>
5684 <rng:optional>
5685 <rng:ref name="svg-desc"/>
5686 </rng:optional>
5687 <rng:optional>
5688 <rng:ref name="office-event-listeners"/>
5689 </rng:optional>
5690 <rng:zeroOrMore>
5691 <rng:ref name="draw-glue-point"/>
5692 </rng:zeroOrMore>
5693 <rng:ref name="draw-text"/>
5694 </rng:element>
5695 </rng:define>
5696 <rng:define name="draw-polyline">
5697 <rng:element name="draw:polyline">
5698 <rng:ref name="common-draw-points-attlist"/>
5699 <rng:ref name="common-draw-position-attlist"/>
5700 <rng:ref name="common-draw-size-attlist"/>
5701 <rng:ref name="common-draw-viewbox-attlist"/>
5702 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
5703 <rng:ref name="common-draw-caption-id-attlist"/>
5704 <rng:optional>
5705 <rng:ref name="svg-title"/>
5706 </rng:optional>
5707 <rng:optional>
5708 <rng:ref name="svg-desc"/>
5709 </rng:optional>
5710 <rng:optional>
5711 <rng:ref name="office-event-listeners"/>
5712 </rng:optional>
5713 <rng:zeroOrMore>
5714 <rng:ref name="draw-glue-point"/>
5715 </rng:zeroOrMore>
5716 <rng:ref name="draw-text"/>
5717 </rng:element>
5718 </rng:define>
5719 <rng:define name="draw-rect">
5720 <rng:element name="draw:rect">
5721 <rng:ref name="draw-rect-attlist"/>
5722 <rng:ref name="common-draw-position-attlist"/>
5723 <rng:ref name="common-draw-size-attlist"/>
5724 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
5725 <rng:ref name="common-draw-caption-id-attlist"/>
5726 <rng:optional>
5727 <rng:ref name="svg-title"/>
5728 </rng:optional>
5729 <rng:optional>
5730 <rng:ref name="svg-desc"/>
5731 </rng:optional>
5732 <rng:optional>
5733 <rng:ref name="office-event-listeners"/>
5734 </rng:optional>
5735 <rng:zeroOrMore>
5736 <rng:ref name="draw-glue-point"/>
5737 </rng:zeroOrMore>
5738 <rng:ref name="draw-text"/>
5739 </rng:element>
5740 </rng:define>
5741 <rng:define name="draw-rect-attlist">
5742 <rng:choice>
5743 <rng:optional>
5744 <rng:attribute name="draw:corner-radius">
5745 <rng:ref name="nonNegativeLength"/>
5746 </rng:attribute>
5747 </rng:optional>
5748 <rng:group>
5749 <rng:optional>
5750 <rng:attribute name="svg:rx">
5751 <rng:ref name="nonNegativeLength"/>
5752 </rng:attribute>
5753 </rng:optional>
5754 <rng:optional>
5755 <rng:attribute name="svg:ry">
5756 <rng:ref name="nonNegativeLength"/>
5757 </rng:attribute>
5758 </rng:optional>
5759 </rng:group>
5760 </rng:choice>
5761 </rng:define>
5762 <rng:define name="draw-regular-polygon">
5763 <rng:element name="draw:regular-polygon">
5764 <rng:ref name="draw-regular-polygon-attlist"/>
5765 <rng:ref name="common-draw-position-attlist"/>
5766 <rng:ref name="common-draw-size-attlist"/>
5767 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
5768 <rng:ref name="common-draw-caption-id-attlist"/>
5769 <rng:optional>
5770 <rng:ref name="svg-title"/>
5771 </rng:optional>
5772 <rng:optional>
5773 <rng:ref name="svg-desc"/>
5774 </rng:optional>
5775 <rng:optional>
5776 <rng:ref name="office-event-listeners"/>
5777 </rng:optional>
5778 <rng:zeroOrMore>
5779 <rng:ref name="draw-glue-point"/>
5780 </rng:zeroOrMore>
5781 <rng:ref name="draw-text"/>
5782 </rng:element>
5783 </rng:define>
5784 <rng:define name="draw-regular-polygon-attlist">
5785 <rng:interleave>
5786 <rng:choice>
5787 <rng:attribute name="draw:concave">
5788 <rng:value>false</rng:value>
5789 </rng:attribute>
5790 <rng:group>
5791 <rng:attribute name="draw:concave">
5792 <rng:value>true</rng:value>
5793 </rng:attribute>
5794 <rng:ref name="draw-regular-polygon-sharpness-attlist"/>
5795 </rng:group>
5796 </rng:choice>
5797 <rng:attribute name="draw:corners">
5798 <rng:ref name="positiveInteger"/>
5799 </rng:attribute>
5800 </rng:interleave>
5801 </rng:define>
5802 <rng:define name="draw-regular-polygon-sharpness-attlist">
5803 <rng:attribute name="draw:sharpness">
5804 <rng:ref name="percent"/>
5805 </rng:attribute>
5806 </rng:define>
5807 <rng:define name="draw-stroke-dash">
5808 <rng:element name="draw:stroke-dash">
5809 <rng:ref name="draw-stroke-dash-attlist"/>
5810 <rng:empty/>
5811 </rng:element>
5812 </rng:define>
5813 <rng:define name="draw-stroke-dash-attlist">
5814 <rng:interleave>
5815 <rng:attribute name="draw:name">
5816 <rng:ref name="styleName"/>
5817 </rng:attribute>
5818 <rng:optional>
5819 <rng:attribute name="draw:display-name">
5820 <rng:ref name="string"/>
5821 </rng:attribute>
5822 </rng:optional>
5823 <rng:optional>
5824 <rng:attribute name="draw:style">
5825 <rng:choice>
5826 <rng:value>rect</rng:value>
5827 <rng:value>round</rng:value>
5828 </rng:choice>
5829 </rng:attribute>
5830 </rng:optional>
5831 <rng:optional>
5832 <rng:attribute name="draw:dots1">
5833 <rng:ref name="integer"/>
5834 </rng:attribute>
5835 </rng:optional>
5836 <rng:optional>
5837 <rng:attribute name="draw:dots1-length">
5838 <rng:choice>
5839 <rng:ref name="length"/>
5840 <rng:ref name="percent"/>
5841 </rng:choice>
5842 </rng:attribute>
5843 </rng:optional>
5844 <rng:optional>
5845 <rng:attribute name="draw:dots2">
5846 <rng:ref name="integer"/>
5847 </rng:attribute>
5848 </rng:optional>
5849 <rng:optional>
5850 <rng:attribute name="draw:dots2-length">
5851 <rng:choice>
5852 <rng:ref name="length"/>
5853 <rng:ref name="percent"/>
5854 </rng:choice>
5855 </rng:attribute>
5856 </rng:optional>
5857 <rng:optional>
5858 <rng:attribute name="draw:distance">
5859 <rng:choice>
5860 <rng:ref name="length"/>
5861 <rng:ref name="percent"/>
5862 </rng:choice>
5863 </rng:attribute>
5864 </rng:optional>
5865 </rng:interleave>
5866 </rng:define>
5867 <rng:define name="draw-text">
5868 <rng:zeroOrMore>
5869 <rng:choice>
5870 <rng:ref name="text-p"/>
5871 <rng:ref name="text-list"/>
5872 </rng:choice>
5873 </rng:zeroOrMore>
5874 </rng:define>
5875 <rng:define name="draw-text-box">
5876 <rng:element name="draw:text-box">
5877 <rng:ref name="draw-text-box-attlist"/>
5878 <rng:zeroOrMore>
5879 <rng:ref name="text-content"/>
5880 </rng:zeroOrMore>
5881 </rng:element>
5882 </rng:define>
5883 <rng:define name="draw-text-box-attlist">
5884 <rng:interleave>
5885 <rng:optional>
5886 <rng:attribute name="draw:chain-next-name">
5887 <rng:ref name="string"/>
5888 </rng:attribute>
5889 </rng:optional>
5890 <rng:optional>
5891 <rng:attribute name="draw:corner-radius">
5892 <rng:ref name="nonNegativeLength"/>
5893 </rng:attribute>
5894 </rng:optional>
5895 <rng:optional>
5896 <rng:attribute name="fo:min-height">
5897 <rng:choice>
5898 <rng:ref name="length"/>
5899 <rng:ref name="percent"/>
5900 </rng:choice>
5901 </rng:attribute>
5902 </rng:optional>
5903 <rng:optional>
5904 <rng:attribute name="fo:min-width">
5905 <rng:choice>
5906 <rng:ref name="length"/>
5907 <rng:ref name="percent"/>
5908 </rng:choice>
5909 </rng:attribute>
5910 </rng:optional>
5911 <rng:optional>
5912 <rng:attribute name="fo:max-height">
5913 <rng:choice>
5914 <rng:ref name="length"/>
5915 <rng:ref name="percent"/>
5916 </rng:choice>
5917 </rng:attribute>
5918 </rng:optional>
5919 <rng:optional>
5920 <rng:attribute name="fo:max-width">
5921 <rng:choice>
5922 <rng:ref name="length"/>
5923 <rng:ref name="percent"/>
5924 </rng:choice>
5925 </rng:attribute>
5926 </rng:optional>
5927 <rng:optional>
5928 <rng:group>
5929 <rng:ref name="xml-id"/>
5930 <rng:optional>
5931 <rng:attribute name="text:id">
5932 <rng:ref name="NCName"/>
5933 </rng:attribute>
5934 </rng:optional>
5935 </rng:group>
5936 </rng:optional>
5937 </rng:interleave>
5938 </rng:define>
5939 <rng:define name="dropdown">
5940 <rng:optional>
5941 <rng:attribute name="form:dropdown">
5942 <rng:ref name="boolean"/>
5943 </rng:attribute>
5944 </rng:optional>
5945 </rng:define>
5946 <rng:define name="duration">
5947 <rng:data type="duration"/>
5948 </rng:define>
5949 <rng:define name="extrusionOrigin">
5950 <rng:data type="double">
5951 <rng:param name="minInclusive">-0.5</rng:param>
5952 <rng:param name="maxInclusive">0.5</rng:param>
5953 </rng:data>
5954 </rng:define>
5955 <rng:define name="fontFamilyGeneric">
5956 <rng:choice>
5957 <rng:value>roman</rng:value>
5958 <rng:value>swiss</rng:value>
5959 <rng:value>modern</rng:value>
5960 <rng:value>decorative</rng:value>
5961 <rng:value>script</rng:value>
5962 <rng:value>system</rng:value>
5963 </rng:choice>
5964 </rng:define>
5965 <rng:define name="fontPitch">
5966 <rng:choice>
5967 <rng:value>fixed</rng:value>
5968 <rng:value>variable</rng:value>
5969 </rng:choice>
5970 </rng:define>
5971 <rng:define name="fontStyle">
5972 <rng:choice>
5973 <rng:value>normal</rng:value>
5974 <rng:value>italic</rng:value>
5975 <rng:value>oblique</rng:value>
5976 </rng:choice>
5977 </rng:define>
5978 <rng:define name="fontVariant">
5979 <rng:choice>
5980 <rng:value>normal</rng:value>
5981 <rng:value>small-caps</rng:value>
5982 </rng:choice>
5983 </rng:define>
5984 <rng:define name="fontWeight">
5985 <rng:choice>
5986 <rng:value>normal</rng:value>
5987 <rng:value>bold</rng:value>
5988 <rng:value>100</rng:value>
5989 <rng:value>200</rng:value>
5990 <rng:value>300</rng:value>
5991 <rng:value>400</rng:value>
5992 <rng:value>500</rng:value>
5993 <rng:value>600</rng:value>
5994 <rng:value>700</rng:value>
5995 <rng:value>800</rng:value>
5996 <rng:value>900</rng:value>
5997 </rng:choice>
5998 </rng:define>
5999 <rng:define name="for">
6000 <rng:optional>
6001 <rng:attribute name="form:for">
6002 <rng:ref name="string"/>
6003 </rng:attribute>
6004 </rng:optional>
6005 </rng:define>
6006 <rng:define name="form-button-attlist">
6007 <rng:interleave>
6008 <rng:ref name="form-control-attlist"/>
6009 <rng:ref name="button-type"/>
6010 <rng:ref name="common-disabled-attlist"/>
6011 <rng:ref name="label"/>
6012 <rng:ref name="image-data"/>
6013 <rng:ref name="common-printable-attlist"/>
6014 <rng:ref name="common-tab-attlist"/>
6015 <rng:ref name="target-frame"/>
6016 <rng:ref name="target-location"/>
6017 <rng:ref name="common-title-attlist"/>
6018 <rng:ref name="common-value-attlist"/>
6019 <rng:ref name="common-form-relative-image-position-attlist"/>
6020 <rng:ref name="common-repeat"/>
6021 <rng:ref name="common-delay-for-repeat"/>
6022 <rng:optional>
6023 <rng:attribute name="form:default-button">
6024 <rng:ref name="boolean"/>
6025 </rng:attribute>
6026 </rng:optional>
6027 <rng:optional>
6028 <rng:attribute name="form:toggle">
6029 <rng:ref name="boolean"/>
6030 </rng:attribute>
6031 </rng:optional>
6032 <rng:optional>
6033 <rng:attribute name="form:focus-on-click">
6034 <rng:ref name="boolean"/>
6035 </rng:attribute>
6036 </rng:optional>
6037 <rng:optional>
6038 <rng:attribute name="form:xforms-submission">
6039 <rng:ref name="string"/>
6040 </rng:attribute>
6041 </rng:optional>
6042 </rng:interleave>
6043 </rng:define>
6044 <rng:define name="form-checkbox-attlist">
6045 <rng:interleave>
6046 <rng:ref name="form-control-attlist"/>
6047 <rng:ref name="common-disabled-attlist"/>
6048 <rng:ref name="label"/>
6049 <rng:ref name="common-printable-attlist"/>
6050 <rng:ref name="common-tab-attlist"/>
6051 <rng:ref name="common-title-attlist"/>
6052 <rng:ref name="common-value-attlist"/>
6053 <rng:ref name="common-data-field-attlist"/>
6054 <rng:ref name="common-form-visual-effect-attlist"/>
6055 <rng:ref name="common-form-relative-image-position-attlist"/>
6056 <rng:ref name="common-linked-cell"/>
6057 <rng:optional>
6058 <rng:attribute name="form:current-state">
6059 <rng:ref name="states"/>
6060 </rng:attribute>
6061 </rng:optional>
6062 <rng:optional>
6063 <rng:attribute name="form:is-tristate">
6064 <rng:ref name="boolean"/>
6065 </rng:attribute>
6066 </rng:optional>
6067 <rng:optional>
6068 <rng:attribute name="form:state">
6069 <rng:ref name="states"/>
6070 </rng:attribute>
6071 </rng:optional>
6072 </rng:interleave>
6073 </rng:define>
6074 <rng:define name="form-column">
6075 <rng:element name="form:column">
6076 <rng:ref name="form-column-attlist"/>
6077 <rng:oneOrMore>
6078 <rng:ref name="column-controls"/>
6079 </rng:oneOrMore>
6080 </rng:element>
6081 </rng:define>
6082 <rng:define name="form-column-attlist">
6083 <rng:ref name="common-form-control-attlist"/>
6084 <rng:ref name="label"/>
6085 <rng:ref name="text-style-name"/>
6086 </rng:define>
6087 <rng:define name="form-combobox-attlist">
6088 <rng:interleave>
6089 <rng:ref name="form-control-attlist"/>
6090 <rng:ref name="common-current-value-attlist"/>
6091 <rng:ref name="common-disabled-attlist"/>
6092 <rng:ref name="dropdown"/>
6093 <rng:ref name="common-maxlength-attlist"/>
6094 <rng:ref name="common-printable-attlist"/>
6095 <rng:ref name="common-readonly-attlist"/>
6096 <rng:ref name="size"/>
6097 <rng:ref name="common-tab-attlist"/>
6098 <rng:ref name="common-title-attlist"/>
6099 <rng:ref name="common-value-attlist"/>
6100 <rng:ref name="common-convert-empty-attlist"/>
6101 <rng:ref name="common-data-field-attlist"/>
6102 <rng:ref name="list-source"/>
6103 <rng:ref name="list-source-type"/>
6104 <rng:ref name="common-linked-cell"/>
6105 <rng:ref name="common-source-cell-range"/>
6106 <rng:optional>
6107 <rng:attribute name="form:auto-complete">
6108 <rng:ref name="boolean"/>
6109 </rng:attribute>
6110 </rng:optional>
6111 </rng:interleave>
6112 </rng:define>
6113 <rng:define name="form-connection-resource">
6114 <rng:element name="form:connection-resource">
6115 <rng:attribute name="xlink:href">
6116 <rng:ref name="anyIRI"/>
6117 </rng:attribute>
6118 <rng:empty/>
6119 </rng:element>
6120 </rng:define>
6121 <rng:define name="form-control-attlist">
6122 <rng:ref name="common-form-control-attlist"/>
6123 <rng:ref name="common-control-id-attlist"/>
6124 <rng:ref name="xforms-bind-attlist"/>
6125 </rng:define>
6126 <rng:define name="form-date-attlist">
6127 <rng:interleave>
6128 <rng:optional>
6129 <rng:attribute name="form:value">
6130 <rng:ref name="date"/>
6131 </rng:attribute>
6132 </rng:optional>
6133 <rng:optional>
6134 <rng:attribute name="form:current-value">
6135 <rng:ref name="date"/>
6136 </rng:attribute>
6137 </rng:optional>
6138 <rng:optional>
6139 <rng:attribute name="form:min-value">
6140 <rng:ref name="date"/>
6141 </rng:attribute>
6142 </rng:optional>
6143 <rng:optional>
6144 <rng:attribute name="form:max-value">
6145 <rng:ref name="date"/>
6146 </rng:attribute>
6147 </rng:optional>
6148 </rng:interleave>
6149 </rng:define>
6150 <rng:define name="form-file-attlist">
6151 <rng:ref name="form-control-attlist"/>
6152 <rng:ref name="common-current-value-attlist"/>
6153 <rng:ref name="common-disabled-attlist"/>
6154 <rng:ref name="common-maxlength-attlist"/>
6155 <rng:ref name="common-printable-attlist"/>
6156 <rng:ref name="common-readonly-attlist"/>
6157 <rng:ref name="common-tab-attlist"/>
6158 <rng:ref name="common-title-attlist"/>
6159 <rng:ref name="common-value-attlist"/>
6160 <rng:ref name="common-linked-cell"/>
6161 </rng:define>
6162 <rng:define name="form-fixed-text-attlist">
6163 <rng:interleave>
6164 <rng:ref name="form-control-attlist"/>
6165 <rng:ref name="for"/>
6166 <rng:ref name="common-disabled-attlist"/>
6167 <rng:ref name="label"/>
6168 <rng:ref name="common-printable-attlist"/>
6169 <rng:ref name="common-title-attlist"/>
6170 <rng:optional>
6171 <rng:attribute name="form:multi-line">
6172 <rng:ref name="boolean"/>
6173 </rng:attribute>
6174 </rng:optional>
6175 </rng:interleave>
6176 </rng:define>
6177 <rng:define name="form-form">
6178 <rng:element name="form:form">
6179 <rng:ref name="common-form-control-attlist"/>
6180 <rng:ref name="form-form-attlist"/>
6181 <rng:optional>
6182 <rng:ref name="form-properties"/>
6183 </rng:optional>
6184 <rng:optional>
6185 <rng:ref name="office-event-listeners"/>
6186 </rng:optional>
6187 <rng:zeroOrMore>
6188 <rng:choice>
6189 <rng:ref name="controls"/>
6190 <rng:ref name="form-form"/>
6191 </rng:choice>
6192 </rng:zeroOrMore>
6193 <rng:optional>
6194 <rng:ref name="form-connection-resource"/>
6195 </rng:optional>
6196 </rng:element>
6197 </rng:define>
6198 <rng:define name="form-form-attlist">
6199 <rng:interleave>
6200 <rng:optional>
6201 <rng:attribute name="xlink:type">
6202 <rng:value>simple</rng:value>
6203 </rng:attribute>
6204 <rng:attribute name="xlink:href">
6205 <rng:ref name="anyIRI"/>
6206 </rng:attribute>
6207 <rng:optional>
6208 <rng:attribute name="xlink:actuate">
6209 <rng:value>onRequest</rng:value>
6210 </rng:attribute>
6211 </rng:optional>
6212 </rng:optional>
6213 <rng:optional>
6214 <rng:attribute name="office:target-frame">
6215 <rng:ref name="targetFrameName"/>
6216 </rng:attribute>
6217 </rng:optional>
6218 <rng:optional>
6219 <rng:attribute name="form:method">
6220 <rng:choice>
6221 <rng:value>get</rng:value>
6222 <rng:value>post</rng:value>
6223 <rng:ref name="string"/>
6224 </rng:choice>
6225 </rng:attribute>
6226 </rng:optional>
6227 <rng:optional>
6228 <rng:attribute name="form:enctype">
6229 <rng:ref name="string"/>
6230 </rng:attribute>
6231 </rng:optional>
6232 <rng:optional>
6233 <rng:attribute name="form:allow-deletes">
6234 <rng:ref name="boolean"/>
6235 </rng:attribute>
6236 </rng:optional>
6237 <rng:optional>
6238 <rng:attribute name="form:allow-inserts">
6239 <rng:ref name="boolean"/>
6240 </rng:attribute>
6241 </rng:optional>
6242 <rng:optional>
6243 <rng:attribute name="form:allow-updates">
6244 <rng:ref name="boolean"/>
6245 </rng:attribute>
6246 </rng:optional>
6247 <rng:optional>
6248 <rng:attribute name="form:apply-filter">
6249 <rng:ref name="boolean"/>
6250 </rng:attribute>
6251 </rng:optional>
6252 <rng:optional>
6253 <rng:attribute name="form:command-type">
6254 <rng:choice>
6255 <rng:value>table</rng:value>
6256 <rng:value>query</rng:value>
6257 <rng:value>command</rng:value>
6258 </rng:choice>
6259 </rng:attribute>
6260 </rng:optional>
6261 <rng:optional>
6262 <rng:attribute name="form:command">
6263 <rng:ref name="string"/>
6264 </rng:attribute>
6265 </rng:optional>
6266 <rng:optional>
6267 <rng:attribute name="form:datasource">
6268 <rng:choice>
6269 <rng:ref name="anyIRI"/>
6270 <rng:ref name="string"/>
6271 </rng:choice>
6272 </rng:attribute>
6273 </rng:optional>
6274 <rng:optional>
6275 <rng:attribute name="form:master-fields">
6276 <rng:ref name="string"/>
6277 </rng:attribute>
6278 </rng:optional>
6279 <rng:optional>
6280 <rng:attribute name="form:detail-fields">
6281 <rng:ref name="string"/>
6282 </rng:attribute>
6283 </rng:optional>
6284 <rng:optional>
6285 <rng:attribute name="form:escape-processing">
6286 <rng:ref name="boolean"/>
6287 </rng:attribute>
6288 </rng:optional>
6289 <rng:optional>
6290 <rng:attribute name="form:filter">
6291 <rng:ref name="string"/>
6292 </rng:attribute>
6293 </rng:optional>
6294 <rng:optional>
6295 <rng:attribute name="form:ignore-result">
6296 <rng:ref name="boolean"/>
6297 </rng:attribute>
6298 </rng:optional>
6299 <rng:optional>
6300 <rng:attribute name="form:navigation-mode">
6301 <rng:ref name="navigation"/>
6302 </rng:attribute>
6303 </rng:optional>
6304 <rng:optional>
6305 <rng:attribute name="form:order">
6306 <rng:ref name="string"/>
6307 </rng:attribute>
6308 </rng:optional>
6309 <rng:optional>
6310 <rng:attribute name="form:tab-cycle">
6311 <rng:ref name="tab-cycles"/>
6312 </rng:attribute>
6313 </rng:optional>
6314 </rng:interleave>
6315 </rng:define>
6316 <rng:define name="form-formatted-text-attlist">
6317 <rng:interleave>
6318 <rng:ref name="form-control-attlist"/>
6319 <rng:ref name="common-current-value-attlist"/>
6320 <rng:ref name="common-disabled-attlist"/>
6321 <rng:ref name="common-maxlength-attlist"/>
6322 <rng:ref name="common-printable-attlist"/>
6323 <rng:ref name="common-readonly-attlist"/>
6324 <rng:ref name="common-tab-attlist"/>
6325 <rng:ref name="common-title-attlist"/>
6326 <rng:ref name="common-value-attlist"/>
6327 <rng:ref name="common-convert-empty-attlist"/>
6328 <rng:ref name="common-data-field-attlist"/>
6329 <rng:ref name="common-linked-cell"/>
6330 <rng:ref name="common-spin-button"/>
6331 <rng:ref name="common-repeat"/>
6332 <rng:ref name="common-delay-for-repeat"/>
6333 <rng:optional>
6334 <rng:attribute name="form:max-value">
6335 <rng:ref name="string"/>
6336 </rng:attribute>
6337 </rng:optional>
6338 <rng:optional>
6339 <rng:attribute name="form:min-value">
6340 <rng:ref name="string"/>
6341 </rng:attribute>
6342 </rng:optional>
6343 <rng:optional>
6344 <rng:attribute name="form:validation">
6345 <rng:ref name="boolean"/>
6346 </rng:attribute>
6347 </rng:optional>
6348 </rng:interleave>
6349 </rng:define>
6350 <rng:define name="form-frame-attlist">
6351 <rng:ref name="form-control-attlist"/>
6352 <rng:ref name="common-disabled-attlist"/>
6353 <rng:ref name="for"/>
6354 <rng:ref name="label"/>
6355 <rng:ref name="common-printable-attlist"/>
6356 <rng:ref name="common-title-attlist"/>
6357 </rng:define>
6358 <rng:define name="form-generic-control-attlist">
6359 <rng:ref name="form-control-attlist"/>
6360 </rng:define>
6361 <rng:define name="form-grid-attlist">
6362 <rng:ref name="form-control-attlist"/>
6363 <rng:ref name="common-disabled-attlist"/>
6364 <rng:ref name="common-printable-attlist"/>
6365 <rng:ref name="common-tab-attlist"/>
6366 <rng:ref name="common-title-attlist"/>
6367 </rng:define>
6368 <rng:define name="form-hidden-attlist">
6369 <rng:ref name="form-control-attlist"/>
6370 <rng:ref name="common-value-attlist"/>
6371 </rng:define>
6372 <rng:define name="form-image-attlist">
6373 <rng:ref name="form-control-attlist"/>
6374 <rng:ref name="button-type"/>
6375 <rng:ref name="common-disabled-attlist"/>
6376 <rng:ref name="image-data"/>
6377 <rng:ref name="common-printable-attlist"/>
6378 <rng:ref name="common-tab-attlist"/>
6379 <rng:ref name="target-frame"/>
6380 <rng:ref name="target-location"/>
6381 <rng:ref name="common-title-attlist"/>
6382 <rng:ref name="common-value-attlist"/>
6383 </rng:define>
6384 <rng:define name="form-image-frame-attlist">
6385 <rng:ref name="form-control-attlist"/>
6386 <rng:ref name="common-disabled-attlist"/>
6387 <rng:ref name="image-data"/>
6388 <rng:ref name="common-printable-attlist"/>
6389 <rng:ref name="common-readonly-attlist"/>
6390 <rng:ref name="common-title-attlist"/>
6391 <rng:ref name="common-data-field-attlist"/>
6392 </rng:define>
6393 <rng:define name="form-item">
6394 <rng:element name="form:item">
6395 <rng:ref name="form-item-attlist"/>
6396 <rng:text/>
6397 </rng:element>
6398 </rng:define>
6399 <rng:define name="form-item-attlist">
6400 <rng:ref name="label"/>
6401 </rng:define>
6402 <rng:define name="form-listbox-attlist">
6403 <rng:interleave>
6404 <rng:ref name="form-control-attlist"/>
6405 <rng:ref name="common-disabled-attlist"/>
6406 <rng:ref name="dropdown"/>
6407 <rng:ref name="common-printable-attlist"/>
6408 <rng:ref name="size"/>
6409 <rng:ref name="common-tab-attlist"/>
6410 <rng:ref name="common-title-attlist"/>
6411 <rng:ref name="bound-column"/>
6412 <rng:ref name="common-data-field-attlist"/>
6413 <rng:ref name="list-source"/>
6414 <rng:ref name="list-source-type"/>
6415 <rng:ref name="common-linked-cell"/>
6416 <rng:ref name="list-linkage-type"/>
6417 <rng:ref name="common-source-cell-range"/>
6418 <rng:optional>
6419 <rng:attribute name="form:multiple">
6420 <rng:ref name="boolean"/>
6421 </rng:attribute>
6422 </rng:optional>
6423 <rng:optional>
6424 <rng:attribute name="form:xforms-list-source">
6425 <rng:ref name="string"/>
6426 </rng:attribute>
6427 </rng:optional>
6428 </rng:interleave>
6429 </rng:define>
6430 <rng:define name="form-number-attlist">
6431 <rng:interleave>
6432 <rng:optional>
6433 <rng:attribute name="form:value">
6434 <rng:ref name="double"/>
6435 </rng:attribute>
6436 </rng:optional>
6437 <rng:optional>
6438 <rng:attribute name="form:current-value">
6439 <rng:ref name="double"/>
6440 </rng:attribute>
6441 </rng:optional>
6442 <rng:optional>
6443 <rng:attribute name="form:min-value">
6444 <rng:ref name="double"/>
6445 </rng:attribute>
6446 </rng:optional>
6447 <rng:optional>
6448 <rng:attribute name="form:max-value">
6449 <rng:ref name="double"/>
6450 </rng:attribute>
6451 </rng:optional>
6452 </rng:interleave>
6453 </rng:define>
6454 <rng:define name="form-option">
6455 <rng:element name="form:option">
6456 <rng:ref name="form-option-attlist"/>
6457 <rng:text/>
6458 </rng:element>
6459 </rng:define>
6460 <rng:define name="form-option-attlist">
6461 <rng:ref name="current-selected"/>
6462 <rng:ref name="selected"/>
6463 <rng:ref name="label"/>
6464 <rng:ref name="common-value-attlist"/>
6465 </rng:define>
6466 <rng:define name="form-password-attlist">
6467 <rng:interleave>
6468 <rng:ref name="form-control-attlist"/>
6469 <rng:ref name="common-disabled-attlist"/>
6470 <rng:ref name="common-maxlength-attlist"/>
6471 <rng:ref name="common-printable-attlist"/>
6472 <rng:ref name="common-tab-attlist"/>
6473 <rng:ref name="common-title-attlist"/>
6474 <rng:ref name="common-value-attlist"/>
6475 <rng:ref name="common-convert-empty-attlist"/>
6476 <rng:ref name="common-linked-cell"/>
6477 <rng:optional>
6478 <rng:attribute name="form:echo-char">
6479 <rng:ref name="character"/>
6480 </rng:attribute>
6481 </rng:optional>
6482 </rng:interleave>
6483 </rng:define>
6484 <rng:define name="form-properties">
6485 <rng:element name="form:properties">
6486 <rng:oneOrMore>
6487 <rng:ref name="form-property"/>
6488 </rng:oneOrMore>
6489 </rng:element>
6490 </rng:define>
6491 <rng:define name="form-property">
6492 <rng:choice>
6493 <rng:element name="form:property">
6494 <rng:ref name="form-property-name"/>
6495 <rng:ref name="form-property-value-and-type-attlist"/>
6496 </rng:element>
6497 <rng:element name="form:list-property">
6498 <rng:ref name="form-property-name"/>
6499 <rng:ref name="form-property-type-and-value-list"/>
6500 </rng:element>
6501 </rng:choice>
6502 </rng:define>
6503 <rng:define name="form-property-name">
6504 <rng:attribute name="form:property-name">
6505 <rng:ref name="string"/>
6506 </rng:attribute>
6507 </rng:define>
6508 <rng:define name="form-property-type-and-value-list">
6509 <rng:choice>
6510 <rng:group>
6511 <rng:attribute name="office:value-type">
6512 <rng:value>float</rng:value>
6513 </rng:attribute>
6514 <rng:zeroOrMore>
6515 <rng:element name="form:list-value">
6516 <rng:attribute name="office:value">
6517 <rng:ref name="double"/>
6518 </rng:attribute>
6519 </rng:element>
6520 </rng:zeroOrMore>
6521 </rng:group>
6522 <rng:group>
6523 <rng:attribute name="office:value-type">
6524 <rng:value>percentage</rng:value>
6525 </rng:attribute>
6526 <rng:zeroOrMore>
6527 <rng:element name="form:list-value">
6528 <rng:attribute name="office:value">
6529 <rng:ref name="double"/>
6530 </rng:attribute>
6531 </rng:element>
6532 </rng:zeroOrMore>
6533 </rng:group>
6534 <rng:group>
6535 <rng:attribute name="office:value-type">
6536 <rng:value>currency</rng:value>
6537 </rng:attribute>
6538 <rng:zeroOrMore>
6539 <rng:element name="form:list-value">
6540 <rng:attribute name="office:value">
6541 <rng:ref name="double"/>
6542 </rng:attribute>
6543 <rng:optional>
6544 <rng:attribute name="office:currency">
6545 <rng:ref name="string"/>
6546 </rng:attribute>
6547 </rng:optional>
6548 </rng:element>
6549 </rng:zeroOrMore>
6550 </rng:group>
6551 <rng:group>
6552 <rng:attribute name="office:value-type">
6553 <rng:value>date</rng:value>
6554 </rng:attribute>
6555 <rng:zeroOrMore>
6556 <rng:element name="form:list-value">
6557 <rng:attribute name="office:date-value">
6558 <rng:ref name="dateOrDateTime"/>
6559 </rng:attribute>
6560 </rng:element>
6561 </rng:zeroOrMore>
6562 </rng:group>
6563 <rng:group>
6564 <rng:attribute name="office:value-type">
6565 <rng:value>time</rng:value>
6566 </rng:attribute>
6567 <rng:zeroOrMore>
6568 <rng:element name="form:list-value">
6569 <rng:attribute name="office:time-value">
6570 <rng:ref name="duration"/>
6571 </rng:attribute>
6572 </rng:element>
6573 </rng:zeroOrMore>
6574 </rng:group>
6575 <rng:group>
6576 <rng:attribute name="office:value-type">
6577 <rng:value>boolean</rng:value>
6578 </rng:attribute>
6579 <rng:zeroOrMore>
6580 <rng:element name="form:list-value">
6581 <rng:attribute name="office:boolean-value">
6582 <rng:ref name="boolean"/>
6583 </rng:attribute>
6584 </rng:element>
6585 </rng:zeroOrMore>
6586 </rng:group>
6587 <rng:group>
6588 <rng:attribute name="office:value-type">
6589 <rng:value>string</rng:value>
6590 </rng:attribute>
6591 <rng:zeroOrMore>
6592 <rng:element name="form:list-value">
6593 <rng:attribute name="office:string-value">
6594 <rng:ref name="string"/>
6595 </rng:attribute>
6596 </rng:element>
6597 </rng:zeroOrMore>
6598 </rng:group>
6599 <rng:attribute name="office:value-type">
6600 <rng:value>void</rng:value>
6601 </rng:attribute>
6602 </rng:choice>
6603 </rng:define>
6604 <rng:define name="form-property-value-and-type-attlist">
6605 <rng:choice>
6606 <rng:ref name="common-value-and-type-attlist"/>
6607 <rng:attribute name="office:value-type">
6608 <rng:value>void</rng:value>
6609 </rng:attribute>
6610 </rng:choice>
6611 </rng:define>
6612 <rng:define name="form-radio-attlist">
6613 <rng:ref name="form-control-attlist"/>
6614 <rng:ref name="current-selected"/>
6615 <rng:ref name="common-disabled-attlist"/>
6616 <rng:ref name="label"/>
6617 <rng:ref name="common-printable-attlist"/>
6618 <rng:ref name="selected"/>
6619 <rng:ref name="common-tab-attlist"/>
6620 <rng:ref name="common-title-attlist"/>
6621 <rng:ref name="common-value-attlist"/>
6622 <rng:ref name="common-data-field-attlist"/>
6623 <rng:ref name="common-form-visual-effect-attlist"/>
6624 <rng:ref name="common-form-relative-image-position-attlist"/>
6625 <rng:ref name="common-linked-cell"/>
6626 </rng:define>
6627 <rng:define name="form-text-attlist">
6628 <rng:ref name="form-control-attlist"/>
6629 <rng:ref name="common-current-value-attlist"/>
6630 <rng:ref name="common-disabled-attlist"/>
6631 <rng:ref name="common-maxlength-attlist"/>
6632 <rng:ref name="common-printable-attlist"/>
6633 <rng:ref name="common-readonly-attlist"/>
6634 <rng:ref name="common-tab-attlist"/>
6635 <rng:ref name="common-title-attlist"/>
6636 <rng:ref name="common-value-attlist"/>
6637 <rng:ref name="common-convert-empty-attlist"/>
6638 <rng:ref name="common-data-field-attlist"/>
6639 <rng:ref name="common-linked-cell"/>
6640 </rng:define>
6641 <rng:define name="form-textarea-attlist">
6642 <rng:ref name="form-control-attlist"/>
6643 <rng:ref name="common-current-value-attlist"/>
6644 <rng:ref name="common-disabled-attlist"/>
6645 <rng:ref name="common-maxlength-attlist"/>
6646 <rng:ref name="common-printable-attlist"/>
6647 <rng:ref name="common-readonly-attlist"/>
6648 <rng:ref name="common-tab-attlist"/>
6649 <rng:ref name="common-title-attlist"/>
6650 <rng:ref name="common-value-attlist"/>
6651 <rng:ref name="common-convert-empty-attlist"/>
6652 <rng:ref name="common-data-field-attlist"/>
6653 <rng:ref name="common-linked-cell"/>
6654 </rng:define>
6655 <rng:define name="form-time-attlist">
6656 <rng:interleave>
6657 <rng:optional>
6658 <rng:attribute name="form:value">
6659 <rng:ref name="time"/>
6660 </rng:attribute>
6661 </rng:optional>
6662 <rng:optional>
6663 <rng:attribute name="form:current-value">
6664 <rng:ref name="time"/>
6665 </rng:attribute>
6666 </rng:optional>
6667 <rng:optional>
6668 <rng:attribute name="form:min-value">
6669 <rng:ref name="time"/>
6670 </rng:attribute>
6671 </rng:optional>
6672 <rng:optional>
6673 <rng:attribute name="form:max-value">
6674 <rng:ref name="time"/>
6675 </rng:attribute>
6676 </rng:optional>
6677 </rng:interleave>
6678 </rng:define>
6679 <rng:define name="form-value-range-attlist">
6680 <rng:interleave>
6681 <rng:ref name="form-control-attlist"/>
6682 <rng:ref name="common-disabled-attlist"/>
6683 <rng:ref name="common-printable-attlist"/>
6684 <rng:ref name="common-tab-attlist"/>
6685 <rng:ref name="common-title-attlist"/>
6686 <rng:ref name="common-value-attlist"/>
6687 <rng:ref name="common-linked-cell"/>
6688 <rng:ref name="common-repeat"/>
6689 <rng:ref name="common-delay-for-repeat"/>
6690 <rng:optional>
6691 <rng:attribute name="form:max-value">
6692 <rng:ref name="integer"/>
6693 </rng:attribute>
6694 </rng:optional>
6695 <rng:optional>
6696 <rng:attribute name="form:min-value">
6697 <rng:ref name="integer"/>
6698 </rng:attribute>
6699 </rng:optional>
6700 <rng:optional>
6701 <rng:attribute name="form:step-size">
6702 <rng:ref name="positiveInteger"/>
6703 </rng:attribute>
6704 </rng:optional>
6705 <rng:optional>
6706 <rng:attribute name="form:page-step-size">
6707 <rng:ref name="positiveInteger"/>
6708 </rng:attribute>
6709 </rng:optional>
6710 <rng:optional>
6711 <rng:attribute name="form:orientation">
6712 <rng:choice>
6713 <rng:value>horizontal</rng:value>
6714 <rng:value>vertical</rng:value>
6715 </rng:choice>
6716 </rng:attribute>
6717 </rng:optional>
6718 </rng:interleave>
6719 </rng:define>
6720 <rng:define name="gradient-style">
6721 <rng:choice>
6722 <rng:value>linear</rng:value>
6723 <rng:value>axial</rng:value>
6724 <rng:value>radial</rng:value>
6725 <rng:value>ellipsoid</rng:value>
6726 <rng:value>square</rng:value>
6727 <rng:value>rectangular</rng:value>
6728 </rng:choice>
6729 </rng:define>
6730 <rng:define name="header-footer-content">
6731 <rng:choice>
6732 <rng:group>
6733 <rng:ref name="text-tracked-changes"/>
6734 <rng:ref name="text-decls"/>
6735 <rng:zeroOrMore>
6736 <rng:choice>
6737 <rng:ref name="text-h"/>
6738 <rng:ref name="text-p"/>
6739 <rng:ref name="text-list"/>
6740 <rng:ref name="table-table"/>
6741 <rng:ref name="text-section"/>
6742 <rng:ref name="text-table-of-content"/>
6743 <rng:ref name="text-illustration-index"/>
6744 <rng:ref name="text-table-index"/>
6745 <rng:ref name="text-object-index"/>
6746 <rng:ref name="text-user-index"/>
6747 <rng:ref name="text-alphabetical-index"/>
6748 <rng:ref name="text-bibliography"/>
6749 <rng:ref name="text-index-title"/>
6750 <rng:ref name="change-marks"/>
6751 </rng:choice>
6752 </rng:zeroOrMore>
6753 </rng:group>
6754 <rng:group>
6755 <rng:optional>
6756 <rng:ref name="style-region-left"/>
6757 </rng:optional>
6758 <rng:optional>
6759 <rng:ref name="style-region-center"/>
6760 </rng:optional>
6761 <rng:optional>
6762 <rng:ref name="style-region-right"/>
6763 </rng:optional>
6764 </rng:group>
6765 </rng:choice>
6766 </rng:define>
6767 <rng:define name="heading-attrs">
6768 <rng:interleave>
6769 <rng:attribute name="text:outline-level">
6770 <rng:ref name="positiveInteger"/>
6771 </rng:attribute>
6772 <rng:optional>
6773 <rng:attribute name="text:restart-numbering">
6774 <rng:ref name="boolean"/>
6775 </rng:attribute>
6776 </rng:optional>
6777 <rng:optional>
6778 <rng:attribute name="text:start-value">
6779 <rng:ref name="nonNegativeInteger"/>
6780 </rng:attribute>
6781 </rng:optional>
6782 <rng:optional>
6783 <rng:attribute name="text:is-list-header">
6784 <rng:ref name="boolean"/>
6785 </rng:attribute>
6786 </rng:optional>
6787 </rng:interleave>
6788 </rng:define>
6789 <rng:define name="horiBackPos">
6790 <rng:choice>
6791 <rng:value>left</rng:value>
6792 <rng:value>center</rng:value>
6793 <rng:value>right</rng:value>
6794 </rng:choice>
6795 </rng:define>
6796 <rng:define name="horizontal-mirror">
6797 <rng:choice>
6798 <rng:value>horizontal</rng:value>
6799 <rng:value>horizontal-on-odd</rng:value>
6800 <rng:value>horizontal-on-even</rng:value>
6801 </rng:choice>
6802 </rng:define>
6803 <rng:define name="image-data">
6804 <rng:optional>
6805 <rng:attribute name="form:image-data">
6806 <rng:ref name="anyIRI"/>
6807 </rng:attribute>
6808 </rng:optional>
6809 </rng:define>
6810 <rng:define name="index-content-main">
6811 <rng:choice>
6812 <rng:ref name="text-content"/>
6813 <rng:ref name="text-index-title"/>
6814 </rng:choice>
6815 </rng:define>
6816 <rng:define name="integer">
6817 <rng:data type="integer"/>
6818 </rng:define>
6819 <rng:define name="label">
6820 <rng:optional>
6821 <rng:attribute name="form:label">
6822 <rng:ref name="string"/>
6823 </rng:attribute>
6824 </rng:optional>
6825 </rng:define>
6826 <rng:define name="labelPositions">
6827 <rng:choice>
6828 <rng:value>avoid-overlap</rng:value>
6829 <rng:value>center</rng:value>
6830 <rng:value>top</rng:value>
6831 <rng:value>top-right</rng:value>
6832 <rng:value>right</rng:value>
6833 <rng:value>bottom-right</rng:value>
6834 <rng:value>bottom</rng:value>
6835 <rng:value>bottom-left</rng:value>
6836 <rng:value>left</rng:value>
6837 <rng:value>top-left</rng:value>
6838 <rng:value>inside</rng:value>
6839 <rng:value>outside</rng:value>
6840 <rng:value>near-origin</rng:value>
6841 </rng:choice>
6842 </rng:define>
6843 <rng:define name="language">
6844 <rng:data type="language"/>
6845 </rng:define>
6846 <rng:define name="languageCode">
6847 <rng:data type="token">
6848 <rng:param name="pattern">[A-Za-z]{1,8}</rng:param>
6849 </rng:data>
6850 </rng:define>
6851 <rng:define name="length">
6852 <rng:data type="string">
6853 <rng:param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</rng:param>
6854 </rng:data>
6855 </rng:define>
6856 <rng:define name="lineMode">
6857 <rng:choice>
6858 <rng:value>continuous</rng:value>
6859 <rng:value>skip-white-space</rng:value>
6860 </rng:choice>
6861 </rng:define>
6862 <rng:define name="lineStyle">
6863 <rng:choice>
6864 <rng:value>none</rng:value>
6865 <rng:value>solid</rng:value>
6866 <rng:value>dotted</rng:value>
6867 <rng:value>dash</rng:value>
6868 <rng:value>long-dash</rng:value>
6869 <rng:value>dot-dash</rng:value>
6870 <rng:value>dot-dot-dash</rng:value>
6871 <rng:value>wave</rng:value>
6872 </rng:choice>
6873 </rng:define>
6874 <rng:define name="lineType">
6875 <rng:choice>
6876 <rng:value>none</rng:value>
6877 <rng:value>single</rng:value>
6878 <rng:value>double</rng:value>
6879 </rng:choice>
6880 </rng:define>
6881 <rng:define name="lineWidth">
6882 <rng:choice>
6883 <rng:value>auto</rng:value>
6884 <rng:value>normal</rng:value>
6885 <rng:value>bold</rng:value>
6886 <rng:value>thin</rng:value>
6887 <rng:value>medium</rng:value>
6888 <rng:value>thick</rng:value>
6889 <rng:ref name="positiveInteger"/>
6890 <rng:ref name="percent"/>
6891 <rng:ref name="positiveLength"/>
6892 </rng:choice>
6893 </rng:define>
6894 <rng:define name="list-linkage-type">
6895 <rng:optional>
6896 <rng:attribute name="form:list-linkage-type">
6897 <rng:choice>
6898 <rng:value>selection</rng:value>
6899 <rng:value>selection-indices</rng:value>
6900 </rng:choice>
6901 </rng:attribute>
6902 </rng:optional>
6903 </rng:define>
6904 <rng:define name="list-source">
6905 <rng:optional>
6906 <rng:attribute name="form:list-source">
6907 <rng:ref name="string"/>
6908 </rng:attribute>
6909 </rng:optional>
6910 </rng:define>
6911 <rng:define name="list-source-type">
6912 <rng:optional>
6913 <rng:attribute name="form:list-source-type">
6914 <rng:choice>
6915 <rng:value>table</rng:value>
6916 <rng:value>query</rng:value>
6917 <rng:value>sql</rng:value>
6918 <rng:value>sql-pass-through</rng:value>
6919 <rng:value>value-list</rng:value>
6920 <rng:value>table-fields</rng:value>
6921 </rng:choice>
6922 </rng:attribute>
6923 </rng:optional>
6924 </rng:define>
6925 <rng:define name="math-math">
6926 <rng:element name="math:math">
6927 <rng:ref name="mathMarkup"/>
6928 </rng:element>
6929 </rng:define>
6930 <rng:define name="mathMarkup">
6931 <dc:description>To avoid inclusion of the complete MathML schema, anything is allowed within a math:math top-level element</dc:description>
6932 <rng:zeroOrMore>
6933 <rng:choice>
6934 <rng:attribute>
6935 <rng:anyName/>
6936 </rng:attribute>
6937 <rng:text/>
6938 <rng:element>
6939 <rng:anyName/>
6940 <rng:ref name="mathMarkup"/>
6941 </rng:element>
6942 </rng:choice>
6943 </rng:zeroOrMore>
6944 </rng:define>
6945 <rng:define name="meta-date-string">
6946 <rng:element name="meta:date-string">
6947 <rng:ref name="string"/>
6948 </rng:element>
6949 </rng:define>
6950 <rng:define name="namespacedToken">
6951 <rng:data type="QName">
6952 <rng:param name="pattern">[^:]+:[^:]+</rng:param>
6953 </rng:data>
6954 </rng:define>
6955 <rng:define name="navigation">
6956 <rng:choice>
6957 <rng:value>none</rng:value>
6958 <rng:value>current</rng:value>
6959 <rng:value>parent</rng:value>
6960 </rng:choice>
6961 </rng:define>
6962 <rng:define name="nonNegativeDecimal">
6963 <rng:data type="decimal">
6964 <rng:param name="minInclusive">0.0</rng:param>
6965 </rng:data>
6966 </rng:define>
6967 <rng:define name="nonNegativeInteger">
6968 <rng:data type="nonNegativeInteger"/>
6969 </rng:define>
6970 <rng:define name="nonNegativeLength">
6971 <rng:data type="string">
6972 <rng:param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</rng:param>
6973 </rng:data>
6974 </rng:define>
6975 <rng:define name="nonNegativePixelLength">
6976 <rng:data type="string">
6977 <rng:param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)(px)</rng:param>
6978 </rng:data>
6979 </rng:define>
6980 <rng:define name="number-am-pm">
6981 <rng:element name="number:am-pm">
6982 <rng:empty/>
6983 </rng:element>
6984 </rng:define>
6985 <rng:define name="number-and-text">
6986 <rng:ref name="number-number"/>
6987 <rng:optional>
6988 <rng:ref name="number-text-with-fillchar"/>
6989 </rng:optional>
6990 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
6991 </rng:define>
6992 <rng:define name="number-boolean">
6993 <rng:element name="number:boolean">
6994 <rng:empty/>
6995 </rng:element>
6996 </rng:define>
6997 <rng:define name="number-boolean-style">
6998 <rng:element name="number:boolean-style">
6999 <rng:ref name="common-data-style-attlist"/>
7000 <rng:optional>
7001 <rng:ref name="style-text-properties"/>
7002 </rng:optional>
7003 <rng:optional>
7004 <rng:ref name="number-text"/>
7005 </rng:optional>
7006 <rng:optional>
7007 <rng:ref name="number-boolean"/>
7008 <rng:optional>
7009 <rng:ref name="number-text"/>
7010 </rng:optional>
7011 </rng:optional>
7012 <rng:zeroOrMore>
7013 <rng:ref name="style-map"/>
7014 </rng:zeroOrMore>
7015 </rng:element>
7016 </rng:define>
7017 <rng:define name="number-currency-style">
7018 <rng:element name="number:currency-style">
7019 <rng:ref name="common-data-style-attlist"/>
7020 <rng:ref name="common-auto-reorder-attlist"/>
7021 <rng:optional>
7022 <rng:ref name="style-text-properties"/>
7023 </rng:optional>
7024 <rng:optional>
7025 <rng:ref name="number-text-with-fillchar"/>
7026 </rng:optional>
7027 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7028 <rng:optional>
7029 <rng:choice>
7030 <rng:group>
7031 <rng:ref name="number-and-text"/>
7032 <rng:optional>
7033 <rng:ref name="currency-symbol-and-text"/>
7034 </rng:optional>
7035 </rng:group>
7036 <rng:group>
7037 <rng:ref name="currency-symbol-and-text"/>
7038 <rng:optional>
7039 <rng:ref name="number-and-text"/>
7040 </rng:optional>
7041 </rng:group>
7042 </rng:choice>
7043 </rng:optional>
7044 <rng:zeroOrMore>
7045 <rng:ref name="style-map"/>
7046 </rng:zeroOrMore>
7047 </rng:element>
7048 </rng:define>
7049 <rng:define name="number-currency-symbol">
7050 <rng:element name="number:currency-symbol">
7051 <rng:ref name="number-currency-symbol-attlist"/>
7052 <rng:text/>
7053 </rng:element>
7054 </rng:define>
7055 <rng:define name="number-currency-symbol-attlist">
7056 <rng:optional>
7057 <rng:attribute name="number:language">
7058 <rng:ref name="languageCode"/>
7059 </rng:attribute>
7060 </rng:optional>
7061 <rng:optional>
7062 <rng:attribute name="number:country">
7063 <rng:ref name="countryCode"/>
7064 </rng:attribute>
7065 </rng:optional>
7066 <rng:optional>
7067 <rng:attribute name="number:script">
7068 <rng:ref name="scriptCode"/>
7069 </rng:attribute>
7070 </rng:optional>
7071 <rng:optional>
7072 <rng:attribute name="number:rfc-language-tag">
7073 <rng:ref name="language"/>
7074 </rng:attribute>
7075 </rng:optional>
7076 </rng:define>
7077 <rng:define name="number-date-style">
7078 <rng:element name="number:date-style">
7079 <rng:ref name="common-data-style-attlist"/>
7080 <rng:ref name="common-auto-reorder-attlist"/>
7081 <rng:ref name="common-format-source-attlist"/>
7082 <rng:optional>
7083 <rng:ref name="style-text-properties"/>
7084 </rng:optional>
7085 <rng:optional>
7086 <rng:ref name="number-text-with-fillchar"/>
7087 </rng:optional>
7088 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7089 <rng:oneOrMore>
7090 <rng:ref name="any-date"/>
7091 <rng:optional>
7092 <rng:ref name="number-text-with-fillchar"/>
7093 </rng:optional>
7094 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7095 </rng:oneOrMore>
7096 <rng:zeroOrMore>
7097 <rng:ref name="style-map"/>
7098 </rng:zeroOrMore>
7099 </rng:element>
7100 </rng:define>
7101 <rng:define name="number-day">
7102 <rng:element name="number:day">
7103 <rng:ref name="number-day-attlist"/>
7104 <rng:ref name="common-calendar-attlist"/>
7105 <rng:empty/>
7106 </rng:element>
7107 </rng:define>
7108 <rng:define name="number-day-attlist">
7109 <rng:optional>
7110 <rng:attribute name="number:style">
7111 <rng:choice>
7112 <rng:value>short</rng:value>
7113 <rng:value>long</rng:value>
7114 </rng:choice>
7115 </rng:attribute>
7116 </rng:optional>
7117 </rng:define>
7118 <rng:define name="number-day-of-week">
7119 <rng:element name="number:day-of-week">
7120 <rng:ref name="number-day-of-week-attlist"/>
7121 <rng:ref name="common-calendar-attlist"/>
7122 <rng:empty/>
7123 </rng:element>
7124 </rng:define>
7125 <rng:define name="number-day-of-week-attlist">
7126 <rng:optional>
7127 <rng:attribute name="number:style">
7128 <rng:choice>
7129 <rng:value>short</rng:value>
7130 <rng:value>long</rng:value>
7131 </rng:choice>
7132 </rng:attribute>
7133 </rng:optional>
7134 </rng:define>
7135 <rng:define name="number-embedded-text">
7136 <rng:element name="number:embedded-text">
7137 <rng:ref name="number-embedded-text-attlist"/>
7138 <rng:text/>
7139 </rng:element>
7140 </rng:define>
7141 <rng:define name="number-embedded-text-attlist">
7142 <rng:attribute name="number:position">
7143 <rng:ref name="integer"/>
7144 </rng:attribute>
7145 </rng:define>
7146 <rng:define name="number-era">
7147 <rng:element name="number:era">
7148 <rng:ref name="number-era-attlist"/>
7149 <rng:ref name="common-calendar-attlist"/>
7150 <rng:empty/>
7151 </rng:element>
7152 </rng:define>
7153 <rng:define name="number-era-attlist">
7154 <rng:optional>
7155 <rng:attribute name="number:style">
7156 <rng:choice>
7157 <rng:value>short</rng:value>
7158 <rng:value>long</rng:value>
7159 </rng:choice>
7160 </rng:attribute>
7161 </rng:optional>
7162 </rng:define>
7163 <rng:define name="number-fill-character">
7164 <rng:element name="number:fill-character">
7165 <rng:text/>
7166 </rng:element>
7167 </rng:define>
7168 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7169 <rng:define name="number-fraction">
7170 <rng:element name="number:fraction">
7171 <rng:ref name="number-fraction-attlist"/>
7172 <rng:ref name="common-number-attlist"/>
7173 <rng:empty/>
7174 </rng:element>
7175 </rng:define>
7176 <rng:define name="number-fraction-attlist">
7177 <rng:interleave>
7178 <rng:optional>
7179 <rng:attribute name="number:min-numerator-digits">
7180 <rng:ref name="integer"/>
7181 </rng:attribute>
7182 </rng:optional>
7183 <rng:optional>
7184 <rng:attribute name="number:min-denominator-digits">
7185 <rng:ref name="integer"/>
7186 </rng:attribute>
7187 </rng:optional>
7188 <rng:optional>
7189 <rng:attribute name="number:denominator-value">
7190 <rng:ref name="integer"/>
7191 </rng:attribute>
7192 </rng:optional>
7193 <rng:optional>
7194 <rng:attribute name="number:max-denominator-value">
7195 <rng:ref name="positiveInteger"/>
7196 </rng:attribute>
7197 </rng:optional>
7198 <!-- https://issues.oasis-open.org/browse/OFFICE-3695 max-denominator-value -->
7199 </rng:interleave>
7200 </rng:define>
7201 <rng:define name="number-hours">
7202 <rng:element name="number:hours">
7203 <rng:ref name="number-hours-attlist"/>
7204 <rng:empty/>
7205 </rng:element>
7206 </rng:define>
7207 <rng:define name="number-hours-attlist">
7208 <rng:optional>
7209 <rng:attribute name="number:style">
7210 <rng:choice>
7211 <rng:value>short</rng:value>
7212 <rng:value>long</rng:value>
7213 </rng:choice>
7214 </rng:attribute>
7215 </rng:optional>
7216 </rng:define>
7217 <rng:define name="number-minutes">
7218 <rng:element name="number:minutes">
7219 <rng:ref name="number-minutes-attlist"/>
7220 <rng:empty/>
7221 </rng:element>
7222 </rng:define>
7223 <rng:define name="number-minutes-attlist">
7224 <rng:optional>
7225 <rng:attribute name="number:style">
7226 <rng:choice>
7227 <rng:value>short</rng:value>
7228 <rng:value>long</rng:value>
7229 </rng:choice>
7230 </rng:attribute>
7231 </rng:optional>
7232 </rng:define>
7233 <rng:define name="number-month">
7234 <rng:element name="number:month">
7235 <rng:ref name="number-month-attlist"/>
7236 <rng:ref name="common-calendar-attlist"/>
7237 <rng:empty/>
7238 </rng:element>
7239 </rng:define>
7240 <rng:define name="number-month-attlist">
7241 <rng:interleave>
7242 <rng:optional>
7243 <rng:attribute name="number:textual">
7244 <rng:ref name="boolean"/>
7245 </rng:attribute>
7246 </rng:optional>
7247 <rng:optional>
7248 <rng:attribute name="number:possessive-form">
7249 <rng:ref name="boolean"/>
7250 </rng:attribute>
7251 </rng:optional>
7252 <rng:optional>
7253 <rng:attribute name="number:style">
7254 <rng:choice>
7255 <rng:value>short</rng:value>
7256 <rng:value>long</rng:value>
7257 </rng:choice>
7258 </rng:attribute>
7259 </rng:optional>
7260 </rng:interleave>
7261 </rng:define>
7262 <rng:define name="number-number">
7263 <rng:element name="number:number">
7264 <rng:ref name="number-number-attlist"/>
7265 <rng:ref name="common-decimal-places-attlist"/>
7266 <rng:ref name="common-number-attlist"/>
7267 <rng:zeroOrMore>
7268 <rng:ref name="number-embedded-text"/>
7269 </rng:zeroOrMore>
7270 </rng:element>
7271 </rng:define>
7272 <rng:define name="number-number-attlist">
7273 <rng:interleave>
7274 <rng:optional>
7275 <rng:attribute name="number:decimal-replacement">
7276 <rng:ref name="string"/>
7277 </rng:attribute>
7278 </rng:optional>
7279 <rng:optional>
7280 <rng:attribute name="number:display-factor">
7281 <rng:ref name="double"/>
7282 </rng:attribute>
7283 </rng:optional>
7284 </rng:interleave>
7285 </rng:define>
7286 <rng:define name="number-number-style">
7287 <rng:element name="number:number-style">
7288 <rng:ref name="common-data-style-attlist"/>
7289 <rng:optional>
7290 <rng:ref name="style-text-properties"/>
7291 </rng:optional>
7292 <rng:optional>
7293 <rng:ref name="number-text-with-fillchar"/>
7294 </rng:optional>
7295 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7296 <rng:optional>
7297 <rng:ref name="any-number"/>
7298 <rng:optional>
7299 <rng:ref name="number-text-with-fillchar"/>
7300 </rng:optional>
7301 </rng:optional>
7302 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7303 <rng:zeroOrMore>
7304 <rng:ref name="style-map"/>
7305 </rng:zeroOrMore>
7306 </rng:element>
7307 </rng:define>
7308 <rng:define name="number-percentage-style">
7309 <rng:element name="number:percentage-style">
7310 <rng:ref name="common-data-style-attlist"/>
7311 <rng:optional>
7312 <rng:ref name="style-text-properties"/>
7313 </rng:optional>
7314 <rng:optional>
7315 <rng:ref name="number-text-with-fillchar"/>
7316 </rng:optional>
7317 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7318 <rng:optional>
7319 <rng:ref name="number-and-text"/>
7320 </rng:optional>
7321 <rng:zeroOrMore>
7322 <rng:ref name="style-map"/>
7323 </rng:zeroOrMore>
7324 </rng:element>
7325 </rng:define>
7326 <rng:define name="number-quarter">
7327 <rng:element name="number:quarter">
7328 <rng:ref name="number-quarter-attlist"/>
7329 <rng:ref name="common-calendar-attlist"/>
7330 <rng:empty/>
7331 </rng:element>
7332 </rng:define>
7333 <rng:define name="number-quarter-attlist">
7334 <rng:optional>
7335 <rng:attribute name="number:style">
7336 <rng:choice>
7337 <rng:value>short</rng:value>
7338 <rng:value>long</rng:value>
7339 </rng:choice>
7340 </rng:attribute>
7341 </rng:optional>
7342 </rng:define>
7343 <rng:define name="number-scientific-number">
7344 <rng:element name="number:scientific-number">
7345 <rng:ref name="number-scientific-number-attlist"/>
7346 <rng:ref name="common-decimal-places-attlist"/>
7347 <rng:ref name="common-number-attlist"/>
7348 <rng:empty/>
7349 </rng:element>
7350 </rng:define>
7351 <rng:define name="number-scientific-number-attlist">
7352 <rng:interleave>
7353 <rng:optional>
7354 <rng:attribute name="number:min-exponent-digits">
7355 <rng:ref name="integer"/>
7356 </rng:attribute>
7357 </rng:optional>
7358 <rng:optional>
7359 <rng:attribute name="number:exponent-interval">
7360 <rng:ref name="positiveInteger"/>
7361 </rng:attribute>
7362 </rng:optional>
7363 <!-- https://issues.oasis-open.org/browse/OFFICE-1828 exponent-interval -->
7364 <rng:optional>
7365 <rng:attribute name="number:forced-exponent-sign">
7366 <rng:ref name="boolean"/>
7367 </rng:attribute>
7368 <!-- https://issues.oasis-open.org/browse/OFFICE-3860 added number:forced-exponent-sign -->
7369 </rng:optional>
7370 </rng:interleave>
7371 </rng:define>
7372 <rng:define name="number-seconds">
7373 <rng:element name="number:seconds">
7374 <rng:ref name="number-seconds-attlist"/>
7375 <rng:empty/>
7376 </rng:element>
7377 </rng:define>
7378 <rng:define name="number-seconds-attlist">
7379 <rng:interleave>
7380 <rng:optional>
7381 <rng:attribute name="number:style">
7382 <rng:choice>
7383 <rng:value>short</rng:value>
7384 <rng:value>long</rng:value>
7385 </rng:choice>
7386 </rng:attribute>
7387 </rng:optional>
7388 <rng:optional>
7389 <rng:attribute name="number:decimal-places">
7390 <rng:ref name="integer"/>
7391 </rng:attribute>
7392 </rng:optional>
7393 </rng:interleave>
7394 </rng:define>
7395 <rng:define name="number-text">
7396 <rng:element name="number:text">
7397 <rng:text/>
7398 </rng:element>
7399 </rng:define>
7400 <rng:define name="number-text-content">
7401 <rng:element name="number:text-content">
7402 <rng:empty/>
7403 </rng:element>
7404 </rng:define>
7405 <rng:define name="number-text-style">
7406 <rng:element name="number:text-style">
7407 <rng:ref name="common-data-style-attlist"/>
7408 <rng:optional>
7409 <rng:ref name="style-text-properties"/>
7410 </rng:optional>
7411 <rng:optional>
7412 <rng:ref name="number-text-with-fillchar"/>
7413 </rng:optional>
7414 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7415 <rng:zeroOrMore>
7416 <rng:ref name="number-text-content"/>
7417 <rng:optional>
7418 <rng:ref name="number-text-with-fillchar"/>
7419 </rng:optional>
7420 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7421 </rng:zeroOrMore>
7422 <rng:zeroOrMore>
7423 <rng:ref name="style-map"/>
7424 </rng:zeroOrMore>
7425 </rng:element>
7426 </rng:define>
7427 <rng:define name="number-text-with-fillchar">
7428 <rng:optional>
7429 <rng:ref name="number-text"/>
7430 </rng:optional>
7431 <rng:optional>
7432 <rng:ref name="number-fill-character"/>
7433 <rng:optional>
7434 <rng:ref name="number-text"/>
7435 </rng:optional>
7436 </rng:optional>
7437 </rng:define>
7438 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7439 <rng:define name="number-time-style">
7440 <rng:element name="number:time-style">
7441 <rng:ref name="number-time-style-attlist"/>
7442 <rng:ref name="common-data-style-attlist"/>
7443 <rng:ref name="common-format-source-attlist"/>
7444 <rng:optional>
7445 <rng:ref name="style-text-properties"/>
7446 </rng:optional>
7447 <rng:optional>
7448 <rng:ref name="number-text-with-fillchar"/>
7449 </rng:optional>
7450 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7451 <rng:oneOrMore>
7452 <rng:ref name="any-time"/>
7453 <rng:optional>
7454 <rng:ref name="number-text-with-fillchar"/>
7455 </rng:optional>
7456 <!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
7457 </rng:oneOrMore>
7458 <rng:zeroOrMore>
7459 <rng:ref name="style-map"/>
7460 </rng:zeroOrMore>
7461 </rng:element>
7462 </rng:define>
7463 <rng:define name="number-time-style-attlist">
7464 <rng:optional>
7465 <rng:attribute name="number:truncate-on-overflow">
7466 <rng:ref name="boolean"/>
7467 </rng:attribute>
7468 </rng:optional>
7469 </rng:define>
7470 <rng:define name="number-week-of-year">
7471 <rng:element name="number:week-of-year">
7472 <rng:ref name="common-calendar-attlist"/>
7473 <rng:empty/>
7474 </rng:element>
7475 </rng:define>
7476 <rng:define name="number-year">
7477 <rng:element name="number:year">
7478 <rng:ref name="number-year-attlist"/>
7479 <rng:ref name="common-calendar-attlist"/>
7480 <rng:empty/>
7481 </rng:element>
7482 </rng:define>
7483 <rng:define name="number-year-attlist">
7484 <rng:optional>
7485 <rng:attribute name="number:style">
7486 <rng:choice>
7487 <rng:value>short</rng:value>
7488 <rng:value>long</rng:value>
7489 </rng:choice>
7490 </rng:attribute>
7491 </rng:optional>
7492 </rng:define>
7493 <rng:define name="office-annotation">
7494 <rng:element name="office:annotation">
7495 <rng:ref name="office-annotation-attlist"/>
7496 <rng:ref name="draw-caption-attlist"/>
7497 <rng:ref name="common-draw-position-attlist"/>
7498 <rng:ref name="common-draw-size-attlist"/>
7499 <rng:ref name="common-draw-shape-with-text-and-styles-attlist"/>
7500 <rng:optional>
7501 <rng:ref name="dc-creator"/>
7502 </rng:optional>
7503 <rng:optional>
7504 <rng:ref name="dc-date"/>
7505 </rng:optional>
7506 <rng:optional>
7507 <rng:ref name="meta-date-string"/>
7508 </rng:optional>
7509 <rng:optional>
7510 <rng:element name="meta:creator-initials">
7511 <rng:text/>
7512 </rng:element>
7513 </rng:optional>
7514 <!-- https://issues.oasis-open.org/browse/OFFICE-3776 -->
7515 <rng:zeroOrMore>
7516 <rng:choice>
7517 <rng:ref name="text-p"/>
7518 <rng:ref name="text-list"/>
7519 </rng:choice>
7520 </rng:zeroOrMore>
7521 </rng:element>
7522 </rng:define>
7523 <rng:define name="office-annotation-attlist">
7524 <rng:interleave>
7525 <rng:optional>
7526 <rng:attribute name="office:display">
7527 <rng:ref name="boolean"/>
7528 </rng:attribute>
7529 </rng:optional>
7530 <rng:optional>
7531 <rng:ref name="common-office-annotation-name-attlist"/>
7532 </rng:optional>
7533 </rng:interleave>
7534 </rng:define>
7535 <rng:define name="office-annotation-end">
7536 <rng:element name="office:annotation-end">
7537 <rng:ref name="office-annotation-end-attlist"/>
7538 </rng:element>
7539 </rng:define>
7540 <rng:define name="office-annotation-end-attlist">
7541 <rng:ref name="common-office-annotation-name-attlist"/>
7542 </rng:define>
7543 <rng:define name="office-automatic-styles">
7544 <rng:optional>
7545 <rng:element name="office:automatic-styles">
7546 <rng:interleave>
7547 <rng:ref name="styles"/>
7548 <rng:zeroOrMore>
7549 <rng:ref name="style-page-layout"/>
7550 </rng:zeroOrMore>
7551 </rng:interleave>
7552 </rng:element>
7553 </rng:optional>
7554 </rng:define>
7555 <rng:define name="office-binary-data">
7556 <rng:element name="office:binary-data">
7557 <rng:ref name="base64Binary"/>
7558 </rng:element>
7559 </rng:define>
7560 <rng:define name="office-body">
7561 <rng:element name="office:body">
7562 <rng:ref name="office-body-content"/>
7563 </rng:element>
7564 </rng:define>
7565 <rng:define name="office-body-content">
7566 <rng:choice>
7567 <rng:element name="office:text">
7568 <rng:ref name="office-text-attlist"/>
7569 <rng:ref name="office-text-content-prelude"/>
7570 <rng:ref name="office-text-content-main"/>
7571 <rng:ref name="office-text-content-epilogue"/>
7572 </rng:element>
7573 <rng:element name="office:drawing">
7574 <rng:ref name="office-drawing-attlist"/>
7575 <rng:ref name="office-drawing-content-prelude"/>
7576 <rng:ref name="office-drawing-content-main"/>
7577 <rng:ref name="office-drawing-content-epilogue"/>
7578 </rng:element>
7579 <rng:element name="office:presentation">
7580 <rng:ref name="office-presentation-attlist"/>
7581 <rng:ref name="office-presentation-content-prelude"/>
7582 <rng:ref name="office-presentation-content-main"/>
7583 <rng:ref name="office-presentation-content-epilogue"/>
7584 </rng:element>
7585 <rng:element name="office:spreadsheet">
7586 <rng:ref name="office-spreadsheet-attlist"/>
7587 <rng:ref name="office-spreadsheet-content-prelude"/>
7588 <rng:ref name="office-spreadsheet-content-main"/>
7589 <rng:ref name="office-spreadsheet-content-epilogue"/>
7590 </rng:element>
7591 <rng:element name="office:chart">
7592 <rng:ref name="office-chart-attlist"/>
7593 <rng:ref name="office-chart-content-prelude"/>
7594 <rng:ref name="office-chart-content-main"/>
7595 <rng:ref name="office-chart-content-epilogue"/>
7596 </rng:element>
7597 <rng:element name="office:image">
7598 <rng:ref name="office-image-attlist"/>
7599 <rng:ref name="office-image-content-prelude"/>
7600 <rng:ref name="office-image-content-main"/>
7601 <rng:ref name="office-image-content-epilogue"/>
7602 </rng:element>
7603 <rng:ref name="office-database"/>
7604 </rng:choice>
7605 </rng:define>
7606 <rng:define name="office-change-info">
7607 <rng:element name="office:change-info">
7608 <rng:ref name="dc-creator"/>
7609 <rng:ref name="dc-date"/>
7610 <rng:zeroOrMore>
7611 <rng:ref name="text-p"/>
7612 </rng:zeroOrMore>
7613 </rng:element>
7614 </rng:define>
7615 <rng:define name="office-chart-attlist">
7616 <rng:empty/>
7617 </rng:define>
7618 <rng:define name="office-chart-content-epilogue">
7619 <rng:ref name="table-functions"/>
7620 </rng:define>
7621 <rng:define name="office-chart-content-main">
7622 <rng:ref name="chart-chart"/>
7623 </rng:define>
7624 <rng:define name="office-chart-content-prelude">
7625 <rng:ref name="text-decls"/>
7626 <rng:ref name="table-decls"/>
7627 </rng:define>
7628 <rng:define name="office-database">
7629 <rng:element name="office:database">
7630 <rng:ref name="db-data-source"/>
7631 <rng:optional>
7632 <rng:ref name="db-forms"/>
7633 </rng:optional>
7634 <rng:optional>
7635 <rng:ref name="db-reports"/>
7636 </rng:optional>
7637 <rng:optional>
7638 <rng:ref name="db-queries"/>
7639 </rng:optional>
7640 <rng:optional>
7641 <rng:ref name="db-table-presentations"/>
7642 </rng:optional>
7643 <rng:optional>
7644 <rng:ref name="db-schema-definition"/>
7645 </rng:optional>
7646 </rng:element>
7647 </rng:define>
7648 <rng:define name="office-dde-source">
7649 <rng:element name="office:dde-source">
7650 <rng:ref name="office-dde-source-attlist"/>
7651 <rng:ref name="common-dde-connection-decl-attlist"/>
7652 </rng:element>
7653 </rng:define>
7654 <rng:define name="office-dde-source-attlist">
7655 <rng:interleave>
7656 <rng:optional>
7657 <rng:attribute name="office:name">
7658 <rng:ref name="string"/>
7659 </rng:attribute>
7660 </rng:optional>
7661 <rng:optional>
7662 <rng:attribute name="office:conversion-mode">
7663 <rng:choice>
7664 <rng:value>into-default-style-data-style</rng:value>
7665 <rng:value>into-english-number</rng:value>
7666 <rng:value>keep-text</rng:value>
7667 </rng:choice>
7668 </rng:attribute>
7669 </rng:optional>
7670 </rng:interleave>
7671 </rng:define>
7672 <rng:define name="office-document">
7673 <rng:element name="office:document">
7674 <rng:ref name="office-document-attrs"/>
7675 <rng:ref name="office-document-common-attrs"/>
7676 <rng:ref name="office-meta"/>
7677 <rng:ref name="office-settings"/>
7678 <rng:ref name="office-scripts"/>
7679 <rng:ref name="office-font-face-decls"/>
7680 <rng:ref name="office-styles"/>
7681 <rng:ref name="office-automatic-styles"/>
7682 <rng:ref name="office-master-styles"/>
7683 <rng:ref name="office-body"/>
7684 </rng:element>
7685 </rng:define>
7686 <rng:define name="office-document-attrs">
7687 <rng:attribute name="office:mimetype">
7688 <rng:ref name="string"/>
7689 </rng:attribute>
7690 </rng:define>
7691 <rng:define name="office-document-common-attrs">
7692 <rng:interleave>
7693 <rng:attribute name="office:version">
7694 <rng:value>1.3</rng:value>
7695 </rng:attribute>
7696 <rng:optional>
7697 <rng:attribute name="grddl:transformation">
7698 <rng:list>
7699 <rng:zeroOrMore>
7700 <rng:ref name="anyIRI"/>
7701 </rng:zeroOrMore>
7702 </rng:list>
7703 </rng:attribute>
7704 </rng:optional>
7705 </rng:interleave>
7706 </rng:define>
7707 <rng:define name="office-document-content">
7708 <rng:element name="office:document-content">
7709 <rng:ref name="office-document-common-attrs"/>
7710 <rng:ref name="office-scripts"/>
7711 <rng:ref name="office-font-face-decls"/>
7712 <rng:ref name="office-automatic-styles"/>
7713 <rng:ref name="office-body"/>
7714 </rng:element>
7715 </rng:define>
7716 <rng:define name="office-document-meta">
7717 <rng:element name="office:document-meta">
7718 <rng:ref name="office-document-common-attrs"/>
7719 <rng:ref name="office-meta"/>
7720 </rng:element>
7721 </rng:define>
7722 <rng:define name="office-document-settings">
7723 <rng:element name="office:document-settings">
7724 <rng:ref name="office-document-common-attrs"/>
7725 <rng:ref name="office-settings"/>
7726 </rng:element>
7727 </rng:define>
7728 <rng:define name="office-document-styles">
7729 <rng:element name="office:document-styles">
7730 <rng:ref name="office-document-common-attrs"/>
7731 <rng:ref name="office-font-face-decls"/>
7732 <rng:ref name="office-styles"/>
7733 <rng:ref name="office-automatic-styles"/>
7734 <rng:ref name="office-master-styles"/>
7735 </rng:element>
7736 </rng:define>
7737 <rng:define name="office-drawing-attlist">
7738 <rng:empty/>
7739 </rng:define>
7740 <rng:define name="office-drawing-content-epilogue">
7741 <rng:ref name="table-functions"/>
7742 </rng:define>
7743 <rng:define name="office-drawing-content-main">
7744 <rng:zeroOrMore>
7745 <rng:ref name="draw-page"/>
7746 </rng:zeroOrMore>
7747 </rng:define>
7748 <rng:define name="office-drawing-content-prelude">
7749 <rng:ref name="text-decls"/>
7750 <rng:ref name="table-decls"/>
7751 </rng:define>
7752 <rng:define name="office-event-listeners">
7753 <rng:element name="office:event-listeners">
7754 <rng:zeroOrMore>
7755 <rng:choice>
7756 <rng:ref name="script-event-listener"/>
7757 <rng:ref name="presentation-event-listener"/>
7758 </rng:choice>
7759 </rng:zeroOrMore>
7760 </rng:element>
7761 </rng:define>
7762 <rng:define name="office-font-face-decls">
7763 <rng:optional>
7764 <rng:element name="office:font-face-decls">
7765 <rng:zeroOrMore>
7766 <rng:ref name="style-font-face"/>
7767 </rng:zeroOrMore>
7768 </rng:element>
7769 </rng:optional>
7770 </rng:define>
7771 <rng:define name="office-forms">
7772 <rng:optional>
7773 <rng:element name="office:forms">
7774 <rng:ref name="office-forms-attlist"/>
7775 <rng:zeroOrMore>
7776 <rng:choice>
7777 <rng:ref name="form-form"/>
7778 <rng:ref name="xforms-model"/>
7779 </rng:choice>
7780 </rng:zeroOrMore>
7781 </rng:element>
7782 </rng:optional>
7783 </rng:define>
7784 <rng:define name="office-forms-attlist">
7785 <rng:interleave>
7786 <rng:optional>
7787 <rng:attribute name="form:automatic-focus">
7788 <rng:ref name="boolean"/>
7789 </rng:attribute>
7790 </rng:optional>
7791 <rng:optional>
7792 <rng:attribute name="form:apply-design-mode">
7793 <rng:ref name="boolean"/>
7794 </rng:attribute>
7795 </rng:optional>
7796 </rng:interleave>
7797 </rng:define>
7798 <rng:define name="office-image-attlist">
7799 <rng:empty/>
7800 </rng:define>
7801 <rng:define name="office-image-content-epilogue">
7802 <rng:empty/>
7803 </rng:define>
7804 <rng:define name="office-image-content-main">
7805 <rng:ref name="draw-frame"/>
7806 </rng:define>
7807 <rng:define name="office-image-content-prelude">
7808 <rng:empty/>
7809 </rng:define>
7810 <rng:define name="office-master-styles">
7811 <rng:optional>
7812 <rng:element name="office:master-styles">
7813 <rng:interleave>
7814 <rng:zeroOrMore>
7815 <rng:ref name="style-master-page"/>
7816 </rng:zeroOrMore>
7817 <rng:optional>
7818 <rng:ref name="style-handout-master"/>
7819 </rng:optional>
7820 <rng:optional>
7821 <rng:ref name="draw-layer-set"/>
7822 </rng:optional>
7823 </rng:interleave>
7824 </rng:element>
7825 </rng:optional>
7826 </rng:define>
7827 <rng:define name="office-meta">
7828 <rng:optional>
7829 <rng:element name="office:meta">
7830 <rng:ref name="office-meta-content-strict"/>
7831 </rng:element>
7832 </rng:optional>
7833 </rng:define>
7834 <rng:define name="office-meta-content-strict">
7835 <rng:zeroOrMore>
7836 <rng:ref name="office-meta-data"/>
7837 </rng:zeroOrMore>
7838 </rng:define>
7839 <rng:define name="office-meta-data">
7840 <rng:choice>
7841 <rng:element name="meta:generator">
7842 <rng:ref name="string"/>
7843 </rng:element>
7844 <rng:element name="dc:title">
7845 <rng:ref name="string"/>
7846 </rng:element>
7847 <rng:element name="dc:description">
7848 <rng:ref name="string"/>
7849 </rng:element>
7850 <rng:element name="dc:subject">
7851 <rng:ref name="string"/>
7852 </rng:element>
7853 <rng:element name="meta:keyword">
7854 <rng:ref name="string"/>
7855 </rng:element>
7856 <rng:element name="meta:initial-creator">
7857 <rng:ref name="string"/>
7858 </rng:element>
7859 <rng:ref name="dc-creator"/>
7860 <rng:element name="meta:printed-by">
7861 <rng:ref name="string"/>
7862 </rng:element>
7863 <rng:element name="meta:creation-date">
7864 <rng:ref name="dateTime"/>
7865 </rng:element>
7866 <rng:ref name="dc-date"/>
7867 <rng:element name="meta:print-date">
7868 <rng:ref name="dateTime"/>
7869 </rng:element>
7870 <rng:element name="meta:template">
7871 <rng:attribute name="xlink:type">
7872 <rng:value>simple</rng:value>
7873 </rng:attribute>
7874 <rng:attribute name="xlink:href">
7875 <rng:ref name="anyIRI"/>
7876 </rng:attribute>
7877 <rng:optional>
7878 <rng:attribute name="xlink:actuate">
7879 <rng:value>onRequest</rng:value>
7880 </rng:attribute>
7881 </rng:optional>
7882 <rng:optional>
7883 <rng:attribute name="xlink:title">
7884 <rng:ref name="string"/>
7885 </rng:attribute>
7886 </rng:optional>
7887 <rng:optional>
7888 <rng:attribute name="meta:date">
7889 <rng:ref name="dateTime"/>
7890 </rng:attribute>
7891 </rng:optional>
7892 </rng:element>
7893 <rng:element name="meta:auto-reload">
7894 <rng:optional>
7895 <rng:attribute name="xlink:type">
7896 <rng:value>simple</rng:value>
7897 </rng:attribute>
7898 <rng:attribute name="xlink:href">
7899 <rng:ref name="anyIRI"/>
7900 </rng:attribute>
7901 <rng:optional>
7902 <rng:attribute name="xlink:show">
7903 <rng:value>replace</rng:value>
7904 </rng:attribute>
7905 </rng:optional>
7906 <rng:optional>
7907 <rng:attribute name="xlink:actuate">
7908 <rng:value>onLoad</rng:value>
7909 </rng:attribute>
7910 </rng:optional>
7911 </rng:optional>
7912 <rng:optional>
7913 <rng:attribute name="meta:delay">
7914 <rng:ref name="duration"/>
7915 </rng:attribute>
7916 </rng:optional>
7917 </rng:element>
7918 <rng:element name="meta:hyperlink-behaviour">
7919 <rng:optional>
7920 <rng:attribute name="office:target-frame-name">
7921 <rng:ref name="targetFrameName"/>
7922 </rng:attribute>
7923 </rng:optional>
7924 <rng:optional>
7925 <rng:attribute name="xlink:show">
7926 <rng:choice>
7927 <rng:value>new</rng:value>
7928 <rng:value>replace</rng:value>
7929 </rng:choice>
7930 </rng:attribute>
7931 </rng:optional>
7932 </rng:element>
7933 <rng:element name="dc:language">
7934 <rng:ref name="language"/>
7935 </rng:element>
7936 <rng:element name="meta:editing-cycles">
7937 <rng:ref name="nonNegativeInteger"/>
7938 </rng:element>
7939 <rng:element name="meta:editing-duration">
7940 <rng:ref name="duration"/>
7941 </rng:element>
7942 <rng:element name="meta:document-statistic">
7943 <rng:optional>
7944 <rng:attribute name="meta:page-count">
7945 <rng:ref name="nonNegativeInteger"/>
7946 </rng:attribute>
7947 </rng:optional>
7948 <rng:optional>
7949 <rng:attribute name="meta:table-count">
7950 <rng:ref name="nonNegativeInteger"/>
7951 </rng:attribute>
7952 </rng:optional>
7953 <rng:optional>
7954 <rng:attribute name="meta:draw-count">
7955 <rng:ref name="nonNegativeInteger"/>
7956 </rng:attribute>
7957 </rng:optional>
7958 <rng:optional>
7959 <rng:attribute name="meta:image-count">
7960 <rng:ref name="nonNegativeInteger"/>
7961 </rng:attribute>
7962 </rng:optional>
7963 <rng:optional>
7964 <rng:attribute name="meta:ole-object-count">
7965 <rng:ref name="nonNegativeInteger"/>
7966 </rng:attribute>
7967 </rng:optional>
7968 <rng:optional>
7969 <rng:attribute name="meta:object-count">
7970 <rng:ref name="nonNegativeInteger"/>
7971 </rng:attribute>
7972 </rng:optional>
7973 <rng:optional>
7974 <rng:attribute name="meta:paragraph-count">
7975 <rng:ref name="nonNegativeInteger"/>
7976 </rng:attribute>
7977 </rng:optional>
7978 <rng:optional>
7979 <rng:attribute name="meta:word-count">
7980 <rng:ref name="nonNegativeInteger"/>
7981 </rng:attribute>
7982 </rng:optional>
7983 <rng:optional>
7984 <rng:attribute name="meta:character-count">
7985 <rng:ref name="nonNegativeInteger"/>
7986 </rng:attribute>
7987 </rng:optional>
7988 <rng:optional>
7989 <rng:attribute name="meta:frame-count">
7990 <rng:ref name="nonNegativeInteger"/>
7991 </rng:attribute>
7992 </rng:optional>
7993 <rng:optional>
7994 <rng:attribute name="meta:sentence-count">
7995 <rng:ref name="nonNegativeInteger"/>
7996 </rng:attribute>
7997 </rng:optional>
7998 <rng:optional>
7999 <rng:attribute name="meta:syllable-count">
8000 <rng:ref name="nonNegativeInteger"/>
8001 </rng:attribute>
8002 </rng:optional>
8003 <rng:optional>
8004 <rng:attribute name="meta:non-whitespace-character-count">
8005 <rng:ref name="nonNegativeInteger"/>
8006 </rng:attribute>
8007 </rng:optional>
8008 <rng:optional>
8009 <rng:attribute name="meta:row-count">
8010 <rng:ref name="nonNegativeInteger"/>
8011 </rng:attribute>
8012 </rng:optional>
8013 <rng:optional>
8014 <rng:attribute name="meta:cell-count">
8015 <rng:ref name="nonNegativeInteger"/>
8016 </rng:attribute>
8017 </rng:optional>
8018 </rng:element>
8019 <rng:element name="meta:user-defined">
8020 <rng:attribute name="meta:name">
8021 <rng:ref name="string"/>
8022 </rng:attribute>
8023 <rng:choice>
8024 <rng:group>
8025 <rng:attribute name="meta:value-type">
8026 <rng:value>float</rng:value>
8027 </rng:attribute>
8028 <rng:ref name="double"/>
8029 </rng:group>
8030 <rng:group>
8031 <rng:attribute name="meta:value-type">
8032 <rng:value>date</rng:value>
8033 </rng:attribute>
8034 <rng:ref name="dateOrDateTime"/>
8035 </rng:group>
8036 <rng:group>
8037 <rng:attribute name="meta:value-type">
8038 <rng:value>time</rng:value>
8039 </rng:attribute>
8040 <rng:ref name="duration"/>
8041 </rng:group>
8042 <rng:group>
8043 <rng:attribute name="meta:value-type">
8044 <rng:value>boolean</rng:value>
8045 </rng:attribute>
8046 <rng:ref name="boolean"/>
8047 </rng:group>
8048 <rng:group>
8049 <rng:attribute name="meta:value-type">
8050 <rng:value>string</rng:value>
8051 </rng:attribute>
8052 <rng:ref name="string"/>
8053 </rng:group>
8054 <rng:text/>
8055 </rng:choice>
8056 </rng:element>
8057 </rng:choice>
8058 </rng:define>
8059 <rng:define name="office-presentation-attlist">
8060 <rng:empty/>
8061 </rng:define>
8062 <rng:define name="office-presentation-content-epilogue">
8063 <rng:ref name="presentation-settings"/>
8064 <rng:ref name="table-functions"/>
8065 </rng:define>
8066 <rng:define name="office-presentation-content-main">
8067 <rng:zeroOrMore>
8068 <rng:ref name="draw-page"/>
8069 </rng:zeroOrMore>
8070 </rng:define>
8071 <rng:define name="office-presentation-content-prelude">
8072 <rng:ref name="text-decls"/>
8073 <rng:ref name="table-decls"/>
8074 <rng:ref name="presentation-decls"/>
8075 </rng:define>
8076 <!-- removed from text as well
8077 <rng:define name="office-process-content">
8078 <rng:optional>
8079 <rng:attribute name="office:process-content">
8080 <rng:ref name="boolean"/>
8081 </rng:attribute>
8082 </rng:optional>
8083 </rng:define>
8085 <rng:define name="office-script">
8086 <rng:element name="office:script">
8087 <rng:ref name="office-script-attlist"/>
8088 <rng:mixed>
8089 <rng:ref name="anyElements"/>
8090 </rng:mixed>
8091 </rng:element>
8092 </rng:define>
8093 <rng:define name="office-script-attlist">
8094 <rng:attribute name="script:language">
8095 <rng:ref name="string"/>
8096 </rng:attribute>
8097 </rng:define>
8098 <rng:define name="office-scripts">
8099 <rng:optional>
8100 <rng:element name="office:scripts">
8101 <rng:zeroOrMore>
8102 <rng:ref name="office-script"/>
8103 </rng:zeroOrMore>
8104 <rng:optional>
8105 <rng:ref name="office-event-listeners"/>
8106 </rng:optional>
8107 </rng:element>
8108 </rng:optional>
8109 </rng:define>
8110 <rng:define name="office-settings">
8111 <rng:optional>
8112 <rng:element name="office:settings">
8113 <rng:oneOrMore>
8114 <rng:ref name="config-config-item-set"/>
8115 </rng:oneOrMore>
8116 </rng:element>
8117 </rng:optional>
8118 </rng:define>
8119 <rng:define name="office-spreadsheet-attlist">
8120 <rng:optional>
8121 <rng:attribute name="table:structure-protected">
8122 <rng:ref name="boolean"/>
8123 </rng:attribute>
8124 </rng:optional>
8125 <rng:optional>
8126 <rng:attribute name="table:protection-key">
8127 <rng:ref name="string"/>
8128 </rng:attribute>
8129 </rng:optional>
8130 <rng:optional>
8131 <rng:attribute name="table:protection-key-digest-algorithm">
8132 <rng:ref name="anyIRI"/>
8133 </rng:attribute>
8134 </rng:optional>
8135 </rng:define>
8136 <rng:define name="office-spreadsheet-content-epilogue">
8137 <rng:ref name="table-functions"/>
8138 </rng:define>
8139 <rng:define name="office-spreadsheet-content-main">
8140 <rng:zeroOrMore>
8141 <rng:ref name="table-table"/>
8142 </rng:zeroOrMore>
8143 </rng:define>
8144 <rng:define name="office-spreadsheet-content-prelude">
8145 <rng:optional>
8146 <rng:ref name="table-tracked-changes"/>
8147 </rng:optional>
8148 <rng:ref name="text-decls"/>
8149 <rng:ref name="table-decls"/>
8150 </rng:define>
8151 <rng:define name="office-styles">
8152 <rng:optional>
8153 <rng:element name="office:styles">
8154 <rng:interleave>
8155 <rng:ref name="styles"/>
8156 <rng:zeroOrMore>
8157 <rng:ref name="style-default-style"/>
8158 </rng:zeroOrMore>
8159 <rng:optional>
8160 <rng:ref name="style-default-page-layout"/>
8161 </rng:optional>
8162 <rng:optional>
8163 <rng:ref name="text-outline-style"/>
8164 </rng:optional>
8165 <rng:zeroOrMore>
8166 <rng:ref name="text-notes-configuration"/>
8167 </rng:zeroOrMore>
8168 <rng:optional>
8169 <rng:ref name="text-bibliography-configuration"/>
8170 </rng:optional>
8171 <rng:optional>
8172 <rng:ref name="text-linenumbering-configuration"/>
8173 </rng:optional>
8174 <rng:zeroOrMore>
8175 <rng:ref name="draw-gradient"/>
8176 </rng:zeroOrMore>
8177 <rng:zeroOrMore>
8178 <rng:ref name="svg-linearGradient"/>
8179 </rng:zeroOrMore>
8180 <rng:zeroOrMore>
8181 <rng:ref name="svg-radialGradient"/>
8182 </rng:zeroOrMore>
8183 <rng:zeroOrMore>
8184 <rng:ref name="draw-hatch"/>
8185 </rng:zeroOrMore>
8186 <rng:zeroOrMore>
8187 <rng:ref name="draw-fill-image"/>
8188 </rng:zeroOrMore>
8189 <rng:zeroOrMore>
8190 <rng:ref name="draw-marker"/>
8191 </rng:zeroOrMore>
8192 <rng:zeroOrMore>
8193 <rng:ref name="draw-stroke-dash"/>
8194 </rng:zeroOrMore>
8195 <rng:zeroOrMore>
8196 <rng:ref name="draw-opacity"/>
8197 </rng:zeroOrMore>
8198 <rng:zeroOrMore>
8199 <rng:ref name="style-presentation-page-layout"/>
8200 </rng:zeroOrMore>
8201 <rng:zeroOrMore>
8202 <rng:ref name="table-table-template"/>
8203 </rng:zeroOrMore>
8204 </rng:interleave>
8205 </rng:element>
8206 </rng:optional>
8207 </rng:define>
8208 <rng:define name="office-text-attlist">
8209 <rng:interleave>
8210 <rng:optional>
8211 <rng:attribute name="text:global">
8212 <rng:ref name="boolean"/>
8213 </rng:attribute>
8214 </rng:optional>
8215 <rng:optional>
8216 <rng:attribute name="text:use-soft-page-breaks">
8217 <rng:ref name="boolean"/>
8218 </rng:attribute>
8219 </rng:optional>
8220 </rng:interleave>
8221 </rng:define>
8222 <rng:define name="office-text-content-epilogue">
8223 <rng:ref name="table-functions"/>
8224 </rng:define>
8225 <rng:define name="office-text-content-main">
8226 <rng:choice>
8227 <rng:zeroOrMore>
8228 <rng:ref name="text-content"/>
8229 </rng:zeroOrMore>
8230 <rng:group>
8231 <rng:ref name="text-page-sequence"/>
8232 <rng:zeroOrMore>
8233 <rng:choice>
8234 <rng:ref name="shape"/>
8235 </rng:choice>
8236 </rng:zeroOrMore>
8237 </rng:group>
8238 </rng:choice>
8239 </rng:define>
8240 <rng:define name="office-text-content-prelude">
8241 <rng:ref name="office-forms"/>
8242 <rng:ref name="text-tracked-changes"/>
8243 <rng:ref name="text-decls"/>
8244 <rng:ref name="table-decls"/>
8245 </rng:define>
8246 <rng:define name="paragraph-attrs">
8247 <rng:interleave>
8248 <rng:optional>
8249 <rng:attribute name="text:style-name">
8250 <rng:ref name="styleNameRef"/>
8251 </rng:attribute>
8252 </rng:optional>
8253 <rng:optional>
8254 <rng:attribute name="text:class-names">
8255 <rng:ref name="styleNameRefs"/>
8256 </rng:attribute>
8257 </rng:optional>
8258 <rng:optional>
8259 <rng:attribute name="text:cond-style-name">
8260 <rng:ref name="styleNameRef"/>
8261 </rng:attribute>
8262 </rng:optional>
8263 <rng:optional>
8264 <rng:group>
8265 <rng:ref name="xml-id"/>
8266 <rng:optional>
8267 <rng:attribute name="text:id">
8268 <rng:ref name="NCName"/>
8269 </rng:attribute>
8270 </rng:optional>
8271 </rng:group>
8272 </rng:optional>
8273 <rng:optional>
8274 <rng:ref name="common-in-content-meta-attlist"/>
8275 </rng:optional>
8276 </rng:interleave>
8277 </rng:define>
8278 <rng:define name="paragraph-content">
8279 <rng:choice>
8280 <rng:text/>
8281 <rng:element name="text:s">
8282 <rng:optional>
8283 <rng:attribute name="text:c">
8284 <rng:ref name="nonNegativeInteger"/>
8285 </rng:attribute>
8286 </rng:optional>
8287 </rng:element>
8288 <rng:element name="text:tab">
8289 <rng:ref name="text-tab-attr"/>
8290 </rng:element>
8291 <rng:element name="text:line-break">
8292 <rng:empty/>
8293 </rng:element>
8294 <rng:ref name="text-soft-page-break"/>
8295 <rng:element name="text:span">
8296 <rng:optional>
8297 <rng:attribute name="text:style-name">
8298 <rng:ref name="styleNameRef"/>
8299 </rng:attribute>
8300 </rng:optional>
8301 <rng:optional>
8302 <rng:attribute name="text:class-names">
8303 <rng:ref name="styleNameRefs"/>
8304 </rng:attribute>
8305 </rng:optional>
8306 <rng:zeroOrMore>
8307 <rng:ref name="paragraph-content-or-hyperlink"/>
8308 </rng:zeroOrMore>
8309 </rng:element>
8310 <rng:element name="text:meta">
8311 <rng:ref name="text-meta-attlist"/>
8312 <rng:zeroOrMore>
8313 <rng:ref name="paragraph-content-or-hyperlink"/>
8314 </rng:zeroOrMore>
8315 </rng:element>
8316 <rng:choice>
8317 <rng:ref name="text-bookmark"/>
8318 <rng:ref name="text-bookmark-start"/>
8319 <rng:ref name="text-bookmark-end"/>
8320 </rng:choice>
8321 <rng:element name="text:reference-mark">
8322 <rng:attribute name="text:name">
8323 <rng:ref name="string"/>
8324 </rng:attribute>
8325 </rng:element>
8326 <rng:choice>
8327 <rng:element name="text:reference-mark-start">
8328 <rng:attribute name="text:name">
8329 <rng:ref name="string"/>
8330 </rng:attribute>
8331 </rng:element>
8332 <rng:element name="text:reference-mark-end">
8333 <rng:attribute name="text:name">
8334 <rng:ref name="string"/>
8335 </rng:attribute>
8336 </rng:element>
8337 </rng:choice>
8338 <rng:element name="text:note">
8339 <rng:ref name="text-note-class"/>
8340 <rng:optional>
8341 <rng:attribute name="text:id">
8342 <rng:ref name="string"/>
8343 </rng:attribute>
8344 </rng:optional>
8345 <rng:element name="text:note-citation">
8346 <rng:optional>
8347 <rng:attribute name="text:label">
8348 <rng:ref name="string"/>
8349 </rng:attribute>
8350 </rng:optional>
8351 <rng:text/>
8352 </rng:element>
8353 <rng:element name="text:note-body">
8354 <rng:zeroOrMore>
8355 <rng:ref name="text-content"/>
8356 </rng:zeroOrMore>
8357 </rng:element>
8358 </rng:element>
8359 <rng:element name="text:ruby">
8360 <rng:optional>
8361 <rng:attribute name="text:style-name">
8362 <rng:ref name="styleNameRef"/>
8363 </rng:attribute>
8364 </rng:optional>
8365 <rng:element name="text:ruby-base">
8366 <rng:zeroOrMore>
8367 <rng:ref name="paragraph-content-or-hyperlink"/>
8368 </rng:zeroOrMore>
8369 </rng:element>
8370 <rng:element name="text:ruby-text">
8371 <rng:optional>
8372 <rng:attribute name="text:style-name">
8373 <rng:ref name="styleNameRef"/>
8374 </rng:attribute>
8375 </rng:optional>
8376 <rng:text/>
8377 </rng:element>
8378 </rng:element>
8379 <rng:choice>
8380 <rng:ref name="office-annotation"/>
8381 <rng:ref name="office-annotation-end"/>
8382 </rng:choice>
8383 <rng:ref name="change-marks"/>
8384 <rng:ref name="shape"/>
8385 <rng:element name="text:date">
8386 <rng:ref name="text-date-attlist"/>
8387 <rng:text/>
8388 </rng:element>
8389 <rng:element name="text:time">
8390 <rng:ref name="text-time-attlist"/>
8391 <rng:text/>
8392 </rng:element>
8393 <rng:element name="text:page-number">
8394 <rng:ref name="text-page-number-attlist"/>
8395 <rng:text/>
8396 </rng:element>
8397 <rng:element name="text:page-continuation">
8398 <rng:ref name="text-page-continuation-attlist"/>
8399 <rng:text/>
8400 </rng:element>
8401 <rng:element name="text:sender-firstname">
8402 <rng:ref name="common-field-fixed-attlist"/>
8403 <rng:text/>
8404 </rng:element>
8405 <rng:element name="text:sender-lastname">
8406 <rng:ref name="common-field-fixed-attlist"/>
8407 <rng:text/>
8408 </rng:element>
8409 <rng:element name="text:sender-initials">
8410 <rng:ref name="common-field-fixed-attlist"/>
8411 <rng:text/>
8412 </rng:element>
8413 <rng:element name="text:sender-title">
8414 <rng:ref name="common-field-fixed-attlist"/>
8415 <rng:text/>
8416 </rng:element>
8417 <rng:element name="text:sender-position">
8418 <rng:ref name="common-field-fixed-attlist"/>
8419 <rng:text/>
8420 </rng:element>
8421 <rng:element name="text:sender-email">
8422 <rng:ref name="common-field-fixed-attlist"/>
8423 <rng:text/>
8424 </rng:element>
8425 <rng:element name="text:sender-phone-private">
8426 <rng:ref name="common-field-fixed-attlist"/>
8427 <rng:text/>
8428 </rng:element>
8429 <rng:element name="text:sender-fax">
8430 <rng:ref name="common-field-fixed-attlist"/>
8431 <rng:text/>
8432 </rng:element>
8433 <rng:element name="text:sender-company">
8434 <rng:ref name="common-field-fixed-attlist"/>
8435 <rng:text/>
8436 </rng:element>
8437 <rng:element name="text:sender-phone-work">
8438 <rng:ref name="common-field-fixed-attlist"/>
8439 <rng:text/>
8440 </rng:element>
8441 <rng:element name="text:sender-street">
8442 <rng:ref name="common-field-fixed-attlist"/>
8443 <rng:text/>
8444 </rng:element>
8445 <rng:element name="text:sender-city">
8446 <rng:ref name="common-field-fixed-attlist"/>
8447 <rng:text/>
8448 </rng:element>
8449 <rng:element name="text:sender-postal-code">
8450 <rng:ref name="common-field-fixed-attlist"/>
8451 <rng:text/>
8452 </rng:element>
8453 <rng:element name="text:sender-country">
8454 <rng:ref name="common-field-fixed-attlist"/>
8455 <rng:text/>
8456 </rng:element>
8457 <rng:element name="text:sender-state-or-province">
8458 <rng:ref name="common-field-fixed-attlist"/>
8459 <rng:text/>
8460 </rng:element>
8461 <rng:element name="text:author-name">
8462 <rng:ref name="common-field-fixed-attlist"/>
8463 <rng:text/>
8464 </rng:element>
8465 <rng:element name="text:author-initials">
8466 <rng:ref name="common-field-fixed-attlist"/>
8467 <rng:text/>
8468 </rng:element>
8469 <rng:element name="text:chapter">
8470 <rng:ref name="text-chapter-attlist"/>
8471 <rng:text/>
8472 </rng:element>
8473 <rng:element name="text:file-name">
8474 <rng:ref name="text-file-name-attlist"/>
8475 <rng:text/>
8476 </rng:element>
8477 <rng:element name="text:template-name">
8478 <rng:ref name="text-template-name-attlist"/>
8479 <rng:text/>
8480 </rng:element>
8481 <rng:element name="text:sheet-name">
8482 <rng:text/>
8483 </rng:element>
8484 <rng:element name="text:variable-set">
8485 <rng:interleave>
8486 <rng:ref name="common-field-name-attlist"/>
8487 <rng:ref name="common-field-formula-attlist"/>
8488 <rng:ref name="common-value-and-type-attlist"/>
8489 <rng:ref name="common-field-display-value-none-attlist"/>
8490 <rng:ref name="common-field-data-style-name-attlist"/>
8491 </rng:interleave>
8492 <rng:text/>
8493 </rng:element>
8494 <rng:element name="text:variable-get">
8495 <rng:interleave>
8496 <rng:ref name="common-field-name-attlist"/>
8497 <rng:ref name="common-field-display-value-formula-attlist"/>
8498 <rng:ref name="common-field-data-style-name-attlist"/>
8499 </rng:interleave>
8500 <rng:text/>
8501 </rng:element>
8502 <rng:element name="text:variable-input">
8503 <rng:interleave>
8504 <rng:ref name="common-field-name-attlist"/>
8505 <rng:ref name="common-field-description-attlist"/>
8506 <rng:ref name="common-value-type-attlist"/>
8507 <rng:ref name="common-field-display-value-none-attlist"/>
8508 <rng:ref name="common-field-data-style-name-attlist"/>
8509 </rng:interleave>
8510 <rng:text/>
8511 </rng:element>
8512 <rng:element name="text:user-field-get">
8513 <rng:interleave>
8514 <rng:ref name="common-field-name-attlist"/>
8515 <rng:ref name="common-field-display-value-formula-none-attlist"/>
8516 <rng:ref name="common-field-data-style-name-attlist"/>
8517 </rng:interleave>
8518 <rng:text/>
8519 </rng:element>
8520 <rng:element name="text:user-field-input">
8521 <rng:interleave>
8522 <rng:ref name="common-field-name-attlist"/>
8523 <rng:ref name="common-field-description-attlist"/>
8524 <rng:ref name="common-field-data-style-name-attlist"/>
8525 </rng:interleave>
8526 <rng:text/>
8527 </rng:element>
8528 <rng:element name="text:sequence">
8529 <rng:interleave>
8530 <rng:ref name="common-field-name-attlist"/>
8531 <rng:ref name="common-field-formula-attlist"/>
8532 <rng:ref name="common-field-num-format-attlist"/>
8533 <rng:ref name="text-sequence-ref-name"/>
8534 </rng:interleave>
8535 <rng:text/>
8536 </rng:element>
8537 <rng:element name="text:expression">
8538 <rng:interleave>
8539 <rng:ref name="common-field-formula-attlist"/>
8540 <rng:optional>
8541 <rng:ref name="common-value-and-type-attlist"/>
8542 </rng:optional>
8543 <rng:ref name="common-field-display-value-formula-attlist"/>
8544 <rng:ref name="common-field-data-style-name-attlist"/>
8545 </rng:interleave>
8546 <rng:text/>
8547 </rng:element>
8548 <rng:element name="text:text-input">
8549 <rng:ref name="common-field-description-attlist"/>
8550 <rng:text/>
8551 </rng:element>
8552 <rng:ref name="text-drop-down"/>
8553 <!-- OFFICE-3881 -->
8554 <rng:element name="text:initial-creator">
8555 <rng:ref name="common-field-fixed-attlist"/>
8556 <rng:text/>
8557 </rng:element>
8558 <rng:element name="text:creation-date">
8559 <rng:interleave>
8560 <rng:ref name="common-field-fixed-attlist"/>
8561 <rng:ref name="common-field-data-style-name-attlist"/>
8562 <rng:optional>
8563 <rng:attribute name="text:date-value">
8564 <rng:ref name="dateOrDateTime"/>
8565 </rng:attribute>
8566 </rng:optional>
8567 </rng:interleave>
8568 <rng:text/>
8569 </rng:element>
8570 <rng:element name="text:creation-time">
8571 <rng:interleave>
8572 <rng:ref name="common-field-fixed-attlist"/>
8573 <rng:ref name="common-field-data-style-name-attlist"/>
8574 <rng:optional>
8575 <rng:attribute name="text:time-value">
8576 <rng:ref name="timeOrDateTime"/>
8577 </rng:attribute>
8578 </rng:optional>
8579 </rng:interleave>
8580 <rng:text/>
8581 </rng:element>
8582 <rng:element name="text:description">
8583 <rng:ref name="common-field-fixed-attlist"/>
8584 <rng:text/>
8585 </rng:element>
8586 <rng:element name="text:user-defined">
8587 <rng:interleave>
8588 <rng:ref name="common-field-fixed-attlist"/>
8589 <rng:attribute name="text:name">
8590 <rng:ref name="string"/>
8591 </rng:attribute>
8592 <rng:ref name="common-field-data-style-name-attlist"/>
8593 <rng:optional>
8594 <rng:attribute name="office:value">
8595 <rng:ref name="double"/>
8596 </rng:attribute>
8597 </rng:optional>
8598 <rng:optional>
8599 <rng:attribute name="office:date-value">
8600 <rng:ref name="dateOrDateTime"/>
8601 </rng:attribute>
8602 </rng:optional>
8603 <rng:optional>
8604 <rng:attribute name="office:time-value">
8605 <rng:ref name="duration"/>
8606 </rng:attribute>
8607 </rng:optional>
8608 <rng:optional>
8609 <rng:attribute name="office:boolean-value">
8610 <rng:ref name="boolean"/>
8611 </rng:attribute>
8612 </rng:optional>
8613 <rng:optional>
8614 <rng:attribute name="office:string-value">
8615 <rng:ref name="string"/>
8616 </rng:attribute>
8617 </rng:optional>
8618 </rng:interleave>
8619 <rng:text/>
8620 </rng:element>
8621 <rng:element name="text:print-time">
8622 <rng:interleave>
8623 <rng:ref name="common-field-fixed-attlist"/>
8624 <rng:ref name="common-field-data-style-name-attlist"/>
8625 <rng:optional>
8626 <rng:attribute name="text:time-value">
8627 <rng:ref name="time"/>
8628 </rng:attribute>
8629 </rng:optional>
8630 </rng:interleave>
8631 <rng:text/>
8632 </rng:element>
8633 <rng:element name="text:print-date">
8634 <rng:interleave>
8635 <rng:ref name="common-field-fixed-attlist"/>
8636 <rng:ref name="common-field-data-style-name-attlist"/>
8637 <rng:optional>
8638 <rng:attribute name="text:date-value">
8639 <rng:ref name="date"/>
8640 </rng:attribute>
8641 </rng:optional>
8642 </rng:interleave>
8643 <rng:text/>
8644 </rng:element>
8645 <rng:element name="text:printed-by">
8646 <rng:ref name="common-field-fixed-attlist"/>
8647 <rng:text/>
8648 </rng:element>
8649 <rng:element name="text:title">
8650 <rng:ref name="common-field-fixed-attlist"/>
8651 <rng:text/>
8652 </rng:element>
8653 <rng:element name="text:subject">
8654 <rng:ref name="common-field-fixed-attlist"/>
8655 <rng:text/>
8656 </rng:element>
8657 <rng:element name="text:keywords">
8658 <rng:ref name="common-field-fixed-attlist"/>
8659 <rng:text/>
8660 </rng:element>
8661 <rng:element name="text:editing-cycles">
8662 <rng:ref name="common-field-fixed-attlist"/>
8663 <rng:text/>
8664 </rng:element>
8665 <rng:element name="text:editing-duration">
8666 <rng:interleave>
8667 <rng:ref name="common-field-fixed-attlist"/>
8668 <rng:ref name="common-field-data-style-name-attlist"/>
8669 <rng:optional>
8670 <rng:attribute name="text:duration">
8671 <rng:ref name="duration"/>
8672 </rng:attribute>
8673 </rng:optional>
8674 </rng:interleave>
8675 <rng:text/>
8676 </rng:element>
8677 <rng:element name="text:modification-time">
8678 <rng:interleave>
8679 <rng:ref name="common-field-fixed-attlist"/>
8680 <rng:ref name="common-field-data-style-name-attlist"/>
8681 <rng:optional>
8682 <rng:attribute name="text:time-value">
8683 <rng:ref name="time"/>
8684 </rng:attribute>
8685 </rng:optional>
8686 </rng:interleave>
8687 <rng:text/>
8688 </rng:element>
8689 <rng:element name="text:modification-date">
8690 <rng:interleave>
8691 <rng:ref name="common-field-fixed-attlist"/>
8692 <rng:ref name="common-field-data-style-name-attlist"/>
8693 <rng:optional>
8694 <rng:attribute name="text:date-value">
8695 <rng:ref name="date"/>
8696 </rng:attribute>
8697 </rng:optional>
8698 </rng:interleave>
8699 <rng:text/>
8700 </rng:element>
8701 <rng:element name="text:creator">
8702 <rng:ref name="common-field-fixed-attlist"/>
8703 <rng:text/>
8704 </rng:element>
8705 <rng:element>
8706 <rng:choice>
8707 <rng:name>text:page-count</rng:name>
8708 <rng:name>text:paragraph-count</rng:name>
8709 <rng:name>text:word-count</rng:name>
8710 <rng:name>text:character-count</rng:name>
8711 <rng:name>text:table-count</rng:name>
8712 <rng:name>text:image-count</rng:name>
8713 <rng:name>text:object-count</rng:name>
8714 </rng:choice>
8715 <rng:ref name="common-field-num-format-attlist"/>
8716 <rng:text/>
8717 </rng:element>
8718 <rng:element name="text:database-display">
8719 <rng:ref name="text-database-display-attlist"/>
8720 <rng:text/>
8721 </rng:element>
8722 <rng:element name="text:database-next">
8723 <rng:ref name="text-database-next-attlist"/>
8724 </rng:element>
8725 <rng:element name="text:database-row-select">
8726 <rng:ref name="text-database-row-select-attlist"/>
8727 </rng:element>
8728 <rng:element name="text:database-row-number">
8729 <rng:interleave>
8730 <rng:ref name="common-field-database-table"/>
8731 <rng:ref name="common-field-num-format-attlist"/>
8732 <rng:optional>
8733 <rng:attribute name="text:value">
8734 <rng:ref name="nonNegativeInteger"/>
8735 </rng:attribute>
8736 </rng:optional>
8737 </rng:interleave>
8738 <rng:text/>
8739 </rng:element>
8740 <rng:element name="text:database-name">
8741 <rng:ref name="common-field-database-table"/>
8742 <rng:text/>
8743 </rng:element>
8744 <rng:element name="text:page-variable-set">
8745 <rng:ref name="text-set-page-variable-attlist"/>
8746 <rng:text/>
8747 </rng:element>
8748 <rng:element name="text:page-variable-get">
8749 <rng:ref name="text-get-page-variable-attlist"/>
8750 <rng:text/>
8751 </rng:element>
8752 <rng:element name="text:placeholder">
8753 <rng:ref name="text-placeholder-attlist"/>
8754 <rng:text/>
8755 </rng:element>
8756 <rng:element name="text:conditional-text">
8757 <rng:ref name="text-conditional-text-attlist"/>
8758 <rng:text/>
8759 </rng:element>
8760 <rng:element name="text:hidden-text">
8761 <rng:ref name="text-hidden-text-attlist"/>
8762 <rng:text/>
8763 </rng:element>
8764 <rng:element>
8765 <rng:choice>
8766 <rng:name>text:reference-ref</rng:name>
8767 <rng:name>text:bookmark-ref</rng:name>
8768 </rng:choice>
8769 <rng:interleave>
8770 <rng:ref name="text-common-ref-content"/>
8771 <rng:ref name="text-bookmark-ref-content"/>
8772 </rng:interleave>
8773 </rng:element>
8774 <rng:element name="text:note-ref">
8775 <rng:interleave>
8776 <rng:ref name="text-common-ref-content"/>
8777 <rng:ref name="text-note-ref-content"/>
8778 </rng:interleave>
8779 </rng:element>
8780 <rng:element name="text:sequence-ref">
8781 <rng:interleave>
8782 <rng:ref name="text-common-ref-content"/>
8783 <rng:ref name="text-sequence-ref-content"/>
8784 </rng:interleave>
8785 </rng:element>
8786 <rng:element name="text:script">
8787 <rng:interleave>
8788 <rng:choice>
8789 <rng:group>
8790 <rng:attribute name="xlink:type">
8791 <rng:value>simple</rng:value>
8792 </rng:attribute>
8793 <rng:attribute name="xlink:href">
8794 <rng:ref name="anyIRI"/>
8795 </rng:attribute>
8796 </rng:group>
8797 <rng:text/>
8798 </rng:choice>
8799 <rng:optional>
8800 <rng:attribute name="script:language">
8801 <rng:ref name="string"/>
8802 </rng:attribute>
8803 </rng:optional>
8804 </rng:interleave>
8805 </rng:element>
8806 <rng:element name="text:execute-macro">
8807 <rng:optional>
8808 <rng:attribute name="text:name">
8809 <rng:ref name="string"/>
8810 </rng:attribute>
8811 </rng:optional>
8812 <rng:optional>
8813 <rng:ref name="office-event-listeners"/>
8814 </rng:optional>
8815 <rng:text/>
8816 </rng:element>
8817 <rng:element name="text:hidden-paragraph">
8818 <rng:ref name="text-hidden-paragraph-attlist"/>
8819 <rng:text/>
8820 </rng:element>
8821 <rng:element name="text:dde-connection">
8822 <rng:attribute name="text:connection-name">
8823 <rng:ref name="string"/>
8824 </rng:attribute>
8825 <rng:text/>
8826 </rng:element>
8827 <rng:element name="text:measure">
8828 <rng:attribute name="text:kind">
8829 <rng:choice>
8830 <rng:value>value</rng:value>
8831 <rng:value>unit</rng:value>
8832 <rng:value>gap</rng:value>
8833 </rng:choice>
8834 </rng:attribute>
8835 <rng:text/>
8836 </rng:element>
8837 <rng:element name="text:table-formula">
8838 <rng:interleave>
8839 <rng:ref name="common-field-formula-attlist"/>
8840 <rng:ref name="common-field-display-value-formula-attlist"/>
8841 <rng:ref name="common-field-data-style-name-attlist"/>
8842 </rng:interleave>
8843 <rng:text/>
8844 </rng:element>
8845 <rng:element name="text:meta-field">
8846 <rng:ref name="text-meta-field-attlist"/>
8847 <rng:zeroOrMore>
8848 <rng:ref name="paragraph-content-or-hyperlink"/>
8849 </rng:zeroOrMore>
8850 </rng:element>
8851 <rng:element name="text:toc-mark-start">
8852 <rng:ref name="text-toc-mark-start-attrs"/>
8853 </rng:element>
8854 <rng:element name="text:toc-mark-end">
8855 <rng:ref name="text-id"/>
8856 </rng:element>
8857 <rng:element name="text:toc-mark">
8858 <rng:attribute name="text:string-value">
8859 <rng:ref name="string"/>
8860 </rng:attribute>
8861 <rng:ref name="text-outline-level"/>
8862 </rng:element>
8863 <rng:element name="text:user-index-mark-start">
8864 <rng:ref name="text-id"/>
8865 <rng:ref name="text-outline-level"/>
8866 <rng:ref name="text-index-name"/>
8867 </rng:element>
8868 <rng:element name="text:user-index-mark-end">
8869 <rng:ref name="text-id"/>
8870 </rng:element>
8871 <rng:element name="text:user-index-mark">
8872 <rng:attribute name="text:string-value">
8873 <rng:ref name="string"/>
8874 </rng:attribute>
8875 <rng:ref name="text-outline-level"/>
8876 <rng:ref name="text-index-name"/>
8877 </rng:element>
8878 <rng:element name="text:alphabetical-index-mark-start">
8879 <rng:ref name="text-id"/>
8880 <rng:ref name="text-alphabetical-index-mark-attrs"/>
8881 </rng:element>
8882 <rng:element name="text:alphabetical-index-mark-end">
8883 <rng:ref name="text-id"/>
8884 </rng:element>
8885 <rng:element name="text:alphabetical-index-mark">
8886 <rng:attribute name="text:string-value">
8887 <rng:ref name="string"/>
8888 </rng:attribute>
8889 <rng:ref name="text-alphabetical-index-mark-attrs"/>
8890 </rng:element>
8891 <rng:element name="text:bibliography-mark">
8892 <rng:attribute name="text:bibliography-type">
8893 <rng:ref name="text-bibliography-types"/>
8894 </rng:attribute>
8895 <rng:zeroOrMore>
8896 <rng:attribute>
8897 <rng:choice>
8898 <rng:name>text:identifier</rng:name>
8899 <rng:name>text:address</rng:name>
8900 <rng:name>text:annote</rng:name>
8901 <rng:name>text:author</rng:name>
8902 <rng:name>text:booktitle</rng:name>
8903 <rng:name>text:chapter</rng:name>
8904 <rng:name>text:edition</rng:name>
8905 <rng:name>text:editor</rng:name>
8906 <rng:name>text:howpublished</rng:name>
8907 <rng:name>text:institution</rng:name>
8908 <rng:name>text:journal</rng:name>
8909 <rng:name>text:month</rng:name>
8910 <rng:name>text:note</rng:name>
8911 <rng:name>text:number</rng:name>
8912 <rng:name>text:organizations</rng:name>
8913 <rng:name>text:pages</rng:name>
8914 <rng:name>text:publisher</rng:name>
8915 <rng:name>text:school</rng:name>
8916 <rng:name>text:series</rng:name>
8917 <rng:name>text:title</rng:name>
8918 <rng:name>text:report-type</rng:name>
8919 <rng:name>text:volume</rng:name>
8920 <rng:name>text:year</rng:name>
8921 <rng:name>text:url</rng:name>
8922 <rng:name>text:custom1</rng:name>
8923 <rng:name>text:custom2</rng:name>
8924 <rng:name>text:custom3</rng:name>
8925 <rng:name>text:custom4</rng:name>
8926 <rng:name>text:custom5</rng:name>
8927 <rng:name>text:isbn</rng:name>
8928 <rng:name>text:issn</rng:name>
8929 </rng:choice>
8930 <rng:ref name="string"/>
8931 </rng:attribute>
8932 </rng:zeroOrMore>
8933 <rng:text/>
8934 </rng:element>
8935 <rng:element name="presentation:header">
8936 <rng:empty/>
8937 </rng:element>
8938 <rng:element name="presentation:footer">
8939 <rng:empty/>
8940 </rng:element>
8941 <rng:element name="presentation:date-time">
8942 <rng:empty/>
8943 </rng:element>
8944 </rng:choice>
8945 </rng:define>
8946 <rng:define name="paragraph-content-or-hyperlink">
8947 <rng:choice>
8948 <rng:ref name="paragraph-content"/>
8949 <rng:ref name="text-a"/>
8950 </rng:choice>
8951 </rng:define>
8952 <rng:define name="pathData">
8953 <rng:data type="string"/>
8954 </rng:define>
8955 <rng:define name="percent">
8956 <rng:data type="string">
8957 <rng:param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)%</rng:param>
8958 </rng:data>
8959 </rng:define>
8960 <rng:define name="point3D">
8961 <rng:data type="string">
8962 <rng:param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc))([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc))){2}[ ]*\)</rng:param>
8963 </rng:data>
8964 </rng:define>
8965 <rng:define name="points">
8966 <rng:data type="string">
8967 <rng:param name="pattern">-?[0-9]+,-?[0-9]+([ ]+-?[0-9]+,-?[0-9]+)*</rng:param>
8968 </rng:data>
8969 </rng:define>
8970 <rng:define name="positiveInteger">
8971 <rng:data type="positiveInteger"/>
8972 </rng:define>
8973 <rng:define name="positiveLength">
8974 <rng:data type="string">
8975 <rng:param name="pattern">([0-9]*[1-9][0-9]*(\.[0-9]*)?|0+\.[0-9]*[1-9][0-9]*|\.[0-9]*[1-9][0-9]*)((cm)|(mm)|(in)|(pt)|(pc)|(px))</rng:param>
8976 </rng:data>
8977 </rng:define>
8978 <rng:define name="presentation-animation-elements">
8979 <rng:choice>
8980 <rng:ref name="presentation-show-shape"/>
8981 <rng:ref name="presentation-show-text"/>
8982 <rng:ref name="presentation-hide-shape"/>
8983 <rng:ref name="presentation-hide-text"/>
8984 <rng:ref name="presentation-dim"/>
8985 <rng:ref name="presentation-play"/>
8986 </rng:choice>
8987 </rng:define>
8988 <rng:define name="presentation-animation-group">
8989 <rng:element name="presentation:animation-group">
8990 <rng:zeroOrMore>
8991 <rng:ref name="presentation-animation-elements"/>
8992 </rng:zeroOrMore>
8993 </rng:element>
8994 </rng:define>
8995 <rng:define name="presentation-animations">
8996 <rng:element name="presentation:animations">
8997 <rng:zeroOrMore>
8998 <rng:choice>
8999 <rng:ref name="presentation-animation-elements"/>
9000 <rng:ref name="presentation-animation-group"/>
9001 </rng:choice>
9002 </rng:zeroOrMore>
9003 </rng:element>
9004 </rng:define>
9005 <rng:define name="presentation-classes">
9006 <rng:choice>
9007 <rng:value>title</rng:value>
9008 <rng:value>outline</rng:value>
9009 <rng:value>subtitle</rng:value>
9010 <rng:value>text</rng:value>
9011 <rng:value>graphic</rng:value>
9012 <rng:value>object</rng:value>
9013 <rng:value>chart</rng:value>
9014 <rng:value>table</rng:value>
9015 <rng:value>orgchart</rng:value>
9016 <rng:value>page</rng:value>
9017 <rng:value>notes</rng:value>
9018 <rng:value>handout</rng:value>
9019 <rng:value>header</rng:value>
9020 <rng:value>footer</rng:value>
9021 <rng:value>date-time</rng:value>
9022 <rng:value>page-number</rng:value>
9023 </rng:choice>
9024 </rng:define>
9025 <rng:define name="presentation-date-time-decl-attlist">
9026 <rng:interleave>
9027 <rng:attribute name="presentation:name">
9028 <rng:ref name="string"/>
9029 </rng:attribute>
9030 <rng:attribute name="presentation:source">
9031 <rng:choice>
9032 <rng:value>fixed</rng:value>
9033 <rng:value>current-date</rng:value>
9034 </rng:choice>
9035 </rng:attribute>
9036 <rng:optional>
9037 <rng:attribute name="style:data-style-name">
9038 <rng:ref name="styleNameRef"/>
9039 </rng:attribute>
9040 </rng:optional>
9041 </rng:interleave>
9042 </rng:define>
9043 <rng:define name="presentation-decl">
9044 <rng:choice>
9045 <rng:element name="presentation:header-decl">
9046 <rng:ref name="presentation-header-decl-attlist"/>
9047 <rng:text/>
9048 </rng:element>
9049 <rng:element name="presentation:footer-decl">
9050 <rng:ref name="presentation-footer-decl-attlist"/>
9051 <rng:text/>
9052 </rng:element>
9053 <rng:element name="presentation:date-time-decl">
9054 <rng:ref name="presentation-date-time-decl-attlist"/>
9055 <rng:text/>
9056 </rng:element>
9057 </rng:choice>
9058 </rng:define>
9059 <rng:define name="presentation-decls">
9060 <rng:zeroOrMore>
9061 <rng:ref name="presentation-decl"/>
9062 </rng:zeroOrMore>
9063 </rng:define>
9064 <rng:define name="presentation-dim">
9065 <rng:element name="presentation:dim">
9066 <rng:ref name="presentation-dim-attlist"/>
9067 <rng:optional>
9068 <rng:ref name="presentation-sound"/>
9069 </rng:optional>
9070 </rng:element>
9071 </rng:define>
9072 <rng:define name="presentation-dim-attlist">
9073 <rng:interleave>
9074 <rng:attribute name="draw:shape-id">
9075 <rng:ref name="IDREF"/>
9076 </rng:attribute>
9077 <rng:attribute name="draw:color">
9078 <rng:ref name="color"/>
9079 </rng:attribute>
9080 </rng:interleave>
9081 </rng:define>
9082 <rng:define name="presentation-event-listener">
9083 <rng:element name="presentation:event-listener">
9084 <rng:ref name="presentation-event-listener-attlist"/>
9085 <rng:optional>
9086 <rng:ref name="presentation-sound"/>
9087 </rng:optional>
9088 </rng:element>
9089 </rng:define>
9090 <rng:define name="presentation-event-listener-attlist">
9091 <rng:interleave>
9092 <rng:attribute name="script:event-name">
9093 <rng:ref name="string"/>
9094 </rng:attribute>
9095 <rng:attribute name="presentation:action">
9096 <rng:choice>
9097 <rng:value>none</rng:value>
9098 <rng:value>previous-page</rng:value>
9099 <rng:value>next-page</rng:value>
9100 <rng:value>first-page</rng:value>
9101 <rng:value>last-page</rng:value>
9102 <rng:value>hide</rng:value>
9103 <rng:value>stop</rng:value>
9104 <rng:value>execute</rng:value>
9105 <rng:value>show</rng:value>
9106 <rng:value>verb</rng:value>
9107 <rng:value>fade-out</rng:value>
9108 <rng:value>sound</rng:value>
9109 <rng:value>last-visited-page</rng:value>
9110 </rng:choice>
9111 </rng:attribute>
9112 <rng:optional>
9113 <rng:attribute name="presentation:effect">
9114 <rng:ref name="presentationEffects"/>
9115 </rng:attribute>
9116 </rng:optional>
9117 <rng:optional>
9118 <rng:attribute name="presentation:direction">
9119 <rng:ref name="presentationEffectDirections"/>
9120 </rng:attribute>
9121 </rng:optional>
9122 <rng:optional>
9123 <rng:attribute name="presentation:speed">
9124 <rng:ref name="presentationSpeeds"/>
9125 </rng:attribute>
9126 </rng:optional>
9127 <rng:optional>
9128 <rng:attribute name="presentation:start-scale">
9129 <rng:ref name="percent"/>
9130 </rng:attribute>
9131 </rng:optional>
9132 <rng:optional>
9133 <rng:attribute name="xlink:type">
9134 <rng:value>simple</rng:value>
9135 </rng:attribute>
9136 <rng:attribute name="xlink:href">
9137 <rng:ref name="anyIRI"/>
9138 </rng:attribute>
9139 <rng:optional>
9140 <rng:attribute name="xlink:show">
9141 <rng:value>embed</rng:value>
9142 </rng:attribute>
9143 </rng:optional>
9144 <rng:optional>
9145 <rng:attribute name="xlink:actuate">
9146 <rng:value>onRequest</rng:value>
9147 </rng:attribute>
9148 </rng:optional>
9149 </rng:optional>
9150 <rng:optional>
9151 <rng:attribute name="presentation:verb">
9152 <rng:ref name="nonNegativeInteger"/>
9153 </rng:attribute>
9154 </rng:optional>
9155 </rng:interleave>
9156 </rng:define>
9157 <rng:define name="presentation-footer-decl-attlist">
9158 <rng:attribute name="presentation:name">
9159 <rng:ref name="string"/>
9160 </rng:attribute>
9161 </rng:define>
9162 <rng:define name="presentation-header-decl-attlist">
9163 <rng:attribute name="presentation:name">
9164 <rng:ref name="string"/>
9165 </rng:attribute>
9166 </rng:define>
9167 <rng:define name="presentation-hide-shape">
9168 <rng:element name="presentation:hide-shape">
9169 <rng:ref name="common-presentation-effect-attlist"/>
9170 <rng:optional>
9171 <rng:ref name="presentation-sound"/>
9172 </rng:optional>
9173 </rng:element>
9174 </rng:define>
9175 <rng:define name="presentation-hide-text">
9176 <rng:element name="presentation:hide-text">
9177 <rng:ref name="common-presentation-effect-attlist"/>
9178 <rng:optional>
9179 <rng:ref name="presentation-sound"/>
9180 </rng:optional>
9181 </rng:element>
9182 </rng:define>
9183 <rng:define name="presentation-notes">
9184 <rng:element name="presentation:notes">
9185 <rng:ref name="common-presentation-header-footer-attlist"/>
9186 <rng:ref name="presentation-notes-attlist"/>
9187 <rng:ref name="office-forms"/>
9188 <rng:zeroOrMore>
9189 <rng:ref name="shape"/>
9190 </rng:zeroOrMore>
9191 </rng:element>
9192 </rng:define>
9193 <rng:define name="presentation-notes-attlist">
9194 <rng:interleave>
9195 <rng:optional>
9196 <rng:attribute name="style:page-layout-name">
9197 <rng:ref name="styleNameRef"/>
9198 </rng:attribute>
9199 </rng:optional>
9200 <rng:optional>
9201 <rng:attribute name="draw:style-name">
9202 <rng:ref name="styleNameRef"/>
9203 </rng:attribute>
9204 </rng:optional>
9205 </rng:interleave>
9206 </rng:define>
9207 <rng:define name="presentation-placeholder">
9208 <rng:element name="presentation:placeholder">
9209 <rng:attribute name="presentation:object">
9210 <rng:ref name="presentation-classes"/>
9211 </rng:attribute>
9212 <rng:attribute name="svg:x">
9213 <rng:choice>
9214 <rng:ref name="coordinate"/>
9215 <rng:ref name="percent"/>
9216 </rng:choice>
9217 </rng:attribute>
9218 <rng:attribute name="svg:y">
9219 <rng:choice>
9220 <rng:ref name="coordinate"/>
9221 <rng:ref name="percent"/>
9222 </rng:choice>
9223 </rng:attribute>
9224 <rng:attribute name="svg:width">
9225 <rng:choice>
9226 <rng:ref name="length"/>
9227 <rng:ref name="percent"/>
9228 </rng:choice>
9229 </rng:attribute>
9230 <rng:attribute name="svg:height">
9231 <rng:choice>
9232 <rng:ref name="length"/>
9233 <rng:ref name="percent"/>
9234 </rng:choice>
9235 </rng:attribute>
9236 <rng:empty/>
9237 </rng:element>
9238 </rng:define>
9239 <rng:define name="presentation-play">
9240 <rng:element name="presentation:play">
9241 <rng:ref name="presentation-play-attlist"/>
9242 <rng:empty/>
9243 </rng:element>
9244 </rng:define>
9245 <rng:define name="presentation-play-attlist">
9246 <rng:attribute name="draw:shape-id">
9247 <rng:ref name="IDREF"/>
9248 </rng:attribute>
9249 <rng:optional>
9250 <rng:attribute name="presentation:speed">
9251 <rng:ref name="presentationSpeeds"/>
9252 </rng:attribute>
9253 </rng:optional>
9254 </rng:define>
9255 <rng:define name="presentation-settings">
9256 <rng:optional>
9257 <rng:element name="presentation:settings">
9258 <rng:ref name="presentation-settings-attlist"/>
9259 <rng:zeroOrMore>
9260 <rng:ref name="presentation-show"/>
9261 </rng:zeroOrMore>
9262 </rng:element>
9263 </rng:optional>
9264 </rng:define>
9265 <rng:define name="presentation-settings-attlist">
9266 <rng:interleave>
9267 <rng:optional>
9268 <rng:attribute name="presentation:start-page">
9269 <rng:ref name="string"/>
9270 </rng:attribute>
9271 </rng:optional>
9272 <rng:optional>
9273 <rng:attribute name="presentation:show">
9274 <rng:ref name="string"/>
9275 </rng:attribute>
9276 </rng:optional>
9277 <rng:optional>
9278 <rng:attribute name="presentation:full-screen">
9279 <rng:ref name="boolean"/>
9280 </rng:attribute>
9281 </rng:optional>
9282 <rng:optional>
9283 <rng:attribute name="presentation:endless">
9284 <rng:ref name="boolean"/>
9285 </rng:attribute>
9286 </rng:optional>
9287 <rng:optional>
9288 <rng:attribute name="presentation:pause">
9289 <rng:ref name="duration"/>
9290 </rng:attribute>
9291 </rng:optional>
9292 <rng:optional>
9293 <rng:attribute name="presentation:show-logo">
9294 <rng:ref name="boolean"/>
9295 </rng:attribute>
9296 </rng:optional>
9297 <rng:optional>
9298 <rng:attribute name="presentation:force-manual">
9299 <rng:ref name="boolean"/>
9300 </rng:attribute>
9301 </rng:optional>
9302 <rng:optional>
9303 <rng:attribute name="presentation:mouse-visible">
9304 <rng:ref name="boolean"/>
9305 </rng:attribute>
9306 </rng:optional>
9307 <rng:optional>
9308 <rng:attribute name="presentation:mouse-as-pen">
9309 <rng:ref name="boolean"/>
9310 </rng:attribute>
9311 </rng:optional>
9312 <rng:optional>
9313 <rng:attribute name="presentation:start-with-navigator">
9314 <rng:ref name="boolean"/>
9315 </rng:attribute>
9316 </rng:optional>
9317 <rng:optional>
9318 <rng:attribute name="presentation:animations">
9319 <rng:choice>
9320 <rng:value>enabled</rng:value>
9321 <rng:value>disabled</rng:value>
9322 </rng:choice>
9323 </rng:attribute>
9324 </rng:optional>
9325 <rng:optional>
9326 <rng:attribute name="presentation:transition-on-click">
9327 <rng:choice>
9328 <rng:value>enabled</rng:value>
9329 <rng:value>disabled</rng:value>
9330 </rng:choice>
9331 </rng:attribute>
9332 </rng:optional>
9333 <rng:optional>
9334 <rng:attribute name="presentation:stay-on-top">
9335 <rng:ref name="boolean"/>
9336 </rng:attribute>
9337 </rng:optional>
9338 <rng:optional>
9339 <rng:attribute name="presentation:show-end-of-presentation-slide">
9340 <rng:ref name="boolean"/>
9341 </rng:attribute>
9342 </rng:optional>
9343 </rng:interleave>
9344 </rng:define>
9345 <rng:define name="presentation-shape-attlist">
9346 <rng:interleave>
9347 <rng:optional>
9348 <rng:attribute name="presentation:class">
9349 <rng:ref name="presentation-classes"/>
9350 </rng:attribute>
9351 </rng:optional>
9352 <rng:optional>
9353 <rng:attribute name="presentation:placeholder">
9354 <rng:ref name="boolean"/>
9355 </rng:attribute>
9356 </rng:optional>
9357 <rng:optional>
9358 <rng:attribute name="presentation:user-transformed">
9359 <rng:ref name="boolean"/>
9360 </rng:attribute>
9361 </rng:optional>
9362 </rng:interleave>
9363 </rng:define>
9364 <rng:define name="presentation-show">
9365 <rng:element name="presentation:show">
9366 <rng:ref name="presentation-show-attlist"/>
9367 <rng:empty/>
9368 </rng:element>
9369 </rng:define>
9370 <rng:define name="presentation-show-attlist">
9371 <rng:interleave>
9372 <rng:attribute name="presentation:name">
9373 <rng:ref name="string"/>
9374 </rng:attribute>
9375 <rng:attribute name="presentation:pages">
9376 <rng:ref name="string"/>
9377 </rng:attribute>
9378 </rng:interleave>
9379 </rng:define>
9380 <rng:define name="presentation-show-shape">
9381 <rng:element name="presentation:show-shape">
9382 <rng:ref name="common-presentation-effect-attlist"/>
9383 <rng:optional>
9384 <rng:ref name="presentation-sound"/>
9385 </rng:optional>
9386 </rng:element>
9387 </rng:define>
9388 <rng:define name="presentation-show-text">
9389 <rng:element name="presentation:show-text">
9390 <rng:ref name="common-presentation-effect-attlist"/>
9391 <rng:optional>
9392 <rng:ref name="presentation-sound"/>
9393 </rng:optional>
9394 </rng:element>
9395 </rng:define>
9396 <rng:define name="presentation-sound">
9397 <rng:element name="presentation:sound">
9398 <rng:ref name="presentation-sound-attlist"/>
9399 <rng:attribute name="xlink:type">
9400 <rng:value>simple</rng:value>
9401 </rng:attribute>
9402 <rng:attribute name="xlink:href">
9403 <rng:ref name="anyIRI"/>
9404 </rng:attribute>
9405 <rng:optional>
9406 <rng:attribute name="xlink:actuate">
9407 <rng:value>onRequest</rng:value>
9408 </rng:attribute>
9409 </rng:optional>
9410 <rng:optional>
9411 <rng:attribute name="xlink:show">
9412 <rng:choice>
9413 <rng:value>new</rng:value>
9414 <rng:value>replace</rng:value>
9415 </rng:choice>
9416 </rng:attribute>
9417 </rng:optional>
9418 <rng:empty/>
9419 </rng:element>
9420 </rng:define>
9421 <rng:define name="presentation-sound-attlist">
9422 <rng:interleave>
9423 <rng:optional>
9424 <rng:attribute name="presentation:play-full">
9425 <rng:ref name="boolean"/>
9426 </rng:attribute>
9427 </rng:optional>
9428 <rng:optional>
9429 <rng:ref name="xml-id"/>
9430 </rng:optional>
9431 </rng:interleave>
9432 </rng:define>
9433 <rng:define name="presentationEffectDirections">
9434 <rng:choice>
9435 <rng:value>none</rng:value>
9436 <rng:value>from-left</rng:value>
9437 <rng:value>from-top</rng:value>
9438 <rng:value>from-right</rng:value>
9439 <rng:value>from-bottom</rng:value>
9440 <rng:value>from-center</rng:value>
9441 <rng:value>from-upper-left</rng:value>
9442 <rng:value>from-upper-right</rng:value>
9443 <rng:value>from-lower-left</rng:value>
9444 <rng:value>from-lower-right</rng:value>
9445 <rng:value>to-left</rng:value>
9446 <rng:value>to-top</rng:value>
9447 <rng:value>to-right</rng:value>
9448 <rng:value>to-bottom</rng:value>
9449 <rng:value>to-upper-left</rng:value>
9450 <rng:value>to-upper-right</rng:value>
9451 <rng:value>to-lower-right</rng:value>
9452 <rng:value>to-lower-left</rng:value>
9453 <rng:value>path</rng:value>
9454 <rng:value>spiral-inward-left</rng:value>
9455 <rng:value>spiral-inward-right</rng:value>
9456 <rng:value>spiral-outward-left</rng:value>
9457 <rng:value>spiral-outward-right</rng:value>
9458 <rng:value>vertical</rng:value>
9459 <rng:value>horizontal</rng:value>
9460 <rng:value>to-center</rng:value>
9461 <rng:value>clockwise</rng:value>
9462 <rng:value>counter-clockwise</rng:value>
9463 </rng:choice>
9464 </rng:define>
9465 <rng:define name="presentationEffects">
9466 <rng:choice>
9467 <rng:value>none</rng:value>
9468 <rng:value>fade</rng:value>
9469 <rng:value>move</rng:value>
9470 <rng:value>stripes</rng:value>
9471 <rng:value>open</rng:value>
9472 <rng:value>close</rng:value>
9473 <rng:value>dissolve</rng:value>
9474 <rng:value>wavyline</rng:value>
9475 <rng:value>random</rng:value>
9476 <rng:value>lines</rng:value>
9477 <rng:value>laser</rng:value>
9478 <rng:value>appear</rng:value>
9479 <rng:value>hide</rng:value>
9480 <rng:value>move-short</rng:value>
9481 <rng:value>checkerboard</rng:value>
9482 <rng:value>rotate</rng:value>
9483 <rng:value>stretch</rng:value>
9484 </rng:choice>
9485 </rng:define>
9486 <rng:define name="presentationSpeeds">
9487 <rng:choice>
9488 <rng:value>slow</rng:value>
9489 <rng:value>medium</rng:value>
9490 <rng:value>fast</rng:value>
9491 </rng:choice>
9492 </rng:define>
9493 <rng:define name="region-content">
9494 <rng:zeroOrMore>
9495 <rng:ref name="text-p"/>
9496 </rng:zeroOrMore>
9497 </rng:define>
9498 <rng:define name="relativeLength">
9499 <rng:data type="string">
9500 <rng:param name="pattern">[0-9]+\*</rng:param>
9501 </rng:data>
9502 </rng:define>
9503 <rng:define name="rowOrCol">
9504 <rng:choice>
9505 <rng:value>row</rng:value>
9506 <rng:value>column</rng:value>
9507 </rng:choice>
9508 </rng:define>
9509 <rng:define name="script-event-listener">
9510 <rng:element name="script:event-listener">
9511 <rng:ref name="script-event-listener-attlist"/>
9512 <rng:empty/>
9513 </rng:element>
9514 </rng:define>
9515 <rng:define name="script-event-listener-attlist">
9516 <rng:interleave>
9517 <rng:attribute name="script:event-name">
9518 <rng:ref name="string"/>
9519 </rng:attribute>
9520 <rng:attribute name="script:language">
9521 <rng:ref name="string"/>
9522 </rng:attribute>
9523 <rng:choice>
9524 <rng:attribute name="script:macro-name">
9525 <rng:ref name="string"/>
9526 </rng:attribute>
9527 <rng:group>
9528 <rng:attribute name="xlink:type">
9529 <rng:value>simple</rng:value>
9530 </rng:attribute>
9531 <rng:attribute name="xlink:href">
9532 <rng:ref name="anyIRI"/>
9533 </rng:attribute>
9534 <rng:optional>
9535 <rng:attribute name="xlink:actuate">
9536 <rng:value>onRequest</rng:value>
9537 </rng:attribute>
9538 </rng:optional>
9539 </rng:group>
9540 </rng:choice>
9541 </rng:interleave>
9542 </rng:define>
9543 <rng:define name="scriptCode">
9544 <rng:data type="token">
9545 <rng:param name="pattern">[A-Za-z0-9]{1,8}</rng:param>
9546 </rng:data>
9547 </rng:define>
9548 <rng:define name="selected">
9549 <rng:optional>
9550 <rng:attribute name="form:selected">
9551 <rng:ref name="boolean"/>
9552 </rng:attribute>
9553 </rng:optional>
9554 </rng:define>
9555 <rng:define name="shadowType">
9556 <rng:choice>
9557 <rng:value>none</rng:value>
9558 <rng:ref name="string"/>
9559 </rng:choice>
9560 </rng:define>
9561 <rng:define name="shape">
9562 <rng:choice>
9563 <rng:ref name="shape-instance"/>
9564 <rng:ref name="draw-a"/>
9565 </rng:choice>
9566 </rng:define>
9567 <rng:define name="shape-instance">
9568 <rng:choice>
9569 <rng:ref name="draw-rect"/>
9570 <rng:ref name="draw-line"/>
9571 <rng:ref name="draw-polyline"/>
9572 <rng:ref name="draw-polygon"/>
9573 <rng:ref name="draw-regular-polygon"/>
9574 <rng:ref name="draw-path"/>
9575 <rng:ref name="draw-circle"/>
9576 <rng:ref name="draw-ellipse"/>
9577 <rng:ref name="draw-g"/>
9578 <rng:ref name="draw-page-thumbnail"/>
9579 <rng:ref name="draw-frame"/>
9580 <rng:ref name="draw-measure"/>
9581 <rng:ref name="draw-caption"/>
9582 <rng:ref name="draw-connector"/>
9583 <rng:ref name="draw-control"/>
9584 <rng:ref name="dr3d-scene"/>
9585 <rng:ref name="draw-custom-shape"/>
9586 </rng:choice>
9587 </rng:define>
9588 <rng:define name="shapes3d">
9589 <rng:choice>
9590 <rng:ref name="dr3d-scene"/>
9591 <rng:ref name="dr3d-extrude"/>
9592 <rng:ref name="dr3d-sphere"/>
9593 <rng:ref name="dr3d-rotate"/>
9594 <rng:ref name="dr3d-cube"/>
9595 </rng:choice>
9596 </rng:define>
9597 <rng:define name="signedZeroToHundredPercent">
9598 <rng:data type="string">
9599 <rng:param name="pattern">-?([0-9]?[0-9](\.[0-9]*)?|100(\.0*)?|\.[0-9]+)%</rng:param>
9600 </rng:data>
9601 </rng:define>
9602 <rng:define name="size">
9603 <rng:optional>
9604 <rng:attribute name="form:size">
9605 <rng:ref name="nonNegativeInteger"/>
9606 </rng:attribute>
9607 </rng:optional>
9608 </rng:define>
9609 <rng:define name="states">
9610 <rng:choice>
9611 <rng:value>unchecked</rng:value>
9612 <rng:value>checked</rng:value>
9613 <rng:value>unknown</rng:value>
9614 </rng:choice>
9615 </rng:define>
9616 <rng:define name="string">
9617 <rng:data type="string"/>
9618 </rng:define>
9619 <rng:define name="style-background-image">
9620 <rng:optional>
9621 <rng:element name="style:background-image">
9622 <rng:ref name="style-background-image-attlist"/>
9623 <rng:choice>
9624 <rng:ref name="common-draw-data-attlist"/>
9625 <rng:ref name="office-binary-data"/>
9626 <rng:empty/>
9627 </rng:choice>
9628 </rng:element>
9629 </rng:optional>
9630 </rng:define>
9631 <rng:define name="style-background-image-attlist">
9632 <rng:interleave>
9633 <rng:optional>
9634 <rng:attribute name="style:repeat">
9635 <rng:choice>
9636 <rng:value>no-repeat</rng:value>
9637 <rng:value>repeat</rng:value>
9638 <rng:value>stretch</rng:value>
9639 </rng:choice>
9640 </rng:attribute>
9641 </rng:optional>
9642 <rng:optional>
9643 <rng:attribute name="style:position">
9644 <rng:choice>
9645 <rng:value>left</rng:value>
9646 <rng:value>center</rng:value>
9647 <rng:value>right</rng:value>
9648 <rng:value>top</rng:value>
9649 <rng:value>bottom</rng:value>
9650 <!-- FIXME msv ignores the 2nd list? -->
9651 <rng:list>
9652 <rng:ref name="vertBackPos"/>
9653 <rng:ref name="horiBackPos"/>
9654 </rng:list>
9655 <rng:list>
9656 <rng:ref name="horiBackPos"/>
9657 <rng:ref name="vertBackPos"/>
9658 </rng:list>
9659 </rng:choice>
9660 </rng:attribute>
9661 </rng:optional>
9662 <rng:optional>
9663 <rng:attribute name="style:filter-name">
9664 <rng:ref name="string"/>
9665 </rng:attribute>
9666 </rng:optional>
9667 <rng:optional>
9668 <rng:attribute name="draw:opacity">
9669 <rng:ref name="zeroToHundredPercent"/>
9670 </rng:attribute>
9671 </rng:optional>
9672 </rng:interleave>
9673 </rng:define>
9674 <rng:define name="style-chart-properties">
9675 <rng:element name="style:chart-properties">
9676 <rng:ref name="style-chart-properties-content-strict"/>
9677 </rng:element>
9678 </rng:define>
9679 <rng:define name="style-chart-properties-attlist">
9680 <rng:interleave>
9681 <rng:optional>
9682 <rng:attribute name="chart:scale-text">
9683 <rng:ref name="boolean"/>
9684 </rng:attribute>
9685 </rng:optional>
9686 <rng:optional>
9687 <rng:attribute name="chart:three-dimensional">
9688 <rng:ref name="boolean"/>
9689 </rng:attribute>
9690 </rng:optional>
9691 <rng:optional>
9692 <rng:attribute name="chart:deep">
9693 <rng:ref name="boolean"/>
9694 </rng:attribute>
9695 </rng:optional>
9696 <rng:optional>
9697 <rng:attribute name="chart:right-angled-axes">
9698 <rng:ref name="boolean"/>
9699 </rng:attribute>
9700 </rng:optional>
9701 <rng:choice>
9702 <rng:attribute name="chart:symbol-type">
9703 <rng:value>none</rng:value>
9704 </rng:attribute>
9705 <rng:attribute name="chart:symbol-type">
9706 <rng:value>automatic</rng:value>
9707 </rng:attribute>
9708 <rng:group>
9709 <rng:attribute name="chart:symbol-type">
9710 <rng:value>named-symbol</rng:value>
9711 </rng:attribute>
9712 <rng:attribute name="chart:symbol-name">
9713 <rng:choice>
9714 <rng:value>square</rng:value>
9715 <rng:value>diamond</rng:value>
9716 <rng:value>arrow-down</rng:value>
9717 <rng:value>arrow-up</rng:value>
9718 <rng:value>arrow-right</rng:value>
9719 <rng:value>arrow-left</rng:value>
9720 <rng:value>bow-tie</rng:value>
9721 <rng:value>hourglass</rng:value>
9722 <rng:value>circle</rng:value>
9723 <rng:value>star</rng:value>
9724 <rng:value>x</rng:value>
9725 <rng:value>plus</rng:value>
9726 <rng:value>asterisk</rng:value>
9727 <rng:value>horizontal-bar</rng:value>
9728 <rng:value>vertical-bar</rng:value>
9729 </rng:choice>
9730 </rng:attribute>
9731 </rng:group>
9732 <rng:group>
9733 <rng:attribute name="chart:symbol-type">
9734 <rng:value>image</rng:value>
9735 </rng:attribute>
9736 <rng:element name="chart:symbol-image">
9737 <rng:attribute name="xlink:href">
9738 <rng:ref name="anyIRI"/>
9739 </rng:attribute>
9740 </rng:element>
9741 </rng:group>
9742 <rng:empty/>
9743 </rng:choice>
9744 <rng:optional>
9745 <rng:attribute name="chart:symbol-width">
9746 <rng:ref name="nonNegativeLength"/>
9747 </rng:attribute>
9748 </rng:optional>
9749 <rng:optional>
9750 <rng:attribute name="chart:symbol-height">
9751 <rng:ref name="nonNegativeLength"/>
9752 </rng:attribute>
9753 </rng:optional>
9754 <rng:optional>
9755 <rng:attribute name="chart:sort-by-x-values">
9756 <rng:ref name="boolean"/>
9757 </rng:attribute>
9758 </rng:optional>
9759 <rng:optional>
9760 <rng:attribute name="chart:vertical">
9761 <rng:ref name="boolean"/>
9762 </rng:attribute>
9763 </rng:optional>
9764 <rng:optional>
9765 <rng:attribute name="chart:connect-bars">
9766 <rng:ref name="boolean"/>
9767 </rng:attribute>
9768 </rng:optional>
9769 <rng:optional>
9770 <rng:attribute name="chart:gap-width">
9771 <rng:ref name="integer"/>
9772 </rng:attribute>
9773 </rng:optional>
9774 <rng:optional>
9775 <rng:attribute name="chart:overlap">
9776 <rng:ref name="integer"/>
9777 </rng:attribute>
9778 </rng:optional>
9779 <rng:optional>
9780 <rng:attribute name="chart:group-bars-per-axis">
9781 <rng:ref name="boolean"/>
9782 </rng:attribute>
9783 </rng:optional>
9784 <rng:optional>
9785 <rng:attribute name="chart:japanese-candle-stick">
9786 <rng:ref name="boolean"/>
9787 </rng:attribute>
9788 </rng:optional>
9789 <rng:optional>
9790 <rng:attribute name="chart:interpolation">
9791 <rng:choice>
9792 <rng:value>none</rng:value>
9793 <rng:value>cubic-spline</rng:value>
9794 <rng:value>b-spline</rng:value>
9795 <rng:value>step-start</rng:value>
9796 <rng:value>step-end</rng:value>
9797 <rng:value>step-center-x</rng:value>
9798 <rng:value>step-center-y</rng:value>
9799 </rng:choice>
9800 </rng:attribute>
9801 </rng:optional>
9802 <rng:optional>
9803 <rng:attribute name="chart:spline-order">
9804 <rng:ref name="positiveInteger"/>
9805 </rng:attribute>
9806 </rng:optional>
9807 <rng:optional>
9808 <rng:attribute name="chart:spline-resolution">
9809 <rng:ref name="positiveInteger"/>
9810 </rng:attribute>
9811 </rng:optional>
9812 <rng:optional>
9813 <rng:attribute name="chart:pie-offset">
9814 <rng:ref name="nonNegativeInteger"/>
9815 </rng:attribute>
9816 </rng:optional>
9817 <rng:optional>
9818 <rng:attribute name="chart:angle-offset">
9819 <rng:ref name="angle"/>
9820 </rng:attribute>
9821 </rng:optional>
9822 <rng:optional>
9823 <rng:attribute name="chart:hole-size">
9824 <rng:ref name="percent"/>
9825 </rng:attribute>
9826 </rng:optional>
9827 <rng:optional>
9828 <rng:attribute name="chart:lines">
9829 <rng:ref name="boolean"/>
9830 </rng:attribute>
9831 </rng:optional>
9832 <rng:optional>
9833 <rng:attribute name="chart:solid-type">
9834 <rng:choice>
9835 <rng:value>cuboid</rng:value>
9836 <rng:value>cylinder</rng:value>
9837 <rng:value>cone</rng:value>
9838 <rng:value>pyramid</rng:value>
9839 </rng:choice>
9840 </rng:attribute>
9841 </rng:optional>
9842 <rng:optional>
9843 <rng:attribute name="chart:stacked">
9844 <rng:ref name="boolean"/>
9845 </rng:attribute>
9846 </rng:optional>
9847 <rng:optional>
9848 <rng:attribute name="chart:percentage">
9849 <rng:ref name="boolean"/>
9850 </rng:attribute>
9851 </rng:optional>
9852 <rng:optional>
9853 <rng:attribute name="chart:treat-empty-cells">
9854 <rng:choice>
9855 <rng:value>use-zero</rng:value>
9856 <rng:value>leave-gap</rng:value>
9857 <rng:value>ignore</rng:value>
9858 </rng:choice>
9859 </rng:attribute>
9860 </rng:optional>
9861 <rng:optional>
9862 <rng:attribute name="chart:link-data-style-to-source">
9863 <rng:ref name="boolean"/>
9864 </rng:attribute>
9865 </rng:optional>
9866 <rng:optional>
9867 <rng:attribute name="chart:logarithmic">
9868 <rng:ref name="boolean"/>
9869 </rng:attribute>
9870 </rng:optional>
9871 <rng:optional>
9872 <rng:attribute name="chart:maximum">
9873 <rng:ref name="double"/>
9874 </rng:attribute>
9875 </rng:optional>
9876 <rng:optional>
9877 <rng:attribute name="chart:minimum">
9878 <rng:ref name="double"/>
9879 </rng:attribute>
9880 </rng:optional>
9881 <rng:optional>
9882 <rng:attribute name="chart:origin">
9883 <rng:ref name="double"/>
9884 </rng:attribute>
9885 </rng:optional>
9886 <rng:optional>
9887 <rng:attribute name="chart:interval-major">
9888 <rng:ref name="double"/>
9889 </rng:attribute>
9890 </rng:optional>
9891 <rng:optional>
9892 <rng:attribute name="chart:interval-minor-divisor">
9893 <rng:ref name="positiveInteger"/>
9894 </rng:attribute>
9895 </rng:optional>
9896 <rng:optional>
9897 <rng:attribute name="chart:tick-marks-major-inner">
9898 <rng:ref name="boolean"/>
9899 </rng:attribute>
9900 </rng:optional>
9901 <rng:optional>
9902 <rng:attribute name="chart:tick-marks-major-outer">
9903 <rng:ref name="boolean"/>
9904 </rng:attribute>
9905 </rng:optional>
9906 <rng:optional>
9907 <rng:attribute name="chart:tick-marks-minor-inner">
9908 <rng:ref name="boolean"/>
9909 </rng:attribute>
9910 </rng:optional>
9911 <rng:optional>
9912 <rng:attribute name="chart:tick-marks-minor-outer">
9913 <rng:ref name="boolean"/>
9914 </rng:attribute>
9915 </rng:optional>
9916 <rng:optional>
9917 <rng:attribute name="chart:reverse-direction">
9918 <rng:ref name="boolean"/>
9919 </rng:attribute>
9920 </rng:optional>
9921 <rng:optional>
9922 <rng:attribute name="chart:display-label">
9923 <rng:ref name="boolean"/>
9924 </rng:attribute>
9925 </rng:optional>
9926 <rng:optional>
9927 <rng:attribute name="chart:text-overlap">
9928 <rng:ref name="boolean"/>
9929 </rng:attribute>
9930 </rng:optional>
9931 <rng:optional>
9932 <rng:attribute name="text:line-break">
9933 <rng:ref name="boolean"/>
9934 </rng:attribute>
9935 </rng:optional>
9936 <rng:optional>
9937 <rng:attribute name="chart:label-arrangement">
9938 <rng:choice>
9939 <rng:value>side-by-side</rng:value>
9940 <rng:value>stagger-even</rng:value>
9941 <rng:value>stagger-odd</rng:value>
9942 </rng:choice>
9943 </rng:attribute>
9944 </rng:optional>
9945 <rng:ref name="common-style-direction-attlist"/>
9946 <rng:ref name="common-rotation-angle-attlist"/>
9947 <rng:optional>
9948 <rng:attribute name="chart:data-label-number">
9949 <rng:choice>
9950 <rng:value>none</rng:value>
9951 <rng:value>value</rng:value>
9952 <rng:value>percentage</rng:value>
9953 <rng:value>value-and-percentage</rng:value>
9954 </rng:choice>
9955 </rng:attribute>
9956 </rng:optional>
9957 <rng:optional>
9958 <rng:attribute name="chart:data-label-text">
9959 <rng:ref name="boolean"/>
9960 </rng:attribute>
9961 </rng:optional>
9962 <rng:optional>
9963 <rng:attribute name="chart:data-label-symbol">
9964 <rng:ref name="boolean"/>
9965 </rng:attribute>
9966 </rng:optional>
9967 <rng:optional>
9968 <rng:element name="chart:label-separator">
9969 <rng:ref name="text-p"/>
9970 </rng:element>
9971 </rng:optional>
9972 <rng:optional>
9973 <rng:attribute name="chart:label-position">
9974 <rng:ref name="labelPositions"/>
9975 </rng:attribute>
9976 </rng:optional>
9977 <rng:optional>
9978 <rng:attribute name="chart:label-position-negative">
9979 <rng:ref name="labelPositions"/>
9980 </rng:attribute>
9981 </rng:optional>
9982 <rng:optional>
9983 <rng:attribute name="chart:visible">
9984 <rng:ref name="boolean"/>
9985 </rng:attribute>
9986 </rng:optional>
9987 <rng:optional>
9988 <rng:attribute name="chart:auto-position">
9989 <rng:ref name="boolean"/>
9990 </rng:attribute>
9991 </rng:optional>
9992 <rng:optional>
9993 <rng:attribute name="chart:auto-size">
9994 <rng:ref name="boolean"/>
9995 </rng:attribute>
9996 </rng:optional>
9997 <rng:optional>
9998 <rng:attribute name="chart:mean-value">
9999 <rng:ref name="boolean"/>
10000 </rng:attribute>
10001 </rng:optional>
10002 <rng:optional>
10003 <rng:attribute name="chart:error-category">
10004 <rng:choice>
10005 <rng:value>none</rng:value>
10006 <rng:value>variance</rng:value>
10007 <rng:value>standard-deviation</rng:value>
10008 <rng:value>percentage</rng:value>
10009 <rng:value>error-margin</rng:value>
10010 <rng:value>constant</rng:value>
10011 <rng:value>standard-error</rng:value>
10012 <rng:value>cell-range</rng:value>
10013 </rng:choice>
10014 </rng:attribute>
10015 </rng:optional>
10016 <rng:optional>
10017 <rng:attribute name="chart:error-percentage">
10018 <rng:ref name="double"/>
10019 </rng:attribute>
10020 </rng:optional>
10021 <rng:optional>
10022 <rng:attribute name="chart:error-margin">
10023 <rng:ref name="double"/>
10024 </rng:attribute>
10025 </rng:optional>
10026 <rng:optional>
10027 <rng:attribute name="chart:error-lower-limit">
10028 <rng:ref name="double"/>
10029 </rng:attribute>
10030 </rng:optional>
10031 <rng:optional>
10032 <rng:attribute name="chart:error-upper-limit">
10033 <rng:ref name="double"/>
10034 </rng:attribute>
10035 </rng:optional>
10036 <rng:optional>
10037 <rng:attribute name="chart:error-upper-indicator">
10038 <rng:ref name="boolean"/>
10039 </rng:attribute>
10040 </rng:optional>
10041 <rng:optional>
10042 <rng:attribute name="chart:error-lower-indicator">
10043 <rng:ref name="boolean"/>
10044 </rng:attribute>
10045 </rng:optional>
10046 <rng:optional>
10047 <rng:attribute name="chart:error-lower-range">
10048 <rng:ref name="cellRangeAddressList"/>
10049 </rng:attribute>
10050 </rng:optional>
10051 <rng:optional>
10052 <rng:attribute name="chart:error-upper-range">
10053 <rng:ref name="cellRangeAddressList"/>
10054 </rng:attribute>
10055 </rng:optional>
10056 <rng:optional>
10057 <rng:attribute name="chart:series-source">
10058 <rng:choice>
10059 <rng:value>columns</rng:value>
10060 <rng:value>rows</rng:value>
10061 </rng:choice>
10062 </rng:attribute>
10063 </rng:optional>
10064 <rng:optional>
10065 <rng:attribute name="chart:regression-type">
10066 <rng:choice>
10067 <rng:value>none</rng:value>
10068 <rng:value>linear</rng:value>
10069 <rng:value>logarithmic</rng:value>
10070 <rng:value>moving-average</rng:value>
10071 <rng:value>exponential</rng:value>
10072 <rng:value>power</rng:value>
10073 <rng:value>polynomial</rng:value>
10074 </rng:choice>
10075 </rng:attribute>
10076 </rng:optional>
10077 <rng:optional>
10078 <rng:attribute name="chart:regression-max-degree">
10079 <rng:ref name="positiveInteger"/>
10080 </rng:attribute>
10081 </rng:optional>
10082 <rng:optional>
10083 <rng:attribute name="chart:regression-force-intercept">
10084 <rng:ref name="boolean"/>
10085 </rng:attribute>
10086 </rng:optional>
10087 <rng:optional>
10088 <rng:attribute name="chart:regression-intercept-value">
10089 <rng:ref name="double"/>
10090 </rng:attribute>
10091 </rng:optional>
10092 <rng:optional>
10093 <rng:attribute name="chart:regression-name">
10094 <rng:ref name="string"/>
10095 </rng:attribute>
10096 </rng:optional>
10097 <!-- https://issues.oasis-open.org/browse/OFFICE-3958 -->
10098 <rng:optional>
10099 <rng:attribute name="chart:regression-period">
10100 <rng:ref name="positiveInteger"/>
10101 </rng:attribute>
10102 </rng:optional>
10103 <rng:optional>
10104 <rng:attribute name="chart:regression-moving-type">
10105 <rng:choice>
10106 <rng:value>prior</rng:value>
10107 <rng:value>central</rng:value>
10108 <rng:value>averaged-abscissa</rng:value>
10109 </rng:choice>
10110 </rng:attribute>
10111 </rng:optional>
10112 <!-- https://issues.oasis-open.org/browse/OFFICE-3959 -->
10113 <rng:optional>
10114 <rng:attribute name="chart:axis-position">
10115 <rng:choice>
10116 <rng:value>start</rng:value>
10117 <rng:value>end</rng:value>
10118 <rng:ref name="double"/>
10119 </rng:choice>
10120 </rng:attribute>
10121 </rng:optional>
10122 <rng:optional>
10123 <rng:attribute name="chart:axis-label-position">
10124 <rng:choice>
10125 <rng:value>near-axis</rng:value>
10126 <rng:value>near-axis-other-side</rng:value>
10127 <rng:value>outside-start</rng:value>
10128 <rng:value>outside-end</rng:value>
10129 </rng:choice>
10130 </rng:attribute>
10131 </rng:optional>
10132 <rng:optional>
10133 <rng:attribute name="chart:tick-mark-position">
10134 <rng:choice>
10135 <rng:value>at-labels</rng:value>
10136 <rng:value>at-axis</rng:value>
10137 <rng:value>at-labels-and-axis</rng:value>
10138 </rng:choice>
10139 </rng:attribute>
10140 </rng:optional>
10141 <rng:optional>
10142 <rng:attribute name="chart:include-hidden-cells">
10143 <rng:ref name="boolean"/>
10144 </rng:attribute>
10145 </rng:optional>
10146 <rng:optional>
10147 <rng:attribute name="chart:data-label-series">
10148 <rng:ref name="boolean"/>
10149 </rng:attribute>
10150 </rng:optional>
10151 <!-- https://issues.oasis-open.org/browse/OFFICE-2117 -->
10152 </rng:interleave>
10153 </rng:define>
10154 <rng:define name="style-chart-properties-content-strict">
10155 <rng:ref name="style-chart-properties-attlist"/>
10156 <rng:ref name="style-chart-properties-elements"/>
10157 </rng:define>
10158 <rng:define name="style-chart-properties-elements">
10159 <rng:empty/>
10160 </rng:define>
10161 <rng:define name="style-column">
10162 <rng:element name="style:column">
10163 <rng:ref name="style-column-attlist"/>
10164 </rng:element>
10165 </rng:define>
10166 <rng:define name="style-column-attlist">
10167 <rng:interleave>
10168 <rng:attribute name="style:rel-width">
10169 <rng:ref name="relativeLength"/>
10170 </rng:attribute>
10171 <rng:optional>
10172 <rng:attribute name="fo:start-indent">
10173 <rng:ref name="length"/>
10174 </rng:attribute>
10175 </rng:optional>
10176 <rng:optional>
10177 <rng:attribute name="fo:end-indent">
10178 <rng:ref name="length"/>
10179 </rng:attribute>
10180 </rng:optional>
10181 <rng:optional>
10182 <rng:attribute name="fo:space-before">
10183 <rng:ref name="length"/>
10184 </rng:attribute>
10185 </rng:optional>
10186 <rng:optional>
10187 <rng:attribute name="fo:space-after">
10188 <rng:ref name="length"/>
10189 </rng:attribute>
10190 </rng:optional>
10191 </rng:interleave>
10192 </rng:define>
10193 <rng:define name="style-column-sep">
10194 <rng:element name="style:column-sep">
10195 <rng:ref name="style-column-sep-attlist"/>
10196 </rng:element>
10197 </rng:define>
10198 <rng:define name="style-column-sep-attlist">
10199 <rng:interleave>
10200 <rng:optional>
10201 <rng:attribute name="style:style">
10202 <rng:choice>
10203 <rng:value>none</rng:value>
10204 <rng:value>solid</rng:value>
10205 <rng:value>dotted</rng:value>
10206 <rng:value>dashed</rng:value>
10207 <rng:value>dot-dashed</rng:value>
10208 </rng:choice>
10209 </rng:attribute>
10210 </rng:optional>
10211 <rng:attribute name="style:width">
10212 <rng:ref name="length"/>
10213 </rng:attribute>
10214 <rng:optional>
10215 <rng:attribute name="style:height">
10216 <rng:ref name="zeroToHundredPercent"/>
10217 </rng:attribute>
10218 </rng:optional>
10219 <rng:optional>
10220 <rng:attribute name="style:vertical-align">
10221 <rng:choice>
10222 <rng:value>top</rng:value>
10223 <rng:value>middle</rng:value>
10224 <rng:value>bottom</rng:value>
10225 </rng:choice>
10226 </rng:attribute>
10227 </rng:optional>
10228 <rng:optional>
10229 <rng:attribute name="style:color">
10230 <rng:ref name="color"/>
10231 </rng:attribute>
10232 </rng:optional>
10233 </rng:interleave>
10234 </rng:define>
10235 <rng:define name="style-columns">
10236 <rng:optional>
10237 <rng:element name="style:columns">
10238 <rng:ref name="style-columns-attlist"/>
10239 <rng:optional>
10240 <rng:ref name="style-column-sep"/>
10241 </rng:optional>
10242 <rng:zeroOrMore>
10243 <rng:ref name="style-column"/>
10244 </rng:zeroOrMore>
10245 </rng:element>
10246 </rng:optional>
10247 </rng:define>
10248 <rng:define name="style-columns-attlist">
10249 <rng:interleave>
10250 <rng:attribute name="fo:column-count">
10251 <rng:ref name="positiveInteger"/>
10252 </rng:attribute>
10253 <rng:optional>
10254 <rng:attribute name="fo:column-gap">
10255 <rng:ref name="length"/>
10256 </rng:attribute>
10257 </rng:optional>
10258 </rng:interleave>
10259 </rng:define>
10260 <rng:define name="style-default-page-layout">
10261 <rng:element name="style:default-page-layout">
10262 <rng:ref name="style-page-layout-content"/>
10263 </rng:element>
10264 </rng:define>
10265 <rng:define name="style-default-style">
10266 <rng:element name="style:default-style">
10267 <rng:ref name="style-style-content"/>
10268 </rng:element>
10269 </rng:define>
10270 <rng:define name="style-drawing-page-properties">
10271 <rng:element name="style:drawing-page-properties">
10272 <rng:ref name="style-drawing-page-properties-content-strict"/>
10273 </rng:element>
10274 </rng:define>
10275 <rng:define name="style-drawing-page-properties-attlist">
10276 <rng:interleave>
10277 <rng:optional>
10278 <rng:attribute name="presentation:transition-type">
10279 <rng:choice>
10280 <rng:value>manual</rng:value>
10281 <rng:value>automatic</rng:value>
10282 <rng:value>semi-automatic</rng:value>
10283 </rng:choice>
10284 </rng:attribute>
10285 </rng:optional>
10286 <rng:optional>
10287 <rng:attribute name="presentation:transition-style">
10288 <rng:choice>
10289 <rng:value>none</rng:value>
10290 <rng:value>fade-from-left</rng:value>
10291 <rng:value>fade-from-top</rng:value>
10292 <rng:value>fade-from-right</rng:value>
10293 <rng:value>fade-from-bottom</rng:value>
10294 <rng:value>fade-from-upperleft</rng:value>
10295 <rng:value>fade-from-upperright</rng:value>
10296 <rng:value>fade-from-lowerleft</rng:value>
10297 <rng:value>fade-from-lowerright</rng:value>
10298 <rng:value>move-from-left</rng:value>
10299 <rng:value>move-from-top</rng:value>
10300 <rng:value>move-from-right</rng:value>
10301 <rng:value>move-from-bottom</rng:value>
10302 <rng:value>move-from-upperleft</rng:value>
10303 <rng:value>move-from-upperright</rng:value>
10304 <rng:value>move-from-lowerleft</rng:value>
10305 <rng:value>move-from-lowerright</rng:value>
10306 <rng:value>uncover-to-left</rng:value>
10307 <rng:value>uncover-to-top</rng:value>
10308 <rng:value>uncover-to-right</rng:value>
10309 <rng:value>uncover-to-bottom</rng:value>
10310 <rng:value>uncover-to-upperleft</rng:value>
10311 <rng:value>uncover-to-upperright</rng:value>
10312 <rng:value>uncover-to-lowerleft</rng:value>
10313 <rng:value>uncover-to-lowerright</rng:value>
10314 <rng:value>fade-to-center</rng:value>
10315 <rng:value>fade-from-center</rng:value>
10316 <rng:value>vertical-stripes</rng:value>
10317 <rng:value>horizontal-stripes</rng:value>
10318 <rng:value>clockwise</rng:value>
10319 <rng:value>counterclockwise</rng:value>
10320 <rng:value>open-vertical</rng:value>
10321 <rng:value>open-horizontal</rng:value>
10322 <rng:value>close-vertical</rng:value>
10323 <rng:value>close-horizontal</rng:value>
10324 <rng:value>wavyline-from-left</rng:value>
10325 <rng:value>wavyline-from-top</rng:value>
10326 <rng:value>wavyline-from-right</rng:value>
10327 <rng:value>wavyline-from-bottom</rng:value>
10328 <rng:value>spiralin-left</rng:value>
10329 <rng:value>spiralin-right</rng:value>
10330 <rng:value>spiralout-left</rng:value>
10331 <rng:value>spiralout-right</rng:value>
10332 <rng:value>roll-from-top</rng:value>
10333 <rng:value>roll-from-left</rng:value>
10334 <rng:value>roll-from-right</rng:value>
10335 <rng:value>roll-from-bottom</rng:value>
10336 <rng:value>stretch-from-left</rng:value>
10337 <rng:value>stretch-from-top</rng:value>
10338 <rng:value>stretch-from-right</rng:value>
10339 <rng:value>stretch-from-bottom</rng:value>
10340 <rng:value>vertical-lines</rng:value>
10341 <rng:value>horizontal-lines</rng:value>
10342 <rng:value>dissolve</rng:value>
10343 <rng:value>random</rng:value>
10344 <rng:value>vertical-checkerboard</rng:value>
10345 <rng:value>horizontal-checkerboard</rng:value>
10346 <rng:value>interlocking-horizontal-left</rng:value>
10347 <rng:value>interlocking-horizontal-right</rng:value>
10348 <rng:value>interlocking-vertical-top</rng:value>
10349 <rng:value>interlocking-vertical-bottom</rng:value>
10350 <rng:value>fly-away</rng:value>
10351 <rng:value>open</rng:value>
10352 <rng:value>close</rng:value>
10353 <rng:value>melt</rng:value>
10354 </rng:choice>
10355 </rng:attribute>
10356 </rng:optional>
10357 <rng:optional>
10358 <rng:attribute name="presentation:transition-speed">
10359 <rng:ref name="presentationSpeeds"/>
10360 </rng:attribute>
10361 </rng:optional>
10362 <rng:optional>
10363 <rng:attribute name="smil:type">
10364 <rng:ref name="string"/>
10365 </rng:attribute>
10366 </rng:optional>
10367 <rng:optional>
10368 <rng:attribute name="smil:subtype">
10369 <rng:ref name="string"/>
10370 </rng:attribute>
10371 </rng:optional>
10372 <rng:optional>
10373 <rng:attribute name="smil:direction">
10374 <rng:choice>
10375 <rng:value>forward</rng:value>
10376 <rng:value>reverse</rng:value>
10377 </rng:choice>
10378 </rng:attribute>
10379 </rng:optional>
10380 <rng:optional>
10381 <rng:attribute name="smil:fadeColor">
10382 <rng:ref name="color"/>
10383 </rng:attribute>
10384 </rng:optional>
10385 <rng:optional>
10386 <rng:attribute name="presentation:duration">
10387 <rng:ref name="duration"/>
10388 </rng:attribute>
10389 </rng:optional>
10390 <rng:optional>
10391 <rng:attribute name="presentation:visibility">
10392 <rng:choice>
10393 <rng:value>visible</rng:value>
10394 <rng:value>hidden</rng:value>
10395 </rng:choice>
10396 </rng:attribute>
10397 </rng:optional>
10398 <rng:optional>
10399 <rng:attribute name="draw:background-size">
10400 <rng:choice>
10401 <rng:value>full</rng:value>
10402 <rng:value>border</rng:value>
10403 </rng:choice>
10404 </rng:attribute>
10405 </rng:optional>
10406 <rng:optional>
10407 <rng:attribute name="presentation:background-objects-visible">
10408 <rng:ref name="boolean"/>
10409 </rng:attribute>
10410 </rng:optional>
10411 <rng:optional>
10412 <rng:attribute name="presentation:background-visible">
10413 <rng:ref name="boolean"/>
10414 </rng:attribute>
10415 </rng:optional>
10416 <rng:optional>
10417 <rng:attribute name="presentation:display-header">
10418 <rng:ref name="boolean"/>
10419 </rng:attribute>
10420 </rng:optional>
10421 <rng:optional>
10422 <rng:attribute name="presentation:display-footer">
10423 <rng:ref name="boolean"/>
10424 </rng:attribute>
10425 </rng:optional>
10426 <rng:optional>
10427 <rng:attribute name="presentation:display-page-number">
10428 <rng:ref name="boolean"/>
10429 </rng:attribute>
10430 </rng:optional>
10431 <rng:optional>
10432 <rng:attribute name="presentation:display-date-time">
10433 <rng:ref name="boolean"/>
10434 </rng:attribute>
10435 </rng:optional>
10436 </rng:interleave>
10437 </rng:define>
10438 <rng:define name="style-drawing-page-properties-content-strict">
10439 <rng:ref name="style-graphic-fill-properties-attlist"/>
10440 <rng:ref name="style-drawing-page-properties-attlist"/>
10441 <rng:ref name="style-drawing-page-properties-elements"/>
10442 </rng:define>
10443 <rng:define name="style-drawing-page-properties-elements">
10444 <rng:optional>
10445 <rng:ref name="presentation-sound"/>
10446 </rng:optional>
10447 </rng:define>
10448 <rng:define name="style-drop-cap">
10449 <rng:optional>
10450 <rng:element name="style:drop-cap">
10451 <rng:ref name="style-drop-cap-attlist"/>
10452 <rng:empty/>
10453 </rng:element>
10454 </rng:optional>
10455 </rng:define>
10456 <rng:define name="style-drop-cap-attlist">
10457 <rng:interleave>
10458 <rng:optional>
10459 <rng:attribute name="style:length">
10460 <rng:choice>
10461 <rng:value>word</rng:value>
10462 <rng:ref name="positiveInteger"/>
10463 </rng:choice>
10464 </rng:attribute>
10465 </rng:optional>
10466 <rng:optional>
10467 <rng:attribute name="style:lines">
10468 <rng:ref name="positiveInteger"/>
10469 </rng:attribute>
10470 </rng:optional>
10471 <rng:optional>
10472 <rng:attribute name="style:distance">
10473 <rng:ref name="length"/>
10474 </rng:attribute>
10475 </rng:optional>
10476 <rng:optional>
10477 <rng:attribute name="style:style-name">
10478 <rng:ref name="styleNameRef"/>
10479 </rng:attribute>
10480 </rng:optional>
10481 </rng:interleave>
10482 </rng:define>
10483 <rng:define name="style-font-face">
10484 <rng:element name="style:font-face">
10485 <rng:ref name="style-font-face-attlist"/>
10486 <rng:optional>
10487 <rng:ref name="svg-font-face-src"/>
10488 </rng:optional>
10489 <rng:optional>
10490 <rng:ref name="svg-definition-src"/>
10491 </rng:optional>
10492 </rng:element>
10493 </rng:define>
10494 <rng:define name="style-font-face-attlist">
10495 <rng:interleave>
10496 <rng:optional>
10497 <rng:attribute name="svg:font-family">
10498 <rng:ref name="string"/>
10499 </rng:attribute>
10500 </rng:optional>
10501 <rng:optional>
10502 <rng:attribute name="svg:font-style">
10503 <rng:ref name="fontStyle"/>
10504 </rng:attribute>
10505 </rng:optional>
10506 <rng:optional>
10507 <rng:attribute name="svg:font-variant">
10508 <rng:ref name="fontVariant"/>
10509 </rng:attribute>
10510 </rng:optional>
10511 <rng:optional>
10512 <rng:attribute name="svg:font-weight">
10513 <rng:ref name="fontWeight"/>
10514 </rng:attribute>
10515 </rng:optional>
10516 <rng:optional>
10517 <rng:attribute name="svg:font-stretch">
10518 <rng:choice>
10519 <rng:value>normal</rng:value>
10520 <rng:value>ultra-condensed</rng:value>
10521 <rng:value>extra-condensed</rng:value>
10522 <rng:value>condensed</rng:value>
10523 <rng:value>semi-condensed</rng:value>
10524 <rng:value>semi-expanded</rng:value>
10525 <rng:value>expanded</rng:value>
10526 <rng:value>extra-expanded</rng:value>
10527 <rng:value>ultra-expanded</rng:value>
10528 </rng:choice>
10529 </rng:attribute>
10530 </rng:optional>
10531 <rng:optional>
10532 <rng:attribute name="svg:font-size">
10533 <rng:ref name="positiveLength"/>
10534 </rng:attribute>
10535 </rng:optional>
10536 <rng:optional>
10537 <rng:attribute name="svg:unicode-range">
10538 <rng:ref name="string"/>
10539 </rng:attribute>
10540 </rng:optional>
10541 <rng:optional>
10542 <rng:attribute name="svg:units-per-em">
10543 <rng:ref name="integer"/>
10544 </rng:attribute>
10545 </rng:optional>
10546 <rng:optional>
10547 <rng:attribute name="svg:panose-1">
10548 <rng:ref name="string"/>
10549 </rng:attribute>
10550 </rng:optional>
10551 <rng:optional>
10552 <rng:attribute name="svg:stemv">
10553 <rng:ref name="integer"/>
10554 </rng:attribute>
10555 </rng:optional>
10556 <rng:optional>
10557 <rng:attribute name="svg:stemh">
10558 <rng:ref name="integer"/>
10559 </rng:attribute>
10560 </rng:optional>
10561 <rng:optional>
10562 <rng:attribute name="svg:slope">
10563 <rng:ref name="integer"/>
10564 </rng:attribute>
10565 </rng:optional>
10566 <rng:optional>
10567 <rng:attribute name="svg:cap-height">
10568 <rng:ref name="integer"/>
10569 </rng:attribute>
10570 </rng:optional>
10571 <rng:optional>
10572 <rng:attribute name="svg:x-height">
10573 <rng:ref name="integer"/>
10574 </rng:attribute>
10575 </rng:optional>
10576 <rng:optional>
10577 <rng:attribute name="svg:accent-height">
10578 <rng:ref name="integer"/>
10579 </rng:attribute>
10580 </rng:optional>
10581 <rng:optional>
10582 <rng:attribute name="svg:ascent">
10583 <rng:ref name="integer"/>
10584 </rng:attribute>
10585 </rng:optional>
10586 <rng:optional>
10587 <rng:attribute name="svg:descent">
10588 <rng:ref name="integer"/>
10589 </rng:attribute>
10590 </rng:optional>
10591 <rng:optional>
10592 <rng:attribute name="svg:widths">
10593 <rng:ref name="string"/>
10594 </rng:attribute>
10595 </rng:optional>
10596 <rng:optional>
10597 <rng:attribute name="svg:bbox">
10598 <rng:ref name="string"/>
10599 </rng:attribute>
10600 </rng:optional>
10601 <rng:optional>
10602 <rng:attribute name="svg:ideographic">
10603 <rng:ref name="integer"/>
10604 </rng:attribute>
10605 </rng:optional>
10606 <rng:optional>
10607 <rng:attribute name="svg:alphabetic">
10608 <rng:ref name="integer"/>
10609 </rng:attribute>
10610 </rng:optional>
10611 <rng:optional>
10612 <rng:attribute name="svg:mathematical">
10613 <rng:ref name="integer"/>
10614 </rng:attribute>
10615 </rng:optional>
10616 <rng:optional>
10617 <rng:attribute name="svg:hanging">
10618 <rng:ref name="integer"/>
10619 </rng:attribute>
10620 </rng:optional>
10621 <rng:optional>
10622 <rng:attribute name="svg:v-ideographic">
10623 <rng:ref name="integer"/>
10624 </rng:attribute>
10625 </rng:optional>
10626 <rng:optional>
10627 <rng:attribute name="svg:v-alphabetic">
10628 <rng:ref name="integer"/>
10629 </rng:attribute>
10630 </rng:optional>
10631 <rng:optional>
10632 <rng:attribute name="svg:v-mathematical">
10633 <rng:ref name="integer"/>
10634 </rng:attribute>
10635 </rng:optional>
10636 <rng:optional>
10637 <rng:attribute name="svg:v-hanging">
10638 <rng:ref name="integer"/>
10639 </rng:attribute>
10640 </rng:optional>
10641 <rng:optional>
10642 <rng:attribute name="svg:underline-position">
10643 <rng:ref name="integer"/>
10644 </rng:attribute>
10645 </rng:optional>
10646 <rng:optional>
10647 <rng:attribute name="svg:underline-thickness">
10648 <rng:ref name="integer"/>
10649 </rng:attribute>
10650 </rng:optional>
10651 <rng:optional>
10652 <rng:attribute name="svg:strikethrough-position">
10653 <rng:ref name="integer"/>
10654 </rng:attribute>
10655 </rng:optional>
10656 <rng:optional>
10657 <rng:attribute name="svg:strikethrough-thickness">
10658 <rng:ref name="integer"/>
10659 </rng:attribute>
10660 </rng:optional>
10661 <rng:optional>
10662 <rng:attribute name="svg:overline-position">
10663 <rng:ref name="integer"/>
10664 </rng:attribute>
10665 </rng:optional>
10666 <rng:optional>
10667 <rng:attribute name="svg:overline-thickness">
10668 <rng:ref name="integer"/>
10669 </rng:attribute>
10670 </rng:optional>
10671 <rng:attribute name="style:name">
10672 <rng:ref name="string"/>
10673 </rng:attribute>
10674 <rng:optional>
10675 <rng:attribute name="style:font-adornments">
10676 <rng:ref name="string"/>
10677 </rng:attribute>
10678 </rng:optional>
10679 <rng:optional>
10680 <rng:attribute name="style:font-family-generic">
10681 <rng:ref name="fontFamilyGeneric"/>
10682 </rng:attribute>
10683 </rng:optional>
10684 <rng:optional>
10685 <rng:attribute name="style:font-pitch">
10686 <rng:ref name="fontPitch"/>
10687 </rng:attribute>
10688 </rng:optional>
10689 <rng:optional>
10690 <rng:attribute name="style:font-charset">
10691 <rng:ref name="textEncoding"/>
10692 </rng:attribute>
10693 </rng:optional>
10694 </rng:interleave>
10695 </rng:define>
10696 <rng:define name="style-footer">
10697 <rng:element name="style:footer">
10698 <rng:ref name="common-style-header-footer-attlist"/>
10699 <rng:ref name="header-footer-content"/>
10700 </rng:element>
10701 </rng:define>
10702 <rng:define name="style-footer-first">
10703 <rng:element name="style:footer-first">
10704 <rng:ref name="common-style-header-footer-attlist"/>
10705 <rng:ref name="header-footer-content"/>
10706 <!-- https://issues.oasis-open.org/browse/OFFICE-3789 -->
10707 </rng:element>
10708 </rng:define>
10709 <rng:define name="style-footer-left">
10710 <rng:element name="style:footer-left">
10711 <rng:ref name="common-style-header-footer-attlist"/>
10712 <rng:ref name="header-footer-content"/>
10713 </rng:element>
10714 </rng:define>
10715 <rng:define name="style-footer-style">
10716 <rng:element name="style:footer-style">
10717 <rng:optional>
10718 <rng:ref name="style-header-footer-properties"/>
10719 </rng:optional>
10720 </rng:element>
10721 </rng:define>
10722 <rng:define name="style-footnote-sep">
10723 <rng:optional>
10724 <rng:element name="style:footnote-sep">
10725 <rng:ref name="style-footnote-sep-attlist"/>
10726 <rng:empty/>
10727 </rng:element>
10728 </rng:optional>
10729 </rng:define>
10730 <rng:define name="style-footnote-sep-attlist">
10731 <rng:optional>
10732 <rng:attribute name="style:width">
10733 <rng:ref name="length"/>
10734 </rng:attribute>
10735 </rng:optional>
10736 <rng:optional>
10737 <rng:attribute name="style:rel-width">
10738 <rng:ref name="percent"/>
10739 </rng:attribute>
10740 </rng:optional>
10741 <rng:optional>
10742 <rng:attribute name="style:color">
10743 <rng:ref name="color"/>
10744 </rng:attribute>
10745 </rng:optional>
10746 <rng:optional>
10747 <rng:attribute name="style:line-style">
10748 <rng:ref name="lineStyle"/>
10749 </rng:attribute>
10750 </rng:optional>
10751 <rng:optional>
10752 <rng:attribute name="style:adjustment">
10753 <rng:choice>
10754 <rng:value>left</rng:value>
10755 <rng:value>center</rng:value>
10756 <rng:value>right</rng:value>
10757 </rng:choice>
10758 </rng:attribute>
10759 </rng:optional>
10760 <rng:optional>
10761 <rng:attribute name="style:distance-before-sep">
10762 <rng:ref name="length"/>
10763 </rng:attribute>
10764 </rng:optional>
10765 <rng:optional>
10766 <rng:attribute name="style:distance-after-sep">
10767 <rng:ref name="length"/>
10768 </rng:attribute>
10769 </rng:optional>
10770 </rng:define>
10771 <rng:define name="style-graphic-fill-properties-attlist">
10772 <rng:interleave>
10773 <rng:optional>
10774 <rng:attribute name="draw:fill">
10775 <rng:choice>
10776 <rng:value>none</rng:value>
10777 <rng:value>solid</rng:value>
10778 <rng:value>bitmap</rng:value>
10779 <rng:value>gradient</rng:value>
10780 <rng:value>hatch</rng:value>
10781 </rng:choice>
10782 </rng:attribute>
10783 </rng:optional>
10784 <rng:optional>
10785 <rng:attribute name="draw:fill-color">
10786 <rng:ref name="color"/>
10787 </rng:attribute>
10788 </rng:optional>
10789 <rng:optional>
10790 <rng:attribute name="draw:secondary-fill-color">
10791 <rng:ref name="color"/>
10792 </rng:attribute>
10793 </rng:optional>
10794 <rng:optional>
10795 <rng:attribute name="draw:fill-gradient-name">
10796 <rng:ref name="styleNameRef"/>
10797 </rng:attribute>
10798 </rng:optional>
10799 <rng:optional>
10800 <rng:attribute name="draw:gradient-step-count">
10801 <rng:ref name="nonNegativeInteger"/>
10802 </rng:attribute>
10803 </rng:optional>
10804 <rng:optional>
10805 <rng:attribute name="draw:fill-hatch-name">
10806 <rng:ref name="styleNameRef"/>
10807 </rng:attribute>
10808 </rng:optional>
10809 <rng:optional>
10810 <rng:attribute name="draw:fill-hatch-solid">
10811 <rng:ref name="boolean"/>
10812 </rng:attribute>
10813 </rng:optional>
10814 <rng:optional>
10815 <rng:attribute name="draw:fill-image-name">
10816 <rng:ref name="styleNameRef"/>
10817 </rng:attribute>
10818 </rng:optional>
10819 <rng:optional>
10820 <rng:attribute name="style:repeat">
10821 <rng:choice>
10822 <rng:value>no-repeat</rng:value>
10823 <rng:value>repeat</rng:value>
10824 <rng:value>stretch</rng:value>
10825 </rng:choice>
10826 </rng:attribute>
10827 </rng:optional>
10828 <rng:optional>
10829 <rng:attribute name="draw:fill-image-width">
10830 <rng:choice>
10831 <rng:ref name="length"/>
10832 <rng:ref name="percent"/>
10833 </rng:choice>
10834 </rng:attribute>
10835 </rng:optional>
10836 <rng:optional>
10837 <rng:attribute name="draw:fill-image-height">
10838 <rng:choice>
10839 <rng:ref name="length"/>
10840 <rng:ref name="percent"/>
10841 </rng:choice>
10842 </rng:attribute>
10843 </rng:optional>
10844 <rng:optional>
10845 <rng:attribute name="draw:fill-image-ref-point-x">
10846 <rng:ref name="percent"/>
10847 </rng:attribute>
10848 </rng:optional>
10849 <rng:optional>
10850 <rng:attribute name="draw:fill-image-ref-point-y">
10851 <rng:ref name="percent"/>
10852 </rng:attribute>
10853 </rng:optional>
10854 <rng:optional>
10855 <rng:attribute name="draw:fill-image-ref-point">
10856 <rng:choice>
10857 <rng:value>top-left</rng:value>
10858 <rng:value>top</rng:value>
10859 <rng:value>top-right</rng:value>
10860 <rng:value>left</rng:value>
10861 <rng:value>center</rng:value>
10862 <rng:value>right</rng:value>
10863 <rng:value>bottom-left</rng:value>
10864 <rng:value>bottom</rng:value>
10865 <rng:value>bottom-right</rng:value>
10866 </rng:choice>
10867 </rng:attribute>
10868 </rng:optional>
10869 <rng:optional>
10870 <rng:attribute name="draw:tile-repeat-offset">
10871 <rng:list>
10872 <rng:ref name="zeroToHundredPercent"/>
10873 <rng:choice>
10874 <rng:value>horizontal</rng:value>
10875 <rng:value>vertical</rng:value>
10876 </rng:choice>
10877 </rng:list>
10878 </rng:attribute>
10879 </rng:optional>
10880 <rng:optional>
10881 <rng:attribute name="draw:opacity">
10882 <rng:ref name="zeroToHundredPercent"/>
10883 </rng:attribute>
10884 </rng:optional>
10885 <rng:optional>
10886 <rng:attribute name="draw:opacity-name">
10887 <rng:ref name="styleNameRef"/>
10888 </rng:attribute>
10889 </rng:optional>
10890 <rng:optional>
10891 <rng:attribute name="svg:fill-rule">
10892 <rng:choice>
10893 <rng:value>nonzero</rng:value>
10894 <rng:value>evenodd</rng:value>
10895 </rng:choice>
10896 </rng:attribute>
10897 </rng:optional>
10898 </rng:interleave>
10899 </rng:define>
10900 <rng:define name="style-graphic-properties">
10901 <rng:element name="style:graphic-properties">
10902 <rng:ref name="style-graphic-properties-content-strict"/>
10903 </rng:element>
10904 </rng:define>
10905 <rng:define name="style-graphic-properties-attlist">
10906 <rng:interleave>
10907 <rng:optional>
10908 <rng:attribute name="draw:stroke">
10909 <rng:choice>
10910 <rng:value>none</rng:value>
10911 <rng:value>dash</rng:value>
10912 <rng:value>solid</rng:value>
10913 </rng:choice>
10914 </rng:attribute>
10915 </rng:optional>
10916 <rng:optional>
10917 <rng:attribute name="draw:stroke-dash">
10918 <rng:ref name="styleNameRef"/>
10919 </rng:attribute>
10920 </rng:optional>
10921 <rng:optional>
10922 <rng:attribute name="draw:stroke-dash-names">
10923 <rng:ref name="styleNameRefs"/>
10924 </rng:attribute>
10925 </rng:optional>
10926 <rng:optional>
10927 <rng:attribute name="svg:stroke-width">
10928 <rng:ref name="length"/>
10929 </rng:attribute>
10930 </rng:optional>
10931 <rng:optional>
10932 <rng:attribute name="svg:stroke-color">
10933 <rng:ref name="color"/>
10934 </rng:attribute>
10935 </rng:optional>
10936 <rng:optional>
10937 <rng:attribute name="draw:marker-start">
10938 <rng:ref name="styleNameRef"/>
10939 </rng:attribute>
10940 </rng:optional>
10941 <rng:optional>
10942 <rng:attribute name="draw:marker-end">
10943 <rng:ref name="styleNameRef"/>
10944 </rng:attribute>
10945 </rng:optional>
10946 <rng:optional>
10947 <rng:attribute name="draw:marker-start-width">
10948 <rng:ref name="length"/>
10949 </rng:attribute>
10950 </rng:optional>
10951 <rng:optional>
10952 <rng:attribute name="draw:marker-end-width">
10953 <rng:ref name="length"/>
10954 </rng:attribute>
10955 </rng:optional>
10956 <rng:optional>
10957 <rng:attribute name="draw:marker-start-center">
10958 <rng:ref name="boolean"/>
10959 </rng:attribute>
10960 </rng:optional>
10961 <rng:optional>
10962 <rng:attribute name="draw:marker-end-center">
10963 <rng:ref name="boolean"/>
10964 </rng:attribute>
10965 </rng:optional>
10966 <rng:optional>
10967 <rng:attribute name="svg:stroke-opacity">
10968 <rng:choice>
10969 <rng:data type="double">
10970 <rng:param name="minInclusive">0</rng:param>
10971 <rng:param name="maxInclusive">1</rng:param>
10972 </rng:data>
10973 <rng:ref name="zeroToHundredPercent"/>
10974 </rng:choice>
10975 </rng:attribute>
10976 </rng:optional>
10977 <rng:optional>
10978 <rng:attribute name="draw:stroke-linejoin">
10979 <rng:choice>
10980 <rng:value>miter</rng:value>
10981 <rng:value>round</rng:value>
10982 <rng:value>bevel</rng:value>
10983 <rng:value>middle</rng:value>
10984 <rng:value>none</rng:value>
10985 </rng:choice>
10986 </rng:attribute>
10987 </rng:optional>
10988 <rng:optional>
10989 <rng:attribute name="svg:stroke-linecap">
10990 <rng:choice>
10991 <rng:value>butt</rng:value>
10992 <rng:value>square</rng:value>
10993 <rng:value>round</rng:value>
10994 </rng:choice>
10995 </rng:attribute>
10996 </rng:optional>
10997 <rng:optional>
10998 <rng:attribute name="draw:symbol-color">
10999 <rng:ref name="color"/>
11000 </rng:attribute>
11001 </rng:optional>
11002 <rng:optional>
11003 <rng:attribute name="text:animation">
11004 <rng:choice>
11005 <rng:value>none</rng:value>
11006 <rng:value>scroll</rng:value>
11007 <rng:value>alternate</rng:value>
11008 <rng:value>slide</rng:value>
11009 </rng:choice>
11010 </rng:attribute>
11011 </rng:optional>
11012 <rng:optional>
11013 <rng:attribute name="text:animation-direction">
11014 <rng:choice>
11015 <rng:value>left</rng:value>
11016 <rng:value>right</rng:value>
11017 <rng:value>up</rng:value>
11018 <rng:value>down</rng:value>
11019 </rng:choice>
11020 </rng:attribute>
11021 </rng:optional>
11022 <rng:optional>
11023 <rng:attribute name="text:animation-start-inside">
11024 <rng:ref name="boolean"/>
11025 </rng:attribute>
11026 </rng:optional>
11027 <rng:optional>
11028 <rng:attribute name="text:animation-stop-inside">
11029 <rng:ref name="boolean"/>
11030 </rng:attribute>
11031 </rng:optional>
11032 <rng:optional>
11033 <rng:attribute name="text:animation-repeat">
11034 <rng:ref name="nonNegativeInteger"/>
11035 </rng:attribute>
11036 </rng:optional>
11037 <rng:optional>
11038 <rng:attribute name="text:animation-delay">
11039 <rng:ref name="duration"/>
11040 </rng:attribute>
11041 </rng:optional>
11042 <rng:optional>
11043 <rng:attribute name="text:animation-steps">
11044 <rng:ref name="length"/>
11045 </rng:attribute>
11046 </rng:optional>
11047 <rng:optional>
11048 <rng:attribute name="draw:auto-grow-width">
11049 <rng:ref name="boolean"/>
11050 </rng:attribute>
11051 </rng:optional>
11052 <rng:optional>
11053 <rng:attribute name="draw:auto-grow-height">
11054 <rng:ref name="boolean"/>
11055 </rng:attribute>
11056 </rng:optional>
11057 <rng:optional>
11058 <rng:attribute name="draw:fit-to-size">
11059 <rng:ref name="boolean"/>
11060 </rng:attribute>
11061 </rng:optional>
11062 <rng:optional>
11063 <rng:attribute name="draw:fit-to-contour">
11064 <rng:ref name="boolean"/>
11065 </rng:attribute>
11066 </rng:optional>
11067 <rng:optional>
11068 <rng:attribute name="draw:textarea-vertical-align">
11069 <rng:choice>
11070 <rng:value>top</rng:value>
11071 <rng:value>middle</rng:value>
11072 <rng:value>bottom</rng:value>
11073 <rng:value>justify</rng:value>
11074 </rng:choice>
11075 </rng:attribute>
11076 </rng:optional>
11077 <rng:optional>
11078 <rng:attribute name="draw:textarea-horizontal-align">
11079 <rng:choice>
11080 <rng:value>left</rng:value>
11081 <rng:value>center</rng:value>
11082 <rng:value>right</rng:value>
11083 <rng:value>justify</rng:value>
11084 </rng:choice>
11085 </rng:attribute>
11086 </rng:optional>
11087 <rng:optional>
11088 <rng:attribute name="fo:wrap-option">
11089 <rng:choice>
11090 <rng:value>no-wrap</rng:value>
11091 <rng:value>wrap</rng:value>
11092 </rng:choice>
11093 </rng:attribute>
11094 </rng:optional>
11095 <rng:optional>
11096 <rng:attribute name="style:shrink-to-fit">
11097 <rng:ref name="boolean"/>
11098 </rng:attribute>
11099 </rng:optional>
11100 <rng:optional>
11101 <rng:attribute name="draw:color-mode">
11102 <rng:choice>
11103 <rng:value>greyscale</rng:value>
11104 <rng:value>mono</rng:value>
11105 <rng:value>watermark</rng:value>
11106 <rng:value>standard</rng:value>
11107 </rng:choice>
11108 </rng:attribute>
11109 </rng:optional>
11110 <rng:optional>
11111 <rng:attribute name="draw:color-inversion">
11112 <rng:ref name="boolean"/>
11113 </rng:attribute>
11114 </rng:optional>
11115 <rng:optional>
11116 <rng:attribute name="draw:luminance">
11117 <rng:ref name="signedZeroToHundredPercent"/>
11118 </rng:attribute>
11119 <!-- https://issues.oasis-open.org/browse/OFFICE-3821 -->
11120 </rng:optional>
11121 <rng:optional>
11122 <rng:attribute name="draw:contrast">
11123 <rng:ref name="percent"/>
11124 </rng:attribute>
11125 </rng:optional>
11126 <rng:optional>
11127 <rng:attribute name="draw:gamma">
11128 <rng:ref name="percent"/>
11129 </rng:attribute>
11130 </rng:optional>
11131 <rng:optional>
11132 <rng:attribute name="draw:red">
11133 <rng:ref name="signedZeroToHundredPercent"/>
11134 </rng:attribute>
11135 </rng:optional>
11136 <rng:optional>
11137 <rng:attribute name="draw:green">
11138 <rng:ref name="signedZeroToHundredPercent"/>
11139 </rng:attribute>
11140 </rng:optional>
11141 <rng:optional>
11142 <rng:attribute name="draw:blue">
11143 <rng:ref name="signedZeroToHundredPercent"/>
11144 </rng:attribute>
11145 </rng:optional>
11146 <rng:optional>
11147 <rng:attribute name="draw:image-opacity">
11148 <rng:ref name="zeroToHundredPercent"/>
11149 </rng:attribute>
11150 </rng:optional>
11151 <rng:optional>
11152 <rng:attribute name="draw:shadow">
11153 <rng:choice>
11154 <rng:value>visible</rng:value>
11155 <rng:value>hidden</rng:value>
11156 </rng:choice>
11157 </rng:attribute>
11158 </rng:optional>
11159 <rng:optional>
11160 <rng:attribute name="draw:shadow-offset-x">
11161 <rng:ref name="length"/>
11162 </rng:attribute>
11163 </rng:optional>
11164 <rng:optional>
11165 <rng:attribute name="draw:shadow-offset-y">
11166 <rng:ref name="length"/>
11167 </rng:attribute>
11168 </rng:optional>
11169 <rng:optional>
11170 <rng:attribute name="draw:shadow-color">
11171 <rng:ref name="color"/>
11172 </rng:attribute>
11173 </rng:optional>
11174 <rng:optional>
11175 <rng:attribute name="draw:shadow-opacity">
11176 <rng:ref name="zeroToHundredPercent"/>
11177 </rng:attribute>
11178 </rng:optional>
11179 <rng:optional>
11180 <rng:attribute name="draw:start-line-spacing-horizontal">
11181 <rng:ref name="distance"/>
11182 </rng:attribute>
11183 </rng:optional>
11184 <rng:optional>
11185 <rng:attribute name="draw:start-line-spacing-vertical">
11186 <rng:ref name="distance"/>
11187 </rng:attribute>
11188 </rng:optional>
11189 <rng:optional>
11190 <rng:attribute name="draw:end-line-spacing-horizontal">
11191 <rng:ref name="distance"/>
11192 </rng:attribute>
11193 </rng:optional>
11194 <rng:optional>
11195 <rng:attribute name="draw:end-line-spacing-vertical">
11196 <rng:ref name="distance"/>
11197 </rng:attribute>
11198 </rng:optional>
11199 <rng:optional>
11200 <rng:attribute name="draw:line-distance">
11201 <rng:ref name="distance"/>
11202 </rng:attribute>
11203 </rng:optional>
11204 <rng:optional>
11205 <rng:attribute name="draw:guide-overhang">
11206 <rng:ref name="length"/>
11207 </rng:attribute>
11208 </rng:optional>
11209 <rng:optional>
11210 <rng:attribute name="draw:guide-distance">
11211 <rng:ref name="distance"/>
11212 </rng:attribute>
11213 </rng:optional>
11214 <rng:optional>
11215 <rng:attribute name="draw:start-guide">
11216 <rng:ref name="length"/>
11217 </rng:attribute>
11218 </rng:optional>
11219 <rng:optional>
11220 <rng:attribute name="draw:end-guide">
11221 <rng:ref name="length"/>
11222 </rng:attribute>
11223 </rng:optional>
11224 <rng:optional>
11225 <rng:attribute name="draw:placing">
11226 <rng:choice>
11227 <rng:value>below</rng:value>
11228 <rng:value>above</rng:value>
11229 </rng:choice>
11230 </rng:attribute>
11231 </rng:optional>
11232 <rng:optional>
11233 <rng:attribute name="draw:parallel">
11234 <rng:ref name="boolean"/>
11235 </rng:attribute>
11236 </rng:optional>
11237 <rng:optional>
11238 <rng:attribute name="draw:measure-align">
11239 <rng:choice>
11240 <rng:value>automatic</rng:value>
11241 <rng:value>left-outside</rng:value>
11242 <rng:value>inside</rng:value>
11243 <rng:value>right-outside</rng:value>
11244 </rng:choice>
11245 </rng:attribute>
11246 </rng:optional>
11247 <rng:optional>
11248 <rng:attribute name="draw:measure-vertical-align">
11249 <rng:choice>
11250 <rng:value>automatic</rng:value>
11251 <rng:value>above</rng:value>
11252 <rng:value>below</rng:value>
11253 <rng:value>center</rng:value>
11254 </rng:choice>
11255 </rng:attribute>
11256 </rng:optional>
11257 <rng:optional>
11258 <rng:attribute name="draw:unit">
11259 <rng:choice>
11260 <rng:value>automatic</rng:value>
11261 <rng:value>mm</rng:value>
11262 <rng:value>cm</rng:value>
11263 <rng:value>m</rng:value>
11264 <rng:value>km</rng:value>
11265 <rng:value>pt</rng:value>
11266 <rng:value>pc</rng:value>
11267 <rng:value>inch</rng:value>
11268 <rng:value>ft</rng:value>
11269 <rng:value>mi</rng:value>
11270 </rng:choice>
11271 </rng:attribute>
11272 </rng:optional>
11273 <rng:optional>
11274 <rng:attribute name="draw:show-unit">
11275 <rng:ref name="boolean"/>
11276 </rng:attribute>
11277 </rng:optional>
11278 <rng:optional>
11279 <rng:attribute name="draw:decimal-places">
11280 <rng:ref name="nonNegativeInteger"/>
11281 </rng:attribute>
11282 </rng:optional>
11283 <rng:optional>
11284 <rng:attribute name="draw:caption-type">
11285 <rng:choice>
11286 <rng:value>straight-line</rng:value>
11287 <rng:value>angled-line</rng:value>
11288 <rng:value>angled-connector-line</rng:value>
11289 </rng:choice>
11290 </rng:attribute>
11291 </rng:optional>
11292 <rng:optional>
11293 <rng:attribute name="draw:caption-angle-type">
11294 <rng:choice>
11295 <rng:value>fixed</rng:value>
11296 <rng:value>free</rng:value>
11297 </rng:choice>
11298 </rng:attribute>
11299 </rng:optional>
11300 <rng:optional>
11301 <rng:attribute name="draw:caption-angle">
11302 <rng:ref name="angle"/>
11303 </rng:attribute>
11304 </rng:optional>
11305 <rng:optional>
11306 <rng:attribute name="draw:caption-gap">
11307 <rng:ref name="distance"/>
11308 </rng:attribute>
11309 </rng:optional>
11310 <rng:optional>
11311 <rng:attribute name="draw:caption-escape-direction">
11312 <rng:choice>
11313 <rng:value>horizontal</rng:value>
11314 <rng:value>vertical</rng:value>
11315 <rng:value>auto</rng:value>
11316 </rng:choice>
11317 </rng:attribute>
11318 </rng:optional>
11319 <rng:optional>
11320 <rng:attribute name="draw:caption-escape">
11321 <rng:choice>
11322 <rng:ref name="length"/>
11323 <rng:ref name="percent"/>
11324 </rng:choice>
11325 </rng:attribute>
11326 </rng:optional>
11327 <rng:optional>
11328 <rng:attribute name="draw:caption-line-length">
11329 <rng:ref name="length"/>
11330 </rng:attribute>
11331 </rng:optional>
11332 <rng:optional>
11333 <rng:attribute name="draw:caption-fit-line-length">
11334 <rng:ref name="boolean"/>
11335 </rng:attribute>
11336 </rng:optional>
11337 <rng:optional>
11338 <rng:attribute name="dr3d:horizontal-segments">
11339 <rng:ref name="nonNegativeInteger"/>
11340 </rng:attribute>
11341 </rng:optional>
11342 <rng:optional>
11343 <rng:attribute name="dr3d:vertical-segments">
11344 <rng:ref name="nonNegativeInteger"/>
11345 </rng:attribute>
11346 </rng:optional>
11347 <rng:optional>
11348 <rng:attribute name="dr3d:edge-rounding">
11349 <rng:ref name="percent"/>
11350 </rng:attribute>
11351 </rng:optional>
11352 <rng:optional>
11353 <rng:attribute name="dr3d:edge-rounding-mode">
11354 <rng:choice>
11355 <rng:value>correct</rng:value>
11356 <rng:value>attractive</rng:value>
11357 </rng:choice>
11358 </rng:attribute>
11359 </rng:optional>
11360 <rng:optional>
11361 <rng:attribute name="dr3d:back-scale">
11362 <rng:ref name="percent"/>
11363 </rng:attribute>
11364 </rng:optional>
11365 <rng:optional>
11366 <rng:attribute name="dr3d:depth">
11367 <rng:ref name="length"/>
11368 </rng:attribute>
11369 </rng:optional>
11370 <rng:optional>
11371 <rng:attribute name="dr3d:backface-culling">
11372 <rng:choice>
11373 <rng:value>enabled</rng:value>
11374 <rng:value>disabled</rng:value>
11375 </rng:choice>
11376 </rng:attribute>
11377 </rng:optional>
11378 <rng:optional>
11379 <rng:attribute name="dr3d:end-angle">
11380 <rng:ref name="angle"/>
11381 </rng:attribute>
11382 </rng:optional>
11383 <rng:optional>
11384 <rng:attribute name="dr3d:close-front">
11385 <rng:ref name="boolean"/>
11386 </rng:attribute>
11387 </rng:optional>
11388 <rng:optional>
11389 <rng:attribute name="dr3d:close-back">
11390 <rng:ref name="boolean"/>
11391 </rng:attribute>
11392 </rng:optional>
11393 <rng:optional>
11394 <rng:attribute name="dr3d:lighting-mode">
11395 <rng:choice>
11396 <rng:value>standard</rng:value>
11397 <rng:value>double-sided</rng:value>
11398 </rng:choice>
11399 </rng:attribute>
11400 </rng:optional>
11401 <rng:optional>
11402 <rng:attribute name="dr3d:normals-kind">
11403 <rng:choice>
11404 <rng:value>object</rng:value>
11405 <rng:value>flat</rng:value>
11406 <rng:value>sphere</rng:value>
11407 </rng:choice>
11408 </rng:attribute>
11409 </rng:optional>
11410 <rng:optional>
11411 <rng:attribute name="dr3d:normals-direction">
11412 <rng:choice>
11413 <rng:value>normal</rng:value>
11414 <rng:value>inverse</rng:value>
11415 </rng:choice>
11416 </rng:attribute>
11417 </rng:optional>
11418 <rng:optional>
11419 <rng:attribute name="dr3d:texture-generation-mode-x">
11420 <rng:choice>
11421 <rng:value>object</rng:value>
11422 <rng:value>parallel</rng:value>
11423 <rng:value>sphere</rng:value>
11424 </rng:choice>
11425 </rng:attribute>
11426 </rng:optional>
11427 <rng:optional>
11428 <rng:attribute name="dr3d:texture-generation-mode-y">
11429 <rng:choice>
11430 <rng:value>object</rng:value>
11431 <rng:value>parallel</rng:value>
11432 <rng:value>sphere</rng:value>
11433 </rng:choice>
11434 </rng:attribute>
11435 </rng:optional>
11436 <rng:optional>
11437 <rng:attribute name="dr3d:texture-kind">
11438 <rng:choice>
11439 <rng:value>luminance</rng:value>
11440 <rng:value>intensity</rng:value>
11441 <rng:value>color</rng:value>
11442 </rng:choice>
11443 </rng:attribute>
11444 </rng:optional>
11445 <rng:optional>
11446 <rng:attribute name="dr3d:texture-filter">
11447 <rng:choice>
11448 <rng:value>enabled</rng:value>
11449 <rng:value>disabled</rng:value>
11450 </rng:choice>
11451 </rng:attribute>
11452 </rng:optional>
11453 <rng:optional>
11454 <rng:attribute name="dr3d:texture-mode">
11455 <rng:choice>
11456 <rng:value>replace</rng:value>
11457 <rng:value>modulate</rng:value>
11458 <rng:value>blend</rng:value>
11459 </rng:choice>
11460 </rng:attribute>
11461 </rng:optional>
11462 <rng:optional>
11463 <rng:attribute name="dr3d:ambient-color">
11464 <rng:ref name="color"/>
11465 </rng:attribute>
11466 </rng:optional>
11467 <rng:optional>
11468 <rng:attribute name="dr3d:emissive-color">
11469 <rng:ref name="color"/>
11470 </rng:attribute>
11471 </rng:optional>
11472 <rng:optional>
11473 <rng:attribute name="dr3d:specular-color">
11474 <rng:ref name="color"/>
11475 </rng:attribute>
11476 </rng:optional>
11477 <rng:optional>
11478 <rng:attribute name="dr3d:diffuse-color">
11479 <rng:ref name="color"/>
11480 </rng:attribute>
11481 </rng:optional>
11482 <rng:optional>
11483 <rng:attribute name="dr3d:shininess">
11484 <rng:ref name="percent"/>
11485 </rng:attribute>
11486 </rng:optional>
11487 <rng:optional>
11488 <rng:attribute name="dr3d:shadow">
11489 <rng:choice>
11490 <rng:value>visible</rng:value>
11491 <rng:value>hidden</rng:value>
11492 </rng:choice>
11493 </rng:attribute>
11494 </rng:optional>
11495 <rng:ref name="common-draw-rel-size-attlist"/>
11496 <rng:optional>
11497 <rng:attribute name="fo:min-width">
11498 <rng:choice>
11499 <rng:ref name="length"/>
11500 <rng:ref name="percent"/>
11501 </rng:choice>
11502 </rng:attribute>
11503 </rng:optional>
11504 <rng:optional>
11505 <rng:attribute name="fo:min-height">
11506 <rng:choice>
11507 <rng:ref name="length"/>
11508 <rng:ref name="percent"/>
11509 </rng:choice>
11510 </rng:attribute>
11511 </rng:optional>
11512 <rng:optional>
11513 <rng:attribute name="fo:max-height">
11514 <rng:choice>
11515 <rng:ref name="length"/>
11516 <rng:ref name="percent"/>
11517 </rng:choice>
11518 </rng:attribute>
11519 </rng:optional>
11520 <rng:optional>
11521 <rng:attribute name="fo:max-width">
11522 <rng:choice>
11523 <rng:ref name="length"/>
11524 <rng:ref name="percent"/>
11525 </rng:choice>
11526 </rng:attribute>
11527 </rng:optional>
11528 <rng:ref name="common-horizontal-margin-attlist"/>
11529 <rng:ref name="common-vertical-margin-attlist"/>
11530 <rng:ref name="common-margin-attlist"/>
11531 <rng:optional>
11532 <rng:attribute name="style:print-content">
11533 <rng:ref name="boolean"/>
11534 </rng:attribute>
11535 </rng:optional>
11536 <rng:optional>
11537 <rng:attribute name="style:protect">
11538 <rng:choice>
11539 <rng:value>none</rng:value>
11540 <rng:list>
11541 <rng:oneOrMore>
11542 <rng:choice>
11543 <rng:value>content</rng:value>
11544 <rng:value>position</rng:value>
11545 <rng:value>size</rng:value>
11546 </rng:choice>
11547 </rng:oneOrMore>
11548 </rng:list>
11549 </rng:choice>
11550 </rng:attribute>
11551 </rng:optional>
11552 <rng:optional>
11553 <rng:attribute name="style:horizontal-pos">
11554 <rng:choice>
11555 <rng:value>left</rng:value>
11556 <rng:value>center</rng:value>
11557 <rng:value>right</rng:value>
11558 <rng:value>from-left</rng:value>
11559 <rng:value>inside</rng:value>
11560 <rng:value>outside</rng:value>
11561 <rng:value>from-inside</rng:value>
11562 </rng:choice>
11563 </rng:attribute>
11564 </rng:optional>
11565 <rng:optional>
11566 <rng:attribute name="svg:x">
11567 <rng:ref name="coordinate"/>
11568 </rng:attribute>
11569 </rng:optional>
11570 <rng:optional>
11571 <rng:attribute name="style:horizontal-rel">
11572 <rng:choice>
11573 <rng:value>page</rng:value>
11574 <rng:value>page-content</rng:value>
11575 <rng:value>page-start-margin</rng:value>
11576 <rng:value>page-end-margin</rng:value>
11577 <rng:value>frame</rng:value>
11578 <rng:value>frame-content</rng:value>
11579 <rng:value>frame-start-margin</rng:value>
11580 <rng:value>frame-end-margin</rng:value>
11581 <rng:value>paragraph</rng:value>
11582 <rng:value>paragraph-content</rng:value>
11583 <rng:value>paragraph-start-margin</rng:value>
11584 <rng:value>paragraph-end-margin</rng:value>
11585 <rng:value>char</rng:value>
11586 </rng:choice>
11587 </rng:attribute>
11588 </rng:optional>
11589 <rng:ref name="common-vertical-pos-attlist"/>
11590 <rng:ref name="common-vertical-rel-attlist"/>
11591 <rng:ref name="common-text-anchor-attlist"/>
11592 <rng:ref name="common-border-attlist"/>
11593 <rng:ref name="common-border-line-width-attlist"/>
11594 <rng:ref name="common-padding-attlist"/>
11595 <rng:ref name="common-shadow-attlist"/>
11596 <rng:ref name="common-background-color-attlist"/>
11597 <rng:ref name="common-background-transparency-attlist"/>
11598 <rng:ref name="common-editable-attlist"/>
11599 <rng:optional>
11600 <rng:attribute name="style:wrap">
11601 <rng:choice>
11602 <rng:value>none</rng:value>
11603 <rng:value>left</rng:value>
11604 <rng:value>right</rng:value>
11605 <rng:value>parallel</rng:value>
11606 <rng:value>dynamic</rng:value>
11607 <rng:value>run-through</rng:value>
11608 <rng:value>biggest</rng:value>
11609 </rng:choice>
11610 </rng:attribute>
11611 </rng:optional>
11612 <rng:optional>
11613 <rng:attribute name="style:wrap-dynamic-threshold">
11614 <rng:ref name="nonNegativeLength"/>
11615 </rng:attribute>
11616 </rng:optional>
11617 <rng:optional>
11618 <rng:attribute name="style:number-wrapped-paragraphs">
11619 <rng:choice>
11620 <rng:value>no-limit</rng:value>
11621 <rng:ref name="positiveInteger"/>
11622 </rng:choice>
11623 </rng:attribute>
11624 </rng:optional>
11625 <rng:optional>
11626 <rng:attribute name="style:wrap-contour">
11627 <rng:ref name="boolean"/>
11628 </rng:attribute>
11629 </rng:optional>
11630 <rng:optional>
11631 <rng:attribute name="style:wrap-contour-mode">
11632 <rng:choice>
11633 <rng:value>full</rng:value>
11634 <rng:value>outside</rng:value>
11635 </rng:choice>
11636 </rng:attribute>
11637 </rng:optional>
11638 <rng:optional>
11639 <rng:attribute name="style:run-through">
11640 <rng:choice>
11641 <rng:value>foreground</rng:value>
11642 <rng:value>background</rng:value>
11643 </rng:choice>
11644 </rng:attribute>
11645 </rng:optional>
11646 <rng:optional>
11647 <rng:attribute name="style:flow-with-text">
11648 <rng:ref name="boolean"/>
11649 </rng:attribute>
11650 </rng:optional>
11651 <rng:optional>
11652 <rng:attribute name="style:overflow-behavior">
11653 <rng:choice>
11654 <rng:value>clip</rng:value>
11655 <rng:value>auto-create-new-frame</rng:value>
11656 </rng:choice>
11657 </rng:attribute>
11658 </rng:optional>
11659 <rng:optional>
11660 <rng:attribute name="style:mirror">
11661 <rng:choice>
11662 <rng:value>none</rng:value>
11663 <rng:value>vertical</rng:value>
11664 <rng:ref name="horizontal-mirror"/>
11665 <rng:list>
11666 <rng:value>vertical</rng:value>
11667 <rng:ref name="horizontal-mirror"/>
11668 </rng:list>
11669 <rng:list>
11670 <rng:ref name="horizontal-mirror"/>
11671 <rng:value>vertical</rng:value>
11672 </rng:list>
11673 </rng:choice>
11674 </rng:attribute>
11675 </rng:optional>
11676 <rng:optional>
11677 <rng:attribute name="fo:clip">
11678 <rng:choice>
11679 <rng:value>auto</rng:value>
11680 <rng:ref name="clipShape"/>
11681 </rng:choice>
11682 </rng:attribute>
11683 </rng:optional>
11684 <rng:optional>
11685 <rng:attribute name="draw:wrap-influence-on-position">
11686 <rng:choice>
11687 <rng:value>iterative</rng:value>
11688 <rng:value>once-concurrent</rng:value>
11689 <rng:value>once-successive</rng:value>
11690 </rng:choice>
11691 </rng:attribute>
11692 </rng:optional>
11693 <rng:ref name="common-writing-mode-attlist"/>
11694 <rng:optional>
11695 <rng:attribute name="draw:frame-display-scrollbar">
11696 <rng:ref name="boolean"/>
11697 </rng:attribute>
11698 </rng:optional>
11699 <rng:optional>
11700 <rng:attribute name="draw:frame-display-border">
11701 <rng:ref name="boolean"/>
11702 </rng:attribute>
11703 </rng:optional>
11704 <rng:optional>
11705 <rng:attribute name="draw:frame-margin-horizontal">
11706 <rng:ref name="nonNegativePixelLength"/>
11707 </rng:attribute>
11708 </rng:optional>
11709 <rng:optional>
11710 <rng:attribute name="draw:frame-margin-vertical">
11711 <rng:ref name="nonNegativePixelLength"/>
11712 </rng:attribute>
11713 </rng:optional>
11714 <rng:optional>
11715 <rng:attribute name="draw:visible-area-left">
11716 <rng:ref name="nonNegativeLength"/>
11717 </rng:attribute>
11718 </rng:optional>
11719 <rng:optional>
11720 <rng:attribute name="draw:visible-area-top">
11721 <rng:ref name="nonNegativeLength"/>
11722 </rng:attribute>
11723 </rng:optional>
11724 <rng:optional>
11725 <rng:attribute name="draw:visible-area-width">
11726 <rng:ref name="positiveLength"/>
11727 </rng:attribute>
11728 </rng:optional>
11729 <rng:optional>
11730 <rng:attribute name="draw:visible-area-height">
11731 <rng:ref name="positiveLength"/>
11732 </rng:attribute>
11733 </rng:optional>
11734 <rng:optional>
11735 <rng:attribute name="draw:draw-aspect">
11736 <rng:choice>
11737 <rng:value>content</rng:value>
11738 <rng:value>thumbnail</rng:value>
11739 <rng:value>icon</rng:value>
11740 <rng:value>print-view</rng:value>
11741 </rng:choice>
11742 </rng:attribute>
11743 </rng:optional>
11744 <rng:optional>
11745 <rng:attribute name="draw:ole-draw-aspect">
11746 <rng:ref name="nonNegativeInteger"/>
11747 </rng:attribute>
11748 </rng:optional>
11749 </rng:interleave>
11750 </rng:define>
11751 <rng:define name="style-graphic-properties-content-strict">
11752 <rng:ref name="style-graphic-properties-attlist"/>
11753 <rng:ref name="style-graphic-fill-properties-attlist"/>
11754 <rng:ref name="style-graphic-properties-elements"/>
11755 </rng:define>
11756 <rng:define name="style-graphic-properties-elements">
11757 <rng:interleave>
11758 <rng:optional>
11759 <rng:ref name="text-list-style"/>
11760 </rng:optional>
11761 <rng:ref name="style-background-image"/>
11762 <rng:ref name="style-columns"/>
11763 </rng:interleave>
11764 </rng:define>
11765 <rng:define name="style-handout-master">
11766 <rng:element name="style:handout-master">
11767 <rng:ref name="common-presentation-header-footer-attlist"/>
11768 <rng:ref name="style-handout-master-attlist"/>
11769 <rng:zeroOrMore>
11770 <rng:ref name="shape"/>
11771 </rng:zeroOrMore>
11772 </rng:element>
11773 </rng:define>
11774 <rng:define name="style-handout-master-attlist">
11775 <rng:interleave>
11776 <rng:optional>
11777 <rng:attribute name="presentation:presentation-page-layout-name">
11778 <rng:ref name="styleNameRef"/>
11779 </rng:attribute>
11780 </rng:optional>
11781 <rng:attribute name="style:page-layout-name">
11782 <rng:ref name="styleNameRef"/>
11783 </rng:attribute>
11784 <rng:optional>
11785 <rng:attribute name="draw:style-name">
11786 <rng:ref name="styleNameRef"/>
11787 </rng:attribute>
11788 </rng:optional>
11789 </rng:interleave>
11790 </rng:define>
11791 <rng:define name="style-header">
11792 <rng:element name="style:header">
11793 <rng:ref name="common-style-header-footer-attlist"/>
11794 <rng:ref name="header-footer-content"/>
11795 </rng:element>
11796 </rng:define>
11797 <rng:define name="style-header-first">
11798 <rng:element name="style:header-first">
11799 <rng:ref name="common-style-header-footer-attlist"/>
11800 <rng:ref name="header-footer-content"/>
11801 <!-- https://issues.oasis-open.org/browse/OFFICE-3789 -->
11802 </rng:element>
11803 </rng:define>
11804 <rng:define name="style-header-footer-properties">
11805 <rng:element name="style:header-footer-properties">
11806 <rng:ref name="style-header-footer-properties-content-strict"/>
11807 </rng:element>
11808 </rng:define>
11809 <rng:define name="style-header-footer-properties-attlist">
11810 <rng:interleave>
11811 <rng:optional>
11812 <rng:attribute name="svg:height">
11813 <rng:ref name="length"/>
11814 </rng:attribute>
11815 </rng:optional>
11816 <rng:optional>
11817 <rng:attribute name="fo:min-height">
11818 <rng:ref name="length"/>
11819 </rng:attribute>
11820 </rng:optional>
11821 <rng:ref name="common-horizontal-margin-attlist"/>
11822 <rng:ref name="common-vertical-margin-attlist"/>
11823 <rng:ref name="common-margin-attlist"/>
11824 <rng:ref name="common-border-attlist"/>
11825 <rng:ref name="common-border-line-width-attlist"/>
11826 <rng:ref name="common-padding-attlist"/>
11827 <rng:ref name="common-background-color-attlist"/>
11828 <rng:ref name="common-shadow-attlist"/>
11829 <rng:optional>
11830 <rng:attribute name="style:dynamic-spacing">
11831 <rng:ref name="boolean"/>
11832 </rng:attribute>
11833 </rng:optional>
11834 </rng:interleave>
11835 </rng:define>
11836 <rng:define name="style-header-footer-properties-content-strict">
11837 <rng:ref name="style-header-footer-properties-attlist"/>
11838 <rng:ref name="style-header-footer-properties-elements"/>
11839 </rng:define>
11840 <rng:define name="style-header-footer-properties-elements">
11841 <rng:ref name="style-background-image"/>
11842 </rng:define>
11843 <rng:define name="style-header-left">
11844 <rng:element name="style:header-left">
11845 <rng:ref name="common-style-header-footer-attlist"/>
11846 <rng:ref name="header-footer-content"/>
11847 </rng:element>
11848 </rng:define>
11849 <rng:define name="style-header-style">
11850 <rng:element name="style:header-style">
11851 <rng:optional>
11852 <rng:ref name="style-header-footer-properties"/>
11853 </rng:optional>
11854 </rng:element>
11855 </rng:define>
11856 <rng:define name="style-list-level-label-alignment">
11857 <rng:optional>
11858 <rng:element name="style:list-level-label-alignment">
11859 <rng:ref name="style-list-level-label-alignment-attlist"/>
11860 <rng:empty/>
11861 </rng:element>
11862 </rng:optional>
11863 </rng:define>
11864 <rng:define name="style-list-level-label-alignment-attlist">
11865 <rng:interleave>
11866 <rng:attribute name="text:label-followed-by">
11867 <rng:choice>
11868 <rng:value>listtab</rng:value>
11869 <rng:value>space</rng:value>
11870 <rng:value>nothing</rng:value>
11871 </rng:choice>
11872 </rng:attribute>
11873 <rng:optional>
11874 <rng:attribute name="text:list-tab-stop-position">
11875 <rng:ref name="length"/>
11876 </rng:attribute>
11877 </rng:optional>
11878 <rng:optional>
11879 <rng:attribute name="fo:text-indent">
11880 <rng:ref name="length"/>
11881 </rng:attribute>
11882 </rng:optional>
11883 <rng:optional>
11884 <rng:attribute name="fo:margin-left">
11885 <rng:ref name="length"/>
11886 </rng:attribute>
11887 </rng:optional>
11888 </rng:interleave>
11889 </rng:define>
11890 <rng:define name="style-list-level-properties">
11891 <rng:element name="style:list-level-properties">
11892 <rng:ref name="style-list-level-properties-content-strict"/>
11893 </rng:element>
11894 </rng:define>
11895 <rng:define name="style-list-level-properties-attlist">
11896 <rng:interleave>
11897 <rng:ref name="common-text-align"/>
11898 <rng:optional>
11899 <rng:attribute name="text:space-before">
11900 <rng:ref name="length"/>
11901 </rng:attribute>
11902 </rng:optional>
11903 <rng:optional>
11904 <rng:attribute name="text:min-label-width">
11905 <rng:ref name="nonNegativeLength"/>
11906 </rng:attribute>
11907 </rng:optional>
11908 <rng:optional>
11909 <rng:attribute name="text:min-label-distance">
11910 <rng:ref name="nonNegativeLength"/>
11911 </rng:attribute>
11912 </rng:optional>
11913 <rng:optional>
11914 <rng:attribute name="style:font-name">
11915 <rng:ref name="string"/>
11916 </rng:attribute>
11917 </rng:optional>
11918 <rng:optional>
11919 <rng:attribute name="fo:width">
11920 <rng:ref name="positiveLength"/>
11921 </rng:attribute>
11922 </rng:optional>
11923 <rng:optional>
11924 <rng:attribute name="fo:height">
11925 <rng:ref name="positiveLength"/>
11926 </rng:attribute>
11927 </rng:optional>
11928 <rng:ref name="common-vertical-rel-attlist"/>
11929 <rng:ref name="common-vertical-pos-attlist"/>
11930 <rng:optional>
11931 <rng:attribute name="text:list-level-position-and-space-mode">
11932 <rng:choice>
11933 <rng:value>label-width-and-position</rng:value>
11934 <rng:value>label-alignment</rng:value>
11935 </rng:choice>
11936 </rng:attribute>
11937 </rng:optional>
11938 </rng:interleave>
11939 </rng:define>
11940 <rng:define name="style-list-level-properties-content-strict">
11941 <rng:ref name="style-list-level-properties-attlist"/>
11942 <rng:ref name="style-list-level-properties-elements"/>
11943 </rng:define>
11944 <rng:define name="style-list-level-properties-elements">
11945 <rng:ref name="style-list-level-label-alignment"/>
11946 </rng:define>
11947 <rng:define name="style-map">
11948 <rng:element name="style:map">
11949 <rng:ref name="style-map-attlist"/>
11950 <rng:empty/>
11951 </rng:element>
11952 </rng:define>
11953 <rng:define name="style-map-attlist">
11954 <rng:interleave>
11955 <rng:attribute name="style:condition">
11956 <rng:ref name="string"/>
11957 </rng:attribute>
11958 <rng:attribute name="style:apply-style-name">
11959 <rng:ref name="styleNameRef"/>
11960 </rng:attribute>
11961 <rng:optional>
11962 <rng:attribute name="style:base-cell-address">
11963 <rng:ref name="cellAddress"/>
11964 </rng:attribute>
11965 </rng:optional>
11966 </rng:interleave>
11967 </rng:define>
11968 <rng:define name="style-master-page">
11969 <rng:element name="style:master-page">
11970 <rng:ref name="style-master-page-attlist"/>
11971 <rng:optional>
11972 <rng:ref name="style-header"/>
11973 <rng:optional>
11974 <rng:ref name="style-header-left"/>
11975 </rng:optional>
11976 <rng:optional>
11977 <rng:ref name="style-header-first"/>
11978 </rng:optional>
11979 <!-- https://issues.oasis-open.org/browse/OFFICE-3789 -->
11980 </rng:optional>
11981 <rng:optional>
11982 <rng:ref name="style-footer"/>
11983 <rng:optional>
11984 <rng:ref name="style-footer-left"/>
11985 </rng:optional>
11986 <rng:optional>
11987 <rng:ref name="style-footer-first"/>
11988 </rng:optional>
11989 <!-- https://issues.oasis-open.org/browse/OFFICE-3789 -->
11990 </rng:optional>
11991 <rng:optional>
11992 <rng:ref name="draw-layer-set"/>
11993 </rng:optional>
11994 <rng:optional>
11995 <rng:ref name="office-forms"/>
11996 </rng:optional>
11997 <rng:zeroOrMore>
11998 <rng:ref name="shape"/>
11999 </rng:zeroOrMore>
12000 <rng:optional>
12001 <rng:ref name="animation-element"/>
12002 </rng:optional>
12003 <rng:optional>
12004 <rng:ref name="presentation-notes"/>
12005 </rng:optional>
12006 </rng:element>
12007 </rng:define>
12008 <rng:define name="style-master-page-attlist">
12009 <rng:interleave>
12010 <rng:attribute name="style:name">
12011 <rng:ref name="styleName"/>
12012 </rng:attribute>
12013 <rng:optional>
12014 <rng:attribute name="style:display-name">
12015 <rng:ref name="string"/>
12016 </rng:attribute>
12017 </rng:optional>
12018 <rng:attribute name="style:page-layout-name">
12019 <rng:ref name="styleNameRef"/>
12020 </rng:attribute>
12021 <rng:optional>
12022 <rng:attribute name="draw:style-name">
12023 <rng:ref name="styleNameRef"/>
12024 </rng:attribute>
12025 </rng:optional>
12026 <rng:optional>
12027 <rng:attribute name="style:next-style-name">
12028 <rng:ref name="styleNameRef"/>
12029 </rng:attribute>
12030 </rng:optional>
12031 </rng:interleave>
12032 </rng:define>
12033 <rng:define name="style-num-letter-sync-attlist">
12034 <rng:optional>
12035 <rng:attribute name="style:num-letter-sync">
12036 <rng:ref name="boolean"/>
12037 </rng:attribute>
12038 </rng:optional>
12039 </rng:define>
12040 <rng:define name="style-page-layout">
12041 <rng:element name="style:page-layout">
12042 <rng:ref name="style-page-layout-attlist"/>
12043 <rng:ref name="style-page-layout-content"/>
12044 </rng:element>
12045 </rng:define>
12046 <rng:define name="style-page-layout-attlist">
12047 <rng:interleave>
12048 <rng:attribute name="style:name">
12049 <rng:ref name="styleName"/>
12050 </rng:attribute>
12051 <rng:optional>
12052 <rng:attribute name="style:page-usage">
12053 <rng:choice>
12054 <rng:value>all</rng:value>
12055 <rng:value>left</rng:value>
12056 <rng:value>right</rng:value>
12057 <rng:value>mirrored</rng:value>
12058 </rng:choice>
12059 </rng:attribute>
12060 </rng:optional>
12061 </rng:interleave>
12062 </rng:define>
12063 <rng:define name="style-page-layout-content">
12064 <rng:optional>
12065 <rng:ref name="style-page-layout-properties"/>
12066 </rng:optional>
12067 <rng:optional>
12068 <rng:ref name="style-header-style"/>
12069 </rng:optional>
12070 <rng:optional>
12071 <rng:ref name="style-footer-style"/>
12072 </rng:optional>
12073 </rng:define>
12074 <rng:define name="style-page-layout-properties">
12075 <rng:element name="style:page-layout-properties">
12076 <rng:ref name="style-page-layout-properties-content-strict"/>
12077 </rng:element>
12078 </rng:define>
12079 <rng:define name="style-page-layout-properties-attlist">
12080 <rng:interleave>
12081 <rng:optional>
12082 <rng:attribute name="fo:page-width">
12083 <rng:ref name="length"/>
12084 </rng:attribute>
12085 </rng:optional>
12086 <rng:optional>
12087 <rng:attribute name="fo:page-height">
12088 <rng:ref name="length"/>
12089 </rng:attribute>
12090 </rng:optional>
12091 <rng:optional>
12092 <rng:ref name="common-num-format-attlist"/>
12093 </rng:optional>
12094 <rng:ref name="common-num-format-prefix-suffix-attlist"/>
12095 <rng:optional>
12096 <rng:attribute name="style:paper-tray-name">
12097 <rng:choice>
12098 <rng:value>default</rng:value>
12099 <rng:ref name="string"/>
12100 </rng:choice>
12101 </rng:attribute>
12102 </rng:optional>
12103 <rng:optional>
12104 <rng:attribute name="style:print-orientation">
12105 <rng:choice>
12106 <rng:value>portrait</rng:value>
12107 <rng:value>landscape</rng:value>
12108 </rng:choice>
12109 </rng:attribute>
12110 </rng:optional>
12111 <rng:ref name="common-horizontal-margin-attlist"/>
12112 <rng:ref name="common-vertical-margin-attlist"/>
12113 <rng:ref name="common-margin-attlist"/>
12114 <rng:ref name="common-border-attlist"/>
12115 <rng:ref name="common-border-line-width-attlist"/>
12116 <rng:ref name="common-padding-attlist"/>
12117 <rng:ref name="common-shadow-attlist"/>
12118 <rng:ref name="common-background-color-attlist"/>
12119 <rng:optional>
12120 <rng:attribute name="style:register-truth-ref-style-name">
12121 <rng:ref name="styleNameRef"/>
12122 </rng:attribute>
12123 </rng:optional>
12124 <rng:optional>
12125 <rng:attribute name="style:print">
12126 <rng:list>
12127 <rng:zeroOrMore>
12128 <rng:choice>
12129 <rng:value>headers</rng:value>
12130 <rng:value>grid</rng:value>
12131 <rng:value>annotations</rng:value>
12132 <rng:value>objects</rng:value>
12133 <rng:value>charts</rng:value>
12134 <rng:value>drawings</rng:value>
12135 <rng:value>formulas</rng:value>
12136 <rng:value>zero-values</rng:value>
12137 </rng:choice>
12138 </rng:zeroOrMore>
12139 </rng:list>
12140 </rng:attribute>
12141 </rng:optional>
12142 <rng:optional>
12143 <rng:attribute name="style:print-page-order">
12144 <rng:choice>
12145 <rng:value>ttb</rng:value>
12146 <rng:value>ltr</rng:value>
12147 </rng:choice>
12148 </rng:attribute>
12149 </rng:optional>
12150 <rng:optional>
12151 <rng:attribute name="style:first-page-number">
12152 <rng:choice>
12153 <rng:ref name="positiveInteger"/>
12154 <rng:value>continue</rng:value>
12155 </rng:choice>
12156 </rng:attribute>
12157 </rng:optional>
12158 <rng:choice>
12159 <rng:optional>
12160 <rng:attribute name="style:scale-to">
12161 <rng:ref name="percent"/>
12162 </rng:attribute>
12163 </rng:optional>
12164 <rng:optional>
12165 <rng:attribute name="style:scale-to-pages">
12166 <rng:ref name="positiveInteger"/>
12167 </rng:attribute>
12168 </rng:optional>
12169 <rng:group>
12170 <rng:optional>
12171 <rng:attribute name="style:scale-to-X">
12172 <rng:ref name="positiveInteger"/>
12173 </rng:attribute>
12174 </rng:optional>
12175 <rng:optional>
12176 <rng:attribute name="style:scale-to-Y">
12177 <rng:ref name="positiveInteger"/>
12178 </rng:attribute>
12179 </rng:optional>
12180 </rng:group>
12181 </rng:choice>
12182 <!-- https://issues.oasis-open.org/browse/OFFICE-3857 -->
12183 <rng:optional>
12184 <rng:attribute name="style:table-centering">
12185 <rng:choice>
12186 <rng:value>horizontal</rng:value>
12187 <rng:value>vertical</rng:value>
12188 <rng:value>both</rng:value>
12189 <rng:value>none</rng:value>
12190 </rng:choice>
12191 </rng:attribute>
12192 </rng:optional>
12193 <rng:optional>
12194 <rng:attribute name="style:footnote-max-height">
12195 <rng:ref name="length"/>
12196 </rng:attribute>
12197 </rng:optional>
12198 <rng:ref name="common-writing-mode-attlist"/>
12199 <rng:optional>
12200 <rng:attribute name="style:layout-grid-mode">
12201 <rng:choice>
12202 <rng:value>none</rng:value>
12203 <rng:value>line</rng:value>
12204 <rng:value>both</rng:value>
12205 </rng:choice>
12206 </rng:attribute>
12207 </rng:optional>
12208 <rng:optional>
12209 <rng:attribute name="style:layout-grid-standard-mode">
12210 <rng:ref name="boolean"/>
12211 </rng:attribute>
12212 </rng:optional>
12213 <rng:optional>
12214 <rng:attribute name="style:layout-grid-base-height">
12215 <rng:ref name="length"/>
12216 </rng:attribute>
12217 </rng:optional>
12218 <rng:optional>
12219 <rng:attribute name="style:layout-grid-ruby-height">
12220 <rng:ref name="length"/>
12221 </rng:attribute>
12222 </rng:optional>
12223 <rng:optional>
12224 <rng:attribute name="style:layout-grid-lines">
12225 <rng:ref name="positiveInteger"/>
12226 </rng:attribute>
12227 </rng:optional>
12228 <rng:optional>
12229 <rng:attribute name="style:layout-grid-base-width">
12230 <rng:ref name="length"/>
12231 </rng:attribute>
12232 </rng:optional>
12233 <rng:optional>
12234 <rng:attribute name="style:layout-grid-color">
12235 <rng:ref name="color"/>
12236 </rng:attribute>
12237 </rng:optional>
12238 <rng:optional>
12239 <rng:attribute name="style:layout-grid-ruby-below">
12240 <rng:ref name="boolean"/>
12241 </rng:attribute>
12242 </rng:optional>
12243 <rng:optional>
12244 <rng:attribute name="style:layout-grid-print">
12245 <rng:ref name="boolean"/>
12246 </rng:attribute>
12247 </rng:optional>
12248 <rng:optional>
12249 <rng:attribute name="style:layout-grid-display">
12250 <rng:ref name="boolean"/>
12251 </rng:attribute>
12252 </rng:optional>
12253 <rng:optional>
12254 <rng:attribute name="style:layout-grid-snap-to">
12255 <rng:ref name="boolean"/>
12256 </rng:attribute>
12257 </rng:optional>
12258 </rng:interleave>
12259 </rng:define>
12260 <rng:define name="style-page-layout-properties-content-strict">
12261 <rng:ref name="style-page-layout-properties-attlist"/>
12262 <rng:ref name="style-page-layout-properties-elements"/>
12263 </rng:define>
12264 <rng:define name="style-page-layout-properties-elements">
12265 <rng:interleave>
12266 <rng:ref name="style-background-image"/>
12267 <rng:ref name="style-columns"/>
12268 <rng:ref name="style-footnote-sep"/>
12269 </rng:interleave>
12270 </rng:define>
12271 <rng:define name="style-paragraph-properties">
12272 <rng:element name="style:paragraph-properties">
12273 <rng:ref name="style-paragraph-properties-content-strict"/>
12274 </rng:element>
12275 </rng:define>
12276 <rng:define name="style-paragraph-properties-attlist">
12277 <rng:interleave>
12278 <rng:optional>
12279 <rng:attribute name="style:contextual-spacing">
12280 <rng:ref name="boolean"/>
12281 </rng:attribute>
12282 </rng:optional>
12283 <!-- https://issues.oasis-open.org/browse/OFFICE-3767 -->
12284 <rng:optional>
12285 <rng:attribute name="fo:line-height">
12286 <rng:choice>
12287 <rng:value>normal</rng:value>
12288 <rng:ref name="nonNegativeLength"/>
12289 <rng:ref name="percent"/>
12290 </rng:choice>
12291 </rng:attribute>
12292 </rng:optional>
12293 <rng:optional>
12294 <rng:attribute name="style:line-height-at-least">
12295 <rng:ref name="nonNegativeLength"/>
12296 </rng:attribute>
12297 </rng:optional>
12298 <rng:optional>
12299 <rng:attribute name="style:line-spacing">
12300 <rng:ref name="length"/>
12301 </rng:attribute>
12302 </rng:optional>
12303 <rng:optional>
12304 <rng:attribute name="style:font-independent-line-spacing">
12305 <rng:ref name="boolean"/>
12306 </rng:attribute>
12307 </rng:optional>
12308 <rng:ref name="common-text-align"/>
12309 <rng:optional>
12310 <rng:attribute name="fo:text-align-last">
12311 <rng:choice>
12312 <rng:value>start</rng:value>
12313 <rng:value>center</rng:value>
12314 <rng:value>justify</rng:value>
12315 </rng:choice>
12316 </rng:attribute>
12317 </rng:optional>
12318 <rng:optional>
12319 <rng:attribute name="style:justify-single-word">
12320 <rng:ref name="boolean"/>
12321 </rng:attribute>
12322 </rng:optional>
12323 <rng:optional>
12324 <rng:attribute name="fo:keep-together">
12325 <rng:choice>
12326 <rng:value>auto</rng:value>
12327 <rng:value>always</rng:value>
12328 </rng:choice>
12329 </rng:attribute>
12330 </rng:optional>
12331 <rng:optional>
12332 <rng:attribute name="fo:widows">
12333 <rng:ref name="nonNegativeInteger"/>
12334 </rng:attribute>
12335 </rng:optional>
12336 <rng:optional>
12337 <rng:attribute name="fo:orphans">
12338 <rng:ref name="nonNegativeInteger"/>
12339 </rng:attribute>
12340 </rng:optional>
12341 <rng:optional>
12342 <rng:attribute name="style:tab-stop-distance">
12343 <rng:ref name="nonNegativeLength"/>
12344 </rng:attribute>
12345 </rng:optional>
12346 <rng:optional>
12347 <rng:attribute name="fo:hyphenation-keep">
12348 <rng:choice>
12349 <rng:value>auto</rng:value>
12350 <rng:value>page</rng:value>
12351 </rng:choice>
12352 </rng:attribute>
12353 </rng:optional>
12354 <rng:optional>
12355 <rng:attribute name="fo:hyphenation-ladder-count">
12356 <rng:choice>
12357 <rng:value>no-limit</rng:value>
12358 <rng:ref name="positiveInteger"/>
12359 </rng:choice>
12360 </rng:attribute>
12361 </rng:optional>
12362 <rng:optional>
12363 <rng:attribute name="style:register-true">
12364 <rng:ref name="boolean"/>
12365 </rng:attribute>
12366 </rng:optional>
12367 <rng:ref name="common-horizontal-margin-attlist"/>
12368 <rng:optional>
12369 <rng:attribute name="fo:text-indent">
12370 <rng:choice>
12371 <rng:ref name="length"/>
12372 <rng:ref name="percent"/>
12373 </rng:choice>
12374 </rng:attribute>
12375 </rng:optional>
12376 <rng:optional>
12377 <rng:attribute name="style:auto-text-indent">
12378 <rng:ref name="boolean"/>
12379 </rng:attribute>
12380 </rng:optional>
12381 <rng:ref name="common-vertical-margin-attlist"/>
12382 <rng:ref name="common-margin-attlist"/>
12383 <rng:ref name="common-break-attlist"/>
12384 <rng:ref name="common-background-color-attlist"/>
12385 <rng:ref name="common-border-attlist"/>
12386 <rng:ref name="common-border-line-width-attlist"/>
12387 <rng:optional>
12388 <rng:attribute name="style:join-border">
12389 <rng:ref name="boolean"/>
12390 </rng:attribute>
12391 </rng:optional>
12392 <rng:ref name="common-padding-attlist"/>
12393 <rng:ref name="common-shadow-attlist"/>
12394 <rng:ref name="common-keep-with-next-attlist"/>
12395 <rng:optional>
12396 <rng:attribute name="text:number-lines">
12397 <rng:ref name="boolean"/>
12398 </rng:attribute>
12399 </rng:optional>
12400 <rng:optional>
12401 <rng:attribute name="text:line-number">
12402 <rng:ref name="nonNegativeInteger"/>
12403 </rng:attribute>
12404 </rng:optional>
12405 <rng:optional>
12406 <rng:attribute name="style:text-autospace">
12407 <rng:choice>
12408 <rng:value>none</rng:value>
12409 <rng:value>ideograph-alpha</rng:value>
12410 </rng:choice>
12411 </rng:attribute>
12412 </rng:optional>
12413 <rng:optional>
12414 <rng:attribute name="style:punctuation-wrap">
12415 <rng:choice>
12416 <rng:value>simple</rng:value>
12417 <rng:value>hanging</rng:value>
12418 </rng:choice>
12419 </rng:attribute>
12420 </rng:optional>
12421 <rng:optional>
12422 <rng:attribute name="style:line-break">
12423 <rng:choice>
12424 <rng:value>normal</rng:value>
12425 <rng:value>strict</rng:value>
12426 </rng:choice>
12427 </rng:attribute>
12428 </rng:optional>
12429 <rng:optional>
12430 <rng:attribute name="style:vertical-align">
12431 <rng:choice>
12432 <rng:value>top</rng:value>
12433 <rng:value>middle</rng:value>
12434 <rng:value>bottom</rng:value>
12435 <rng:value>auto</rng:value>
12436 <rng:value>baseline</rng:value>
12437 </rng:choice>
12438 </rng:attribute>
12439 </rng:optional>
12440 <rng:ref name="common-writing-mode-attlist"/>
12441 <rng:optional>
12442 <rng:attribute name="style:writing-mode-automatic">
12443 <rng:ref name="boolean"/>
12444 </rng:attribute>
12445 </rng:optional>
12446 <rng:optional>
12447 <rng:attribute name="style:snap-to-layout-grid">
12448 <rng:ref name="boolean"/>
12449 </rng:attribute>
12450 </rng:optional>
12451 <rng:ref name="common-page-number-attlist"/>
12452 <rng:ref name="common-background-transparency-attlist"/>
12453 </rng:interleave>
12454 </rng:define>
12455 <rng:define name="style-paragraph-properties-content-strict">
12456 <rng:ref name="style-paragraph-properties-attlist"/>
12457 <rng:ref name="style-paragraph-properties-elements"/>
12458 </rng:define>
12459 <rng:define name="style-paragraph-properties-elements">
12460 <rng:interleave>
12461 <rng:ref name="style-tab-stops"/>
12462 <rng:ref name="style-drop-cap"/>
12463 <rng:ref name="style-background-image"/>
12464 </rng:interleave>
12465 </rng:define>
12466 <rng:define name="style-presentation-page-layout">
12467 <rng:element name="style:presentation-page-layout">
12468 <rng:attribute name="style:name">
12469 <rng:ref name="styleName"/>
12470 </rng:attribute>
12471 <rng:optional>
12472 <rng:attribute name="style:display-name">
12473 <rng:ref name="string"/>
12474 </rng:attribute>
12475 </rng:optional>
12476 <rng:zeroOrMore>
12477 <rng:ref name="presentation-placeholder"/>
12478 </rng:zeroOrMore>
12479 </rng:element>
12480 </rng:define>
12481 <rng:define name="style-region-center">
12482 <rng:element name="style:region-center">
12483 <rng:ref name="region-content"/>
12484 </rng:element>
12485 </rng:define>
12486 <rng:define name="style-region-left">
12487 <rng:element name="style:region-left">
12488 <rng:ref name="region-content"/>
12489 </rng:element>
12490 </rng:define>
12491 <rng:define name="style-region-right">
12492 <rng:element name="style:region-right">
12493 <rng:ref name="region-content"/>
12494 </rng:element>
12495 </rng:define>
12496 <rng:define name="style-ruby-properties">
12497 <rng:element name="style:ruby-properties">
12498 <rng:ref name="style-ruby-properties-content-strict"/>
12499 </rng:element>
12500 </rng:define>
12501 <rng:define name="style-ruby-properties-attlist">
12502 <rng:interleave>
12503 <rng:optional>
12504 <rng:attribute name="style:ruby-position">
12505 <rng:choice>
12506 <rng:value>above</rng:value>
12507 <rng:value>below</rng:value>
12508 </rng:choice>
12509 </rng:attribute>
12510 </rng:optional>
12511 <rng:optional>
12512 <rng:attribute name="style:ruby-align">
12513 <rng:choice>
12514 <rng:value>left</rng:value>
12515 <rng:value>center</rng:value>
12516 <rng:value>right</rng:value>
12517 <rng:value>distribute-letter</rng:value>
12518 <rng:value>distribute-space</rng:value>
12519 </rng:choice>
12520 </rng:attribute>
12521 </rng:optional>
12522 </rng:interleave>
12523 </rng:define>
12524 <rng:define name="style-ruby-properties-content-strict">
12525 <rng:ref name="style-ruby-properties-attlist"/>
12526 <rng:ref name="style-ruby-properties-elements"/>
12527 </rng:define>
12528 <rng:define name="style-ruby-properties-elements">
12529 <rng:empty/>
12530 </rng:define>
12531 <rng:define name="style-section-properties">
12532 <rng:element name="style:section-properties">
12533 <rng:ref name="style-section-properties-content-strict"/>
12534 </rng:element>
12535 </rng:define>
12536 <rng:define name="style-section-properties-attlist">
12537 <rng:interleave>
12538 <rng:ref name="common-background-color-attlist"/>
12539 <rng:ref name="common-horizontal-margin-attlist"/>
12540 <rng:optional>
12541 <rng:attribute name="style:protect">
12542 <rng:ref name="boolean"/>
12543 </rng:attribute>
12544 </rng:optional>
12545 <rng:ref name="common-editable-attlist"/>
12546 <rng:optional>
12547 <rng:attribute name="text:dont-balance-text-columns">
12548 <rng:ref name="boolean"/>
12549 </rng:attribute>
12550 </rng:optional>
12551 <rng:ref name="common-writing-mode-attlist"/>
12552 </rng:interleave>
12553 </rng:define>
12554 <rng:define name="style-section-properties-content-strict">
12555 <rng:ref name="style-section-properties-attlist"/>
12556 <rng:ref name="style-section-properties-elements"/>
12557 </rng:define>
12558 <rng:define name="style-section-properties-elements">
12559 <rng:interleave>
12560 <rng:ref name="style-background-image"/>
12561 <rng:ref name="style-columns"/>
12562 <rng:zeroOrMore>
12563 <rng:ref name="text-notes-configuration"/>
12564 </rng:zeroOrMore>
12565 </rng:interleave>
12566 </rng:define>
12567 <rng:define name="style-style">
12568 <rng:element name="style:style">
12569 <rng:ref name="style-style-attlist"/>
12570 <rng:ref name="style-style-content"/>
12571 <rng:zeroOrMore>
12572 <rng:ref name="style-map"/>
12573 </rng:zeroOrMore>
12574 </rng:element>
12575 </rng:define>
12576 <rng:define name="style-style-attlist">
12577 <rng:interleave>
12578 <rng:attribute name="style:name">
12579 <rng:ref name="styleName"/>
12580 </rng:attribute>
12581 <rng:optional>
12582 <rng:attribute name="style:display-name">
12583 <rng:ref name="string"/>
12584 </rng:attribute>
12585 </rng:optional>
12586 <rng:optional>
12587 <rng:attribute name="style:parent-style-name">
12588 <rng:ref name="styleNameRef"/>
12589 </rng:attribute>
12590 </rng:optional>
12591 <rng:optional>
12592 <rng:attribute name="style:next-style-name">
12593 <rng:ref name="styleNameRef"/>
12594 </rng:attribute>
12595 </rng:optional>
12596 <rng:optional>
12597 <rng:attribute name="style:list-level">
12598 <rng:choice>
12599 <rng:ref name="positiveInteger"/>
12600 <rng:empty/>
12601 </rng:choice>
12602 </rng:attribute>
12603 </rng:optional>
12604 <rng:optional>
12605 <rng:attribute name="style:list-style-name">
12606 <rng:choice>
12607 <rng:ref name="styleName"/>
12608 <rng:empty/>
12609 </rng:choice>
12610 </rng:attribute>
12611 </rng:optional>
12612 <rng:optional>
12613 <rng:attribute name="style:master-page-name">
12614 <rng:ref name="styleNameRef"/>
12615 </rng:attribute>
12616 </rng:optional>
12617 <rng:optional>
12618 <rng:attribute name="style:auto-update">
12619 <rng:ref name="boolean"/>
12620 </rng:attribute>
12621 </rng:optional>
12622 <rng:optional>
12623 <rng:attribute name="style:data-style-name">
12624 <rng:ref name="styleNameRef"/>
12625 </rng:attribute>
12626 </rng:optional>
12627 <rng:optional>
12628 <rng:attribute name="style:percentage-data-style-name">
12629 <rng:ref name="styleNameRef"/>
12630 </rng:attribute>
12631 </rng:optional>
12632 <rng:optional>
12633 <rng:attribute name="style:class">
12634 <rng:ref name="string"/>
12635 </rng:attribute>
12636 </rng:optional>
12637 <rng:optional>
12638 <rng:attribute name="style:default-outline-level">
12639 <rng:choice>
12640 <rng:ref name="positiveInteger"/>
12641 <rng:empty/>
12642 </rng:choice>
12643 </rng:attribute>
12644 </rng:optional>
12645 </rng:interleave>
12646 </rng:define>
12647 <rng:define name="style-style-content">
12648 <rng:choice>
12649 <rng:group>
12650 <rng:attribute name="style:family">
12651 <rng:value>text</rng:value>
12652 </rng:attribute>
12653 <rng:optional>
12654 <rng:ref name="style-text-properties"/>
12655 </rng:optional>
12656 </rng:group>
12657 <rng:group>
12658 <rng:attribute name="style:family">
12659 <rng:value>paragraph</rng:value>
12660 </rng:attribute>
12661 <rng:optional>
12662 <rng:ref name="style-paragraph-properties"/>
12663 </rng:optional>
12664 <rng:optional>
12665 <rng:ref name="style-text-properties"/>
12666 </rng:optional>
12667 </rng:group>
12668 <rng:group>
12669 <rng:attribute name="style:family">
12670 <rng:value>section</rng:value>
12671 </rng:attribute>
12672 <rng:optional>
12673 <rng:ref name="style-section-properties"/>
12674 </rng:optional>
12675 </rng:group>
12676 <rng:group>
12677 <rng:attribute name="style:family">
12678 <rng:value>ruby</rng:value>
12679 </rng:attribute>
12680 <rng:optional>
12681 <rng:ref name="style-ruby-properties"/>
12682 </rng:optional>
12683 </rng:group>
12684 <rng:group>
12685 <rng:attribute name="style:family">
12686 <rng:value>table</rng:value>
12687 </rng:attribute>
12688 <rng:optional>
12689 <rng:ref name="style-table-properties"/>
12690 </rng:optional>
12691 </rng:group>
12692 <rng:group>
12693 <rng:attribute name="style:family">
12694 <rng:value>table-column</rng:value>
12695 </rng:attribute>
12696 <rng:optional>
12697 <rng:ref name="style-table-column-properties"/>
12698 </rng:optional>
12699 </rng:group>
12700 <rng:group>
12701 <rng:attribute name="style:family">
12702 <rng:value>table-row</rng:value>
12703 </rng:attribute>
12704 <rng:optional>
12705 <rng:ref name="style-table-row-properties"/>
12706 </rng:optional>
12707 </rng:group>
12708 <rng:group>
12709 <rng:attribute name="style:family">
12710 <rng:value>table-cell</rng:value>
12711 </rng:attribute>
12712 <rng:optional>
12713 <rng:ref name="style-table-cell-properties"/>
12714 </rng:optional>
12715 <rng:optional>
12716 <rng:ref name="style-paragraph-properties"/>
12717 </rng:optional>
12718 <rng:optional>
12719 <rng:ref name="style-text-properties"/>
12720 </rng:optional>
12721 </rng:group>
12722 <rng:group>
12723 <rng:attribute name="style:family">
12724 <rng:choice>
12725 <rng:value>graphic</rng:value>
12726 <rng:value>presentation</rng:value>
12727 </rng:choice>
12728 </rng:attribute>
12729 <rng:optional>
12730 <rng:ref name="style-graphic-properties"/>
12731 </rng:optional>
12732 <rng:optional>
12733 <rng:ref name="style-paragraph-properties"/>
12734 </rng:optional>
12735 <rng:optional>
12736 <rng:ref name="style-text-properties"/>
12737 </rng:optional>
12738 </rng:group>
12739 <rng:group>
12740 <rng:attribute name="style:family">
12741 <rng:value>drawing-page</rng:value>
12742 </rng:attribute>
12743 <rng:optional>
12744 <rng:ref name="style-drawing-page-properties"/>
12745 </rng:optional>
12746 </rng:group>
12747 <rng:group>
12748 <rng:attribute name="style:family">
12749 <rng:value>chart</rng:value>
12750 </rng:attribute>
12751 <rng:optional>
12752 <rng:ref name="style-chart-properties"/>
12753 </rng:optional>
12754 <rng:optional>
12755 <rng:ref name="style-graphic-properties"/>
12756 </rng:optional>
12757 <rng:optional>
12758 <rng:ref name="style-paragraph-properties"/>
12759 </rng:optional>
12760 <rng:optional>
12761 <rng:ref name="style-text-properties"/>
12762 </rng:optional>
12763 </rng:group>
12764 </rng:choice>
12765 </rng:define>
12766 <rng:define name="style-tab-stop">
12767 <rng:element name="style:tab-stop">
12768 <rng:ref name="style-tab-stop-attlist"/>
12769 <rng:empty/>
12770 </rng:element>
12771 </rng:define>
12772 <rng:define name="style-tab-stop-attlist">
12773 <rng:interleave>
12774 <rng:attribute name="style:position">
12775 <rng:ref name="length"/>
12776 </rng:attribute>
12777 <rng:choice>
12778 <rng:optional>
12779 <rng:attribute name="style:type">
12780 <rng:choice>
12781 <rng:value>left</rng:value>
12782 <rng:value>center</rng:value>
12783 <rng:value>right</rng:value>
12784 </rng:choice>
12785 </rng:attribute>
12786 </rng:optional>
12787 <rng:group>
12788 <rng:attribute name="style:type">
12789 <rng:value>char</rng:value>
12790 </rng:attribute>
12791 <rng:ref name="style-tab-stop-char-attlist"/>
12792 </rng:group>
12793 </rng:choice>
12794 <rng:optional>
12795 <rng:attribute name="style:leader-type">
12796 <rng:ref name="lineType"/>
12797 </rng:attribute>
12798 </rng:optional>
12799 <rng:optional>
12800 <rng:attribute name="style:leader-style">
12801 <rng:ref name="lineStyle"/>
12802 </rng:attribute>
12803 </rng:optional>
12804 <rng:optional>
12805 <rng:attribute name="style:leader-width">
12806 <rng:ref name="lineWidth"/>
12807 </rng:attribute>
12808 </rng:optional>
12809 <rng:optional>
12810 <rng:attribute name="style:leader-color">
12811 <rng:choice>
12812 <rng:value>font-color</rng:value>
12813 <rng:ref name="color"/>
12814 </rng:choice>
12815 </rng:attribute>
12816 </rng:optional>
12817 <rng:optional>
12818 <rng:attribute name="style:leader-text">
12819 <rng:ref name="character"/>
12820 </rng:attribute>
12821 </rng:optional>
12822 <rng:optional>
12823 <rng:attribute name="style:leader-text-style">
12824 <rng:ref name="styleNameRef"/>
12825 </rng:attribute>
12826 </rng:optional>
12827 </rng:interleave>
12828 </rng:define>
12829 <rng:define name="style-tab-stop-char-attlist">
12830 <rng:attribute name="style:char">
12831 <rng:ref name="character"/>
12832 </rng:attribute>
12833 </rng:define>
12834 <rng:define name="style-tab-stops">
12835 <rng:optional>
12836 <rng:element name="style:tab-stops">
12837 <rng:zeroOrMore>
12838 <rng:ref name="style-tab-stop"/>
12839 </rng:zeroOrMore>
12840 </rng:element>
12841 </rng:optional>
12842 </rng:define>
12843 <rng:define name="style-table-cell-properties">
12844 <rng:element name="style:table-cell-properties">
12845 <rng:ref name="style-table-cell-properties-content-strict"/>
12846 </rng:element>
12847 </rng:define>
12848 <rng:define name="style-table-cell-properties-attlist">
12849 <rng:interleave>
12850 <rng:optional>
12851 <rng:attribute name="style:vertical-align">
12852 <rng:choice>
12853 <rng:value>top</rng:value>
12854 <rng:value>middle</rng:value>
12855 <rng:value>bottom</rng:value>
12856 <rng:value>automatic</rng:value>
12857 </rng:choice>
12858 </rng:attribute>
12859 </rng:optional>
12860 <rng:optional>
12861 <rng:attribute name="style:text-align-source">
12862 <rng:choice>
12863 <rng:value>fix</rng:value>
12864 <rng:value>value-type</rng:value>
12865 </rng:choice>
12866 </rng:attribute>
12867 </rng:optional>
12868 <rng:ref name="common-style-direction-attlist"/>
12869 <rng:optional>
12870 <rng:attribute name="style:glyph-orientation-vertical">
12871 <rng:choice>
12872 <rng:value>auto</rng:value>
12873 <rng:value>0</rng:value>
12874 <rng:value>0deg</rng:value>
12875 <rng:value>0rad</rng:value>
12876 <rng:value>0grad</rng:value>
12877 </rng:choice>
12878 </rng:attribute>
12879 </rng:optional>
12880 <rng:ref name="common-writing-mode-attlist"/>
12881 <rng:ref name="common-shadow-attlist"/>
12882 <rng:ref name="common-background-color-attlist"/>
12883 <rng:ref name="common-border-attlist"/>
12884 <rng:optional>
12885 <rng:attribute name="style:diagonal-tl-br">
12886 <rng:ref name="string"/>
12887 </rng:attribute>
12888 </rng:optional>
12889 <rng:optional>
12890 <rng:attribute name="style:diagonal-tl-br-widths">
12891 <rng:ref name="borderWidths"/>
12892 </rng:attribute>
12893 </rng:optional>
12894 <rng:optional>
12895 <rng:attribute name="style:diagonal-bl-tr">
12896 <rng:ref name="string"/>
12897 </rng:attribute>
12898 </rng:optional>
12899 <rng:optional>
12900 <rng:attribute name="style:diagonal-bl-tr-widths">
12901 <rng:ref name="borderWidths"/>
12902 </rng:attribute>
12903 </rng:optional>
12904 <rng:ref name="common-border-line-width-attlist"/>
12905 <rng:ref name="common-padding-attlist"/>
12906 <rng:optional>
12907 <rng:attribute name="fo:wrap-option">
12908 <rng:choice>
12909 <rng:value>no-wrap</rng:value>
12910 <rng:value>wrap</rng:value>
12911 </rng:choice>
12912 </rng:attribute>
12913 </rng:optional>
12914 <rng:ref name="common-rotation-angle-attlist"/>
12915 <rng:optional>
12916 <rng:attribute name="style:rotation-align">
12917 <rng:choice>
12918 <rng:value>none</rng:value>
12919 <rng:value>bottom</rng:value>
12920 <rng:value>top</rng:value>
12921 <rng:value>center</rng:value>
12922 </rng:choice>
12923 </rng:attribute>
12924 </rng:optional>
12925 <rng:optional>
12926 <rng:attribute name="style:cell-protect">
12927 <rng:choice>
12928 <rng:value>none</rng:value>
12929 <rng:value>hidden-and-protected</rng:value>
12930 <rng:list>
12931 <rng:oneOrMore>
12932 <rng:choice>
12933 <rng:value>protected</rng:value>
12934 <rng:value>formula-hidden</rng:value>
12935 </rng:choice>
12936 </rng:oneOrMore>
12937 </rng:list>
12938 </rng:choice>
12939 </rng:attribute>
12940 </rng:optional>
12941 <rng:optional>
12942 <rng:attribute name="style:print-content">
12943 <rng:ref name="boolean"/>
12944 </rng:attribute>
12945 </rng:optional>
12946 <rng:optional>
12947 <rng:attribute name="style:decimal-places">
12948 <rng:ref name="nonNegativeInteger"/>
12949 </rng:attribute>
12950 </rng:optional>
12951 <rng:optional>
12952 <rng:attribute name="style:repeat-content">
12953 <rng:ref name="boolean"/>
12954 </rng:attribute>
12955 </rng:optional>
12956 <rng:optional>
12957 <rng:attribute name="style:shrink-to-fit">
12958 <rng:ref name="boolean"/>
12959 </rng:attribute>
12960 </rng:optional>
12961 </rng:interleave>
12962 </rng:define>
12963 <rng:define name="style-table-cell-properties-content-strict">
12964 <rng:ref name="style-table-cell-properties-attlist"/>
12965 <rng:ref name="style-table-cell-properties-elements"/>
12966 </rng:define>
12967 <rng:define name="style-table-cell-properties-elements">
12968 <rng:ref name="style-background-image"/>
12969 </rng:define>
12970 <rng:define name="style-table-column-properties">
12971 <rng:element name="style:table-column-properties">
12972 <rng:ref name="style-table-column-properties-content-strict"/>
12973 </rng:element>
12974 </rng:define>
12975 <rng:define name="style-table-column-properties-attlist">
12976 <rng:interleave>
12977 <rng:optional>
12978 <rng:attribute name="style:column-width">
12979 <rng:ref name="positiveLength"/>
12980 </rng:attribute>
12981 </rng:optional>
12982 <rng:optional>
12983 <rng:attribute name="style:rel-column-width">
12984 <rng:ref name="relativeLength"/>
12985 </rng:attribute>
12986 </rng:optional>
12987 <rng:optional>
12988 <rng:attribute name="style:use-optimal-column-width">
12989 <rng:ref name="boolean"/>
12990 </rng:attribute>
12991 </rng:optional>
12992 <rng:ref name="common-break-attlist"/>
12993 </rng:interleave>
12994 </rng:define>
12995 <rng:define name="style-table-column-properties-content-strict">
12996 <rng:ref name="style-table-column-properties-attlist"/>
12997 <rng:ref name="style-table-column-properties-elements"/>
12998 </rng:define>
12999 <rng:define name="style-table-column-properties-elements">
13000 <rng:empty/>
13001 </rng:define>
13002 <rng:define name="style-table-properties">
13003 <rng:element name="style:table-properties">
13004 <rng:ref name="style-table-properties-content-strict"/>
13005 </rng:element>
13006 </rng:define>
13007 <rng:define name="style-table-properties-attlist">
13008 <rng:interleave>
13009 <rng:optional>
13010 <rng:attribute name="style:width">
13011 <rng:ref name="positiveLength"/>
13012 </rng:attribute>
13013 </rng:optional>
13014 <rng:optional>
13015 <rng:attribute name="style:rel-width">
13016 <rng:ref name="percent"/>
13017 </rng:attribute>
13018 </rng:optional>
13019 <rng:optional>
13020 <rng:attribute name="table:align">
13021 <rng:choice>
13022 <rng:value>left</rng:value>
13023 <rng:value>center</rng:value>
13024 <rng:value>right</rng:value>
13025 <rng:value>margins</rng:value>
13026 </rng:choice>
13027 </rng:attribute>
13028 </rng:optional>
13029 <rng:ref name="common-horizontal-margin-attlist"/>
13030 <rng:ref name="common-vertical-margin-attlist"/>
13031 <rng:ref name="common-margin-attlist"/>
13032 <rng:ref name="common-page-number-attlist"/>
13033 <rng:ref name="common-break-attlist"/>
13034 <rng:ref name="common-background-color-attlist"/>
13035 <rng:ref name="common-shadow-attlist"/>
13036 <rng:ref name="common-keep-with-next-attlist"/>
13037 <rng:optional>
13038 <rng:attribute name="style:may-break-between-rows">
13039 <rng:ref name="boolean"/>
13040 </rng:attribute>
13041 </rng:optional>
13042 <rng:optional>
13043 <rng:attribute name="table:border-model">
13044 <rng:choice>
13045 <rng:value>collapsing</rng:value>
13046 <rng:value>separating</rng:value>
13047 </rng:choice>
13048 </rng:attribute>
13049 </rng:optional>
13050 <rng:ref name="common-writing-mode-attlist"/>
13051 <rng:optional>
13052 <rng:attribute name="table:display">
13053 <rng:ref name="boolean"/>
13054 </rng:attribute>
13055 </rng:optional>
13056 <rng:optional>
13057 <rng:attribute name="table:tab-color">
13058 <rng:ref name="color"/>
13059 </rng:attribute>
13060 </rng:optional>
13061 <!-- https://issues.oasis-open.org/browse/OFFICE-2173 -->
13062 </rng:interleave>
13063 </rng:define>
13064 <rng:define name="style-table-properties-content-strict">
13065 <rng:ref name="style-table-properties-attlist"/>
13066 <rng:ref name="style-table-properties-elements"/>
13067 </rng:define>
13068 <rng:define name="style-table-properties-elements">
13069 <rng:ref name="style-background-image"/>
13070 </rng:define>
13071 <rng:define name="style-table-row-properties">
13072 <rng:element name="style:table-row-properties">
13073 <rng:ref name="style-table-row-properties-content-strict"/>
13074 </rng:element>
13075 </rng:define>
13076 <rng:define name="style-table-row-properties-attlist">
13077 <rng:interleave>
13078 <rng:optional>
13079 <rng:attribute name="style:row-height">
13080 <rng:ref name="positiveLength"/>
13081 </rng:attribute>
13082 </rng:optional>
13083 <rng:optional>
13084 <rng:attribute name="style:min-row-height">
13085 <rng:ref name="nonNegativeLength"/>
13086 </rng:attribute>
13087 </rng:optional>
13088 <rng:optional>
13089 <rng:attribute name="style:use-optimal-row-height">
13090 <rng:ref name="boolean"/>
13091 </rng:attribute>
13092 </rng:optional>
13093 <rng:ref name="common-background-color-attlist"/>
13094 <rng:ref name="common-break-attlist"/>
13095 <rng:optional>
13096 <rng:attribute name="fo:keep-together">
13097 <rng:choice>
13098 <rng:value>auto</rng:value>
13099 <rng:value>always</rng:value>
13100 </rng:choice>
13101 </rng:attribute>
13102 </rng:optional>
13103 </rng:interleave>
13104 </rng:define>
13105 <rng:define name="style-table-row-properties-content-strict">
13106 <rng:ref name="style-table-row-properties-attlist"/>
13107 <rng:ref name="style-table-row-properties-elements"/>
13108 </rng:define>
13109 <rng:define name="style-table-row-properties-elements">
13110 <rng:ref name="style-background-image"/>
13111 </rng:define>
13112 <rng:define name="style-text-properties">
13113 <rng:element name="style:text-properties">
13114 <rng:ref name="style-text-properties-content-strict"/>
13115 </rng:element>
13116 </rng:define>
13117 <rng:define name="style-text-properties-attlist">
13118 <rng:interleave>
13119 <rng:optional>
13120 <rng:attribute name="fo:font-variant">
13121 <rng:ref name="fontVariant"/>
13122 </rng:attribute>
13123 </rng:optional>
13124 <rng:optional>
13125 <rng:attribute name="fo:text-transform">
13126 <rng:choice>
13127 <rng:value>none</rng:value>
13128 <rng:value>lowercase</rng:value>
13129 <rng:value>uppercase</rng:value>
13130 <rng:value>capitalize</rng:value>
13131 </rng:choice>
13132 </rng:attribute>
13133 </rng:optional>
13134 <rng:optional>
13135 <rng:attribute name="fo:color">
13136 <rng:ref name="color"/>
13137 </rng:attribute>
13138 </rng:optional>
13139 <rng:optional>
13140 <rng:attribute name="style:use-window-font-color">
13141 <rng:ref name="boolean"/>
13142 </rng:attribute>
13143 </rng:optional>
13144 <rng:optional>
13145 <rng:attribute name="style:text-outline">
13146 <rng:ref name="boolean"/>
13147 </rng:attribute>
13148 </rng:optional>
13149 <rng:optional>
13150 <rng:attribute name="style:text-line-through-type">
13151 <rng:ref name="lineType"/>
13152 </rng:attribute>
13153 </rng:optional>
13154 <rng:optional>
13155 <rng:attribute name="style:text-line-through-style">
13156 <rng:ref name="lineStyle"/>
13157 </rng:attribute>
13158 </rng:optional>
13159 <rng:optional>
13160 <rng:attribute name="style:text-line-through-width">
13161 <rng:ref name="lineWidth"/>
13162 </rng:attribute>
13163 </rng:optional>
13164 <rng:optional>
13165 <rng:attribute name="style:text-line-through-color">
13166 <rng:choice>
13167 <rng:value>font-color</rng:value>
13168 <rng:ref name="color"/>
13169 </rng:choice>
13170 </rng:attribute>
13171 </rng:optional>
13172 <rng:optional>
13173 <rng:attribute name="style:text-line-through-text">
13174 <rng:ref name="string"/>
13175 </rng:attribute>
13176 </rng:optional>
13177 <rng:optional>
13178 <rng:attribute name="style:text-line-through-text-style">
13179 <rng:ref name="styleNameRef"/>
13180 </rng:attribute>
13181 </rng:optional>
13182 <rng:optional>
13183 <rng:attribute name="style:text-position">
13184 <rng:list>
13185 <rng:choice>
13186 <rng:ref name="percent"/>
13187 <rng:value>super</rng:value>
13188 <rng:value>sub</rng:value>
13189 </rng:choice>
13190 <rng:optional>
13191 <rng:ref name="percent"/>
13192 </rng:optional>
13193 </rng:list>
13194 </rng:attribute>
13195 </rng:optional>
13196 <rng:optional>
13197 <rng:attribute name="style:font-name">
13198 <rng:ref name="string"/>
13199 </rng:attribute>
13200 </rng:optional>
13201 <rng:optional>
13202 <rng:attribute name="style:font-name-asian">
13203 <rng:ref name="string"/>
13204 </rng:attribute>
13205 </rng:optional>
13206 <rng:optional>
13207 <rng:attribute name="style:font-name-complex">
13208 <rng:ref name="string"/>
13209 </rng:attribute>
13210 </rng:optional>
13211 <rng:optional>
13212 <rng:attribute name="fo:font-family">
13213 <rng:ref name="string"/>
13214 </rng:attribute>
13215 </rng:optional>
13216 <rng:optional>
13217 <rng:attribute name="style:font-family-asian">
13218 <rng:ref name="string"/>
13219 </rng:attribute>
13220 </rng:optional>
13221 <rng:optional>
13222 <rng:attribute name="style:font-family-complex">
13223 <rng:ref name="string"/>
13224 </rng:attribute>
13225 </rng:optional>
13226 <rng:optional>
13227 <rng:attribute name="style:font-family-generic">
13228 <rng:ref name="fontFamilyGeneric"/>
13229 </rng:attribute>
13230 </rng:optional>
13231 <rng:optional>
13232 <rng:attribute name="style:font-family-generic-asian">
13233 <rng:ref name="fontFamilyGeneric"/>
13234 </rng:attribute>
13235 </rng:optional>
13236 <rng:optional>
13237 <rng:attribute name="style:font-family-generic-complex">
13238 <rng:ref name="fontFamilyGeneric"/>
13239 </rng:attribute>
13240 </rng:optional>
13241 <rng:optional>
13242 <rng:attribute name="style:font-style-name">
13243 <rng:ref name="string"/>
13244 </rng:attribute>
13245 </rng:optional>
13246 <rng:optional>
13247 <rng:attribute name="style:font-style-name-asian">
13248 <rng:ref name="string"/>
13249 </rng:attribute>
13250 </rng:optional>
13251 <rng:optional>
13252 <rng:attribute name="style:font-style-name-complex">
13253 <rng:ref name="string"/>
13254 </rng:attribute>
13255 </rng:optional>
13256 <rng:optional>
13257 <rng:attribute name="style:font-pitch">
13258 <rng:ref name="fontPitch"/>
13259 </rng:attribute>
13260 </rng:optional>
13261 <rng:optional>
13262 <rng:attribute name="style:font-pitch-asian">
13263 <rng:ref name="fontPitch"/>
13264 </rng:attribute>
13265 </rng:optional>
13266 <rng:optional>
13267 <rng:attribute name="style:font-pitch-complex">
13268 <rng:ref name="fontPitch"/>
13269 </rng:attribute>
13270 </rng:optional>
13271 <rng:optional>
13272 <rng:attribute name="style:font-charset">
13273 <rng:ref name="textEncoding"/>
13274 </rng:attribute>
13275 </rng:optional>
13276 <rng:optional>
13277 <rng:attribute name="style:font-charset-asian">
13278 <rng:ref name="textEncoding"/>
13279 </rng:attribute>
13280 </rng:optional>
13281 <rng:optional>
13282 <rng:attribute name="style:font-charset-complex">
13283 <rng:ref name="textEncoding"/>
13284 </rng:attribute>
13285 </rng:optional>
13286 <rng:optional>
13287 <rng:attribute name="fo:font-size">
13288 <rng:choice>
13289 <rng:ref name="positiveLength"/>
13290 <rng:ref name="percent"/>
13291 </rng:choice>
13292 </rng:attribute>
13293 </rng:optional>
13294 <rng:optional>
13295 <rng:attribute name="style:font-size-asian">
13296 <rng:choice>
13297 <rng:ref name="positiveLength"/>
13298 <rng:ref name="percent"/>
13299 </rng:choice>
13300 </rng:attribute>
13301 </rng:optional>
13302 <rng:optional>
13303 <rng:attribute name="style:font-size-complex">
13304 <rng:choice>
13305 <rng:ref name="positiveLength"/>
13306 <rng:ref name="percent"/>
13307 </rng:choice>
13308 </rng:attribute>
13309 </rng:optional>
13310 <rng:optional>
13311 <rng:attribute name="style:font-size-rel">
13312 <rng:ref name="length"/>
13313 </rng:attribute>
13314 </rng:optional>
13315 <rng:optional>
13316 <rng:attribute name="style:font-size-rel-asian">
13317 <rng:ref name="length"/>
13318 </rng:attribute>
13319 </rng:optional>
13320 <rng:optional>
13321 <rng:attribute name="style:font-size-rel-complex">
13322 <rng:ref name="length"/>
13323 </rng:attribute>
13324 </rng:optional>
13325 <rng:optional>
13326 <rng:attribute name="style:script-type">
13327 <rng:choice>
13328 <rng:value>latin</rng:value>
13329 <rng:value>asian</rng:value>
13330 <rng:value>complex</rng:value>
13331 <rng:value>ignore</rng:value>
13332 </rng:choice>
13333 </rng:attribute>
13334 </rng:optional>
13335 <rng:optional>
13336 <rng:attribute name="fo:letter-spacing">
13337 <rng:choice>
13338 <rng:ref name="length"/>
13339 <rng:value>normal</rng:value>
13340 </rng:choice>
13341 </rng:attribute>
13342 </rng:optional>
13343 <rng:optional>
13344 <rng:attribute name="fo:language">
13345 <rng:ref name="languageCode"/>
13346 </rng:attribute>
13347 </rng:optional>
13348 <rng:optional>
13349 <rng:attribute name="style:language-asian">
13350 <rng:ref name="languageCode"/>
13351 </rng:attribute>
13352 </rng:optional>
13353 <rng:optional>
13354 <rng:attribute name="style:language-complex">
13355 <rng:ref name="languageCode"/>
13356 </rng:attribute>
13357 </rng:optional>
13358 <rng:optional>
13359 <rng:attribute name="fo:country">
13360 <rng:ref name="countryCode"/>
13361 </rng:attribute>
13362 </rng:optional>
13363 <rng:optional>
13364 <rng:attribute name="style:country-asian">
13365 <rng:ref name="countryCode"/>
13366 </rng:attribute>
13367 </rng:optional>
13368 <rng:optional>
13369 <rng:attribute name="style:country-complex">
13370 <rng:ref name="countryCode"/>
13371 </rng:attribute>
13372 </rng:optional>
13373 <rng:optional>
13374 <rng:attribute name="fo:script">
13375 <rng:ref name="scriptCode"/>
13376 </rng:attribute>
13377 </rng:optional>
13378 <rng:optional>
13379 <rng:attribute name="style:script-asian">
13380 <rng:ref name="scriptCode"/>
13381 </rng:attribute>
13382 </rng:optional>
13383 <rng:optional>
13384 <rng:attribute name="style:script-complex">
13385 <rng:ref name="scriptCode"/>
13386 </rng:attribute>
13387 </rng:optional>
13388 <rng:optional>
13389 <rng:attribute name="style:rfc-language-tag">
13390 <rng:ref name="language"/>
13391 </rng:attribute>
13392 </rng:optional>
13393 <rng:optional>
13394 <rng:attribute name="style:rfc-language-tag-asian">
13395 <rng:ref name="language"/>
13396 </rng:attribute>
13397 </rng:optional>
13398 <rng:optional>
13399 <rng:attribute name="style:rfc-language-tag-complex">
13400 <rng:ref name="language"/>
13401 </rng:attribute>
13402 </rng:optional>
13403 <rng:optional>
13404 <rng:attribute name="fo:font-style">
13405 <rng:ref name="fontStyle"/>
13406 </rng:attribute>
13407 </rng:optional>
13408 <rng:optional>
13409 <rng:attribute name="style:font-style-asian">
13410 <rng:ref name="fontStyle"/>
13411 </rng:attribute>
13412 </rng:optional>
13413 <rng:optional>
13414 <rng:attribute name="style:font-style-complex">
13415 <rng:ref name="fontStyle"/>
13416 </rng:attribute>
13417 </rng:optional>
13418 <rng:optional>
13419 <rng:attribute name="style:font-relief">
13420 <rng:choice>
13421 <rng:value>none</rng:value>
13422 <rng:value>embossed</rng:value>
13423 <rng:value>engraved</rng:value>
13424 </rng:choice>
13425 </rng:attribute>
13426 </rng:optional>
13427 <rng:optional>
13428 <rng:attribute name="fo:text-shadow">
13429 <rng:ref name="shadowType"/>
13430 </rng:attribute>
13431 </rng:optional>
13432 <rng:optional>
13433 <rng:attribute name="style:text-underline-type">
13434 <rng:ref name="lineType"/>
13435 </rng:attribute>
13436 </rng:optional>
13437 <rng:optional>
13438 <rng:attribute name="style:text-underline-style">
13439 <rng:ref name="lineStyle"/>
13440 </rng:attribute>
13441 </rng:optional>
13442 <rng:optional>
13443 <rng:attribute name="style:text-underline-width">
13444 <rng:ref name="lineWidth"/>
13445 </rng:attribute>
13446 </rng:optional>
13447 <rng:optional>
13448 <rng:attribute name="style:text-underline-color">
13449 <rng:choice>
13450 <rng:value>font-color</rng:value>
13451 <rng:ref name="color"/>
13452 </rng:choice>
13453 </rng:attribute>
13454 </rng:optional>
13455 <rng:optional>
13456 <rng:attribute name="style:text-overline-type">
13457 <rng:ref name="lineType"/>
13458 </rng:attribute>
13459 </rng:optional>
13460 <rng:optional>
13461 <rng:attribute name="style:text-overline-style">
13462 <rng:ref name="lineStyle"/>
13463 </rng:attribute>
13464 </rng:optional>
13465 <rng:optional>
13466 <rng:attribute name="style:text-overline-width">
13467 <rng:ref name="lineWidth"/>
13468 </rng:attribute>
13469 </rng:optional>
13470 <rng:optional>
13471 <rng:attribute name="style:text-overline-color">
13472 <rng:choice>
13473 <rng:value>font-color</rng:value>
13474 <rng:ref name="color"/>
13475 </rng:choice>
13476 </rng:attribute>
13477 </rng:optional>
13478 <rng:optional>
13479 <rng:attribute name="style:text-overline-mode">
13480 <rng:ref name="lineMode"/>
13481 </rng:attribute>
13482 </rng:optional>
13483 <rng:optional>
13484 <rng:attribute name="fo:font-weight">
13485 <rng:ref name="fontWeight"/>
13486 </rng:attribute>
13487 </rng:optional>
13488 <rng:optional>
13489 <rng:attribute name="style:font-weight-asian">
13490 <rng:ref name="fontWeight"/>
13491 </rng:attribute>
13492 </rng:optional>
13493 <rng:optional>
13494 <rng:attribute name="style:font-weight-complex">
13495 <rng:ref name="fontWeight"/>
13496 </rng:attribute>
13497 </rng:optional>
13498 <rng:optional>
13499 <rng:attribute name="style:text-underline-mode">
13500 <rng:ref name="lineMode"/>
13501 </rng:attribute>
13502 </rng:optional>
13503 <rng:optional>
13504 <rng:attribute name="style:text-line-through-mode">
13505 <rng:ref name="lineMode"/>
13506 </rng:attribute>
13507 </rng:optional>
13508 <rng:optional>
13509 <rng:attribute name="style:letter-kerning">
13510 <rng:ref name="boolean"/>
13511 </rng:attribute>
13512 </rng:optional>
13513 <rng:optional>
13514 <rng:attribute name="style:text-blinking">
13515 <rng:ref name="boolean"/>
13516 </rng:attribute>
13517 </rng:optional>
13518 <rng:ref name="common-background-color-attlist"/>
13519 <rng:optional>
13520 <rng:attribute name="style:text-combine">
13521 <rng:choice>
13522 <rng:value>none</rng:value>
13523 <rng:value>letters</rng:value>
13524 <rng:value>lines</rng:value>
13525 </rng:choice>
13526 </rng:attribute>
13527 </rng:optional>
13528 <rng:optional>
13529 <rng:attribute name="style:text-combine-start-char">
13530 <rng:ref name="character"/>
13531 </rng:attribute>
13532 </rng:optional>
13533 <rng:optional>
13534 <rng:attribute name="style:text-combine-end-char">
13535 <rng:ref name="character"/>
13536 </rng:attribute>
13537 </rng:optional>
13538 <rng:optional>
13539 <rng:attribute name="style:text-emphasize">
13540 <rng:choice>
13541 <rng:value>none</rng:value>
13542 <rng:list>
13543 <rng:choice>
13544 <rng:value>none</rng:value>
13545 <rng:value>accent</rng:value>
13546 <rng:value>dot</rng:value>
13547 <rng:value>circle</rng:value>
13548 <rng:value>disc</rng:value>
13549 </rng:choice>
13550 <rng:choice>
13551 <rng:value>above</rng:value>
13552 <rng:value>below</rng:value>
13553 </rng:choice>
13554 </rng:list>
13555 </rng:choice>
13556 </rng:attribute>
13557 </rng:optional>
13558 <rng:optional>
13559 <rng:attribute name="style:text-scale">
13560 <rng:ref name="percent"/>
13561 </rng:attribute>
13562 </rng:optional>
13563 <rng:optional>
13564 <rng:attribute name="style:text-rotation-angle">
13565 <rng:ref name="angle"/>
13566 </rng:attribute>
13567 </rng:optional>
13568 <rng:optional>
13569 <rng:attribute name="style:text-rotation-scale">
13570 <rng:choice>
13571 <rng:value>fixed</rng:value>
13572 <rng:value>line-height</rng:value>
13573 </rng:choice>
13574 </rng:attribute>
13575 </rng:optional>
13576 <rng:optional>
13577 <rng:attribute name="fo:hyphenate">
13578 <rng:ref name="boolean"/>
13579 </rng:attribute>
13580 </rng:optional>
13581 <rng:optional>
13582 <rng:attribute name="fo:hyphenation-remain-char-count">
13583 <rng:ref name="positiveInteger"/>
13584 </rng:attribute>
13585 </rng:optional>
13586 <rng:optional>
13587 <rng:attribute name="fo:hyphenation-push-char-count">
13588 <rng:ref name="positiveInteger"/>
13589 </rng:attribute>
13590 </rng:optional>
13591 <rng:choice>
13592 <rng:attribute name="text:display">
13593 <rng:value>true</rng:value>
13594 </rng:attribute>
13595 <rng:attribute name="text:display">
13596 <rng:value>none</rng:value>
13597 </rng:attribute>
13598 <rng:group>
13599 <rng:attribute name="text:display">
13600 <rng:value>condition</rng:value>
13601 </rng:attribute>
13602 <rng:attribute name="text:condition">
13603 <rng:value>none</rng:value>
13604 </rng:attribute>
13605 </rng:group>
13606 <rng:empty/>
13607 </rng:choice>
13608 </rng:interleave>
13609 </rng:define>
13610 <rng:define name="style-text-properties-content-strict">
13611 <rng:ref name="style-text-properties-attlist"/>
13612 <rng:ref name="style-text-properties-elements"/>
13613 </rng:define>
13614 <rng:define name="style-text-properties-elements">
13615 <rng:empty/>
13616 </rng:define>
13617 <rng:define name="styleName">
13618 <rng:data type="NCName"/>
13619 </rng:define>
13620 <rng:define name="styleNameRef">
13621 <rng:choice>
13622 <rng:data type="NCName"/>
13623 <rng:empty/>
13624 </rng:choice>
13625 </rng:define>
13626 <rng:define name="styleNameRefs">
13627 <rng:list>
13628 <rng:zeroOrMore>
13629 <rng:data type="NCName"/>
13630 </rng:zeroOrMore>
13631 </rng:list>
13632 </rng:define>
13633 <rng:define name="styles">
13634 <rng:interleave>
13635 <rng:zeroOrMore>
13636 <rng:ref name="style-style"/>
13637 </rng:zeroOrMore>
13638 <rng:zeroOrMore>
13639 <rng:ref name="text-list-style"/>
13640 </rng:zeroOrMore>
13641 <rng:zeroOrMore>
13642 <rng:ref name="number-number-style"/>
13643 </rng:zeroOrMore>
13644 <rng:zeroOrMore>
13645 <rng:ref name="number-currency-style"/>
13646 </rng:zeroOrMore>
13647 <rng:zeroOrMore>
13648 <rng:ref name="number-percentage-style"/>
13649 </rng:zeroOrMore>
13650 <rng:zeroOrMore>
13651 <rng:ref name="number-date-style"/>
13652 </rng:zeroOrMore>
13653 <rng:zeroOrMore>
13654 <rng:ref name="number-time-style"/>
13655 </rng:zeroOrMore>
13656 <rng:zeroOrMore>
13657 <rng:ref name="number-boolean-style"/>
13658 </rng:zeroOrMore>
13659 <rng:zeroOrMore>
13660 <rng:ref name="number-text-style"/>
13661 </rng:zeroOrMore>
13662 </rng:interleave>
13663 </rng:define>
13664 <rng:define name="svg-definition-src">
13665 <rng:element name="svg:definition-src">
13666 <rng:ref name="common-svg-font-face-xlink-attlist"/>
13667 <rng:empty/>
13668 </rng:element>
13669 </rng:define>
13670 <rng:define name="svg-desc">
13671 <rng:element name="svg:desc">
13672 <rng:text/>
13673 </rng:element>
13674 </rng:define>
13675 <rng:define name="svg-font-face-format">
13676 <rng:element name="svg:font-face-format">
13677 <rng:optional>
13678 <rng:attribute name="svg:string">
13679 <rng:ref name="string"/>
13680 </rng:attribute>
13681 </rng:optional>
13682 <rng:empty/>
13683 </rng:element>
13684 </rng:define>
13685 <rng:define name="svg-font-face-name">
13686 <rng:element name="svg:font-face-name">
13687 <rng:optional>
13688 <rng:attribute name="svg:name">
13689 <rng:ref name="string"/>
13690 </rng:attribute>
13691 </rng:optional>
13692 <rng:empty/>
13693 </rng:element>
13694 </rng:define>
13695 <rng:define name="svg-font-face-src">
13696 <rng:element name="svg:font-face-src">
13697 <rng:oneOrMore>
13698 <rng:choice>
13699 <rng:ref name="svg-font-face-uri"/>
13700 <rng:ref name="svg-font-face-name"/>
13701 </rng:choice>
13702 </rng:oneOrMore>
13703 </rng:element>
13704 </rng:define>
13705 <rng:define name="svg-font-face-uri">
13706 <rng:element name="svg:font-face-uri">
13707 <rng:ref name="common-svg-font-face-xlink-attlist"/>
13708 <rng:zeroOrMore>
13709 <rng:ref name="svg-font-face-format"/>
13710 </rng:zeroOrMore>
13711 </rng:element>
13712 </rng:define>
13713 <rng:define name="svg-linearGradient">
13714 <rng:element name="svg:linearGradient">
13715 <rng:ref name="common-svg-gradient-attlist"/>
13716 <rng:optional>
13717 <rng:attribute name="svg:x1">
13718 <rng:choice>
13719 <rng:ref name="coordinate"/>
13720 <rng:ref name="percent"/>
13721 </rng:choice>
13722 </rng:attribute>
13723 </rng:optional>
13724 <rng:optional>
13725 <rng:attribute name="svg:y1">
13726 <rng:choice>
13727 <rng:ref name="coordinate"/>
13728 <rng:ref name="percent"/>
13729 </rng:choice>
13730 </rng:attribute>
13731 </rng:optional>
13732 <rng:optional>
13733 <rng:attribute name="svg:x2">
13734 <rng:choice>
13735 <rng:ref name="coordinate"/>
13736 <rng:ref name="percent"/>
13737 </rng:choice>
13738 </rng:attribute>
13739 </rng:optional>
13740 <rng:optional>
13741 <rng:attribute name="svg:y2">
13742 <rng:choice>
13743 <rng:ref name="coordinate"/>
13744 <rng:ref name="percent"/>
13745 </rng:choice>
13746 </rng:attribute>
13747 </rng:optional>
13748 <rng:zeroOrMore>
13749 <rng:ref name="svg-stop"/>
13750 </rng:zeroOrMore>
13751 </rng:element>
13752 </rng:define>
13753 <rng:define name="svg-radialGradient">
13754 <rng:element name="svg:radialGradient">
13755 <rng:ref name="common-svg-gradient-attlist"/>
13756 <rng:optional>
13757 <rng:attribute name="svg:cx">
13758 <rng:choice>
13759 <rng:ref name="coordinate"/>
13760 <rng:ref name="percent"/>
13761 </rng:choice>
13762 </rng:attribute>
13763 </rng:optional>
13764 <rng:optional>
13765 <rng:attribute name="svg:cy">
13766 <rng:choice>
13767 <rng:ref name="coordinate"/>
13768 <rng:ref name="percent"/>
13769 </rng:choice>
13770 </rng:attribute>
13771 </rng:optional>
13772 <rng:optional>
13773 <rng:attribute name="svg:r">
13774 <rng:choice>
13775 <rng:ref name="coordinate"/>
13776 <rng:ref name="percent"/>
13777 </rng:choice>
13778 </rng:attribute>
13779 </rng:optional>
13780 <rng:optional>
13781 <rng:attribute name="svg:fx">
13782 <rng:choice>
13783 <rng:ref name="coordinate"/>
13784 <rng:ref name="percent"/>
13785 </rng:choice>
13786 </rng:attribute>
13787 </rng:optional>
13788 <rng:optional>
13789 <rng:attribute name="svg:fy">
13790 <rng:choice>
13791 <rng:ref name="coordinate"/>
13792 <rng:ref name="percent"/>
13793 </rng:choice>
13794 </rng:attribute>
13795 </rng:optional>
13796 <rng:zeroOrMore>
13797 <rng:ref name="svg-stop"/>
13798 </rng:zeroOrMore>
13799 </rng:element>
13800 </rng:define>
13801 <rng:define name="svg-stop">
13802 <rng:element name="svg:stop">
13803 <rng:attribute name="svg:offset">
13804 <rng:choice>
13805 <rng:ref name="double"/>
13806 <rng:ref name="percent"/>
13807 </rng:choice>
13808 </rng:attribute>
13809 <rng:optional>
13810 <rng:attribute name="svg:stop-color">
13811 <rng:ref name="color"/>
13812 </rng:attribute>
13813 </rng:optional>
13814 <rng:optional>
13815 <rng:attribute name="svg:stop-opacity">
13816 <rng:ref name="double"/>
13817 </rng:attribute>
13818 </rng:optional>
13819 </rng:element>
13820 </rng:define>
13821 <rng:define name="svg-title">
13822 <rng:element name="svg:title">
13823 <rng:text/>
13824 </rng:element>
13825 </rng:define>
13826 <rng:define name="tab-cycles">
13827 <rng:choice>
13828 <rng:value>records</rng:value>
13829 <rng:value>current</rng:value>
13830 <rng:value>page</rng:value>
13831 </rng:choice>
13832 </rng:define>
13833 <rng:define name="table-background">
13834 <rng:element name="table:background">
13835 <rng:ref name="table-background-attlist"/>
13836 <rng:empty/>
13837 </rng:element>
13838 </rng:define>
13839 <rng:define name="table-background-attlist">
13840 <rng:attribute name="table:style-name">
13841 <rng:ref name="styleNameRef"/>
13842 </rng:attribute>
13843 </rng:define>
13844 <rng:define name="table-body">
13845 <rng:element name="table:body">
13846 <rng:ref name="common-table-template-attlist"/>
13847 <rng:empty/>
13848 </rng:element>
13849 </rng:define>
13850 <rng:define name="table-calculation-setting-attlist">
13851 <rng:interleave>
13852 <rng:optional>
13853 <rng:attribute name="table:case-sensitive">
13854 <rng:ref name="boolean"/>
13855 </rng:attribute>
13856 </rng:optional>
13857 <rng:optional>
13858 <rng:attribute name="table:precision-as-shown">
13859 <rng:ref name="boolean"/>
13860 </rng:attribute>
13861 </rng:optional>
13862 <rng:optional>
13863 <rng:attribute name="table:search-criteria-must-apply-to-whole-cell">
13864 <rng:ref name="boolean"/>
13865 </rng:attribute>
13866 </rng:optional>
13867 <rng:optional>
13868 <rng:attribute name="table:automatic-find-labels">
13869 <rng:ref name="boolean"/>
13870 </rng:attribute>
13871 </rng:optional>
13872 <rng:optional>
13873 <rng:attribute name="table:use-regular-expressions">
13874 <rng:ref name="boolean"/>
13875 </rng:attribute>
13876 </rng:optional>
13877 <rng:optional>
13878 <rng:attribute name="table:use-wildcards">
13879 <rng:ref name="boolean"/>
13880 </rng:attribute>
13881 </rng:optional>
13882 <rng:optional>
13883 <rng:attribute name="table:null-year">
13884 <rng:ref name="positiveInteger"/>
13885 </rng:attribute>
13886 </rng:optional>
13887 </rng:interleave>
13888 </rng:define>
13889 <rng:define name="table-calculation-settings">
13890 <rng:element name="table:calculation-settings">
13891 <rng:ref name="table-calculation-setting-attlist"/>
13892 <rng:optional>
13893 <rng:ref name="table-null-date"/>
13894 </rng:optional>
13895 <rng:optional>
13896 <rng:ref name="table-iteration"/>
13897 </rng:optional>
13898 </rng:element>
13899 </rng:define>
13900 <rng:define name="table-cell-address">
13901 <rng:element name="table:cell-address">
13902 <rng:ref name="common-table-cell-address-attlist"/>
13903 <rng:empty/>
13904 </rng:element>
13905 </rng:define>
13906 <rng:define name="table-cell-content-change">
13907 <rng:element name="table:cell-content-change">
13908 <rng:ref name="common-table-change-attlist"/>
13909 <rng:ref name="table-cell-address"/>
13910 <rng:ref name="office-change-info"/>
13911 <rng:optional>
13912 <rng:ref name="table-dependencies"/>
13913 </rng:optional>
13914 <rng:optional>
13915 <rng:ref name="table-deletions"/>
13916 </rng:optional>
13917 <rng:ref name="table-previous"/>
13918 </rng:element>
13919 </rng:define>
13920 <rng:define name="table-cell-content-deletion">
13921 <rng:element name="table:cell-content-deletion">
13922 <rng:optional>
13923 <rng:attribute name="table:id">
13924 <rng:ref name="string"/>
13925 </rng:attribute>
13926 </rng:optional>
13927 <rng:optional>
13928 <rng:ref name="table-cell-address"/>
13929 </rng:optional>
13930 <rng:optional>
13931 <rng:ref name="table-change-track-table-cell"/>
13932 </rng:optional>
13933 </rng:element>
13934 </rng:define>
13935 <rng:define name="table-cell-range-source">
13936 <rng:element name="table:cell-range-source">
13937 <rng:ref name="table-table-cell-range-source-attlist"/>
13938 <rng:ref name="table-linked-source-attlist"/>
13939 <rng:empty/>
13940 </rng:element>
13941 </rng:define>
13942 <rng:define name="table-change-deletion">
13943 <rng:element name="table:change-deletion">
13944 <rng:optional>
13945 <rng:attribute name="table:id">
13946 <rng:ref name="string"/>
13947 </rng:attribute>
13948 </rng:optional>
13949 <rng:empty/>
13950 </rng:element>
13951 </rng:define>
13952 <rng:define name="table-change-track-table-cell">
13953 <rng:element name="table:change-track-table-cell">
13954 <rng:ref name="table-change-track-table-cell-attlist"/>
13955 <rng:zeroOrMore>
13956 <rng:ref name="text-p"/>
13957 </rng:zeroOrMore>
13958 </rng:element>
13959 </rng:define>
13960 <rng:define name="table-change-track-table-cell-attlist">
13961 <rng:interleave>
13962 <rng:optional>
13963 <rng:attribute name="table:cell-address">
13964 <rng:ref name="cellAddress"/>
13965 </rng:attribute>
13966 </rng:optional>
13967 <rng:optional>
13968 <rng:attribute name="table:matrix-covered">
13969 <rng:ref name="boolean"/>
13970 </rng:attribute>
13971 </rng:optional>
13972 <rng:optional>
13973 <rng:attribute name="table:formula">
13974 <rng:ref name="string"/>
13975 </rng:attribute>
13976 </rng:optional>
13977 <rng:optional>
13978 <rng:attribute name="table:number-matrix-columns-spanned">
13979 <rng:ref name="positiveInteger"/>
13980 </rng:attribute>
13981 </rng:optional>
13982 <rng:optional>
13983 <rng:attribute name="table:number-matrix-rows-spanned">
13984 <rng:ref name="positiveInteger"/>
13985 </rng:attribute>
13986 </rng:optional>
13987 <rng:optional>
13988 <rng:ref name="common-value-and-type-attlist"/>
13989 </rng:optional>
13990 </rng:interleave>
13991 </rng:define>
13992 <rng:define name="table-columns">
13993 <rng:choice>
13994 <rng:ref name="table-table-columns"/>
13995 <rng:oneOrMore>
13996 <rng:ref name="table-table-column"/>
13997 </rng:oneOrMore>
13998 </rng:choice>
13999 </rng:define>
14000 <rng:define name="table-columns-and-groups">
14001 <rng:oneOrMore>
14002 <rng:choice>
14003 <rng:ref name="table-table-column-group"/>
14004 <rng:ref name="table-columns-no-group"/>
14005 </rng:choice>
14006 </rng:oneOrMore>
14007 </rng:define>
14008 <rng:define name="table-columns-no-group">
14009 <rng:choice>
14010 <rng:group>
14011 <rng:ref name="table-columns"/>
14012 <rng:optional>
14013 <rng:ref name="table-table-header-columns"/>
14014 <rng:optional>
14015 <rng:ref name="table-columns"/>
14016 </rng:optional>
14017 </rng:optional>
14018 </rng:group>
14019 <rng:group>
14020 <rng:ref name="table-table-header-columns"/>
14021 <rng:optional>
14022 <rng:ref name="table-columns"/>
14023 </rng:optional>
14024 </rng:group>
14025 </rng:choice>
14026 </rng:define>
14027 <rng:define name="table-consolidation">
14028 <rng:element name="table:consolidation">
14029 <rng:ref name="table-consolidation-attlist"/>
14030 <rng:empty/>
14031 </rng:element>
14032 </rng:define>
14033 <rng:define name="table-consolidation-attlist">
14034 <rng:interleave>
14035 <rng:attribute name="table:function">
14036 <rng:choice>
14037 <rng:value>average</rng:value>
14038 <rng:value>count</rng:value>
14039 <rng:value>countnums</rng:value>
14040 <rng:value>max</rng:value>
14041 <rng:value>min</rng:value>
14042 <rng:value>product</rng:value>
14043 <rng:value>stdev</rng:value>
14044 <rng:value>stdevp</rng:value>
14045 <rng:value>sum</rng:value>
14046 <rng:value>var</rng:value>
14047 <rng:value>varp</rng:value>
14048 <rng:ref name="string"/>
14049 </rng:choice>
14050 </rng:attribute>
14051 <rng:attribute name="table:source-cell-range-addresses">
14052 <rng:ref name="cellRangeAddressList"/>
14053 </rng:attribute>
14054 <rng:attribute name="table:target-cell-address">
14055 <rng:ref name="cellAddress"/>
14056 </rng:attribute>
14057 <rng:optional>
14058 <rng:attribute name="table:use-labels">
14059 <rng:choice>
14060 <rng:value>none</rng:value>
14061 <rng:value>row</rng:value>
14062 <rng:value>column</rng:value>
14063 <rng:value>both</rng:value>
14064 </rng:choice>
14065 </rng:attribute>
14066 </rng:optional>
14067 <rng:optional>
14068 <rng:attribute name="table:link-to-source-data">
14069 <rng:ref name="boolean"/>
14070 </rng:attribute>
14071 </rng:optional>
14072 </rng:interleave>
14073 </rng:define>
14074 <rng:define name="table-content-validation">
14075 <rng:element name="table:content-validation">
14076 <rng:ref name="table-validation-attlist"/>
14077 <rng:optional>
14078 <rng:ref name="table-help-message"/>
14079 </rng:optional>
14080 <rng:optional>
14081 <rng:choice>
14082 <rng:ref name="table-error-message"/>
14083 <rng:group>
14084 <rng:ref name="table-error-macro"/>
14085 <rng:ref name="office-event-listeners"/>
14086 </rng:group>
14087 </rng:choice>
14088 </rng:optional>
14089 </rng:element>
14090 </rng:define>
14091 <rng:define name="table-content-validations">
14092 <rng:element name="table:content-validations">
14093 <rng:oneOrMore>
14094 <rng:ref name="table-content-validation"/>
14095 </rng:oneOrMore>
14096 </rng:element>
14097 </rng:define>
14098 <rng:define name="table-covered-table-cell">
14099 <rng:element name="table:covered-table-cell">
14100 <rng:ref name="table-table-cell-attlist"/>
14101 <rng:ref name="table-table-cell-content"/>
14102 </rng:element>
14103 </rng:define>
14104 <rng:define name="table-cut-offs">
14105 <rng:element name="table:cut-offs">
14106 <rng:choice>
14107 <rng:oneOrMore>
14108 <rng:ref name="table-movement-cut-off"/>
14109 </rng:oneOrMore>
14110 <rng:group>
14111 <rng:ref name="table-insertion-cut-off"/>
14112 <rng:zeroOrMore>
14113 <rng:ref name="table-movement-cut-off"/>
14114 </rng:zeroOrMore>
14115 </rng:group>
14116 </rng:choice>
14117 </rng:element>
14118 </rng:define>
14119 <rng:define name="table-data-pilot-display-info">
14120 <rng:element name="table:data-pilot-display-info">
14121 <rng:ref name="table-data-pilot-display-info-attlist"/>
14122 <rng:empty/>
14123 </rng:element>
14124 </rng:define>
14125 <rng:define name="table-data-pilot-display-info-attlist">
14126 <rng:interleave>
14127 <rng:attribute name="table:enabled">
14128 <rng:ref name="boolean"/>
14129 </rng:attribute>
14130 <rng:attribute name="table:data-field">
14131 <rng:ref name="string"/>
14132 </rng:attribute>
14133 <rng:attribute name="table:member-count">
14134 <rng:ref name="nonNegativeInteger"/>
14135 </rng:attribute>
14136 <rng:attribute name="table:display-member-mode">
14137 <rng:choice>
14138 <rng:value>from-top</rng:value>
14139 <rng:value>from-bottom</rng:value>
14140 </rng:choice>
14141 </rng:attribute>
14142 </rng:interleave>
14143 </rng:define>
14144 <rng:define name="table-data-pilot-field">
14145 <rng:element name="table:data-pilot-field">
14146 <rng:ref name="table-data-pilot-field-attlist"/>
14147 <rng:optional>
14148 <rng:ref name="table-data-pilot-level"/>
14149 </rng:optional>
14150 <rng:optional>
14151 <rng:ref name="table-data-pilot-field-reference"/>
14152 </rng:optional>
14153 <rng:optional>
14154 <rng:ref name="table-data-pilot-groups"/>
14155 </rng:optional>
14156 </rng:element>
14157 </rng:define>
14158 <rng:define name="table-data-pilot-field-attlist">
14159 <rng:interleave>
14160 <rng:attribute name="table:source-field-name">
14161 <rng:ref name="string"/>
14162 </rng:attribute>
14163 <rng:choice>
14164 <rng:attribute name="table:orientation">
14165 <rng:choice>
14166 <rng:value>row</rng:value>
14167 <rng:value>column</rng:value>
14168 <rng:value>data</rng:value>
14169 <rng:value>hidden</rng:value>
14170 </rng:choice>
14171 </rng:attribute>
14172 <rng:group>
14173 <rng:attribute name="table:orientation">
14174 <rng:value>page</rng:value>
14175 </rng:attribute>
14176 <rng:attribute name="table:selected-page">
14177 <rng:ref name="string"/>
14178 </rng:attribute>
14179 </rng:group>
14180 </rng:choice>
14181 <rng:optional>
14182 <rng:attribute name="table:is-data-layout-field">
14183 <rng:ref name="string"/>
14184 </rng:attribute>
14185 </rng:optional>
14186 <rng:optional>
14187 <rng:attribute name="table:function">
14188 <rng:choice>
14189 <rng:value>auto</rng:value>
14190 <rng:value>average</rng:value>
14191 <rng:value>count</rng:value>
14192 <rng:value>countnums</rng:value>
14193 <rng:value>max</rng:value>
14194 <rng:value>min</rng:value>
14195 <rng:value>product</rng:value>
14196 <rng:value>stdev</rng:value>
14197 <rng:value>stdevp</rng:value>
14198 <rng:value>sum</rng:value>
14199 <rng:value>var</rng:value>
14200 <rng:value>varp</rng:value>
14201 <rng:ref name="string"/>
14202 </rng:choice>
14203 </rng:attribute>
14204 </rng:optional>
14205 <rng:optional>
14206 <rng:attribute name="table:used-hierarchy">
14207 <rng:ref name="integer"/>
14208 </rng:attribute>
14209 </rng:optional>
14210 </rng:interleave>
14211 </rng:define>
14212 <rng:define name="table-data-pilot-field-reference">
14213 <rng:element name="table:data-pilot-field-reference">
14214 <rng:ref name="table-data-pilot-field-reference-attlist"/>
14215 </rng:element>
14216 </rng:define>
14217 <rng:define name="table-data-pilot-field-reference-attlist">
14218 <rng:interleave>
14219 <rng:attribute name="table:field-name">
14220 <rng:ref name="string"/>
14221 </rng:attribute>
14222 <rng:choice>
14223 <rng:group>
14224 <rng:attribute name="table:member-type">
14225 <rng:value>named</rng:value>
14226 </rng:attribute>
14227 <rng:attribute name="table:member-name">
14228 <rng:ref name="string"/>
14229 </rng:attribute>
14230 </rng:group>
14231 <rng:attribute name="table:member-type">
14232 <rng:choice>
14233 <rng:value>previous</rng:value>
14234 <rng:value>next</rng:value>
14235 </rng:choice>
14236 </rng:attribute>
14237 </rng:choice>
14238 <rng:attribute name="table:type">
14239 <rng:choice>
14240 <rng:value>none</rng:value>
14241 <rng:value>member-difference</rng:value>
14242 <rng:value>member-percentage</rng:value>
14243 <rng:value>member-percentage-difference</rng:value>
14244 <rng:value>running-total</rng:value>
14245 <rng:value>row-percentage</rng:value>
14246 <rng:value>column-percentage</rng:value>
14247 <rng:value>total-percentage</rng:value>
14248 <rng:value>index</rng:value>
14249 </rng:choice>
14250 </rng:attribute>
14251 </rng:interleave>
14252 </rng:define>
14253 <rng:define name="table-data-pilot-group">
14254 <rng:element name="table:data-pilot-group">
14255 <rng:ref name="table-data-pilot-group-attlist"/>
14256 <rng:oneOrMore>
14257 <rng:ref name="table-data-pilot-group-member"/>
14258 </rng:oneOrMore>
14259 </rng:element>
14260 </rng:define>
14261 <rng:define name="table-data-pilot-group-attlist">
14262 <rng:attribute name="table:name">
14263 <rng:ref name="string"/>
14264 </rng:attribute>
14265 </rng:define>
14266 <rng:define name="table-data-pilot-group-member">
14267 <rng:element name="table:data-pilot-group-member">
14268 <rng:ref name="table-data-pilot-group-member-attlist"/>
14269 </rng:element>
14270 </rng:define>
14271 <rng:define name="table-data-pilot-group-member-attlist">
14272 <rng:attribute name="table:name">
14273 <rng:ref name="string"/>
14274 </rng:attribute>
14275 </rng:define>
14276 <rng:define name="table-data-pilot-groups">
14277 <rng:element name="table:data-pilot-groups">
14278 <rng:ref name="table-data-pilot-groups-attlist"/>
14279 <rng:oneOrMore>
14280 <rng:ref name="table-data-pilot-group"/>
14281 </rng:oneOrMore>
14282 </rng:element>
14283 </rng:define>
14284 <rng:define name="table-data-pilot-groups-attlist">
14285 <rng:interleave>
14286 <rng:attribute name="table:source-field-name">
14287 <rng:ref name="string"/>
14288 </rng:attribute>
14289 <rng:optional>
14290 <rng:choice>
14291 <rng:attribute name="table:date-start">
14292 <rng:choice>
14293 <rng:ref name="dateOrDateTime"/>
14294 <rng:value>auto</rng:value>
14295 </rng:choice>
14296 </rng:attribute>
14297 <rng:attribute name="table:start">
14298 <rng:choice>
14299 <rng:ref name="double"/>
14300 <rng:value>auto</rng:value>
14301 </rng:choice>
14302 </rng:attribute>
14303 </rng:choice>
14304 </rng:optional>
14305 <rng:optional>
14306 <rng:choice>
14307 <rng:attribute name="table:date-end">
14308 <rng:choice>
14309 <rng:ref name="dateOrDateTime"/>
14310 <rng:value>auto</rng:value>
14311 </rng:choice>
14312 </rng:attribute>
14313 <rng:attribute name="table:end">
14314 <rng:choice>
14315 <rng:ref name="double"/>
14316 <rng:value>auto</rng:value>
14317 </rng:choice>
14318 </rng:attribute>
14319 </rng:choice>
14320 </rng:optional>
14321 <rng:optional>
14322 <rng:attribute name="table:step">
14323 <rng:ref name="double"/>
14324 </rng:attribute>
14325 </rng:optional>
14326 <rng:optional>
14327 <rng:attribute name="table:grouped-by">
14328 <rng:choice>
14329 <rng:value>seconds</rng:value>
14330 <rng:value>minutes</rng:value>
14331 <rng:value>hours</rng:value>
14332 <rng:value>days</rng:value>
14333 <rng:value>months</rng:value>
14334 <rng:value>quarters</rng:value>
14335 <rng:value>years</rng:value>
14336 </rng:choice>
14337 </rng:attribute>
14338 </rng:optional>
14339 </rng:interleave>
14340 </rng:define>
14341 <!-- https://issues.oasis-open.org/browse/OFFICE-2118 -->
14342 <rng:define name="table-data-pilot-layout-info">
14343 <rng:element name="table:data-pilot-layout-info">
14344 <rng:ref name="table-data-pilot-layout-info-attlist"/>
14345 <rng:empty/>
14346 </rng:element>
14347 </rng:define>
14348 <rng:define name="table-data-pilot-layout-info-attlist">
14349 <rng:interleave>
14350 <rng:attribute name="table:layout-mode">
14351 <rng:choice>
14352 <rng:value>tabular-layout</rng:value>
14353 <rng:value>outline-subtotals-top</rng:value>
14354 <rng:value>outline-subtotals-bottom</rng:value>
14355 </rng:choice>
14356 </rng:attribute>
14357 <rng:attribute name="table:add-empty-lines">
14358 <rng:ref name="boolean"/>
14359 </rng:attribute>
14360 </rng:interleave>
14361 </rng:define>
14362 <rng:define name="table-data-pilot-level">
14363 <rng:element name="table:data-pilot-level">
14364 <rng:ref name="table-data-pilot-level-attlist"/>
14365 <rng:optional>
14366 <rng:ref name="table-data-pilot-subtotals"/>
14367 </rng:optional>
14368 <rng:optional>
14369 <rng:ref name="table-data-pilot-members"/>
14370 </rng:optional>
14371 <rng:optional>
14372 <rng:ref name="table-data-pilot-display-info"/>
14373 </rng:optional>
14374 <rng:optional>
14375 <rng:ref name="table-data-pilot-sort-info"/>
14376 </rng:optional>
14377 <rng:optional>
14378 <rng:ref name="table-data-pilot-layout-info"/>
14379 </rng:optional>
14380 </rng:element>
14381 </rng:define>
14382 <rng:define name="table-data-pilot-level-attlist">
14383 <rng:optional>
14384 <rng:attribute name="table:show-empty">
14385 <rng:ref name="boolean"/>
14386 </rng:attribute>
14387 </rng:optional>
14388 </rng:define>
14389 <rng:define name="table-data-pilot-member">
14390 <rng:element name="table:data-pilot-member">
14391 <rng:ref name="table-data-pilot-member-attlist"/>
14392 <rng:empty/>
14393 </rng:element>
14394 </rng:define>
14395 <rng:define name="table-data-pilot-member-attlist">
14396 <rng:interleave>
14397 <rng:attribute name="table:name">
14398 <rng:ref name="string"/>
14399 </rng:attribute>
14400 <rng:optional>
14401 <rng:attribute name="table:display">
14402 <rng:ref name="boolean"/>
14403 </rng:attribute>
14404 </rng:optional>
14405 <rng:optional>
14406 <rng:attribute name="table:show-details">
14407 <rng:ref name="boolean"/>
14408 </rng:attribute>
14409 </rng:optional>
14410 </rng:interleave>
14411 </rng:define>
14412 <rng:define name="table-data-pilot-members">
14413 <rng:element name="table:data-pilot-members">
14414 <rng:zeroOrMore>
14415 <rng:ref name="table-data-pilot-member"/>
14416 </rng:zeroOrMore>
14417 </rng:element>
14418 </rng:define>
14419 <rng:define name="table-data-pilot-sort-info">
14420 <rng:element name="table:data-pilot-sort-info">
14421 <rng:ref name="table-data-pilot-sort-info-attlist"/>
14422 <rng:empty/>
14423 </rng:element>
14424 </rng:define>
14425 <rng:define name="table-data-pilot-sort-info-attlist">
14426 <rng:interleave>
14427 <rng:choice>
14428 <rng:group>
14429 <rng:attribute name="table:sort-mode">
14430 <rng:value>data</rng:value>
14431 </rng:attribute>
14432 <rng:attribute name="table:data-field">
14433 <rng:ref name="string"/>
14434 </rng:attribute>
14435 </rng:group>
14436 <rng:attribute name="table:sort-mode">
14437 <rng:choice>
14438 <rng:value>none</rng:value>
14439 <rng:value>manual</rng:value>
14440 <rng:value>name</rng:value>
14441 </rng:choice>
14442 </rng:attribute>
14443 </rng:choice>
14444 <rng:attribute name="table:order">
14445 <rng:choice>
14446 <rng:value>ascending</rng:value>
14447 <rng:value>descending</rng:value>
14448 </rng:choice>
14449 </rng:attribute>
14450 </rng:interleave>
14451 </rng:define>
14452 <rng:define name="table-data-pilot-subtotal">
14453 <rng:element name="table:data-pilot-subtotal">
14454 <rng:ref name="table-data-pilot-subtotal-attlist"/>
14455 <rng:empty/>
14456 </rng:element>
14457 </rng:define>
14458 <rng:define name="table-data-pilot-subtotal-attlist">
14459 <rng:attribute name="table:function">
14460 <rng:choice>
14461 <rng:value>auto</rng:value>
14462 <rng:value>average</rng:value>
14463 <rng:value>count</rng:value>
14464 <rng:value>countnums</rng:value>
14465 <rng:value>max</rng:value>
14466 <rng:value>min</rng:value>
14467 <rng:value>product</rng:value>
14468 <rng:value>stdev</rng:value>
14469 <rng:value>stdevp</rng:value>
14470 <rng:value>sum</rng:value>
14471 <rng:value>var</rng:value>
14472 <rng:value>varp</rng:value>
14473 <rng:ref name="string"/>
14474 </rng:choice>
14475 </rng:attribute>
14476 </rng:define>
14477 <rng:define name="table-data-pilot-subtotals">
14478 <rng:element name="table:data-pilot-subtotals">
14479 <rng:zeroOrMore>
14480 <rng:ref name="table-data-pilot-subtotal"/>
14481 </rng:zeroOrMore>
14482 </rng:element>
14483 </rng:define>
14484 <rng:define name="table-data-pilot-table">
14485 <rng:element name="table:data-pilot-table">
14486 <rng:ref name="table-data-pilot-table-attlist"/>
14487 <rng:optional>
14488 <rng:choice>
14489 <rng:ref name="table-database-source-sql"/>
14490 <rng:ref name="table-database-source-table"/>
14491 <rng:ref name="table-database-source-query"/>
14492 <rng:ref name="table-source-service"/>
14493 <rng:ref name="table-source-cell-range"/>
14494 </rng:choice>
14495 </rng:optional>
14496 <rng:oneOrMore>
14497 <rng:ref name="table-data-pilot-field"/>
14498 </rng:oneOrMore>
14499 </rng:element>
14500 </rng:define>
14501 <rng:define name="table-data-pilot-table-attlist">
14502 <rng:interleave>
14503 <rng:attribute name="table:name">
14504 <rng:ref name="string"/>
14505 </rng:attribute>
14506 <rng:optional>
14507 <rng:attribute name="table:application-data">
14508 <rng:ref name="string"/>
14509 </rng:attribute>
14510 </rng:optional>
14511 <rng:optional>
14512 <rng:attribute name="table:grand-total">
14513 <rng:choice>
14514 <rng:value>none</rng:value>
14515 <rng:value>row</rng:value>
14516 <rng:value>column</rng:value>
14517 <rng:value>both</rng:value>
14518 </rng:choice>
14519 </rng:attribute>
14520 </rng:optional>
14521 <rng:optional>
14522 <rng:attribute name="table:ignore-empty-rows">
14523 <rng:ref name="boolean"/>
14524 </rng:attribute>
14525 </rng:optional>
14526 <rng:optional>
14527 <rng:attribute name="table:identify-categories">
14528 <rng:ref name="boolean"/>
14529 </rng:attribute>
14530 </rng:optional>
14531 <rng:attribute name="table:target-range-address">
14532 <rng:ref name="cellRangeAddress"/>
14533 </rng:attribute>
14534 <rng:optional>
14535 <rng:attribute name="table:buttons">
14536 <rng:ref name="cellRangeAddressList"/>
14537 </rng:attribute>
14538 </rng:optional>
14539 <rng:optional>
14540 <rng:attribute name="table:show-filter-button">
14541 <rng:ref name="boolean"/>
14542 </rng:attribute>
14543 </rng:optional>
14544 <rng:optional>
14545 <rng:attribute name="table:drill-down-on-double-click">
14546 <rng:ref name="boolean"/>
14547 </rng:attribute>
14548 </rng:optional>
14549 </rng:interleave>
14550 </rng:define>
14551 <rng:define name="table-data-pilot-tables">
14552 <rng:element name="table:data-pilot-tables">
14553 <rng:zeroOrMore>
14554 <rng:ref name="table-data-pilot-table"/>
14555 </rng:zeroOrMore>
14556 </rng:element>
14557 </rng:define>
14558 <rng:define name="table-database-range">
14559 <rng:element name="table:database-range">
14560 <rng:ref name="table-database-range-attlist"/>
14561 <rng:optional>
14562 <rng:choice>
14563 <rng:ref name="table-database-source-sql"/>
14564 <rng:ref name="table-database-source-table"/>
14565 <rng:ref name="table-database-source-query"/>
14566 </rng:choice>
14567 </rng:optional>
14568 <rng:optional>
14569 <rng:ref name="table-filter"/>
14570 </rng:optional>
14571 <rng:optional>
14572 <rng:ref name="table-sort"/>
14573 </rng:optional>
14574 <rng:optional>
14575 <rng:ref name="table-subtotal-rules"/>
14576 </rng:optional>
14577 </rng:element>
14578 </rng:define>
14579 <rng:define name="table-database-range-attlist">
14580 <rng:interleave>
14581 <rng:optional>
14582 <rng:attribute name="table:name">
14583 <rng:ref name="string"/>
14584 </rng:attribute>
14585 </rng:optional>
14586 <rng:optional>
14587 <rng:attribute name="table:is-selection">
14588 <rng:ref name="boolean"/>
14589 </rng:attribute>
14590 </rng:optional>
14591 <rng:optional>
14592 <rng:attribute name="table:on-update-keep-styles">
14593 <rng:ref name="boolean"/>
14594 </rng:attribute>
14595 </rng:optional>
14596 <rng:optional>
14597 <rng:attribute name="table:on-update-keep-size">
14598 <rng:ref name="boolean"/>
14599 </rng:attribute>
14600 </rng:optional>
14601 <rng:optional>
14602 <rng:attribute name="table:has-persistent-data">
14603 <rng:ref name="boolean"/>
14604 </rng:attribute>
14605 </rng:optional>
14606 <rng:optional>
14607 <rng:attribute name="table:orientation">
14608 <rng:choice>
14609 <rng:value>column</rng:value>
14610 <rng:value>row</rng:value>
14611 </rng:choice>
14612 </rng:attribute>
14613 </rng:optional>
14614 <rng:optional>
14615 <rng:attribute name="table:contains-header">
14616 <rng:ref name="boolean"/>
14617 </rng:attribute>
14618 </rng:optional>
14619 <rng:optional>
14620 <rng:attribute name="table:display-filter-buttons">
14621 <rng:ref name="boolean"/>
14622 </rng:attribute>
14623 </rng:optional>
14624 <rng:attribute name="table:target-range-address">
14625 <rng:ref name="cellRangeAddress"/>
14626 </rng:attribute>
14627 <rng:optional>
14628 <rng:attribute name="table:refresh-delay">
14629 <rng:ref name="boolean"/>
14630 </rng:attribute>
14631 </rng:optional>
14632 </rng:interleave>
14633 </rng:define>
14634 <rng:define name="table-database-ranges">
14635 <rng:element name="table:database-ranges">
14636 <rng:zeroOrMore>
14637 <rng:ref name="table-database-range"/>
14638 </rng:zeroOrMore>
14639 </rng:element>
14640 </rng:define>
14641 <rng:define name="table-database-source-query">
14642 <rng:element name="table:database-source-table">
14643 <rng:ref name="table-database-source-table-attlist"/>
14644 <rng:empty/>
14645 </rng:element>
14646 </rng:define>
14647 <rng:define name="table-database-source-query-attlist">
14648 <rng:interleave>
14649 <rng:attribute name="table:database-name">
14650 <rng:ref name="string"/>
14651 </rng:attribute>
14652 <rng:attribute name="table:query-name">
14653 <rng:ref name="string"/>
14654 </rng:attribute>
14655 </rng:interleave>
14656 </rng:define>
14657 <rng:define name="table-database-source-sql">
14658 <rng:element name="table:database-source-sql">
14659 <rng:ref name="table-database-source-sql-attlist"/>
14660 <rng:empty/>
14661 </rng:element>
14662 </rng:define>
14663 <rng:define name="table-database-source-sql-attlist">
14664 <rng:interleave>
14665 <rng:attribute name="table:database-name">
14666 <rng:ref name="string"/>
14667 </rng:attribute>
14668 <rng:attribute name="table:sql-statement">
14669 <rng:ref name="string"/>
14670 </rng:attribute>
14671 <rng:optional>
14672 <rng:attribute name="table:parse-sql-statement">
14673 <rng:ref name="boolean"/>
14674 </rng:attribute>
14675 </rng:optional>
14676 </rng:interleave>
14677 </rng:define>
14678 <rng:define name="table-database-source-table">
14679 <rng:element name="table:database-source-query">
14680 <rng:ref name="table-database-source-query-attlist"/>
14681 <rng:empty/>
14682 </rng:element>
14683 </rng:define>
14684 <rng:define name="table-database-source-table-attlist">
14685 <rng:interleave>
14686 <rng:attribute name="table:database-name">
14687 <rng:ref name="string"/>
14688 </rng:attribute>
14689 <rng:attribute name="table:database-table-name">
14690 <rng:ref name="string"/>
14691 </rng:attribute>
14692 </rng:interleave>
14693 </rng:define>
14694 <rng:define name="table-dde-link">
14695 <rng:element name="table:dde-link">
14696 <rng:ref name="office-dde-source"/>
14697 <rng:ref name="table-table"/>
14698 </rng:element>
14699 </rng:define>
14700 <rng:define name="table-dde-links">
14701 <rng:element name="table:dde-links">
14702 <rng:oneOrMore>
14703 <rng:ref name="table-dde-link"/>
14704 </rng:oneOrMore>
14705 </rng:element>
14706 </rng:define>
14707 <rng:define name="table-decls">
14708 <rng:optional>
14709 <rng:ref name="table-calculation-settings"/>
14710 </rng:optional>
14711 <rng:optional>
14712 <rng:ref name="table-content-validations"/>
14713 </rng:optional>
14714 <rng:optional>
14715 <rng:ref name="table-label-ranges"/>
14716 </rng:optional>
14717 </rng:define>
14718 <rng:define name="table-deletion">
14719 <rng:element name="table:deletion">
14720 <rng:ref name="table-deletion-attlist"/>
14721 <rng:ref name="common-table-change-attlist"/>
14722 <rng:ref name="office-change-info"/>
14723 <rng:optional>
14724 <rng:ref name="table-dependencies"/>
14725 </rng:optional>
14726 <rng:optional>
14727 <rng:ref name="table-deletions"/>
14728 </rng:optional>
14729 <rng:optional>
14730 <rng:ref name="table-cut-offs"/>
14731 </rng:optional>
14732 </rng:element>
14733 </rng:define>
14734 <rng:define name="table-deletion-attlist">
14735 <rng:interleave>
14736 <rng:attribute name="table:type">
14737 <rng:choice>
14738 <rng:value>row</rng:value>
14739 <rng:value>column</rng:value>
14740 <rng:value>table</rng:value>
14741 </rng:choice>
14742 </rng:attribute>
14743 <rng:attribute name="table:position">
14744 <rng:ref name="integer"/>
14745 </rng:attribute>
14746 <rng:optional>
14747 <rng:attribute name="table:table">
14748 <rng:ref name="integer"/>
14749 </rng:attribute>
14750 </rng:optional>
14751 <rng:optional>
14752 <rng:attribute name="table:multi-deletion-spanned">
14753 <rng:ref name="integer"/>
14754 </rng:attribute>
14755 </rng:optional>
14756 </rng:interleave>
14757 </rng:define>
14758 <rng:define name="table-deletions">
14759 <rng:element name="table:deletions">
14760 <rng:oneOrMore>
14761 <rng:choice>
14762 <rng:ref name="table-cell-content-deletion"/>
14763 <rng:ref name="table-change-deletion"/>
14764 </rng:choice>
14765 </rng:oneOrMore>
14766 </rng:element>
14767 </rng:define>
14768 <rng:define name="table-dependencies">
14769 <rng:element name="table:dependencies">
14770 <rng:oneOrMore>
14771 <rng:ref name="table-dependency"/>
14772 </rng:oneOrMore>
14773 </rng:element>
14774 </rng:define>
14775 <rng:define name="table-dependency">
14776 <rng:element name="table:dependency">
14777 <rng:attribute name="table:id">
14778 <rng:ref name="string"/>
14779 </rng:attribute>
14780 <rng:empty/>
14781 </rng:element>
14782 </rng:define>
14783 <rng:define name="table-desc">
14784 <rng:element name="table:desc">
14785 <rng:text/>
14786 </rng:element>
14787 </rng:define>
14788 <rng:define name="table-detective">
14789 <rng:element name="table:detective">
14790 <rng:zeroOrMore>
14791 <rng:ref name="table-highlighted-range"/>
14792 </rng:zeroOrMore>
14793 <rng:zeroOrMore>
14794 <rng:ref name="table-operation"/>
14795 </rng:zeroOrMore>
14796 </rng:element>
14797 </rng:define>
14798 <rng:define name="table-error-macro">
14799 <rng:element name="table:error-macro">
14800 <rng:optional>
14801 <rng:attribute name="table:execute">
14802 <rng:ref name="boolean"/>
14803 </rng:attribute>
14804 </rng:optional>
14805 </rng:element>
14806 </rng:define>
14807 <rng:define name="table-error-message">
14808 <rng:element name="table:error-message">
14809 <rng:optional>
14810 <rng:attribute name="table:title">
14811 <rng:ref name="string"/>
14812 </rng:attribute>
14813 </rng:optional>
14814 <rng:optional>
14815 <rng:attribute name="table:display">
14816 <rng:ref name="boolean"/>
14817 </rng:attribute>
14818 </rng:optional>
14819 <rng:optional>
14820 <rng:attribute name="table:message-type">
14821 <rng:choice>
14822 <rng:value>stop</rng:value>
14823 <rng:value>warning</rng:value>
14824 <rng:value>information</rng:value>
14825 </rng:choice>
14826 </rng:attribute>
14827 </rng:optional>
14828 <rng:zeroOrMore>
14829 <rng:ref name="text-p"/>
14830 </rng:zeroOrMore>
14831 </rng:element>
14832 </rng:define>
14833 <rng:define name="table-even-columns">
14834 <rng:element name="table:even-columns">
14835 <rng:ref name="common-table-template-attlist"/>
14836 <rng:empty/>
14837 </rng:element>
14838 </rng:define>
14839 <rng:define name="table-even-rows">
14840 <rng:element name="table:even-rows">
14841 <rng:ref name="common-table-template-attlist"/>
14842 <rng:empty/>
14843 </rng:element>
14844 </rng:define>
14845 <rng:define name="table-filter">
14846 <rng:element name="table:filter">
14847 <rng:ref name="table-filter-attlist"/>
14848 <rng:choice>
14849 <rng:ref name="table-filter-condition"/>
14850 <rng:ref name="table-filter-and"/>
14851 <rng:ref name="table-filter-or"/>
14852 </rng:choice>
14853 </rng:element>
14854 </rng:define>
14855 <rng:define name="table-filter-and">
14856 <rng:element name="table:filter-and">
14857 <rng:oneOrMore>
14858 <rng:choice>
14859 <rng:ref name="table-filter-or"/>
14860 <rng:ref name="table-filter-condition"/>
14861 </rng:choice>
14862 </rng:oneOrMore>
14863 </rng:element>
14864 </rng:define>
14865 <rng:define name="table-filter-attlist">
14866 <rng:interleave>
14867 <rng:optional>
14868 <rng:attribute name="table:target-range-address">
14869 <rng:ref name="cellRangeAddress"/>
14870 </rng:attribute>
14871 </rng:optional>
14872 <rng:optional>
14873 <rng:attribute name="table:condition-source">
14874 <rng:choice>
14875 <rng:value>self</rng:value>
14876 <rng:value>cell-range</rng:value>
14877 </rng:choice>
14878 </rng:attribute>
14879 </rng:optional>
14880 <rng:optional>
14881 <rng:attribute name="table:condition-source-range-address">
14882 <rng:ref name="cellRangeAddress"/>
14883 </rng:attribute>
14884 </rng:optional>
14885 <rng:optional>
14886 <rng:attribute name="table:display-duplicates">
14887 <rng:ref name="boolean"/>
14888 </rng:attribute>
14889 </rng:optional>
14890 </rng:interleave>
14891 </rng:define>
14892 <rng:define name="table-filter-condition">
14893 <rng:element name="table:filter-condition">
14894 <rng:ref name="table-filter-condition-attlist"/>
14895 <rng:zeroOrMore>
14896 <rng:ref name="table-filter-set-item"/>
14897 </rng:zeroOrMore>
14898 </rng:element>
14899 </rng:define>
14900 <rng:define name="table-filter-condition-attlist">
14901 <rng:interleave>
14902 <rng:attribute name="table:field-number">
14903 <rng:ref name="nonNegativeInteger"/>
14904 </rng:attribute>
14905 <rng:attribute name="table:value">
14906 <rng:choice>
14907 <rng:ref name="string"/>
14908 <rng:ref name="double"/>
14909 </rng:choice>
14910 </rng:attribute>
14911 <rng:attribute name="table:operator">
14912 <rng:ref name="string"/>
14913 </rng:attribute>
14914 <rng:optional>
14915 <rng:attribute name="table:case-sensitive">
14916 <rng:ref name="string"/>
14917 </rng:attribute>
14918 </rng:optional>
14919 <rng:optional>
14920 <rng:attribute name="table:data-type">
14921 <rng:choice>
14922 <rng:value>text</rng:value>
14923 <rng:value>number</rng:value>
14924 </rng:choice>
14925 </rng:attribute>
14926 </rng:optional>
14927 </rng:interleave>
14928 </rng:define>
14929 <rng:define name="table-filter-or">
14930 <rng:element name="table:filter-or">
14931 <rng:oneOrMore>
14932 <rng:choice>
14933 <rng:ref name="table-filter-and"/>
14934 <rng:ref name="table-filter-condition"/>
14935 </rng:choice>
14936 </rng:oneOrMore>
14937 </rng:element>
14938 </rng:define>
14939 <rng:define name="table-filter-set-item">
14940 <rng:element name="table:filter-set-item">
14941 <rng:attribute name="table:value">
14942 <rng:ref name="string"/>
14943 </rng:attribute>
14944 <rng:empty/>
14945 </rng:element>
14946 </rng:define>
14947 <rng:define name="table-first-column">
14948 <rng:element name="table:first-column">
14949 <rng:ref name="common-table-template-attlist"/>
14950 <rng:empty/>
14951 </rng:element>
14952 </rng:define>
14953 <rng:define name="table-first-row">
14954 <rng:element name="table:first-row">
14955 <rng:ref name="common-table-template-attlist"/>
14956 <rng:empty/>
14957 </rng:element>
14958 </rng:define>
14959 <rng:define name="table-functions">
14960 <rng:optional>
14961 <rng:ref name="table-named-expressions"/>
14962 </rng:optional>
14963 <rng:optional>
14964 <rng:ref name="table-database-ranges"/>
14965 </rng:optional>
14966 <rng:optional>
14967 <rng:ref name="table-data-pilot-tables"/>
14968 </rng:optional>
14969 <rng:optional>
14970 <rng:ref name="table-consolidation"/>
14971 </rng:optional>
14972 <rng:optional>
14973 <rng:ref name="table-dde-links"/>
14974 </rng:optional>
14975 </rng:define>
14976 <rng:define name="table-help-message">
14977 <rng:element name="table:help-message">
14978 <rng:optional>
14979 <rng:attribute name="table:title">
14980 <rng:ref name="string"/>
14981 </rng:attribute>
14982 </rng:optional>
14983 <rng:optional>
14984 <rng:attribute name="table:display">
14985 <rng:ref name="boolean"/>
14986 </rng:attribute>
14987 </rng:optional>
14988 <rng:zeroOrMore>
14989 <rng:ref name="text-p"/>
14990 </rng:zeroOrMore>
14991 </rng:element>
14992 </rng:define>
14993 <rng:define name="table-highlighted-range">
14994 <rng:element name="table:highlighted-range">
14995 <rng:choice>
14996 <rng:group>
14997 <rng:ref name="table-highlighted-range-attlist"/>
14998 </rng:group>
14999 <rng:group>
15000 <rng:ref name="table-highlighted-range-attlist-invalid"/>
15001 </rng:group>
15002 </rng:choice>
15003 <rng:empty/>
15004 </rng:element>
15005 </rng:define>
15006 <rng:define name="table-highlighted-range-attlist">
15007 <rng:interleave>
15008 <rng:optional>
15009 <rng:attribute name="table:cell-range-address">
15010 <rng:ref name="cellRangeAddress"/>
15011 </rng:attribute>
15012 </rng:optional>
15013 <rng:attribute name="table:direction">
15014 <rng:choice>
15015 <rng:value>from-another-table</rng:value>
15016 <rng:value>to-another-table</rng:value>
15017 <rng:value>from-same-table</rng:value>
15018 </rng:choice>
15019 </rng:attribute>
15020 <rng:optional>
15021 <rng:attribute name="table:contains-error">
15022 <rng:ref name="boolean"/>
15023 </rng:attribute>
15024 </rng:optional>
15025 </rng:interleave>
15026 </rng:define>
15027 <rng:define name="table-highlighted-range-attlist-invalid">
15028 <rng:attribute name="table:marked-invalid">
15029 <rng:ref name="boolean"/>
15030 </rng:attribute>
15031 </rng:define>
15032 <rng:define name="table-insertion">
15033 <rng:element name="table:insertion">
15034 <rng:ref name="table-insertion-attlist"/>
15035 <rng:ref name="common-table-change-attlist"/>
15036 <rng:ref name="office-change-info"/>
15037 <rng:optional>
15038 <rng:ref name="table-dependencies"/>
15039 </rng:optional>
15040 <rng:optional>
15041 <rng:ref name="table-deletions"/>
15042 </rng:optional>
15043 </rng:element>
15044 </rng:define>
15045 <rng:define name="table-insertion-attlist">
15046 <rng:interleave>
15047 <rng:attribute name="table:type">
15048 <rng:choice>
15049 <rng:value>row</rng:value>
15050 <rng:value>column</rng:value>
15051 <rng:value>table</rng:value>
15052 </rng:choice>
15053 </rng:attribute>
15054 <rng:attribute name="table:position">
15055 <rng:ref name="integer"/>
15056 </rng:attribute>
15057 <rng:optional>
15058 <rng:attribute name="table:count">
15059 <rng:ref name="positiveInteger"/>
15060 </rng:attribute>
15061 </rng:optional>
15062 <rng:optional>
15063 <rng:attribute name="table:table">
15064 <rng:ref name="integer"/>
15065 </rng:attribute>
15066 </rng:optional>
15067 </rng:interleave>
15068 </rng:define>
15069 <rng:define name="table-insertion-cut-off">
15070 <rng:element name="table:insertion-cut-off">
15071 <rng:ref name="table-insertion-cut-off-attlist"/>
15072 <rng:empty/>
15073 </rng:element>
15074 </rng:define>
15075 <rng:define name="table-insertion-cut-off-attlist">
15076 <rng:interleave>
15077 <rng:attribute name="table:id">
15078 <rng:ref name="string"/>
15079 </rng:attribute>
15080 <rng:attribute name="table:position">
15081 <rng:ref name="integer"/>
15082 </rng:attribute>
15083 </rng:interleave>
15084 </rng:define>
15085 <rng:define name="table-iteration">
15086 <rng:element name="table:iteration">
15087 <rng:optional>
15088 <rng:attribute name="table:status">
15089 <rng:choice>
15090 <rng:value>enable</rng:value>
15091 <rng:value>disable</rng:value>
15092 </rng:choice>
15093 </rng:attribute>
15094 </rng:optional>
15095 <rng:optional>
15096 <rng:attribute name="table:steps">
15097 <rng:ref name="positiveInteger"/>
15098 </rng:attribute>
15099 </rng:optional>
15100 <rng:optional>
15101 <rng:attribute name="table:maximum-difference">
15102 <rng:ref name="double"/>
15103 </rng:attribute>
15104 </rng:optional>
15105 <rng:empty/>
15106 </rng:element>
15107 </rng:define>
15108 <rng:define name="table-label-range">
15109 <rng:element name="table:label-range">
15110 <rng:ref name="table-label-range-attlist"/>
15111 <rng:empty/>
15112 </rng:element>
15113 </rng:define>
15114 <rng:define name="table-label-range-attlist">
15115 <rng:interleave>
15116 <rng:attribute name="table:label-cell-range-address">
15117 <rng:ref name="cellRangeAddress"/>
15118 </rng:attribute>
15119 <rng:attribute name="table:data-cell-range-address">
15120 <rng:ref name="cellRangeAddress"/>
15121 </rng:attribute>
15122 <rng:attribute name="table:orientation">
15123 <rng:choice>
15124 <rng:value>column</rng:value>
15125 <rng:value>row</rng:value>
15126 </rng:choice>
15127 </rng:attribute>
15128 </rng:interleave>
15129 </rng:define>
15130 <rng:define name="table-label-ranges">
15131 <rng:element name="table:label-ranges">
15132 <rng:zeroOrMore>
15133 <rng:ref name="table-label-range"/>
15134 </rng:zeroOrMore>
15135 </rng:element>
15136 </rng:define>
15137 <rng:define name="table-last-column">
15138 <rng:element name="table:last-column">
15139 <rng:ref name="common-table-template-attlist"/>
15140 <rng:empty/>
15141 </rng:element>
15142 </rng:define>
15143 <rng:define name="table-last-row">
15144 <rng:element name="table:last-row">
15145 <rng:ref name="common-table-template-attlist"/>
15146 <rng:empty/>
15147 </rng:element>
15148 </rng:define>
15149 <rng:define name="table-linked-source-attlist">
15150 <rng:interleave>
15151 <rng:attribute name="xlink:type">
15152 <rng:value>simple</rng:value>
15153 </rng:attribute>
15154 <rng:attribute name="xlink:href">
15155 <rng:ref name="anyIRI"/>
15156 </rng:attribute>
15157 <rng:optional>
15158 <rng:attribute name="xlink:actuate">
15159 <rng:value>onRequest</rng:value>
15160 </rng:attribute>
15161 </rng:optional>
15162 <rng:optional>
15163 <rng:attribute name="table:filter-name">
15164 <rng:ref name="string"/>
15165 </rng:attribute>
15166 </rng:optional>
15167 <rng:optional>
15168 <rng:attribute name="table:filter-options">
15169 <rng:ref name="string"/>
15170 </rng:attribute>
15171 </rng:optional>
15172 <rng:optional>
15173 <rng:attribute name="table:refresh-delay">
15174 <rng:ref name="duration"/>
15175 </rng:attribute>
15176 </rng:optional>
15177 </rng:interleave>
15178 </rng:define>
15179 <rng:define name="table-movement">
15180 <rng:element name="table:movement">
15181 <rng:ref name="common-table-change-attlist"/>
15182 <rng:ref name="table-source-range-address"/>
15183 <rng:ref name="table-target-range-address"/>
15184 <rng:ref name="office-change-info"/>
15185 <rng:optional>
15186 <rng:ref name="table-dependencies"/>
15187 </rng:optional>
15188 <rng:optional>
15189 <rng:ref name="table-deletions"/>
15190 </rng:optional>
15191 </rng:element>
15192 </rng:define>
15193 <rng:define name="table-movement-cut-off">
15194 <rng:element name="table:movement-cut-off">
15195 <rng:ref name="table-movement-cut-off-attlist"/>
15196 <rng:empty/>
15197 </rng:element>
15198 </rng:define>
15199 <rng:define name="table-movement-cut-off-attlist">
15200 <rng:choice>
15201 <rng:attribute name="table:position">
15202 <rng:ref name="integer"/>
15203 </rng:attribute>
15204 <rng:group>
15205 <rng:attribute name="table:start-position">
15206 <rng:ref name="integer"/>
15207 </rng:attribute>
15208 <rng:attribute name="table:end-position">
15209 <rng:ref name="integer"/>
15210 </rng:attribute>
15211 </rng:group>
15212 </rng:choice>
15213 </rng:define>
15214 <rng:define name="table-named-expression">
15215 <rng:element name="table:named-expression">
15216 <rng:ref name="table-named-expression-attlist"/>
15217 <rng:empty/>
15218 </rng:element>
15219 </rng:define>
15220 <rng:define name="table-named-expression-attlist">
15221 <rng:attribute name="table:name">
15222 <rng:ref name="string"/>
15223 </rng:attribute>
15224 <rng:attribute name="table:expression">
15225 <rng:ref name="string"/>
15226 </rng:attribute>
15227 <rng:optional>
15228 <rng:attribute name="table:base-cell-address">
15229 <rng:ref name="cellAddress"/>
15230 </rng:attribute>
15231 </rng:optional>
15232 </rng:define>
15233 <rng:define name="table-named-expressions">
15234 <rng:element name="table:named-expressions">
15235 <rng:zeroOrMore>
15236 <rng:choice>
15237 <rng:ref name="table-named-range"/>
15238 <rng:ref name="table-named-expression"/>
15239 </rng:choice>
15240 </rng:zeroOrMore>
15241 </rng:element>
15242 </rng:define>
15243 <rng:define name="table-named-range">
15244 <rng:element name="table:named-range">
15245 <rng:ref name="table-named-range-attlist"/>
15246 <rng:empty/>
15247 </rng:element>
15248 </rng:define>
15249 <rng:define name="table-named-range-attlist">
15250 <rng:attribute name="table:name">
15251 <rng:ref name="string"/>
15252 </rng:attribute>
15253 <rng:attribute name="table:cell-range-address">
15254 <rng:ref name="cellRangeAddress"/>
15255 </rng:attribute>
15256 <rng:optional>
15257 <rng:attribute name="table:base-cell-address">
15258 <rng:ref name="cellAddress"/>
15259 </rng:attribute>
15260 </rng:optional>
15261 <rng:optional>
15262 <rng:attribute name="table:range-usable-as">
15263 <rng:choice>
15264 <rng:value>none</rng:value>
15265 <rng:list>
15266 <rng:oneOrMore>
15267 <rng:choice>
15268 <rng:value>print-range</rng:value>
15269 <rng:value>filter</rng:value>
15270 <rng:value>repeat-row</rng:value>
15271 <rng:value>repeat-column</rng:value>
15272 </rng:choice>
15273 </rng:oneOrMore>
15274 </rng:list>
15275 </rng:choice>
15276 </rng:attribute>
15277 </rng:optional>
15278 </rng:define>
15279 <rng:define name="table-null-date">
15280 <rng:element name="table:null-date">
15281 <rng:optional>
15282 <rng:attribute name="table:value-type">
15283 <rng:value>date</rng:value>
15284 </rng:attribute>
15285 </rng:optional>
15286 <rng:optional>
15287 <rng:attribute name="table:date-value">
15288 <rng:ref name="date"/>
15289 </rng:attribute>
15290 </rng:optional>
15291 <rng:empty/>
15292 </rng:element>
15293 </rng:define>
15294 <rng:define name="table-odd-columns">
15295 <rng:element name="table:odd-columns">
15296 <rng:ref name="common-table-template-attlist"/>
15297 <rng:empty/>
15298 </rng:element>
15299 </rng:define>
15300 <rng:define name="table-odd-rows">
15301 <rng:element name="table:odd-rows">
15302 <rng:ref name="common-table-template-attlist"/>
15303 <rng:empty/>
15304 </rng:element>
15305 </rng:define>
15306 <rng:define name="table-operation">
15307 <rng:element name="table:operation">
15308 <rng:ref name="table-operation-attlist"/>
15309 <rng:empty/>
15310 </rng:element>
15311 </rng:define>
15312 <rng:define name="table-operation-attlist">
15313 <rng:interleave>
15314 <rng:attribute name="table:name">
15315 <rng:choice>
15316 <rng:value>trace-dependents</rng:value>
15317 <rng:value>remove-dependents</rng:value>
15318 <rng:value>trace-precedents</rng:value>
15319 <rng:value>remove-precedents</rng:value>
15320 <rng:value>trace-errors</rng:value>
15321 </rng:choice>
15322 </rng:attribute>
15323 <rng:attribute name="table:index">
15324 <rng:ref name="nonNegativeInteger"/>
15325 </rng:attribute>
15326 </rng:interleave>
15327 </rng:define>
15328 <rng:define name="table-previous">
15329 <rng:element name="table:previous">
15330 <rng:optional>
15331 <rng:attribute name="table:id">
15332 <rng:ref name="string"/>
15333 </rng:attribute>
15334 </rng:optional>
15335 <rng:ref name="table-change-track-table-cell"/>
15336 </rng:element>
15337 </rng:define>
15338 <rng:define name="table-rows">
15339 <rng:choice>
15340 <rng:ref name="table-table-rows"/>
15341 <rng:oneOrMore>
15342 <rng:optional>
15343 <rng:ref name="text-soft-page-break"/>
15344 </rng:optional>
15345 <rng:ref name="table-table-row"/>
15346 </rng:oneOrMore>
15347 </rng:choice>
15348 </rng:define>
15349 <rng:define name="table-rows-and-groups">
15350 <rng:oneOrMore>
15351 <rng:choice>
15352 <rng:ref name="table-table-row-group"/>
15353 <rng:ref name="table-rows-no-group"/>
15354 </rng:choice>
15355 </rng:oneOrMore>
15356 </rng:define>
15357 <rng:define name="table-rows-no-group">
15358 <rng:choice>
15359 <rng:group>
15360 <rng:ref name="table-rows"/>
15361 <rng:optional>
15362 <rng:ref name="table-table-header-rows"/>
15363 <rng:optional>
15364 <rng:ref name="table-rows"/>
15365 </rng:optional>
15366 </rng:optional>
15367 </rng:group>
15368 <rng:group>
15369 <rng:ref name="table-table-header-rows"/>
15370 <rng:optional>
15371 <rng:ref name="table-rows"/>
15372 </rng:optional>
15373 </rng:group>
15374 </rng:choice>
15375 </rng:define>
15376 <rng:define name="table-scenario">
15377 <rng:element name="table:scenario">
15378 <rng:ref name="table-scenario-attlist"/>
15379 <rng:empty/>
15380 </rng:element>
15381 </rng:define>
15382 <rng:define name="table-scenario-attlist">
15383 <rng:interleave>
15384 <rng:attribute name="table:scenario-ranges">
15385 <rng:ref name="cellRangeAddressList"/>
15386 </rng:attribute>
15387 <rng:attribute name="table:is-active">
15388 <rng:ref name="boolean"/>
15389 </rng:attribute>
15390 <rng:optional>
15391 <rng:attribute name="table:display-border">
15392 <rng:ref name="boolean"/>
15393 </rng:attribute>
15394 </rng:optional>
15395 <rng:optional>
15396 <rng:attribute name="table:border-color">
15397 <rng:ref name="color"/>
15398 </rng:attribute>
15399 </rng:optional>
15400 <rng:optional>
15401 <rng:attribute name="table:copy-back">
15402 <rng:ref name="boolean"/>
15403 </rng:attribute>
15404 </rng:optional>
15405 <rng:optional>
15406 <rng:attribute name="table:copy-styles">
15407 <rng:ref name="boolean"/>
15408 </rng:attribute>
15409 </rng:optional>
15410 <rng:optional>
15411 <rng:attribute name="table:copy-formulas">
15412 <rng:ref name="boolean"/>
15413 </rng:attribute>
15414 </rng:optional>
15415 <rng:optional>
15416 <rng:attribute name="table:comment">
15417 <rng:ref name="string"/>
15418 </rng:attribute>
15419 </rng:optional>
15420 <rng:optional>
15421 <rng:attribute name="table:protected">
15422 <rng:ref name="boolean"/>
15423 </rng:attribute>
15424 </rng:optional>
15425 </rng:interleave>
15426 </rng:define>
15427 <rng:define name="table-shapes">
15428 <rng:element name="table:shapes">
15429 <rng:oneOrMore>
15430 <rng:ref name="shape"/>
15431 </rng:oneOrMore>
15432 </rng:element>
15433 </rng:define>
15434 <rng:define name="table-sort">
15435 <rng:element name="table:sort">
15436 <rng:ref name="table-sort-attlist"/>
15437 <rng:oneOrMore>
15438 <rng:ref name="table-sort-by"/>
15439 </rng:oneOrMore>
15440 </rng:element>
15441 </rng:define>
15442 <rng:define name="table-sort-attlist">
15443 <rng:interleave>
15444 <rng:optional>
15445 <rng:attribute name="table:bind-styles-to-content">
15446 <rng:ref name="boolean"/>
15447 </rng:attribute>
15448 </rng:optional>
15449 <rng:optional>
15450 <rng:attribute name="table:target-range-address">
15451 <rng:ref name="cellRangeAddress"/>
15452 </rng:attribute>
15453 </rng:optional>
15454 <rng:optional>
15455 <rng:attribute name="table:case-sensitive">
15456 <rng:ref name="boolean"/>
15457 </rng:attribute>
15458 </rng:optional>
15459 <rng:optional>
15460 <rng:attribute name="table:language">
15461 <rng:ref name="languageCode"/>
15462 </rng:attribute>
15463 </rng:optional>
15464 <rng:optional>
15465 <rng:attribute name="table:country">
15466 <rng:ref name="countryCode"/>
15467 </rng:attribute>
15468 </rng:optional>
15469 <rng:optional>
15470 <rng:attribute name="table:script">
15471 <rng:ref name="scriptCode"/>
15472 </rng:attribute>
15473 </rng:optional>
15474 <rng:optional>
15475 <rng:attribute name="table:rfc-language-tag">
15476 <rng:ref name="language"/>
15477 </rng:attribute>
15478 </rng:optional>
15479 <rng:optional>
15480 <rng:attribute name="table:algorithm">
15481 <rng:ref name="string"/>
15482 </rng:attribute>
15483 </rng:optional>
15484 <rng:optional>
15485 <rng:attribute name="table:embedded-number-behavior">
15486 <rng:choice>
15487 <rng:value>alpha-numeric</rng:value>
15488 <rng:value>integer</rng:value>
15489 <rng:value>double</rng:value>
15490 </rng:choice>
15491 </rng:attribute>
15492 </rng:optional>
15493 </rng:interleave>
15494 </rng:define>
15495 <rng:define name="table-sort-by">
15496 <rng:element name="table:sort-by">
15497 <rng:ref name="table-sort-by-attlist"/>
15498 <rng:empty/>
15499 </rng:element>
15500 </rng:define>
15501 <rng:define name="table-sort-by-attlist">
15502 <rng:interleave>
15503 <rng:attribute name="table:field-number">
15504 <rng:ref name="nonNegativeInteger"/>
15505 </rng:attribute>
15506 <rng:optional>
15507 <rng:attribute name="table:data-type">
15508 <rng:choice>
15509 <rng:value>text</rng:value>
15510 <rng:value>number</rng:value>
15511 <rng:value>automatic</rng:value>
15512 <rng:ref name="string"/>
15513 </rng:choice>
15514 </rng:attribute>
15515 </rng:optional>
15516 <rng:optional>
15517 <rng:attribute name="table:order">
15518 <rng:choice>
15519 <rng:value>ascending</rng:value>
15520 <rng:value>descending</rng:value>
15521 </rng:choice>
15522 </rng:attribute>
15523 </rng:optional>
15524 </rng:interleave>
15525 </rng:define>
15526 <rng:define name="table-sort-groups">
15527 <rng:element name="table:sort-groups">
15528 <rng:ref name="table-sort-groups-attlist"/>
15529 <rng:empty/>
15530 </rng:element>
15531 </rng:define>
15532 <rng:define name="table-sort-groups-attlist">
15533 <rng:interleave>
15534 <rng:optional>
15535 <rng:attribute name="table:data-type">
15536 <rng:choice>
15537 <rng:value>text</rng:value>
15538 <rng:value>number</rng:value>
15539 <rng:value>automatic</rng:value>
15540 <rng:ref name="string"/>
15541 </rng:choice>
15542 </rng:attribute>
15543 </rng:optional>
15544 <rng:optional>
15545 <rng:attribute name="table:order">
15546 <rng:choice>
15547 <rng:value>ascending</rng:value>
15548 <rng:value>descending</rng:value>
15549 </rng:choice>
15550 </rng:attribute>
15551 </rng:optional>
15552 </rng:interleave>
15553 </rng:define>
15554 <rng:define name="table-source-cell-range">
15555 <rng:element name="table:source-cell-range">
15556 <rng:ref name="table-source-cell-range-attlist"/>
15557 <rng:optional>
15558 <rng:ref name="table-filter"/>
15559 </rng:optional>
15560 </rng:element>
15561 </rng:define>
15562 <rng:define name="table-source-cell-range-attlist">
15563 <!-- OFFICE-3665 -->
15564 <rng:interleave>
15565 <rng:choice>
15566 <rng:attribute name="table:cell-range-address">
15567 <rng:ref name="cellRangeAddress"/>
15568 </rng:attribute>
15569 <rng:group>
15570 <rng:attribute name="table:name">
15571 <rng:ref name="string"/>
15572 </rng:attribute>
15573 <rng:optional>
15574 <rng:attribute name="table:cell-range-address">
15575 <rng:ref name="cellRangeAddress"/>
15576 </rng:attribute>
15577 </rng:optional>
15578 </rng:group>
15579 </rng:choice>
15580 </rng:interleave>
15581 </rng:define>
15582 <rng:define name="table-source-range-address">
15583 <rng:element name="table:source-range-address">
15584 <rng:ref name="common-table-range-attlist"/>
15585 <rng:empty/>
15586 </rng:element>
15587 </rng:define>
15588 <rng:define name="table-source-service">
15589 <rng:element name="table:source-service">
15590 <rng:ref name="table-source-service-attlist"/>
15591 <rng:empty/>
15592 </rng:element>
15593 </rng:define>
15594 <rng:define name="table-source-service-attlist">
15595 <rng:interleave>
15596 <rng:attribute name="table:name">
15597 <rng:ref name="string"/>
15598 </rng:attribute>
15599 <rng:attribute name="table:source-name">
15600 <rng:ref name="string"/>
15601 </rng:attribute>
15602 <rng:attribute name="table:object-name">
15603 <rng:ref name="string"/>
15604 </rng:attribute>
15605 <rng:optional>
15606 <rng:attribute name="table:user-name">
15607 <rng:ref name="string"/>
15608 </rng:attribute>
15609 </rng:optional>
15610 <rng:optional>
15611 <rng:attribute name="table:password">
15612 <rng:ref name="string"/>
15613 </rng:attribute>
15614 </rng:optional>
15615 </rng:interleave>
15616 </rng:define>
15617 <rng:define name="table-subtotal-field">
15618 <rng:element name="table:subtotal-field">
15619 <rng:ref name="table-subtotal-field-attlist"/>
15620 <rng:empty/>
15621 </rng:element>
15622 </rng:define>
15623 <rng:define name="table-subtotal-field-attlist">
15624 <rng:interleave>
15625 <rng:attribute name="table:field-number">
15626 <rng:ref name="nonNegativeInteger"/>
15627 </rng:attribute>
15628 <rng:attribute name="table:function">
15629 <rng:choice>
15630 <rng:value>average</rng:value>
15631 <rng:value>count</rng:value>
15632 <rng:value>countnums</rng:value>
15633 <rng:value>max</rng:value>
15634 <rng:value>min</rng:value>
15635 <rng:value>product</rng:value>
15636 <rng:value>stdev</rng:value>
15637 <rng:value>stdevp</rng:value>
15638 <rng:value>sum</rng:value>
15639 <rng:value>var</rng:value>
15640 <rng:value>varp</rng:value>
15641 <rng:ref name="string"/>
15642 </rng:choice>
15643 </rng:attribute>
15644 </rng:interleave>
15645 </rng:define>
15646 <rng:define name="table-subtotal-rule">
15647 <rng:element name="table:subtotal-rule">
15648 <rng:ref name="table-subtotal-rule-attlist"/>
15649 <rng:zeroOrMore>
15650 <rng:ref name="table-subtotal-field"/>
15651 </rng:zeroOrMore>
15652 </rng:element>
15653 </rng:define>
15654 <rng:define name="table-subtotal-rule-attlist">
15655 <rng:attribute name="table:group-by-field-number">
15656 <rng:ref name="nonNegativeInteger"/>
15657 </rng:attribute>
15658 </rng:define>
15659 <rng:define name="table-subtotal-rules">
15660 <rng:element name="table:subtotal-rules">
15661 <rng:ref name="table-subtotal-rules-attlist"/>
15662 <rng:optional>
15663 <rng:ref name="table-sort-groups"/>
15664 </rng:optional>
15665 <rng:zeroOrMore>
15666 <rng:ref name="table-subtotal-rule"/>
15667 </rng:zeroOrMore>
15668 </rng:element>
15669 </rng:define>
15670 <rng:define name="table-subtotal-rules-attlist">
15671 <rng:interleave>
15672 <rng:optional>
15673 <rng:attribute name="table:bind-styles-to-content">
15674 <rng:ref name="boolean"/>
15675 </rng:attribute>
15676 </rng:optional>
15677 <rng:optional>
15678 <rng:attribute name="table:case-sensitive">
15679 <rng:ref name="boolean"/>
15680 </rng:attribute>
15681 </rng:optional>
15682 <rng:optional>
15683 <rng:attribute name="table:page-breaks-on-group-change">
15684 <rng:ref name="boolean"/>
15685 </rng:attribute>
15686 </rng:optional>
15687 </rng:interleave>
15688 </rng:define>
15689 <rng:define name="table-table">
15690 <rng:element name="table:table">
15691 <rng:ref name="table-table-attlist"/>
15692 <rng:optional>
15693 <rng:ref name="table-title"/>
15694 </rng:optional>
15695 <rng:optional>
15696 <rng:ref name="table-desc"/>
15697 </rng:optional>
15698 <rng:optional>
15699 <rng:ref name="table-table-source"/>
15700 </rng:optional>
15701 <rng:optional>
15702 <rng:ref name="office-dde-source"/>
15703 </rng:optional>
15704 <rng:optional>
15705 <rng:ref name="table-scenario"/>
15706 </rng:optional>
15707 <rng:optional>
15708 <rng:ref name="office-forms"/>
15709 </rng:optional>
15710 <rng:optional>
15711 <rng:ref name="table-shapes"/>
15712 </rng:optional>
15713 <rng:ref name="table-columns-and-groups"/>
15714 <rng:ref name="table-rows-and-groups"/>
15715 <rng:optional>
15716 <rng:ref name="table-named-expressions"/>
15717 </rng:optional>
15718 </rng:element>
15719 </rng:define>
15720 <rng:define name="table-table-attlist">
15721 <rng:interleave>
15722 <rng:optional>
15723 <rng:attribute name="table:name">
15724 <rng:ref name="string"/>
15725 </rng:attribute>
15726 </rng:optional>
15727 <rng:optional>
15728 <rng:attribute name="table:style-name">
15729 <rng:ref name="styleNameRef"/>
15730 </rng:attribute>
15731 </rng:optional>
15732 <rng:optional>
15733 <rng:attribute name="table:template-name">
15734 <rng:ref name="string"/>
15735 </rng:attribute>
15736 </rng:optional>
15737 <rng:optional>
15738 <rng:attribute name="table:use-first-row-styles">
15739 <rng:ref name="boolean"/>
15740 </rng:attribute>
15741 </rng:optional>
15742 <rng:optional>
15743 <rng:attribute name="table:use-last-row-styles">
15744 <rng:ref name="boolean"/>
15745 </rng:attribute>
15746 </rng:optional>
15747 <rng:optional>
15748 <rng:attribute name="table:use-first-column-styles">
15749 <rng:ref name="boolean"/>
15750 </rng:attribute>
15751 </rng:optional>
15752 <rng:optional>
15753 <rng:attribute name="table:use-last-column-styles">
15754 <rng:ref name="boolean"/>
15755 </rng:attribute>
15756 </rng:optional>
15757 <rng:optional>
15758 <rng:attribute name="table:use-banding-rows-styles">
15759 <rng:ref name="boolean"/>
15760 </rng:attribute>
15761 </rng:optional>
15762 <rng:optional>
15763 <rng:attribute name="table:use-banding-columns-styles">
15764 <rng:ref name="boolean"/>
15765 </rng:attribute>
15766 </rng:optional>
15767 <rng:optional>
15768 <rng:attribute name="table:protected">
15769 <rng:ref name="boolean"/>
15770 </rng:attribute>
15771 </rng:optional>
15772 <rng:optional>
15773 <rng:attribute name="table:protection-key">
15774 <rng:ref name="string"/>
15775 </rng:attribute>
15776 </rng:optional>
15777 <rng:optional>
15778 <rng:attribute name="table:protection-key-digest-algorithm">
15779 <rng:ref name="anyIRI"/>
15780 </rng:attribute>
15781 </rng:optional>
15782 <rng:optional>
15783 <rng:attribute name="table:print">
15784 <rng:ref name="boolean"/>
15785 </rng:attribute>
15786 </rng:optional>
15787 <rng:optional>
15788 <rng:attribute name="table:print-ranges">
15789 <rng:ref name="cellRangeAddressList"/>
15790 </rng:attribute>
15791 </rng:optional>
15792 <rng:optional>
15793 <rng:ref name="xml-id"/>
15794 </rng:optional>
15795 <rng:optional>
15796 <rng:attribute name="table:is-sub-table">
15797 <rng:ref name="boolean"/>
15798 </rng:attribute>
15799 </rng:optional>
15800 </rng:interleave>
15801 </rng:define>
15802 <rng:define name="table-table-cell">
15803 <rng:element name="table:table-cell">
15804 <rng:ref name="table-table-cell-attlist"/>
15805 <rng:ref name="table-table-cell-attlist-extra"/>
15806 <rng:ref name="table-table-cell-content"/>
15807 </rng:element>
15808 </rng:define>
15809 <rng:define name="table-table-cell-attlist">
15810 <rng:interleave>
15811 <rng:optional>
15812 <rng:attribute name="table:number-columns-repeated">
15813 <rng:ref name="positiveInteger"/>
15814 </rng:attribute>
15815 </rng:optional>
15816 <rng:optional>
15817 <rng:attribute name="table:style-name">
15818 <rng:ref name="styleNameRef"/>
15819 </rng:attribute>
15820 </rng:optional>
15821 <rng:optional>
15822 <rng:attribute name="table:content-validation-name">
15823 <rng:ref name="string"/>
15824 </rng:attribute>
15825 </rng:optional>
15826 <rng:optional>
15827 <rng:attribute name="table:formula">
15828 <rng:ref name="string"/>
15829 </rng:attribute>
15830 </rng:optional>
15831 <rng:optional>
15832 <rng:ref name="common-value-and-type-attlist"/>
15833 </rng:optional>
15834 <rng:optional>
15835 <rng:attribute name="table:protect">
15836 <rng:ref name="boolean"/>
15837 </rng:attribute>
15838 </rng:optional>
15839 <rng:optional>
15840 <rng:attribute name="table:protected">
15841 <rng:ref name="boolean"/>
15842 </rng:attribute>
15843 </rng:optional>
15844 <rng:optional>
15845 <rng:ref name="xml-id"/>
15846 </rng:optional>
15847 <rng:optional>
15848 <rng:ref name="common-in-content-meta-attlist"/>
15849 </rng:optional>
15850 </rng:interleave>
15851 </rng:define>
15852 <rng:define name="table-table-cell-attlist-extra">
15853 <rng:interleave>
15854 <rng:optional>
15855 <rng:attribute name="table:number-columns-spanned">
15856 <rng:ref name="positiveInteger"/>
15857 </rng:attribute>
15858 </rng:optional>
15859 <rng:optional>
15860 <rng:attribute name="table:number-rows-spanned">
15861 <rng:ref name="positiveInteger"/>
15862 </rng:attribute>
15863 </rng:optional>
15864 <rng:optional>
15865 <rng:attribute name="table:number-matrix-columns-spanned">
15866 <rng:ref name="positiveInteger"/>
15867 </rng:attribute>
15868 </rng:optional>
15869 <rng:optional>
15870 <rng:attribute name="table:number-matrix-rows-spanned">
15871 <rng:ref name="positiveInteger"/>
15872 </rng:attribute>
15873 </rng:optional>
15874 </rng:interleave>
15875 </rng:define>
15876 <rng:define name="table-table-cell-content">
15877 <rng:optional>
15878 <rng:ref name="table-cell-range-source"/>
15879 </rng:optional>
15880 <rng:optional>
15881 <rng:ref name="office-annotation"/>
15882 </rng:optional>
15883 <rng:optional>
15884 <rng:ref name="table-detective"/>
15885 </rng:optional>
15886 <rng:zeroOrMore>
15887 <rng:ref name="text-content"/>
15888 </rng:zeroOrMore>
15889 </rng:define>
15890 <rng:define name="table-table-cell-range-source-attlist">
15891 <rng:interleave>
15892 <rng:attribute name="table:name">
15893 <rng:ref name="string"/>
15894 </rng:attribute>
15895 <rng:attribute name="table:last-column-spanned">
15896 <rng:ref name="positiveInteger"/>
15897 </rng:attribute>
15898 <rng:attribute name="table:last-row-spanned">
15899 <rng:ref name="positiveInteger"/>
15900 </rng:attribute>
15901 </rng:interleave>
15902 </rng:define>
15903 <rng:define name="table-table-column">
15904 <rng:element name="table:table-column">
15905 <rng:ref name="table-table-column-attlist"/>
15906 <rng:empty/>
15907 </rng:element>
15908 </rng:define>
15909 <rng:define name="table-table-column-attlist">
15910 <rng:interleave>
15911 <rng:optional>
15912 <rng:attribute name="table:number-columns-repeated">
15913 <rng:ref name="positiveInteger"/>
15914 </rng:attribute>
15915 </rng:optional>
15916 <rng:optional>
15917 <rng:attribute name="table:style-name">
15918 <rng:ref name="styleNameRef"/>
15919 </rng:attribute>
15920 </rng:optional>
15921 <rng:optional>
15922 <rng:attribute name="table:visibility">
15923 <rng:ref name="table-visibility-value"/>
15924 </rng:attribute>
15925 </rng:optional>
15926 <rng:optional>
15927 <rng:attribute name="table:default-cell-style-name">
15928 <rng:ref name="styleNameRef"/>
15929 </rng:attribute>
15930 </rng:optional>
15931 <rng:optional>
15932 <rng:ref name="xml-id"/>
15933 </rng:optional>
15934 </rng:interleave>
15935 </rng:define>
15936 <rng:define name="table-table-column-group">
15937 <rng:element name="table:table-column-group">
15938 <rng:ref name="table-table-column-group-attlist"/>
15939 <rng:ref name="table-columns-and-groups"/>
15940 </rng:element>
15941 </rng:define>
15942 <rng:define name="table-table-column-group-attlist">
15943 <rng:optional>
15944 <rng:attribute name="table:display">
15945 <rng:ref name="boolean"/>
15946 </rng:attribute>
15947 </rng:optional>
15948 </rng:define>
15949 <rng:define name="table-table-columns">
15950 <rng:element name="table:table-columns">
15951 <rng:oneOrMore>
15952 <rng:ref name="table-table-column"/>
15953 </rng:oneOrMore>
15954 </rng:element>
15955 </rng:define>
15956 <rng:define name="table-table-header-columns">
15957 <rng:element name="table:table-header-columns">
15958 <rng:oneOrMore>
15959 <rng:ref name="table-table-column"/>
15960 </rng:oneOrMore>
15961 </rng:element>
15962 </rng:define>
15963 <rng:define name="table-table-header-rows">
15964 <rng:element name="table:table-header-rows">
15965 <rng:oneOrMore>
15966 <rng:optional>
15967 <rng:ref name="text-soft-page-break"/>
15968 </rng:optional>
15969 <rng:ref name="table-table-row"/>
15970 </rng:oneOrMore>
15971 </rng:element>
15972 </rng:define>
15973 <rng:define name="table-table-row">
15974 <rng:element name="table:table-row">
15975 <rng:ref name="table-table-row-attlist"/>
15976 <rng:oneOrMore>
15977 <rng:choice>
15978 <rng:ref name="table-table-cell"/>
15979 <rng:ref name="table-covered-table-cell"/>
15980 </rng:choice>
15981 </rng:oneOrMore>
15982 </rng:element>
15983 </rng:define>
15984 <rng:define name="table-table-row-attlist">
15985 <rng:interleave>
15986 <rng:optional>
15987 <rng:attribute name="table:number-rows-repeated">
15988 <rng:ref name="positiveInteger"/>
15989 </rng:attribute>
15990 </rng:optional>
15991 <rng:optional>
15992 <rng:attribute name="table:style-name">
15993 <rng:ref name="styleNameRef"/>
15994 </rng:attribute>
15995 </rng:optional>
15996 <rng:optional>
15997 <rng:attribute name="table:default-cell-style-name">
15998 <rng:ref name="styleNameRef"/>
15999 </rng:attribute>
16000 </rng:optional>
16001 <rng:optional>
16002 <rng:attribute name="table:visibility">
16003 <rng:ref name="table-visibility-value"/>
16004 </rng:attribute>
16005 </rng:optional>
16006 <rng:optional>
16007 <rng:ref name="xml-id"/>
16008 </rng:optional>
16009 </rng:interleave>
16010 </rng:define>
16011 <rng:define name="table-table-row-group">
16012 <rng:element name="table:table-row-group">
16013 <rng:ref name="table-table-row-group-attlist"/>
16014 <rng:ref name="table-rows-and-groups"/>
16015 </rng:element>
16016 </rng:define>
16017 <rng:define name="table-table-row-group-attlist">
16018 <rng:optional>
16019 <rng:attribute name="table:display">
16020 <rng:ref name="boolean"/>
16021 </rng:attribute>
16022 </rng:optional>
16023 </rng:define>
16024 <rng:define name="table-table-rows">
16025 <rng:element name="table:table-rows">
16026 <rng:oneOrMore>
16027 <rng:optional>
16028 <rng:ref name="text-soft-page-break"/>
16029 </rng:optional>
16030 <rng:ref name="table-table-row"/>
16031 </rng:oneOrMore>
16032 </rng:element>
16033 </rng:define>
16034 <rng:define name="table-table-source">
16035 <rng:element name="table:table-source">
16036 <rng:ref name="table-table-source-attlist"/>
16037 <rng:ref name="table-linked-source-attlist"/>
16038 <rng:empty/>
16039 </rng:element>
16040 </rng:define>
16041 <rng:define name="table-table-source-attlist">
16042 <rng:interleave>
16043 <rng:optional>
16044 <rng:attribute name="table:mode">
16045 <rng:choice>
16046 <rng:value>copy-all</rng:value>
16047 <rng:value>copy-results-only</rng:value>
16048 </rng:choice>
16049 </rng:attribute>
16050 </rng:optional>
16051 <rng:optional>
16052 <rng:attribute name="table:table-name">
16053 <rng:ref name="string"/>
16054 </rng:attribute>
16055 </rng:optional>
16056 </rng:interleave>
16057 </rng:define>
16058 <rng:define name="table-table-template">
16059 <rng:element name="table:table-template">
16060 <rng:ref name="table-table-template-attlist"/>
16061 <rng:optional>
16062 <rng:ref name="table-first-row"/>
16063 </rng:optional>
16064 <rng:optional>
16065 <rng:ref name="table-last-row"/>
16066 </rng:optional>
16067 <rng:optional>
16068 <rng:ref name="table-first-column"/>
16069 </rng:optional>
16070 <rng:optional>
16071 <rng:ref name="table-last-column"/>
16072 </rng:optional>
16073 <rng:ref name="table-body"/>
16074 <rng:optional>
16075 <rng:ref name="table-even-rows"/>
16076 </rng:optional>
16077 <rng:optional>
16078 <rng:ref name="table-odd-rows"/>
16079 </rng:optional>
16080 <rng:optional>
16081 <rng:ref name="table-even-columns"/>
16082 </rng:optional>
16083 <rng:optional>
16084 <rng:ref name="table-odd-columns"/>
16085 </rng:optional>
16086 <rng:optional>
16087 <rng:ref name="table-background"/>
16088 </rng:optional>
16089 </rng:element>
16090 </rng:define>
16091 <rng:define name="table-table-template-attlist">
16092 <rng:interleave>
16093 <rng:attribute name="table:name">
16094 <rng:ref name="string"/>
16095 </rng:attribute>
16096 <rng:attribute name="table:first-row-start-column">
16097 <rng:ref name="rowOrCol"/>
16098 </rng:attribute>
16099 <rng:attribute name="table:first-row-end-column">
16100 <rng:ref name="rowOrCol"/>
16101 </rng:attribute>
16102 <rng:attribute name="table:last-row-start-column">
16103 <rng:ref name="rowOrCol"/>
16104 </rng:attribute>
16105 <rng:attribute name="table:last-row-end-column">
16106 <rng:ref name="rowOrCol"/>
16107 </rng:attribute>
16108 </rng:interleave>
16109 </rng:define>
16110 <rng:define name="table-target-range-address">
16111 <rng:element name="table:target-range-address">
16112 <rng:ref name="common-table-range-attlist"/>
16113 <rng:empty/>
16114 </rng:element>
16115 </rng:define>
16116 <rng:define name="table-title">
16117 <rng:element name="table:title">
16118 <rng:text/>
16119 </rng:element>
16120 </rng:define>
16121 <rng:define name="table-tracked-changes">
16122 <rng:element name="table:tracked-changes">
16123 <rng:ref name="table-tracked-changes-attlist"/>
16124 <rng:zeroOrMore>
16125 <rng:choice>
16126 <rng:ref name="table-cell-content-change"/>
16127 <rng:ref name="table-insertion"/>
16128 <rng:ref name="table-deletion"/>
16129 <rng:ref name="table-movement"/>
16130 </rng:choice>
16131 </rng:zeroOrMore>
16132 </rng:element>
16133 </rng:define>
16134 <rng:define name="table-tracked-changes-attlist">
16135 <rng:optional>
16136 <rng:attribute name="table:track-changes">
16137 <rng:ref name="boolean"/>
16138 </rng:attribute>
16139 </rng:optional>
16140 </rng:define>
16141 <rng:define name="table-validation-attlist">
16142 <rng:interleave>
16143 <rng:attribute name="table:name">
16144 <rng:ref name="string"/>
16145 </rng:attribute>
16146 <rng:optional>
16147 <rng:attribute name="table:condition">
16148 <rng:ref name="string"/>
16149 </rng:attribute>
16150 </rng:optional>
16151 <rng:optional>
16152 <rng:attribute name="table:base-cell-address">
16153 <rng:ref name="cellAddress"/>
16154 </rng:attribute>
16155 </rng:optional>
16156 <rng:optional>
16157 <rng:attribute name="table:allow-empty-cell">
16158 <rng:ref name="boolean"/>
16159 </rng:attribute>
16160 </rng:optional>
16161 <rng:optional>
16162 <rng:attribute name="table:display-list">
16163 <rng:choice>
16164 <rng:value>none</rng:value>
16165 <rng:value>unsorted</rng:value>
16166 <rng:value>sort-ascending</rng:value>
16167 </rng:choice>
16168 </rng:attribute>
16169 </rng:optional>
16170 </rng:interleave>
16171 </rng:define>
16172 <rng:define name="table-visibility-value">
16173 <rng:choice>
16174 <rng:value>visible</rng:value>
16175 <rng:value>collapse</rng:value>
16176 <rng:value>filter</rng:value>
16177 </rng:choice>
16178 </rng:define>
16179 <rng:define name="target-frame">
16180 <rng:optional>
16181 <rng:attribute name="office:target-frame">
16182 <rng:ref name="targetFrameName"/>
16183 </rng:attribute>
16184 </rng:optional>
16185 </rng:define>
16186 <rng:define name="target-location">
16187 <rng:optional>
16188 <rng:attribute name="xlink:href">
16189 <rng:ref name="anyIRI"/>
16190 </rng:attribute>
16191 </rng:optional>
16192 </rng:define>
16193 <rng:define name="targetFrameName">
16194 <rng:choice>
16195 <rng:value>_self</rng:value>
16196 <rng:value>_blank</rng:value>
16197 <rng:value>_parent</rng:value>
16198 <rng:value>_top</rng:value>
16199 <rng:ref name="string"/>
16200 </rng:choice>
16201 </rng:define>
16202 <rng:define name="text-a">
16203 <rng:element name="text:a">
16204 <rng:ref name="text-a-attlist"/>
16205 <rng:optional>
16206 <rng:ref name="office-event-listeners"/>
16207 </rng:optional>
16208 <rng:zeroOrMore>
16209 <rng:ref name="paragraph-content"/>
16210 </rng:zeroOrMore>
16211 </rng:element>
16212 </rng:define>
16213 <rng:define name="text-a-attlist">
16214 <rng:interleave>
16215 <rng:optional>
16216 <rng:attribute name="office:name">
16217 <rng:ref name="string"/>
16218 </rng:attribute>
16219 </rng:optional>
16220 <rng:optional>
16221 <rng:attribute name="office:title">
16222 <rng:ref name="string"/>
16223 </rng:attribute>
16224 </rng:optional>
16225 <rng:attribute name="xlink:type">
16226 <rng:value>simple</rng:value>
16227 </rng:attribute>
16228 <rng:attribute name="xlink:href">
16229 <rng:ref name="anyIRI"/>
16230 </rng:attribute>
16231 <rng:optional>
16232 <rng:attribute name="xlink:actuate">
16233 <rng:value>onRequest</rng:value>
16234 </rng:attribute>
16235 </rng:optional>
16236 <rng:optional>
16237 <rng:attribute name="office:target-frame-name">
16238 <rng:ref name="targetFrameName"/>
16239 </rng:attribute>
16240 </rng:optional>
16241 <rng:optional>
16242 <rng:attribute name="xlink:show">
16243 <rng:choice>
16244 <rng:value>new</rng:value>
16245 <rng:value>replace</rng:value>
16246 </rng:choice>
16247 </rng:attribute>
16248 </rng:optional>
16249 <rng:optional>
16250 <rng:attribute name="text:style-name">
16251 <rng:ref name="styleNameRef"/>
16252 </rng:attribute>
16253 </rng:optional>
16254 <rng:optional>
16255 <rng:attribute name="text:visited-style-name">
16256 <rng:ref name="styleNameRef"/>
16257 </rng:attribute>
16258 </rng:optional>
16259 </rng:interleave>
16260 </rng:define>
16261 <rng:define name="text-alphabetical-index">
16262 <rng:element name="text:alphabetical-index">
16263 <rng:ref name="common-section-attlist"/>
16264 <rng:ref name="text-alphabetical-index-source"/>
16265 <rng:ref name="text-index-body"/>
16266 </rng:element>
16267 </rng:define>
16268 <rng:define name="text-alphabetical-index-auto-mark-file">
16269 <rng:element name="text:alphabetical-index-auto-mark-file">
16270 <rng:attribute name="xlink:type">
16271 <rng:value>simple</rng:value>
16272 </rng:attribute>
16273 <rng:attribute name="xlink:href">
16274 <rng:ref name="anyIRI"/>
16275 </rng:attribute>
16276 </rng:element>
16277 </rng:define>
16278 <rng:define name="text-alphabetical-index-entry-template">
16279 <rng:element name="text:alphabetical-index-entry-template">
16280 <rng:ref name="text-alphabetical-index-entry-template-attrs"/>
16281 <rng:zeroOrMore>
16282 <rng:choice>
16283 <rng:ref name="text-index-entry-chapter"/>
16284 <rng:ref name="text-index-entry-page-number"/>
16285 <rng:ref name="text-index-entry-text"/>
16286 <rng:ref name="text-index-entry-span"/>
16287 <rng:ref name="text-index-entry-tab-stop"/>
16288 </rng:choice>
16289 </rng:zeroOrMore>
16290 </rng:element>
16291 </rng:define>
16292 <rng:define name="text-alphabetical-index-entry-template-attrs">
16293 <rng:interleave>
16294 <rng:attribute name="text:outline-level">
16295 <rng:choice>
16296 <rng:value>1</rng:value>
16297 <rng:value>2</rng:value>
16298 <rng:value>3</rng:value>
16299 <rng:value>separator</rng:value>
16300 </rng:choice>
16301 </rng:attribute>
16302 <rng:attribute name="text:style-name">
16303 <rng:ref name="styleNameRef"/>
16304 </rng:attribute>
16305 </rng:interleave>
16306 </rng:define>
16307 <rng:define name="text-alphabetical-index-mark-attrs">
16308 <rng:interleave>
16309 <rng:optional>
16310 <rng:attribute name="text:key1">
16311 <rng:ref name="string"/>
16312 </rng:attribute>
16313 </rng:optional>
16314 <rng:optional>
16315 <rng:attribute name="text:key2">
16316 <rng:ref name="string"/>
16317 </rng:attribute>
16318 </rng:optional>
16319 <rng:optional>
16320 <rng:attribute name="text:string-value-phonetic">
16321 <rng:ref name="string"/>
16322 </rng:attribute>
16323 </rng:optional>
16324 <rng:optional>
16325 <rng:attribute name="text:key1-phonetic">
16326 <rng:ref name="string"/>
16327 </rng:attribute>
16328 </rng:optional>
16329 <rng:optional>
16330 <rng:attribute name="text:key2-phonetic">
16331 <rng:ref name="string"/>
16332 </rng:attribute>
16333 </rng:optional>
16334 <rng:optional>
16335 <rng:attribute name="text:main-entry">
16336 <rng:ref name="boolean"/>
16337 </rng:attribute>
16338 </rng:optional>
16339 </rng:interleave>
16340 </rng:define>
16341 <rng:define name="text-alphabetical-index-source">
16342 <rng:element name="text:alphabetical-index-source">
16343 <rng:ref name="text-alphabetical-index-source-attrs"/>
16344 <rng:optional>
16345 <rng:ref name="text-index-title-template"/>
16346 </rng:optional>
16347 <rng:zeroOrMore>
16348 <rng:ref name="text-alphabetical-index-entry-template"/>
16349 </rng:zeroOrMore>
16350 </rng:element>
16351 </rng:define>
16352 <rng:define name="text-alphabetical-index-source-attrs">
16353 <rng:interleave>
16354 <rng:ref name="text-index-scope-attr"/>
16355 <rng:ref name="text-relative-tab-stop-position-attr"/>
16356 <rng:optional>
16357 <rng:attribute name="text:ignore-case">
16358 <rng:ref name="boolean"/>
16359 </rng:attribute>
16360 </rng:optional>
16361 <rng:optional>
16362 <rng:attribute name="text:main-entry-style-name">
16363 <rng:ref name="styleNameRef"/>
16364 </rng:attribute>
16365 </rng:optional>
16366 <rng:optional>
16367 <rng:attribute name="text:alphabetical-separators">
16368 <rng:ref name="boolean"/>
16369 </rng:attribute>
16370 </rng:optional>
16371 <rng:optional>
16372 <rng:attribute name="text:combine-entries">
16373 <rng:ref name="boolean"/>
16374 </rng:attribute>
16375 </rng:optional>
16376 <rng:optional>
16377 <rng:attribute name="text:combine-entries-with-dash">
16378 <rng:ref name="boolean"/>
16379 </rng:attribute>
16380 </rng:optional>
16381 <rng:optional>
16382 <rng:attribute name="text:combine-entries-with-pp">
16383 <rng:ref name="boolean"/>
16384 </rng:attribute>
16385 </rng:optional>
16386 <rng:optional>
16387 <rng:attribute name="text:use-keys-as-entries">
16388 <rng:ref name="boolean"/>
16389 </rng:attribute>
16390 </rng:optional>
16391 <rng:optional>
16392 <rng:attribute name="text:capitalize-entries">
16393 <rng:ref name="boolean"/>
16394 </rng:attribute>
16395 </rng:optional>
16396 <rng:optional>
16397 <rng:attribute name="text:comma-separated">
16398 <rng:ref name="boolean"/>
16399 </rng:attribute>
16400 </rng:optional>
16401 <rng:optional>
16402 <rng:attribute name="fo:language">
16403 <rng:ref name="languageCode"/>
16404 </rng:attribute>
16405 </rng:optional>
16406 <rng:optional>
16407 <rng:attribute name="fo:country">
16408 <rng:ref name="countryCode"/>
16409 </rng:attribute>
16410 </rng:optional>
16411 <rng:optional>
16412 <rng:attribute name="fo:script">
16413 <rng:ref name="scriptCode"/>
16414 </rng:attribute>
16415 </rng:optional>
16416 <rng:optional>
16417 <rng:attribute name="style:rfc-language-tag">
16418 <rng:ref name="language"/>
16419 </rng:attribute>
16420 </rng:optional>
16421 <rng:optional>
16422 <rng:attribute name="text:sort-algorithm">
16423 <rng:ref name="string"/>
16424 </rng:attribute>
16425 </rng:optional>
16426 </rng:interleave>
16427 </rng:define>
16428 <rng:define name="text-bibliography">
16429 <rng:element name="text:bibliography">
16430 <rng:ref name="common-section-attlist"/>
16431 <rng:ref name="text-bibliography-source"/>
16432 <rng:ref name="text-index-body"/>
16433 </rng:element>
16434 </rng:define>
16435 <rng:define name="text-bibliography-configuration">
16436 <rng:element name="text:bibliography-configuration">
16437 <rng:ref name="text-bibliography-configuration-attlist"/>
16438 <rng:zeroOrMore>
16439 <rng:ref name="text-sort-key"/>
16440 </rng:zeroOrMore>
16441 </rng:element>
16442 </rng:define>
16443 <rng:define name="text-bibliography-configuration-attlist">
16444 <rng:interleave>
16445 <rng:optional>
16446 <rng:attribute name="text:prefix">
16447 <rng:ref name="string"/>
16448 </rng:attribute>
16449 </rng:optional>
16450 <rng:optional>
16451 <rng:attribute name="text:suffix">
16452 <rng:ref name="string"/>
16453 </rng:attribute>
16454 </rng:optional>
16455 <rng:optional>
16456 <rng:attribute name="text:numbered-entries">
16457 <rng:ref name="boolean"/>
16458 </rng:attribute>
16459 </rng:optional>
16460 <rng:optional>
16461 <rng:attribute name="text:sort-by-position">
16462 <rng:ref name="boolean"/>
16463 </rng:attribute>
16464 </rng:optional>
16465 <rng:optional>
16466 <rng:attribute name="fo:language">
16467 <rng:ref name="languageCode"/>
16468 </rng:attribute>
16469 </rng:optional>
16470 <rng:optional>
16471 <rng:attribute name="fo:country">
16472 <rng:ref name="countryCode"/>
16473 </rng:attribute>
16474 </rng:optional>
16475 <rng:optional>
16476 <rng:attribute name="fo:script">
16477 <rng:ref name="scriptCode"/>
16478 </rng:attribute>
16479 </rng:optional>
16480 <rng:optional>
16481 <rng:attribute name="style:rfc-language-tag">
16482 <rng:ref name="language"/>
16483 </rng:attribute>
16484 </rng:optional>
16485 <rng:optional>
16486 <rng:attribute name="text:sort-algorithm">
16487 <rng:ref name="string"/>
16488 </rng:attribute>
16489 </rng:optional>
16490 </rng:interleave>
16491 </rng:define>
16492 <rng:define name="text-bibliography-entry-template">
16493 <rng:element name="text:bibliography-entry-template">
16494 <rng:ref name="text-bibliography-entry-template-attrs"/>
16495 <rng:zeroOrMore>
16496 <rng:choice>
16497 <rng:ref name="text-index-entry-span"/>
16498 <rng:ref name="text-index-entry-tab-stop"/>
16499 <rng:ref name="text-index-entry-bibliography"/>
16500 </rng:choice>
16501 </rng:zeroOrMore>
16502 </rng:element>
16503 </rng:define>
16504 <rng:define name="text-bibliography-entry-template-attrs">
16505 <rng:interleave>
16506 <rng:attribute name="text:bibliography-type">
16507 <rng:ref name="text-bibliography-types"/>
16508 </rng:attribute>
16509 <rng:attribute name="text:style-name">
16510 <rng:ref name="styleNameRef"/>
16511 </rng:attribute>
16512 </rng:interleave>
16513 </rng:define>
16514 <rng:define name="text-bibliography-source">
16515 <rng:element name="text:bibliography-source">
16516 <rng:optional>
16517 <rng:ref name="text-index-title-template"/>
16518 </rng:optional>
16519 <rng:zeroOrMore>
16520 <rng:ref name="text-bibliography-entry-template"/>
16521 </rng:zeroOrMore>
16522 </rng:element>
16523 </rng:define>
16524 <rng:define name="text-bibliography-types">
16525 <rng:choice>
16526 <rng:value>article</rng:value>
16527 <rng:value>book</rng:value>
16528 <rng:value>booklet</rng:value>
16529 <rng:value>conference</rng:value>
16530 <rng:value>custom1</rng:value>
16531 <rng:value>custom2</rng:value>
16532 <rng:value>custom3</rng:value>
16533 <rng:value>custom4</rng:value>
16534 <rng:value>custom5</rng:value>
16535 <rng:value>email</rng:value>
16536 <rng:value>inbook</rng:value>
16537 <rng:value>incollection</rng:value>
16538 <rng:value>inproceedings</rng:value>
16539 <rng:value>journal</rng:value>
16540 <rng:value>manual</rng:value>
16541 <rng:value>mastersthesis</rng:value>
16542 <rng:value>misc</rng:value>
16543 <rng:value>phdthesis</rng:value>
16544 <rng:value>proceedings</rng:value>
16545 <rng:value>techreport</rng:value>
16546 <rng:value>unpublished</rng:value>
16547 <rng:value>www</rng:value>
16548 </rng:choice>
16549 </rng:define>
16550 <rng:define name="text-bookmark">
16551 <rng:element name="text:bookmark">
16552 <rng:ref name="text-bookmark-attlist"/>
16553 <rng:empty/>
16554 </rng:element>
16555 </rng:define>
16556 <rng:define name="text-bookmark-attlist">
16557 <rng:interleave>
16558 <rng:attribute name="text:name">
16559 <rng:ref name="string"/>
16560 </rng:attribute>
16561 <rng:optional>
16562 <rng:ref name="xml-id"/>
16563 </rng:optional>
16564 </rng:interleave>
16565 </rng:define>
16566 <rng:define name="text-bookmark-end">
16567 <rng:element name="text:bookmark-end">
16568 <rng:ref name="text-bookmark-end-attlist"/>
16569 <rng:empty/>
16570 </rng:element>
16571 </rng:define>
16572 <rng:define name="text-bookmark-end-attlist">
16573 <rng:attribute name="text:name">
16574 <rng:ref name="string"/>
16575 </rng:attribute>
16576 </rng:define>
16577 <rng:define name="text-bookmark-ref-content">
16578 <rng:optional>
16579 <rng:attribute name="text:reference-format">
16580 <rng:choice>
16581 <rng:ref name="common-ref-format-values"/>
16582 <rng:value>number-no-superior</rng:value>
16583 <rng:value>number-all-superior</rng:value>
16584 <rng:value>number</rng:value>
16585 </rng:choice>
16586 </rng:attribute>
16587 </rng:optional>
16588 </rng:define>
16589 <rng:define name="text-bookmark-start">
16590 <rng:element name="text:bookmark-start">
16591 <rng:ref name="text-bookmark-start-attlist"/>
16592 <rng:empty/>
16593 </rng:element>
16594 </rng:define>
16595 <rng:define name="text-bookmark-start-attlist">
16596 <rng:interleave>
16597 <rng:attribute name="text:name">
16598 <rng:ref name="string"/>
16599 </rng:attribute>
16600 <rng:optional>
16601 <rng:ref name="xml-id"/>
16602 </rng:optional>
16603 <rng:optional>
16604 <rng:ref name="common-in-content-meta-attlist"/>
16605 </rng:optional>
16606 </rng:interleave>
16607 </rng:define>
16608 <rng:define name="text-changed-region">
16609 <rng:element name="text:changed-region">
16610 <rng:ref name="text-changed-region-attr"/>
16611 <rng:ref name="text-changed-region-content"/>
16612 </rng:element>
16613 </rng:define>
16614 <rng:define name="text-changed-region-attr">
16615 <rng:group>
16616 <rng:ref name="xml-id"/>
16617 <rng:optional>
16618 <rng:attribute name="text:id">
16619 <rng:ref name="NCName"/>
16620 </rng:attribute>
16621 </rng:optional>
16622 </rng:group>
16623 </rng:define>
16624 <rng:define name="text-changed-region-content">
16625 <rng:choice>
16626 <rng:element name="text:insertion">
16627 <rng:ref name="office-change-info"/>
16628 </rng:element>
16629 <rng:element name="text:deletion">
16630 <rng:ref name="office-change-info"/>
16631 <rng:zeroOrMore>
16632 <rng:ref name="text-content"/>
16633 </rng:zeroOrMore>
16634 </rng:element>
16635 <rng:element name="text:format-change">
16636 <rng:ref name="office-change-info"/>
16637 </rng:element>
16638 </rng:choice>
16639 </rng:define>
16640 <rng:define name="text-chapter-attlist">
16641 <rng:interleave>
16642 <rng:attribute name="text:display">
16643 <rng:choice>
16644 <rng:value>name</rng:value>
16645 <rng:value>number</rng:value>
16646 <rng:value>number-and-name</rng:value>
16647 <rng:value>plain-number-and-name</rng:value>
16648 <rng:value>plain-number</rng:value>
16649 </rng:choice>
16650 </rng:attribute>
16651 <rng:attribute name="text:outline-level">
16652 <rng:ref name="nonNegativeInteger"/>
16653 </rng:attribute>
16654 </rng:interleave>
16655 </rng:define>
16656 <rng:define name="text-common-ref-content">
16657 <rng:interleave>
16658 <rng:text/>
16659 <rng:optional>
16660 <rng:attribute name="text:ref-name">
16661 <rng:ref name="string"/>
16662 </rng:attribute>
16663 </rng:optional>
16664 </rng:interleave>
16665 </rng:define>
16666 <rng:define name="text-conditional-text-attlist">
16667 <rng:interleave>
16668 <rng:attribute name="text:condition">
16669 <rng:ref name="string"/>
16670 </rng:attribute>
16671 <rng:attribute name="text:string-value-if-true">
16672 <rng:ref name="string"/>
16673 </rng:attribute>
16674 <rng:attribute name="text:string-value-if-false">
16675 <rng:ref name="string"/>
16676 </rng:attribute>
16677 <rng:optional>
16678 <rng:attribute name="text:current-value">
16679 <rng:ref name="boolean"/>
16680 </rng:attribute>
16681 </rng:optional>
16682 </rng:interleave>
16683 </rng:define>
16684 <rng:define name="text-content">
16685 <rng:choice>
16686 <rng:ref name="text-h"/>
16687 <rng:ref name="text-p"/>
16688 <rng:ref name="text-list"/>
16689 <rng:ref name="text-numbered-paragraph"/>
16690 <rng:ref name="table-table"/>
16691 <rng:ref name="text-section"/>
16692 <rng:ref name="text-soft-page-break"/>
16693 <rng:ref name="text-table-of-content"/>
16694 <rng:ref name="text-illustration-index"/>
16695 <rng:ref name="text-table-index"/>
16696 <rng:ref name="text-object-index"/>
16697 <rng:ref name="text-user-index"/>
16698 <rng:ref name="text-alphabetical-index"/>
16699 <rng:ref name="text-bibliography"/>
16700 <rng:ref name="shape"/>
16701 <rng:ref name="change-marks"/>
16702 </rng:choice>
16703 </rng:define>
16704 <rng:define name="text-database-display-attlist">
16705 <rng:interleave>
16706 <rng:ref name="common-field-database-table"/>
16707 <rng:ref name="common-field-data-style-name-attlist"/>
16708 <rng:attribute name="text:column-name">
16709 <rng:ref name="string"/>
16710 </rng:attribute>
16711 </rng:interleave>
16712 </rng:define>
16713 <rng:define name="text-database-next-attlist">
16714 <rng:interleave>
16715 <rng:ref name="common-field-database-table"/>
16716 <rng:optional>
16717 <rng:attribute name="text:condition">
16718 <rng:ref name="string"/>
16719 </rng:attribute>
16720 </rng:optional>
16721 </rng:interleave>
16722 </rng:define>
16723 <rng:define name="text-database-row-select-attlist">
16724 <rng:interleave>
16725 <rng:ref name="common-field-database-table"/>
16726 <rng:optional>
16727 <rng:attribute name="text:condition">
16728 <rng:ref name="string"/>
16729 </rng:attribute>
16730 </rng:optional>
16731 <rng:optional>
16732 <rng:attribute name="text:row-number">
16733 <rng:ref name="nonNegativeInteger"/>
16734 </rng:attribute>
16735 </rng:optional>
16736 </rng:interleave>
16737 </rng:define>
16738 <rng:define name="text-date-attlist">
16739 <rng:interleave>
16740 <rng:interleave>
16741 <rng:ref name="common-field-fixed-attlist"/>
16742 <rng:ref name="common-field-data-style-name-attlist"/>
16743 </rng:interleave>
16744 <rng:optional>
16745 <rng:attribute name="text:date-value">
16746 <rng:ref name="dateOrDateTime"/>
16747 </rng:attribute>
16748 </rng:optional>
16749 <rng:optional>
16750 <rng:attribute name="text:date-adjust">
16751 <rng:ref name="duration"/>
16752 </rng:attribute>
16753 </rng:optional>
16754 </rng:interleave>
16755 </rng:define>
16756 <rng:define name="text-dde-connection-decl">
16757 <rng:element name="text:dde-connection-decl">
16758 <rng:ref name="text-dde-connection-decl-attlist"/>
16759 <rng:ref name="common-dde-connection-decl-attlist"/>
16760 </rng:element>
16761 </rng:define>
16762 <rng:define name="text-dde-connection-decl-attlist">
16763 <rng:attribute name="office:name">
16764 <rng:ref name="string"/>
16765 </rng:attribute>
16766 </rng:define>
16767 <rng:define name="text-decls">
16768 <rng:optional>
16769 <rng:element name="text:variable-decls">
16770 <rng:zeroOrMore>
16771 <rng:ref name="text-variable-decl"/>
16772 </rng:zeroOrMore>
16773 </rng:element>
16774 </rng:optional>
16775 <rng:optional>
16776 <rng:element name="text:sequence-decls">
16777 <rng:zeroOrMore>
16778 <rng:ref name="text-sequence-decl"/>
16779 </rng:zeroOrMore>
16780 </rng:element>
16781 </rng:optional>
16782 <rng:optional>
16783 <rng:element name="text:user-field-decls">
16784 <rng:zeroOrMore>
16785 <rng:ref name="text-user-field-decl"/>
16786 </rng:zeroOrMore>
16787 </rng:element>
16788 </rng:optional>
16789 <rng:optional>
16790 <rng:element name="text:dde-connection-decls">
16791 <rng:zeroOrMore>
16792 <rng:ref name="text-dde-connection-decl"/>
16793 </rng:zeroOrMore>
16794 </rng:element>
16795 </rng:optional>
16796 <rng:optional>
16797 <rng:ref name="text-alphabetical-index-auto-mark-file"/>
16798 </rng:optional>
16799 </rng:define>
16800 <rng:define name="text-drop-down">
16801 <rng:element name="text:drop-down">
16802 <rng:attribute name="text:name">
16803 <rng:ref name="string"/>
16804 </rng:attribute>
16805 <rng:zeroOrMore>
16806 <rng:element name="text:label">
16807 <rng:optional>
16808 <rng:attribute name="text:value">
16809 <rng:ref name="string"/>
16810 </rng:attribute>
16811 </rng:optional>
16812 <rng:optional>
16813 <rng:attribute name="text:current-selected">
16814 <rng:ref name="boolean"/>
16815 </rng:attribute>
16816 </rng:optional>
16817 </rng:element>
16818 </rng:zeroOrMore>
16819 <rng:text/>
16820 </rng:element>
16821 </rng:define>
16822 <rng:define name="text-file-name-attlist">
16823 <rng:interleave>
16824 <rng:optional>
16825 <rng:attribute name="text:display">
16826 <rng:choice>
16827 <rng:value>full</rng:value>
16828 <rng:value>path</rng:value>
16829 <rng:value>name</rng:value>
16830 <rng:value>name-and-extension</rng:value>
16831 </rng:choice>
16832 </rng:attribute>
16833 </rng:optional>
16834 <rng:ref name="common-field-fixed-attlist"/>
16835 </rng:interleave>
16836 </rng:define>
16837 <rng:define name="text-get-page-variable-attlist">
16838 <rng:ref name="common-field-num-format-attlist"/>
16839 </rng:define>
16840 <rng:define name="text-h">
16841 <rng:element name="text:h">
16842 <rng:ref name="heading-attrs"/>
16843 <rng:ref name="paragraph-attrs"/>
16844 <rng:optional>
16845 <rng:ref name="text-number"/>
16846 </rng:optional>
16847 <rng:zeroOrMore>
16848 <rng:ref name="paragraph-content-or-hyperlink"/>
16849 </rng:zeroOrMore>
16850 </rng:element>
16851 </rng:define>
16852 <rng:define name="text-hidden-paragraph-attlist">
16853 <rng:interleave>
16854 <rng:attribute name="text:condition">
16855 <rng:ref name="string"/>
16856 </rng:attribute>
16857 <rng:optional>
16858 <rng:attribute name="text:is-hidden">
16859 <rng:ref name="boolean"/>
16860 </rng:attribute>
16861 </rng:optional>
16862 </rng:interleave>
16863 </rng:define>
16864 <rng:define name="text-hidden-text-attlist">
16865 <rng:interleave>
16866 <rng:attribute name="text:condition">
16867 <rng:ref name="string"/>
16868 </rng:attribute>
16869 <rng:attribute name="text:string-value">
16870 <rng:ref name="string"/>
16871 </rng:attribute>
16872 <rng:optional>
16873 <rng:attribute name="text:is-hidden">
16874 <rng:ref name="boolean"/>
16875 </rng:attribute>
16876 </rng:optional>
16877 </rng:interleave>
16878 </rng:define>
16879 <rng:define name="text-id">
16880 <rng:attribute name="text:id">
16881 <rng:ref name="string"/>
16882 </rng:attribute>
16883 </rng:define>
16884 <rng:define name="text-illustration-index">
16885 <rng:element name="text:illustration-index">
16886 <rng:ref name="common-section-attlist"/>
16887 <rng:ref name="text-illustration-index-source"/>
16888 <rng:ref name="text-index-body"/>
16889 </rng:element>
16890 </rng:define>
16891 <rng:define name="text-illustration-index-entry-content">
16892 <rng:ref name="text-illustration-index-entry-template-attrs"/>
16893 <rng:zeroOrMore>
16894 <rng:choice>
16895 <rng:ref name="text-index-entry-chapter"/>
16896 <rng:ref name="text-index-entry-page-number"/>
16897 <rng:ref name="text-index-entry-text"/>
16898 <rng:ref name="text-index-entry-span"/>
16899 <rng:ref name="text-index-entry-tab-stop"/>
16900 <rng:ref name="text-index-entry-link-start"/>
16901 <rng:ref name="text-index-entry-link-end"/>
16902 <!-- https://issues.oasis-open.org/browse/OFFICE-3941 -->
16903 </rng:choice>
16904 </rng:zeroOrMore>
16905 </rng:define>
16906 <rng:define name="text-illustration-index-entry-template">
16907 <rng:element name="text:illustration-index-entry-template">
16908 <rng:ref name="text-illustration-index-entry-content"/>
16909 </rng:element>
16910 </rng:define>
16911 <rng:define name="text-illustration-index-entry-template-attrs">
16912 <rng:attribute name="text:style-name">
16913 <rng:ref name="styleNameRef"/>
16914 </rng:attribute>
16915 </rng:define>
16916 <rng:define name="text-illustration-index-source">
16917 <rng:element name="text:illustration-index-source">
16918 <rng:ref name="text-illustration-index-source-attrs"/>
16919 <rng:optional>
16920 <rng:ref name="text-index-title-template"/>
16921 </rng:optional>
16922 <rng:optional>
16923 <rng:ref name="text-illustration-index-entry-template"/>
16924 </rng:optional>
16925 </rng:element>
16926 </rng:define>
16927 <rng:define name="text-illustration-index-source-attrs">
16928 <rng:interleave>
16929 <rng:ref name="text-index-scope-attr"/>
16930 <rng:ref name="text-relative-tab-stop-position-attr"/>
16931 <rng:optional>
16932 <rng:attribute name="text:use-caption">
16933 <rng:ref name="boolean"/>
16934 </rng:attribute>
16935 </rng:optional>
16936 <rng:optional>
16937 <rng:attribute name="text:caption-sequence-name">
16938 <rng:ref name="string"/>
16939 </rng:attribute>
16940 </rng:optional>
16941 <rng:optional>
16942 <rng:attribute name="text:caption-sequence-format">
16943 <rng:choice>
16944 <rng:value>text</rng:value>
16945 <rng:value>category-and-value</rng:value>
16946 <rng:value>caption</rng:value>
16947 </rng:choice>
16948 </rng:attribute>
16949 </rng:optional>
16950 </rng:interleave>
16951 </rng:define>
16952 <rng:define name="text-index-body">
16953 <rng:element name="text:index-body">
16954 <rng:zeroOrMore>
16955 <rng:ref name="index-content-main"/>
16956 </rng:zeroOrMore>
16957 </rng:element>
16958 </rng:define>
16959 <rng:define name="text-index-entry-bibliography">
16960 <rng:element name="text:index-entry-bibliography">
16961 <rng:ref name="text-index-entry-bibliography-attrs"/>
16962 </rng:element>
16963 </rng:define>
16964 <rng:define name="text-index-entry-bibliography-attrs">
16965 <rng:interleave>
16966 <rng:optional>
16967 <rng:attribute name="text:style-name">
16968 <rng:ref name="styleNameRef"/>
16969 </rng:attribute>
16970 </rng:optional>
16971 <rng:attribute name="text:bibliography-data-field">
16972 <rng:choice>
16973 <rng:value>address</rng:value>
16974 <rng:value>annote</rng:value>
16975 <rng:value>author</rng:value>
16976 <rng:value>bibliography-type</rng:value>
16977 <rng:value>booktitle</rng:value>
16978 <rng:value>chapter</rng:value>
16979 <rng:value>custom1</rng:value>
16980 <rng:value>custom2</rng:value>
16981 <rng:value>custom3</rng:value>
16982 <rng:value>custom4</rng:value>
16983 <rng:value>custom5</rng:value>
16984 <rng:value>edition</rng:value>
16985 <rng:value>editor</rng:value>
16986 <rng:value>howpublished</rng:value>
16987 <rng:value>identifier</rng:value>
16988 <rng:value>institution</rng:value>
16989 <rng:value>isbn</rng:value>
16990 <rng:value>issn</rng:value>
16991 <rng:value>journal</rng:value>
16992 <rng:value>month</rng:value>
16993 <rng:value>note</rng:value>
16994 <rng:value>number</rng:value>
16995 <rng:value>organizations</rng:value>
16996 <rng:value>pages</rng:value>
16997 <rng:value>publisher</rng:value>
16998 <rng:value>report-type</rng:value>
16999 <rng:value>school</rng:value>
17000 <rng:value>series</rng:value>
17001 <rng:value>title</rng:value>
17002 <rng:value>url</rng:value>
17003 <rng:value>volume</rng:value>
17004 <rng:value>year</rng:value>
17005 </rng:choice>
17006 </rng:attribute>
17007 </rng:interleave>
17008 </rng:define>
17009 <rng:define name="text-index-entry-chapter">
17010 <rng:element name="text:index-entry-chapter">
17011 <rng:optional>
17012 <rng:attribute name="text:style-name">
17013 <rng:ref name="styleNameRef"/>
17014 </rng:attribute>
17015 </rng:optional>
17016 <rng:ref name="text-index-entry-chapter-attrs"/>
17017 </rng:element>
17018 </rng:define>
17019 <rng:define name="text-index-entry-chapter-attrs">
17020 <rng:interleave>
17021 <rng:optional>
17022 <rng:attribute name="text:display">
17023 <rng:choice>
17024 <rng:value>name</rng:value>
17025 <rng:value>number</rng:value>
17026 <rng:value>number-and-name</rng:value>
17027 <rng:value>plain-number</rng:value>
17028 <rng:value>plain-number-and-name</rng:value>
17029 </rng:choice>
17030 </rng:attribute>
17031 </rng:optional>
17032 <rng:optional>
17033 <rng:attribute name="text:outline-level">
17034 <rng:ref name="positiveInteger"/>
17035 </rng:attribute>
17036 </rng:optional>
17037 </rng:interleave>
17038 </rng:define>
17039 <rng:define name="text-index-entry-link-end">
17040 <rng:element name="text:index-entry-link-end">
17041 <rng:optional>
17042 <rng:attribute name="text:style-name">
17043 <rng:ref name="styleNameRef"/>
17044 </rng:attribute>
17045 </rng:optional>
17046 </rng:element>
17047 </rng:define>
17048 <rng:define name="text-index-entry-link-start">
17049 <rng:element name="text:index-entry-link-start">
17050 <rng:optional>
17051 <rng:attribute name="text:style-name">
17052 <rng:ref name="styleNameRef"/>
17053 </rng:attribute>
17054 </rng:optional>
17055 </rng:element>
17056 </rng:define>
17057 <rng:define name="text-index-entry-page-number">
17058 <rng:element name="text:index-entry-page-number">
17059 <rng:optional>
17060 <rng:attribute name="text:style-name">
17061 <rng:ref name="styleNameRef"/>
17062 </rng:attribute>
17063 </rng:optional>
17064 </rng:element>
17065 </rng:define>
17066 <rng:define name="text-index-entry-span">
17067 <rng:element name="text:index-entry-span">
17068 <rng:optional>
17069 <rng:attribute name="text:style-name">
17070 <rng:ref name="styleNameRef"/>
17071 </rng:attribute>
17072 </rng:optional>
17073 <rng:text/>
17074 </rng:element>
17075 </rng:define>
17076 <rng:define name="text-index-entry-tab-stop">
17077 <rng:element name="text:index-entry-tab-stop">
17078 <rng:optional>
17079 <rng:attribute name="text:style-name">
17080 <rng:ref name="styleNameRef"/>
17081 </rng:attribute>
17082 </rng:optional>
17083 <rng:ref name="text-index-entry-tab-stop-attrs"/>
17084 </rng:element>
17085 </rng:define>
17086 <rng:define name="text-index-entry-tab-stop-attrs">
17087 <rng:interleave>
17088 <rng:optional>
17089 <rng:attribute name="style:leader-char">
17090 <rng:ref name="character"/>
17091 </rng:attribute>
17092 </rng:optional>
17093 <rng:choice>
17094 <rng:attribute name="style:type">
17095 <rng:value>right</rng:value>
17096 </rng:attribute>
17097 <rng:group>
17098 <rng:attribute name="style:type">
17099 <rng:value>left</rng:value>
17100 </rng:attribute>
17101 <rng:attribute name="style:position">
17102 <rng:ref name="length"/>
17103 </rng:attribute>
17104 </rng:group>
17105 </rng:choice>
17106 </rng:interleave>
17107 </rng:define>
17108 <rng:define name="text-index-entry-text">
17109 <rng:element name="text:index-entry-text">
17110 <rng:optional>
17111 <rng:attribute name="text:style-name">
17112 <rng:ref name="styleNameRef"/>
17113 </rng:attribute>
17114 </rng:optional>
17115 </rng:element>
17116 </rng:define>
17117 <rng:define name="text-index-name">
17118 <rng:attribute name="text:index-name">
17119 <rng:ref name="string"/>
17120 </rng:attribute>
17121 </rng:define>
17122 <rng:define name="text-index-scope-attr">
17123 <rng:optional>
17124 <rng:attribute name="text:index-scope">
17125 <rng:choice>
17126 <rng:value>document</rng:value>
17127 <rng:value>chapter</rng:value>
17128 </rng:choice>
17129 </rng:attribute>
17130 </rng:optional>
17131 </rng:define>
17132 <rng:define name="text-index-source-style">
17133 <rng:element name="text:index-source-style">
17134 <rng:attribute name="text:style-name">
17135 <rng:ref name="styleNameRef"/>
17136 </rng:attribute>
17137 <rng:empty/>
17138 </rng:element>
17139 </rng:define>
17140 <!-- https://issues.oasis-open.org/browse/OFFICE-3675 -->
17141 <rng:define name="text-index-source-styles">
17142 <rng:element name="text:index-source-styles">
17143 <rng:attribute name="text:outline-level">
17144 <rng:ref name="positiveInteger"/>
17145 </rng:attribute>
17146 <rng:zeroOrMore>
17147 <rng:ref name="text-index-source-style"/>
17148 </rng:zeroOrMore>
17149 </rng:element>
17150 </rng:define>
17151 <rng:define name="text-index-title">
17152 <rng:element name="text:index-title">
17153 <rng:ref name="common-section-attlist"/>
17154 <rng:zeroOrMore>
17155 <rng:ref name="index-content-main"/>
17156 </rng:zeroOrMore>
17157 </rng:element>
17158 </rng:define>
17159 <rng:define name="text-index-title-template">
17160 <rng:element name="text:index-title-template">
17161 <rng:optional>
17162 <rng:attribute name="text:style-name">
17163 <rng:ref name="styleNameRef"/>
17164 </rng:attribute>
17165 </rng:optional>
17166 <rng:text/>
17167 </rng:element>
17168 </rng:define>
17169 <rng:define name="text-linenumbering-configuration">
17170 <rng:element name="text:linenumbering-configuration">
17171 <rng:ref name="text-linenumbering-configuration-attlist"/>
17172 <rng:optional>
17173 <rng:ref name="text-linenumbering-separator"/>
17174 </rng:optional>
17175 </rng:element>
17176 </rng:define>
17177 <rng:define name="text-linenumbering-configuration-attlist">
17178 <rng:interleave>
17179 <rng:optional>
17180 <rng:attribute name="text:number-lines">
17181 <rng:ref name="boolean"/>
17182 </rng:attribute>
17183 </rng:optional>
17184 <rng:optional>
17185 <rng:ref name="common-num-format-attlist"/>
17186 </rng:optional>
17187 <rng:optional>
17188 <rng:attribute name="text:style-name">
17189 <rng:ref name="styleNameRef"/>
17190 </rng:attribute>
17191 </rng:optional>
17192 <rng:optional>
17193 <rng:attribute name="text:increment">
17194 <rng:ref name="nonNegativeInteger"/>
17195 </rng:attribute>
17196 </rng:optional>
17197 <rng:optional>
17198 <rng:attribute name="text:number-position">
17199 <rng:choice>
17200 <rng:value>left</rng:value>
17201 <rng:value>right</rng:value>
17202 <rng:value>inner</rng:value>
17203 <rng:value>outer</rng:value>
17204 </rng:choice>
17205 </rng:attribute>
17206 </rng:optional>
17207 <rng:optional>
17208 <rng:attribute name="text:offset">
17209 <rng:ref name="nonNegativeLength"/>
17210 </rng:attribute>
17211 </rng:optional>
17212 <rng:optional>
17213 <rng:attribute name="text:count-empty-lines">
17214 <rng:ref name="boolean"/>
17215 </rng:attribute>
17216 </rng:optional>
17217 <rng:optional>
17218 <rng:attribute name="text:count-in-text-boxes">
17219 <rng:ref name="boolean"/>
17220 </rng:attribute>
17221 </rng:optional>
17222 <rng:optional>
17223 <rng:attribute name="text:restart-on-page">
17224 <rng:ref name="boolean"/>
17225 </rng:attribute>
17226 </rng:optional>
17227 </rng:interleave>
17228 </rng:define>
17229 <rng:define name="text-linenumbering-separator">
17230 <rng:element name="text:linenumbering-separator">
17231 <rng:optional>
17232 <rng:attribute name="text:increment">
17233 <rng:ref name="nonNegativeInteger"/>
17234 </rng:attribute>
17235 </rng:optional>
17236 <rng:text/>
17237 </rng:element>
17238 </rng:define>
17239 <rng:define name="text-list">
17240 <rng:element name="text:list">
17241 <rng:ref name="text-list-attr"/>
17242 <rng:optional>
17243 <rng:ref name="text-list-header"/>
17244 </rng:optional>
17245 <rng:zeroOrMore>
17246 <rng:ref name="text-list-item"/>
17247 </rng:zeroOrMore>
17248 </rng:element>
17249 </rng:define>
17250 <rng:define name="text-list-attr">
17251 <rng:interleave>
17252 <rng:optional>
17253 <rng:attribute name="text:style-name">
17254 <rng:ref name="styleNameRef"/>
17255 </rng:attribute>
17256 </rng:optional>
17257 <rng:optional>
17258 <rng:attribute name="text:continue-numbering">
17259 <rng:ref name="boolean"/>
17260 </rng:attribute>
17261 </rng:optional>
17262 <rng:optional>
17263 <rng:attribute name="text:continue-list">
17264 <rng:ref name="IDREF"/>
17265 </rng:attribute>
17266 </rng:optional>
17267 <rng:optional>
17268 <rng:ref name="xml-id"/>
17269 </rng:optional>
17270 </rng:interleave>
17271 </rng:define>
17272 <rng:define name="text-list-header">
17273 <rng:element name="text:list-header">
17274 <rng:ref name="text-list-header-attr"/>
17275 <rng:ref name="text-list-item-content"/>
17276 </rng:element>
17277 </rng:define>
17278 <rng:define name="text-list-header-attr">
17279 <rng:optional>
17280 <rng:ref name="xml-id"/>
17281 </rng:optional>
17282 </rng:define>
17283 <rng:define name="text-list-item">
17284 <rng:element name="text:list-item">
17285 <rng:ref name="text-list-item-attr"/>
17286 <rng:ref name="text-list-item-content"/>
17287 </rng:element>
17288 </rng:define>
17289 <rng:define name="text-list-item-attr">
17290 <rng:interleave>
17291 <rng:optional>
17292 <rng:attribute name="text:start-value">
17293 <rng:ref name="nonNegativeInteger"/>
17294 </rng:attribute>
17295 </rng:optional>
17296 <rng:optional>
17297 <rng:attribute name="text:style-override">
17298 <rng:ref name="styleNameRef"/>
17299 </rng:attribute>
17300 </rng:optional>
17301 <rng:optional>
17302 <rng:ref name="xml-id"/>
17303 </rng:optional>
17304 </rng:interleave>
17305 </rng:define>
17306 <rng:define name="text-list-item-content">
17307 <rng:optional>
17308 <rng:ref name="text-number"/>
17309 </rng:optional>
17310 <rng:zeroOrMore>
17311 <rng:choice>
17312 <rng:ref name="text-p"/>
17313 <rng:ref name="text-h"/>
17314 <rng:ref name="text-list"/>
17315 <rng:ref name="text-soft-page-break"/>
17316 </rng:choice>
17317 </rng:zeroOrMore>
17318 </rng:define>
17319 <rng:define name="text-list-level-style-attr">
17320 <rng:attribute name="text:level">
17321 <rng:ref name="positiveInteger"/>
17322 </rng:attribute>
17323 </rng:define>
17324 <rng:define name="text-list-level-style-bullet-attr">
17325 <rng:interleave>
17326 <rng:optional>
17327 <rng:attribute name="text:style-name">
17328 <rng:ref name="styleNameRef"/>
17329 </rng:attribute>
17330 </rng:optional>
17331 <rng:attribute name="text:bullet-char">
17332 <rng:ref name="character"/>
17333 </rng:attribute>
17334 <rng:ref name="common-num-format-prefix-suffix-attlist"/>
17335 <rng:optional>
17336 <rng:attribute name="text:bullet-relative-size">
17337 <rng:ref name="percent"/>
17338 </rng:attribute>
17339 </rng:optional>
17340 </rng:interleave>
17341 </rng:define>
17342 <rng:define name="text-list-level-style-image-attr">
17343 <rng:choice>
17344 <rng:ref name="common-draw-data-attlist"/>
17345 <rng:ref name="office-binary-data"/>
17346 </rng:choice>
17347 </rng:define>
17348 <rng:define name="text-list-level-style-number-attr">
17349 <rng:interleave>
17350 <rng:optional>
17351 <rng:attribute name="text:style-name">
17352 <rng:ref name="styleNameRef"/>
17353 </rng:attribute>
17354 </rng:optional>
17355 <rng:ref name="common-num-format-attlist"/>
17356 <rng:ref name="common-num-format-prefix-suffix-attlist"/>
17357 <rng:optional>
17358 <rng:attribute name="text:display-levels">
17359 <rng:ref name="positiveInteger"/>
17360 </rng:attribute>
17361 </rng:optional>
17362 <rng:optional>
17363 <rng:attribute name="text:start-value">
17364 <rng:ref name="positiveInteger"/>
17365 </rng:attribute>
17366 </rng:optional>
17367 </rng:interleave>
17368 </rng:define>
17369 <rng:define name="text-list-style">
17370 <rng:element name="text:list-style">
17371 <rng:ref name="text-list-style-attr"/>
17372 <rng:zeroOrMore>
17373 <rng:ref name="text-list-style-content"/>
17374 </rng:zeroOrMore>
17375 </rng:element>
17376 </rng:define>
17377 <rng:define name="text-list-style-attr">
17378 <rng:interleave>
17379 <rng:attribute name="style:name">
17380 <rng:ref name="styleName"/>
17381 </rng:attribute>
17382 <rng:optional>
17383 <rng:attribute name="style:display-name">
17384 <rng:ref name="string"/>
17385 </rng:attribute>
17386 </rng:optional>
17387 <rng:optional>
17388 <rng:attribute name="text:consecutive-numbering">
17389 <rng:ref name="boolean"/>
17390 </rng:attribute>
17391 </rng:optional>
17392 </rng:interleave>
17393 </rng:define>
17394 <rng:define name="text-list-style-content">
17395 <rng:choice>
17396 <rng:element name="text:list-level-style-number">
17397 <rng:ref name="text-list-level-style-attr"/>
17398 <rng:ref name="text-list-level-style-number-attr"/>
17399 <rng:optional>
17400 <rng:ref name="style-list-level-properties"/>
17401 </rng:optional>
17402 <rng:optional>
17403 <rng:ref name="style-text-properties"/>
17404 </rng:optional>
17405 </rng:element>
17406 <rng:element name="text:list-level-style-bullet">
17407 <rng:ref name="text-list-level-style-attr"/>
17408 <rng:ref name="text-list-level-style-bullet-attr"/>
17409 <rng:optional>
17410 <rng:ref name="style-list-level-properties"/>
17411 </rng:optional>
17412 <rng:optional>
17413 <rng:ref name="style-text-properties"/>
17414 </rng:optional>
17415 </rng:element>
17416 <rng:element name="text:list-level-style-image">
17417 <rng:ref name="text-list-level-style-attr"/>
17418 <rng:ref name="text-list-level-style-image-attr"/>
17419 <rng:optional>
17420 <rng:ref name="style-list-level-properties"/>
17421 </rng:optional>
17422 </rng:element>
17423 </rng:choice>
17424 </rng:define>
17425 <rng:define name="text-meta-attlist">
17426 <rng:interleave>
17427 <rng:optional>
17428 <rng:ref name="common-in-content-meta-attlist"/>
17429 </rng:optional>
17430 <rng:optional>
17431 <rng:ref name="xml-id"/>
17432 </rng:optional>
17433 </rng:interleave>
17434 </rng:define>
17435 <rng:define name="text-meta-field-attlist">
17436 <rng:interleave>
17437 <rng:ref name="xml-id"/>
17438 <rng:ref name="common-field-data-style-name-attlist"/>
17439 </rng:interleave>
17440 </rng:define>
17441 <rng:define name="text-note-class">
17442 <rng:attribute name="text:note-class">
17443 <rng:choice>
17444 <rng:value>footnote</rng:value>
17445 <rng:value>endnote</rng:value>
17446 </rng:choice>
17447 </rng:attribute>
17448 </rng:define>
17449 <rng:define name="text-note-ref-content">
17450 <rng:interleave>
17451 <rng:optional>
17452 <rng:attribute name="text:reference-format">
17453 <rng:choice>
17454 <rng:ref name="common-ref-format-values"/>
17455 </rng:choice>
17456 </rng:attribute>
17457 </rng:optional>
17458 <rng:ref name="text-note-class"/>
17459 </rng:interleave>
17460 </rng:define>
17461 <rng:define name="text-notes-configuration">
17462 <rng:element name="text:notes-configuration">
17463 <rng:ref name="text-notes-configuration-content"/>
17464 </rng:element>
17465 </rng:define>
17466 <rng:define name="text-notes-configuration-content">
17467 <rng:interleave>
17468 <rng:ref name="text-note-class"/>
17469 <rng:optional>
17470 <rng:attribute name="text:citation-style-name">
17471 <rng:ref name="styleNameRef"/>
17472 </rng:attribute>
17473 </rng:optional>
17474 <rng:optional>
17475 <rng:attribute name="text:citation-body-style-name">
17476 <rng:ref name="styleNameRef"/>
17477 </rng:attribute>
17478 </rng:optional>
17479 <rng:optional>
17480 <rng:attribute name="text:default-style-name">
17481 <rng:ref name="styleNameRef"/>
17482 </rng:attribute>
17483 </rng:optional>
17484 <rng:optional>
17485 <rng:attribute name="text:master-page-name">
17486 <rng:ref name="styleNameRef"/>
17487 </rng:attribute>
17488 </rng:optional>
17489 <rng:optional>
17490 <rng:attribute name="text:start-value">
17491 <rng:ref name="nonNegativeInteger"/>
17492 </rng:attribute>
17493 </rng:optional>
17494 <rng:ref name="common-num-format-prefix-suffix-attlist"/>
17495 <rng:optional>
17496 <rng:ref name="common-num-format-attlist"/>
17497 </rng:optional>
17498 <rng:optional>
17499 <rng:attribute name="text:start-numbering-at">
17500 <rng:choice>
17501 <rng:value>document</rng:value>
17502 <rng:value>chapter</rng:value>
17503 <rng:value>page</rng:value>
17504 </rng:choice>
17505 </rng:attribute>
17506 </rng:optional>
17507 <rng:optional>
17508 <rng:attribute name="text:footnotes-position">
17509 <rng:choice>
17510 <rng:value>text</rng:value>
17511 <rng:value>page</rng:value>
17512 <rng:value>section</rng:value>
17513 <rng:value>document</rng:value>
17514 </rng:choice>
17515 </rng:attribute>
17516 </rng:optional>
17517 <rng:optional>
17518 <rng:element name="text:note-continuation-notice-forward">
17519 <rng:text/>
17520 </rng:element>
17521 </rng:optional>
17522 <rng:optional>
17523 <rng:element name="text:note-continuation-notice-backward">
17524 <rng:text/>
17525 </rng:element>
17526 </rng:optional>
17527 </rng:interleave>
17528 </rng:define>
17529 <rng:define name="text-number">
17530 <rng:element name="text:number">
17531 <rng:ref name="string"/>
17532 </rng:element>
17533 </rng:define>
17534 <rng:define name="text-numbered-paragraph">
17535 <rng:element name="text:numbered-paragraph">
17536 <rng:ref name="text-numbered-paragraph-attr"/>
17537 <rng:optional>
17538 <rng:ref name="text-number"/>
17539 </rng:optional>
17540 <rng:choice>
17541 <rng:ref name="text-p"/>
17542 <rng:ref name="text-h"/>
17543 </rng:choice>
17544 </rng:element>
17545 </rng:define>
17546 <rng:define name="text-numbered-paragraph-attr">
17547 <rng:interleave>
17548 <rng:attribute name="text:list-id">
17549 <rng:ref name="NCName"/>
17550 </rng:attribute>
17551 <rng:optional>
17552 <rng:attribute name="text:level">
17553 <rng:ref name="positiveInteger"/>
17554 </rng:attribute>
17555 </rng:optional>
17556 <rng:optional>
17557 <rng:attribute name="text:style-name">
17558 <rng:ref name="styleNameRef"/>
17559 </rng:attribute>
17560 <rng:attribute name="text:continue-numbering">
17561 <rng:ref name="boolean"/>
17562 </rng:attribute>
17563 <rng:attribute name="text:start-value">
17564 <rng:ref name="nonNegativeInteger"/>
17565 </rng:attribute>
17566 </rng:optional>
17567 <rng:optional>
17568 <rng:ref name="xml-id"/>
17569 </rng:optional>
17570 </rng:interleave>
17571 </rng:define>
17572 <rng:define name="text-object-index">
17573 <rng:element name="text:object-index">
17574 <rng:ref name="common-section-attlist"/>
17575 <rng:ref name="text-object-index-source"/>
17576 <rng:ref name="text-index-body"/>
17577 </rng:element>
17578 </rng:define>
17579 <rng:define name="text-object-index-entry-template">
17580 <rng:element name="text:object-index-entry-template">
17581 <rng:ref name="text-illustration-index-entry-content"/>
17582 </rng:element>
17583 </rng:define>
17584 <rng:define name="text-object-index-source">
17585 <rng:element name="text:object-index-source">
17586 <rng:ref name="text-object-index-source-attrs"/>
17587 <rng:optional>
17588 <rng:ref name="text-index-title-template"/>
17589 </rng:optional>
17590 <rng:optional>
17591 <rng:ref name="text-object-index-entry-template"/>
17592 </rng:optional>
17593 </rng:element>
17594 </rng:define>
17595 <rng:define name="text-object-index-source-attrs">
17596 <rng:interleave>
17597 <rng:ref name="text-index-scope-attr"/>
17598 <rng:ref name="text-relative-tab-stop-position-attr"/>
17599 <rng:optional>
17600 <rng:attribute name="text:use-spreadsheet-objects">
17601 <rng:ref name="boolean"/>
17602 </rng:attribute>
17603 </rng:optional>
17604 <rng:optional>
17605 <rng:attribute name="text:use-math-objects">
17606 <rng:ref name="boolean"/>
17607 </rng:attribute>
17608 </rng:optional>
17609 <rng:optional>
17610 <rng:attribute name="text:use-draw-objects">
17611 <rng:ref name="boolean"/>
17612 </rng:attribute>
17613 </rng:optional>
17614 <rng:optional>
17615 <rng:attribute name="text:use-chart-objects">
17616 <rng:ref name="boolean"/>
17617 </rng:attribute>
17618 </rng:optional>
17619 <rng:optional>
17620 <rng:attribute name="text:use-other-objects">
17621 <rng:ref name="boolean"/>
17622 </rng:attribute>
17623 </rng:optional>
17624 </rng:interleave>
17625 </rng:define>
17626 <rng:define name="text-outline-level">
17627 <rng:optional>
17628 <rng:attribute name="text:outline-level">
17629 <rng:ref name="positiveInteger"/>
17630 </rng:attribute>
17631 </rng:optional>
17632 </rng:define>
17633 <rng:define name="text-outline-level-style">
17634 <rng:element name="text:outline-level-style">
17635 <rng:ref name="text-outline-level-style-attlist"/>
17636 <rng:optional>
17637 <rng:ref name="style-list-level-properties"/>
17638 </rng:optional>
17639 <rng:optional>
17640 <rng:ref name="style-text-properties"/>
17641 </rng:optional>
17642 </rng:element>
17643 </rng:define>
17644 <rng:define name="text-outline-level-style-attlist">
17645 <rng:interleave>
17646 <rng:attribute name="text:level">
17647 <rng:ref name="positiveInteger"/>
17648 </rng:attribute>
17649 <rng:optional>
17650 <rng:attribute name="text:style-name">
17651 <rng:ref name="styleNameRef"/>
17652 </rng:attribute>
17653 </rng:optional>
17654 <rng:ref name="common-num-format-attlist"/>
17655 <rng:ref name="common-num-format-prefix-suffix-attlist"/>
17656 <rng:optional>
17657 <rng:attribute name="text:display-levels">
17658 <rng:ref name="positiveInteger"/>
17659 </rng:attribute>
17660 </rng:optional>
17661 <rng:optional>
17662 <rng:attribute name="text:start-value">
17663 <rng:ref name="positiveInteger"/>
17664 </rng:attribute>
17665 </rng:optional>
17666 </rng:interleave>
17667 </rng:define>
17668 <rng:define name="text-outline-style">
17669 <rng:element name="text:outline-style">
17670 <rng:ref name="text-outline-style-attr"/>
17671 <rng:oneOrMore>
17672 <rng:ref name="text-outline-level-style"/>
17673 </rng:oneOrMore>
17674 </rng:element>
17675 </rng:define>
17676 <rng:define name="text-outline-style-attr">
17677 <rng:attribute name="style:name">
17678 <rng:ref name="styleName"/>
17679 </rng:attribute>
17680 </rng:define>
17681 <rng:define name="text-p">
17682 <rng:element name="text:p">
17683 <rng:ref name="paragraph-attrs"/>
17684 <rng:zeroOrMore>
17685 <rng:ref name="paragraph-content-or-hyperlink"/>
17686 </rng:zeroOrMore>
17687 </rng:element>
17688 </rng:define>
17689 <rng:define name="text-page">
17690 <rng:element name="text:page">
17691 <rng:ref name="text-page-attlist"/>
17692 <rng:empty/>
17693 </rng:element>
17694 </rng:define>
17695 <rng:define name="text-page-attlist">
17696 <rng:attribute name="text:master-page-name">
17697 <rng:ref name="styleNameRef"/>
17698 </rng:attribute>
17699 </rng:define>
17700 <rng:define name="text-page-continuation-attlist">
17701 <rng:interleave>
17702 <rng:attribute name="text:select-page">
17703 <rng:choice>
17704 <rng:value>previous</rng:value>
17705 <rng:value>next</rng:value>
17706 </rng:choice>
17707 </rng:attribute>
17708 <rng:optional>
17709 <rng:attribute name="text:string-value">
17710 <rng:ref name="string"/>
17711 </rng:attribute>
17712 </rng:optional>
17713 </rng:interleave>
17714 </rng:define>
17715 <rng:define name="text-page-number-attlist">
17716 <rng:interleave>
17717 <rng:interleave>
17718 <rng:ref name="common-field-num-format-attlist"/>
17719 <rng:ref name="common-field-fixed-attlist"/>
17720 </rng:interleave>
17721 <rng:optional>
17722 <rng:attribute name="text:page-adjust">
17723 <rng:ref name="integer"/>
17724 </rng:attribute>
17725 </rng:optional>
17726 <rng:optional>
17727 <rng:attribute name="text:select-page">
17728 <rng:choice>
17729 <rng:value>previous</rng:value>
17730 <rng:value>current</rng:value>
17731 <rng:value>next</rng:value>
17732 </rng:choice>
17733 </rng:attribute>
17734 </rng:optional>
17735 </rng:interleave>
17736 </rng:define>
17737 <rng:define name="text-page-sequence">
17738 <rng:element name="text:page-sequence">
17739 <rng:oneOrMore>
17740 <rng:ref name="text-page"/>
17741 </rng:oneOrMore>
17742 </rng:element>
17743 </rng:define>
17744 <rng:define name="text-placeholder-attlist">
17745 <rng:interleave>
17746 <rng:attribute name="text:placeholder-type">
17747 <rng:choice>
17748 <rng:value>text</rng:value>
17749 <rng:value>table</rng:value>
17750 <rng:value>text-box</rng:value>
17751 <rng:value>image</rng:value>
17752 <rng:value>object</rng:value>
17753 </rng:choice>
17754 </rng:attribute>
17755 <rng:ref name="common-field-description-attlist"/>
17756 </rng:interleave>
17757 </rng:define>
17758 <rng:define name="text-relative-tab-stop-position-attr">
17759 <rng:optional>
17760 <rng:attribute name="text:relative-tab-stop-position">
17761 <rng:ref name="boolean"/>
17762 </rng:attribute>
17763 </rng:optional>
17764 </rng:define>
17765 <rng:define name="text-section">
17766 <rng:element name="text:section">
17767 <rng:ref name="text-section-attlist"/>
17768 <rng:choice>
17769 <rng:ref name="text-section-source"/>
17770 <rng:ref name="text-section-source-dde"/>
17771 <rng:empty/>
17772 </rng:choice>
17773 <rng:zeroOrMore>
17774 <rng:ref name="text-content"/>
17775 </rng:zeroOrMore>
17776 </rng:element>
17777 </rng:define>
17778 <rng:define name="text-section-attlist">
17779 <rng:interleave>
17780 <rng:ref name="common-section-attlist"/>
17781 <rng:choice>
17782 <rng:attribute name="text:display">
17783 <rng:choice>
17784 <rng:value>true</rng:value>
17785 <rng:value>none</rng:value>
17786 </rng:choice>
17787 </rng:attribute>
17788 <rng:group>
17789 <rng:attribute name="text:display">
17790 <rng:value>condition</rng:value>
17791 </rng:attribute>
17792 <rng:attribute name="text:condition">
17793 <rng:ref name="string"/>
17794 </rng:attribute>
17795 </rng:group>
17796 <rng:empty/>
17797 </rng:choice>
17798 </rng:interleave>
17799 </rng:define>
17800 <rng:define name="text-section-source">
17801 <rng:element name="text:section-source">
17802 <rng:ref name="text-section-source-attr"/>
17803 </rng:element>
17804 </rng:define>
17805 <rng:define name="text-section-source-attr">
17806 <rng:interleave>
17807 <rng:optional>
17808 <rng:attribute name="xlink:type">
17809 <rng:value>simple</rng:value>
17810 </rng:attribute>
17811 <rng:attribute name="xlink:href">
17812 <rng:ref name="anyIRI"/>
17813 </rng:attribute>
17814 <rng:optional>
17815 <rng:attribute name="xlink:show">
17816 <rng:value>embed</rng:value>
17817 </rng:attribute>
17818 </rng:optional>
17819 </rng:optional>
17820 <rng:optional>
17821 <rng:attribute name="text:section-name">
17822 <rng:ref name="string"/>
17823 </rng:attribute>
17824 </rng:optional>
17825 <rng:optional>
17826 <rng:attribute name="text:filter-name">
17827 <rng:ref name="string"/>
17828 </rng:attribute>
17829 </rng:optional>
17830 </rng:interleave>
17831 </rng:define>
17832 <rng:define name="text-section-source-dde">
17833 <rng:ref name="office-dde-source"/>
17834 </rng:define>
17835 <rng:define name="text-sequence-decl">
17836 <rng:element name="text:sequence-decl">
17837 <rng:ref name="text-sequence-decl-attlist"/>
17838 </rng:element>
17839 </rng:define>
17840 <rng:define name="text-sequence-decl-attlist">
17841 <rng:interleave>
17842 <rng:ref name="common-field-name-attlist"/>
17843 <rng:attribute name="text:display-outline-level">
17844 <rng:ref name="nonNegativeInteger"/>
17845 </rng:attribute>
17846 <rng:optional>
17847 <rng:attribute name="text:separation-character">
17848 <rng:ref name="character"/>
17849 </rng:attribute>
17850 </rng:optional>
17851 </rng:interleave>
17852 </rng:define>
17853 <rng:define name="text-sequence-ref-content">
17854 <rng:optional>
17855 <rng:attribute name="text:reference-format">
17856 <rng:choice>
17857 <rng:ref name="common-ref-format-values"/>
17858 <rng:value>category-and-value</rng:value>
17859 <rng:value>caption</rng:value>
17860 <rng:value>value</rng:value>
17861 </rng:choice>
17862 </rng:attribute>
17863 </rng:optional>
17864 </rng:define>
17865 <rng:define name="text-sequence-ref-name">
17866 <rng:optional>
17867 <rng:attribute name="text:ref-name">
17868 <rng:ref name="string"/>
17869 </rng:attribute>
17870 </rng:optional>
17871 </rng:define>
17872 <rng:define name="text-set-page-variable-attlist">
17873 <rng:interleave>
17874 <rng:optional>
17875 <rng:attribute name="text:active">
17876 <rng:ref name="boolean"/>
17877 </rng:attribute>
17878 </rng:optional>
17879 <rng:optional>
17880 <rng:attribute name="text:page-adjust">
17881 <rng:ref name="integer"/>
17882 </rng:attribute>
17883 </rng:optional>
17884 </rng:interleave>
17885 </rng:define>
17886 <rng:define name="text-soft-page-break">
17887 <rng:element name="text:soft-page-break">
17888 <rng:empty/>
17889 </rng:element>
17890 </rng:define>
17891 <rng:define name="text-sort-key">
17892 <rng:element name="text:sort-key">
17893 <rng:ref name="text-sort-key-attlist"/>
17894 <rng:empty/>
17895 </rng:element>
17896 </rng:define>
17897 <rng:define name="text-sort-key-attlist">
17898 <rng:attribute name="text:key">
17899 <rng:choice>
17900 <rng:value>address</rng:value>
17901 <rng:value>annote</rng:value>
17902 <rng:value>author</rng:value>
17903 <rng:value>bibliography-type</rng:value>
17904 <rng:value>booktitle</rng:value>
17905 <rng:value>chapter</rng:value>
17906 <rng:value>custom1</rng:value>
17907 <rng:value>custom2</rng:value>
17908 <rng:value>custom3</rng:value>
17909 <rng:value>custom4</rng:value>
17910 <rng:value>custom5</rng:value>
17911 <rng:value>edition</rng:value>
17912 <rng:value>editor</rng:value>
17913 <rng:value>howpublished</rng:value>
17914 <rng:value>identifier</rng:value>
17915 <rng:value>institution</rng:value>
17916 <rng:value>isbn</rng:value>
17917 <rng:value>issn</rng:value>
17918 <rng:value>journal</rng:value>
17919 <rng:value>month</rng:value>
17920 <rng:value>note</rng:value>
17921 <rng:value>number</rng:value>
17922 <rng:value>organizations</rng:value>
17923 <rng:value>pages</rng:value>
17924 <rng:value>publisher</rng:value>
17925 <rng:value>report-type</rng:value>
17926 <rng:value>school</rng:value>
17927 <rng:value>series</rng:value>
17928 <rng:value>title</rng:value>
17929 <rng:value>url</rng:value>
17930 <rng:value>volume</rng:value>
17931 <rng:value>year</rng:value>
17932 </rng:choice>
17933 </rng:attribute>
17934 <rng:optional>
17935 <rng:attribute name="text:sort-ascending">
17936 <rng:ref name="boolean"/>
17937 </rng:attribute>
17938 </rng:optional>
17939 </rng:define>
17940 <rng:define name="text-style-name">
17941 <rng:optional>
17942 <rng:attribute name="form:text-style-name">
17943 <rng:ref name="styleNameRef"/>
17944 </rng:attribute>
17945 </rng:optional>
17946 </rng:define>
17947 <rng:define name="text-tab-attr">
17948 <rng:optional>
17949 <rng:attribute name="text:tab-ref">
17950 <rng:ref name="nonNegativeInteger"/>
17951 </rng:attribute>
17952 </rng:optional>
17953 </rng:define>
17954 <rng:define name="text-table-index">
17955 <rng:element name="text:table-index">
17956 <rng:ref name="common-section-attlist"/>
17957 <rng:ref name="text-table-index-source"/>
17958 <rng:ref name="text-index-body"/>
17959 </rng:element>
17960 </rng:define>
17961 <rng:define name="text-table-index-entry-template">
17962 <rng:element name="text:table-index-entry-template">
17963 <rng:ref name="text-illustration-index-entry-content"/>
17964 </rng:element>
17965 </rng:define>
17966 <rng:define name="text-table-index-source">
17967 <rng:element name="text:table-index-source">
17968 <rng:ref name="text-illustration-index-source-attrs"/>
17969 <rng:optional>
17970 <rng:ref name="text-index-title-template"/>
17971 </rng:optional>
17972 <rng:optional>
17973 <rng:ref name="text-table-index-entry-template"/>
17974 </rng:optional>
17975 </rng:element>
17976 </rng:define>
17977 <rng:define name="text-table-of-content">
17978 <rng:element name="text:table-of-content">
17979 <rng:ref name="common-section-attlist"/>
17980 <rng:ref name="text-table-of-content-source"/>
17981 <rng:ref name="text-index-body"/>
17982 </rng:element>
17983 </rng:define>
17984 <rng:define name="text-table-of-content-children">
17985 <rng:choice>
17986 <rng:ref name="text-index-entry-chapter"/>
17987 <rng:ref name="text-index-entry-page-number"/>
17988 <rng:ref name="text-index-entry-text"/>
17989 <rng:ref name="text-index-entry-span"/>
17990 <rng:ref name="text-index-entry-tab-stop"/>
17991 <rng:ref name="text-index-entry-link-start"/>
17992 <rng:ref name="text-index-entry-link-end"/>
17993 </rng:choice>
17994 </rng:define>
17995 <rng:define name="text-table-of-content-entry-template">
17996 <rng:element name="text:table-of-content-entry-template">
17997 <rng:ref name="text-table-of-content-entry-template-attlist"/>
17998 <rng:zeroOrMore>
17999 <rng:ref name="text-table-of-content-children"/>
18000 </rng:zeroOrMore>
18001 </rng:element>
18002 </rng:define>
18003 <rng:define name="text-table-of-content-entry-template-attlist">
18004 <rng:interleave>
18005 <rng:attribute name="text:outline-level">
18006 <rng:ref name="positiveInteger"/>
18007 </rng:attribute>
18008 <rng:attribute name="text:style-name">
18009 <rng:ref name="styleNameRef"/>
18010 </rng:attribute>
18011 </rng:interleave>
18012 </rng:define>
18013 <rng:define name="text-table-of-content-source">
18014 <rng:element name="text:table-of-content-source">
18015 <rng:ref name="text-table-of-content-source-attlist"/>
18016 <rng:optional>
18017 <rng:ref name="text-index-title-template"/>
18018 </rng:optional>
18019 <rng:zeroOrMore>
18020 <rng:ref name="text-table-of-content-entry-template"/>
18021 </rng:zeroOrMore>
18022 <rng:zeroOrMore>
18023 <rng:ref name="text-index-source-styles"/>
18024 </rng:zeroOrMore>
18025 </rng:element>
18026 </rng:define>
18027 <rng:define name="text-table-of-content-source-attlist">
18028 <rng:interleave>
18029 <rng:optional>
18030 <rng:attribute name="text:outline-level">
18031 <rng:ref name="positiveInteger"/>
18032 </rng:attribute>
18033 </rng:optional>
18034 <rng:optional>
18035 <rng:attribute name="text:use-outline-level">
18036 <rng:ref name="boolean"/>
18037 </rng:attribute>
18038 </rng:optional>
18039 <rng:optional>
18040 <rng:attribute name="text:use-index-marks">
18041 <rng:ref name="boolean"/>
18042 </rng:attribute>
18043 </rng:optional>
18044 <rng:optional>
18045 <rng:attribute name="text:use-index-source-styles">
18046 <rng:ref name="boolean"/>
18047 </rng:attribute>
18048 </rng:optional>
18049 <rng:optional>
18050 <rng:attribute name="text:index-scope">
18051 <rng:choice>
18052 <rng:value>document</rng:value>
18053 <rng:value>chapter</rng:value>
18054 </rng:choice>
18055 </rng:attribute>
18056 </rng:optional>
18057 <rng:optional>
18058 <rng:attribute name="text:relative-tab-stop-position">
18059 <rng:ref name="boolean"/>
18060 </rng:attribute>
18061 </rng:optional>
18062 </rng:interleave>
18063 </rng:define>
18064 <rng:define name="text-template-name-attlist">
18065 <rng:optional>
18066 <rng:attribute name="text:display">
18067 <rng:choice>
18068 <rng:value>full</rng:value>
18069 <rng:value>path</rng:value>
18070 <rng:value>name</rng:value>
18071 <rng:value>name-and-extension</rng:value>
18072 <rng:value>area</rng:value>
18073 <rng:value>title</rng:value>
18074 </rng:choice>
18075 </rng:attribute>
18076 </rng:optional>
18077 </rng:define>
18078 <rng:define name="text-time-attlist">
18079 <rng:interleave>
18080 <rng:interleave>
18081 <rng:ref name="common-field-fixed-attlist"/>
18082 <rng:ref name="common-field-data-style-name-attlist"/>
18083 </rng:interleave>
18084 <rng:optional>
18085 <rng:attribute name="text:time-value">
18086 <rng:ref name="timeOrDateTime"/>
18087 </rng:attribute>
18088 </rng:optional>
18089 <rng:optional>
18090 <rng:attribute name="text:time-adjust">
18091 <rng:ref name="duration"/>
18092 </rng:attribute>
18093 </rng:optional>
18094 </rng:interleave>
18095 </rng:define>
18096 <rng:define name="text-toc-mark-start-attrs">
18097 <rng:ref name="text-id"/>
18098 <rng:ref name="text-outline-level"/>
18099 </rng:define>
18100 <rng:define name="text-tracked-changes">
18101 <rng:optional>
18102 <rng:element name="text:tracked-changes">
18103 <rng:ref name="text-tracked-changes-attr"/>
18104 <rng:zeroOrMore>
18105 <rng:ref name="text-changed-region"/>
18106 </rng:zeroOrMore>
18107 </rng:element>
18108 </rng:optional>
18109 </rng:define>
18110 <rng:define name="text-tracked-changes-attr">
18111 <rng:optional>
18112 <rng:attribute name="text:track-changes">
18113 <rng:ref name="boolean"/>
18114 </rng:attribute>
18115 </rng:optional>
18116 </rng:define>
18117 <rng:define name="text-user-field-decl">
18118 <rng:element name="text:user-field-decl">
18119 <rng:ref name="common-field-name-attlist"/>
18120 <rng:optional>
18121 <rng:ref name="common-field-formula-attlist"/>
18122 </rng:optional>
18123 <rng:ref name="common-value-and-type-attlist"/>
18124 </rng:element>
18125 </rng:define>
18126 <rng:define name="text-user-index">
18127 <rng:element name="text:user-index">
18128 <rng:ref name="common-section-attlist"/>
18129 <rng:ref name="text-user-index-source"/>
18130 <rng:ref name="text-index-body"/>
18131 </rng:element>
18132 </rng:define>
18133 <rng:define name="text-user-index-entry-template">
18134 <rng:element name="text:user-index-entry-template">
18135 <rng:ref name="text-user-index-entry-template-attrs"/>
18136 <rng:zeroOrMore>
18137 <rng:choice>
18138 <rng:ref name="text-index-entry-chapter"/>
18139 <rng:ref name="text-index-entry-page-number"/>
18140 <rng:ref name="text-index-entry-text"/>
18141 <rng:ref name="text-index-entry-span"/>
18142 <rng:ref name="text-index-entry-tab-stop"/>
18143 <rng:ref name="text-index-entry-link-start"/>
18144 <rng:ref name="text-index-entry-link-end"/>
18145 <!-- https://issues.oasis-open.org/browse/OFFICE-3941 -->
18146 </rng:choice>
18147 </rng:zeroOrMore>
18148 </rng:element>
18149 </rng:define>
18150 <rng:define name="text-user-index-entry-template-attrs">
18151 <rng:interleave>
18152 <rng:attribute name="text:outline-level">
18153 <rng:ref name="positiveInteger"/>
18154 </rng:attribute>
18155 <rng:attribute name="text:style-name">
18156 <rng:ref name="styleNameRef"/>
18157 </rng:attribute>
18158 </rng:interleave>
18159 </rng:define>
18160 <rng:define name="text-user-index-source">
18161 <rng:element name="text:user-index-source">
18162 <rng:ref name="text-user-index-source-attr"/>
18163 <rng:optional>
18164 <rng:ref name="text-index-title-template"/>
18165 </rng:optional>
18166 <rng:zeroOrMore>
18167 <rng:ref name="text-user-index-entry-template"/>
18168 </rng:zeroOrMore>
18169 <rng:zeroOrMore>
18170 <rng:ref name="text-index-source-styles"/>
18171 </rng:zeroOrMore>
18172 </rng:element>
18173 </rng:define>
18174 <rng:define name="text-user-index-source-attr">
18175 <rng:interleave>
18176 <rng:ref name="text-index-scope-attr"/>
18177 <rng:ref name="text-relative-tab-stop-position-attr"/>
18178 <rng:optional>
18179 <rng:attribute name="text:use-index-marks">
18180 <rng:ref name="boolean"/>
18181 </rng:attribute>
18182 </rng:optional>
18183 <rng:optional>
18184 <rng:attribute name="text:use-index-source-styles">
18185 <rng:ref name="boolean"/>
18186 </rng:attribute>
18187 </rng:optional>
18188 <rng:optional>
18189 <rng:attribute name="text:use-graphics">
18190 <rng:ref name="boolean"/>
18191 </rng:attribute>
18192 </rng:optional>
18193 <rng:optional>
18194 <rng:attribute name="text:use-tables">
18195 <rng:ref name="boolean"/>
18196 </rng:attribute>
18197 </rng:optional>
18198 <rng:optional>
18199 <rng:attribute name="text:use-floating-frames">
18200 <rng:ref name="boolean"/>
18201 </rng:attribute>
18202 </rng:optional>
18203 <rng:optional>
18204 <rng:attribute name="text:use-objects">
18205 <rng:ref name="boolean"/>
18206 </rng:attribute>
18207 </rng:optional>
18208 <rng:optional>
18209 <rng:attribute name="text:copy-outline-levels">
18210 <rng:ref name="boolean"/>
18211 </rng:attribute>
18212 </rng:optional>
18213 <rng:attribute name="text:index-name">
18214 <rng:ref name="string"/>
18215 </rng:attribute>
18216 </rng:interleave>
18217 </rng:define>
18218 <rng:define name="text-variable-decl">
18219 <rng:element name="text:variable-decl">
18220 <rng:ref name="common-field-name-attlist"/>
18221 <rng:ref name="common-value-type-attlist"/>
18222 </rng:element>
18223 </rng:define>
18224 <rng:define name="textEncoding">
18225 <rng:data type="string">
18226 <rng:param name="pattern">[A-Za-z][A-Za-z0-9._\-]*</rng:param>
18227 </rng:data>
18228 </rng:define>
18229 <rng:define name="time">
18230 <rng:data type="time"/>
18231 </rng:define>
18232 <rng:define name="timeOrDateTime">
18233 <rng:choice>
18234 <rng:data type="time"/>
18235 <rng:data type="dateTime"/>
18236 </rng:choice>
18237 </rng:define>
18238 <rng:define name="types">
18239 <rng:choice>
18240 <rng:value>submit</rng:value>
18241 <rng:value>reset</rng:value>
18242 <rng:value>push</rng:value>
18243 <rng:value>url</rng:value>
18244 </rng:choice>
18245 </rng:define>
18246 <rng:define name="valueType">
18247 <rng:choice>
18248 <rng:value>float</rng:value>
18249 <rng:value>time</rng:value>
18250 <rng:value>date</rng:value>
18251 <rng:value>percentage</rng:value>
18252 <rng:value>currency</rng:value>
18253 <rng:value>boolean</rng:value>
18254 <rng:value>string</rng:value>
18255 </rng:choice>
18256 </rng:define>
18257 <rng:define name="variableName">
18258 <rng:data type="string"/>
18259 </rng:define>
18260 <rng:define name="vector3D">
18261 <rng:data type="string">
18262 <rng:param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)){2}[ ]*\)</rng:param>
18263 </rng:data>
18264 </rng:define>
18265 <rng:define name="vertBackPos">
18266 <rng:choice>
18267 <rng:value>top</rng:value>
18268 <rng:value>center</rng:value>
18269 <rng:value>bottom</rng:value>
18270 </rng:choice>
18271 </rng:define>
18272 <rng:define name="xforms-bind-attlist">
18273 <rng:optional>
18274 <rng:attribute name="xforms:bind">
18275 <rng:ref name="string"/>
18276 </rng:attribute>
18277 </rng:optional>
18278 </rng:define>
18279 <rng:define name="xforms-model">
18280 <rng:element name="xforms:model">
18281 <rng:ref name="anyAttListOrElements"/>
18282 </rng:element>
18283 </rng:define>
18284 <rng:define name="xml-id">
18285 <rng:attribute name="xml:id">
18286 <rng:ref name="ID"/>
18287 </rng:attribute>
18288 </rng:define>
18289 <rng:define name="zeroToHundredPercent">
18290 <rng:data type="string">
18291 <rng:param name="pattern">([0-9]?[0-9](\.[0-9]*)?|100(\.0*)?|\.[0-9]+)%</rng:param>
18292 </rng:data>
18293 </rng:define>
18294 <rng:define name="zeroToOneDecimal">
18295 <rng:data type="decimal">
18296 <rng:param name="minInclusive">0</rng:param>
18297 <rng:param name="maxInclusive">1</rng:param>
18298 </rng:data>
18299 </rng:define>
18300 </rng:grammar>