Bump version to 24.04.3.4
[LibreOffice.git] / schema / odf1.2 / OpenDocument-v1.2-os-schema.rng
blob538c335b3bf69e3b24702357cbb67ff6821d4449
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Open Document Format for Office Applications (OpenDocument) Version 1.2
4 OASIS Standard, 29 September 2011
5 Relax-NG Schema
6 Source: http://docs.oasis-open.org/office/v1.2/os/
7 Copyright (c) OASIS Open 2002-2011. All Rights Reserved.
9 All capitalized terms in the following text have the meanings assigned to them
10 in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The
11 full Policy may be found at the OASIS website.
13 This document and translations of it may be copied and furnished to others, and
14 derivative works that comment on or otherwise explain it or assist in its
15 implementation may be prepared, copied, published, and distributed, in whole or
16 in part, without restriction of any kind, provided that the above copyright
17 notice and this section are included on all such copies and derivative works.
18 However, this document itself may not be modified in any way, including by
19 removing the copyright notice or references to OASIS, except as needed for the
20 purpose of developing any document or deliverable produced by an OASIS
21 Technical Committee (in which case the rules applicable to copyrights, as set
22 forth in the OASIS IPR Policy, must be followed) or as required to translate it
23 into languages other than English.
25 The limited permissions granted above are perpetual and will not be revoked by
26 OASIS or its successors or assigns.
28 This document and the information contained herein is provided on an "AS IS"
29 basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
30 LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
31 INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
32 FITNESS FOR A PARTICULAR PURPOSE.
33 -->
34 <grammar
35 xmlns="http://relaxng.org/ns/structure/1.0"
37 datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
39 xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
40 xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
41 xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
42 xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
43 xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
44 xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
45 xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
46 xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
47 xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
48 xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
49 xmlns:db="urn:oasis:names:tc:opendocument:xmlns:database:1.0"
50 xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
51 xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
52 xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
53 xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
55 xmlns:dc="http://purl.org/dc/elements/1.1/"
56 xmlns:xlink="http://www.w3.org/1999/xlink"
57 xmlns:math="http://www.w3.org/1998/Math/MathML"
58 xmlns:xforms="http://www.w3.org/2002/xforms"
59 xmlns:grddl="http://www.w3.org/2003/g/data-view#"
60 xmlns:xhtml="http://www.w3.org/1999/xhtml"
62 xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
63 xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
64 xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
66 <define name="office-process-content">
67 <optional>
68 <attribute name="office:process-content">
69 <ref name="boolean"/>
70 </attribute>
71 </optional>
72 </define>
73 <start>
74 <choice>
75 <ref name="office-document"/>
76 <ref name="office-document-content"/>
77 <ref name="office-document-styles"/>
78 <ref name="office-document-meta"/>
79 <ref name="office-document-settings"/>
80 </choice>
81 </start>
82 <define name="office-document">
83 <element name="office:document">
84 <ref name="office-document-attrs"/>
85 <ref name="office-document-common-attrs"/>
86 <ref name="office-meta"/>
87 <ref name="office-settings"/>
88 <ref name="office-scripts"/>
89 <ref name="office-font-face-decls"/>
90 <ref name="office-styles"/>
91 <ref name="office-automatic-styles"/>
92 <ref name="office-master-styles"/>
93 <ref name="office-body"/>
94 </element>
95 </define>
96 <define name="office-document-content">
97 <element name="office:document-content">
98 <ref name="office-document-common-attrs"/>
99 <ref name="office-scripts"/>
100 <ref name="office-font-face-decls"/>
101 <ref name="office-automatic-styles"/>
102 <ref name="office-body"/>
103 </element>
104 </define>
105 <define name="office-document-styles">
106 <element name="office:document-styles">
107 <ref name="office-document-common-attrs"/>
108 <ref name="office-font-face-decls"/>
109 <ref name="office-styles"/>
110 <ref name="office-automatic-styles"/>
111 <ref name="office-master-styles"/>
112 </element>
113 </define>
114 <define name="office-document-meta">
115 <element name="office:document-meta">
116 <ref name="office-document-common-attrs"/>
117 <ref name="office-meta"/>
118 </element>
119 </define>
120 <define name="office-document-settings">
121 <element name="office:document-settings">
122 <ref name="office-document-common-attrs"/>
123 <ref name="office-settings"/>
124 </element>
125 </define>
126 <define name="office-document-common-attrs">
127 <interleave>
128 <attribute name="office:version">
129 <value>1.2</value>
130 </attribute>
131 <optional>
132 <attribute name="grddl:transformation">
133 <list>
134 <zeroOrMore>
135 <ref name="anyIRI"/>
136 </zeroOrMore>
137 </list>
138 </attribute>
139 </optional>
140 </interleave>
141 </define>
142 <define name="office-document-attrs">
143 <attribute name="office:mimetype">
144 <ref name="string"/>
145 </attribute>
146 </define>
147 <define name="office-meta">
148 <optional>
149 <element name="office:meta">
150 <ref name="office-meta-content-strict"/>
151 </element>
152 </optional>
153 </define>
154 <define name="office-meta-content-strict">
155 <zeroOrMore>
156 <ref name="office-meta-data"/>
157 </zeroOrMore>
158 </define>
159 <define name="office-body">
160 <element name="office:body">
161 <ref name="office-body-content"/>
162 </element>
163 </define>
164 <define name="office-body-content">
165 <choice>
166 <element name="office:text">
167 <ref name="office-text-attlist"/>
168 <ref name="office-text-content-prelude"/>
169 <ref name="office-text-content-main"/>
170 <ref name="office-text-content-epilogue"/>
171 </element>
172 <element name="office:drawing">
173 <ref name="office-drawing-attlist"/>
174 <ref name="office-drawing-content-prelude"/>
175 <ref name="office-drawing-content-main"/>
176 <ref name="office-drawing-content-epilogue"/>
177 </element>
178 <element name="office:presentation">
179 <ref name="office-presentation-attlist"/>
180 <ref name="office-presentation-content-prelude"/>
181 <ref name="office-presentation-content-main"/>
182 <ref name="office-presentation-content-epilogue"/>
183 </element>
184 <element name="office:spreadsheet">
185 <ref name="office-spreadsheet-attlist"/>
186 <ref name="office-spreadsheet-content-prelude"/>
187 <ref name="office-spreadsheet-content-main"/>
188 <ref name="office-spreadsheet-content-epilogue"/>
189 </element>
190 <element name="office:chart">
191 <ref name="office-chart-attlist"/>
192 <ref name="office-chart-content-prelude"/>
193 <ref name="office-chart-content-main"/>
194 <ref name="office-chart-content-epilogue"/>
195 </element>
196 <element name="office:image">
197 <ref name="office-image-attlist"/>
198 <ref name="office-image-content-prelude"/>
199 <ref name="office-image-content-main"/>
200 <ref name="office-image-content-epilogue"/>
201 </element>
202 <ref name="office-database"/>
203 </choice>
204 </define>
205 <define name="office-text-content-prelude">
206 <ref name="office-forms"/>
207 <ref name="text-tracked-changes"/>
208 <ref name="text-decls"/>
209 <ref name="table-decls"/>
210 </define>
211 <define name="office-text-content-main">
212 <choice>
213 <zeroOrMore>
214 <ref name="text-content"/>
215 </zeroOrMore>
216 <group>
217 <ref name="text-page-sequence"/>
218 <zeroOrMore>
219 <choice>
220 <ref name="shape"/>
221 </choice>
222 </zeroOrMore>
223 </group>
224 </choice>
225 </define>
226 <define name="text-content">
227 <choice>
228 <ref name="text-h"/>
229 <ref name="text-p"/>
230 <ref name="text-list"/>
231 <ref name="text-numbered-paragraph"/>
232 <ref name="table-table"/>
233 <ref name="text-section"/>
234 <ref name="text-soft-page-break"/>
235 <ref name="text-table-of-content"/>
236 <ref name="text-illustration-index"/>
237 <ref name="text-table-index"/>
238 <ref name="text-object-index"/>
239 <ref name="text-user-index"/>
240 <ref name="text-alphabetical-index"/>
241 <ref name="text-bibliography"/>
242 <ref name="shape"/>
243 <ref name="change-marks"/>
244 </choice>
245 </define>
246 <define name="office-text-content-epilogue">
247 <ref name="table-functions"/>
248 </define>
249 <define name="office-text-attlist">
250 <interleave>
251 <optional>
252 <attribute name="text:global">
253 <ref name="boolean"/>
254 </attribute>
255 </optional>
256 <optional>
257 <attribute name="text:use-soft-page-breaks">
258 <ref name="boolean"/>
259 </attribute>
260 </optional>
261 </interleave>
262 </define>
263 <define name="office-drawing-attlist">
264 <empty/>
265 </define>
266 <define name="office-drawing-content-prelude">
267 <ref name="text-decls"/>
268 <ref name="table-decls"/>
269 </define>
270 <define name="office-drawing-content-main">
271 <zeroOrMore>
272 <ref name="draw-page"/>
273 </zeroOrMore>
274 </define>
275 <define name="office-drawing-content-epilogue">
276 <ref name="table-functions"/>
277 </define>
278 <define name="office-presentation-attlist">
279 <empty/>
280 </define>
281 <define name="office-presentation-content-prelude">
282 <ref name="text-decls"/>
283 <ref name="table-decls"/>
284 <ref name="presentation-decls"/>
285 </define>
286 <define name="office-presentation-content-main">
287 <zeroOrMore>
288 <ref name="draw-page"/>
289 </zeroOrMore>
290 </define>
291 <define name="office-presentation-content-epilogue">
292 <ref name="presentation-settings"/>
293 <ref name="table-functions"/>
294 </define>
295 <define name="office-spreadsheet-content-prelude">
296 <optional>
297 <ref name="table-tracked-changes"/>
298 </optional>
299 <ref name="text-decls"/>
300 <ref name="table-decls"/>
301 </define>
302 <define name="table-decls">
303 <optional>
304 <ref name="table-calculation-settings"/>
305 </optional>
306 <optional>
307 <ref name="table-content-validations"/>
308 </optional>
309 <optional>
310 <ref name="table-label-ranges"/>
311 </optional>
312 </define>
313 <define name="office-spreadsheet-content-main">
314 <zeroOrMore>
315 <ref name="table-table"/>
316 </zeroOrMore>
317 </define>
318 <define name="office-spreadsheet-content-epilogue">
319 <ref name="table-functions"/>
320 </define>
321 <define name="table-functions">
322 <optional>
323 <ref name="table-named-expressions"/>
324 </optional>
325 <optional>
326 <ref name="table-database-ranges"/>
327 </optional>
328 <optional>
329 <ref name="table-data-pilot-tables"/>
330 </optional>
331 <optional>
332 <ref name="table-consolidation"/>
333 </optional>
334 <optional>
335 <ref name="table-dde-links"/>
336 </optional>
337 </define>
338 <define name="office-chart-attlist">
339 <empty/>
340 </define>
341 <define name="office-chart-content-prelude">
342 <ref name="text-decls"/>
343 <ref name="table-decls"/>
344 </define>
345 <define name="office-chart-content-main">
346 <ref name="chart-chart"/>
347 </define>
348 <define name="office-chart-content-epilogue">
349 <ref name="table-functions"/>
350 </define>
351 <define name="office-image-attlist">
352 <empty/>
353 </define>
354 <define name="office-image-content-prelude">
355 <empty/>
356 </define>
357 <define name="office-image-content-main">
358 <ref name="draw-frame"/>
359 </define>
360 <define name="office-image-content-epilogue">
361 <empty/>
362 </define>
363 <define name="office-settings">
364 <optional>
365 <element name="office:settings">
366 <oneOrMore>
367 <ref name="config-config-item-set"/>
368 </oneOrMore>
369 </element>
370 </optional>
371 </define>
372 <define name="config-config-item-set">
373 <element name="config:config-item-set">
374 <ref name="config-config-item-set-attlist"/>
375 <ref name="config-items"/>
376 </element>
377 </define>
378 <define name="config-items">
379 <oneOrMore>
380 <choice>
381 <ref name="config-config-item"/>
382 <ref name="config-config-item-set"/>
383 <ref name="config-config-item-map-named"/>
384 <ref name="config-config-item-map-indexed"/>
385 </choice>
386 </oneOrMore>
387 </define>
388 <define name="config-config-item-set-attlist">
389 <attribute name="config:name">
390 <ref name="string"/>
391 </attribute>
392 </define>
393 <define name="config-config-item">
394 <element name="config:config-item">
395 <ref name="config-config-item-attlist"/>
396 <text/>
397 </element>
398 </define>
399 <define name="config-config-item-attlist">
400 <interleave>
401 <attribute name="config:name">
402 <ref name="string"/>
403 </attribute>
404 <attribute name="config:type">
405 <choice>
406 <value>boolean</value>
407 <value>short</value>
408 <value>int</value>
409 <value>long</value>
410 <value>double</value>
411 <value>string</value>
412 <value>datetime</value>
413 <value>base64Binary</value>
414 </choice>
415 </attribute>
416 </interleave>
417 </define>
418 <define name="config-config-item-map-indexed">
419 <element name="config:config-item-map-indexed">
420 <ref name="config-config-item-map-indexed-attlist"/>
421 <oneOrMore>
422 <ref name="config-config-item-map-entry"/>
423 </oneOrMore>
424 </element>
425 </define>
426 <define name="config-config-item-map-indexed-attlist">
427 <attribute name="config:name">
428 <ref name="string"/>
429 </attribute>
430 </define>
431 <define name="config-config-item-map-entry">
432 <element name="config:config-item-map-entry">
433 <ref name="config-config-item-map-entry-attlist"/>
434 <ref name="config-items"/>
435 </element>
436 </define>
437 <define name="config-config-item-map-entry-attlist">
438 <optional>
439 <attribute name="config:name">
440 <ref name="string"/>
441 </attribute>
442 </optional>
443 </define>
444 <define name="config-config-item-map-named">
445 <element name="config:config-item-map-named">
446 <ref name="config-config-item-map-named-attlist"/>
447 <oneOrMore>
448 <ref name="config-config-item-map-entry"/>
449 </oneOrMore>
450 </element>
451 </define>
452 <define name="config-config-item-map-named-attlist">
453 <attribute name="config:name">
454 <ref name="string"/>
455 </attribute>
456 </define>
457 <define name="office-scripts">
458 <optional>
459 <element name="office:scripts">
460 <zeroOrMore>
461 <ref name="office-script"/>
462 </zeroOrMore>
463 <optional>
464 <ref name="office-event-listeners"/>
465 </optional>
466 </element>
467 </optional>
468 </define>
469 <define name="office-script">
470 <element name="office:script">
471 <ref name="office-script-attlist"/>
472 <mixed>
473 <ref name="anyElements"/>
474 </mixed>
475 </element>
476 </define>
477 <define name="office-script-attlist">
478 <attribute name="script:language">
479 <ref name="string"/>
480 </attribute>
481 </define>
482 <define name="office-font-face-decls">
483 <optional>
484 <element name="office:font-face-decls">
485 <zeroOrMore>
486 <ref name="style-font-face"/>
487 </zeroOrMore>
488 </element>
489 </optional>
490 </define>
491 <define name="office-styles">
492 <optional>
493 <element name="office:styles">
494 <interleave>
495 <ref name="styles"/>
496 <zeroOrMore>
497 <ref name="style-default-style"/>
498 </zeroOrMore>
499 <optional>
500 <ref name="style-default-page-layout"/>
501 </optional>
502 <optional>
503 <ref name="text-outline-style"/>
504 </optional>
505 <zeroOrMore>
506 <ref name="text-notes-configuration"/>
507 </zeroOrMore>
508 <optional>
509 <ref name="text-bibliography-configuration"/>
510 </optional>
511 <optional>
512 <ref name="text-linenumbering-configuration"/>
513 </optional>
514 <zeroOrMore>
515 <ref name="draw-gradient"/>
516 </zeroOrMore>
517 <zeroOrMore>
518 <ref name="svg-linearGradient"/>
519 </zeroOrMore>
520 <zeroOrMore>
521 <ref name="svg-radialGradient"/>
522 </zeroOrMore>
523 <zeroOrMore>
524 <ref name="draw-hatch"/>
525 </zeroOrMore>
526 <zeroOrMore>
527 <ref name="draw-fill-image"/>
528 </zeroOrMore>
529 <zeroOrMore>
530 <ref name="draw-marker"/>
531 </zeroOrMore>
532 <zeroOrMore>
533 <ref name="draw-stroke-dash"/>
534 </zeroOrMore>
535 <zeroOrMore>
536 <ref name="draw-opacity"/>
537 </zeroOrMore>
538 <zeroOrMore>
539 <ref name="style-presentation-page-layout"/>
540 </zeroOrMore>
541 <zeroOrMore>
542 <ref name="table-table-template"/>
543 </zeroOrMore>
544 </interleave>
545 </element>
546 </optional>
547 </define>
548 <define name="office-automatic-styles">
549 <optional>
550 <element name="office:automatic-styles">
551 <interleave>
552 <ref name="styles"/>
553 <zeroOrMore>
554 <ref name="style-page-layout"/>
555 </zeroOrMore>
556 </interleave>
557 </element>
558 </optional>
559 </define>
560 <define name="office-master-styles">
561 <optional>
562 <element name="office:master-styles">
563 <interleave>
564 <zeroOrMore>
565 <ref name="style-master-page"/>
566 </zeroOrMore>
567 <optional>
568 <ref name="style-handout-master"/>
569 </optional>
570 <optional>
571 <ref name="draw-layer-set"/>
572 </optional>
573 </interleave>
574 </element>
575 </optional>
576 </define>
577 <define name="styles">
578 <interleave>
579 <zeroOrMore>
580 <ref name="style-style"/>
581 </zeroOrMore>
582 <zeroOrMore>
583 <ref name="text-list-style"/>
584 </zeroOrMore>
585 <zeroOrMore>
586 <ref name="number-number-style"/>
587 </zeroOrMore>
588 <zeroOrMore>
589 <ref name="number-currency-style"/>
590 </zeroOrMore>
591 <zeroOrMore>
592 <ref name="number-percentage-style"/>
593 </zeroOrMore>
594 <zeroOrMore>
595 <ref name="number-date-style"/>
596 </zeroOrMore>
597 <zeroOrMore>
598 <ref name="number-time-style"/>
599 </zeroOrMore>
600 <zeroOrMore>
601 <ref name="number-boolean-style"/>
602 </zeroOrMore>
603 <zeroOrMore>
604 <ref name="number-text-style"/>
605 </zeroOrMore>
606 </interleave>
607 </define>
608 <define name="office-meta-data">
609 <choice>
610 <element name="meta:generator">
611 <ref name="string"/>
612 </element>
613 <element name="dc:title">
614 <ref name="string"/>
615 </element>
616 <element name="dc:description">
617 <ref name="string"/>
618 </element>
619 <element name="dc:subject">
620 <ref name="string"/>
621 </element>
622 <element name="meta:keyword">
623 <ref name="string"/>
624 </element>
625 <element name="meta:initial-creator">
626 <ref name="string"/>
627 </element>
628 <ref name="dc-creator"/>
629 <element name="meta:printed-by">
630 <ref name="string"/>
631 </element>
632 <element name="meta:creation-date">
633 <ref name="dateTime"/>
634 </element>
635 <ref name="dc-date"/>
636 <element name="meta:print-date">
637 <ref name="dateTime"/>
638 </element>
639 <element name="meta:template">
640 <attribute name="xlink:type">
641 <value>simple</value>
642 </attribute>
643 <attribute name="xlink:href">
644 <ref name="anyIRI"/>
645 </attribute>
646 <optional>
647 <attribute name="xlink:actuate">
648 <value>onRequest</value>
649 </attribute>
650 </optional>
651 <optional>
652 <attribute name="xlink:title">
653 <ref name="string"/>
654 </attribute>
655 </optional>
656 <optional>
657 <attribute name="meta:date">
658 <ref name="dateTime"/>
659 </attribute>
660 </optional>
661 </element>
662 <element name="meta:auto-reload">
663 <optional>
664 <attribute name="xlink:type">
665 <value>simple</value>
666 </attribute>
667 <attribute name="xlink:href">
668 <ref name="anyIRI"/>
669 </attribute>
670 <optional>
671 <attribute name="xlink:show">
672 <value>replace</value>
673 </attribute>
674 </optional>
675 <optional>
676 <attribute name="xlink:actuate">
677 <value>onLoad</value>
678 </attribute>
679 </optional>
680 </optional>
681 <optional>
682 <attribute name="meta:delay">
683 <ref name="duration"/>
684 </attribute>
685 </optional>
686 </element>
687 <element name="meta:hyperlink-behaviour">
688 <optional>
689 <attribute name="office:target-frame-name">
690 <ref name="targetFrameName"/>
691 </attribute>
692 </optional>
693 <optional>
694 <attribute name="xlink:show">
695 <choice>
696 <value>new</value>
697 <value>replace</value>
698 </choice>
699 </attribute>
700 </optional>
701 </element>
702 <element name="dc:language">
703 <ref name="language"/>
704 </element>
705 <element name="meta:editing-cycles">
706 <ref name="nonNegativeInteger"/>
707 </element>
708 <element name="meta:editing-duration">
709 <ref name="duration"/>
710 </element>
711 <element name="meta:document-statistic">
712 <optional>
713 <attribute name="meta:page-count">
714 <ref name="nonNegativeInteger"/>
715 </attribute>
716 </optional>
717 <optional>
718 <attribute name="meta:table-count">
719 <ref name="nonNegativeInteger"/>
720 </attribute>
721 </optional>
722 <optional>
723 <attribute name="meta:draw-count">
724 <ref name="nonNegativeInteger"/>
725 </attribute>
726 </optional>
727 <optional>
728 <attribute name="meta:image-count">
729 <ref name="nonNegativeInteger"/>
730 </attribute>
731 </optional>
732 <optional>
733 <attribute name="meta:ole-object-count">
734 <ref name="nonNegativeInteger"/>
735 </attribute>
736 </optional>
737 <optional>
738 <attribute name="meta:object-count">
739 <ref name="nonNegativeInteger"/>
740 </attribute>
741 </optional>
742 <optional>
743 <attribute name="meta:paragraph-count">
744 <ref name="nonNegativeInteger"/>
745 </attribute>
746 </optional>
747 <optional>
748 <attribute name="meta:word-count">
749 <ref name="nonNegativeInteger"/>
750 </attribute>
751 </optional>
752 <optional>
753 <attribute name="meta:character-count">
754 <ref name="nonNegativeInteger"/>
755 </attribute>
756 </optional>
757 <optional>
758 <attribute name="meta:frame-count">
759 <ref name="nonNegativeInteger"/>
760 </attribute>
761 </optional>
762 <optional>
763 <attribute name="meta:sentence-count">
764 <ref name="nonNegativeInteger"/>
765 </attribute>
766 </optional>
767 <optional>
768 <attribute name="meta:syllable-count">
769 <ref name="nonNegativeInteger"/>
770 </attribute>
771 </optional>
772 <optional>
773 <attribute name="meta:non-whitespace-character-count">
774 <ref name="nonNegativeInteger"/>
775 </attribute>
776 </optional>
777 <optional>
778 <attribute name="meta:row-count">
779 <ref name="nonNegativeInteger"/>
780 </attribute>
781 </optional>
782 <optional>
783 <attribute name="meta:cell-count">
784 <ref name="nonNegativeInteger"/>
785 </attribute>
786 </optional>
787 </element>
788 <element name="meta:user-defined">
789 <attribute name="meta:name">
790 <ref name="string"/>
791 </attribute>
792 <choice>
793 <group>
794 <attribute name="meta:value-type">
795 <value>float</value>
796 </attribute>
797 <ref name="double"/>
798 </group>
799 <group>
800 <attribute name="meta:value-type">
801 <value>date</value>
802 </attribute>
803 <ref name="dateOrDateTime"/>
804 </group>
805 <group>
806 <attribute name="meta:value-type">
807 <value>time</value>
808 </attribute>
809 <ref name="duration"/>
810 </group>
811 <group>
812 <attribute name="meta:value-type">
813 <value>boolean</value>
814 </attribute>
815 <ref name="boolean"/>
816 </group>
817 <group>
818 <attribute name="meta:value-type">
819 <value>string</value>
820 </attribute>
821 <ref name="string"/>
822 </group>
823 <text/>
824 </choice>
825 </element>
826 </choice>
827 </define>
828 <define name="dc-creator">
829 <element name="dc:creator">
830 <ref name="string"/>
831 </element>
832 </define>
833 <define name="dc-date">
834 <element name="dc:date">
835 <ref name="dateTime"/>
836 </element>
837 </define>
838 <define name="text-h">
839 <element name="text:h">
840 <ref name="heading-attrs"/>
841 <ref name="paragraph-attrs"/>
842 <optional>
843 <ref name="text-number"/>
844 </optional>
845 <zeroOrMore>
846 <ref name="paragraph-content-or-hyperlink"/>
847 </zeroOrMore>
848 </element>
849 </define>
850 <define name="heading-attrs">
851 <interleave>
852 <attribute name="text:outline-level">
853 <ref name="positiveInteger"/>
854 </attribute>
855 <optional>
856 <attribute name="text:restart-numbering">
857 <ref name="boolean"/>
858 </attribute>
859 </optional>
860 <optional>
861 <attribute name="text:start-value">
862 <ref name="nonNegativeInteger"/>
863 </attribute>
864 </optional>
865 <optional>
866 <attribute name="text:is-list-header">
867 <ref name="boolean"/>
868 </attribute>
869 </optional>
870 </interleave>
871 </define>
872 <define name="text-number">
873 <element name="text:number">
874 <ref name="string"/>
875 </element>
876 </define>
877 <define name="text-p">
878 <element name="text:p">
879 <ref name="paragraph-attrs"/>
880 <zeroOrMore>
881 <ref name="paragraph-content-or-hyperlink"/>
882 </zeroOrMore>
883 </element>
884 </define>
885 <define name="paragraph-attrs">
886 <interleave>
887 <optional>
888 <attribute name="text:style-name">
889 <ref name="styleNameRef"/>
890 </attribute>
891 </optional>
892 <optional>
893 <attribute name="text:class-names">
894 <ref name="styleNameRefs"/>
895 </attribute>
896 </optional>
897 <optional>
898 <attribute name="text:cond-style-name">
899 <ref name="styleNameRef"/>
900 </attribute>
901 </optional>
902 <optional>
903 <group>
904 <ref name="xml-id"/>
905 <optional>
906 <attribute name="text:id">
907 <ref name="NCName"/>
908 </attribute>
909 </optional>
910 </group>
911 </optional>
912 <optional>
913 <ref name="common-in-content-meta-attlist"/>
914 </optional>
915 </interleave>
916 </define>
917 <define name="text-page-sequence">
918 <element name="text:page-sequence">
919 <oneOrMore>
920 <ref name="text-page"/>
921 </oneOrMore>
922 </element>
923 </define>
924 <define name="text-page">
925 <element name="text:page">
926 <ref name="text-page-attlist"/>
927 <empty/>
928 </element>
929 </define>
930 <define name="text-page-attlist">
931 <attribute name="text:master-page-name">
932 <ref name="styleNameRef"/>
933 </attribute>
934 </define>
935 <define name="text-list">
936 <element name="text:list">
937 <ref name="text-list-attr"/>
938 <optional>
939 <ref name="text-list-header"/>
940 </optional>
941 <zeroOrMore>
942 <ref name="text-list-item"/>
943 </zeroOrMore>
944 </element>
945 </define>
946 <define name="text-list-attr">
947 <interleave>
948 <optional>
949 <attribute name="text:style-name">
950 <ref name="styleNameRef"/>
951 </attribute>
952 </optional>
953 <optional>
954 <attribute name="text:continue-numbering">
955 <ref name="boolean"/>
956 </attribute>
957 </optional>
958 <optional>
959 <attribute name="text:continue-list">
960 <ref name="IDREF"/>
961 </attribute>
962 </optional>
963 <optional>
964 <ref name="xml-id"/>
965 </optional>
966 </interleave>
967 </define>
968 <define name="text-list-item">
969 <element name="text:list-item">
970 <ref name="text-list-item-attr"/>
971 <ref name="text-list-item-content"/>
972 </element>
973 </define>
974 <define name="text-list-item-content">
975 <optional>
976 <ref name="text-number"/>
977 </optional>
978 <zeroOrMore>
979 <choice>
980 <ref name="text-p"/>
981 <ref name="text-h"/>
982 <ref name="text-list"/>
983 <ref name="text-soft-page-break"/>
984 </choice>
985 </zeroOrMore>
986 </define>
987 <define name="text-list-item-attr">
988 <interleave>
989 <optional>
990 <attribute name="text:start-value">
991 <ref name="nonNegativeInteger"/>
992 </attribute>
993 </optional>
994 <optional>
995 <attribute name="text:style-override">
996 <ref name="styleNameRef"/>
997 </attribute>
998 </optional>
999 <optional>
1000 <ref name="xml-id"/>
1001 </optional>
1002 </interleave>
1003 </define>
1004 <define name="text-list-header">
1005 <element name="text:list-header">
1006 <ref name="text-list-header-attr"/>
1007 <ref name="text-list-item-content"/>
1008 </element>
1009 </define>
1010 <define name="text-list-header-attr">
1011 <optional>
1012 <ref name="xml-id"/>
1013 </optional>
1014 </define>
1015 <define name="text-numbered-paragraph">
1016 <element name="text:numbered-paragraph">
1017 <ref name="text-numbered-paragraph-attr"/>
1018 <optional>
1019 <ref name="text-number"/>
1020 </optional>
1021 <choice>
1022 <ref name="text-p"/>
1023 <ref name="text-h"/>
1024 </choice>
1025 </element>
1026 </define>
1027 <define name="text-numbered-paragraph-attr">
1028 <interleave>
1029 <attribute name="text:list-id">
1030 <ref name="NCName"/>
1031 </attribute>
1032 <optional>
1033 <attribute name="text:level">
1034 <ref name="positiveInteger"/>
1035 </attribute>
1036 </optional>
1037 <optional>
1038 <attribute name="text:style-name">
1039 <ref name="styleNameRef"/>
1040 </attribute>
1041 <attribute name="text:continue-numbering">
1042 <ref name="boolean"/>
1043 </attribute>
1044 <attribute name="text:start-value">
1045 <ref name="nonNegativeInteger"/>
1046 </attribute>
1047 </optional>
1048 <optional>
1049 <ref name="xml-id"/>
1050 </optional>
1051 </interleave>
1052 </define>
1053 <define name="text-section">
1054 <element name="text:section">
1055 <ref name="text-section-attlist"/>
1056 <choice>
1057 <ref name="text-section-source"/>
1058 <ref name="text-section-source-dde"/>
1059 <empty/>
1060 </choice>
1061 <zeroOrMore>
1062 <ref name="text-content"/>
1063 </zeroOrMore>
1064 </element>
1065 </define>
1066 <define name="text-section-attlist">
1067 <interleave>
1068 <ref name="common-section-attlist"/>
1069 <choice>
1070 <attribute name="text:display">
1071 <choice>
1072 <value>true</value>
1073 <value>none</value>
1074 </choice>
1075 </attribute>
1076 <group>
1077 <attribute name="text:display">
1078 <value>condition</value>
1079 </attribute>
1080 <attribute name="text:condition">
1081 <ref name="string"/>
1082 </attribute>
1083 </group>
1084 <empty/>
1085 </choice>
1086 </interleave>
1087 </define>
1088 <define name="common-section-attlist">
1089 <interleave>
1090 <optional>
1091 <attribute name="text:style-name">
1092 <ref name="styleNameRef"/>
1093 </attribute>
1094 </optional>
1095 <attribute name="text:name">
1096 <ref name="string"/>
1097 </attribute>
1098 <optional>
1099 <attribute name="text:protected">
1100 <ref name="boolean"/>
1101 </attribute>
1102 </optional>
1103 <optional>
1104 <attribute name="text:protection-key">
1105 <ref name="string"/>
1106 </attribute>
1107 </optional>
1108 <optional>
1109 <attribute name="text:protection-key-digest-algorithm">
1110 <ref name="anyIRI"/>
1111 </attribute>
1112 </optional>
1113 <optional>
1114 <ref name="xml-id"/>
1115 </optional>
1116 </interleave>
1117 </define>
1118 <define name="text-section-source">
1119 <element name="text:section-source">
1120 <ref name="text-section-source-attr"/>
1121 </element>
1122 </define>
1123 <define name="text-section-source-attr">
1124 <interleave>
1125 <optional>
1126 <attribute name="xlink:type">
1127 <value>simple</value>
1128 </attribute>
1129 <attribute name="xlink:href">
1130 <ref name="anyIRI"/>
1131 </attribute>
1132 <optional>
1133 <attribute name="xlink:show">
1134 <value>embed</value>
1135 </attribute>
1136 </optional>
1137 </optional>
1138 <optional>
1139 <attribute name="text:section-name">
1140 <ref name="string"/>
1141 </attribute>
1142 </optional>
1143 <optional>
1144 <attribute name="text:filter-name">
1145 <ref name="string"/>
1146 </attribute>
1147 </optional>
1148 </interleave>
1149 </define>
1150 <define name="text-section-source-dde">
1151 <ref name="office-dde-source"/>
1152 </define>
1153 <define name="text-tracked-changes">
1154 <optional>
1155 <element name="text:tracked-changes">
1156 <ref name="text-tracked-changes-attr"/>
1157 <zeroOrMore>
1158 <ref name="text-changed-region"/>
1159 </zeroOrMore>
1160 </element>
1161 </optional>
1162 </define>
1163 <define name="text-tracked-changes-attr">
1164 <optional>
1165 <attribute name="text:track-changes">
1166 <ref name="boolean"/>
1167 </attribute>
1168 </optional>
1169 </define>
1170 <define name="text-changed-region">
1171 <element name="text:changed-region">
1172 <ref name="text-changed-region-attr"/>
1173 <ref name="text-changed-region-content"/>
1174 </element>
1175 </define>
1176 <define name="text-changed-region-attr">
1177 <group>
1178 <ref name="xml-id"/>
1179 <optional>
1180 <attribute name="text:id">
1181 <ref name="NCName"/>
1182 </attribute>
1183 </optional>
1184 </group>
1185 </define>
1186 <define name="text-changed-region-content">
1187 <choice>
1188 <element name="text:insertion">
1189 <ref name="office-change-info"/>
1190 </element>
1191 <element name="text:deletion">
1192 <ref name="office-change-info"/>
1193 <zeroOrMore>
1194 <ref name="text-content"/>
1195 </zeroOrMore>
1196 </element>
1197 <element name="text:format-change">
1198 <ref name="office-change-info"/>
1199 </element>
1200 </choice>
1201 </define>
1202 <define name="change-marks">
1203 <choice>
1204 <element name="text:change">
1205 <ref name="change-mark-attr"/>
1206 </element>
1207 <element name="text:change-start">
1208 <ref name="change-mark-attr"/>
1209 </element>
1210 <element name="text:change-end">
1211 <ref name="change-mark-attr"/>
1212 </element>
1213 </choice>
1214 </define>
1215 <define name="change-mark-attr">
1216 <attribute name="text:change-id">
1217 <ref name="IDREF"/>
1218 </attribute>
1219 </define>
1220 <define name="text-soft-page-break">
1221 <element name="text:soft-page-break">
1222 <empty/>
1223 </element>
1224 </define>
1225 <define name="text-decls">
1226 <optional>
1227 <element name="text:variable-decls">
1228 <zeroOrMore>
1229 <ref name="text-variable-decl"/>
1230 </zeroOrMore>
1231 </element>
1232 </optional>
1233 <optional>
1234 <element name="text:sequence-decls">
1235 <zeroOrMore>
1236 <ref name="text-sequence-decl"/>
1237 </zeroOrMore>
1238 </element>
1239 </optional>
1240 <optional>
1241 <element name="text:user-field-decls">
1242 <zeroOrMore>
1243 <ref name="text-user-field-decl"/>
1244 </zeroOrMore>
1245 </element>
1246 </optional>
1247 <optional>
1248 <element name="text:dde-connection-decls">
1249 <zeroOrMore>
1250 <ref name="text-dde-connection-decl"/>
1251 </zeroOrMore>
1252 </element>
1253 </optional>
1254 <optional>
1255 <ref name="text-alphabetical-index-auto-mark-file"/>
1256 </optional>
1257 </define>
1258 <define name="paragraph-content-or-hyperlink">
1259 <choice>
1260 <ref name="paragraph-content"/>
1261 <ref name="text-a"/>
1262 </choice>
1263 </define>
1264 <define name="paragraph-content">
1265 <choice>
1266 <text/>
1267 <element name="text:s">
1268 <optional>
1269 <attribute name="text:c">
1270 <ref name="nonNegativeInteger"/>
1271 </attribute>
1272 </optional>
1273 </element>
1274 <element name="text:tab">
1275 <ref name="text-tab-attr"/>
1276 </element>
1277 <element name="text:line-break">
1278 <empty/>
1279 </element>
1280 <ref name="text-soft-page-break"/>
1281 <element name="text:span">
1282 <optional>
1283 <attribute name="text:style-name">
1284 <ref name="styleNameRef"/>
1285 </attribute>
1286 </optional>
1287 <optional>
1288 <attribute name="text:class-names">
1289 <ref name="styleNameRefs"/>
1290 </attribute>
1291 </optional>
1292 <zeroOrMore>
1293 <ref name="paragraph-content-or-hyperlink"/>
1294 </zeroOrMore>
1295 </element>
1296 <element name="text:meta">
1297 <ref name="text-meta-attlist"/>
1298 <zeroOrMore>
1299 <ref name="paragraph-content-or-hyperlink"/>
1300 </zeroOrMore>
1301 </element>
1302 <choice>
1303 <ref name="text-bookmark"/>
1304 <ref name="text-bookmark-start"/>
1305 <ref name="text-bookmark-end"/>
1306 </choice>
1307 <element name="text:reference-mark">
1308 <attribute name="text:name">
1309 <ref name="string"/>
1310 </attribute>
1311 </element>
1312 <choice>
1313 <element name="text:reference-mark-start">
1314 <attribute name="text:name">
1315 <ref name="string"/>
1316 </attribute>
1317 </element>
1318 <element name="text:reference-mark-end">
1319 <attribute name="text:name">
1320 <ref name="string"/>
1321 </attribute>
1322 </element>
1323 </choice>
1324 <element name="text:note">
1325 <ref name="text-note-class"/>
1326 <optional>
1327 <attribute name="text:id">
1328 <ref name="string"/>
1329 </attribute>
1330 </optional>
1331 <element name="text:note-citation">
1332 <optional>
1333 <attribute name="text:label">
1334 <ref name="string"/>
1335 </attribute>
1336 </optional>
1337 <text/>
1338 </element>
1339 <element name="text:note-body">
1340 <zeroOrMore>
1341 <ref name="text-content"/>
1342 </zeroOrMore>
1343 </element>
1344 </element>
1345 <element name="text:ruby">
1346 <optional>
1347 <attribute name="text:style-name">
1348 <ref name="styleNameRef"/>
1349 </attribute>
1350 </optional>
1351 <element name="text:ruby-base">
1352 <zeroOrMore>
1353 <ref name="paragraph-content-or-hyperlink"/>
1354 </zeroOrMore>
1355 </element>
1356 <element name="text:ruby-text">
1357 <optional>
1358 <attribute name="text:style-name">
1359 <ref name="styleNameRef"/>
1360 </attribute>
1361 </optional>
1362 <text/>
1363 </element>
1364 </element>
1365 <choice>
1366 <ref name="office-annotation"/>
1367 <ref name="office-annotation-end"/>
1368 </choice>
1369 <ref name="change-marks"/>
1370 <ref name="shape"/>
1371 <element name="text:date">
1372 <ref name="text-date-attlist"/>
1373 <text/>
1374 </element>
1375 <element name="text:time">
1376 <ref name="text-time-attlist"/>
1377 <text/>
1378 </element>
1379 <element name="text:page-number">
1380 <ref name="text-page-number-attlist"/>
1381 <text/>
1382 </element>
1383 <element name="text:page-continuation">
1384 <ref name="text-page-continuation-attlist"/>
1385 <text/>
1386 </element>
1387 <element name="text:sender-firstname">
1388 <ref name="common-field-fixed-attlist"/>
1389 <text/>
1390 </element>
1391 <element name="text:sender-lastname">
1392 <ref name="common-field-fixed-attlist"/>
1393 <text/>
1394 </element>
1395 <element name="text:sender-initials">
1396 <ref name="common-field-fixed-attlist"/>
1397 <text/>
1398 </element>
1399 <element name="text:sender-title">
1400 <ref name="common-field-fixed-attlist"/>
1401 <text/>
1402 </element>
1403 <element name="text:sender-position">
1404 <ref name="common-field-fixed-attlist"/>
1405 <text/>
1406 </element>
1407 <element name="text:sender-email">
1408 <ref name="common-field-fixed-attlist"/>
1409 <text/>
1410 </element>
1411 <element name="text:sender-phone-private">
1412 <ref name="common-field-fixed-attlist"/>
1413 <text/>
1414 </element>
1415 <element name="text:sender-fax">
1416 <ref name="common-field-fixed-attlist"/>
1417 <text/>
1418 </element>
1419 <element name="text:sender-company">
1420 <ref name="common-field-fixed-attlist"/>
1421 <text/>
1422 </element>
1423 <element name="text:sender-phone-work">
1424 <ref name="common-field-fixed-attlist"/>
1425 <text/>
1426 </element>
1427 <element name="text:sender-street">
1428 <ref name="common-field-fixed-attlist"/>
1429 <text/>
1430 </element>
1431 <element name="text:sender-city">
1432 <ref name="common-field-fixed-attlist"/>
1433 <text/>
1434 </element>
1435 <element name="text:sender-postal-code">
1436 <ref name="common-field-fixed-attlist"/>
1437 <text/>
1438 </element>
1439 <element name="text:sender-country">
1440 <ref name="common-field-fixed-attlist"/>
1441 <text/>
1442 </element>
1443 <element name="text:sender-state-or-province">
1444 <ref name="common-field-fixed-attlist"/>
1445 <text/>
1446 </element>
1447 <element name="text:author-name">
1448 <ref name="common-field-fixed-attlist"/>
1449 <text/>
1450 </element>
1451 <element name="text:author-initials">
1452 <ref name="common-field-fixed-attlist"/>
1453 <text/>
1454 </element>
1455 <element name="text:chapter">
1456 <ref name="text-chapter-attlist"/>
1457 <text/>
1458 </element>
1459 <element name="text:file-name">
1460 <ref name="text-file-name-attlist"/>
1461 <text/>
1462 </element>
1463 <element name="text:template-name">
1464 <ref name="text-template-name-attlist"/>
1465 <text/>
1466 </element>
1467 <element name="text:sheet-name">
1468 <text/>
1469 </element>
1470 <element name="text:variable-set">
1471 <interleave>
1472 <ref name="common-field-name-attlist"/>
1473 <ref name="common-field-formula-attlist"/>
1474 <ref name="common-value-and-type-attlist"/>
1475 <ref name="common-field-display-value-none-attlist"/>
1476 <ref name="common-field-data-style-name-attlist"/>
1477 </interleave>
1478 <text/>
1479 </element>
1480 <element name="text:variable-get">
1481 <interleave>
1482 <ref name="common-field-name-attlist"/>
1483 <ref name="common-field-display-value-formula-attlist"/>
1484 <ref name="common-field-data-style-name-attlist"/>
1485 </interleave>
1486 <text/>
1487 </element>
1488 <element name="text:variable-input">
1489 <interleave>
1490 <ref name="common-field-name-attlist"/>
1491 <ref name="common-field-description-attlist"/>
1492 <ref name="common-value-type-attlist"/>
1493 <ref name="common-field-display-value-none-attlist"/>
1494 <ref name="common-field-data-style-name-attlist"/>
1495 </interleave>
1496 <text/>
1497 </element>
1498 <element name="text:user-field-get">
1499 <interleave>
1500 <ref name="common-field-name-attlist"/>
1501 <ref name="common-field-display-value-formula-none-attlist"/>
1502 <ref name="common-field-data-style-name-attlist"/>
1503 </interleave>
1504 <text/>
1505 </element>
1506 <element name="text:user-field-input">
1507 <interleave>
1508 <ref name="common-field-name-attlist"/>
1509 <ref name="common-field-description-attlist"/>
1510 <ref name="common-field-data-style-name-attlist"/>
1511 </interleave>
1512 <text/>
1513 </element>
1514 <element name="text:sequence">
1515 <interleave>
1516 <ref name="common-field-name-attlist"/>
1517 <ref name="common-field-formula-attlist"/>
1518 <ref name="common-field-num-format-attlist"/>
1519 <ref name="text-sequence-ref-name"/>
1520 </interleave>
1521 <text/>
1522 </element>
1523 <element name="text:expression">
1524 <interleave>
1525 <ref name="common-field-formula-attlist"/>
1526 <optional>
1527 <ref name="common-value-and-type-attlist"/>
1528 </optional>
1529 <ref name="common-field-display-value-formula-attlist"/>
1530 <ref name="common-field-data-style-name-attlist"/>
1531 </interleave>
1532 <text/>
1533 </element>
1534 <element name="text:text-input">
1535 <ref name="common-field-description-attlist"/>
1536 <text/>
1537 </element>
1538 <element name="text:initial-creator">
1539 <ref name="common-field-fixed-attlist"/>
1540 <text/>
1541 </element>
1542 <element name="text:creation-date">
1543 <interleave>
1544 <ref name="common-field-fixed-attlist"/>
1545 <ref name="common-field-data-style-name-attlist"/>
1546 <optional>
1547 <attribute name="text:date-value">
1548 <ref name="dateOrDateTime"/>
1549 </attribute>
1550 </optional>
1551 </interleave>
1552 <text/>
1553 </element>
1554 <element name="text:creation-time">
1555 <interleave>
1556 <ref name="common-field-fixed-attlist"/>
1557 <ref name="common-field-data-style-name-attlist"/>
1558 <optional>
1559 <attribute name="text:time-value">
1560 <ref name="timeOrDateTime"/>
1561 </attribute>
1562 </optional>
1563 </interleave>
1564 <text/>
1565 </element>
1566 <element name="text:description">
1567 <ref name="common-field-fixed-attlist"/>
1568 <text/>
1569 </element>
1570 <element name="text:user-defined">
1571 <interleave>
1572 <ref name="common-field-fixed-attlist"/>
1573 <attribute name="text:name">
1574 <ref name="string"/>
1575 </attribute>
1576 <ref name="common-field-data-style-name-attlist"/>
1577 <optional>
1578 <attribute name="office:value">
1579 <ref name="double"/>
1580 </attribute>
1581 </optional>
1582 <optional>
1583 <attribute name="office:date-value">
1584 <ref name="dateOrDateTime"/>
1585 </attribute>
1586 </optional>
1587 <optional>
1588 <attribute name="office:time-value">
1589 <ref name="duration"/>
1590 </attribute>
1591 </optional>
1592 <optional>
1593 <attribute name="office:boolean-value">
1594 <ref name="boolean"/>
1595 </attribute>
1596 </optional>
1597 <optional>
1598 <attribute name="office:string-value">
1599 <ref name="string"/>
1600 </attribute>
1601 </optional>
1602 </interleave>
1603 <text/>
1604 </element>
1605 <element name="text:print-time">
1606 <interleave>
1607 <ref name="common-field-fixed-attlist"/>
1608 <ref name="common-field-data-style-name-attlist"/>
1609 <optional>
1610 <attribute name="text:time-value">
1611 <ref name="time"/>
1612 </attribute>
1613 </optional>
1614 </interleave>
1615 <text/>
1616 </element>
1617 <element name="text:print-date">
1618 <interleave>
1619 <ref name="common-field-fixed-attlist"/>
1620 <ref name="common-field-data-style-name-attlist"/>
1621 <optional>
1622 <attribute name="text:date-value">
1623 <ref name="date"/>
1624 </attribute>
1625 </optional>
1626 </interleave>
1627 <text/>
1628 </element>
1629 <element name="text:printed-by">
1630 <ref name="common-field-fixed-attlist"/>
1631 <text/>
1632 </element>
1633 <element name="text:title">
1634 <ref name="common-field-fixed-attlist"/>
1635 <text/>
1636 </element>
1637 <element name="text:subject">
1638 <ref name="common-field-fixed-attlist"/>
1639 <text/>
1640 </element>
1641 <element name="text:keywords">
1642 <ref name="common-field-fixed-attlist"/>
1643 <text/>
1644 </element>
1645 <element name="text:editing-cycles">
1646 <ref name="common-field-fixed-attlist"/>
1647 <text/>
1648 </element>
1649 <element name="text:editing-duration">
1650 <interleave>
1651 <ref name="common-field-fixed-attlist"/>
1652 <ref name="common-field-data-style-name-attlist"/>
1653 <optional>
1654 <attribute name="text:duration">
1655 <ref name="duration"/>
1656 </attribute>
1657 </optional>
1658 </interleave>
1659 <text/>
1660 </element>
1661 <element name="text:modification-time">
1662 <interleave>
1663 <ref name="common-field-fixed-attlist"/>
1664 <ref name="common-field-data-style-name-attlist"/>
1665 <optional>
1666 <attribute name="text:time-value">
1667 <ref name="time"/>
1668 </attribute>
1669 </optional>
1670 </interleave>
1671 <text/>
1672 </element>
1673 <element name="text:modification-date">
1674 <interleave>
1675 <ref name="common-field-fixed-attlist"/>
1676 <ref name="common-field-data-style-name-attlist"/>
1677 <optional>
1678 <attribute name="text:date-value">
1679 <ref name="date"/>
1680 </attribute>
1681 </optional>
1682 </interleave>
1683 <text/>
1684 </element>
1685 <element name="text:creator">
1686 <ref name="common-field-fixed-attlist"/>
1687 <text/>
1688 </element>
1689 <element>
1690 <choice>
1691 <name>text:page-count</name>
1692 <name>text:paragraph-count</name>
1693 <name>text:word-count</name>
1694 <name>text:character-count</name>
1695 <name>text:table-count</name>
1696 <name>text:image-count</name>
1697 <name>text:object-count</name>
1698 </choice>
1699 <ref name="common-field-num-format-attlist"/>
1700 <text/>
1701 </element>
1702 <element name="text:database-display">
1703 <ref name="text-database-display-attlist"/>
1704 <text/>
1705 </element>
1706 <element name="text:database-next">
1707 <ref name="text-database-next-attlist"/>
1708 </element>
1709 <element name="text:database-row-select">
1710 <ref name="text-database-row-select-attlist"/>
1711 </element>
1712 <element name="text:database-row-number">
1713 <interleave>
1714 <ref name="common-field-database-table"/>
1715 <ref name="common-field-num-format-attlist"/>
1716 <optional>
1717 <attribute name="text:value">
1718 <ref name="nonNegativeInteger"/>
1719 </attribute>
1720 </optional>
1721 </interleave>
1722 <text/>
1723 </element>
1724 <element name="text:database-name">
1725 <ref name="common-field-database-table"/>
1726 <text/>
1727 </element>
1728 <element name="text:page-variable-set">
1729 <ref name="text-set-page-variable-attlist"/>
1730 <text/>
1731 </element>
1732 <element name="text:page-variable-get">
1733 <ref name="text-get-page-variable-attlist"/>
1734 <text/>
1735 </element>
1736 <element name="text:placeholder">
1737 <ref name="text-placeholder-attlist"/>
1738 <text/>
1739 </element>
1740 <element name="text:conditional-text">
1741 <ref name="text-conditional-text-attlist"/>
1742 <text/>
1743 </element>
1744 <element name="text:hidden-text">
1745 <ref name="text-hidden-text-attlist"/>
1746 <text/>
1747 </element>
1748 <element>
1749 <choice>
1750 <name>text:reference-ref</name>
1751 <name>text:bookmark-ref</name>
1752 </choice>
1753 <interleave>
1754 <ref name="text-common-ref-content"/>
1755 <ref name="text-bookmark-ref-content"/>
1756 </interleave>
1757 </element>
1758 <element name="text:note-ref">
1759 <interleave>
1760 <ref name="text-common-ref-content"/>
1761 <ref name="text-note-ref-content"/>
1762 </interleave>
1763 </element>
1764 <element name="text:sequence-ref">
1765 <interleave>
1766 <ref name="text-common-ref-content"/>
1767 <ref name="text-sequence-ref-content"/>
1768 </interleave>
1769 </element>
1770 <element name="text:script">
1771 <interleave>
1772 <choice>
1773 <group>
1774 <attribute name="xlink:type">
1775 <value>simple</value>
1776 </attribute>
1777 <attribute name="xlink:href">
1778 <ref name="anyIRI"/>
1779 </attribute>
1780 </group>
1781 <text/>
1782 </choice>
1783 <optional>
1784 <attribute name="script:language">
1785 <ref name="string"/>
1786 </attribute>
1787 </optional>
1788 </interleave>
1789 </element>
1790 <element name="text:execute-macro">
1791 <optional>
1792 <attribute name="text:name">
1793 <ref name="string"/>
1794 </attribute>
1795 </optional>
1796 <optional>
1797 <ref name="office-event-listeners"/>
1798 </optional>
1799 <text/>
1800 </element>
1801 <element name="text:hidden-paragraph">
1802 <ref name="text-hidden-paragraph-attlist"/>
1803 <text/>
1804 </element>
1805 <element name="text:dde-connection">
1806 <attribute name="text:connection-name">
1807 <ref name="string"/>
1808 </attribute>
1809 <text/>
1810 </element>
1811 <element name="text:measure">
1812 <attribute name="text:kind">
1813 <choice>
1814 <value>value</value>
1815 <value>unit</value>
1816 <value>gap</value>
1817 </choice>
1818 </attribute>
1819 <text/>
1820 </element>
1821 <element name="text:table-formula">
1822 <interleave>
1823 <ref name="common-field-formula-attlist"/>
1824 <ref name="common-field-display-value-formula-attlist"/>
1825 <ref name="common-field-data-style-name-attlist"/>
1826 </interleave>
1827 <text/>
1828 </element>
1829 <element name="text:meta-field">
1830 <ref name="text-meta-field-attlist"/>
1831 <zeroOrMore>
1832 <ref name="paragraph-content-or-hyperlink"/>
1833 </zeroOrMore>
1834 </element>
1835 <element name="text:toc-mark-start">
1836 <ref name="text-toc-mark-start-attrs"/>
1837 </element>
1838 <element name="text:toc-mark-end">
1839 <ref name="text-id"/>
1840 </element>
1841 <element name="text:toc-mark">
1842 <attribute name="text:string-value">
1843 <ref name="string"/>
1844 </attribute>
1845 <ref name="text-outline-level"/>
1846 </element>
1847 <element name="text:user-index-mark-start">
1848 <ref name="text-id"/>
1849 <ref name="text-outline-level"/>
1850 <ref name="text-index-name"/>
1851 </element>
1852 <element name="text:user-index-mark-end">
1853 <ref name="text-id"/>
1854 </element>
1855 <element name="text:user-index-mark">
1856 <attribute name="text:string-value">
1857 <ref name="string"/>
1858 </attribute>
1859 <ref name="text-outline-level"/>
1860 <ref name="text-index-name"/>
1861 </element>
1862 <element name="text:alphabetical-index-mark-start">
1863 <ref name="text-id"/>
1864 <ref name="text-alphabetical-index-mark-attrs"/>
1865 </element>
1866 <element name="text:alphabetical-index-mark-end">
1867 <ref name="text-id"/>
1868 </element>
1869 <element name="text:alphabetical-index-mark">
1870 <attribute name="text:string-value">
1871 <ref name="string"/>
1872 </attribute>
1873 <ref name="text-alphabetical-index-mark-attrs"/>
1874 </element>
1875 <element name="text:bibliography-mark">
1876 <attribute name="text:bibliography-type">
1877 <ref name="text-bibliography-types"/>
1878 </attribute>
1879 <zeroOrMore>
1880 <attribute>
1881 <choice>
1882 <name>text:identifier</name>
1883 <name>text:address</name>
1884 <name>text:annote</name>
1885 <name>text:author</name>
1886 <name>text:booktitle</name>
1887 <name>text:chapter</name>
1888 <name>text:edition</name>
1889 <name>text:editor</name>
1890 <name>text:howpublished</name>
1891 <name>text:institution</name>
1892 <name>text:journal</name>
1893 <name>text:month</name>
1894 <name>text:note</name>
1895 <name>text:number</name>
1896 <name>text:organizations</name>
1897 <name>text:pages</name>
1898 <name>text:publisher</name>
1899 <name>text:school</name>
1900 <name>text:series</name>
1901 <name>text:title</name>
1902 <name>text:report-type</name>
1903 <name>text:volume</name>
1904 <name>text:year</name>
1905 <name>text:url</name>
1906 <name>text:custom1</name>
1907 <name>text:custom2</name>
1908 <name>text:custom3</name>
1909 <name>text:custom4</name>
1910 <name>text:custom5</name>
1911 <name>text:isbn</name>
1912 <name>text:issn</name>
1913 </choice>
1914 <ref name="string"/>
1915 </attribute>
1916 </zeroOrMore>
1917 <text/>
1918 </element>
1919 <element name="presentation:header">
1920 <empty/>
1921 </element>
1922 <element name="presentation:footer">
1923 <empty/>
1924 </element>
1925 <element name="presentation:date-time">
1926 <empty/>
1927 </element>
1928 </choice>
1929 </define>
1930 <define name="text-tab-attr">
1931 <optional>
1932 <attribute name="text:tab-ref">
1933 <ref name="nonNegativeInteger"/>
1934 </attribute>
1935 </optional>
1936 </define>
1937 <define name="text-a">
1938 <element name="text:a">
1939 <ref name="text-a-attlist"/>
1940 <optional>
1941 <ref name="office-event-listeners"/>
1942 </optional>
1943 <zeroOrMore>
1944 <ref name="paragraph-content"/>
1945 </zeroOrMore>
1946 </element>
1947 </define>
1948 <define name="text-a-attlist">
1949 <interleave>
1950 <optional>
1951 <attribute name="office:name">
1952 <ref name="string"/>
1953 </attribute>
1954 </optional>
1955 <optional>
1956 <attribute name="office:title">
1957 <ref name="string"/>
1958 </attribute>
1959 </optional>
1960 <attribute name="xlink:type">
1961 <value>simple</value>
1962 </attribute>
1963 <attribute name="xlink:href">
1964 <ref name="anyIRI"/>
1965 </attribute>
1966 <optional>
1967 <attribute name="xlink:actuate">
1968 <value>onRequest</value>
1969 </attribute>
1970 </optional>
1971 <optional>
1972 <attribute name="office:target-frame-name">
1973 <ref name="targetFrameName"/>
1974 </attribute>
1975 </optional>
1976 <optional>
1977 <attribute name="xlink:show">
1978 <choice>
1979 <value>new</value>
1980 <value>replace</value>
1981 </choice>
1982 </attribute>
1983 </optional>
1984 <optional>
1985 <attribute name="text:style-name">
1986 <ref name="styleNameRef"/>
1987 </attribute>
1988 </optional>
1989 <optional>
1990 <attribute name="text:visited-style-name">
1991 <ref name="styleNameRef"/>
1992 </attribute>
1993 </optional>
1994 </interleave>
1995 </define>
1996 <define name="text-meta-attlist">
1997 <interleave>
1998 <optional>
1999 <ref name="common-in-content-meta-attlist"/>
2000 </optional>
2001 <optional>
2002 <ref name="xml-id"/>
2003 </optional>
2004 </interleave>
2005 </define>
2006 <define name="text-bookmark">
2007 <element name="text:bookmark">
2008 <ref name="text-bookmark-attlist"/>
2009 <empty/>
2010 </element>
2011 </define>
2012 <define name="text-bookmark-start">
2013 <element name="text:bookmark-start">
2014 <ref name="text-bookmark-start-attlist"/>
2015 <empty/>
2016 </element>
2017 </define>
2018 <define name="text-bookmark-end">
2019 <element name="text:bookmark-end">
2020 <ref name="text-bookmark-end-attlist"/>
2021 <empty/>
2022 </element>
2023 </define>
2024 <define name="text-bookmark-attlist">
2025 <interleave>
2026 <attribute name="text:name">
2027 <ref name="string"/>
2028 </attribute>
2029 <optional>
2030 <ref name="xml-id"/>
2031 </optional>
2032 </interleave>
2033 </define>
2034 <define name="text-bookmark-start-attlist">
2035 <interleave>
2036 <attribute name="text:name">
2037 <ref name="string"/>
2038 </attribute>
2039 <optional>
2040 <ref name="xml-id"/>
2041 </optional>
2042 <optional>
2043 <ref name="common-in-content-meta-attlist"/>
2044 </optional>
2045 </interleave>
2046 </define>
2047 <define name="text-bookmark-end-attlist">
2048 <attribute name="text:name">
2049 <ref name="string"/>
2050 </attribute>
2051 </define>
2052 <define name="text-note-class">
2053 <attribute name="text:note-class">
2054 <choice>
2055 <value>footnote</value>
2056 <value>endnote</value>
2057 </choice>
2058 </attribute>
2059 </define>
2060 <define name="text-date-attlist">
2061 <interleave>
2062 <interleave>
2063 <ref name="common-field-fixed-attlist"/>
2064 <ref name="common-field-data-style-name-attlist"/>
2065 </interleave>
2066 <optional>
2067 <attribute name="text:date-value">
2068 <ref name="dateOrDateTime"/>
2069 </attribute>
2070 </optional>
2071 <optional>
2072 <attribute name="text:date-adjust">
2073 <ref name="duration"/>
2074 </attribute>
2075 </optional>
2076 </interleave>
2077 </define>
2078 <define name="text-time-attlist">
2079 <interleave>
2080 <interleave>
2081 <ref name="common-field-fixed-attlist"/>
2082 <ref name="common-field-data-style-name-attlist"/>
2083 </interleave>
2084 <optional>
2085 <attribute name="text:time-value">
2086 <ref name="timeOrDateTime"/>
2087 </attribute>
2088 </optional>
2089 <optional>
2090 <attribute name="text:time-adjust">
2091 <ref name="duration"/>
2092 </attribute>
2093 </optional>
2094 </interleave>
2095 </define>
2096 <define name="text-page-number-attlist">
2097 <interleave>
2098 <interleave>
2099 <ref name="common-field-num-format-attlist"/>
2100 <ref name="common-field-fixed-attlist"/>
2101 </interleave>
2102 <optional>
2103 <attribute name="text:page-adjust">
2104 <ref name="integer"/>
2105 </attribute>
2106 </optional>
2107 <optional>
2108 <attribute name="text:select-page">
2109 <choice>
2110 <value>previous</value>
2111 <value>current</value>
2112 <value>next</value>
2113 </choice>
2114 </attribute>
2115 </optional>
2116 </interleave>
2117 </define>
2118 <define name="text-page-continuation-attlist">
2119 <interleave>
2120 <attribute name="text:select-page">
2121 <choice>
2122 <value>previous</value>
2123 <value>next</value>
2124 </choice>
2125 </attribute>
2126 <optional>
2127 <attribute name="text:string-value">
2128 <ref name="string"/>
2129 </attribute>
2130 </optional>
2131 </interleave>
2132 </define>
2133 <define name="text-chapter-attlist">
2134 <interleave>
2135 <attribute name="text:display">
2136 <choice>
2137 <value>name</value>
2138 <value>number</value>
2139 <value>number-and-name</value>
2140 <value>plain-number-and-name</value>
2141 <value>plain-number</value>
2142 </choice>
2143 </attribute>
2144 <attribute name="text:outline-level">
2145 <ref name="nonNegativeInteger"/>
2146 </attribute>
2147 </interleave>
2148 </define>
2149 <define name="text-file-name-attlist">
2150 <interleave>
2151 <optional>
2152 <attribute name="text:display">
2153 <choice>
2154 <value>full</value>
2155 <value>path</value>
2156 <value>name</value>
2157 <value>name-and-extension</value>
2158 </choice>
2159 </attribute>
2160 </optional>
2161 <ref name="common-field-fixed-attlist"/>
2162 </interleave>
2163 </define>
2164 <define name="text-template-name-attlist">
2165 <optional>
2166 <attribute name="text:display">
2167 <choice>
2168 <value>full</value>
2169 <value>path</value>
2170 <value>name</value>
2171 <value>name-and-extension</value>
2172 <value>area</value>
2173 <value>title</value>
2174 </choice>
2175 </attribute>
2176 </optional>
2177 </define>
2178 <define name="text-variable-decl">
2179 <element name="text:variable-decl">
2180 <ref name="common-field-name-attlist"/>
2181 <ref name="common-value-type-attlist"/>
2182 </element>
2183 </define>
2184 <define name="text-user-field-decl">
2185 <element name="text:user-field-decl">
2186 <ref name="common-field-name-attlist"/>
2187 <optional>
2188 <ref name="common-field-formula-attlist"/>
2189 </optional>
2190 <ref name="common-value-and-type-attlist"/>
2191 </element>
2192 </define>
2193 <define name="text-sequence-decl">
2194 <element name="text:sequence-decl">
2195 <ref name="text-sequence-decl-attlist"/>
2196 </element>
2197 </define>
2198 <define name="text-sequence-decl-attlist">
2199 <interleave>
2200 <ref name="common-field-name-attlist"/>
2201 <attribute name="text:display-outline-level">
2202 <ref name="nonNegativeInteger"/>
2203 </attribute>
2204 <optional>
2205 <attribute name="text:separation-character">
2206 <ref name="character"/>
2207 </attribute>
2208 </optional>
2209 </interleave>
2210 </define>
2211 <define name="text-sequence-ref-name">
2212 <optional>
2213 <attribute name="text:ref-name">
2214 <ref name="string"/>
2215 </attribute>
2216 </optional>
2217 </define>
2218 <define name="common-field-database-table">
2219 <ref name="common-field-database-table-attlist"/>
2220 <ref name="common-field-database-name"/>
2221 </define>
2222 <define name="common-field-database-name">
2223 <choice>
2224 <optional>
2225 <attribute name="text:database-name">
2226 <ref name="string"/>
2227 </attribute>
2228 </optional>
2229 <ref name="form-connection-resource"/>
2230 </choice>
2231 </define>
2232 <define name="common-field-database-table-attlist">
2233 <interleave>
2234 <attribute name="text:table-name">
2235 <ref name="string"/>
2236 </attribute>
2237 <optional>
2238 <attribute name="text:table-type">
2239 <choice>
2240 <value>table</value>
2241 <value>query</value>
2242 <value>command</value>
2243 </choice>
2244 </attribute>
2245 </optional>
2246 </interleave>
2247 </define>
2248 <define name="text-database-display-attlist">
2249 <interleave>
2250 <ref name="common-field-database-table"/>
2251 <ref name="common-field-data-style-name-attlist"/>
2252 <attribute name="text:column-name">
2253 <ref name="string"/>
2254 </attribute>
2255 </interleave>
2256 </define>
2257 <define name="text-database-next-attlist">
2258 <interleave>
2259 <ref name="common-field-database-table"/>
2260 <optional>
2261 <attribute name="text:condition">
2262 <ref name="string"/>
2263 </attribute>
2264 </optional>
2265 </interleave>
2266 </define>
2267 <define name="text-database-row-select-attlist">
2268 <interleave>
2269 <ref name="common-field-database-table"/>
2270 <optional>
2271 <attribute name="text:condition">
2272 <ref name="string"/>
2273 </attribute>
2274 </optional>
2275 <optional>
2276 <attribute name="text:row-number">
2277 <ref name="nonNegativeInteger"/>
2278 </attribute>
2279 </optional>
2280 </interleave>
2281 </define>
2282 <define name="text-set-page-variable-attlist">
2283 <interleave>
2284 <optional>
2285 <attribute name="text:active">
2286 <ref name="boolean"/>
2287 </attribute>
2288 </optional>
2289 <optional>
2290 <attribute name="text:page-adjust">
2291 <ref name="integer"/>
2292 </attribute>
2293 </optional>
2294 </interleave>
2295 </define>
2296 <define name="text-get-page-variable-attlist">
2297 <ref name="common-field-num-format-attlist"/>
2298 </define>
2299 <define name="text-placeholder-attlist">
2300 <interleave>
2301 <attribute name="text:placeholder-type">
2302 <choice>
2303 <value>text</value>
2304 <value>table</value>
2305 <value>text-box</value>
2306 <value>image</value>
2307 <value>object</value>
2308 </choice>
2309 </attribute>
2310 <ref name="common-field-description-attlist"/>
2311 </interleave>
2312 </define>
2313 <define name="text-conditional-text-attlist">
2314 <interleave>
2315 <attribute name="text:condition">
2316 <ref name="string"/>
2317 </attribute>
2318 <attribute name="text:string-value-if-true">
2319 <ref name="string"/>
2320 </attribute>
2321 <attribute name="text:string-value-if-false">
2322 <ref name="string"/>
2323 </attribute>
2324 <optional>
2325 <attribute name="text:current-value">
2326 <ref name="boolean"/>
2327 </attribute>
2328 </optional>
2329 </interleave>
2330 </define>
2331 <define name="text-hidden-text-attlist">
2332 <interleave>
2333 <attribute name="text:condition">
2334 <ref name="string"/>
2335 </attribute>
2336 <attribute name="text:string-value">
2337 <ref name="string"/>
2338 </attribute>
2339 <optional>
2340 <attribute name="text:is-hidden">
2341 <ref name="boolean"/>
2342 </attribute>
2343 </optional>
2344 </interleave>
2345 </define>
2346 <define name="text-common-ref-content">
2347 <interleave>
2348 <text/>
2349 <optional>
2350 <attribute name="text:ref-name">
2351 <ref name="string"/>
2352 </attribute>
2353 </optional>
2354 </interleave>
2355 </define>
2356 <define name="text-bookmark-ref-content">
2357 <optional>
2358 <attribute name="text:reference-format">
2359 <choice>
2360 <ref name="common-ref-format-values"/>
2361 <value>number-no-superior</value>
2362 <value>number-all-superior</value>
2363 <value>number</value>
2364 </choice>
2365 </attribute>
2366 </optional>
2367 </define>
2368 <define name="text-note-ref-content">
2369 <interleave>
2370 <optional>
2371 <attribute name="text:reference-format">
2372 <choice>
2373 <ref name="common-ref-format-values"/>
2374 </choice>
2375 </attribute>
2376 </optional>
2377 <ref name="text-note-class"/>
2378 </interleave>
2379 </define>
2380 <define name="text-sequence-ref-content">
2381 <optional>
2382 <attribute name="text:reference-format">
2383 <choice>
2384 <ref name="common-ref-format-values"/>
2385 <value>category-and-value</value>
2386 <value>caption</value>
2387 <value>value</value>
2388 </choice>
2389 </attribute>
2390 </optional>
2391 </define>
2392 <define name="common-ref-format-values">
2393 <choice>
2394 <value>page</value>
2395 <value>chapter</value>
2396 <value>direction</value>
2397 <value>text</value>
2398 </choice>
2399 </define>
2400 <define name="text-hidden-paragraph-attlist">
2401 <interleave>
2402 <attribute name="text:condition">
2403 <ref name="string"/>
2404 </attribute>
2405 <optional>
2406 <attribute name="text:is-hidden">
2407 <ref name="boolean"/>
2408 </attribute>
2409 </optional>
2410 </interleave>
2411 </define>
2412 <define name="text-meta-field-attlist">
2413 <interleave>
2414 <ref name="xml-id"/>
2415 <ref name="common-field-data-style-name-attlist"/>
2416 </interleave>
2417 </define>
2418 <define name="common-value-type-attlist">
2419 <attribute name="office:value-type">
2420 <ref name="valueType"/>
2421 </attribute>
2422 </define>
2423 <define name="common-value-and-type-attlist">
2424 <choice>
2425 <group>
2426 <attribute name="office:value-type">
2427 <value>float</value>
2428 </attribute>
2429 <attribute name="office:value">
2430 <ref name="double"/>
2431 </attribute>
2432 </group>
2433 <group>
2434 <attribute name="office:value-type">
2435 <value>percentage</value>
2436 </attribute>
2437 <attribute name="office:value">
2438 <ref name="double"/>
2439 </attribute>
2440 </group>
2441 <group>
2442 <attribute name="office:value-type">
2443 <value>currency</value>
2444 </attribute>
2445 <attribute name="office:value">
2446 <ref name="double"/>
2447 </attribute>
2448 <optional>
2449 <attribute name="office:currency">
2450 <ref name="string"/>
2451 </attribute>
2452 </optional>
2453 </group>
2454 <group>
2455 <attribute name="office:value-type">
2456 <value>date</value>
2457 </attribute>
2458 <attribute name="office:date-value">
2459 <ref name="dateOrDateTime"/>
2460 </attribute>
2461 </group>
2462 <group>
2463 <attribute name="office:value-type">
2464 <value>time</value>
2465 </attribute>
2466 <attribute name="office:time-value">
2467 <ref name="duration"/>
2468 </attribute>
2469 </group>
2470 <group>
2471 <attribute name="office:value-type">
2472 <value>boolean</value>
2473 </attribute>
2474 <attribute name="office:boolean-value">
2475 <ref name="boolean"/>
2476 </attribute>
2477 </group>
2478 <group>
2479 <attribute name="office:value-type">
2480 <value>string</value>
2481 </attribute>
2482 <optional>
2483 <attribute name="office:string-value">
2484 <ref name="string"/>
2485 </attribute>
2486 </optional>
2487 </group>
2488 </choice>
2489 </define>
2490 <define name="common-field-fixed-attlist">
2491 <optional>
2492 <attribute name="text:fixed">
2493 <ref name="boolean"/>
2494 </attribute>
2495 </optional>
2496 </define>
2497 <define name="common-field-name-attlist">
2498 <attribute name="text:name">
2499 <ref name="variableName"/>
2500 </attribute>
2501 </define>
2502 <define name="common-field-description-attlist">
2503 <optional>
2504 <attribute name="text:description">
2505 <ref name="string"/>
2506 </attribute>
2507 </optional>
2508 </define>
2509 <define name="common-field-display-value-none-attlist">
2510 <optional>
2511 <attribute name="text:display">
2512 <choice>
2513 <value>value</value>
2514 <value>none</value>
2515 </choice>
2516 </attribute>
2517 </optional>
2518 </define>
2519 <define name="common-field-display-value-formula-none-attlist">
2520 <optional>
2521 <attribute name="text:display">
2522 <choice>
2523 <value>value</value>
2524 <value>formula</value>
2525 <value>none</value>
2526 </choice>
2527 </attribute>
2528 </optional>
2529 </define>
2530 <define name="common-field-display-value-formula-attlist">
2531 <optional>
2532 <attribute name="text:display">
2533 <choice>
2534 <value>value</value>
2535 <value>formula</value>
2536 </choice>
2537 </attribute>
2538 </optional>
2539 </define>
2540 <define name="common-field-formula-attlist">
2541 <optional>
2542 <attribute name="text:formula">
2543 <ref name="string"/>
2544 </attribute>
2545 </optional>
2546 </define>
2547 <define name="common-field-data-style-name-attlist">
2548 <optional>
2549 <attribute name="style:data-style-name">
2550 <ref name="styleNameRef"/>
2551 </attribute>
2552 </optional>
2553 </define>
2554 <define name="common-field-num-format-attlist">
2555 <optional>
2556 <ref name="common-num-format-attlist"/>
2557 </optional>
2558 </define>
2559 <define name="text-toc-mark-start-attrs">
2560 <ref name="text-id"/>
2561 <ref name="text-outline-level"/>
2562 </define>
2563 <define name="text-outline-level">
2564 <optional>
2565 <attribute name="text:outline-level">
2566 <ref name="positiveInteger"/>
2567 </attribute>
2568 </optional>
2569 </define>
2570 <define name="text-id">
2571 <attribute name="text:id">
2572 <ref name="string"/>
2573 </attribute>
2574 </define>
2575 <define name="text-index-name">
2576 <attribute name="text:index-name">
2577 <ref name="string"/>
2578 </attribute>
2579 </define>
2580 <define name="text-alphabetical-index-mark-attrs">
2581 <interleave>
2582 <optional>
2583 <attribute name="text:key1">
2584 <ref name="string"/>
2585 </attribute>
2586 </optional>
2587 <optional>
2588 <attribute name="text:key2">
2589 <ref name="string"/>
2590 </attribute>
2591 </optional>
2592 <optional>
2593 <attribute name="text:string-value-phonetic">
2594 <ref name="string"/>
2595 </attribute>
2596 </optional>
2597 <optional>
2598 <attribute name="text:key1-phonetic">
2599 <ref name="string"/>
2600 </attribute>
2601 </optional>
2602 <optional>
2603 <attribute name="text:key2-phonetic">
2604 <ref name="string"/>
2605 </attribute>
2606 </optional>
2607 <optional>
2608 <attribute name="text:main-entry">
2609 <ref name="boolean"/>
2610 </attribute>
2611 </optional>
2612 </interleave>
2613 </define>
2614 <define name="text-bibliography-types">
2615 <choice>
2616 <value>article</value>
2617 <value>book</value>
2618 <value>booklet</value>
2619 <value>conference</value>
2620 <value>custom1</value>
2621 <value>custom2</value>
2622 <value>custom3</value>
2623 <value>custom4</value>
2624 <value>custom5</value>
2625 <value>email</value>
2626 <value>inbook</value>
2627 <value>incollection</value>
2628 <value>inproceedings</value>
2629 <value>journal</value>
2630 <value>manual</value>
2631 <value>mastersthesis</value>
2632 <value>misc</value>
2633 <value>phdthesis</value>
2634 <value>proceedings</value>
2635 <value>techreport</value>
2636 <value>unpublished</value>
2637 <value>www</value>
2638 </choice>
2639 </define>
2640 <define name="text-index-body">
2641 <element name="text:index-body">
2642 <zeroOrMore>
2643 <ref name="index-content-main"/>
2644 </zeroOrMore>
2645 </element>
2646 </define>
2647 <define name="index-content-main">
2648 <choice>
2649 <ref name="text-content"/>
2650 <ref name="text-index-title"/>
2651 </choice>
2652 </define>
2653 <define name="text-index-title">
2654 <element name="text:index-title">
2655 <ref name="common-section-attlist"/>
2656 <zeroOrMore>
2657 <ref name="index-content-main"/>
2658 </zeroOrMore>
2659 </element>
2660 </define>
2661 <define name="text-table-of-content">
2662 <element name="text:table-of-content">
2663 <ref name="common-section-attlist"/>
2664 <ref name="text-table-of-content-source"/>
2665 <ref name="text-index-body"/>
2666 </element>
2667 </define>
2668 <define name="text-table-of-content-source">
2669 <element name="text:table-of-content-source">
2670 <ref name="text-table-of-content-source-attlist"/>
2671 <optional>
2672 <ref name="text-index-title-template"/>
2673 </optional>
2674 <zeroOrMore>
2675 <ref name="text-table-of-content-entry-template"/>
2676 </zeroOrMore>
2677 <zeroOrMore>
2678 <ref name="text-index-source-styles"/>
2679 </zeroOrMore>
2680 </element>
2681 </define>
2682 <define name="text-table-of-content-source-attlist">
2683 <interleave>
2684 <optional>
2685 <attribute name="text:outline-level">
2686 <ref name="positiveInteger"/>
2687 </attribute>
2688 </optional>
2689 <optional>
2690 <attribute name="text:use-outline-level">
2691 <ref name="boolean"/>
2692 </attribute>
2693 </optional>
2694 <optional>
2695 <attribute name="text:use-index-marks">
2696 <ref name="boolean"/>
2697 </attribute>
2698 </optional>
2699 <optional>
2700 <attribute name="text:use-index-source-styles">
2701 <ref name="boolean"/>
2702 </attribute>
2703 </optional>
2704 <optional>
2705 <attribute name="text:index-scope">
2706 <choice>
2707 <value>document</value>
2708 <value>chapter</value>
2709 </choice>
2710 </attribute>
2711 </optional>
2712 <optional>
2713 <attribute name="text:relative-tab-stop-position">
2714 <ref name="boolean"/>
2715 </attribute>
2716 </optional>
2717 </interleave>
2718 </define>
2719 <define name="text-table-of-content-entry-template">
2720 <element name="text:table-of-content-entry-template">
2721 <ref name="text-table-of-content-entry-template-attlist"/>
2722 <zeroOrMore>
2723 <ref name="text-table-of-content-children"/>
2724 </zeroOrMore>
2725 </element>
2726 </define>
2727 <define name="text-table-of-content-children">
2728 <choice>
2729 <ref name="text-index-entry-chapter"/>
2730 <ref name="text-index-entry-page-number"/>
2731 <ref name="text-index-entry-text"/>
2732 <ref name="text-index-entry-span"/>
2733 <ref name="text-index-entry-tab-stop"/>
2734 <ref name="text-index-entry-link-start"/>
2735 <ref name="text-index-entry-link-end"/>
2736 </choice>
2737 </define>
2738 <define name="text-table-of-content-entry-template-attlist">
2739 <interleave>
2740 <attribute name="text:outline-level">
2741 <ref name="positiveInteger"/>
2742 </attribute>
2743 <attribute name="text:style-name">
2744 <ref name="styleNameRef"/>
2745 </attribute>
2746 </interleave>
2747 </define>
2748 <define name="text-illustration-index">
2749 <element name="text:illustration-index">
2750 <ref name="common-section-attlist"/>
2751 <ref name="text-illustration-index-source"/>
2752 <ref name="text-index-body"/>
2753 </element>
2754 </define>
2755 <define name="text-illustration-index-source">
2756 <element name="text:illustration-index-source">
2757 <ref name="text-illustration-index-source-attrs"/>
2758 <optional>
2759 <ref name="text-index-title-template"/>
2760 </optional>
2761 <optional>
2762 <ref name="text-illustration-index-entry-template"/>
2763 </optional>
2764 </element>
2765 </define>
2766 <define name="text-illustration-index-source-attrs">
2767 <interleave>
2768 <ref name="text-index-scope-attr"/>
2769 <ref name="text-relative-tab-stop-position-attr"/>
2770 <optional>
2771 <attribute name="text:use-caption">
2772 <ref name="boolean"/>
2773 </attribute>
2774 </optional>
2775 <optional>
2776 <attribute name="text:caption-sequence-name">
2777 <ref name="string"/>
2778 </attribute>
2779 </optional>
2780 <optional>
2781 <attribute name="text:caption-sequence-format">
2782 <choice>
2783 <value>text</value>
2784 <value>category-and-value</value>
2785 <value>caption</value>
2786 </choice>
2787 </attribute>
2788 </optional>
2789 </interleave>
2790 </define>
2791 <define name="text-index-scope-attr">
2792 <optional>
2793 <attribute name="text:index-scope">
2794 <choice>
2795 <value>document</value>
2796 <value>chapter</value>
2797 </choice>
2798 </attribute>
2799 </optional>
2800 </define>
2801 <define name="text-relative-tab-stop-position-attr">
2802 <optional>
2803 <attribute name="text:relative-tab-stop-position">
2804 <ref name="boolean"/>
2805 </attribute>
2806 </optional>
2807 </define>
2808 <define name="text-illustration-index-entry-template">
2809 <element name="text:illustration-index-entry-template">
2810 <ref name="text-illustration-index-entry-content"/>
2811 </element>
2812 </define>
2813 <define name="text-illustration-index-entry-content">
2814 <ref name="text-illustration-index-entry-template-attrs"/>
2815 <zeroOrMore>
2816 <choice>
2817 <ref name="text-index-entry-chapter"/>
2818 <ref name="text-index-entry-page-number"/>
2819 <ref name="text-index-entry-text"/>
2820 <ref name="text-index-entry-span"/>
2821 <ref name="text-index-entry-tab-stop"/>
2822 </choice>
2823 </zeroOrMore>
2824 </define>
2825 <define name="text-illustration-index-entry-template-attrs">
2826 <attribute name="text:style-name">
2827 <ref name="styleNameRef"/>
2828 </attribute>
2829 </define>
2830 <define name="text-table-index">
2831 <element name="text:table-index">
2832 <ref name="common-section-attlist"/>
2833 <ref name="text-table-index-source"/>
2834 <ref name="text-index-body"/>
2835 </element>
2836 </define>
2837 <define name="text-table-index-source">
2838 <element name="text:table-index-source">
2839 <ref name="text-illustration-index-source-attrs"/>
2840 <optional>
2841 <ref name="text-index-title-template"/>
2842 </optional>
2843 <optional>
2844 <ref name="text-table-index-entry-template"/>
2845 </optional>
2846 </element>
2847 </define>
2848 <define name="text-table-index-entry-template">
2849 <element name="text:table-index-entry-template">
2850 <ref name="text-illustration-index-entry-content"/>
2851 </element>
2852 </define>
2853 <define name="text-object-index">
2854 <element name="text:object-index">
2855 <ref name="common-section-attlist"/>
2856 <ref name="text-object-index-source"/>
2857 <ref name="text-index-body"/>
2858 </element>
2859 </define>
2860 <define name="text-object-index-source">
2861 <element name="text:object-index-source">
2862 <ref name="text-object-index-source-attrs"/>
2863 <optional>
2864 <ref name="text-index-title-template"/>
2865 </optional>
2866 <optional>
2867 <ref name="text-object-index-entry-template"/>
2868 </optional>
2869 </element>
2870 </define>
2871 <define name="text-object-index-source-attrs">
2872 <interleave>
2873 <ref name="text-index-scope-attr"/>
2874 <ref name="text-relative-tab-stop-position-attr"/>
2875 <optional>
2876 <attribute name="text:use-spreadsheet-objects">
2877 <ref name="boolean"/>
2878 </attribute>
2879 </optional>
2880 <optional>
2881 <attribute name="text:use-math-objects">
2882 <ref name="boolean"/>
2883 </attribute>
2884 </optional>
2885 <optional>
2886 <attribute name="text:use-draw-objects">
2887 <ref name="boolean"/>
2888 </attribute>
2889 </optional>
2890 <optional>
2891 <attribute name="text:use-chart-objects">
2892 <ref name="boolean"/>
2893 </attribute>
2894 </optional>
2895 <optional>
2896 <attribute name="text:use-other-objects">
2897 <ref name="boolean"/>
2898 </attribute>
2899 </optional>
2900 </interleave>
2901 </define>
2902 <define name="text-object-index-entry-template">
2903 <element name="text:object-index-entry-template">
2904 <ref name="text-illustration-index-entry-content"/>
2905 </element>
2906 </define>
2907 <define name="text-user-index">
2908 <element name="text:user-index">
2909 <ref name="common-section-attlist"/>
2910 <ref name="text-user-index-source"/>
2911 <ref name="text-index-body"/>
2912 </element>
2913 </define>
2914 <define name="text-user-index-source">
2915 <element name="text:user-index-source">
2916 <ref name="text-user-index-source-attr"/>
2917 <optional>
2918 <ref name="text-index-title-template"/>
2919 </optional>
2920 <zeroOrMore>
2921 <ref name="text-user-index-entry-template"/>
2922 </zeroOrMore>
2923 <zeroOrMore>
2924 <ref name="text-index-source-styles"/>
2925 </zeroOrMore>
2926 </element>
2927 </define>
2928 <define name="text-user-index-source-attr">
2929 <interleave>
2930 <ref name="text-index-scope-attr"/>
2931 <ref name="text-relative-tab-stop-position-attr"/>
2932 <optional>
2933 <attribute name="text:use-index-marks">
2934 <ref name="boolean"/>
2935 </attribute>
2936 </optional>
2937 <optional>
2938 <attribute name="text:use-index-source-styles">
2939 <ref name="boolean"/>
2940 </attribute>
2941 </optional>
2942 <optional>
2943 <attribute name="text:use-graphics">
2944 <ref name="boolean"/>
2945 </attribute>
2946 </optional>
2947 <optional>
2948 <attribute name="text:use-tables">
2949 <ref name="boolean"/>
2950 </attribute>
2951 </optional>
2952 <optional>
2953 <attribute name="text:use-floating-frames">
2954 <ref name="boolean"/>
2955 </attribute>
2956 </optional>
2957 <optional>
2958 <attribute name="text:use-objects">
2959 <ref name="boolean"/>
2960 </attribute>
2961 </optional>
2962 <optional>
2963 <attribute name="text:copy-outline-levels">
2964 <ref name="boolean"/>
2965 </attribute>
2966 </optional>
2967 <attribute name="text:index-name">
2968 <ref name="string"/>
2969 </attribute>
2970 </interleave>
2971 </define>
2972 <define name="text-user-index-entry-template">
2973 <element name="text:user-index-entry-template">
2974 <ref name="text-user-index-entry-template-attrs"/>
2975 <zeroOrMore>
2976 <choice>
2977 <ref name="text-index-entry-chapter"/>
2978 <ref name="text-index-entry-page-number"/>
2979 <ref name="text-index-entry-text"/>
2980 <ref name="text-index-entry-span"/>
2981 <ref name="text-index-entry-tab-stop"/>
2982 </choice>
2983 </zeroOrMore>
2984 </element>
2985 </define>
2986 <define name="text-user-index-entry-template-attrs">
2987 <interleave>
2988 <attribute name="text:outline-level">
2989 <ref name="positiveInteger"/>
2990 </attribute>
2991 <attribute name="text:style-name">
2992 <ref name="styleNameRef"/>
2993 </attribute>
2994 </interleave>
2995 </define>
2996 <define name="text-alphabetical-index">
2997 <element name="text:alphabetical-index">
2998 <ref name="common-section-attlist"/>
2999 <ref name="text-alphabetical-index-source"/>
3000 <ref name="text-index-body"/>
3001 </element>
3002 </define>
3003 <define name="text-alphabetical-index-source">
3004 <element name="text:alphabetical-index-source">
3005 <ref name="text-alphabetical-index-source-attrs"/>
3006 <optional>
3007 <ref name="text-index-title-template"/>
3008 </optional>
3009 <zeroOrMore>
3010 <ref name="text-alphabetical-index-entry-template"/>
3011 </zeroOrMore>
3012 </element>
3013 </define>
3014 <define name="text-alphabetical-index-source-attrs">
3015 <interleave>
3016 <ref name="text-index-scope-attr"/>
3017 <ref name="text-relative-tab-stop-position-attr"/>
3018 <optional>
3019 <attribute name="text:ignore-case">
3020 <ref name="boolean"/>
3021 </attribute>
3022 </optional>
3023 <optional>
3024 <attribute name="text:main-entry-style-name">
3025 <ref name="styleNameRef"/>
3026 </attribute>
3027 </optional>
3028 <optional>
3029 <attribute name="text:alphabetical-separators">
3030 <ref name="boolean"/>
3031 </attribute>
3032 </optional>
3033 <optional>
3034 <attribute name="text:combine-entries">
3035 <ref name="boolean"/>
3036 </attribute>
3037 </optional>
3038 <optional>
3039 <attribute name="text:combine-entries-with-dash">
3040 <ref name="boolean"/>
3041 </attribute>
3042 </optional>
3043 <optional>
3044 <attribute name="text:combine-entries-with-pp">
3045 <ref name="boolean"/>
3046 </attribute>
3047 </optional>
3048 <optional>
3049 <attribute name="text:use-keys-as-entries">
3050 <ref name="boolean"/>
3051 </attribute>
3052 </optional>
3053 <optional>
3054 <attribute name="text:capitalize-entries">
3055 <ref name="boolean"/>
3056 </attribute>
3057 </optional>
3058 <optional>
3059 <attribute name="text:comma-separated">
3060 <ref name="boolean"/>
3061 </attribute>
3062 </optional>
3063 <optional>
3064 <attribute name="fo:language">
3065 <ref name="languageCode"/>
3066 </attribute>
3067 </optional>
3068 <optional>
3069 <attribute name="fo:country">
3070 <ref name="countryCode"/>
3071 </attribute>
3072 </optional>
3073 <optional>
3074 <attribute name="fo:script">
3075 <ref name="scriptCode"/>
3076 </attribute>
3077 </optional>
3078 <optional>
3079 <attribute name="style:rfc-language-tag">
3080 <ref name="language"/>
3081 </attribute>
3082 </optional>
3083 <optional>
3084 <attribute name="text:sort-algorithm">
3085 <ref name="string"/>
3086 </attribute>
3087 </optional>
3088 </interleave>
3089 </define>
3090 <define name="text-alphabetical-index-auto-mark-file">
3091 <element name="text:alphabetical-index-auto-mark-file">
3092 <attribute name="xlink:type">
3093 <value>simple</value>
3094 </attribute>
3095 <attribute name="xlink:href">
3096 <ref name="anyIRI"/>
3097 </attribute>
3098 </element>
3099 </define>
3100 <define name="text-alphabetical-index-entry-template">
3101 <element name="text:alphabetical-index-entry-template">
3102 <ref name="text-alphabetical-index-entry-template-attrs"/>
3103 <zeroOrMore>
3104 <choice>
3105 <ref name="text-index-entry-chapter"/>
3106 <ref name="text-index-entry-page-number"/>
3107 <ref name="text-index-entry-text"/>
3108 <ref name="text-index-entry-span"/>
3109 <ref name="text-index-entry-tab-stop"/>
3110 </choice>
3111 </zeroOrMore>
3112 </element>
3113 </define>
3114 <define name="text-alphabetical-index-entry-template-attrs">
3115 <interleave>
3116 <attribute name="text:outline-level">
3117 <choice>
3118 <value>1</value>
3119 <value>2</value>
3120 <value>3</value>
3121 <value>separator</value>
3122 </choice>
3123 </attribute>
3124 <attribute name="text:style-name">
3125 <ref name="styleNameRef"/>
3126 </attribute>
3127 </interleave>
3128 </define>
3129 <define name="text-bibliography">
3130 <element name="text:bibliography">
3131 <ref name="common-section-attlist"/>
3132 <ref name="text-bibliography-source"/>
3133 <ref name="text-index-body"/>
3134 </element>
3135 </define>
3136 <define name="text-bibliography-source">
3137 <element name="text:bibliography-source">
3138 <optional>
3139 <ref name="text-index-title-template"/>
3140 </optional>
3141 <zeroOrMore>
3142 <ref name="text-bibliography-entry-template"/>
3143 </zeroOrMore>
3144 </element>
3145 </define>
3146 <define name="text-bibliography-entry-template">
3147 <element name="text:bibliography-entry-template">
3148 <ref name="text-bibliography-entry-template-attrs"/>
3149 <zeroOrMore>
3150 <choice>
3151 <ref name="text-index-entry-span"/>
3152 <ref name="text-index-entry-tab-stop"/>
3153 <ref name="text-index-entry-bibliography"/>
3154 </choice>
3155 </zeroOrMore>
3156 </element>
3157 </define>
3158 <define name="text-bibliography-entry-template-attrs">
3159 <interleave>
3160 <attribute name="text:bibliography-type">
3161 <ref name="text-bibliography-types"/>
3162 </attribute>
3163 <attribute name="text:style-name">
3164 <ref name="styleNameRef"/>
3165 </attribute>
3166 </interleave>
3167 </define>
3168 <define name="text-index-source-styles">
3169 <element name="text:index-source-styles">
3170 <attribute name="text:outline-level">
3171 <ref name="positiveInteger"/>
3172 </attribute>
3173 <zeroOrMore>
3174 <ref name="text-index-source-style"/>
3175 </zeroOrMore>
3176 </element>
3177 </define>
3178 <define name="text-index-source-style">
3179 <element name="text:index-source-style">
3180 <attribute name="text:style-name">
3181 <ref name="styleName"/>
3182 </attribute>
3183 <empty/>
3184 </element>
3185 </define>
3186 <define name="text-index-title-template">
3187 <element name="text:index-title-template">
3188 <optional>
3189 <attribute name="text:style-name">
3190 <ref name="styleNameRef"/>
3191 </attribute>
3192 </optional>
3193 <text/>
3194 </element>
3195 </define>
3196 <define name="text-index-entry-chapter">
3197 <element name="text:index-entry-chapter">
3198 <optional>
3199 <attribute name="text:style-name">
3200 <ref name="styleNameRef"/>
3201 </attribute>
3202 </optional>
3203 <ref name="text-index-entry-chapter-attrs"/>
3204 </element>
3205 </define>
3206 <define name="text-index-entry-chapter-attrs">
3207 <interleave>
3208 <optional>
3209 <attribute name="text:display">
3210 <choice>
3211 <value>name</value>
3212 <value>number</value>
3213 <value>number-and-name</value>
3214 <value>plain-number</value>
3215 <value>plain-number-and-name</value>
3216 </choice>
3217 </attribute>
3218 </optional>
3219 <optional>
3220 <attribute name="text:outline-level">
3221 <ref name="positiveInteger"/>
3222 </attribute>
3223 </optional>
3224 </interleave>
3225 </define>
3226 <define name="text-index-entry-text">
3227 <element name="text:index-entry-text">
3228 <optional>
3229 <attribute name="text:style-name">
3230 <ref name="styleNameRef"/>
3231 </attribute>
3232 </optional>
3233 </element>
3234 </define>
3235 <define name="text-index-entry-page-number">
3236 <element name="text:index-entry-page-number">
3237 <optional>
3238 <attribute name="text:style-name">
3239 <ref name="styleNameRef"/>
3240 </attribute>
3241 </optional>
3242 </element>
3243 </define>
3244 <define name="text-index-entry-span">
3245 <element name="text:index-entry-span">
3246 <optional>
3247 <attribute name="text:style-name">
3248 <ref name="styleNameRef"/>
3249 </attribute>
3250 </optional>
3251 <text/>
3252 </element>
3253 </define>
3254 <define name="text-index-entry-bibliography">
3255 <element name="text:index-entry-bibliography">
3256 <ref name="text-index-entry-bibliography-attrs"/>
3257 </element>
3258 </define>
3259 <define name="text-index-entry-bibliography-attrs">
3260 <interleave>
3261 <optional>
3262 <attribute name="text:style-name">
3263 <ref name="styleNameRef"/>
3264 </attribute>
3265 </optional>
3266 <attribute name="text:bibliography-data-field">
3267 <choice>
3268 <value>address</value>
3269 <value>annote</value>
3270 <value>author</value>
3271 <value>bibliography-type</value>
3272 <value>booktitle</value>
3273 <value>chapter</value>
3274 <value>custom1</value>
3275 <value>custom2</value>
3276 <value>custom3</value>
3277 <value>custom4</value>
3278 <value>custom5</value>
3279 <value>edition</value>
3280 <value>editor</value>
3281 <value>howpublished</value>
3282 <value>identifier</value>
3283 <value>institution</value>
3284 <value>isbn</value>
3285 <value>issn</value>
3286 <value>journal</value>
3287 <value>month</value>
3288 <value>note</value>
3289 <value>number</value>
3290 <value>organizations</value>
3291 <value>pages</value>
3292 <value>publisher</value>
3293 <value>report-type</value>
3294 <value>school</value>
3295 <value>series</value>
3296 <value>title</value>
3297 <value>url</value>
3298 <value>volume</value>
3299 <value>year</value>
3300 </choice>
3301 </attribute>
3302 </interleave>
3303 </define>
3304 <define name="text-index-entry-tab-stop">
3305 <element name="text:index-entry-tab-stop">
3306 <optional>
3307 <attribute name="text:style-name">
3308 <ref name="styleNameRef"/>
3309 </attribute>
3310 </optional>
3311 <ref name="text-index-entry-tab-stop-attrs"/>
3312 </element>
3313 </define>
3314 <define name="text-index-entry-tab-stop-attrs">
3315 <interleave>
3316 <optional>
3317 <attribute name="style:leader-char">
3318 <ref name="character"/>
3319 </attribute>
3320 </optional>
3321 <choice>
3322 <attribute name="style:type">
3323 <value>right</value>
3324 </attribute>
3325 <group>
3326 <attribute name="style:type">
3327 <value>left</value>
3328 </attribute>
3329 <attribute name="style:position">
3330 <ref name="length"/>
3331 </attribute>
3332 </group>
3333 </choice>
3334 </interleave>
3335 </define>
3336 <define name="text-index-entry-link-start">
3337 <element name="text:index-entry-link-start">
3338 <optional>
3339 <attribute name="text:style-name">
3340 <ref name="styleNameRef"/>
3341 </attribute>
3342 </optional>
3343 </element>
3344 </define>
3345 <define name="text-index-entry-link-end">
3346 <element name="text:index-entry-link-end">
3347 <optional>
3348 <attribute name="text:style-name">
3349 <ref name="styleNameRef"/>
3350 </attribute>
3351 </optional>
3352 </element>
3353 </define>
3354 <define name="table-table">
3355 <element name="table:table">
3356 <ref name="table-table-attlist"/>
3357 <optional>
3358 <ref name="table-title"/>
3359 </optional>
3360 <optional>
3361 <ref name="table-desc"/>
3362 </optional>
3363 <optional>
3364 <ref name="table-table-source"/>
3365 </optional>
3366 <optional>
3367 <ref name="office-dde-source"/>
3368 </optional>
3369 <optional>
3370 <ref name="table-scenario"/>
3371 </optional>
3372 <optional>
3373 <ref name="office-forms"/>
3374 </optional>
3375 <optional>
3376 <ref name="table-shapes"/>
3377 </optional>
3378 <ref name="table-columns-and-groups"/>
3379 <ref name="table-rows-and-groups"/>
3380 <optional>
3381 <ref name="table-named-expressions"/>
3382 </optional>
3383 </element>
3384 </define>
3385 <define name="table-columns-and-groups">
3386 <oneOrMore>
3387 <choice>
3388 <ref name="table-table-column-group"/>
3389 <ref name="table-columns-no-group"/>
3390 </choice>
3391 </oneOrMore>
3392 </define>
3393 <define name="table-columns-no-group">
3394 <choice>
3395 <group>
3396 <ref name="table-columns"/>
3397 <optional>
3398 <ref name="table-table-header-columns"/>
3399 <optional>
3400 <ref name="table-columns"/>
3401 </optional>
3402 </optional>
3403 </group>
3404 <group>
3405 <ref name="table-table-header-columns"/>
3406 <optional>
3407 <ref name="table-columns"/>
3408 </optional>
3409 </group>
3410 </choice>
3411 </define>
3412 <define name="table-columns">
3413 <choice>
3414 <ref name="table-table-columns"/>
3415 <oneOrMore>
3416 <ref name="table-table-column"/>
3417 </oneOrMore>
3418 </choice>
3419 </define>
3420 <define name="table-rows-and-groups">
3421 <oneOrMore>
3422 <choice>
3423 <ref name="table-table-row-group"/>
3424 <ref name="table-rows-no-group"/>
3425 </choice>
3426 </oneOrMore>
3427 </define>
3428 <define name="table-rows-no-group">
3429 <choice>
3430 <group>
3431 <ref name="table-rows"/>
3432 <optional>
3433 <ref name="table-table-header-rows"/>
3434 <optional>
3435 <ref name="table-rows"/>
3436 </optional>
3437 </optional>
3438 </group>
3439 <group>
3440 <ref name="table-table-header-rows"/>
3441 <optional>
3442 <ref name="table-rows"/>
3443 </optional>
3444 </group>
3445 </choice>
3446 </define>
3447 <define name="table-rows">
3448 <choice>
3449 <ref name="table-table-rows"/>
3450 <oneOrMore>
3451 <optional>
3452 <ref name="text-soft-page-break"/>
3453 </optional>
3454 <ref name="table-table-row"/>
3455 </oneOrMore>
3456 </choice>
3457 </define>
3458 <define name="table-table-attlist">
3459 <interleave>
3460 <optional>
3461 <attribute name="table:name">
3462 <ref name="string"/>
3463 </attribute>
3464 </optional>
3465 <optional>
3466 <attribute name="table:style-name">
3467 <ref name="styleNameRef"/>
3468 </attribute>
3469 </optional>
3470 <optional>
3471 <attribute name="table:template-name">
3472 <ref name="string"/>
3473 </attribute>
3474 </optional>
3475 <optional>
3476 <attribute name="table:use-first-row-styles">
3477 <ref name="boolean"/>
3478 </attribute>
3479 </optional>
3480 <optional>
3481 <attribute name="table:use-last-row-styles">
3482 <ref name="boolean"/>
3483 </attribute>
3484 </optional>
3485 <optional>
3486 <attribute name="table:use-first-column-styles">
3487 <ref name="boolean"/>
3488 </attribute>
3489 </optional>
3490 <optional>
3491 <attribute name="table:use-last-column-styles">
3492 <ref name="boolean"/>
3493 </attribute>
3494 </optional>
3495 <optional>
3496 <attribute name="table:use-banding-rows-styles">
3497 <ref name="boolean"/>
3498 </attribute>
3499 </optional>
3500 <optional>
3501 <attribute name="table:use-banding-columns-styles">
3502 <ref name="boolean"/>
3503 </attribute>
3504 </optional>
3505 <optional>
3506 <attribute name="table:protected">
3507 <ref name="boolean"/>
3508 </attribute>
3509 </optional>
3510 <optional>
3511 <attribute name="table:protection-key">
3512 <ref name="string"/>
3513 </attribute>
3514 </optional>
3515 <optional>
3516 <attribute name="table:protection-key-digest-algorithm">
3517 <ref name="anyIRI"/>
3518 </attribute>
3519 </optional>
3520 <optional>
3521 <attribute name="table:print">
3522 <ref name="boolean"/>
3523 </attribute>
3524 </optional>
3525 <optional>
3526 <attribute name="table:print-ranges">
3527 <ref name="cellRangeAddressList"/>
3528 </attribute>
3529 </optional>
3530 <optional>
3531 <ref name="xml-id"/>
3532 </optional>
3533 <optional>
3534 <attribute name="table:is-sub-table">
3535 <ref name="boolean"/>
3536 </attribute>
3537 </optional>
3538 </interleave>
3539 </define>
3540 <define name="table-title">
3541 <element name="table:title">
3542 <text/>
3543 </element>
3544 </define>
3545 <define name="table-desc">
3546 <element name="table:desc">
3547 <text/>
3548 </element>
3549 </define>
3550 <define name="table-table-row">
3551 <element name="table:table-row">
3552 <ref name="table-table-row-attlist"/>
3553 <oneOrMore>
3554 <choice>
3555 <ref name="table-table-cell"/>
3556 <ref name="table-covered-table-cell"/>
3557 </choice>
3558 </oneOrMore>
3559 </element>
3560 </define>
3561 <define name="table-table-row-attlist">
3562 <interleave>
3563 <optional>
3564 <attribute name="table:number-rows-repeated">
3565 <ref name="positiveInteger"/>
3566 </attribute>
3567 </optional>
3568 <optional>
3569 <attribute name="table:style-name">
3570 <ref name="styleNameRef"/>
3571 </attribute>
3572 </optional>
3573 <optional>
3574 <attribute name="table:default-cell-style-name">
3575 <ref name="styleNameRef"/>
3576 </attribute>
3577 </optional>
3578 <optional>
3579 <attribute name="table:visibility">
3580 <ref name="table-visibility-value"/>
3581 </attribute>
3582 </optional>
3583 <optional>
3584 <ref name="xml-id"/>
3585 </optional>
3586 </interleave>
3587 </define>
3588 <define name="table-visibility-value">
3589 <choice>
3590 <value>visible</value>
3591 <value>collapse</value>
3592 <value>filter</value>
3593 </choice>
3594 </define>
3595 <define name="table-table-cell">
3596 <element name="table:table-cell">
3597 <ref name="table-table-cell-attlist"/>
3598 <ref name="table-table-cell-attlist-extra"/>
3599 <ref name="table-table-cell-content"/>
3600 </element>
3601 </define>
3602 <define name="table-covered-table-cell">
3603 <element name="table:covered-table-cell">
3604 <ref name="table-table-cell-attlist"/>
3605 <ref name="table-table-cell-content"/>
3606 </element>
3607 </define>
3608 <define name="table-table-cell-content">
3609 <optional>
3610 <ref name="table-cell-range-source"/>
3611 </optional>
3612 <optional>
3613 <ref name="office-annotation"/>
3614 </optional>
3615 <optional>
3616 <ref name="table-detective"/>
3617 </optional>
3618 <zeroOrMore>
3619 <ref name="text-content"/>
3620 </zeroOrMore>
3621 </define>
3622 <define name="table-table-cell-attlist">
3623 <interleave>
3624 <optional>
3625 <attribute name="table:number-columns-repeated">
3626 <ref name="positiveInteger"/>
3627 </attribute>
3628 </optional>
3629 <optional>
3630 <attribute name="table:style-name">
3631 <ref name="styleNameRef"/>
3632 </attribute>
3633 </optional>
3634 <optional>
3635 <attribute name="table:content-validation-name">
3636 <ref name="string"/>
3637 </attribute>
3638 </optional>
3639 <optional>
3640 <attribute name="table:formula">
3641 <ref name="string"/>
3642 </attribute>
3643 </optional>
3644 <optional>
3645 <ref name="common-value-and-type-attlist"/>
3646 </optional>
3647 <optional>
3648 <attribute name="table:protect">
3649 <ref name="boolean"/>
3650 </attribute>
3651 </optional>
3652 <optional>
3653 <attribute name="table:protected">
3654 <ref name="boolean"/>
3655 </attribute>
3656 </optional>
3657 <optional>
3658 <ref name="xml-id"/>
3659 </optional>
3660 <optional>
3661 <ref name="common-in-content-meta-attlist"/>
3662 </optional>
3663 </interleave>
3664 </define>
3665 <define name="table-table-cell-attlist-extra">
3666 <interleave>
3667 <optional>
3668 <attribute name="table:number-columns-spanned">
3669 <ref name="positiveInteger"/>
3670 </attribute>
3671 </optional>
3672 <optional>
3673 <attribute name="table:number-rows-spanned">
3674 <ref name="positiveInteger"/>
3675 </attribute>
3676 </optional>
3677 <optional>
3678 <attribute name="table:number-matrix-columns-spanned">
3679 <ref name="positiveInteger"/>
3680 </attribute>
3681 </optional>
3682 <optional>
3683 <attribute name="table:number-matrix-rows-spanned">
3684 <ref name="positiveInteger"/>
3685 </attribute>
3686 </optional>
3687 </interleave>
3688 </define>
3689 <define name="table-table-column">
3690 <element name="table:table-column">
3691 <ref name="table-table-column-attlist"/>
3692 <empty/>
3693 </element>
3694 </define>
3695 <define name="table-table-column-attlist">
3696 <interleave>
3697 <optional>
3698 <attribute name="table:number-columns-repeated">
3699 <ref name="positiveInteger"/>
3700 </attribute>
3701 </optional>
3702 <optional>
3703 <attribute name="table:style-name">
3704 <ref name="styleNameRef"/>
3705 </attribute>
3706 </optional>
3707 <optional>
3708 <attribute name="table:visibility">
3709 <ref name="table-visibility-value"/>
3710 </attribute>
3711 </optional>
3712 <optional>
3713 <attribute name="table:default-cell-style-name">
3714 <ref name="styleNameRef"/>
3715 </attribute>
3716 </optional>
3717 <optional>
3718 <ref name="xml-id"/>
3719 </optional>
3720 </interleave>
3721 </define>
3722 <define name="table-table-header-columns">
3723 <element name="table:table-header-columns">
3724 <oneOrMore>
3725 <ref name="table-table-column"/>
3726 </oneOrMore>
3727 </element>
3728 </define>
3729 <define name="table-table-columns">
3730 <element name="table:table-columns">
3731 <oneOrMore>
3732 <ref name="table-table-column"/>
3733 </oneOrMore>
3734 </element>
3735 </define>
3736 <define name="table-table-column-group">
3737 <element name="table:table-column-group">
3738 <ref name="table-table-column-group-attlist"/>
3739 <ref name="table-columns-and-groups"/>
3740 </element>
3741 </define>
3742 <define name="table-table-column-group-attlist">
3743 <optional>
3744 <attribute name="table:display">
3745 <ref name="boolean"/>
3746 </attribute>
3747 </optional>
3748 </define>
3749 <define name="table-table-header-rows">
3750 <element name="table:table-header-rows">
3751 <oneOrMore>
3752 <optional>
3753 <ref name="text-soft-page-break"/>
3754 </optional>
3755 <ref name="table-table-row"/>
3756 </oneOrMore>
3757 </element>
3758 </define>
3759 <define name="table-table-rows">
3760 <element name="table:table-rows">
3761 <oneOrMore>
3762 <optional>
3763 <ref name="text-soft-page-break"/>
3764 </optional>
3765 <ref name="table-table-row"/>
3766 </oneOrMore>
3767 </element>
3768 </define>
3769 <define name="table-table-row-group">
3770 <element name="table:table-row-group">
3771 <ref name="table-table-row-group-attlist"/>
3772 <ref name="table-rows-and-groups"/>
3773 </element>
3774 </define>
3775 <define name="table-table-row-group-attlist">
3776 <optional>
3777 <attribute name="table:display">
3778 <ref name="boolean"/>
3779 </attribute>
3780 </optional>
3781 </define>
3782 <define name="cellAddress">
3783 <data type="string">
3784 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+</param>
3785 </data>
3786 </define>
3787 <define name="cellRangeAddress">
3788 <choice>
3789 <data type="string">
3790 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+)?</param>
3791 </data>
3792 <data type="string">
3793 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[0-9]+:($?([^\. ']+|'([^']|'')+'))?\.$?[0-9]+</param>
3794 </data>
3795 <data type="string">
3796 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+</param>
3797 </data>
3798 </choice>
3799 </define>
3800 <define name="cellRangeAddressList">
3801 <data type="string"/>
3802 <dc:description>Value is a space separated list of "cellRangeAddress" patterns</dc:description>
3803 </define>
3804 <define name="table-table-source">
3805 <element name="table:table-source">
3806 <ref name="table-table-source-attlist"/>
3807 <ref name="table-linked-source-attlist"/>
3808 <empty/>
3809 </element>
3810 </define>
3811 <define name="table-table-source-attlist">
3812 <interleave>
3813 <optional>
3814 <attribute name="table:mode">
3815 <choice>
3816 <value>copy-all</value>
3817 <value>copy-results-only</value>
3818 </choice>
3819 </attribute>
3820 </optional>
3821 <optional>
3822 <attribute name="table:table-name">
3823 <ref name="string"/>
3824 </attribute>
3825 </optional>
3826 </interleave>
3827 </define>
3828 <define name="table-linked-source-attlist">
3829 <interleave>
3830 <attribute name="xlink:type">
3831 <value>simple</value>
3832 </attribute>
3833 <attribute name="xlink:href">
3834 <ref name="anyIRI"/>
3835 </attribute>
3836 <optional>
3837 <attribute name="xlink:actuate">
3838 <value>onRequest</value>
3839 </attribute>
3840 </optional>
3841 <optional>
3842 <attribute name="table:filter-name">
3843 <ref name="string"/>
3844 </attribute>
3845 </optional>
3846 <optional>
3847 <attribute name="table:filter-options">
3848 <ref name="string"/>
3849 </attribute>
3850 </optional>
3851 <optional>
3852 <attribute name="table:refresh-delay">
3853 <ref name="duration"/>
3854 </attribute>
3855 </optional>
3856 </interleave>
3857 </define>
3858 <define name="table-scenario">
3859 <element name="table:scenario">
3860 <ref name="table-scenario-attlist"/>
3861 <empty/>
3862 </element>
3863 </define>
3864 <define name="table-scenario-attlist">
3865 <interleave>
3866 <attribute name="table:scenario-ranges">
3867 <ref name="cellRangeAddressList"/>
3868 </attribute>
3869 <attribute name="table:is-active">
3870 <ref name="boolean"/>
3871 </attribute>
3872 <optional>
3873 <attribute name="table:display-border">
3874 <ref name="boolean"/>
3875 </attribute>
3876 </optional>
3877 <optional>
3878 <attribute name="table:border-color">
3879 <ref name="color"/>
3880 </attribute>
3881 </optional>
3882 <optional>
3883 <attribute name="table:copy-back">
3884 <ref name="boolean"/>
3885 </attribute>
3886 </optional>
3887 <optional>
3888 <attribute name="table:copy-styles">
3889 <ref name="boolean"/>
3890 </attribute>
3891 </optional>
3892 <optional>
3893 <attribute name="table:copy-formulas">
3894 <ref name="boolean"/>
3895 </attribute>
3896 </optional>
3897 <optional>
3898 <attribute name="table:comment">
3899 <ref name="string"/>
3900 </attribute>
3901 </optional>
3902 <optional>
3903 <attribute name="table:protected">
3904 <ref name="boolean"/>
3905 </attribute>
3906 </optional>
3907 </interleave>
3908 </define>
3909 <define name="table-shapes">
3910 <element name="table:shapes">
3911 <oneOrMore>
3912 <ref name="shape"/>
3913 </oneOrMore>
3914 </element>
3915 </define>
3916 <define name="table-cell-range-source">
3917 <element name="table:cell-range-source">
3918 <ref name="table-table-cell-range-source-attlist"/>
3919 <ref name="table-linked-source-attlist"/>
3920 <empty/>
3921 </element>
3922 </define>
3923 <define name="table-table-cell-range-source-attlist">
3924 <interleave>
3925 <attribute name="table:name">
3926 <ref name="string"/>
3927 </attribute>
3928 <attribute name="table:last-column-spanned">
3929 <ref name="positiveInteger"/>
3930 </attribute>
3931 <attribute name="table:last-row-spanned">
3932 <ref name="positiveInteger"/>
3933 </attribute>
3934 </interleave>
3935 </define>
3936 <define name="table-detective">
3937 <element name="table:detective">
3938 <zeroOrMore>
3939 <ref name="table-highlighted-range"/>
3940 </zeroOrMore>
3941 <zeroOrMore>
3942 <ref name="table-operation"/>
3943 </zeroOrMore>
3944 </element>
3945 </define>
3946 <define name="table-operation">
3947 <element name="table:operation">
3948 <ref name="table-operation-attlist"/>
3949 <empty/>
3950 </element>
3951 </define>
3952 <define name="table-operation-attlist">
3953 <interleave>
3954 <attribute name="table:name">
3955 <choice>
3956 <value>trace-dependents</value>
3957 <value>remove-dependents</value>
3958 <value>trace-precedents</value>
3959 <value>remove-precedents</value>
3960 <value>trace-errors</value>
3961 </choice>
3962 </attribute>
3963 <attribute name="table:index">
3964 <ref name="nonNegativeInteger"/>
3965 </attribute>
3966 </interleave>
3967 </define>
3968 <define name="table-highlighted-range">
3969 <element name="table:highlighted-range">
3970 <choice>
3971 <group>
3972 <ref name="table-highlighted-range-attlist"/>
3973 </group>
3974 <group>
3975 <ref name="table-highlighted-range-attlist-invalid"/>
3976 </group>
3977 </choice>
3978 <empty/>
3979 </element>
3980 </define>
3981 <define name="table-highlighted-range-attlist">
3982 <interleave>
3983 <optional>
3984 <attribute name="table:cell-range-address">
3985 <ref name="cellRangeAddress"/>
3986 </attribute>
3987 </optional>
3988 <attribute name="table:direction">
3989 <choice>
3990 <value>from-another-table</value>
3991 <value>to-another-table</value>
3992 <value>from-same-table</value>
3993 </choice>
3994 </attribute>
3995 <optional>
3996 <attribute name="table:contains-error">
3997 <ref name="boolean"/>
3998 </attribute>
3999 </optional>
4000 </interleave>
4001 </define>
4002 <define name="table-highlighted-range-attlist-invalid">
4003 <attribute name="table:marked-invalid">
4004 <ref name="boolean"/>
4005 </attribute>
4006 </define>
4007 <define name="office-spreadsheet-attlist">
4008 <optional>
4009 <attribute name="table:structure-protected">
4010 <ref name="boolean"/>
4011 </attribute>
4012 </optional>
4013 <optional>
4014 <attribute name="table:protection-key">
4015 <ref name="string"/>
4016 </attribute>
4017 </optional>
4018 <optional>
4019 <attribute name="table:protection-key-digest-algorithm">
4020 <ref name="anyIRI"/>
4021 </attribute>
4022 </optional>
4023 </define>
4024 <define name="table-calculation-settings">
4025 <element name="table:calculation-settings">
4026 <ref name="table-calculation-setting-attlist"/>
4027 <optional>
4028 <ref name="table-null-date"/>
4029 </optional>
4030 <optional>
4031 <ref name="table-iteration"/>
4032 </optional>
4033 </element>
4034 </define>
4035 <define name="table-calculation-setting-attlist">
4036 <interleave>
4037 <optional>
4038 <attribute name="table:case-sensitive">
4039 <ref name="boolean"/>
4040 </attribute>
4041 </optional>
4042 <optional>
4043 <attribute name="table:precision-as-shown">
4044 <ref name="boolean"/>
4045 </attribute>
4046 </optional>
4047 <optional>
4048 <attribute name="table:search-criteria-must-apply-to-whole-cell">
4049 <ref name="boolean"/>
4050 </attribute>
4051 </optional>
4052 <optional>
4053 <attribute name="table:automatic-find-labels">
4054 <ref name="boolean"/>
4055 </attribute>
4056 </optional>
4057 <optional>
4058 <attribute name="table:use-regular-expressions">
4059 <ref name="boolean"/>
4060 </attribute>
4061 </optional>
4062 <optional>
4063 <attribute name="table:use-wildcards">
4064 <ref name="boolean"/>
4065 </attribute>
4066 </optional>
4067 <optional>
4068 <attribute name="table:null-year">
4069 <ref name="positiveInteger"/>
4070 </attribute>
4071 </optional>
4072 </interleave>
4073 </define>
4074 <define name="table-null-date">
4075 <element name="table:null-date">
4076 <optional>
4077 <attribute name="table:value-type">
4078 <value>date</value>
4079 </attribute>
4080 </optional>
4081 <optional>
4082 <attribute name="table:date-value">
4083 <ref name="date"/>
4084 </attribute>
4085 </optional>
4086 <empty/>
4087 </element>
4088 </define>
4089 <define name="table-iteration">
4090 <element name="table:iteration">
4091 <optional>
4092 <attribute name="table:status">
4093 <choice>
4094 <value>enable</value>
4095 <value>disable</value>
4096 </choice>
4097 </attribute>
4098 </optional>
4099 <optional>
4100 <attribute name="table:steps">
4101 <ref name="positiveInteger"/>
4102 </attribute>
4103 </optional>
4104 <optional>
4105 <attribute name="table:maximum-difference">
4106 <ref name="double"/>
4107 </attribute>
4108 </optional>
4109 <empty/>
4110 </element>
4111 </define>
4112 <define name="table-content-validations">
4113 <element name="table:content-validations">
4114 <oneOrMore>
4115 <ref name="table-content-validation"/>
4116 </oneOrMore>
4117 </element>
4118 </define>
4119 <define name="table-content-validation">
4120 <element name="table:content-validation">
4121 <ref name="table-validation-attlist"/>
4122 <optional>
4123 <ref name="table-help-message"/>
4124 </optional>
4125 <optional>
4126 <choice>
4127 <ref name="table-error-message"/>
4128 <group>
4129 <ref name="table-error-macro"/>
4130 <ref name="office-event-listeners"/>
4131 </group>
4132 </choice>
4133 </optional>
4134 </element>
4135 </define>
4136 <define name="table-validation-attlist">
4137 <interleave>
4138 <attribute name="table:name">
4139 <ref name="string"/>
4140 </attribute>
4141 <optional>
4142 <attribute name="table:condition">
4143 <ref name="string"/>
4144 </attribute>
4145 </optional>
4146 <optional>
4147 <attribute name="table:base-cell-address">
4148 <ref name="cellAddress"/>
4149 </attribute>
4150 </optional>
4151 <optional>
4152 <attribute name="table:allow-empty-cell">
4153 <ref name="boolean"/>
4154 </attribute>
4155 </optional>
4156 <optional>
4157 <attribute name="table:display-list">
4158 <choice>
4159 <value>none</value>
4160 <value>unsorted</value>
4161 <value>sort-ascending</value>
4162 </choice>
4163 </attribute>
4164 </optional>
4165 </interleave>
4166 </define>
4167 <define name="table-help-message">
4168 <element name="table:help-message">
4169 <optional>
4170 <attribute name="table:title">
4171 <ref name="string"/>
4172 </attribute>
4173 </optional>
4174 <optional>
4175 <attribute name="table:display">
4176 <ref name="boolean"/>
4177 </attribute>
4178 </optional>
4179 <zeroOrMore>
4180 <ref name="text-p"/>
4181 </zeroOrMore>
4182 </element>
4183 </define>
4184 <define name="table-error-message">
4185 <element name="table:error-message">
4186 <optional>
4187 <attribute name="table:title">
4188 <ref name="string"/>
4189 </attribute>
4190 </optional>
4191 <optional>
4192 <attribute name="table:display">
4193 <ref name="boolean"/>
4194 </attribute>
4195 </optional>
4196 <optional>
4197 <attribute name="table:message-type">
4198 <choice>
4199 <value>stop</value>
4200 <value>warning</value>
4201 <value>information</value>
4202 </choice>
4203 </attribute>
4204 </optional>
4205 <zeroOrMore>
4206 <ref name="text-p"/>
4207 </zeroOrMore>
4208 </element>
4209 </define>
4210 <define name="table-error-macro">
4211 <element name="table:error-macro">
4212 <optional>
4213 <attribute name="table:execute">
4214 <ref name="boolean"/>
4215 </attribute>
4216 </optional>
4217 </element>
4218 </define>
4219 <define name="table-label-ranges">
4220 <element name="table:label-ranges">
4221 <zeroOrMore>
4222 <ref name="table-label-range"/>
4223 </zeroOrMore>
4224 </element>
4225 </define>
4226 <define name="table-label-range">
4227 <element name="table:label-range">
4228 <ref name="table-label-range-attlist"/>
4229 <empty/>
4230 </element>
4231 </define>
4232 <define name="table-label-range-attlist">
4233 <interleave>
4234 <attribute name="table:label-cell-range-address">
4235 <ref name="cellRangeAddress"/>
4236 </attribute>
4237 <attribute name="table:data-cell-range-address">
4238 <ref name="cellRangeAddress"/>
4239 </attribute>
4240 <attribute name="table:orientation">
4241 <choice>
4242 <value>column</value>
4243 <value>row</value>
4244 </choice>
4245 </attribute>
4246 </interleave>
4247 </define>
4248 <define name="table-named-expressions">
4249 <element name="table:named-expressions">
4250 <zeroOrMore>
4251 <choice>
4252 <ref name="table-named-range"/>
4253 <ref name="table-named-expression"/>
4254 </choice>
4255 </zeroOrMore>
4256 </element>
4257 </define>
4258 <define name="table-named-range">
4259 <element name="table:named-range">
4260 <ref name="table-named-range-attlist"/>
4261 <empty/>
4262 </element>
4263 </define>
4264 <define name="table-named-range-attlist">
4265 <attribute name="table:name">
4266 <ref name="string"/>
4267 </attribute>
4268 <attribute name="table:cell-range-address">
4269 <ref name="cellRangeAddress"/>
4270 </attribute>
4271 <optional>
4272 <attribute name="table:base-cell-address">
4273 <ref name="cellAddress"/>
4274 </attribute>
4275 </optional>
4276 <optional>
4277 <attribute name="table:range-usable-as">
4278 <choice>
4279 <value>none</value>
4280 <list>
4281 <oneOrMore>
4282 <choice>
4283 <value>print-range</value>
4284 <value>filter</value>
4285 <value>repeat-row</value>
4286 <value>repeat-column</value>
4287 </choice>
4288 </oneOrMore>
4289 </list>
4290 </choice>
4291 </attribute>
4292 </optional>
4293 </define>
4294 <define name="table-named-expression">
4295 <element name="table:named-expression">
4296 <ref name="table-named-expression-attlist"/>
4297 <empty/>
4298 </element>
4299 </define>
4300 <define name="table-named-expression-attlist">
4301 <attribute name="table:name">
4302 <ref name="string"/>
4303 </attribute>
4304 <attribute name="table:expression">
4305 <ref name="string"/>
4306 </attribute>
4307 <optional>
4308 <attribute name="table:base-cell-address">
4309 <ref name="cellAddress"/>
4310 </attribute>
4311 </optional>
4312 </define>
4313 <define name="table-database-ranges">
4314 <element name="table:database-ranges">
4315 <zeroOrMore>
4316 <ref name="table-database-range"/>
4317 </zeroOrMore>
4318 </element>
4319 </define>
4320 <define name="table-database-range">
4321 <element name="table:database-range">
4322 <ref name="table-database-range-attlist"/>
4323 <optional>
4324 <choice>
4325 <ref name="table-database-source-sql"/>
4326 <ref name="table-database-source-table"/>
4327 <ref name="table-database-source-query"/>
4328 </choice>
4329 </optional>
4330 <optional>
4331 <ref name="table-filter"/>
4332 </optional>
4333 <optional>
4334 <ref name="table-sort"/>
4335 </optional>
4336 <optional>
4337 <ref name="table-subtotal-rules"/>
4338 </optional>
4339 </element>
4340 </define>
4341 <define name="table-database-range-attlist">
4342 <interleave>
4343 <optional>
4344 <attribute name="table:name">
4345 <ref name="string"/>
4346 </attribute>
4347 </optional>
4348 <optional>
4349 <attribute name="table:is-selection">
4350 <ref name="boolean"/>
4351 </attribute>
4352 </optional>
4353 <optional>
4354 <attribute name="table:on-update-keep-styles">
4355 <ref name="boolean"/>
4356 </attribute>
4357 </optional>
4358 <optional>
4359 <attribute name="table:on-update-keep-size">
4360 <ref name="boolean"/>
4361 </attribute>
4362 </optional>
4363 <optional>
4364 <attribute name="table:has-persistent-data">
4365 <ref name="boolean"/>
4366 </attribute>
4367 </optional>
4368 <optional>
4369 <attribute name="table:orientation">
4370 <choice>
4371 <value>column</value>
4372 <value>row</value>
4373 </choice>
4374 </attribute>
4375 </optional>
4376 <optional>
4377 <attribute name="table:contains-header">
4378 <ref name="boolean"/>
4379 </attribute>
4380 </optional>
4381 <optional>
4382 <attribute name="table:display-filter-buttons">
4383 <ref name="boolean"/>
4384 </attribute>
4385 </optional>
4386 <attribute name="table:target-range-address">
4387 <ref name="cellRangeAddress"/>
4388 </attribute>
4389 <optional>
4390 <attribute name="table:refresh-delay">
4391 <ref name="boolean"/>
4392 </attribute>
4393 </optional>
4394 </interleave>
4395 </define>
4396 <define name="table-database-source-sql">
4397 <element name="table:database-source-sql">
4398 <ref name="table-database-source-sql-attlist"/>
4399 <empty/>
4400 </element>
4401 </define>
4402 <define name="table-database-source-sql-attlist">
4403 <interleave>
4404 <attribute name="table:database-name">
4405 <ref name="string"/>
4406 </attribute>
4407 <attribute name="table:sql-statement">
4408 <ref name="string"/>
4409 </attribute>
4410 <optional>
4411 <attribute name="table:parse-sql-statement">
4412 <ref name="boolean"/>
4413 </attribute>
4414 </optional>
4415 </interleave>
4416 </define>
4417 <define name="table-database-source-query">
4418 <element name="table:database-source-table">
4419 <ref name="table-database-source-table-attlist"/>
4420 <empty/>
4421 </element>
4422 </define>
4423 <define name="table-database-source-table-attlist">
4424 <interleave>
4425 <attribute name="table:database-name">
4426 <ref name="string"/>
4427 </attribute>
4428 <attribute name="table:database-table-name">
4429 <ref name="string"/>
4430 </attribute>
4431 </interleave>
4432 </define>
4433 <define name="table-database-source-table">
4434 <element name="table:database-source-query">
4435 <ref name="table-database-source-query-attlist"/>
4436 <empty/>
4437 </element>
4438 </define>
4439 <define name="table-database-source-query-attlist">
4440 <interleave>
4441 <attribute name="table:database-name">
4442 <ref name="string"/>
4443 </attribute>
4444 <attribute name="table:query-name">
4445 <ref name="string"/>
4446 </attribute>
4447 </interleave>
4448 </define>
4449 <define name="table-sort">
4450 <element name="table:sort">
4451 <ref name="table-sort-attlist"/>
4452 <oneOrMore>
4453 <ref name="table-sort-by"/>
4454 </oneOrMore>
4455 </element>
4456 </define>
4457 <define name="table-sort-attlist">
4458 <interleave>
4459 <optional>
4460 <attribute name="table:bind-styles-to-content">
4461 <ref name="boolean"/>
4462 </attribute>
4463 </optional>
4464 <optional>
4465 <attribute name="table:target-range-address">
4466 <ref name="cellRangeAddress"/>
4467 </attribute>
4468 </optional>
4469 <optional>
4470 <attribute name="table:case-sensitive">
4471 <ref name="boolean"/>
4472 </attribute>
4473 </optional>
4474 <optional>
4475 <attribute name="table:language">
4476 <ref name="languageCode"/>
4477 </attribute>
4478 </optional>
4479 <optional>
4480 <attribute name="table:country">
4481 <ref name="countryCode"/>
4482 </attribute>
4483 </optional>
4484 <optional>
4485 <attribute name="table:script">
4486 <ref name="scriptCode"/>
4487 </attribute>
4488 </optional>
4489 <optional>
4490 <attribute name="table:rfc-language-tag">
4491 <ref name="language"/>
4492 </attribute>
4493 </optional>
4494 <optional>
4495 <attribute name="table:algorithm">
4496 <ref name="string"/>
4497 </attribute>
4498 </optional>
4499 <optional>
4500 <attribute name="table:embedded-number-behavior">
4501 <choice>
4502 <value>alpha-numeric</value>
4503 <value>integer</value>
4504 <value>double</value>
4505 </choice>
4506 </attribute>
4507 </optional>
4508 </interleave>
4509 </define>
4510 <define name="table-sort-by">
4511 <element name="table:sort-by">
4512 <ref name="table-sort-by-attlist"/>
4513 <empty/>
4514 </element>
4515 </define>
4516 <define name="table-sort-by-attlist">
4517 <interleave>
4518 <attribute name="table:field-number">
4519 <ref name="nonNegativeInteger"/>
4520 </attribute>
4521 <optional>
4522 <attribute name="table:data-type">
4523 <choice>
4524 <value>text</value>
4525 <value>number</value>
4526 <value>automatic</value>
4527 <ref name="string"/>
4528 </choice>
4529 </attribute>
4530 </optional>
4531 <optional>
4532 <attribute name="table:order">
4533 <choice>
4534 <value>ascending</value>
4535 <value>descending</value>
4536 </choice>
4537 </attribute>
4538 </optional>
4539 </interleave>
4540 </define>
4541 <define name="table-subtotal-rules">
4542 <element name="table:subtotal-rules">
4543 <ref name="table-subtotal-rules-attlist"/>
4544 <optional>
4545 <ref name="table-sort-groups"/>
4546 </optional>
4547 <zeroOrMore>
4548 <ref name="table-subtotal-rule"/>
4549 </zeroOrMore>
4550 </element>
4551 </define>
4552 <define name="table-subtotal-rules-attlist">
4553 <interleave>
4554 <optional>
4555 <attribute name="table:bind-styles-to-content">
4556 <ref name="boolean"/>
4557 </attribute>
4558 </optional>
4559 <optional>
4560 <attribute name="table:case-sensitive">
4561 <ref name="boolean"/>
4562 </attribute>
4563 </optional>
4564 <optional>
4565 <attribute name="table:page-breaks-on-group-change">
4566 <ref name="boolean"/>
4567 </attribute>
4568 </optional>
4569 </interleave>
4570 </define>
4571 <define name="table-sort-groups">
4572 <element name="table:sort-groups">
4573 <ref name="table-sort-groups-attlist"/>
4574 <empty/>
4575 </element>
4576 </define>
4577 <define name="table-sort-groups-attlist">
4578 <interleave>
4579 <optional>
4580 <attribute name="table:data-type">
4581 <choice>
4582 <value>text</value>
4583 <value>number</value>
4584 <value>automatic</value>
4585 <ref name="string"/>
4586 </choice>
4587 </attribute>
4588 </optional>
4589 <optional>
4590 <attribute name="table:order">
4591 <choice>
4592 <value>ascending</value>
4593 <value>descending</value>
4594 </choice>
4595 </attribute>
4596 </optional>
4597 </interleave>
4598 </define>
4599 <define name="table-subtotal-rule">
4600 <element name="table:subtotal-rule">
4601 <ref name="table-subtotal-rule-attlist"/>
4602 <zeroOrMore>
4603 <ref name="table-subtotal-field"/>
4604 </zeroOrMore>
4605 </element>
4606 </define>
4607 <define name="table-subtotal-rule-attlist">
4608 <attribute name="table:group-by-field-number">
4609 <ref name="nonNegativeInteger"/>
4610 </attribute>
4611 </define>
4612 <define name="table-subtotal-field">
4613 <element name="table:subtotal-field">
4614 <ref name="table-subtotal-field-attlist"/>
4615 <empty/>
4616 </element>
4617 </define>
4618 <define name="table-subtotal-field-attlist">
4619 <interleave>
4620 <attribute name="table:field-number">
4621 <ref name="nonNegativeInteger"/>
4622 </attribute>
4623 <attribute name="table:function">
4624 <choice>
4625 <value>average</value>
4626 <value>count</value>
4627 <value>countnums</value>
4628 <value>max</value>
4629 <value>min</value>
4630 <value>product</value>
4631 <value>stdev</value>
4632 <value>stdevp</value>
4633 <value>sum</value>
4634 <value>var</value>
4635 <value>varp</value>
4636 <ref name="string"/>
4637 </choice>
4638 </attribute>
4639 </interleave>
4640 </define>
4641 <define name="table-filter">
4642 <element name="table:filter">
4643 <ref name="table-filter-attlist"/>
4644 <choice>
4645 <ref name="table-filter-condition"/>
4646 <ref name="table-filter-and"/>
4647 <ref name="table-filter-or"/>
4648 </choice>
4649 </element>
4650 </define>
4651 <define name="table-filter-attlist">
4652 <interleave>
4653 <optional>
4654 <attribute name="table:target-range-address">
4655 <ref name="cellRangeAddress"/>
4656 </attribute>
4657 </optional>
4658 <optional>
4659 <attribute name="table:condition-source">
4660 <choice>
4661 <value>self</value>
4662 <value>cell-range</value>
4663 </choice>
4664 </attribute>
4665 </optional>
4666 <optional>
4667 <attribute name="table:condition-source-range-address">
4668 <ref name="cellRangeAddress"/>
4669 </attribute>
4670 </optional>
4671 <optional>
4672 <attribute name="table:display-duplicates">
4673 <ref name="boolean"/>
4674 </attribute>
4675 </optional>
4676 </interleave>
4677 </define>
4678 <define name="table-filter-and">
4679 <element name="table:filter-and">
4680 <oneOrMore>
4681 <choice>
4682 <ref name="table-filter-or"/>
4683 <ref name="table-filter-condition"/>
4684 </choice>
4685 </oneOrMore>
4686 </element>
4687 </define>
4688 <define name="table-filter-or">
4689 <element name="table:filter-or">
4690 <oneOrMore>
4691 <choice>
4692 <ref name="table-filter-and"/>
4693 <ref name="table-filter-condition"/>
4694 </choice>
4695 </oneOrMore>
4696 </element>
4697 </define>
4698 <define name="table-filter-condition">
4699 <element name="table:filter-condition">
4700 <ref name="table-filter-condition-attlist"/>
4701 <zeroOrMore>
4702 <ref name="table-filter-set-item"/>
4703 </zeroOrMore>
4704 </element>
4705 </define>
4706 <define name="table-filter-condition-attlist">
4707 <interleave>
4708 <attribute name="table:field-number">
4709 <ref name="nonNegativeInteger"/>
4710 </attribute>
4711 <attribute name="table:value">
4712 <choice>
4713 <ref name="string"/>
4714 <ref name="double"/>
4715 </choice>
4716 </attribute>
4717 <attribute name="table:operator">
4718 <ref name="string"/>
4719 </attribute>
4720 <optional>
4721 <attribute name="table:case-sensitive">
4722 <ref name="string"/>
4723 </attribute>
4724 </optional>
4725 <optional>
4726 <attribute name="table:data-type">
4727 <choice>
4728 <value>text</value>
4729 <value>number</value>
4730 </choice>
4731 </attribute>
4732 </optional>
4733 </interleave>
4734 </define>
4735 <define name="table-filter-set-item">
4736 <element name="table:filter-set-item">
4737 <attribute name="table:value">
4738 <ref name="string"/>
4739 </attribute>
4740 <empty/>
4741 </element>
4742 </define>
4743 <define name="table-data-pilot-tables">
4744 <element name="table:data-pilot-tables">
4745 <zeroOrMore>
4746 <ref name="table-data-pilot-table"/>
4747 </zeroOrMore>
4748 </element>
4749 </define>
4750 <define name="table-data-pilot-table">
4751 <element name="table:data-pilot-table">
4752 <ref name="table-data-pilot-table-attlist"/>
4753 <optional>
4754 <choice>
4755 <ref name="table-database-source-sql"/>
4756 <ref name="table-database-source-table"/>
4757 <ref name="table-database-source-query"/>
4758 <ref name="table-source-service"/>
4759 <ref name="table-source-cell-range"/>
4760 </choice>
4761 </optional>
4762 <oneOrMore>
4763 <ref name="table-data-pilot-field"/>
4764 </oneOrMore>
4765 </element>
4766 </define>
4767 <define name="table-data-pilot-table-attlist">
4768 <interleave>
4769 <attribute name="table:name">
4770 <ref name="string"/>
4771 </attribute>
4772 <optional>
4773 <attribute name="table:application-data">
4774 <ref name="string"/>
4775 </attribute>
4776 </optional>
4777 <optional>
4778 <attribute name="table:grand-total">
4779 <choice>
4780 <value>none</value>
4781 <value>row</value>
4782 <value>column</value>
4783 <value>both</value>
4784 </choice>
4785 </attribute>
4786 </optional>
4787 <optional>
4788 <attribute name="table:ignore-empty-rows">
4789 <ref name="boolean"/>
4790 </attribute>
4791 </optional>
4792 <optional>
4793 <attribute name="table:identify-categories">
4794 <ref name="boolean"/>
4795 </attribute>
4796 </optional>
4797 <attribute name="table:target-range-address">
4798 <ref name="cellRangeAddress"/>
4799 </attribute>
4800 <optional>
4801 <attribute name="table:buttons">
4802 <ref name="cellRangeAddressList"/>
4803 </attribute>
4804 </optional>
4805 <optional>
4806 <attribute name="table:show-filter-button">
4807 <ref name="boolean"/>
4808 </attribute>
4809 </optional>
4810 <optional>
4811 <attribute name="table:drill-down-on-double-click">
4812 <ref name="boolean"/>
4813 </attribute>
4814 </optional>
4815 </interleave>
4816 </define>
4817 <define name="table-source-cell-range">
4818 <element name="table:source-cell-range">
4819 <ref name="table-source-cell-range-attlist"/>
4820 <optional>
4821 <ref name="table-filter"/>
4822 </optional>
4823 </element>
4824 </define>
4825 <define name="table-source-cell-range-attlist">
4826 <attribute name="table:cell-range-address">
4827 <ref name="cellRangeAddress"/>
4828 </attribute>
4829 </define>
4830 <define name="table-source-service">
4831 <element name="table:source-service">
4832 <ref name="table-source-service-attlist"/>
4833 <empty/>
4834 </element>
4835 </define>
4836 <define name="table-source-service-attlist">
4837 <interleave>
4838 <attribute name="table:name">
4839 <ref name="string"/>
4840 </attribute>
4841 <attribute name="table:source-name">
4842 <ref name="string"/>
4843 </attribute>
4844 <attribute name="table:object-name">
4845 <ref name="string"/>
4846 </attribute>
4847 <optional>
4848 <attribute name="table:user-name">
4849 <ref name="string"/>
4850 </attribute>
4851 </optional>
4852 <optional>
4853 <attribute name="table:password">
4854 <ref name="string"/>
4855 </attribute>
4856 </optional>
4857 </interleave>
4858 </define>
4859 <define name="table-data-pilot-field">
4860 <element name="table:data-pilot-field">
4861 <ref name="table-data-pilot-field-attlist"/>
4862 <optional>
4863 <ref name="table-data-pilot-level"/>
4864 </optional>
4865 <optional>
4866 <ref name="table-data-pilot-field-reference"/>
4867 </optional>
4868 <optional>
4869 <ref name="table-data-pilot-groups"/>
4870 </optional>
4871 </element>
4872 </define>
4873 <define name="table-data-pilot-field-attlist">
4874 <interleave>
4875 <attribute name="table:source-field-name">
4876 <ref name="string"/>
4877 </attribute>
4878 <choice>
4879 <attribute name="table:orientation">
4880 <choice>
4881 <value>row</value>
4882 <value>column</value>
4883 <value>data</value>
4884 <value>hidden</value>
4885 </choice>
4886 </attribute>
4887 <group>
4888 <attribute name="table:orientation">
4889 <value>page</value>
4890 </attribute>
4891 <attribute name="table:selected-page">
4892 <ref name="string"/>
4893 </attribute>
4894 </group>
4895 </choice>
4896 <optional>
4897 <attribute name="table:is-data-layout-field">
4898 <ref name="string"/>
4899 </attribute>
4900 </optional>
4901 <optional>
4902 <attribute name="table:function">
4903 <choice>
4904 <value>auto</value>
4905 <value>average</value>
4906 <value>count</value>
4907 <value>countnums</value>
4908 <value>max</value>
4909 <value>min</value>
4910 <value>product</value>
4911 <value>stdev</value>
4912 <value>stdevp</value>
4913 <value>sum</value>
4914 <value>var</value>
4915 <value>varp</value>
4916 <ref name="string"/>
4917 </choice>
4918 </attribute>
4919 </optional>
4920 <optional>
4921 <attribute name="table:used-hierarchy">
4922 <ref name="integer"/>
4923 </attribute>
4924 </optional>
4925 </interleave>
4926 </define>
4927 <define name="table-data-pilot-level">
4928 <element name="table:data-pilot-level">
4929 <ref name="table-data-pilot-level-attlist"/>
4930 <optional>
4931 <ref name="table-data-pilot-subtotals"/>
4932 </optional>
4933 <optional>
4934 <ref name="table-data-pilot-members"/>
4935 </optional>
4936 <optional>
4937 <ref name="table-data-pilot-display-info"/>
4938 </optional>
4939 <optional>
4940 <ref name="table-data-pilot-sort-info"/>
4941 </optional>
4942 <optional>
4943 <ref name="table-data-pilot-layout-info"/>
4944 </optional>
4945 </element>
4946 </define>
4947 <define name="table-data-pilot-level-attlist">
4948 <optional>
4949 <attribute name="table:show-empty">
4950 <ref name="boolean"/>
4951 </attribute>
4952 </optional>
4953 </define>
4954 <define name="table-data-pilot-subtotals">
4955 <element name="table:data-pilot-subtotals">
4956 <zeroOrMore>
4957 <ref name="table-data-pilot-subtotal"/>
4958 </zeroOrMore>
4959 </element>
4960 </define>
4961 <define name="table-data-pilot-subtotal">
4962 <element name="table:data-pilot-subtotal">
4963 <ref name="table-data-pilot-subtotal-attlist"/>
4964 <empty/>
4965 </element>
4966 </define>
4967 <define name="table-data-pilot-subtotal-attlist">
4968 <attribute name="table:function">
4969 <choice>
4970 <value>auto</value>
4971 <value>average</value>
4972 <value>count</value>
4973 <value>countnums</value>
4974 <value>max</value>
4975 <value>min</value>
4976 <value>product</value>
4977 <value>stdev</value>
4978 <value>stdevp</value>
4979 <value>sum</value>
4980 <value>var</value>
4981 <value>varp</value>
4982 <ref name="string"/>
4983 </choice>
4984 </attribute>
4985 </define>
4986 <define name="table-data-pilot-members">
4987 <element name="table:data-pilot-members">
4988 <zeroOrMore>
4989 <ref name="table-data-pilot-member"/>
4990 </zeroOrMore>
4991 </element>
4992 </define>
4993 <define name="table-data-pilot-member">
4994 <element name="table:data-pilot-member">
4995 <ref name="table-data-pilot-member-attlist"/>
4996 <empty/>
4997 </element>
4998 </define>
4999 <define name="table-data-pilot-member-attlist">
5000 <interleave>
5001 <attribute name="table:name">
5002 <ref name="string"/>
5003 </attribute>
5004 <optional>
5005 <attribute name="table:display">
5006 <ref name="boolean"/>
5007 </attribute>
5008 </optional>
5009 <optional>
5010 <attribute name="table:show-details">
5011 <ref name="boolean"/>
5012 </attribute>
5013 </optional>
5014 </interleave>
5015 </define>
5016 <define name="table-data-pilot-display-info">
5017 <element name="table:data-pilot-display-info">
5018 <ref name="table-data-pilot-display-info-attlist"/>
5019 <empty/>
5020 </element>
5021 </define>
5022 <define name="table-data-pilot-display-info-attlist">
5023 <interleave>
5024 <attribute name="table:enabled">
5025 <ref name="boolean"/>
5026 </attribute>
5027 <attribute name="table:data-field">
5028 <ref name="string"/>
5029 </attribute>
5030 <attribute name="table:member-count">
5031 <ref name="nonNegativeInteger"/>
5032 </attribute>
5033 <attribute name="table:display-member-mode">
5034 <choice>
5035 <value>from-top</value>
5036 <value>from-bottom</value>
5037 </choice>
5038 </attribute>
5039 </interleave>
5040 </define>
5041 <define name="table-data-pilot-sort-info">
5042 <element name="table:data-pilot-sort-info">
5043 <ref name="table-data-pilot-sort-info-attlist"/>
5044 <empty/>
5045 </element>
5046 </define>
5047 <define name="table-data-pilot-sort-info-attlist">
5048 <interleave>
5049 <choice>
5050 <group>
5051 <attribute name="table:sort-mode">
5052 <value>data</value>
5053 </attribute>
5054 <attribute name="table:data-field">
5055 <ref name="string"/>
5056 </attribute>
5057 </group>
5058 <attribute name="table:sort-mode">
5059 <choice>
5060 <value>none</value>
5061 <value>manual</value>
5062 <value>name</value>
5063 </choice>
5064 </attribute>
5065 </choice>
5066 <attribute name="table:order">
5067 <choice>
5068 <value>ascending</value>
5069 <value>descending</value>
5070 </choice>
5071 </attribute>
5072 </interleave>
5073 </define>
5074 <define name="table-data-pilot-layout-info">
5075 <element name="table:data-pilot-layout-info">
5076 <ref name="table-data-pilot-layout-info-attlist"/>
5077 <empty/>
5078 </element>
5079 </define>
5080 <define name="table-data-pilot-layout-info-attlist">
5081 <interleave>
5082 <attribute name="table:layout-mode">
5083 <choice>
5084 <value>tabular-layout</value>
5085 <value>outline-subtotals-top</value>
5086 <value>outline-subtotals-bottom</value>
5087 </choice>
5088 </attribute>
5089 <attribute name="table:add-empty-lines">
5090 <ref name="boolean"/>
5091 </attribute>
5092 </interleave>
5093 </define>
5094 <define name="table-data-pilot-field-reference">
5095 <element name="table:data-pilot-field-reference">
5096 <ref name="table-data-pilot-field-reference-attlist"/>
5097 </element>
5098 </define>
5099 <define name="table-data-pilot-field-reference-attlist">
5100 <interleave>
5101 <attribute name="table:field-name">
5102 <ref name="string"/>
5103 </attribute>
5104 <choice>
5105 <group>
5106 <attribute name="table:member-type">
5107 <value>named</value>
5108 </attribute>
5109 <attribute name="table:member-name">
5110 <ref name="string"/>
5111 </attribute>
5112 </group>
5113 <attribute name="table:member-type">
5114 <choice>
5115 <value>previous</value>
5116 <value>next</value>
5117 </choice>
5118 </attribute>
5119 </choice>
5120 <attribute name="table:type">
5121 <choice>
5122 <value>none</value>
5123 <value>member-difference</value>
5124 <value>member-percentage</value>
5125 <value>member-percentage-difference</value>
5126 <value>running-total</value>
5127 <value>row-percentage</value>
5128 <value>column-percentage</value>
5129 <value>total-percentage</value>
5130 <value>index</value>
5131 </choice>
5132 </attribute>
5133 </interleave>
5134 </define>
5135 <define name="table-data-pilot-groups">
5136 <element name="table:data-pilot-groups">
5137 <ref name="table-data-pilot-groups-attlist"/>
5138 <oneOrMore>
5139 <ref name="table-data-pilot-group"/>
5140 </oneOrMore>
5141 </element>
5142 </define>
5143 <define name="table-data-pilot-groups-attlist">
5144 <interleave>
5145 <attribute name="table:source-field-name">
5146 <ref name="string"/>
5147 </attribute>
5148 <choice>
5149 <attribute name="table:date-start">
5150 <choice>
5151 <ref name="dateOrDateTime"/>
5152 <value>auto</value>
5153 </choice>
5154 </attribute>
5155 <attribute name="table:start">
5156 <choice>
5157 <ref name="double"/>
5158 <value>auto</value>
5159 </choice>
5160 </attribute>
5161 </choice>
5162 <choice>
5163 <attribute name="table:date-end">
5164 <choice>
5165 <ref name="dateOrDateTime"/>
5166 <value>auto</value>
5167 </choice>
5168 </attribute>
5169 <attribute name="table:end">
5170 <choice>
5171 <ref name="double"/>
5172 <value>auto</value>
5173 </choice>
5174 </attribute>
5175 </choice>
5176 <attribute name="table:step">
5177 <ref name="double"/>
5178 </attribute>
5179 <attribute name="table:grouped-by">
5180 <choice>
5181 <value>seconds</value>
5182 <value>minutes</value>
5183 <value>hours</value>
5184 <value>days</value>
5185 <value>months</value>
5186 <value>quarters</value>
5187 <value>years</value>
5188 </choice>
5189 </attribute>
5190 </interleave>
5191 </define>
5192 <define name="table-data-pilot-group">
5193 <element name="table:data-pilot-group">
5194 <ref name="table-data-pilot-group-attlist"/>
5195 <oneOrMore>
5196 <ref name="table-data-pilot-group-member"/>
5197 </oneOrMore>
5198 </element>
5199 </define>
5200 <define name="table-data-pilot-group-attlist">
5201 <attribute name="table:name">
5202 <ref name="string"/>
5203 </attribute>
5204 </define>
5205 <define name="table-data-pilot-group-member">
5206 <element name="table:data-pilot-group-member">
5207 <ref name="table-data-pilot-group-member-attlist"/>
5208 </element>
5209 </define>
5210 <define name="table-data-pilot-group-member-attlist">
5211 <attribute name="table:name">
5212 <ref name="string"/>
5213 </attribute>
5214 </define>
5215 <define name="table-consolidation">
5216 <element name="table:consolidation">
5217 <ref name="table-consolidation-attlist"/>
5218 <empty/>
5219 </element>
5220 </define>
5221 <define name="table-consolidation-attlist">
5222 <interleave>
5223 <attribute name="table:function">
5224 <choice>
5225 <value>average</value>
5226 <value>count</value>
5227 <value>countnums</value>
5228 <value>max</value>
5229 <value>min</value>
5230 <value>product</value>
5231 <value>stdev</value>
5232 <value>stdevp</value>
5233 <value>sum</value>
5234 <value>var</value>
5235 <value>varp</value>
5236 <ref name="string"/>
5237 </choice>
5238 </attribute>
5239 <attribute name="table:source-cell-range-addresses">
5240 <ref name="cellRangeAddressList"/>
5241 </attribute>
5242 <attribute name="table:target-cell-address">
5243 <ref name="cellAddress"/>
5244 </attribute>
5245 <optional>
5246 <attribute name="table:use-labels">
5247 <choice>
5248 <value>none</value>
5249 <value>row</value>
5250 <value>column</value>
5251 <value>both</value>
5252 </choice>
5253 </attribute>
5254 </optional>
5255 <optional>
5256 <attribute name="table:link-to-source-data">
5257 <ref name="boolean"/>
5258 </attribute>
5259 </optional>
5260 </interleave>
5261 </define>
5262 <define name="table-dde-links">
5263 <element name="table:dde-links">
5264 <oneOrMore>
5265 <ref name="table-dde-link"/>
5266 </oneOrMore>
5267 </element>
5268 </define>
5269 <define name="table-tracked-changes">
5270 <element name="table:tracked-changes">
5271 <ref name="table-tracked-changes-attlist"/>
5272 <zeroOrMore>
5273 <choice>
5274 <ref name="table-cell-content-change"/>
5275 <ref name="table-insertion"/>
5276 <ref name="table-deletion"/>
5277 <ref name="table-movement"/>
5278 </choice>
5279 </zeroOrMore>
5280 </element>
5281 </define>
5282 <define name="table-tracked-changes-attlist">
5283 <optional>
5284 <attribute name="table:track-changes">
5285 <ref name="boolean"/>
5286 </attribute>
5287 </optional>
5288 </define>
5289 <define name="table-insertion">
5290 <element name="table:insertion">
5291 <ref name="table-insertion-attlist"/>
5292 <ref name="common-table-change-attlist"/>
5293 <ref name="office-change-info"/>
5294 <optional>
5295 <ref name="table-dependencies"/>
5296 </optional>
5297 <optional>
5298 <ref name="table-deletions"/>
5299 </optional>
5300 </element>
5301 </define>
5302 <define name="table-insertion-attlist">
5303 <interleave>
5304 <attribute name="table:type">
5305 <choice>
5306 <value>row</value>
5307 <value>column</value>
5308 <value>table</value>
5309 </choice>
5310 </attribute>
5311 <attribute name="table:position">
5312 <ref name="integer"/>
5313 </attribute>
5314 <optional>
5315 <attribute name="table:count">
5316 <ref name="positiveInteger"/>
5317 </attribute>
5318 </optional>
5319 <optional>
5320 <attribute name="table:table">
5321 <ref name="integer"/>
5322 </attribute>
5323 </optional>
5324 </interleave>
5325 </define>
5326 <define name="table-dependencies">
5327 <element name="table:dependencies">
5328 <oneOrMore>
5329 <ref name="table-dependency"/>
5330 </oneOrMore>
5331 </element>
5332 </define>
5333 <define name="table-dependency">
5334 <element name="table:dependency">
5335 <attribute name="table:id">
5336 <ref name="string"/>
5337 </attribute>
5338 <empty/>
5339 </element>
5340 </define>
5341 <define name="table-deletions">
5342 <element name="table:deletions">
5343 <oneOrMore>
5344 <choice>
5345 <ref name="table-cell-content-deletion"/>
5346 <ref name="table-change-deletion"/>
5347 </choice>
5348 </oneOrMore>
5349 </element>
5350 </define>
5351 <define name="table-cell-content-deletion">
5352 <element name="table:cell-content-deletion">
5353 <optional>
5354 <attribute name="table:id">
5355 <ref name="string"/>
5356 </attribute>
5357 </optional>
5358 <optional>
5359 <ref name="table-cell-address"/>
5360 </optional>
5361 <optional>
5362 <ref name="table-change-track-table-cell"/>
5363 </optional>
5364 </element>
5365 </define>
5366 <define name="table-change-deletion">
5367 <element name="table:change-deletion">
5368 <optional>
5369 <attribute name="table:id">
5370 <ref name="string"/>
5371 </attribute>
5372 </optional>
5373 <empty/>
5374 </element>
5375 </define>
5376 <define name="table-deletion">
5377 <element name="table:deletion">
5378 <ref name="table-deletion-attlist"/>
5379 <ref name="common-table-change-attlist"/>
5380 <ref name="office-change-info"/>
5381 <optional>
5382 <ref name="table-dependencies"/>
5383 </optional>
5384 <optional>
5385 <ref name="table-deletions"/>
5386 </optional>
5387 <optional>
5388 <ref name="table-cut-offs"/>
5389 </optional>
5390 </element>
5391 </define>
5392 <define name="table-deletion-attlist">
5393 <interleave>
5394 <attribute name="table:type">
5395 <choice>
5396 <value>row</value>
5397 <value>column</value>
5398 <value>table</value>
5399 </choice>
5400 </attribute>
5401 <attribute name="table:position">
5402 <ref name="integer"/>
5403 </attribute>
5404 <optional>
5405 <attribute name="table:table">
5406 <ref name="integer"/>
5407 </attribute>
5408 </optional>
5409 <optional>
5410 <attribute name="table:multi-deletion-spanned">
5411 <ref name="integer"/>
5412 </attribute>
5413 </optional>
5414 </interleave>
5415 </define>
5416 <define name="table-cut-offs">
5417 <element name="table:cut-offs">
5418 <choice>
5419 <oneOrMore>
5420 <ref name="table-movement-cut-off"/>
5421 </oneOrMore>
5422 <group>
5423 <ref name="table-insertion-cut-off"/>
5424 <zeroOrMore>
5425 <ref name="table-movement-cut-off"/>
5426 </zeroOrMore>
5427 </group>
5428 </choice>
5429 </element>
5430 </define>
5431 <define name="table-insertion-cut-off">
5432 <element name="table:insertion-cut-off">
5433 <ref name="table-insertion-cut-off-attlist"/>
5434 <empty/>
5435 </element>
5436 </define>
5437 <define name="table-insertion-cut-off-attlist">
5438 <interleave>
5439 <attribute name="table:id">
5440 <ref name="string"/>
5441 </attribute>
5442 <attribute name="table:position">
5443 <ref name="integer"/>
5444 </attribute>
5445 </interleave>
5446 </define>
5447 <define name="table-movement-cut-off">
5448 <element name="table:movement-cut-off">
5449 <ref name="table-movement-cut-off-attlist"/>
5450 <empty/>
5451 </element>
5452 </define>
5453 <define name="table-movement-cut-off-attlist">
5454 <choice>
5455 <attribute name="table:position">
5456 <ref name="integer"/>
5457 </attribute>
5458 <group>
5459 <attribute name="table:start-position">
5460 <ref name="integer"/>
5461 </attribute>
5462 <attribute name="table:end-position">
5463 <ref name="integer"/>
5464 </attribute>
5465 </group>
5466 </choice>
5467 </define>
5468 <define name="table-movement">
5469 <element name="table:movement">
5470 <ref name="common-table-change-attlist"/>
5471 <ref name="table-source-range-address"/>
5472 <ref name="table-target-range-address"/>
5473 <ref name="office-change-info"/>
5474 <optional>
5475 <ref name="table-dependencies"/>
5476 </optional>
5477 <optional>
5478 <ref name="table-deletions"/>
5479 </optional>
5480 </element>
5481 </define>
5482 <define name="table-source-range-address">
5483 <element name="table:source-range-address">
5484 <ref name="common-table-range-attlist"/>
5485 <empty/>
5486 </element>
5487 </define>
5488 <define name="table-target-range-address">
5489 <element name="table:target-range-address">
5490 <ref name="common-table-range-attlist"/>
5491 <empty/>
5492 </element>
5493 </define>
5494 <define name="common-table-range-attlist">
5495 <choice>
5496 <group>
5497 <ref name="common-table-cell-address-attlist"/>
5498 </group>
5499 <group>
5500 <ref name="common-table-cell-range-address-attlist"/>
5501 </group>
5502 </choice>
5503 </define>
5504 <define name="common-table-cell-address-attlist">
5505 <attribute name="table:column">
5506 <ref name="integer"/>
5507 </attribute>
5508 <attribute name="table:row">
5509 <ref name="integer"/>
5510 </attribute>
5511 <attribute name="table:table">
5512 <ref name="integer"/>
5513 </attribute>
5514 </define>
5515 <define name="common-table-cell-range-address-attlist">
5516 <attribute name="table:start-column">
5517 <ref name="integer"/>
5518 </attribute>
5519 <attribute name="table:start-row">
5520 <ref name="integer"/>
5521 </attribute>
5522 <attribute name="table:start-table">
5523 <ref name="integer"/>
5524 </attribute>
5525 <attribute name="table:end-column">
5526 <ref name="integer"/>
5527 </attribute>
5528 <attribute name="table:end-row">
5529 <ref name="integer"/>
5530 </attribute>
5531 <attribute name="table:end-table">
5532 <ref name="integer"/>
5533 </attribute>
5534 </define>
5535 <define name="table-change-track-table-cell">
5536 <element name="table:change-track-table-cell">
5537 <ref name="table-change-track-table-cell-attlist"/>
5538 <zeroOrMore>
5539 <ref name="text-p"/>
5540 </zeroOrMore>
5541 </element>
5542 </define>
5543 <define name="table-change-track-table-cell-attlist">
5544 <interleave>
5545 <optional>
5546 <attribute name="table:cell-address">
5547 <ref name="cellAddress"/>
5548 </attribute>
5549 </optional>
5550 <optional>
5551 <attribute name="table:matrix-covered">
5552 <ref name="boolean"/>
5553 </attribute>
5554 </optional>
5555 <optional>
5556 <attribute name="table:formula">
5557 <ref name="string"/>
5558 </attribute>
5559 </optional>
5560 <optional>
5561 <attribute name="table:number-matrix-columns-spanned">
5562 <ref name="positiveInteger"/>
5563 </attribute>
5564 </optional>
5565 <optional>
5566 <attribute name="table:number-matrix-rows-spanned">
5567 <ref name="positiveInteger"/>
5568 </attribute>
5569 </optional>
5570 <optional>
5571 <ref name="common-value-and-type-attlist"/>
5572 </optional>
5573 </interleave>
5574 </define>
5575 <define name="table-cell-content-change">
5576 <element name="table:cell-content-change">
5577 <ref name="common-table-change-attlist"/>
5578 <ref name="table-cell-address"/>
5579 <ref name="office-change-info"/>
5580 <optional>
5581 <ref name="table-dependencies"/>
5582 </optional>
5583 <optional>
5584 <ref name="table-deletions"/>
5585 </optional>
5586 <ref name="table-previous"/>
5587 </element>
5588 </define>
5589 <define name="table-cell-address">
5590 <element name="table:cell-address">
5591 <ref name="common-table-cell-address-attlist"/>
5592 <empty/>
5593 </element>
5594 </define>
5595 <define name="table-previous">
5596 <element name="table:previous">
5597 <optional>
5598 <attribute name="table:id">
5599 <ref name="string"/>
5600 </attribute>
5601 </optional>
5602 <ref name="table-change-track-table-cell"/>
5603 </element>
5604 </define>
5605 <define name="common-table-change-attlist">
5606 <interleave>
5607 <attribute name="table:id">
5608 <ref name="string"/>
5609 </attribute>
5610 <optional>
5611 <attribute name="table:acceptance-state">
5612 <choice>
5613 <value>accepted</value>
5614 <value>rejected</value>
5615 <value>pending</value>
5616 </choice>
5617 </attribute>
5618 </optional>
5619 <optional>
5620 <attribute name="table:rejecting-change-id">
5621 <ref name="string"/>
5622 </attribute>
5623 </optional>
5624 </interleave>
5625 </define>
5626 <define name="style-handout-master">
5627 <element name="style:handout-master">
5628 <ref name="common-presentation-header-footer-attlist"/>
5629 <ref name="style-handout-master-attlist"/>
5630 <zeroOrMore>
5631 <ref name="shape"/>
5632 </zeroOrMore>
5633 </element>
5634 </define>
5635 <define name="style-handout-master-attlist">
5636 <interleave>
5637 <optional>
5638 <attribute name="presentation:presentation-page-layout-name">
5639 <ref name="styleNameRef"/>
5640 </attribute>
5641 </optional>
5642 <attribute name="style:page-layout-name">
5643 <ref name="styleNameRef"/>
5644 </attribute>
5645 <optional>
5646 <attribute name="draw:style-name">
5647 <ref name="styleNameRef"/>
5648 </attribute>
5649 </optional>
5650 </interleave>
5651 </define>
5652 <define name="draw-layer-set">
5653 <element name="draw:layer-set">
5654 <zeroOrMore>
5655 <ref name="draw-layer"/>
5656 </zeroOrMore>
5657 </element>
5658 </define>
5659 <define name="draw-layer">
5660 <element name="draw:layer">
5661 <ref name="draw-layer-attlist"/>
5662 <optional>
5663 <ref name="svg-title"/>
5664 </optional>
5665 <optional>
5666 <ref name="svg-desc"/>
5667 </optional>
5668 </element>
5669 </define>
5670 <define name="draw-layer-attlist">
5671 <interleave>
5672 <attribute name="draw:name">
5673 <ref name="string"/>
5674 </attribute>
5675 <optional>
5676 <attribute name="draw:protected">
5677 <ref name="boolean"/>
5678 </attribute>
5679 </optional>
5680 <optional>
5681 <attribute name="draw:display">
5682 <choice>
5683 <value>always</value>
5684 <value>screen</value>
5685 <value>printer</value>
5686 <value>none</value>
5687 </choice>
5688 </attribute>
5689 </optional>
5690 </interleave>
5691 </define>
5692 <define name="draw-page">
5693 <element name="draw:page">
5694 <ref name="common-presentation-header-footer-attlist"/>
5695 <ref name="draw-page-attlist"/>
5696 <optional>
5697 <ref name="svg-title"/>
5698 </optional>
5699 <optional>
5700 <ref name="svg-desc"/>
5701 </optional>
5702 <optional>
5703 <ref name="draw-layer-set"/>
5704 </optional>
5705 <optional>
5706 <ref name="office-forms"/>
5707 </optional>
5708 <zeroOrMore>
5709 <ref name="shape"/>
5710 </zeroOrMore>
5711 <optional>
5712 <choice>
5713 <ref name="presentation-animations"/>
5714 <ref name="animation-element"/>
5715 </choice>
5716 </optional>
5717 <optional>
5718 <ref name="presentation-notes"/>
5719 </optional>
5720 </element>
5721 </define>
5722 <define name="draw-page-attlist">
5723 <interleave>
5724 <optional>
5725 <attribute name="draw:name">
5726 <ref name="string"/>
5727 </attribute>
5728 </optional>
5729 <optional>
5730 <attribute name="draw:style-name">
5731 <ref name="styleNameRef"/>
5732 </attribute>
5733 </optional>
5734 <attribute name="draw:master-page-name">
5735 <ref name="styleNameRef"/>
5736 </attribute>
5737 <optional>
5738 <attribute name="presentation:presentation-page-layout-name">
5739 <ref name="styleNameRef"/>
5740 </attribute>
5741 </optional>
5742 <optional>
5743 <group>
5744 <ref name="xml-id"/>
5745 <optional>
5746 <attribute name="draw:id">
5747 <ref name="NCName"/>
5748 </attribute>
5749 </optional>
5750 </group>
5751 </optional>
5752 <optional>
5753 <attribute name="draw:nav-order">
5754 <ref name="IDREFS"/>
5755 </attribute>
5756 </optional>
5757 </interleave>
5758 </define>
5759 <define name="common-presentation-header-footer-attlist">
5760 <interleave>
5761 <optional>
5762 <attribute name="presentation:use-header-name">
5763 <ref name="string"/>
5764 </attribute>
5765 </optional>
5766 <optional>
5767 <attribute name="presentation:use-footer-name">
5768 <ref name="string"/>
5769 </attribute>
5770 </optional>
5771 <optional>
5772 <attribute name="presentation:use-date-time-name">
5773 <ref name="string"/>
5774 </attribute>
5775 </optional>
5776 </interleave>
5777 </define>
5778 <define name="shape">
5779 <choice>
5780 <ref name="shape-instance"/>
5781 <ref name="draw-a"/>
5782 </choice>
5783 </define>
5784 <define name="shape-instance">
5785 <choice>
5786 <ref name="draw-rect"/>
5787 <ref name="draw-line"/>
5788 <ref name="draw-polyline"/>
5789 <ref name="draw-polygon"/>
5790 <ref name="draw-regular-polygon"/>
5791 <ref name="draw-path"/>
5792 <ref name="draw-circle"/>
5793 <ref name="draw-ellipse"/>
5794 <ref name="draw-g"/>
5795 <ref name="draw-page-thumbnail"/>
5796 <ref name="draw-frame"/>
5797 <ref name="draw-measure"/>
5798 <ref name="draw-caption"/>
5799 <ref name="draw-connector"/>
5800 <ref name="draw-control"/>
5801 <ref name="dr3d-scene"/>
5802 <ref name="draw-custom-shape"/>
5803 </choice>
5804 </define>
5805 <define name="draw-rect">
5806 <element name="draw:rect">
5807 <ref name="draw-rect-attlist"/>
5808 <ref name="common-draw-position-attlist"/>
5809 <ref name="common-draw-size-attlist"/>
5810 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5811 <ref name="common-draw-caption-id-attlist"/>
5812 <optional>
5813 <ref name="svg-title"/>
5814 </optional>
5815 <optional>
5816 <ref name="svg-desc"/>
5817 </optional>
5818 <optional>
5819 <ref name="office-event-listeners"/>
5820 </optional>
5821 <zeroOrMore>
5822 <ref name="draw-glue-point"/>
5823 </zeroOrMore>
5824 <ref name="draw-text"/>
5825 </element>
5826 </define>
5827 <define name="draw-rect-attlist">
5828 <choice>
5829 <optional>
5830 <attribute name="draw:corner-radius">
5831 <ref name="nonNegativeLength"/>
5832 </attribute>
5833 </optional>
5834 <group>
5835 <optional>
5836 <attribute name="svg:rx">
5837 <ref name="nonNegativeLength"/>
5838 </attribute>
5839 </optional>
5840 <optional>
5841 <attribute name="svg:ry">
5842 <ref name="nonNegativeLength"/>
5843 </attribute>
5844 </optional>
5845 </group>
5846 </choice>
5847 </define>
5848 <define name="draw-line">
5849 <element name="draw:line">
5850 <ref name="draw-line-attlist"/>
5851 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5852 <ref name="common-draw-caption-id-attlist"/>
5853 <optional>
5854 <ref name="svg-title"/>
5855 </optional>
5856 <optional>
5857 <ref name="svg-desc"/>
5858 </optional>
5859 <optional>
5860 <ref name="office-event-listeners"/>
5861 </optional>
5862 <zeroOrMore>
5863 <ref name="draw-glue-point"/>
5864 </zeroOrMore>
5865 <ref name="draw-text"/>
5866 </element>
5867 </define>
5868 <define name="draw-line-attlist">
5869 <interleave>
5870 <attribute name="svg:x1">
5871 <ref name="coordinate"/>
5872 </attribute>
5873 <attribute name="svg:y1">
5874 <ref name="coordinate"/>
5875 </attribute>
5876 <attribute name="svg:x2">
5877 <ref name="coordinate"/>
5878 </attribute>
5879 <attribute name="svg:y2">
5880 <ref name="coordinate"/>
5881 </attribute>
5882 </interleave>
5883 </define>
5884 <define name="draw-polyline">
5885 <element name="draw:polyline">
5886 <ref name="common-draw-points-attlist"/>
5887 <ref name="common-draw-position-attlist"/>
5888 <ref name="common-draw-size-attlist"/>
5889 <ref name="common-draw-viewbox-attlist"/>
5890 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5891 <ref name="common-draw-caption-id-attlist"/>
5892 <optional>
5893 <ref name="svg-title"/>
5894 </optional>
5895 <optional>
5896 <ref name="svg-desc"/>
5897 </optional>
5898 <optional>
5899 <ref name="office-event-listeners"/>
5900 </optional>
5901 <zeroOrMore>
5902 <ref name="draw-glue-point"/>
5903 </zeroOrMore>
5904 <ref name="draw-text"/>
5905 </element>
5906 </define>
5907 <define name="common-draw-points-attlist">
5908 <attribute name="draw:points">
5909 <ref name="points"/>
5910 </attribute>
5911 </define>
5912 <define name="draw-polygon">
5913 <element name="draw:polygon">
5914 <ref name="common-draw-points-attlist"/>
5915 <ref name="common-draw-position-attlist"/>
5916 <ref name="common-draw-size-attlist"/>
5917 <ref name="common-draw-viewbox-attlist"/>
5918 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5919 <ref name="common-draw-caption-id-attlist"/>
5920 <optional>
5921 <ref name="svg-title"/>
5922 </optional>
5923 <optional>
5924 <ref name="svg-desc"/>
5925 </optional>
5926 <optional>
5927 <ref name="office-event-listeners"/>
5928 </optional>
5929 <zeroOrMore>
5930 <ref name="draw-glue-point"/>
5931 </zeroOrMore>
5932 <ref name="draw-text"/>
5933 </element>
5934 </define>
5935 <define name="draw-regular-polygon">
5936 <element name="draw:regular-polygon">
5937 <ref name="draw-regular-polygon-attlist"/>
5938 <ref name="common-draw-position-attlist"/>
5939 <ref name="common-draw-size-attlist"/>
5940 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5941 <ref name="common-draw-caption-id-attlist"/>
5942 <optional>
5943 <ref name="svg-title"/>
5944 </optional>
5945 <optional>
5946 <ref name="svg-desc"/>
5947 </optional>
5948 <optional>
5949 <ref name="office-event-listeners"/>
5950 </optional>
5951 <zeroOrMore>
5952 <ref name="draw-glue-point"/>
5953 </zeroOrMore>
5954 <ref name="draw-text"/>
5955 </element>
5956 </define>
5957 <define name="draw-regular-polygon-attlist">
5958 <interleave>
5959 <choice>
5960 <attribute name="draw:concave">
5961 <value>false</value>
5962 </attribute>
5963 <group>
5964 <attribute name="draw:concave">
5965 <value>true</value>
5966 </attribute>
5967 <ref name="draw-regular-polygon-sharpness-attlist"/>
5968 </group>
5969 </choice>
5970 <attribute name="draw:corners">
5971 <ref name="positiveInteger"/>
5972 </attribute>
5973 </interleave>
5974 </define>
5975 <define name="draw-regular-polygon-sharpness-attlist">
5976 <attribute name="draw:sharpness">
5977 <ref name="percent"/>
5978 </attribute>
5979 </define>
5980 <define name="draw-path">
5981 <element name="draw:path">
5982 <ref name="common-draw-path-data-attlist"/>
5983 <ref name="common-draw-position-attlist"/>
5984 <ref name="common-draw-size-attlist"/>
5985 <ref name="common-draw-viewbox-attlist"/>
5986 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5987 <ref name="common-draw-caption-id-attlist"/>
5988 <optional>
5989 <ref name="svg-title"/>
5990 </optional>
5991 <optional>
5992 <ref name="svg-desc"/>
5993 </optional>
5994 <optional>
5995 <ref name="office-event-listeners"/>
5996 </optional>
5997 <zeroOrMore>
5998 <ref name="draw-glue-point"/>
5999 </zeroOrMore>
6000 <ref name="draw-text"/>
6001 </element>
6002 </define>
6003 <define name="common-draw-path-data-attlist">
6004 <attribute name="svg:d">
6005 <ref name="pathData"/>
6006 </attribute>
6007 </define>
6008 <define name="draw-circle">
6009 <element name="draw:circle">
6010 <choice>
6011 <group>
6012 <ref name="draw-circle-attlist"/>
6013 <ref name="common-draw-circle-ellipse-pos-attlist"/>
6014 </group>
6015 <group>
6016 <ref name="common-draw-position-attlist"/>
6017 <ref name="common-draw-size-attlist"/>
6018 </group>
6019 </choice>
6020 <ref name="common-draw-circle-ellipse-attlist"/>
6021 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6022 <ref name="common-draw-caption-id-attlist"/>
6023 <optional>
6024 <ref name="svg-title"/>
6025 </optional>
6026 <optional>
6027 <ref name="svg-desc"/>
6028 </optional>
6029 <optional>
6030 <ref name="office-event-listeners"/>
6031 </optional>
6032 <zeroOrMore>
6033 <ref name="draw-glue-point"/>
6034 </zeroOrMore>
6035 <ref name="draw-text"/>
6036 </element>
6037 </define>
6038 <define name="common-draw-circle-ellipse-pos-attlist">
6039 <attribute name="svg:cx">
6040 <ref name="coordinate"/>
6041 </attribute>
6042 <attribute name="svg:cy">
6043 <ref name="coordinate"/>
6044 </attribute>
6045 </define>
6046 <define name="draw-circle-attlist">
6047 <attribute name="svg:r">
6048 <ref name="length"/>
6049 </attribute>
6050 </define>
6051 <define name="common-draw-circle-ellipse-attlist">
6052 <interleave>
6053 <optional>
6054 <attribute name="draw:kind">
6055 <choice>
6056 <value>full</value>
6057 <value>section</value>
6058 <value>cut</value>
6059 <value>arc</value>
6060 </choice>
6061 </attribute>
6062 </optional>
6063 <optional>
6064 <attribute name="draw:start-angle">
6065 <ref name="angle"/>
6066 </attribute>
6067 </optional>
6068 <optional>
6069 <attribute name="draw:end-angle">
6070 <ref name="angle"/>
6071 </attribute>
6072 </optional>
6073 </interleave>
6074 </define>
6075 <define name="draw-ellipse">
6076 <element name="draw:ellipse">
6077 <choice>
6078 <group>
6079 <ref name="draw-ellipse-attlist"/>
6080 <ref name="common-draw-circle-ellipse-pos-attlist"/>
6081 </group>
6082 <group>
6083 <ref name="common-draw-position-attlist"/>
6084 <ref name="common-draw-size-attlist"/>
6085 </group>
6086 </choice>
6087 <ref name="common-draw-circle-ellipse-attlist"/>
6088 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6089 <ref name="common-draw-caption-id-attlist"/>
6090 <optional>
6091 <ref name="svg-title"/>
6092 </optional>
6093 <optional>
6094 <ref name="svg-desc"/>
6095 </optional>
6096 <optional>
6097 <ref name="office-event-listeners"/>
6098 </optional>
6099 <zeroOrMore>
6100 <ref name="draw-glue-point"/>
6101 </zeroOrMore>
6102 <ref name="draw-text"/>
6103 </element>
6104 </define>
6105 <define name="draw-ellipse-attlist">
6106 <attribute name="svg:rx">
6107 <ref name="length"/>
6108 </attribute>
6109 <attribute name="svg:ry">
6110 <ref name="length"/>
6111 </attribute>
6112 </define>
6113 <define name="draw-connector">
6114 <element name="draw:connector">
6115 <ref name="draw-connector-attlist"/>
6116 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6117 <ref name="common-draw-caption-id-attlist"/>
6118 <ref name="common-draw-viewbox-attlist"/>
6119 <optional>
6120 <ref name="svg-title"/>
6121 </optional>
6122 <optional>
6123 <ref name="svg-desc"/>
6124 </optional>
6125 <optional>
6126 <ref name="office-event-listeners"/>
6127 </optional>
6128 <zeroOrMore>
6129 <ref name="draw-glue-point"/>
6130 </zeroOrMore>
6131 <ref name="draw-text"/>
6132 </element>
6133 </define>
6134 <define name="draw-connector-attlist">
6135 <interleave>
6136 <optional>
6137 <attribute name="draw:type">
6138 <choice>
6139 <value>standard</value>
6140 <value>lines</value>
6141 <value>line</value>
6142 <value>curve</value>
6143 </choice>
6144 </attribute>
6145 </optional>
6146 <optional>
6147 <attribute name="svg:x1">
6148 <ref name="coordinate"/>
6149 </attribute>
6150 <attribute name="svg:y1">
6151 <ref name="coordinate"/>
6152 </attribute>
6153 </optional>
6154 <optional>
6155 <attribute name="draw:start-shape">
6156 <ref name="IDREF"/>
6157 </attribute>
6158 </optional>
6159 <optional>
6160 <attribute name="draw:start-glue-point">
6161 <ref name="nonNegativeInteger"/>
6162 </attribute>
6163 </optional>
6164 <optional>
6165 <attribute name="svg:x2">
6166 <ref name="coordinate"/>
6167 </attribute>
6168 <attribute name="svg:y2">
6169 <ref name="coordinate"/>
6170 </attribute>
6171 </optional>
6172 <optional>
6173 <attribute name="draw:end-shape">
6174 <ref name="IDREF"/>
6175 </attribute>
6176 </optional>
6177 <optional>
6178 <attribute name="draw:end-glue-point">
6179 <ref name="nonNegativeInteger"/>
6180 </attribute>
6181 </optional>
6182 <optional>
6183 <attribute name="draw:line-skew">
6184 <list>
6185 <ref name="length"/>
6186 <optional>
6187 <ref name="length"/>
6188 <optional>
6189 <ref name="length"/>
6190 </optional>
6191 </optional>
6192 </list>
6193 </attribute>
6194 </optional>
6195 <optional>
6196 <attribute name="svg:d">
6197 <ref name="pathData"/>
6198 </attribute>
6199 </optional>
6200 </interleave>
6201 </define>
6202 <define name="draw-caption">
6203 <element name="draw:caption">
6204 <ref name="draw-caption-attlist"/>
6205 <ref name="common-draw-position-attlist"/>
6206 <ref name="common-draw-size-attlist"/>
6207 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6208 <ref name="common-draw-caption-id-attlist"/>
6209 <optional>
6210 <ref name="svg-title"/>
6211 </optional>
6212 <optional>
6213 <ref name="svg-desc"/>
6214 </optional>
6215 <optional>
6216 <ref name="office-event-listeners"/>
6217 </optional>
6218 <zeroOrMore>
6219 <ref name="draw-glue-point"/>
6220 </zeroOrMore>
6221 <ref name="draw-text"/>
6222 </element>
6223 </define>
6224 <define name="draw-caption-attlist">
6225 <interleave>
6226 <optional>
6227 <attribute name="draw:caption-point-x">
6228 <ref name="coordinate"/>
6229 </attribute>
6230 <attribute name="draw:caption-point-y">
6231 <ref name="coordinate"/>
6232 </attribute>
6233 </optional>
6234 <optional>
6235 <attribute name="draw:corner-radius">
6236 <ref name="nonNegativeLength"/>
6237 </attribute>
6238 </optional>
6239 </interleave>
6240 </define>
6241 <define name="draw-measure">
6242 <element name="draw:measure">
6243 <ref name="draw-measure-attlist"/>
6244 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6245 <ref name="common-draw-caption-id-attlist"/>
6246 <optional>
6247 <ref name="svg-title"/>
6248 </optional>
6249 <optional>
6250 <ref name="svg-desc"/>
6251 </optional>
6252 <optional>
6253 <ref name="office-event-listeners"/>
6254 </optional>
6255 <zeroOrMore>
6256 <ref name="draw-glue-point"/>
6257 </zeroOrMore>
6258 <ref name="draw-text"/>
6259 </element>
6260 </define>
6261 <define name="draw-measure-attlist">
6262 <interleave>
6263 <attribute name="svg:x1">
6264 <ref name="coordinate"/>
6265 </attribute>
6266 <attribute name="svg:y1">
6267 <ref name="coordinate"/>
6268 </attribute>
6269 <attribute name="svg:x2">
6270 <ref name="coordinate"/>
6271 </attribute>
6272 <attribute name="svg:y2">
6273 <ref name="coordinate"/>
6274 </attribute>
6275 </interleave>
6276 </define>
6277 <define name="draw-control">
6278 <element name="draw:control">
6279 <ref name="draw-control-attlist"/>
6280 <ref name="common-draw-position-attlist"/>
6281 <ref name="common-draw-size-attlist"/>
6282 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6283 <ref name="common-draw-caption-id-attlist"/>
6284 <optional>
6285 <ref name="svg-title"/>
6286 </optional>
6287 <optional>
6288 <ref name="svg-desc"/>
6289 </optional>
6290 <zeroOrMore>
6291 <ref name="draw-glue-point"/>
6292 </zeroOrMore>
6293 </element>
6294 </define>
6295 <define name="draw-control-attlist">
6296 <attribute name="draw:control">
6297 <ref name="IDREF"/>
6298 </attribute>
6299 </define>
6300 <define name="draw-page-thumbnail">
6301 <element name="draw:page-thumbnail">
6302 <ref name="draw-page-thumbnail-attlist"/>
6303 <ref name="common-draw-position-attlist"/>
6304 <ref name="common-draw-size-attlist"/>
6305 <ref name="presentation-shape-attlist"/>
6306 <ref name="common-draw-shape-with-styles-attlist"/>
6307 <ref name="common-draw-caption-id-attlist"/>
6308 <optional>
6309 <ref name="svg-title"/>
6310 </optional>
6311 <optional>
6312 <ref name="svg-desc"/>
6313 </optional>
6314 </element>
6315 </define>
6316 <define name="draw-page-thumbnail-attlist">
6317 <optional>
6318 <attribute name="draw:page-number">
6319 <ref name="positiveInteger"/>
6320 </attribute>
6321 </optional>
6322 </define>
6323 <define name="draw-g">
6324 <element name="draw:g">
6325 <ref name="draw-g-attlist"/>
6326 <ref name="common-draw-z-index-attlist"/>
6327 <ref name="common-draw-name-attlist"/>
6328 <ref name="common-draw-id-attlist"/>
6329 <ref name="common-draw-style-name-attlist"/>
6330 <ref name="common-text-spreadsheet-shape-attlist"/>
6331 <ref name="common-draw-caption-id-attlist"/>
6332 <optional>
6333 <ref name="svg-title"/>
6334 </optional>
6335 <optional>
6336 <ref name="svg-desc"/>
6337 </optional>
6338 <optional>
6339 <ref name="office-event-listeners"/>
6340 </optional>
6341 <zeroOrMore>
6342 <ref name="draw-glue-point"/>
6343 </zeroOrMore>
6344 <zeroOrMore>
6345 <ref name="shape"/>
6346 </zeroOrMore>
6347 </element>
6348 </define>
6349 <define name="draw-g-attlist">
6350 <optional>
6351 <attribute name="svg:y">
6352 <ref name="coordinate"/>
6353 </attribute>
6354 </optional>
6355 </define>
6356 <define name="common-draw-name-attlist">
6357 <optional>
6358 <attribute name="draw:name">
6359 <ref name="string"/>
6360 </attribute>
6361 </optional>
6362 </define>
6363 <define name="common-draw-caption-id-attlist">
6364 <optional>
6365 <attribute name="draw:caption-id">
6366 <ref name="IDREF"/>
6367 </attribute>
6368 </optional>
6369 </define>
6370 <define name="common-draw-position-attlist">
6371 <optional>
6372 <attribute name="svg:x">
6373 <ref name="coordinate"/>
6374 </attribute>
6375 </optional>
6376 <optional>
6377 <attribute name="svg:y">
6378 <ref name="coordinate"/>
6379 </attribute>
6380 </optional>
6381 </define>
6382 <define name="common-draw-size-attlist">
6383 <optional>
6384 <attribute name="svg:width">
6385 <ref name="length"/>
6386 </attribute>
6387 </optional>
6388 <optional>
6389 <attribute name="svg:height">
6390 <ref name="length"/>
6391 </attribute>
6392 </optional>
6393 </define>
6394 <define name="common-draw-transform-attlist">
6395 <optional>
6396 <attribute name="draw:transform">
6397 <ref name="string"/>
6398 </attribute>
6399 </optional>
6400 </define>
6401 <define name="common-draw-viewbox-attlist">
6402 <attribute name="svg:viewBox">
6403 <list>
6404 <ref name="integer"/>
6405 <ref name="integer"/>
6406 <ref name="integer"/>
6407 <ref name="integer"/>
6408 </list>
6409 </attribute>
6410 </define>
6411 <define name="common-draw-style-name-attlist">
6412 <choice>
6413 <group>
6414 <optional>
6415 <attribute name="draw:style-name">
6416 <ref name="styleNameRef"/>
6417 </attribute>
6418 </optional>
6419 <optional>
6420 <attribute name="draw:class-names">
6421 <ref name="styleNameRefs"/>
6422 </attribute>
6423 </optional>
6424 </group>
6425 <group>
6426 <optional>
6427 <attribute name="presentation:style-name">
6428 <ref name="styleNameRef"/>
6429 </attribute>
6430 </optional>
6431 <optional>
6432 <attribute name="presentation:class-names">
6433 <ref name="styleNameRefs"/>
6434 </attribute>
6435 </optional>
6436 </group>
6437 </choice>
6438 </define>
6439 <define name="common-draw-text-style-name-attlist">
6440 <optional>
6441 <attribute name="draw:text-style-name">
6442 <ref name="styleNameRef"/>
6443 </attribute>
6444 </optional>
6445 </define>
6446 <define name="common-draw-layer-name-attlist">
6447 <optional>
6448 <attribute name="draw:layer">
6449 <ref name="string"/>
6450 </attribute>
6451 </optional>
6452 </define>
6453 <define name="common-draw-id-attlist">
6454 <optional>
6455 <group>
6456 <ref name="xml-id"/>
6457 <optional>
6458 <attribute name="draw:id">
6459 <ref name="NCName"/>
6460 </attribute>
6461 </optional>
6462 </group>
6463 </optional>
6464 </define>
6465 <define name="common-draw-z-index-attlist">
6466 <optional>
6467 <attribute name="draw:z-index">
6468 <ref name="nonNegativeInteger"/>
6469 </attribute>
6470 </optional>
6471 </define>
6472 <define name="common-text-spreadsheet-shape-attlist">
6473 <interleave>
6474 <optional>
6475 <attribute name="table:end-cell-address">
6476 <ref name="cellAddress"/>
6477 </attribute>
6478 </optional>
6479 <optional>
6480 <attribute name="table:end-x">
6481 <ref name="coordinate"/>
6482 </attribute>
6483 </optional>
6484 <optional>
6485 <attribute name="table:end-y">
6486 <ref name="coordinate"/>
6487 </attribute>
6488 </optional>
6489 <optional>
6490 <attribute name="table:table-background">
6491 <ref name="boolean"/>
6492 </attribute>
6493 </optional>
6494 <ref name="common-text-anchor-attlist"/>
6495 </interleave>
6496 </define>
6497 <define name="common-text-anchor-attlist">
6498 <interleave>
6499 <optional>
6500 <attribute name="text:anchor-type">
6501 <choice>
6502 <value>page</value>
6503 <value>frame</value>
6504 <value>paragraph</value>
6505 <value>char</value>
6506 <value>as-char</value>
6507 </choice>
6508 </attribute>
6509 </optional>
6510 <optional>
6511 <attribute name="text:anchor-page-number">
6512 <ref name="positiveInteger"/>
6513 </attribute>
6514 </optional>
6515 </interleave>
6516 </define>
6517 <define name="draw-text">
6518 <zeroOrMore>
6519 <choice>
6520 <ref name="text-p"/>
6521 <ref name="text-list"/>
6522 </choice>
6523 </zeroOrMore>
6524 </define>
6525 <define name="common-draw-shape-with-styles-attlist">
6526 <ref name="common-draw-z-index-attlist"/>
6527 <ref name="common-draw-id-attlist"/>
6528 <ref name="common-draw-layer-name-attlist"/>
6529 <ref name="common-draw-style-name-attlist"/>
6530 <ref name="common-draw-transform-attlist"/>
6531 <ref name="common-draw-name-attlist"/>
6532 <ref name="common-text-spreadsheet-shape-attlist"/>
6533 </define>
6534 <define name="common-draw-shape-with-text-and-styles-attlist">
6535 <ref name="common-draw-shape-with-styles-attlist"/>
6536 <ref name="common-draw-text-style-name-attlist"/>
6537 </define>
6538 <define name="draw-glue-point">
6539 <element name="draw:glue-point">
6540 <ref name="draw-glue-point-attlist"/>
6541 <empty/>
6542 </element>
6543 </define>
6544 <define name="draw-glue-point-attlist">
6545 <interleave>
6546 <attribute name="draw:id">
6547 <ref name="nonNegativeInteger"/>
6548 </attribute>
6549 <attribute name="svg:x">
6550 <choice>
6551 <ref name="distance"/>
6552 <ref name="percent"/>
6553 </choice>
6554 </attribute>
6555 <attribute name="svg:y">
6556 <choice>
6557 <ref name="distance"/>
6558 <ref name="percent"/>
6559 </choice>
6560 </attribute>
6561 <optional>
6562 <attribute name="draw:align">
6563 <choice>
6564 <value>top-left</value>
6565 <value>top</value>
6566 <value>top-right</value>
6567 <value>left</value>
6568 <value>center</value>
6569 <value>right</value>
6570 <value>bottom-left</value>
6571 <value>bottom-right</value>
6572 </choice>
6573 </attribute>
6574 </optional>
6575 <attribute name="draw:escape-direction">
6576 <choice>
6577 <value>auto</value>
6578 <value>left</value>
6579 <value>right</value>
6580 <value>up</value>
6581 <value>down</value>
6582 <value>horizontal</value>
6583 <value>vertical</value>
6584 </choice>
6585 </attribute>
6586 </interleave>
6587 </define>
6588 <define name="svg-title">
6589 <element name="svg:title">
6590 <text/>
6591 </element>
6592 </define>
6593 <define name="svg-desc">
6594 <element name="svg:desc">
6595 <text/>
6596 </element>
6597 </define>
6598 <define name="draw-frame">
6599 <element name="draw:frame">
6600 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6601 <ref name="common-draw-position-attlist"/>
6602 <ref name="common-draw-rel-size-attlist"/>
6603 <ref name="common-draw-caption-id-attlist"/>
6604 <ref name="presentation-shape-attlist"/>
6605 <ref name="draw-frame-attlist"/>
6606 <zeroOrMore>
6607 <choice>
6608 <ref name="draw-text-box"/>
6609 <ref name="draw-image"/>
6610 <ref name="draw-object"/>
6611 <ref name="draw-object-ole"/>
6612 <ref name="draw-applet"/>
6613 <ref name="draw-floating-frame"/>
6614 <ref name="draw-plugin"/>
6615 <ref name="table-table"/>
6616 </choice>
6617 </zeroOrMore>
6618 <optional>
6619 <ref name="office-event-listeners"/>
6620 </optional>
6621 <zeroOrMore>
6622 <ref name="draw-glue-point"/>
6623 </zeroOrMore>
6624 <optional>
6625 <ref name="draw-image-map"/>
6626 </optional>
6627 <optional>
6628 <ref name="svg-title"/>
6629 </optional>
6630 <optional>
6631 <ref name="svg-desc"/>
6632 </optional>
6633 <optional>
6634 <choice>
6635 <ref name="draw-contour-polygon"/>
6636 <ref name="draw-contour-path"/>
6637 </choice>
6638 </optional>
6639 </element>
6640 </define>
6641 <define name="common-draw-rel-size-attlist">
6642 <ref name="common-draw-size-attlist"/>
6643 <optional>
6644 <attribute name="style:rel-width">
6645 <choice>
6646 <ref name="percent"/>
6647 <value>scale</value>
6648 <value>scale-min</value>
6649 </choice>
6650 </attribute>
6651 </optional>
6652 <optional>
6653 <attribute name="style:rel-height">
6654 <choice>
6655 <ref name="percent"/>
6656 <value>scale</value>
6657 <value>scale-min</value>
6658 </choice>
6659 </attribute>
6660 </optional>
6661 </define>
6662 <define name="draw-frame-attlist">
6663 <optional>
6664 <attribute name="draw:copy-of">
6665 <ref name="string"/>
6666 </attribute>
6667 </optional>
6668 </define>
6669 <define name="draw-text-box">
6670 <element name="draw:text-box">
6671 <ref name="draw-text-box-attlist"/>
6672 <zeroOrMore>
6673 <ref name="text-content"/>
6674 </zeroOrMore>
6675 </element>
6676 </define>
6677 <define name="draw-text-box-attlist">
6678 <interleave>
6679 <optional>
6680 <attribute name="draw:chain-next-name">
6681 <ref name="string"/>
6682 </attribute>
6683 </optional>
6684 <optional>
6685 <attribute name="draw:corner-radius">
6686 <ref name="nonNegativeLength"/>
6687 </attribute>
6688 </optional>
6689 <optional>
6690 <attribute name="fo:min-height">
6691 <choice>
6692 <ref name="length"/>
6693 <ref name="percent"/>
6694 </choice>
6695 </attribute>
6696 </optional>
6697 <optional>
6698 <attribute name="fo:min-width">
6699 <choice>
6700 <ref name="length"/>
6701 <ref name="percent"/>
6702 </choice>
6703 </attribute>
6704 </optional>
6705 <optional>
6706 <attribute name="fo:max-height">
6707 <choice>
6708 <ref name="length"/>
6709 <ref name="percent"/>
6710 </choice>
6711 </attribute>
6712 </optional>
6713 <optional>
6714 <attribute name="fo:max-width">
6715 <choice>
6716 <ref name="length"/>
6717 <ref name="percent"/>
6718 </choice>
6719 </attribute>
6720 </optional>
6721 <optional>
6722 <group>
6723 <ref name="xml-id"/>
6724 <optional>
6725 <attribute name="text:id">
6726 <ref name="NCName"/>
6727 </attribute>
6728 </optional>
6729 </group>
6730 </optional>
6731 </interleave>
6732 </define>
6733 <define name="draw-image">
6734 <element name="draw:image">
6735 <ref name="draw-image-attlist"/>
6736 <choice>
6737 <ref name="common-draw-data-attlist"/>
6738 <ref name="office-binary-data"/>
6739 </choice>
6740 <ref name="draw-text"/>
6741 </element>
6742 </define>
6743 <define name="common-draw-data-attlist">
6744 <group>
6745 <attribute name="xlink:type">
6746 <value>simple</value>
6747 </attribute>
6748 <attribute name="xlink:href">
6749 <ref name="anyIRI"/>
6750 </attribute>
6751 <optional>
6752 <attribute name="xlink:show">
6753 <value>embed</value>
6754 </attribute>
6755 </optional>
6756 <optional>
6757 <attribute name="xlink:actuate">
6758 <value>onLoad</value>
6759 </attribute>
6760 </optional>
6761 </group>
6762 </define>
6763 <define name="office-binary-data">
6764 <element name="office:binary-data">
6765 <ref name="base64Binary"/>
6766 </element>
6767 </define>
6768 <define name="draw-image-attlist">
6769 <interleave>
6770 <optional>
6771 <attribute name="draw:filter-name">
6772 <ref name="string"/>
6773 </attribute>
6774 </optional>
6775 <optional>
6776 <ref name="xml-id"/>
6777 </optional>
6778 </interleave>
6779 </define>
6780 <define name="draw-object">
6781 <element name="draw:object">
6782 <ref name="draw-object-attlist"/>
6783 <choice>
6784 <ref name="common-draw-data-attlist"/>
6785 <ref name="office-document"/>
6786 <ref name="math-math"/>
6787 </choice>
6788 </element>
6789 </define>
6790 <define name="draw-object-ole">
6791 <element name="draw:object-ole">
6792 <ref name="draw-object-ole-attlist"/>
6793 <choice>
6794 <ref name="common-draw-data-attlist"/>
6795 <ref name="office-binary-data"/>
6796 </choice>
6797 </element>
6798 </define>
6799 <define name="draw-object-attlist">
6800 <interleave>
6801 <optional>
6802 <attribute name="draw:notify-on-update-of-ranges">
6803 <choice>
6804 <ref name="cellRangeAddressList"/>
6805 <ref name="string"/>
6806 </choice>
6807 </attribute>
6808 </optional>
6809 <optional>
6810 <ref name="xml-id"/>
6811 </optional>
6812 </interleave>
6813 </define>
6814 <define name="draw-object-ole-attlist">
6815 <interleave>
6816 <optional>
6817 <attribute name="draw:class-id">
6818 <ref name="string"/>
6819 </attribute>
6820 </optional>
6821 <optional>
6822 <ref name="xml-id"/>
6823 </optional>
6824 </interleave>
6825 </define>
6826 <define name="draw-applet">
6827 <element name="draw:applet">
6828 <ref name="draw-applet-attlist"/>
6829 <optional>
6830 <ref name="common-draw-data-attlist"/>
6831 </optional>
6832 <zeroOrMore>
6833 <ref name="draw-param"/>
6834 </zeroOrMore>
6835 </element>
6836 </define>
6837 <define name="draw-applet-attlist">
6838 <interleave>
6839 <optional>
6840 <attribute name="draw:code">
6841 <ref name="string"/>
6842 </attribute>
6843 </optional>
6844 <optional>
6845 <attribute name="draw:object">
6846 <ref name="string"/>
6847 </attribute>
6848 </optional>
6849 <optional>
6850 <attribute name="draw:archive">
6851 <ref name="string"/>
6852 </attribute>
6853 </optional>
6854 <optional>
6855 <attribute name="draw:may-script">
6856 <ref name="boolean"/>
6857 </attribute>
6858 </optional>
6859 <optional>
6860 <ref name="xml-id"/>
6861 </optional>
6862 </interleave>
6863 </define>
6864 <define name="draw-plugin">
6865 <element name="draw:plugin">
6866 <ref name="draw-plugin-attlist"/>
6867 <ref name="common-draw-data-attlist"/>
6868 <zeroOrMore>
6869 <ref name="draw-param"/>
6870 </zeroOrMore>
6871 </element>
6872 </define>
6873 <define name="draw-plugin-attlist">
6874 <interleave>
6875 <optional>
6876 <attribute name="draw:mime-type">
6877 <ref name="string"/>
6878 </attribute>
6879 </optional>
6880 <optional>
6881 <ref name="xml-id"/>
6882 </optional>
6883 </interleave>
6884 </define>
6885 <define name="draw-param">
6886 <element name="draw:param">
6887 <ref name="draw-param-attlist"/>
6888 <empty/>
6889 </element>
6890 </define>
6891 <define name="draw-param-attlist">
6892 <interleave>
6893 <optional>
6894 <attribute name="draw:name">
6895 <ref name="string"/>
6896 </attribute>
6897 </optional>
6898 <optional>
6899 <attribute name="draw:value">
6900 <ref name="string"/>
6901 </attribute>
6902 </optional>
6903 </interleave>
6904 </define>
6905 <define name="draw-floating-frame">
6906 <element name="draw:floating-frame">
6907 <ref name="draw-floating-frame-attlist"/>
6908 <ref name="common-draw-data-attlist"/>
6909 </element>
6910 </define>
6911 <define name="draw-floating-frame-attlist">
6912 <interleave>
6913 <optional>
6914 <attribute name="draw:frame-name">
6915 <ref name="string"/>
6916 </attribute>
6917 </optional>
6918 <optional>
6919 <ref name="xml-id"/>
6920 </optional>
6921 </interleave>
6922 </define>
6923 <define name="draw-contour-polygon">
6924 <element name="draw:contour-polygon">
6925 <ref name="common-contour-attlist"/>
6926 <ref name="common-draw-size-attlist"/>
6927 <ref name="common-draw-viewbox-attlist"/>
6928 <ref name="common-draw-points-attlist"/>
6929 <empty/>
6930 </element>
6931 </define>
6932 <define name="draw-contour-path">
6933 <element name="draw:contour-path">
6934 <ref name="common-contour-attlist"/>
6935 <ref name="common-draw-size-attlist"/>
6936 <ref name="common-draw-viewbox-attlist"/>
6937 <ref name="common-draw-path-data-attlist"/>
6938 <empty/>
6939 </element>
6940 </define>
6941 <define name="common-contour-attlist">
6942 <attribute name="draw:recreate-on-edit">
6943 <ref name="boolean"/>
6944 </attribute>
6945 </define>
6946 <define name="draw-a">
6947 <element name="draw:a">
6948 <ref name="draw-a-attlist"/>
6949 <ref name="shape-instance"/>
6950 </element>
6951 </define>
6952 <define name="draw-a-attlist">
6953 <interleave>
6954 <attribute name="xlink:type">
6955 <value>simple</value>
6956 </attribute>
6957 <attribute name="xlink:href">
6958 <ref name="anyIRI"/>
6959 </attribute>
6960 <optional>
6961 <attribute name="xlink:actuate">
6962 <value>onRequest</value>
6963 </attribute>
6964 </optional>
6965 <optional>
6966 <attribute name="office:target-frame-name">
6967 <ref name="targetFrameName"/>
6968 </attribute>
6969 </optional>
6970 <optional>
6971 <attribute name="xlink:show">
6972 <choice>
6973 <value>new</value>
6974 <value>replace</value>
6975 </choice>
6976 </attribute>
6977 </optional>
6978 <optional>
6979 <attribute name="office:name">
6980 <ref name="string"/>
6981 </attribute>
6982 </optional>
6983 <optional>
6984 <attribute name="office:title">
6985 <ref name="string"/>
6986 </attribute>
6987 </optional>
6988 <optional>
6989 <attribute name="office:server-map">
6990 <ref name="boolean"/>
6991 </attribute>
6992 </optional>
6993 <optional>
6994 <ref name="xml-id"/>
6995 </optional>
6996 </interleave>
6997 </define>
6998 <define name="draw-image-map">
6999 <element name="draw:image-map">
7000 <zeroOrMore>
7001 <choice>
7002 <ref name="draw-area-rectangle"/>
7003 <ref name="draw-area-circle"/>
7004 <ref name="draw-area-polygon"/>
7005 </choice>
7006 </zeroOrMore>
7007 </element>
7008 </define>
7009 <define name="draw-area-rectangle">
7010 <element name="draw:area-rectangle">
7011 <ref name="common-draw-area-attlist"/>
7012 <attribute name="svg:x">
7013 <ref name="coordinate"/>
7014 </attribute>
7015 <attribute name="svg:y">
7016 <ref name="coordinate"/>
7017 </attribute>
7018 <attribute name="svg:width">
7019 <ref name="length"/>
7020 </attribute>
7021 <attribute name="svg:height">
7022 <ref name="length"/>
7023 </attribute>
7024 <optional>
7025 <ref name="svg-title"/>
7026 </optional>
7027 <optional>
7028 <ref name="svg-desc"/>
7029 </optional>
7030 <optional>
7031 <ref name="office-event-listeners"/>
7032 </optional>
7033 </element>
7034 </define>
7035 <define name="draw-area-circle">
7036 <element name="draw:area-circle">
7037 <ref name="common-draw-area-attlist"/>
7038 <attribute name="svg:cx">
7039 <ref name="coordinate"/>
7040 </attribute>
7041 <attribute name="svg:cy">
7042 <ref name="coordinate"/>
7043 </attribute>
7044 <attribute name="svg:r">
7045 <ref name="length"/>
7046 </attribute>
7047 <optional>
7048 <ref name="svg-title"/>
7049 </optional>
7050 <optional>
7051 <ref name="svg-desc"/>
7052 </optional>
7053 <optional>
7054 <ref name="office-event-listeners"/>
7055 </optional>
7056 </element>
7057 </define>
7058 <define name="draw-area-polygon">
7059 <element name="draw:area-polygon">
7060 <ref name="common-draw-area-attlist"/>
7061 <attribute name="svg:x">
7062 <ref name="coordinate"/>
7063 </attribute>
7064 <attribute name="svg:y">
7065 <ref name="coordinate"/>
7066 </attribute>
7067 <attribute name="svg:width">
7068 <ref name="length"/>
7069 </attribute>
7070 <attribute name="svg:height">
7071 <ref name="length"/>
7072 </attribute>
7073 <ref name="common-draw-viewbox-attlist"/>
7074 <ref name="common-draw-points-attlist"/>
7075 <optional>
7076 <ref name="svg-title"/>
7077 </optional>
7078 <optional>
7079 <ref name="svg-desc"/>
7080 </optional>
7081 <optional>
7082 <ref name="office-event-listeners"/>
7083 </optional>
7084 </element>
7085 </define>
7086 <define name="common-draw-area-attlist">
7087 <interleave>
7088 <optional>
7089 <attribute name="xlink:type">
7090 <value>simple</value>
7091 </attribute>
7092 <attribute name="xlink:href">
7093 <ref name="anyIRI"/>
7094 </attribute>
7095 <optional>
7096 <attribute name="office:target-frame-name">
7097 <ref name="targetFrameName"/>
7098 </attribute>
7099 </optional>
7100 <optional>
7101 <attribute name="xlink:show">
7102 <choice>
7103 <value>new</value>
7104 <value>replace</value>
7105 </choice>
7106 </attribute>
7107 </optional>
7108 </optional>
7109 <optional>
7110 <attribute name="office:name">
7111 <ref name="string"/>
7112 </attribute>
7113 </optional>
7114 <optional>
7115 <attribute name="draw:nohref">
7116 <value>nohref</value>
7117 </attribute>
7118 </optional>
7119 </interleave>
7120 </define>
7121 <define name="dr3d-scene">
7122 <element name="dr3d:scene">
7123 <ref name="dr3d-scene-attlist"/>
7124 <ref name="common-draw-position-attlist"/>
7125 <ref name="common-draw-size-attlist"/>
7126 <ref name="common-draw-style-name-attlist"/>
7127 <ref name="common-draw-z-index-attlist"/>
7128 <ref name="common-draw-id-attlist"/>
7129 <ref name="common-draw-layer-name-attlist"/>
7130 <ref name="common-text-spreadsheet-shape-attlist"/>
7131 <ref name="common-dr3d-transform-attlist"/>
7132 <ref name="common-draw-caption-id-attlist"/>
7133 <optional>
7134 <ref name="svg-title"/>
7135 </optional>
7136 <optional>
7137 <ref name="svg-desc"/>
7138 </optional>
7139 <zeroOrMore>
7140 <ref name="dr3d-light"/>
7141 </zeroOrMore>
7142 <zeroOrMore>
7143 <ref name="shapes3d"/>
7144 </zeroOrMore>
7145 <zeroOrMore>
7146 <ref name="draw-glue-point"/>
7147 </zeroOrMore>
7148 </element>
7149 </define>
7150 <define name="shapes3d">
7151 <choice>
7152 <ref name="dr3d-scene"/>
7153 <ref name="dr3d-extrude"/>
7154 <ref name="dr3d-sphere"/>
7155 <ref name="dr3d-rotate"/>
7156 <ref name="dr3d-cube"/>
7157 </choice>
7158 </define>
7159 <define name="dr3d-scene-attlist">
7160 <interleave>
7161 <optional>
7162 <attribute name="dr3d:vrp">
7163 <ref name="vector3D"/>
7164 </attribute>
7165 </optional>
7166 <optional>
7167 <attribute name="dr3d:vpn">
7168 <ref name="vector3D"/>
7169 </attribute>
7170 </optional>
7171 <optional>
7172 <attribute name="dr3d:vup">
7173 <ref name="vector3D"/>
7174 </attribute>
7175 </optional>
7176 <optional>
7177 <attribute name="dr3d:projection">
7178 <choice>
7179 <value>parallel</value>
7180 <value>perspective</value>
7181 </choice>
7182 </attribute>
7183 </optional>
7184 <optional>
7185 <attribute name="dr3d:distance">
7186 <ref name="length"/>
7187 </attribute>
7188 </optional>
7189 <optional>
7190 <attribute name="dr3d:focal-length">
7191 <ref name="length"/>
7192 </attribute>
7193 </optional>
7194 <optional>
7195 <attribute name="dr3d:shadow-slant">
7196 <ref name="angle"/>
7197 </attribute>
7198 </optional>
7199 <optional>
7200 <attribute name="dr3d:shade-mode">
7201 <choice>
7202 <value>flat</value>
7203 <value>phong</value>
7204 <value>gouraud</value>
7205 <value>draft</value>
7206 </choice>
7207 </attribute>
7208 </optional>
7209 <optional>
7210 <attribute name="dr3d:ambient-color">
7211 <ref name="color"/>
7212 </attribute>
7213 </optional>
7214 <optional>
7215 <attribute name="dr3d:lighting-mode">
7216 <ref name="boolean"/>
7217 </attribute>
7218 </optional>
7219 </interleave>
7220 </define>
7221 <define name="common-dr3d-transform-attlist">
7222 <optional>
7223 <attribute name="dr3d:transform">
7224 <ref name="string"/>
7225 </attribute>
7226 </optional>
7227 </define>
7228 <define name="dr3d-light">
7229 <element name="dr3d:light">
7230 <ref name="dr3d-light-attlist"/>
7231 <empty/>
7232 </element>
7233 </define>
7234 <define name="dr3d-light-attlist">
7235 <interleave>
7236 <optional>
7237 <attribute name="dr3d:diffuse-color">
7238 <ref name="color"/>
7239 </attribute>
7240 </optional>
7241 <attribute name="dr3d:direction">
7242 <ref name="vector3D"/>
7243 </attribute>
7244 <optional>
7245 <attribute name="dr3d:enabled">
7246 <ref name="boolean"/>
7247 </attribute>
7248 </optional>
7249 <optional>
7250 <attribute name="dr3d:specular">
7251 <ref name="boolean"/>
7252 </attribute>
7253 </optional>
7254 </interleave>
7255 </define>
7256 <define name="dr3d-cube">
7257 <element name="dr3d:cube">
7258 <ref name="dr3d-cube-attlist"/>
7259 <ref name="common-draw-z-index-attlist"/>
7260 <ref name="common-draw-id-attlist"/>
7261 <ref name="common-draw-layer-name-attlist"/>
7262 <ref name="common-draw-style-name-attlist"/>
7263 <ref name="common-dr3d-transform-attlist"/>
7264 <empty/>
7265 </element>
7266 </define>
7267 <define name="dr3d-cube-attlist">
7268 <optional>
7269 <attribute name="dr3d:min-edge">
7270 <ref name="vector3D"/>
7271 </attribute>
7272 </optional>
7273 <optional>
7274 <attribute name="dr3d:max-edge">
7275 <ref name="vector3D"/>
7276 </attribute>
7277 </optional>
7278 </define>
7279 <define name="dr3d-sphere">
7280 <element name="dr3d:sphere">
7281 <ref name="dr3d-sphere-attlist"/>
7282 <ref name="common-draw-z-index-attlist"/>
7283 <ref name="common-draw-id-attlist"/>
7284 <ref name="common-draw-layer-name-attlist"/>
7285 <ref name="common-draw-style-name-attlist"/>
7286 <ref name="common-dr3d-transform-attlist"/>
7287 <empty/>
7288 </element>
7289 </define>
7290 <define name="dr3d-sphere-attlist">
7291 <interleave>
7292 <optional>
7293 <attribute name="dr3d:center">
7294 <ref name="vector3D"/>
7295 </attribute>
7296 </optional>
7297 <optional>
7298 <attribute name="dr3d:size">
7299 <ref name="vector3D"/>
7300 </attribute>
7301 </optional>
7302 </interleave>
7303 </define>
7304 <define name="dr3d-extrude">
7305 <element name="dr3d:extrude">
7306 <ref name="common-draw-path-data-attlist"/>
7307 <ref name="common-draw-viewbox-attlist"/>
7308 <ref name="common-draw-id-attlist"/>
7309 <ref name="common-draw-z-index-attlist"/>
7310 <ref name="common-draw-layer-name-attlist"/>
7311 <ref name="common-draw-style-name-attlist"/>
7312 <ref name="common-dr3d-transform-attlist"/>
7313 <empty/>
7314 </element>
7315 </define>
7316 <define name="dr3d-rotate">
7317 <element name="dr3d:rotate">
7318 <ref name="common-draw-viewbox-attlist"/>
7319 <ref name="common-draw-path-data-attlist"/>
7320 <ref name="common-draw-z-index-attlist"/>
7321 <ref name="common-draw-id-attlist"/>
7322 <ref name="common-draw-layer-name-attlist"/>
7323 <ref name="common-draw-style-name-attlist"/>
7324 <ref name="common-dr3d-transform-attlist"/>
7325 <empty/>
7326 </element>
7327 </define>
7328 <define name="draw-custom-shape">
7329 <element name="draw:custom-shape">
7330 <ref name="draw-custom-shape-attlist"/>
7331 <ref name="common-draw-position-attlist"/>
7332 <ref name="common-draw-size-attlist"/>
7333 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7334 <ref name="common-draw-caption-id-attlist"/>
7335 <optional>
7336 <ref name="svg-title"/>
7337 </optional>
7338 <optional>
7339 <ref name="svg-desc"/>
7340 </optional>
7341 <optional>
7342 <ref name="office-event-listeners"/>
7343 </optional>
7344 <zeroOrMore>
7345 <ref name="draw-glue-point"/>
7346 </zeroOrMore>
7347 <ref name="draw-text"/>
7348 <optional>
7349 <ref name="draw-enhanced-geometry"/>
7350 </optional>
7351 </element>
7352 </define>
7353 <define name="draw-custom-shape-attlist">
7354 <interleave>
7355 <optional>
7356 <attribute name="draw:engine">
7357 <ref name="namespacedToken"/>
7358 </attribute>
7359 </optional>
7360 <optional>
7361 <attribute name="draw:data">
7362 <ref name="string"/>
7363 </attribute>
7364 </optional>
7365 </interleave>
7366 </define>
7367 <define name="draw-enhanced-geometry">
7368 <element name="draw:enhanced-geometry">
7369 <ref name="draw-enhanced-geometry-attlist"/>
7370 <zeroOrMore>
7371 <ref name="draw-equation"/>
7372 </zeroOrMore>
7373 <zeroOrMore>
7374 <ref name="draw-handle"/>
7375 </zeroOrMore>
7376 </element>
7377 </define>
7378 <define name="draw-enhanced-geometry-attlist">
7379 <interleave>
7380 <optional>
7381 <attribute name="draw:type">
7382 <ref name="custom-shape-type"/>
7383 </attribute>
7384 </optional>
7385 <optional>
7386 <attribute name="svg:viewBox">
7387 <list>
7388 <ref name="integer"/>
7389 <ref name="integer"/>
7390 <ref name="integer"/>
7391 <ref name="integer"/>
7392 </list>
7393 </attribute>
7394 </optional>
7395 <optional>
7396 <attribute name="draw:mirror-vertical">
7397 <ref name="boolean"/>
7398 </attribute>
7399 </optional>
7400 <optional>
7401 <attribute name="draw:mirror-horizontal">
7402 <ref name="boolean"/>
7403 </attribute>
7404 </optional>
7405 <optional>
7406 <attribute name="draw:text-rotate-angle">
7407 <ref name="angle"/>
7408 </attribute>
7409 </optional>
7410 <optional>
7411 <attribute name="draw:extrusion-allowed">
7412 <ref name="boolean"/>
7413 </attribute>
7414 </optional>
7415 <optional>
7416 <attribute name="draw:text-path-allowed">
7417 <ref name="boolean"/>
7418 </attribute>
7419 </optional>
7420 <optional>
7421 <attribute name="draw:concentric-gradient-fill-allowed">
7422 <ref name="boolean"/>
7423 </attribute>
7424 </optional>
7425 <optional>
7426 <attribute name="draw:extrusion">
7427 <ref name="boolean"/>
7428 </attribute>
7429 </optional>
7430 <optional>
7431 <attribute name="draw:extrusion-brightness">
7432 <ref name="zeroToHundredPercent"/>
7433 </attribute>
7434 </optional>
7435 <optional>
7436 <attribute name="draw:extrusion-depth">
7437 <list>
7438 <ref name="length"/>
7439 <ref name="double"/>
7440 </list>
7441 </attribute>
7442 </optional>
7443 <optional>
7444 <attribute name="draw:extrusion-diffusion">
7445 <ref name="percent"/>
7446 </attribute>
7447 </optional>
7448 <optional>
7449 <attribute name="draw:extrusion-number-of-line-segments">
7450 <ref name="integer"/>
7451 </attribute>
7452 </optional>
7453 <optional>
7454 <attribute name="draw:extrusion-light-face">
7455 <ref name="boolean"/>
7456 </attribute>
7457 </optional>
7458 <optional>
7459 <attribute name="draw:extrusion-first-light-harsh">
7460 <ref name="boolean"/>
7461 </attribute>
7462 </optional>
7463 <optional>
7464 <attribute name="draw:extrusion-second-light-harsh">
7465 <ref name="boolean"/>
7466 </attribute>
7467 </optional>
7468 <optional>
7469 <attribute name="draw:extrusion-first-light-level">
7470 <ref name="zeroToHundredPercent"/>
7471 </attribute>
7472 </optional>
7473 <optional>
7474 <attribute name="draw:extrusion-second-light-level">
7475 <ref name="zeroToHundredPercent"/>
7476 </attribute>
7477 </optional>
7478 <optional>
7479 <attribute name="draw:extrusion-first-light-direction">
7480 <ref name="vector3D"/>
7481 </attribute>
7482 </optional>
7483 <optional>
7484 <attribute name="draw:extrusion-second-light-direction">
7485 <ref name="vector3D"/>
7486 </attribute>
7487 </optional>
7488 <optional>
7489 <attribute name="draw:extrusion-metal">
7490 <ref name="boolean"/>
7491 </attribute>
7492 </optional>
7493 <optional>
7494 <attribute name="dr3d:shade-mode">
7495 <choice>
7496 <value>flat</value>
7497 <value>phong</value>
7498 <value>gouraud</value>
7499 <value>draft</value>
7500 </choice>
7501 </attribute>
7502 </optional>
7503 <optional>
7504 <attribute name="draw:extrusion-rotation-angle">
7505 <list>
7506 <ref name="angle"/>
7507 <ref name="angle"/>
7508 </list>
7509 </attribute>
7510 </optional>
7511 <optional>
7512 <attribute name="draw:extrusion-rotation-center">
7513 <ref name="vector3D"/>
7514 </attribute>
7515 </optional>
7516 <optional>
7517 <attribute name="draw:extrusion-shininess">
7518 <ref name="zeroToHundredPercent"/>
7519 </attribute>
7520 </optional>
7521 <optional>
7522 <attribute name="draw:extrusion-skew">
7523 <list>
7524 <ref name="double"/>
7525 <ref name="angle"/>
7526 </list>
7527 </attribute>
7528 </optional>
7529 <optional>
7530 <attribute name="draw:extrusion-specularity">
7531 <ref name="zeroToHundredPercent"/>
7532 </attribute>
7533 </optional>
7534 <optional>
7535 <attribute name="dr3d:projection">
7536 <choice>
7537 <value>parallel</value>
7538 <value>perspective</value>
7539 </choice>
7540 </attribute>
7541 </optional>
7542 <optional>
7543 <attribute name="draw:extrusion-viewpoint">
7544 <ref name="point3D"/>
7545 </attribute>
7546 </optional>
7547 <optional>
7548 <attribute name="draw:extrusion-origin">
7549 <list>
7550 <ref name="extrusionOrigin"/>
7551 <ref name="extrusionOrigin"/>
7552 </list>
7553 </attribute>
7554 </optional>
7555 <optional>
7556 <attribute name="draw:extrusion-color">
7557 <ref name="boolean"/>
7558 </attribute>
7559 </optional>
7560 <optional>
7561 <attribute name="draw:enhanced-path">
7562 <ref name="string"/>
7563 </attribute>
7564 </optional>
7565 <optional>
7566 <attribute name="draw:path-stretchpoint-x">
7567 <ref name="double"/>
7568 </attribute>
7569 </optional>
7570 <optional>
7571 <attribute name="draw:path-stretchpoint-y">
7572 <ref name="double"/>
7573 </attribute>
7574 </optional>
7575 <optional>
7576 <attribute name="draw:text-areas">
7577 <ref name="string"/>
7578 </attribute>
7579 </optional>
7580 <optional>
7581 <attribute name="draw:glue-points">
7582 <ref name="string"/>
7583 </attribute>
7584 </optional>
7585 <optional>
7586 <attribute name="draw:glue-point-type">
7587 <choice>
7588 <value>none</value>
7589 <value>segments</value>
7590 <value>rectangle</value>
7591 </choice>
7592 </attribute>
7593 </optional>
7594 <optional>
7595 <attribute name="draw:glue-point-leaving-directions">
7596 <ref name="string"/>
7597 </attribute>
7598 </optional>
7599 <optional>
7600 <attribute name="draw:text-path">
7601 <ref name="boolean"/>
7602 </attribute>
7603 </optional>
7604 <optional>
7605 <attribute name="draw:text-path-mode">
7606 <choice>
7607 <value>normal</value>
7608 <value>path</value>
7609 <value>shape</value>
7610 </choice>
7611 </attribute>
7612 </optional>
7613 <optional>
7614 <attribute name="draw:text-path-scale">
7615 <choice>
7616 <value>path</value>
7617 <value>shape</value>
7618 </choice>
7619 </attribute>
7620 </optional>
7621 <optional>
7622 <attribute name="draw:text-path-same-letter-heights">
7623 <ref name="boolean"/>
7624 </attribute>
7625 </optional>
7626 <optional>
7627 <attribute name="draw:modifiers">
7628 <ref name="string"/>
7629 </attribute>
7630 </optional>
7631 </interleave>
7632 </define>
7633 <define name="custom-shape-type">
7634 <choice>
7635 <value>non-primitive</value>
7636 <ref name="string"/>
7637 </choice>
7638 </define>
7639 <define name="point3D">
7640 <data type="string">
7641 <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}[ ]*\)</param>
7642 </data>
7643 </define>
7644 <define name="extrusionOrigin">
7645 <data type="double">
7646 <param name="minInclusive">-0.5</param>
7647 <param name="maxInclusive">0.5</param>
7648 </data>
7649 </define>
7650 <define name="draw-equation">
7651 <element name="draw:equation">
7652 <ref name="draw-equation-attlist"/>
7653 <empty/>
7654 </element>
7655 </define>
7656 <define name="draw-equation-attlist">
7657 <interleave>
7658 <optional>
7659 <attribute name="draw:name">
7660 <ref name="string"/>
7661 </attribute>
7662 </optional>
7663 <optional>
7664 <attribute name="draw:formula">
7665 <ref name="string"/>
7666 </attribute>
7667 </optional>
7668 </interleave>
7669 </define>
7670 <define name="draw-handle">
7671 <element name="draw:handle">
7672 <ref name="draw-handle-attlist"/>
7673 <empty/>
7674 </element>
7675 </define>
7676 <define name="draw-handle-attlist">
7677 <interleave>
7678 <optional>
7679 <attribute name="draw:handle-mirror-vertical">
7680 <ref name="boolean"/>
7681 </attribute>
7682 </optional>
7683 <optional>
7684 <attribute name="draw:handle-mirror-horizontal">
7685 <ref name="boolean"/>
7686 </attribute>
7687 </optional>
7688 <optional>
7689 <attribute name="draw:handle-switched">
7690 <ref name="boolean"/>
7691 </attribute>
7692 </optional>
7693 <attribute name="draw:handle-position">
7694 <ref name="string"/>
7695 </attribute>
7696 <optional>
7697 <attribute name="draw:handle-range-x-minimum">
7698 <ref name="string"/>
7699 </attribute>
7700 </optional>
7701 <optional>
7702 <attribute name="draw:handle-range-x-maximum">
7703 <ref name="string"/>
7704 </attribute>
7705 </optional>
7706 <optional>
7707 <attribute name="draw:handle-range-y-minimum">
7708 <ref name="string"/>
7709 </attribute>
7710 </optional>
7711 <optional>
7712 <attribute name="draw:handle-range-y-maximum">
7713 <ref name="string"/>
7714 </attribute>
7715 </optional>
7716 <optional>
7717 <attribute name="draw:handle-polar">
7718 <ref name="string"/>
7719 </attribute>
7720 </optional>
7721 <optional>
7722 <attribute name="draw:handle-radius-range-minimum">
7723 <ref name="string"/>
7724 </attribute>
7725 </optional>
7726 <optional>
7727 <attribute name="draw:handle-radius-range-maximum">
7728 <ref name="string"/>
7729 </attribute>
7730 </optional>
7731 </interleave>
7732 </define>
7733 <define name="presentation-shape-attlist">
7734 <interleave>
7735 <optional>
7736 <attribute name="presentation:class">
7737 <ref name="presentation-classes"/>
7738 </attribute>
7739 </optional>
7740 <optional>
7741 <attribute name="presentation:placeholder">
7742 <ref name="boolean"/>
7743 </attribute>
7744 </optional>
7745 <optional>
7746 <attribute name="presentation:user-transformed">
7747 <ref name="boolean"/>
7748 </attribute>
7749 </optional>
7750 </interleave>
7751 </define>
7752 <define name="presentation-classes">
7753 <choice>
7754 <value>title</value>
7755 <value>outline</value>
7756 <value>subtitle</value>
7757 <value>text</value>
7758 <value>graphic</value>
7759 <value>object</value>
7760 <value>chart</value>
7761 <value>table</value>
7762 <value>orgchart</value>
7763 <value>page</value>
7764 <value>notes</value>
7765 <value>handout</value>
7766 <value>header</value>
7767 <value>footer</value>
7768 <value>date-time</value>
7769 <value>page-number</value>
7770 </choice>
7771 </define>
7772 <define name="presentation-animations">
7773 <element name="presentation:animations">
7774 <zeroOrMore>
7775 <choice>
7776 <ref name="presentation-animation-elements"/>
7777 <ref name="presentation-animation-group"/>
7778 </choice>
7779 </zeroOrMore>
7780 </element>
7781 </define>
7782 <define name="presentation-animation-elements">
7783 <choice>
7784 <ref name="presentation-show-shape"/>
7785 <ref name="presentation-show-text"/>
7786 <ref name="presentation-hide-shape"/>
7787 <ref name="presentation-hide-text"/>
7788 <ref name="presentation-dim"/>
7789 <ref name="presentation-play"/>
7790 </choice>
7791 </define>
7792 <define name="presentation-sound">
7793 <element name="presentation:sound">
7794 <ref name="presentation-sound-attlist"/>
7795 <attribute name="xlink:type">
7796 <value>simple</value>
7797 </attribute>
7798 <attribute name="xlink:href">
7799 <ref name="anyIRI"/>
7800 </attribute>
7801 <optional>
7802 <attribute name="xlink:actuate">
7803 <value>onRequest</value>
7804 </attribute>
7805 </optional>
7806 <optional>
7807 <attribute name="xlink:show">
7808 <choice>
7809 <value>new</value>
7810 <value>replace</value>
7811 </choice>
7812 </attribute>
7813 </optional>
7814 <empty/>
7815 </element>
7816 </define>
7817 <define name="presentation-sound-attlist">
7818 <interleave>
7819 <optional>
7820 <attribute name="presentation:play-full">
7821 <ref name="boolean"/>
7822 </attribute>
7823 </optional>
7824 <optional>
7825 <ref name="xml-id"/>
7826 </optional>
7827 </interleave>
7828 </define>
7829 <define name="presentation-show-shape">
7830 <element name="presentation:show-shape">
7831 <ref name="common-presentation-effect-attlist"/>
7832 <optional>
7833 <ref name="presentation-sound"/>
7834 </optional>
7835 </element>
7836 </define>
7837 <define name="common-presentation-effect-attlist">
7838 <interleave>
7839 <attribute name="draw:shape-id">
7840 <ref name="IDREF"/>
7841 </attribute>
7842 <optional>
7843 <attribute name="presentation:effect">
7844 <ref name="presentationEffects"/>
7845 </attribute>
7846 </optional>
7847 <optional>
7848 <attribute name="presentation:direction">
7849 <ref name="presentationEffectDirections"/>
7850 </attribute>
7851 </optional>
7852 <optional>
7853 <attribute name="presentation:speed">
7854 <ref name="presentationSpeeds"/>
7855 </attribute>
7856 </optional>
7857 <optional>
7858 <attribute name="presentation:delay">
7859 <ref name="duration"/>
7860 </attribute>
7861 </optional>
7862 <optional>
7863 <attribute name="presentation:start-scale">
7864 <ref name="percent"/>
7865 </attribute>
7866 </optional>
7867 <optional>
7868 <attribute name="presentation:path-id">
7869 <ref name="string"/>
7870 </attribute>
7871 </optional>
7872 </interleave>
7873 </define>
7874 <define name="presentationEffects">
7875 <choice>
7876 <value>none</value>
7877 <value>fade</value>
7878 <value>move</value>
7879 <value>stripes</value>
7880 <value>open</value>
7881 <value>close</value>
7882 <value>dissolve</value>
7883 <value>wavyline</value>
7884 <value>random</value>
7885 <value>lines</value>
7886 <value>laser</value>
7887 <value>appear</value>
7888 <value>hide</value>
7889 <value>move-short</value>
7890 <value>checkerboard</value>
7891 <value>rotate</value>
7892 <value>stretch</value>
7893 </choice>
7894 </define>
7895 <define name="presentationEffectDirections">
7896 <choice>
7897 <value>none</value>
7898 <value>from-left</value>
7899 <value>from-top</value>
7900 <value>from-right</value>
7901 <value>from-bottom</value>
7902 <value>from-center</value>
7903 <value>from-upper-left</value>
7904 <value>from-upper-right</value>
7905 <value>from-lower-left</value>
7906 <value>from-lower-right</value>
7907 <value>to-left</value>
7908 <value>to-top</value>
7909 <value>to-right</value>
7910 <value>to-bottom</value>
7911 <value>to-upper-left</value>
7912 <value>to-upper-right</value>
7913 <value>to-lower-right</value>
7914 <value>to-lower-left</value>
7915 <value>path</value>
7916 <value>spiral-inward-left</value>
7917 <value>spiral-inward-right</value>
7918 <value>spiral-outward-left</value>
7919 <value>spiral-outward-right</value>
7920 <value>vertical</value>
7921 <value>horizontal</value>
7922 <value>to-center</value>
7923 <value>clockwise</value>
7924 <value>counter-clockwise</value>
7925 </choice>
7926 </define>
7927 <define name="presentationSpeeds">
7928 <choice>
7929 <value>slow</value>
7930 <value>medium</value>
7931 <value>fast</value>
7932 </choice>
7933 </define>
7934 <define name="presentation-show-text">
7935 <element name="presentation:show-text">
7936 <ref name="common-presentation-effect-attlist"/>
7937 <optional>
7938 <ref name="presentation-sound"/>
7939 </optional>
7940 </element>
7941 </define>
7942 <define name="presentation-hide-shape">
7943 <element name="presentation:hide-shape">
7944 <ref name="common-presentation-effect-attlist"/>
7945 <optional>
7946 <ref name="presentation-sound"/>
7947 </optional>
7948 </element>
7949 </define>
7950 <define name="presentation-hide-text">
7951 <element name="presentation:hide-text">
7952 <ref name="common-presentation-effect-attlist"/>
7953 <optional>
7954 <ref name="presentation-sound"/>
7955 </optional>
7956 </element>
7957 </define>
7958 <define name="presentation-dim">
7959 <element name="presentation:dim">
7960 <ref name="presentation-dim-attlist"/>
7961 <optional>
7962 <ref name="presentation-sound"/>
7963 </optional>
7964 </element>
7965 </define>
7966 <define name="presentation-dim-attlist">
7967 <interleave>
7968 <attribute name="draw:shape-id">
7969 <ref name="IDREF"/>
7970 </attribute>
7971 <attribute name="draw:color">
7972 <ref name="color"/>
7973 </attribute>
7974 </interleave>
7975 </define>
7976 <define name="presentation-play">
7977 <element name="presentation:play">
7978 <ref name="presentation-play-attlist"/>
7979 <empty/>
7980 </element>
7981 </define>
7982 <define name="presentation-play-attlist">
7983 <attribute name="draw:shape-id">
7984 <ref name="IDREF"/>
7985 </attribute>
7986 <optional>
7987 <attribute name="presentation:speed">
7988 <ref name="presentationSpeeds"/>
7989 </attribute>
7990 </optional>
7991 </define>
7992 <define name="presentation-animation-group">
7993 <element name="presentation:animation-group">
7994 <zeroOrMore>
7995 <ref name="presentation-animation-elements"/>
7996 </zeroOrMore>
7997 </element>
7998 </define>
7999 <define name="common-anim-attlist">
8000 <interleave>
8001 <optional>
8002 <attribute name="presentation:node-type">
8003 <choice>
8004 <value>default</value>
8005 <value>on-click</value>
8006 <value>with-previous</value>
8007 <value>after-previous</value>
8008 <value>timing-root</value>
8009 <value>main-sequence</value>
8010 <value>interactive-sequence</value>
8011 </choice>
8012 </attribute>
8013 </optional>
8014 <optional>
8015 <attribute name="presentation:preset-id">
8016 <ref name="string"/>
8017 </attribute>
8018 </optional>
8019 <optional>
8020 <attribute name="presentation:preset-sub-type">
8021 <ref name="string"/>
8022 </attribute>
8023 </optional>
8024 <optional>
8025 <attribute name="presentation:preset-class">
8026 <choice>
8027 <value>custom</value>
8028 <value>entrance</value>
8029 <value>exit</value>
8030 <value>emphasis</value>
8031 <value>motion-path</value>
8032 <value>ole-action</value>
8033 <value>media-call</value>
8034 </choice>
8035 </attribute>
8036 </optional>
8037 <optional>
8038 <attribute name="presentation:master-element">
8039 <ref name="IDREF"/>
8040 </attribute>
8041 </optional>
8042 <optional>
8043 <attribute name="presentation:group-id">
8044 <ref name="string"/>
8045 </attribute>
8046 </optional>
8047 <optional>
8048 <group>
8049 <ref name="xml-id"/>
8050 <optional>
8051 <attribute name="anim:id">
8052 <ref name="NCName"/>
8053 </attribute>
8054 </optional>
8055 </group>
8056 </optional>
8057 </interleave>
8058 </define>
8059 <define name="presentation-event-listener">
8060 <element name="presentation:event-listener">
8061 <ref name="presentation-event-listener-attlist"/>
8062 <optional>
8063 <ref name="presentation-sound"/>
8064 </optional>
8065 </element>
8066 </define>
8067 <define name="presentation-event-listener-attlist">
8068 <interleave>
8069 <attribute name="script:event-name">
8070 <ref name="string"/>
8071 </attribute>
8072 <attribute name="presentation:action">
8073 <choice>
8074 <value>none</value>
8075 <value>previous-page</value>
8076 <value>next-page</value>
8077 <value>first-page</value>
8078 <value>last-page</value>
8079 <value>hide</value>
8080 <value>stop</value>
8081 <value>execute</value>
8082 <value>show</value>
8083 <value>verb</value>
8084 <value>fade-out</value>
8085 <value>sound</value>
8086 <value>last-visited-page</value>
8087 </choice>
8088 </attribute>
8089 <optional>
8090 <attribute name="presentation:effect">
8091 <ref name="presentationEffects"/>
8092 </attribute>
8093 </optional>
8094 <optional>
8095 <attribute name="presentation:direction">
8096 <ref name="presentationEffectDirections"/>
8097 </attribute>
8098 </optional>
8099 <optional>
8100 <attribute name="presentation:speed">
8101 <ref name="presentationSpeeds"/>
8102 </attribute>
8103 </optional>
8104 <optional>
8105 <attribute name="presentation:start-scale">
8106 <ref name="percent"/>
8107 </attribute>
8108 </optional>
8109 <optional>
8110 <attribute name="xlink:type">
8111 <value>simple</value>
8112 </attribute>
8113 <attribute name="xlink:href">
8114 <ref name="anyIRI"/>
8115 </attribute>
8116 <optional>
8117 <attribute name="xlink:show">
8118 <value>embed</value>
8119 </attribute>
8120 </optional>
8121 <optional>
8122 <attribute name="xlink:actuate">
8123 <value>onRequest</value>
8124 </attribute>
8125 </optional>
8126 </optional>
8127 <optional>
8128 <attribute name="presentation:verb">
8129 <ref name="nonNegativeInteger"/>
8130 </attribute>
8131 </optional>
8132 </interleave>
8133 </define>
8134 <define name="presentation-decls">
8135 <zeroOrMore>
8136 <ref name="presentation-decl"/>
8137 </zeroOrMore>
8138 </define>
8139 <define name="presentation-decl">
8140 <choice>
8141 <element name="presentation:header-decl">
8142 <ref name="presentation-header-decl-attlist"/>
8143 <text/>
8144 </element>
8145 <element name="presentation:footer-decl">
8146 <ref name="presentation-footer-decl-attlist"/>
8147 <text/>
8148 </element>
8149 <element name="presentation:date-time-decl">
8150 <ref name="presentation-date-time-decl-attlist"/>
8151 <text/>
8152 </element>
8153 </choice>
8154 </define>
8155 <define name="presentation-header-decl-attlist">
8156 <attribute name="presentation:name">
8157 <ref name="string"/>
8158 </attribute>
8159 </define>
8160 <define name="presentation-footer-decl-attlist">
8161 <attribute name="presentation:name">
8162 <ref name="string"/>
8163 </attribute>
8164 </define>
8165 <define name="presentation-date-time-decl-attlist">
8166 <interleave>
8167 <attribute name="presentation:name">
8168 <ref name="string"/>
8169 </attribute>
8170 <attribute name="presentation:source">
8171 <choice>
8172 <value>fixed</value>
8173 <value>current-date</value>
8174 </choice>
8175 </attribute>
8176 <optional>
8177 <attribute name="style:data-style-name">
8178 <ref name="styleNameRef"/>
8179 </attribute>
8180 </optional>
8181 </interleave>
8182 </define>
8183 <define name="presentation-settings">
8184 <optional>
8185 <element name="presentation:settings">
8186 <ref name="presentation-settings-attlist"/>
8187 <zeroOrMore>
8188 <ref name="presentation-show"/>
8189 </zeroOrMore>
8190 </element>
8191 </optional>
8192 </define>
8193 <define name="presentation-settings-attlist">
8194 <interleave>
8195 <optional>
8196 <attribute name="presentation:start-page">
8197 <ref name="string"/>
8198 </attribute>
8199 </optional>
8200 <optional>
8201 <attribute name="presentation:show">
8202 <ref name="string"/>
8203 </attribute>
8204 </optional>
8205 <optional>
8206 <attribute name="presentation:full-screen">
8207 <ref name="boolean"/>
8208 </attribute>
8209 </optional>
8210 <optional>
8211 <attribute name="presentation:endless">
8212 <ref name="boolean"/>
8213 </attribute>
8214 </optional>
8215 <optional>
8216 <attribute name="presentation:pause">
8217 <ref name="duration"/>
8218 </attribute>
8219 </optional>
8220 <optional>
8221 <attribute name="presentation:show-logo">
8222 <ref name="boolean"/>
8223 </attribute>
8224 </optional>
8225 <optional>
8226 <attribute name="presentation:force-manual">
8227 <ref name="boolean"/>
8228 </attribute>
8229 </optional>
8230 <optional>
8231 <attribute name="presentation:mouse-visible">
8232 <ref name="boolean"/>
8233 </attribute>
8234 </optional>
8235 <optional>
8236 <attribute name="presentation:mouse-as-pen">
8237 <ref name="boolean"/>
8238 </attribute>
8239 </optional>
8240 <optional>
8241 <attribute name="presentation:start-with-navigator">
8242 <ref name="boolean"/>
8243 </attribute>
8244 </optional>
8245 <optional>
8246 <attribute name="presentation:animations">
8247 <choice>
8248 <value>enabled</value>
8249 <value>disabled</value>
8250 </choice>
8251 </attribute>
8252 </optional>
8253 <optional>
8254 <attribute name="presentation:transition-on-click">
8255 <choice>
8256 <value>enabled</value>
8257 <value>disabled</value>
8258 </choice>
8259 </attribute>
8260 </optional>
8261 <optional>
8262 <attribute name="presentation:stay-on-top">
8263 <ref name="boolean"/>
8264 </attribute>
8265 </optional>
8266 <optional>
8267 <attribute name="presentation:show-end-of-presentation-slide">
8268 <ref name="boolean"/>
8269 </attribute>
8270 </optional>
8271 </interleave>
8272 </define>
8273 <define name="presentation-show">
8274 <element name="presentation:show">
8275 <ref name="presentation-show-attlist"/>
8276 <empty/>
8277 </element>
8278 </define>
8279 <define name="presentation-show-attlist">
8280 <interleave>
8281 <attribute name="presentation:name">
8282 <ref name="string"/>
8283 </attribute>
8284 <attribute name="presentation:pages">
8285 <ref name="string"/>
8286 </attribute>
8287 </interleave>
8288 </define>
8289 <define name="chart-chart">
8290 <element name="chart:chart">
8291 <ref name="chart-chart-attlist"/>
8292 <optional>
8293 <ref name="chart-title"/>
8294 </optional>
8295 <optional>
8296 <ref name="chart-subtitle"/>
8297 </optional>
8298 <optional>
8299 <ref name="chart-footer"/>
8300 </optional>
8301 <optional>
8302 <ref name="chart-legend"/>
8303 </optional>
8304 <ref name="chart-plot-area"/>
8305 <optional>
8306 <ref name="table-table"/>
8307 </optional>
8308 </element>
8309 </define>
8310 <define name="chart-chart-attlist">
8311 <interleave>
8312 <attribute name="chart:class">
8313 <ref name="namespacedToken"/>
8314 </attribute>
8315 <ref name="common-draw-size-attlist"/>
8316 <optional>
8317 <attribute name="chart:column-mapping">
8318 <ref name="string"/>
8319 </attribute>
8320 </optional>
8321 <optional>
8322 <attribute name="chart:row-mapping">
8323 <ref name="string"/>
8324 </attribute>
8325 </optional>
8326 <optional>
8327 <attribute name="chart:style-name">
8328 <ref name="styleNameRef"/>
8329 </attribute>
8330 </optional>
8331 <optional>
8332 <group>
8333 <attribute name="xlink:type">
8334 <value>simple</value>
8335 </attribute>
8336 <attribute name="xlink:href">
8337 <ref name="anyIRI"/>
8338 </attribute>
8339 </group>
8340 </optional>
8341 <optional>
8342 <ref name="xml-id"/>
8343 </optional>
8344 </interleave>
8345 </define>
8346 <define name="chart-title">
8347 <element name="chart:title">
8348 <ref name="chart-title-attlist"/>
8349 <optional>
8350 <ref name="text-p"/>
8351 </optional>
8352 </element>
8353 </define>
8354 <define name="chart-title-attlist">
8355 <interleave>
8356 <optional>
8357 <attribute name="table:cell-range">
8358 <ref name="cellRangeAddressList"/>
8359 </attribute>
8360 </optional>
8361 <ref name="common-draw-position-attlist"/>
8362 <optional>
8363 <attribute name="chart:style-name">
8364 <ref name="styleNameRef"/>
8365 </attribute>
8366 </optional>
8367 </interleave>
8368 </define>
8369 <define name="chart-subtitle">
8370 <element name="chart:subtitle">
8371 <ref name="chart-title-attlist"/>
8372 <optional>
8373 <ref name="text-p"/>
8374 </optional>
8375 </element>
8376 </define>
8377 <define name="chart-footer">
8378 <element name="chart:footer">
8379 <ref name="chart-title-attlist"/>
8380 <optional>
8381 <ref name="text-p"/>
8382 </optional>
8383 </element>
8384 </define>
8385 <define name="chart-legend">
8386 <element name="chart:legend">
8387 <ref name="chart-legend-attlist"/>
8388 <optional>
8389 <ref name="text-p"/>
8390 </optional>
8391 </element>
8392 </define>
8393 <define name="chart-legend-attlist">
8394 <interleave>
8395 <choice>
8396 <group>
8397 <attribute name="chart:legend-position">
8398 <choice>
8399 <value>start</value>
8400 <value>end</value>
8401 <value>top</value>
8402 <value>bottom</value>
8403 </choice>
8404 </attribute>
8405 <optional>
8406 <attribute name="chart:legend-align">
8407 <choice>
8408 <value>start</value>
8409 <value>center</value>
8410 <value>end</value>
8411 </choice>
8412 </attribute>
8413 </optional>
8414 </group>
8415 <attribute name="chart:legend-position">
8416 <choice>
8417 <value>top-start</value>
8418 <value>bottom-start</value>
8419 <value>top-end</value>
8420 <value>bottom-end</value>
8421 </choice>
8422 </attribute>
8423 <empty/>
8424 </choice>
8425 <ref name="common-draw-position-attlist"/>
8426 <choice>
8427 <attribute name="style:legend-expansion">
8428 <choice>
8429 <value>wide</value>
8430 <value>high</value>
8431 <value>balanced</value>
8432 </choice>
8433 </attribute>
8434 <group>
8435 <attribute name="style:legend-expansion">
8436 <value>custom</value>
8437 </attribute>
8438 <attribute name="style:legend-expansion-aspect-ratio">
8439 <ref name="double"/>
8440 </attribute>
8441 </group>
8442 <empty/>
8443 </choice>
8444 <optional>
8445 <attribute name="chart:style-name">
8446 <ref name="styleNameRef"/>
8447 </attribute>
8448 </optional>
8449 </interleave>
8450 </define>
8451 <define name="chart-plot-area">
8452 <element name="chart:plot-area">
8453 <ref name="chart-plot-area-attlist"/>
8454 <zeroOrMore>
8455 <ref name="dr3d-light"/>
8456 </zeroOrMore>
8457 <zeroOrMore>
8458 <ref name="chart-axis"/>
8459 </zeroOrMore>
8460 <zeroOrMore>
8461 <ref name="chart-series"/>
8462 </zeroOrMore>
8463 <optional>
8464 <ref name="chart-stock-gain-marker"/>
8465 </optional>
8466 <optional>
8467 <ref name="chart-stock-loss-marker"/>
8468 </optional>
8469 <optional>
8470 <ref name="chart-stock-range-line"/>
8471 </optional>
8472 <optional>
8473 <ref name="chart-wall"/>
8474 </optional>
8475 <optional>
8476 <ref name="chart-floor"/>
8477 </optional>
8478 </element>
8479 </define>
8480 <define name="chart-plot-area-attlist">
8481 <interleave>
8482 <ref name="common-draw-position-attlist"/>
8483 <ref name="common-draw-size-attlist"/>
8484 <optional>
8485 <attribute name="chart:style-name">
8486 <ref name="styleNameRef"/>
8487 </attribute>
8488 </optional>
8489 <optional>
8490 <attribute name="table:cell-range-address">
8491 <ref name="cellRangeAddressList"/>
8492 </attribute>
8493 </optional>
8494 <optional>
8495 <attribute name="chart:data-source-has-labels">
8496 <choice>
8497 <value>none</value>
8498 <value>row</value>
8499 <value>column</value>
8500 <value>both</value>
8501 </choice>
8502 </attribute>
8503 </optional>
8504 <ref name="dr3d-scene-attlist"/>
8505 <ref name="common-dr3d-transform-attlist"/>
8506 <optional>
8507 <ref name="xml-id"/>
8508 </optional>
8509 </interleave>
8510 </define>
8511 <define name="chart-wall">
8512 <element name="chart:wall">
8513 <ref name="chart-wall-attlist"/>
8514 <empty/>
8515 </element>
8516 </define>
8517 <define name="chart-wall-attlist">
8518 <interleave>
8519 <optional>
8520 <attribute name="svg:width">
8521 <ref name="length"/>
8522 </attribute>
8523 </optional>
8524 <optional>
8525 <attribute name="chart:style-name">
8526 <ref name="styleNameRef"/>
8527 </attribute>
8528 </optional>
8529 </interleave>
8530 </define>
8531 <define name="chart-floor">
8532 <element name="chart:floor">
8533 <ref name="chart-floor-attlist"/>
8534 <empty/>
8535 </element>
8536 </define>
8537 <define name="chart-floor-attlist">
8538 <interleave>
8539 <optional>
8540 <attribute name="svg:width">
8541 <ref name="length"/>
8542 </attribute>
8543 </optional>
8544 <optional>
8545 <attribute name="chart:style-name">
8546 <ref name="styleNameRef"/>
8547 </attribute>
8548 </optional>
8549 </interleave>
8550 </define>
8551 <define name="chart-axis">
8552 <element name="chart:axis">
8553 <ref name="chart-axis-attlist"/>
8554 <optional>
8555 <ref name="chart-title"/>
8556 </optional>
8557 <optional>
8558 <ref name="chart-categories"/>
8559 </optional>
8560 <zeroOrMore>
8561 <ref name="chart-grid"/>
8562 </zeroOrMore>
8563 </element>
8564 </define>
8565 <define name="chart-axis-attlist">
8566 <interleave>
8567 <attribute name="chart:dimension">
8568 <ref name="chart-dimension"/>
8569 </attribute>
8570 <optional>
8571 <attribute name="chart:name">
8572 <ref name="string"/>
8573 </attribute>
8574 </optional>
8575 <optional>
8576 <attribute name="chart:style-name">
8577 <ref name="styleNameRef"/>
8578 </attribute>
8579 </optional>
8580 </interleave>
8581 </define>
8582 <define name="chart-dimension">
8583 <choice>
8584 <value>x</value>
8585 <value>y</value>
8586 <value>z</value>
8587 </choice>
8588 </define>
8589 <define name="chart-categories">
8590 <element name="chart:categories">
8591 <optional>
8592 <attribute name="table:cell-range-address">
8593 <ref name="cellRangeAddressList"/>
8594 </attribute>
8595 </optional>
8596 </element>
8597 </define>
8598 <define name="chart-grid">
8599 <element name="chart:grid">
8600 <ref name="chart-grid-attlist"/>
8601 </element>
8602 </define>
8603 <define name="chart-grid-attlist">
8604 <interleave>
8605 <optional>
8606 <attribute name="chart:class">
8607 <choice>
8608 <value>major</value>
8609 <value>minor</value>
8610 </choice>
8611 </attribute>
8612 </optional>
8613 <optional>
8614 <attribute name="chart:style-name">
8615 <ref name="styleNameRef"/>
8616 </attribute>
8617 </optional>
8618 </interleave>
8619 </define>
8620 <define name="chart-series">
8621 <element name="chart:series">
8622 <ref name="chart-series-attlist"/>
8623 <zeroOrMore>
8624 <ref name="chart-domain"/>
8625 </zeroOrMore>
8626 <optional>
8627 <ref name="chart-mean-value"/>
8628 </optional>
8629 <zeroOrMore>
8630 <ref name="chart-regression-curve"/>
8631 </zeroOrMore>
8632 <zeroOrMore>
8633 <ref name="chart-error-indicator"/>
8634 </zeroOrMore>
8635 <zeroOrMore>
8636 <ref name="chart-data-point"/>
8637 </zeroOrMore>
8638 <optional>
8639 <ref name="chart-data-label"/>
8640 </optional>
8641 </element>
8642 </define>
8643 <define name="chart-series-attlist">
8644 <interleave>
8645 <optional>
8646 <attribute name="chart:values-cell-range-address">
8647 <ref name="cellRangeAddressList"/>
8648 </attribute>
8649 </optional>
8650 <optional>
8651 <attribute name="chart:label-cell-address">
8652 <ref name="cellRangeAddressList"/>
8653 </attribute>
8654 </optional>
8655 <optional>
8656 <attribute name="chart:class">
8657 <ref name="namespacedToken"/>
8658 </attribute>
8659 </optional>
8660 <optional>
8661 <attribute name="chart:attached-axis">
8662 <ref name="string"/>
8663 </attribute>
8664 </optional>
8665 <optional>
8666 <attribute name="chart:style-name">
8667 <ref name="styleNameRef"/>
8668 </attribute>
8669 </optional>
8670 <optional>
8671 <ref name="xml-id"/>
8672 </optional>
8673 </interleave>
8674 </define>
8675 <define name="chart-domain">
8676 <element name="chart:domain">
8677 <optional>
8678 <attribute name="table:cell-range-address">
8679 <ref name="cellRangeAddressList"/>
8680 </attribute>
8681 </optional>
8682 </element>
8683 </define>
8684 <define name="chart-data-point">
8685 <element name="chart:data-point">
8686 <ref name="chart-data-point-attlist"/>
8687 <optional>
8688 <ref name="chart-data-label"/>
8689 </optional>
8690 </element>
8691 </define>
8692 <define name="chart-data-point-attlist">
8693 <interleave>
8694 <optional>
8695 <attribute name="chart:repeated">
8696 <ref name="positiveInteger"/>
8697 </attribute>
8698 </optional>
8699 <optional>
8700 <attribute name="chart:style-name">
8701 <ref name="styleNameRef"/>
8702 </attribute>
8703 </optional>
8704 <optional>
8705 <ref name="xml-id"/>
8706 </optional>
8707 </interleave>
8708 </define>
8709 <define name="chart-data-label">
8710 <element name="chart:data-label">
8711 <ref name="chart-data-label-attlist"/>
8712 <optional>
8713 <ref name="text-p"/>
8714 </optional>
8715 </element>
8716 </define>
8717 <define name="chart-data-label-attlist">
8718 <interleave>
8719 <ref name="common-draw-position-attlist"/>
8720 <optional>
8721 <attribute name="chart:style-name">
8722 <ref name="styleNameRef"/>
8723 </attribute>
8724 </optional>
8725 </interleave>
8726 </define>
8727 <define name="chart-mean-value">
8728 <element name="chart:mean-value">
8729 <ref name="chart-mean-value-attlist"/>
8730 <empty/>
8731 </element>
8732 </define>
8733 <define name="chart-mean-value-attlist">
8734 <optional>
8735 <attribute name="chart:style-name">
8736 <ref name="styleNameRef"/>
8737 </attribute>
8738 </optional>
8739 </define>
8740 <define name="chart-error-indicator">
8741 <element name="chart:error-indicator">
8742 <ref name="chart-error-indicator-attlist"/>
8743 <empty/>
8744 </element>
8745 </define>
8746 <define name="chart-error-indicator-attlist">
8747 <interleave>
8748 <optional>
8749 <attribute name="chart:style-name">
8750 <ref name="styleNameRef"/>
8751 </attribute>
8752 </optional>
8753 <attribute name="chart:dimension">
8754 <ref name="chart-dimension"/>
8755 </attribute>
8756 </interleave>
8757 </define>
8758 <define name="chart-regression-curve">
8759 <element name="chart:regression-curve">
8760 <ref name="chart-regression-curve-attlist"/>
8761 <optional>
8762 <ref name="chart-equation"/>
8763 </optional>
8764 </element>
8765 </define>
8766 <define name="chart-regression-curve-attlist">
8767 <optional>
8768 <attribute name="chart:style-name">
8769 <ref name="styleNameRef"/>
8770 </attribute>
8771 </optional>
8772 </define>
8773 <define name="chart-equation">
8774 <element name="chart:equation">
8775 <ref name="chart-equation-attlist"/>
8776 <optional>
8777 <ref name="text-p"/>
8778 </optional>
8779 </element>
8780 </define>
8781 <define name="chart-equation-attlist">
8782 <interleave>
8783 <optional>
8784 <attribute name="chart:automatic-content">
8785 <ref name="boolean"/>
8786 </attribute>
8787 </optional>
8788 <optional>
8789 <attribute name="chart:display-r-square">
8790 <ref name="boolean"/>
8791 </attribute>
8792 </optional>
8793 <optional>
8794 <attribute name="chart:display-equation">
8795 <ref name="boolean"/>
8796 </attribute>
8797 </optional>
8798 <ref name="common-draw-position-attlist"/>
8799 <optional>
8800 <attribute name="chart:style-name">
8801 <ref name="styleNameRef"/>
8802 </attribute>
8803 </optional>
8804 </interleave>
8805 </define>
8806 <define name="chart-stock-gain-marker">
8807 <element name="chart:stock-gain-marker">
8808 <ref name="common-stock-marker-attlist"/>
8809 </element>
8810 </define>
8811 <define name="chart-stock-loss-marker">
8812 <element name="chart:stock-loss-marker">
8813 <ref name="common-stock-marker-attlist"/>
8814 </element>
8815 </define>
8816 <define name="chart-stock-range-line">
8817 <element name="chart:stock-range-line">
8818 <ref name="common-stock-marker-attlist"/>
8819 </element>
8820 </define>
8821 <define name="common-stock-marker-attlist">
8822 <optional>
8823 <attribute name="chart:style-name">
8824 <ref name="styleNameRef"/>
8825 </attribute>
8826 </optional>
8827 </define>
8828 <define name="office-database">
8829 <element name="office:database">
8830 <ref name="db-data-source"/>
8831 <optional>
8832 <ref name="db-forms"/>
8833 </optional>
8834 <optional>
8835 <ref name="db-reports"/>
8836 </optional>
8837 <optional>
8838 <ref name="db-queries"/>
8839 </optional>
8840 <optional>
8841 <ref name="db-table-presentations"/>
8842 </optional>
8843 <optional>
8844 <ref name="db-schema-definition"/>
8845 </optional>
8846 </element>
8847 </define>
8848 <define name="db-data-source">
8849 <element name="db:data-source">
8850 <ref name="db-data-source-attlist"/>
8851 <ref name="db-connection-data"/>
8852 <optional>
8853 <ref name="db-driver-settings"/>
8854 </optional>
8855 <optional>
8856 <ref name="db-application-connection-settings"/>
8857 </optional>
8858 </element>
8859 </define>
8860 <define name="db-data-source-attlist">
8861 <empty/>
8862 </define>
8863 <define name="db-connection-data">
8864 <element name="db:connection-data">
8865 <ref name="db-connection-data-attlist"/>
8866 <choice>
8867 <ref name="db-database-description"/>
8868 <ref name="db-connection-resource"/>
8869 </choice>
8870 <optional>
8871 <ref name="db-login"/>
8872 </optional>
8873 </element>
8874 </define>
8875 <define name="db-connection-data-attlist">
8876 <empty/>
8877 </define>
8878 <define name="db-database-description">
8879 <element name="db:database-description">
8880 <ref name="db-database-description-attlist"/>
8881 <choice>
8882 <ref name="db-file-based-database"/>
8883 <ref name="db-server-database"/>
8884 </choice>
8885 </element>
8886 </define>
8887 <define name="db-database-description-attlist">
8888 <empty/>
8889 </define>
8890 <define name="db-file-based-database">
8891 <element name="db:file-based-database">
8892 <ref name="db-file-based-database-attlist"/>
8893 </element>
8894 </define>
8895 <define name="db-file-based-database-attlist">
8896 <interleave>
8897 <attribute name="xlink:type">
8898 <value>simple</value>
8899 </attribute>
8900 <attribute name="xlink:href">
8901 <ref name="anyIRI"/>
8902 </attribute>
8903 <attribute name="db:media-type">
8904 <ref name="string"/>
8905 </attribute>
8906 <optional>
8907 <attribute name="db:extension">
8908 <ref name="string"/>
8909 </attribute>
8910 </optional>
8911 </interleave>
8912 </define>
8913 <define name="db-server-database">
8914 <element name="db:server-database">
8915 <ref name="db-server-database-attlist"/>
8916 <empty/>
8917 </element>
8918 </define>
8919 <define name="db-server-database-attlist">
8920 <interleave>
8921 <attribute name="db:type">
8922 <ref name="namespacedToken"/>
8923 </attribute>
8924 <choice>
8925 <ref name="db-host-and-port"/>
8926 <ref name="db-local-socket-name"/>
8927 </choice>
8928 <optional>
8929 <attribute name="db:database-name">
8930 <ref name="string"/>
8931 </attribute>
8932 </optional>
8933 </interleave>
8934 </define>
8935 <define name="db-host-and-port">
8936 <attribute name="db:hostname">
8937 <ref name="string"/>
8938 </attribute>
8939 <optional>
8940 <attribute name="db:port">
8941 <ref name="positiveInteger"/>
8942 </attribute>
8943 </optional>
8944 </define>
8945 <define name="db-local-socket-name">
8946 <optional>
8947 <attribute name="db:local-socket">
8948 <ref name="string"/>
8949 </attribute>
8950 </optional>
8951 </define>
8952 <define name="db-connection-resource">
8953 <element name="db:connection-resource">
8954 <ref name="db-connection-resource-attlist"/>
8955 <empty/>
8956 </element>
8957 </define>
8958 <define name="db-connection-resource-attlist">
8959 <attribute name="xlink:type">
8960 <value>simple</value>
8961 </attribute>
8962 <attribute name="xlink:href">
8963 <ref name="anyIRI"/>
8964 </attribute>
8965 <optional>
8966 <attribute name="xlink:show">
8967 <value>none</value>
8968 </attribute>
8969 </optional>
8970 <optional>
8971 <attribute name="xlink:actuate">
8972 <value>onRequest</value>
8973 </attribute>
8974 </optional>
8975 </define>
8976 <define name="db-login">
8977 <element name="db:login">
8978 <ref name="db-login-attlist"/>
8979 <empty/>
8980 </element>
8981 </define>
8982 <define name="db-login-attlist">
8983 <interleave>
8984 <optional>
8985 <choice>
8986 <attribute name="db:user-name">
8987 <ref name="string"/>
8988 </attribute>
8989 <attribute name="db:use-system-user">
8990 <ref name="boolean"/>
8991 </attribute>
8992 </choice>
8993 </optional>
8994 <optional>
8995 <attribute name="db:is-password-required">
8996 <ref name="boolean"/>
8997 </attribute>
8998 </optional>
8999 <optional>
9000 <attribute name="db:login-timeout">
9001 <ref name="positiveInteger"/>
9002 </attribute>
9003 </optional>
9004 </interleave>
9005 </define>
9006 <define name="db-driver-settings">
9007 <element name="db:driver-settings">
9008 <ref name="db-driver-settings-attlist"/>
9009 <optional>
9010 <ref name="db-auto-increment"/>
9011 </optional>
9012 <optional>
9013 <ref name="db-delimiter"/>
9014 </optional>
9015 <optional>
9016 <ref name="db-character-set"/>
9017 </optional>
9018 <optional>
9019 <ref name="db-table-settings"/>
9020 </optional>
9021 </element>
9022 </define>
9023 <define name="db-driver-settings-attlist">
9024 <interleave>
9025 <ref name="db-show-deleted"/>
9026 <optional>
9027 <attribute name="db:system-driver-settings">
9028 <ref name="string"/>
9029 </attribute>
9030 </optional>
9031 <optional>
9032 <attribute name="db:base-dn">
9033 <ref name="string"/>
9034 </attribute>
9035 </optional>
9036 <ref name="db-is-first-row-header-line"/>
9037 <optional>
9038 <attribute name="db:parameter-name-substitution">
9039 <ref name="boolean"/>
9040 </attribute>
9041 </optional>
9042 </interleave>
9043 </define>
9044 <define name="db-show-deleted">
9045 <optional>
9046 <attribute name="db:show-deleted">
9047 <ref name="boolean"/>
9048 </attribute>
9049 </optional>
9050 </define>
9051 <define name="db-is-first-row-header-line">
9052 <optional>
9053 <attribute name="db:is-first-row-header-line">
9054 <ref name="boolean"/>
9055 </attribute>
9056 </optional>
9057 </define>
9058 <define name="db-auto-increment">
9059 <element name="db:auto-increment">
9060 <ref name="db-auto-increment-attlist"/>
9061 <empty/>
9062 </element>
9063 </define>
9064 <define name="db-auto-increment-attlist">
9065 <interleave>
9066 <optional>
9067 <attribute name="db:additional-column-statement">
9068 <ref name="string"/>
9069 </attribute>
9070 </optional>
9071 <optional>
9072 <attribute name="db:row-retrieving-statement">
9073 <ref name="string"/>
9074 </attribute>
9075 </optional>
9076 </interleave>
9077 </define>
9078 <define name="db-delimiter">
9079 <element name="db:delimiter">
9080 <ref name="db-delimiter-attlist"/>
9081 <empty/>
9082 </element>
9083 </define>
9084 <define name="db-delimiter-attlist">
9085 <interleave>
9086 <optional>
9087 <attribute name="db:field">
9088 <ref name="string"/>
9089 </attribute>
9090 </optional>
9091 <optional>
9092 <attribute name="db:string">
9093 <ref name="string"/>
9094 </attribute>
9095 </optional>
9096 <optional>
9097 <attribute name="db:decimal">
9098 <ref name="string"/>
9099 </attribute>
9100 </optional>
9101 <optional>
9102 <attribute name="db:thousand">
9103 <ref name="string"/>
9104 </attribute>
9105 </optional>
9106 </interleave>
9107 </define>
9108 <define name="db-character-set">
9109 <element name="db:character-set">
9110 <ref name="db-character-set-attlist"/>
9111 <empty/>
9112 </element>
9113 </define>
9114 <define name="db-character-set-attlist">
9115 <optional>
9116 <attribute name="db:encoding">
9117 <ref name="textEncoding"/>
9118 </attribute>
9119 </optional>
9120 </define>
9121 <define name="db-table-settings">
9122 <element name="db:table-settings">
9123 <zeroOrMore>
9124 <ref name="db-table-setting"/>
9125 </zeroOrMore>
9126 </element>
9127 </define>
9128 <define name="db-table-setting">
9129 <element name="db:table-setting">
9130 <ref name="db-table-setting-attlist"/>
9131 <optional>
9132 <ref name="db-delimiter"/>
9133 </optional>
9134 <optional>
9135 <ref name="db-character-set"/>
9136 </optional>
9137 <empty/>
9138 </element>
9139 </define>
9140 <define name="db-table-setting-attlist">
9141 <ref name="db-is-first-row-header-line"/>
9142 <ref name="db-show-deleted"/>
9143 </define>
9144 <define name="db-application-connection-settings">
9145 <element name="db:application-connection-settings">
9146 <ref name="db-application-connection-settings-attlist"/>
9147 <optional>
9148 <ref name="db-table-filter"/>
9149 </optional>
9150 <optional>
9151 <ref name="db-table-type-filter"/>
9152 </optional>
9153 <optional>
9154 <ref name="db-data-source-settings"/>
9155 </optional>
9156 </element>
9157 </define>
9158 <define name="db-application-connection-settings-attlist">
9159 <interleave>
9160 <optional>
9161 <attribute name="db:is-table-name-length-limited">
9162 <ref name="boolean"/>
9163 </attribute>
9164 </optional>
9165 <optional>
9166 <attribute name="db:enable-sql92-check">
9167 <ref name="boolean"/>
9168 </attribute>
9169 </optional>
9170 <optional>
9171 <attribute name="db:append-table-alias-name">
9172 <ref name="boolean"/>
9173 </attribute>
9174 </optional>
9175 <optional>
9176 <attribute name="db:ignore-driver-privileges">
9177 <ref name="boolean"/>
9178 </attribute>
9179 </optional>
9180 <optional>
9181 <attribute name="db:boolean-comparison-mode">
9182 <choice>
9183 <value>equal-integer</value>
9184 <value>is-boolean</value>
9185 <value>equal-boolean</value>
9186 <value>equal-use-only-zero</value>
9187 </choice>
9188 </attribute>
9189 </optional>
9190 <optional>
9191 <attribute name="db:use-catalog">
9192 <ref name="boolean"/>
9193 </attribute>
9194 </optional>
9195 <optional>
9196 <attribute name="db:max-row-count">
9197 <ref name="integer"/>
9198 </attribute>
9199 </optional>
9200 <optional>
9201 <attribute name="db:suppress-version-columns">
9202 <ref name="boolean"/>
9203 </attribute>
9204 </optional>
9205 </interleave>
9206 </define>
9207 <define name="db-table-filter">
9208 <element name="db:table-filter">
9209 <ref name="db-table-filter-attlist"/>
9210 <optional>
9211 <ref name="db-table-include-filter"/>
9212 </optional>
9213 <optional>
9214 <ref name="db-table-exclude-filter"/>
9215 </optional>
9216 </element>
9217 </define>
9218 <define name="db-table-filter-attlist">
9219 <empty/>
9220 </define>
9221 <define name="db-table-include-filter">
9222 <element name="db:table-include-filter">
9223 <ref name="db-table-include-filter-attlist"/>
9224 <oneOrMore>
9225 <ref name="db-table-filter-pattern"/>
9226 </oneOrMore>
9227 </element>
9228 </define>
9229 <define name="db-table-include-filter-attlist">
9230 <empty/>
9231 </define>
9232 <define name="db-table-exclude-filter">
9233 <element name="db:table-exclude-filter">
9234 <ref name="db-table-exclude-filter-attlist"/>
9235 <oneOrMore>
9236 <ref name="db-table-filter-pattern"/>
9237 </oneOrMore>
9238 </element>
9239 </define>
9240 <define name="db-table-exclude-filter-attlist">
9241 <empty/>
9242 </define>
9243 <define name="db-table-filter-pattern">
9244 <element name="db:table-filter-pattern">
9245 <ref name="db-table-filter-pattern-attlist"/>
9246 <ref name="string"/>
9247 </element>
9248 </define>
9249 <define name="db-table-filter-pattern-attlist">
9250 <empty/>
9251 </define>
9252 <define name="db-table-type-filter">
9253 <element name="db:table-type-filter">
9254 <ref name="db-table-type-filter-attlist"/>
9255 <zeroOrMore>
9256 <ref name="db-table-type"/>
9257 </zeroOrMore>
9258 </element>
9259 </define>
9260 <define name="db-table-type-filter-attlist">
9261 <empty/>
9262 </define>
9263 <define name="db-table-type">
9264 <element name="db:table-type">
9265 <ref name="db-table-type-attlist"/>
9266 <ref name="string"/>
9267 </element>
9268 </define>
9269 <define name="db-table-type-attlist">
9270 <empty/>
9271 </define>
9272 <define name="db-data-source-settings">
9273 <element name="db:data-source-settings">
9274 <ref name="db-data-source-settings-attlist"/>
9275 <oneOrMore>
9276 <ref name="db-data-source-setting"/>
9277 </oneOrMore>
9278 </element>
9279 </define>
9280 <define name="db-data-source-settings-attlist">
9281 <empty/>
9282 </define>
9283 <define name="db-data-source-setting">
9284 <element name="db:data-source-setting">
9285 <ref name="db-data-source-setting-attlist"/>
9286 <oneOrMore>
9287 <ref name="db-data-source-setting-value"/>
9288 </oneOrMore>
9289 </element>
9290 </define>
9291 <define name="db-data-source-setting-attlist">
9292 <interleave>
9293 <optional>
9294 <attribute name="db:data-source-setting-is-list">
9295 <ref name="boolean"/>
9296 </attribute>
9297 </optional>
9298 <attribute name="db:data-source-setting-name">
9299 <ref name="string"/>
9300 </attribute>
9301 <attribute name="db:data-source-setting-type">
9302 <ref name="db-data-source-setting-types"/>
9303 </attribute>
9304 </interleave>
9305 </define>
9306 <define name="db-data-source-setting-types">
9307 <choice>
9308 <value>boolean</value>
9309 <value>short</value>
9310 <value>int</value>
9311 <value>long</value>
9312 <value>double</value>
9313 <value>string</value>
9314 </choice>
9315 </define>
9316 <define name="db-data-source-setting-value">
9317 <element name="db:data-source-setting-value">
9318 <ref name="db-data-source-setting-value-attlist"/>
9319 <ref name="string"/>
9320 </element>
9321 </define>
9322 <define name="db-data-source-setting-value-attlist">
9323 <empty/>
9324 </define>
9325 <define name="db-forms">
9326 <element name="db:forms">
9327 <ref name="db-forms-attlist"/>
9328 <zeroOrMore>
9329 <choice>
9330 <ref name="db-component"/>
9331 <ref name="db-component-collection"/>
9332 </choice>
9333 </zeroOrMore>
9334 </element>
9335 </define>
9336 <define name="db-forms-attlist">
9337 <empty/>
9338 </define>
9339 <define name="db-reports">
9340 <element name="db:reports">
9341 <ref name="db-reports-attlist"/>
9342 <zeroOrMore>
9343 <choice>
9344 <ref name="db-component"/>
9345 <ref name="db-component-collection"/>
9346 </choice>
9347 </zeroOrMore>
9348 </element>
9349 </define>
9350 <define name="db-reports-attlist">
9351 <empty/>
9352 </define>
9353 <define name="db-component-collection">
9354 <element name="db:component-collection">
9355 <ref name="db-component-collection-attlist"/>
9356 <ref name="common-db-object-name"/>
9357 <ref name="common-db-object-title"/>
9358 <ref name="common-db-object-description"/>
9359 <zeroOrMore>
9360 <choice>
9361 <ref name="db-component"/>
9362 <ref name="db-component-collection"/>
9363 </choice>
9364 </zeroOrMore>
9365 </element>
9366 </define>
9367 <define name="db-component-collection-attlist">
9368 <empty/>
9369 </define>
9370 <define name="db-component">
9371 <element name="db:component">
9372 <ref name="db-component-attlist"/>
9373 <ref name="common-db-object-name"/>
9374 <ref name="common-db-object-title"/>
9375 <ref name="common-db-object-description"/>
9376 <optional>
9377 <choice>
9378 <ref name="office-document"/>
9379 <ref name="math-math"/>
9380 </choice>
9381 </optional>
9382 </element>
9383 </define>
9384 <define name="db-component-attlist">
9385 <interleave>
9386 <optional>
9387 <attribute name="xlink:type">
9388 <value>simple</value>
9389 </attribute>
9390 <attribute name="xlink:href">
9391 <ref name="anyIRI"/>
9392 </attribute>
9393 <optional>
9394 <attribute name="xlink:show">
9395 <value>none</value>
9396 </attribute>
9397 </optional>
9398 <optional>
9399 <attribute name="xlink:actuate">
9400 <value>onRequest</value>
9401 </attribute>
9402 </optional>
9403 </optional>
9404 <optional>
9405 <attribute name="db:as-template">
9406 <ref name="boolean"/>
9407 </attribute>
9408 </optional>
9409 </interleave>
9410 </define>
9411 <define name="db-queries">
9412 <element name="db:queries">
9413 <ref name="db-queries-attlist"/>
9414 <zeroOrMore>
9415 <choice>
9416 <ref name="db-query"/>
9417 <ref name="db-query-collection"/>
9418 </choice>
9419 </zeroOrMore>
9420 </element>
9421 </define>
9422 <define name="db-queries-attlist">
9423 <empty/>
9424 </define>
9425 <define name="db-query-collection">
9426 <element name="db:query-collection">
9427 <ref name="db-query-collection-attlist"/>
9428 <ref name="common-db-object-name"/>
9429 <ref name="common-db-object-title"/>
9430 <ref name="common-db-object-description"/>
9431 <zeroOrMore>
9432 <choice>
9433 <ref name="db-query"/>
9434 <ref name="db-query-collection"/>
9435 </choice>
9436 </zeroOrMore>
9437 </element>
9438 </define>
9439 <define name="db-query-collection-attlist">
9440 <empty/>
9441 </define>
9442 <define name="db-query">
9443 <element name="db:query">
9444 <ref name="db-query-attlist"/>
9445 <ref name="common-db-object-name"/>
9446 <ref name="common-db-object-title"/>
9447 <ref name="common-db-object-description"/>
9448 <ref name="common-db-table-style-name"/>
9449 <optional>
9450 <ref name="db-order-statement"/>
9451 </optional>
9452 <optional>
9453 <ref name="db-filter-statement"/>
9454 </optional>
9455 <optional>
9456 <ref name="db-columns"/>
9457 </optional>
9458 <optional>
9459 <ref name="db-update-table"/>
9460 </optional>
9461 </element>
9462 </define>
9463 <define name="db-query-attlist">
9464 <interleave>
9465 <attribute name="db:command">
9466 <ref name="string"/>
9467 </attribute>
9468 <optional>
9469 <attribute name="db:escape-processing">
9470 <ref name="boolean"/>
9471 </attribute>
9472 </optional>
9473 </interleave>
9474 </define>
9475 <define name="db-order-statement">
9476 <element name="db:order-statement">
9477 <ref name="db-command"/>
9478 <ref name="db-apply-command"/>
9479 <empty/>
9480 </element>
9481 </define>
9482 <define name="db-filter-statement">
9483 <element name="db:filter-statement">
9484 <ref name="db-command"/>
9485 <ref name="db-apply-command"/>
9486 <empty/>
9487 </element>
9488 </define>
9489 <define name="db-update-table">
9490 <element name="db:update-table">
9491 <ref name="common-db-table-name-attlist"/>
9492 </element>
9493 </define>
9494 <define name="db-table-presentations">
9495 <element name="db:table-representations">
9496 <ref name="db-table-presentations-attlist"/>
9497 <zeroOrMore>
9498 <ref name="db-table-presentation"/>
9499 </zeroOrMore>
9500 </element>
9501 </define>
9502 <define name="db-table-presentations-attlist">
9503 <empty/>
9504 </define>
9505 <define name="db-table-presentation">
9506 <element name="db:table-representation">
9507 <ref name="db-table-presentation-attlist"/>
9508 <ref name="common-db-table-name-attlist"/>
9509 <ref name="common-db-object-title"/>
9510 <ref name="common-db-object-description"/>
9511 <ref name="common-db-table-style-name"/>
9512 <optional>
9513 <ref name="db-order-statement"/>
9514 </optional>
9515 <optional>
9516 <ref name="db-filter-statement"/>
9517 </optional>
9518 <optional>
9519 <ref name="db-columns"/>
9520 </optional>
9521 </element>
9522 </define>
9523 <define name="db-table-presentation-attlist">
9524 <empty/>
9525 </define>
9526 <define name="db-columns">
9527 <element name="db:columns">
9528 <ref name="db-columns-attlist"/>
9529 <oneOrMore>
9530 <ref name="db-column"/>
9531 </oneOrMore>
9532 </element>
9533 </define>
9534 <define name="db-columns-attlist">
9535 <empty/>
9536 </define>
9537 <define name="db-column">
9538 <element name="db:column">
9539 <ref name="db-column-attlist"/>
9540 <ref name="common-db-object-name"/>
9541 <ref name="common-db-object-title"/>
9542 <ref name="common-db-object-description"/>
9543 <ref name="common-db-default-value"/>
9544 </element>
9545 </define>
9546 <define name="db-column-attlist">
9547 <interleave>
9548 <optional>
9549 <attribute name="db:visible">
9550 <ref name="boolean"/>
9551 </attribute>
9552 </optional>
9554 <optional>
9555 <attribute name="db:style-name">
9556 <ref name="styleNameRef"/>
9557 </attribute>
9558 </optional>
9559 <optional>
9560 <attribute name="db:default-cell-style-name">
9561 <ref name="styleNameRef"/>
9562 </attribute>
9563 </optional>
9564 </interleave>
9565 </define>
9566 <define name="db-command">
9567 <attribute name="db:command">
9568 <ref name="string"/>
9569 </attribute>
9570 </define>
9571 <define name="db-apply-command">
9572 <optional>
9573 <attribute name="db:apply-command">
9574 <ref name="boolean"/>
9575 </attribute>
9576 </optional>
9577 </define>
9578 <define name="common-db-table-name-attlist">
9579 <interleave>
9580 <attribute name="db:name">
9581 <ref name="string"/>
9582 </attribute>
9583 <optional>
9584 <attribute name="db:catalog-name">
9585 <ref name="string"/>
9586 </attribute>
9587 </optional>
9588 <optional>
9589 <attribute name="db:schema-name">
9590 <ref name="string"/>
9591 </attribute>
9592 </optional>
9593 </interleave>
9594 </define>
9595 <define name="common-db-object-name">
9596 <attribute name="db:name">
9597 <ref name="string"/>
9598 </attribute>
9599 </define>
9600 <define name="common-db-object-title">
9601 <optional>
9602 <attribute name="db:title">
9603 <ref name="string"/>
9604 </attribute>
9605 </optional>
9606 </define>
9607 <define name="common-db-object-description">
9608 <optional>
9609 <attribute name="db:description">
9610 <ref name="string"/>
9611 </attribute>
9612 </optional>
9613 </define>
9614 <define name="common-db-table-style-name">
9615 <interleave>
9616 <optional>
9617 <attribute name="db:style-name">
9618 <ref name="styleNameRef"/>
9619 </attribute>
9620 </optional>
9621 <optional>
9622 <attribute name="db:default-row-style-name">
9623 <ref name="styleNameRef"/>
9624 </attribute>
9625 </optional>
9626 </interleave>
9627 </define>
9628 <define name="common-db-default-value">
9629 <optional>
9630 <ref name="common-value-and-type-attlist"/>
9631 </optional>
9632 </define>
9633 <define name="db-schema-definition">
9634 <element name="db:schema-definition">
9635 <ref name="db-schema-definition-attlist"/>
9636 <ref name="db-table-definitions"/>
9637 </element>
9638 </define>
9639 <define name="db-schema-definition-attlist">
9640 <empty/>
9641 </define>
9642 <define name="db-table-definitions">
9643 <element name="db:table-definitions">
9644 <ref name="db-table-definitions-attlist"/>
9645 <zeroOrMore>
9646 <ref name="db-table-definition"/>
9647 </zeroOrMore>
9648 </element>
9649 </define>
9650 <define name="db-table-definitions-attlist">
9651 <empty/>
9652 </define>
9653 <define name="db-table-definition">
9654 <element name="db:table-definition">
9655 <ref name="common-db-table-name-attlist"/>
9656 <ref name="db-table-definition-attlist"/>
9657 <ref name="db-column-definitions"/>
9658 <optional>
9659 <ref name="db-keys"/>
9660 </optional>
9661 <optional>
9662 <ref name="db-indices"/>
9663 </optional>
9664 </element>
9665 </define>
9666 <define name="db-table-definition-attlist">
9667 <optional>
9668 <attribute name="db:type">
9669 <ref name="string"/>
9670 </attribute>
9671 </optional>
9672 </define>
9673 <define name="db-column-definitions">
9674 <element name="db:column-definitions">
9675 <ref name="db-column-definitions-attlist"/>
9676 <oneOrMore>
9677 <ref name="db-column-definition"/>
9678 </oneOrMore>
9679 </element>
9680 </define>
9681 <define name="db-column-definitions-attlist">
9682 <empty/>
9683 </define>
9684 <define name="db-column-definition">
9685 <element name="db:column-definition">
9686 <ref name="db-column-definition-attlist"/>
9687 <ref name="common-db-default-value"/>
9688 </element>
9689 </define>
9690 <define name="db-column-definition-attlist">
9691 <interleave>
9692 <attribute name="db:name">
9693 <ref name="string"/>
9694 </attribute>
9696 <optional>
9697 <attribute name="db:data-type">
9698 <ref name="db-data-types"/>
9699 </attribute>
9700 </optional>
9702 <optional>
9703 <attribute name="db:type-name">
9704 <ref name="string"/>
9705 </attribute>
9706 </optional>
9708 <optional>
9709 <attribute name="db:precision">
9710 <ref name="positiveInteger"/>
9711 </attribute>
9712 </optional>
9714 <optional>
9715 <attribute name="db:scale">
9716 <ref name="positiveInteger"/>
9717 </attribute>
9718 </optional>
9720 <optional>
9721 <attribute name="db:is-nullable">
9722 <choice>
9723 <value>no-nulls</value>
9724 <value>nullable</value>
9725 </choice>
9726 </attribute>
9727 </optional>
9729 <optional>
9730 <attribute name="db:is-empty-allowed">
9731 <ref name="boolean"/>
9732 </attribute>
9733 </optional>
9735 <optional>
9736 <attribute name="db:is-autoincrement">
9737 <ref name="boolean"/>
9738 </attribute>
9739 </optional>
9740 </interleave>
9741 </define>
9742 <define name="db-data-types">
9743 <choice>
9744 <value>bit</value>
9745 <value>boolean</value>
9746 <value>tinyint</value>
9747 <value>smallint</value>
9748 <value>integer</value>
9749 <value>bigint</value>
9750 <value>float</value>
9751 <value>real</value>
9752 <value>double</value>
9753 <value>numeric</value>
9754 <value>decimal</value>
9755 <value>char</value>
9756 <value>varchar</value>
9757 <value>longvarchar</value>
9758 <value>date</value>
9759 <value>time</value>
9760 <value>timestmp</value>
9761 <value>binary</value>
9762 <value>varbinary</value>
9763 <value>longvarbinary</value>
9764 <value>sqlnull</value>
9765 <value>other</value>
9766 <value>object</value>
9767 <value>distinct</value>
9768 <value>struct</value>
9769 <value>array</value>
9770 <value>blob</value>
9771 <value>clob</value>
9772 <value>ref</value>
9773 </choice>
9774 </define>
9775 <define name="db-keys">
9776 <element name="db:keys">
9777 <ref name="db-keys-attlist"/>
9778 <oneOrMore>
9779 <ref name="db-key"/>
9780 </oneOrMore>
9781 </element>
9782 </define>
9783 <define name="db-keys-attlist">
9784 <empty/>
9785 </define>
9786 <define name="db-key">
9787 <element name="db:key">
9788 <ref name="db-key-attlist"/>
9789 <oneOrMore>
9790 <ref name="db-key-columns"/>
9791 </oneOrMore>
9792 </element>
9793 </define>
9794 <define name="db-key-attlist">
9795 <interleave>
9796 <optional>
9797 <attribute name="db:name">
9798 <ref name="string"/>
9799 </attribute>
9800 </optional>
9802 <attribute name="db:type">
9803 <choice>
9804 <value>primary</value>
9805 <value>unique</value>
9806 <value>foreign</value>
9807 </choice>
9808 </attribute>
9810 <optional>
9811 <attribute name="db:referenced-table-name">
9812 <ref name="string"/>
9813 </attribute>
9814 </optional>
9816 <optional>
9817 <attribute name="db:update-rule">
9818 <choice>
9819 <value>cascade</value>
9820 <value>restrict</value>
9821 <value>set-null</value>
9822 <value>no-action</value>
9823 <value>set-default</value>
9824 </choice>
9825 </attribute>
9826 </optional>
9828 <optional>
9829 <attribute name="db:delete-rule">
9830 <choice>
9831 <value>cascade</value>
9832 <value>restrict</value>
9833 <value>set-null</value>
9834 <value>no-action</value>
9835 <value>set-default</value>
9836 </choice>
9837 </attribute>
9838 </optional>
9839 </interleave>
9840 </define>
9841 <define name="db-key-columns">
9842 <element name="db:key-columns">
9843 <ref name="db-key-columns-attlist"/>
9844 <oneOrMore>
9845 <ref name="db-key-column"/>
9846 </oneOrMore>
9847 </element>
9848 </define>
9849 <define name="db-key-columns-attlist">
9850 <empty/>
9851 </define>
9852 <define name="db-key-column">
9853 <element name="db:key-column">
9854 <ref name="db-key-column-attlist"/>
9855 <empty/>
9856 </element>
9857 </define>
9858 <define name="db-key-column-attlist">
9859 <interleave>
9860 <optional>
9861 <attribute name="db:name">
9862 <ref name="string"/>
9863 </attribute>
9864 </optional>
9866 <optional>
9867 <attribute name="db:related-column-name">
9868 <ref name="string"/>
9869 </attribute>
9870 </optional>
9871 </interleave>
9872 </define>
9873 <define name="db-indices">
9874 <element name="db:indices">
9875 <ref name="db-indices-attlist"/>
9876 <oneOrMore>
9877 <ref name="db-index"/>
9878 </oneOrMore>
9879 </element>
9880 </define>
9881 <define name="db-indices-attlist">
9882 <empty/>
9883 </define>
9884 <define name="db-index">
9885 <element name="db:index">
9886 <ref name="db-index-attlist"/>
9887 <oneOrMore>
9888 <ref name="db-index-columns"/>
9889 </oneOrMore>
9890 </element>
9891 </define>
9892 <define name="db-index-attlist">
9893 <interleave>
9894 <attribute name="db:name">
9895 <ref name="string"/>
9896 </attribute>
9898 <optional>
9899 <attribute name="db:catalog-name">
9900 <ref name="string"/>
9901 </attribute>
9902 </optional>
9904 <optional>
9905 <attribute name="db:is-unique">
9906 <ref name="boolean"/>
9907 </attribute>
9908 </optional>
9910 <optional>
9911 <attribute name="db:is-clustered">
9912 <ref name="boolean"/>
9913 </attribute>
9914 </optional>
9915 </interleave>
9916 </define>
9917 <define name="db-index-columns">
9918 <element name="db:index-columns">
9919 <oneOrMore>
9920 <ref name="db-index-column"/>
9921 </oneOrMore>
9922 </element>
9923 </define>
9924 <define name="db-index-column">
9925 <element name="db:index-column">
9926 <ref name="db-index-column-attlist"/>
9927 <empty/>
9928 </element>
9929 </define>
9930 <define name="db-index-column-attlist">
9931 <interleave>
9932 <attribute name="db:name">
9933 <ref name="string"/>
9934 </attribute>
9936 <optional>
9937 <attribute name="db:is-ascending">
9938 <ref name="boolean"/>
9939 </attribute>
9940 </optional>
9941 </interleave>
9942 </define>
9943 <define name="office-forms">
9944 <optional>
9945 <element name="office:forms">
9946 <ref name="office-forms-attlist"/>
9947 <zeroOrMore>
9948 <choice>
9949 <ref name="form-form"/>
9950 <ref name="xforms-model"/>
9951 </choice>
9952 </zeroOrMore>
9953 </element>
9954 </optional>
9955 </define>
9956 <define name="office-forms-attlist">
9957 <interleave>
9958 <optional>
9959 <attribute name="form:automatic-focus">
9960 <ref name="boolean"/>
9961 </attribute>
9962 </optional>
9963 <optional>
9964 <attribute name="form:apply-design-mode">
9965 <ref name="boolean"/>
9966 </attribute>
9967 </optional>
9968 </interleave>
9969 </define>
9970 <define name="form-form">
9971 <element name="form:form">
9972 <ref name="common-form-control-attlist"/>
9973 <ref name="form-form-attlist"/>
9974 <optional>
9975 <ref name="form-properties"/>
9976 </optional>
9977 <optional>
9978 <ref name="office-event-listeners"/>
9979 </optional>
9980 <zeroOrMore>
9981 <choice>
9982 <ref name="controls"/>
9983 <ref name="form-form"/>
9984 </choice>
9985 </zeroOrMore>
9986 <optional>
9987 <ref name="form-connection-resource"/>
9988 </optional>
9989 </element>
9990 </define>
9991 <define name="form-form-attlist">
9992 <interleave>
9993 <optional>
9994 <attribute name="xlink:type">
9995 <value>simple</value>
9996 </attribute>
9997 <attribute name="xlink:href">
9998 <ref name="anyIRI"/>
9999 </attribute>
10000 <optional>
10001 <attribute name="xlink:actuate">
10002 <value>onRequest</value>
10003 </attribute>
10004 </optional>
10005 </optional>
10006 <optional>
10007 <attribute name="office:target-frame">
10008 <ref name="targetFrameName"/>
10009 </attribute>
10010 </optional>
10011 <optional>
10012 <attribute name="form:method">
10013 <choice>
10014 <value>get</value>
10015 <value>post</value>
10016 <ref name="string"/>
10017 </choice>
10018 </attribute>
10019 </optional>
10020 <optional>
10021 <attribute name="form:enctype">
10022 <ref name="string"/>
10023 </attribute>
10024 </optional>
10025 <optional>
10026 <attribute name="form:allow-deletes">
10027 <ref name="boolean"/>
10028 </attribute>
10029 </optional>
10030 <optional>
10031 <attribute name="form:allow-inserts">
10032 <ref name="boolean"/>
10033 </attribute>
10034 </optional>
10035 <optional>
10036 <attribute name="form:allow-updates">
10037 <ref name="boolean"/>
10038 </attribute>
10039 </optional>
10040 <optional>
10041 <attribute name="form:apply-filter">
10042 <ref name="boolean"/>
10043 </attribute>
10044 </optional>
10045 <optional>
10046 <attribute name="form:command-type">
10047 <choice>
10048 <value>table</value>
10049 <value>query</value>
10050 <value>command</value>
10051 </choice>
10052 </attribute>
10053 </optional>
10054 <optional>
10055 <attribute name="form:command">
10056 <ref name="string"/>
10057 </attribute>
10058 </optional>
10059 <optional>
10060 <attribute name="form:datasource">
10061 <choice>
10062 <ref name="anyIRI"/>
10063 <ref name="string"/>
10064 </choice>
10065 </attribute>
10066 </optional>
10067 <optional>
10068 <attribute name="form:master-fields">
10069 <ref name="string"/>
10070 </attribute>
10071 </optional>
10072 <optional>
10073 <attribute name="form:detail-fields">
10074 <ref name="string"/>
10075 </attribute>
10076 </optional>
10077 <optional>
10078 <attribute name="form:escape-processing">
10079 <ref name="boolean"/>
10080 </attribute>
10081 </optional>
10082 <optional>
10083 <attribute name="form:filter">
10084 <ref name="string"/>
10085 </attribute>
10086 </optional>
10087 <optional>
10088 <attribute name="form:ignore-result">
10089 <ref name="boolean"/>
10090 </attribute>
10091 </optional>
10092 <optional>
10093 <attribute name="form:navigation-mode">
10094 <ref name="navigation"/>
10095 </attribute>
10096 </optional>
10097 <optional>
10098 <attribute name="form:order">
10099 <ref name="string"/>
10100 </attribute>
10101 </optional>
10102 <optional>
10103 <attribute name="form:tab-cycle">
10104 <ref name="tab-cycles"/>
10105 </attribute>
10106 </optional>
10107 </interleave>
10108 </define>
10109 <define name="navigation">
10110 <choice>
10111 <value>none</value>
10112 <value>current</value>
10113 <value>parent</value>
10114 </choice>
10115 </define>
10116 <define name="tab-cycles">
10117 <choice>
10118 <value>records</value>
10119 <value>current</value>
10120 <value>page</value>
10121 </choice>
10122 </define>
10123 <define name="form-connection-resource">
10124 <element name="form:connection-resource">
10125 <attribute name="xlink:href">
10126 <ref name="anyIRI"/>
10127 </attribute>
10128 <empty/>
10129 </element>
10130 </define>
10131 <define name="xforms-model">
10132 <element name="xforms:model">
10133 <ref name="anyAttListOrElements"/>
10134 </element>
10135 </define>
10136 <define name="column-controls">
10137 <choice>
10138 <element name="form:text">
10139 <ref name="form-text-attlist"/>
10140 <ref name="common-form-control-content"/>
10141 </element>
10142 <element name="form:textarea">
10143 <ref name="form-textarea-attlist"/>
10144 <ref name="common-form-control-content"/>
10145 <zeroOrMore>
10146 <ref name="text-p"/>
10147 </zeroOrMore>
10148 </element>
10149 <element name="form:formatted-text">
10150 <ref name="form-formatted-text-attlist"/>
10151 <ref name="common-form-control-content"/>
10152 </element>
10153 <element name="form:number">
10154 <ref name="form-number-attlist"/>
10155 <ref name="common-numeric-control-attlist"/>
10156 <ref name="common-form-control-content"/>
10157 <ref name="common-linked-cell"/>
10158 <ref name="common-spin-button"/>
10159 <ref name="common-repeat"/>
10160 <ref name="common-delay-for-repeat"/>
10161 </element>
10162 <element name="form:date">
10163 <ref name="form-date-attlist"/>
10164 <ref name="common-numeric-control-attlist"/>
10165 <ref name="common-form-control-content"/>
10166 <ref name="common-linked-cell"/>
10167 <ref name="common-spin-button"/>
10168 <ref name="common-repeat"/>
10169 <ref name="common-delay-for-repeat"/>
10170 </element>
10171 <element name="form:time">
10172 <ref name="form-time-attlist"/>
10173 <ref name="common-numeric-control-attlist"/>
10174 <ref name="common-form-control-content"/>
10175 <ref name="common-linked-cell"/>
10176 <ref name="common-spin-button"/>
10177 <ref name="common-repeat"/>
10178 <ref name="common-delay-for-repeat"/>
10179 </element>
10180 <element name="form:combobox">
10181 <ref name="form-combobox-attlist"/>
10182 <ref name="common-form-control-content"/>
10183 <zeroOrMore>
10184 <ref name="form-item"/>
10185 </zeroOrMore>
10186 </element>
10187 <element name="form:listbox">
10188 <ref name="form-listbox-attlist"/>
10189 <ref name="common-form-control-content"/>
10190 <zeroOrMore>
10191 <ref name="form-option"/>
10192 </zeroOrMore>
10193 </element>
10194 <element name="form:checkbox">
10195 <ref name="form-checkbox-attlist"/>
10196 <ref name="common-form-control-content"/>
10197 </element>
10198 </choice>
10199 </define>
10200 <define name="controls">
10201 <choice>
10202 <ref name="column-controls"/>
10203 <element name="form:password">
10204 <ref name="form-password-attlist"/>
10205 <ref name="common-form-control-content"/>
10206 </element>
10207 <element name="form:file">
10208 <ref name="form-file-attlist"/>
10209 <ref name="common-form-control-content"/>
10210 </element>
10211 <element name="form:fixed-text">
10212 <ref name="form-fixed-text-attlist"/>
10213 <ref name="common-form-control-content"/>
10214 </element>
10215 <element name="form:button">
10216 <ref name="form-button-attlist"/>
10217 <ref name="common-form-control-content"/>
10218 </element>
10219 <element name="form:image">
10220 <ref name="form-image-attlist"/>
10221 <ref name="common-form-control-content"/>
10222 </element>
10223 <element name="form:radio">
10224 <ref name="form-radio-attlist"/>
10225 <ref name="common-form-control-content"/>
10226 </element>
10227 <element name="form:frame">
10228 <ref name="form-frame-attlist"/>
10229 <ref name="common-form-control-content"/>
10230 </element>
10231 <element name="form:image-frame">
10232 <ref name="form-image-frame-attlist"/>
10233 <ref name="common-form-control-content"/>
10234 </element>
10235 <element name="form:hidden">
10236 <ref name="form-hidden-attlist"/>
10237 <ref name="common-form-control-content"/>
10238 </element>
10239 <element name="form:grid">
10240 <ref name="form-grid-attlist"/>
10241 <ref name="common-form-control-content"/>
10242 <zeroOrMore>
10243 <ref name="form-column"/>
10244 </zeroOrMore>
10245 </element>
10246 <element name="form:value-range">
10247 <ref name="form-value-range-attlist"/>
10248 <ref name="common-form-control-content"/>
10249 </element>
10250 <element name="form:generic-control">
10251 <ref name="form-generic-control-attlist"/>
10252 <ref name="common-form-control-content"/>
10253 </element>
10254 </choice>
10255 </define>
10256 <define name="form-text-attlist">
10257 <ref name="form-control-attlist"/>
10258 <ref name="common-current-value-attlist"/>
10259 <ref name="common-disabled-attlist"/>
10260 <ref name="common-maxlength-attlist"/>
10261 <ref name="common-printable-attlist"/>
10262 <ref name="common-readonly-attlist"/>
10263 <ref name="common-tab-attlist"/>
10264 <ref name="common-title-attlist"/>
10265 <ref name="common-value-attlist"/>
10266 <ref name="common-convert-empty-attlist"/>
10267 <ref name="common-data-field-attlist"/>
10268 <ref name="common-linked-cell"/>
10269 </define>
10270 <define name="form-control-attlist">
10271 <ref name="common-form-control-attlist"/>
10272 <ref name="common-control-id-attlist"/>
10273 <ref name="xforms-bind-attlist"/>
10274 </define>
10275 <define name="common-form-control-content">
10276 <optional>
10277 <ref name="form-properties"/>
10278 </optional>
10279 <optional>
10280 <ref name="office-event-listeners"/>
10281 </optional>
10282 </define>
10283 <define name="form-textarea-attlist">
10284 <ref name="form-control-attlist"/>
10285 <ref name="common-current-value-attlist"/>
10286 <ref name="common-disabled-attlist"/>
10287 <ref name="common-maxlength-attlist"/>
10288 <ref name="common-printable-attlist"/>
10289 <ref name="common-readonly-attlist"/>
10290 <ref name="common-tab-attlist"/>
10291 <ref name="common-title-attlist"/>
10292 <ref name="common-value-attlist"/>
10293 <ref name="common-convert-empty-attlist"/>
10294 <ref name="common-data-field-attlist"/>
10295 <ref name="common-linked-cell"/>
10296 </define>
10297 <define name="form-password-attlist">
10298 <interleave>
10299 <ref name="form-control-attlist"/>
10300 <ref name="common-disabled-attlist"/>
10301 <ref name="common-maxlength-attlist"/>
10302 <ref name="common-printable-attlist"/>
10303 <ref name="common-tab-attlist"/>
10304 <ref name="common-title-attlist"/>
10305 <ref name="common-value-attlist"/>
10306 <ref name="common-convert-empty-attlist"/>
10307 <ref name="common-linked-cell"/>
10308 <optional>
10309 <attribute name="form:echo-char">
10310 <ref name="character"/>
10311 </attribute>
10312 </optional>
10313 </interleave>
10314 </define>
10315 <define name="form-file-attlist">
10316 <ref name="form-control-attlist"/>
10317 <ref name="common-current-value-attlist"/>
10318 <ref name="common-disabled-attlist"/>
10319 <ref name="common-maxlength-attlist"/>
10320 <ref name="common-printable-attlist"/>
10321 <ref name="common-readonly-attlist"/>
10322 <ref name="common-tab-attlist"/>
10323 <ref name="common-title-attlist"/>
10324 <ref name="common-value-attlist"/>
10325 <ref name="common-linked-cell"/>
10326 </define>
10327 <define name="form-formatted-text-attlist">
10328 <interleave>
10329 <ref name="form-control-attlist"/>
10330 <ref name="common-current-value-attlist"/>
10331 <ref name="common-disabled-attlist"/>
10332 <ref name="common-maxlength-attlist"/>
10333 <ref name="common-printable-attlist"/>
10334 <ref name="common-readonly-attlist"/>
10335 <ref name="common-tab-attlist"/>
10336 <ref name="common-title-attlist"/>
10337 <ref name="common-value-attlist"/>
10338 <ref name="common-convert-empty-attlist"/>
10339 <ref name="common-data-field-attlist"/>
10340 <ref name="common-linked-cell"/>
10341 <ref name="common-spin-button"/>
10342 <ref name="common-repeat"/>
10343 <ref name="common-delay-for-repeat"/>
10344 <optional>
10345 <attribute name="form:max-value">
10346 <ref name="string"/>
10347 </attribute>
10348 </optional>
10349 <optional>
10350 <attribute name="form:min-value">
10351 <ref name="string"/>
10352 </attribute>
10353 </optional>
10354 <optional>
10355 <attribute name="form:validation">
10356 <ref name="boolean"/>
10357 </attribute>
10358 </optional>
10359 </interleave>
10360 </define>
10361 <define name="common-numeric-control-attlist">
10362 <ref name="form-control-attlist"/>
10363 <ref name="common-disabled-attlist"/>
10364 <ref name="common-maxlength-attlist"/>
10365 <ref name="common-printable-attlist"/>
10366 <ref name="common-readonly-attlist"/>
10367 <ref name="common-tab-attlist"/>
10368 <ref name="common-title-attlist"/>
10369 <ref name="common-convert-empty-attlist"/>
10370 <ref name="common-data-field-attlist"/>
10371 </define>
10372 <define name="form-number-attlist">
10373 <interleave>
10374 <optional>
10375 <attribute name="form:value">
10376 <ref name="double"/>
10377 </attribute>
10378 </optional>
10379 <optional>
10380 <attribute name="form:current-value">
10381 <ref name="double"/>
10382 </attribute>
10383 </optional>
10384 <optional>
10385 <attribute name="form:min-value">
10386 <ref name="double"/>
10387 </attribute>
10388 </optional>
10389 <optional>
10390 <attribute name="form:max-value">
10391 <ref name="double"/>
10392 </attribute>
10393 </optional>
10394 </interleave>
10395 </define>
10396 <define name="form-date-attlist">
10397 <interleave>
10398 <optional>
10399 <attribute name="form:value">
10400 <ref name="date"/>
10401 </attribute>
10402 </optional>
10403 <optional>
10404 <attribute name="form:current-value">
10405 <ref name="date"/>
10406 </attribute>
10407 </optional>
10408 <optional>
10409 <attribute name="form:min-value">
10410 <ref name="date"/>
10411 </attribute>
10412 </optional>
10413 <optional>
10414 <attribute name="form:max-value">
10415 <ref name="date"/>
10416 </attribute>
10417 </optional>
10418 </interleave>
10419 </define>
10420 <define name="form-time-attlist">
10421 <interleave>
10422 <optional>
10423 <attribute name="form:value">
10424 <ref name="time"/>
10425 </attribute>
10426 </optional>
10427 <optional>
10428 <attribute name="form:current-value">
10429 <ref name="time"/>
10430 </attribute>
10431 </optional>
10432 <optional>
10433 <attribute name="form:min-value">
10434 <ref name="time"/>
10435 </attribute>
10436 </optional>
10437 <optional>
10438 <attribute name="form:max-value">
10439 <ref name="time"/>
10440 </attribute>
10441 </optional>
10442 </interleave>
10443 </define>
10444 <define name="form-fixed-text-attlist">
10445 <interleave>
10446 <ref name="form-control-attlist"/>
10447 <ref name="for"/>
10448 <ref name="common-disabled-attlist"/>
10449 <ref name="label"/>
10450 <ref name="common-printable-attlist"/>
10451 <ref name="common-title-attlist"/>
10452 <optional>
10453 <attribute name="form:multi-line">
10454 <ref name="boolean"/>
10455 </attribute>
10456 </optional>
10457 </interleave>
10458 </define>
10459 <define name="form-combobox-attlist">
10460 <interleave>
10461 <ref name="form-control-attlist"/>
10462 <ref name="common-current-value-attlist"/>
10463 <ref name="common-disabled-attlist"/>
10464 <ref name="dropdown"/>
10465 <ref name="common-maxlength-attlist"/>
10466 <ref name="common-printable-attlist"/>
10467 <ref name="common-readonly-attlist"/>
10468 <ref name="size"/>
10469 <ref name="common-tab-attlist"/>
10470 <ref name="common-title-attlist"/>
10471 <ref name="common-value-attlist"/>
10472 <ref name="common-convert-empty-attlist"/>
10473 <ref name="common-data-field-attlist"/>
10474 <ref name="list-source"/>
10475 <ref name="list-source-type"/>
10476 <ref name="common-linked-cell"/>
10477 <ref name="common-source-cell-range"/>
10478 <optional>
10479 <attribute name="form:auto-complete">
10480 <ref name="boolean"/>
10481 </attribute>
10482 </optional>
10483 </interleave>
10484 </define>
10485 <define name="form-item">
10486 <element name="form:item">
10487 <ref name="form-item-attlist"/>
10488 <text/>
10489 </element>
10490 </define>
10491 <define name="form-item-attlist">
10492 <ref name="label"/>
10493 </define>
10494 <define name="form-listbox-attlist">
10495 <interleave>
10496 <ref name="form-control-attlist"/>
10497 <ref name="common-disabled-attlist"/>
10498 <ref name="dropdown"/>
10499 <ref name="common-printable-attlist"/>
10500 <ref name="size"/>
10501 <ref name="common-tab-attlist"/>
10502 <ref name="common-title-attlist"/>
10503 <ref name="bound-column"/>
10504 <ref name="common-data-field-attlist"/>
10505 <ref name="list-source"/>
10506 <ref name="list-source-type"/>
10507 <ref name="common-linked-cell"/>
10508 <ref name="list-linkage-type"/>
10509 <ref name="common-source-cell-range"/>
10510 <optional>
10511 <attribute name="form:multiple">
10512 <ref name="boolean"/>
10513 </attribute>
10514 </optional>
10515 <optional>
10516 <attribute name="form:xforms-list-source">
10517 <ref name="string"/>
10518 </attribute>
10519 </optional>
10520 </interleave>
10521 </define>
10522 <define name="list-linkage-type">
10523 <optional>
10524 <attribute name="form:list-linkage-type">
10525 <choice>
10526 <value>selection</value>
10527 <value>selection-indices</value>
10528 </choice>
10529 </attribute>
10530 </optional>
10531 </define>
10532 <define name="form-option">
10533 <element name="form:option">
10534 <ref name="form-option-attlist"/>
10535 <text/>
10536 </element>
10537 </define>
10538 <define name="form-option-attlist">
10539 <ref name="current-selected"/>
10540 <ref name="selected"/>
10541 <ref name="label"/>
10542 <ref name="common-value-attlist"/>
10543 </define>
10544 <define name="form-button-attlist">
10545 <interleave>
10546 <ref name="form-control-attlist"/>
10547 <ref name="button-type"/>
10548 <ref name="common-disabled-attlist"/>
10549 <ref name="label"/>
10550 <ref name="image-data"/>
10551 <ref name="common-printable-attlist"/>
10552 <ref name="common-tab-attlist"/>
10553 <ref name="target-frame"/>
10554 <ref name="target-location"/>
10555 <ref name="common-title-attlist"/>
10556 <ref name="common-value-attlist"/>
10557 <ref name="common-form-relative-image-position-attlist"/>
10558 <ref name="common-repeat"/>
10559 <ref name="common-delay-for-repeat"/>
10560 <optional>
10561 <attribute name="form:default-button">
10562 <ref name="boolean"/>
10563 </attribute>
10564 </optional>
10565 <optional>
10566 <attribute name="form:toggle">
10567 <ref name="boolean"/>
10568 </attribute>
10569 </optional>
10570 <optional>
10571 <attribute name="form:focus-on-click">
10572 <ref name="boolean"/>
10573 </attribute>
10574 </optional>
10575 <optional>
10576 <attribute name="form:xforms-submission">
10577 <ref name="string"/>
10578 </attribute>
10579 </optional>
10580 </interleave>
10581 </define>
10582 <define name="form-image-attlist">
10583 <ref name="form-control-attlist"/>
10584 <ref name="button-type"/>
10585 <ref name="common-disabled-attlist"/>
10586 <ref name="image-data"/>
10587 <ref name="common-printable-attlist"/>
10588 <ref name="common-tab-attlist"/>
10589 <ref name="target-frame"/>
10590 <ref name="target-location"/>
10591 <ref name="common-title-attlist"/>
10592 <ref name="common-value-attlist"/>
10593 </define>
10594 <define name="form-checkbox-attlist">
10595 <interleave>
10596 <ref name="form-control-attlist"/>
10597 <ref name="common-disabled-attlist"/>
10598 <ref name="label"/>
10599 <ref name="common-printable-attlist"/>
10600 <ref name="common-tab-attlist"/>
10601 <ref name="common-title-attlist"/>
10602 <ref name="common-value-attlist"/>
10603 <ref name="common-data-field-attlist"/>
10604 <ref name="common-form-visual-effect-attlist"/>
10605 <ref name="common-form-relative-image-position-attlist"/>
10606 <ref name="common-linked-cell"/>
10607 <optional>
10608 <attribute name="form:current-state">
10609 <ref name="states"/>
10610 </attribute>
10611 </optional>
10612 <optional>
10613 <attribute name="form:is-tristate">
10614 <ref name="boolean"/>
10615 </attribute>
10616 </optional>
10617 <optional>
10618 <attribute name="form:state">
10619 <ref name="states"/>
10620 </attribute>
10621 </optional>
10622 </interleave>
10623 </define>
10624 <define name="states">
10625 <choice>
10626 <value>unchecked</value>
10627 <value>checked</value>
10628 <value>unknown</value>
10629 </choice>
10630 </define>
10631 <define name="form-radio-attlist">
10632 <ref name="form-control-attlist"/>
10633 <ref name="current-selected"/>
10634 <ref name="common-disabled-attlist"/>
10635 <ref name="label"/>
10636 <ref name="common-printable-attlist"/>
10637 <ref name="selected"/>
10638 <ref name="common-tab-attlist"/>
10639 <ref name="common-title-attlist"/>
10640 <ref name="common-value-attlist"/>
10641 <ref name="common-data-field-attlist"/>
10642 <ref name="common-form-visual-effect-attlist"/>
10643 <ref name="common-form-relative-image-position-attlist"/>
10644 <ref name="common-linked-cell"/>
10645 </define>
10646 <define name="form-frame-attlist">
10647 <ref name="form-control-attlist"/>
10648 <ref name="common-disabled-attlist"/>
10649 <ref name="for"/>
10650 <ref name="label"/>
10651 <ref name="common-printable-attlist"/>
10652 <ref name="common-title-attlist"/>
10653 </define>
10654 <define name="form-image-frame-attlist">
10655 <ref name="form-control-attlist"/>
10656 <ref name="common-disabled-attlist"/>
10657 <ref name="image-data"/>
10658 <ref name="common-printable-attlist"/>
10659 <ref name="common-readonly-attlist"/>
10660 <ref name="common-title-attlist"/>
10661 <ref name="common-data-field-attlist"/>
10662 </define>
10663 <define name="form-hidden-attlist">
10664 <ref name="form-control-attlist"/>
10665 <ref name="common-value-attlist"/>
10666 </define>
10667 <define name="form-grid-attlist">
10668 <ref name="form-control-attlist"/>
10669 <ref name="common-disabled-attlist"/>
10670 <ref name="common-printable-attlist"/>
10671 <ref name="common-tab-attlist"/>
10672 <ref name="common-title-attlist"/>
10673 </define>
10674 <define name="form-column">
10675 <element name="form:column">
10676 <ref name="form-column-attlist"/>
10677 <oneOrMore>
10678 <ref name="column-controls"/>
10679 </oneOrMore>
10680 </element>
10681 </define>
10682 <define name="form-column-attlist">
10683 <ref name="common-form-control-attlist"/>
10684 <ref name="label"/>
10685 <ref name="text-style-name"/>
10686 </define>
10687 <define name="text-style-name">
10688 <optional>
10689 <attribute name="form:text-style-name">
10690 <ref name="styleNameRef"/>
10691 </attribute>
10692 </optional>
10693 </define>
10694 <define name="form-value-range-attlist">
10695 <interleave>
10696 <ref name="form-control-attlist"/>
10697 <ref name="common-disabled-attlist"/>
10698 <ref name="common-printable-attlist"/>
10699 <ref name="common-tab-attlist"/>
10700 <ref name="common-title-attlist"/>
10701 <ref name="common-value-attlist"/>
10702 <ref name="common-linked-cell"/>
10703 <ref name="common-repeat"/>
10704 <ref name="common-delay-for-repeat"/>
10705 <optional>
10706 <attribute name="form:max-value">
10707 <ref name="integer"/>
10708 </attribute>
10709 </optional>
10710 <optional>
10711 <attribute name="form:min-value">
10712 <ref name="integer"/>
10713 </attribute>
10714 </optional>
10715 <optional>
10716 <attribute name="form:step-size">
10717 <ref name="positiveInteger"/>
10718 </attribute>
10719 </optional>
10720 <optional>
10721 <attribute name="form:page-step-size">
10722 <ref name="positiveInteger"/>
10723 </attribute>
10724 </optional>
10725 <optional>
10726 <attribute name="form:orientation">
10727 <choice>
10728 <value>horizontal</value>
10729 <value>vertical</value>
10730 </choice>
10731 </attribute>
10732 </optional>
10733 </interleave>
10734 </define>
10735 <define name="form-generic-control-attlist">
10736 <ref name="form-control-attlist"/>
10737 </define>
10738 <define name="common-form-control-attlist">
10739 <interleave>
10740 <optional>
10741 <attribute name="form:name">
10742 <ref name="string"/>
10743 </attribute>
10744 </optional>
10745 <optional>
10746 <attribute name="form:control-implementation">
10747 <ref name="namespacedToken"/>
10748 </attribute>
10749 </optional>
10750 </interleave>
10751 </define>
10752 <define name="xforms-bind-attlist">
10753 <optional>
10754 <attribute name="xforms:bind">
10755 <ref name="string"/>
10756 </attribute>
10757 </optional>
10758 </define>
10759 <define name="types">
10760 <choice>
10761 <value>submit</value>
10762 <value>reset</value>
10763 <value>push</value>
10764 <value>url</value>
10765 </choice>
10766 </define>
10767 <define name="button-type">
10768 <optional>
10769 <attribute name="form:button-type">
10770 <ref name="types"/>
10771 </attribute>
10772 </optional>
10773 </define>
10774 <define name="common-control-id-attlist">
10775 <group>
10776 <ref name="xml-id"/>
10777 <optional>
10778 <attribute name="form:id">
10779 <ref name="NCName"/>
10780 </attribute>
10781 </optional>
10782 </group>
10783 </define>
10784 <define name="current-selected">
10785 <optional>
10786 <attribute name="form:current-selected">
10787 <ref name="boolean"/>
10788 </attribute>
10789 </optional>
10790 </define>
10791 <define name="common-value-attlist">
10792 <optional>
10793 <attribute name="form:value">
10794 <ref name="string"/>
10795 </attribute>
10796 </optional>
10797 </define>
10798 <define name="common-current-value-attlist">
10799 <optional>
10800 <attribute name="form:current-value">
10801 <ref name="string"/>
10802 </attribute>
10803 </optional>
10804 </define>
10805 <define name="common-disabled-attlist">
10806 <optional>
10807 <attribute name="form:disabled">
10808 <ref name="boolean"/>
10809 </attribute>
10810 </optional>
10811 </define>
10812 <define name="dropdown">
10813 <optional>
10814 <attribute name="form:dropdown">
10815 <ref name="boolean"/>
10816 </attribute>
10817 </optional>
10818 </define>
10819 <define name="for">
10820 <optional>
10821 <attribute name="form:for">
10822 <ref name="string"/>
10823 </attribute>
10824 </optional>
10825 </define>
10826 <define name="image-data">
10827 <optional>
10828 <attribute name="form:image-data">
10829 <ref name="anyIRI"/>
10830 </attribute>
10831 </optional>
10832 </define>
10833 <define name="label">
10834 <optional>
10835 <attribute name="form:label">
10836 <ref name="string"/>
10837 </attribute>
10838 </optional>
10839 </define>
10840 <define name="common-maxlength-attlist">
10841 <optional>
10842 <attribute name="form:max-length">
10843 <ref name="nonNegativeInteger"/>
10844 </attribute>
10845 </optional>
10846 </define>
10847 <define name="common-printable-attlist">
10848 <optional>
10849 <attribute name="form:printable">
10850 <ref name="boolean"/>
10851 </attribute>
10852 </optional>
10853 </define>
10854 <define name="common-readonly-attlist">
10855 <optional>
10856 <attribute name="form:readonly">
10857 <ref name="boolean"/>
10858 </attribute>
10859 </optional>
10860 </define>
10861 <define name="selected">
10862 <optional>
10863 <attribute name="form:selected">
10864 <ref name="boolean"/>
10865 </attribute>
10866 </optional>
10867 </define>
10868 <define name="size">
10869 <optional>
10870 <attribute name="form:size">
10871 <ref name="nonNegativeInteger"/>
10872 </attribute>
10873 </optional>
10874 </define>
10875 <define name="common-tab-attlist">
10876 <interleave>
10877 <optional>
10878 <attribute name="form:tab-index">
10879 <ref name="nonNegativeInteger"/>
10880 </attribute>
10881 </optional>
10882 <optional>
10883 <attribute name="form:tab-stop">
10884 <ref name="boolean"/>
10885 </attribute>
10886 </optional>
10887 </interleave>
10888 </define>
10889 <define name="target-frame">
10890 <optional>
10891 <attribute name="office:target-frame">
10892 <ref name="targetFrameName"/>
10893 </attribute>
10894 </optional>
10895 </define>
10896 <define name="target-location">
10897 <optional>
10898 <attribute name="xlink:href">
10899 <ref name="anyIRI"/>
10900 </attribute>
10901 </optional>
10902 </define>
10903 <define name="common-title-attlist">
10904 <optional>
10905 <attribute name="form:title">
10906 <ref name="string"/>
10907 </attribute>
10908 </optional>
10909 </define>
10910 <define name="common-form-visual-effect-attlist">
10911 <optional>
10912 <attribute name="form:visual-effect">
10913 <choice>
10914 <value>flat</value>
10915 <value>3d</value>
10916 </choice>
10917 </attribute>
10918 </optional>
10919 </define>
10920 <define name="common-form-relative-image-position-attlist">
10921 <choice>
10922 <optional>
10923 <attribute name="form:image-position">
10924 <value>center</value>
10925 </attribute>
10926 </optional>
10927 <group>
10928 <attribute name="form:image-position">
10929 <choice>
10930 <value>start</value>
10931 <value>end</value>
10932 <value>top</value>
10933 <value>bottom</value>
10934 </choice>
10935 </attribute>
10936 <optional>
10937 <attribute name="form:image-align">
10938 <choice>
10939 <value>start</value>
10940 <value>center</value>
10941 <value>end</value>
10942 </choice>
10943 </attribute>
10944 </optional>
10945 </group>
10946 </choice>
10947 </define>
10948 <define name="bound-column">
10949 <optional>
10950 <attribute name="form:bound-column">
10951 <ref name="string"/>
10952 </attribute>
10953 </optional>
10954 </define>
10955 <define name="common-convert-empty-attlist">
10956 <optional>
10957 <attribute name="form:convert-empty-to-null">
10958 <ref name="boolean"/>
10959 </attribute>
10960 </optional>
10961 </define>
10962 <define name="common-data-field-attlist">
10963 <optional>
10964 <attribute name="form:data-field">
10965 <ref name="string"/>
10966 </attribute>
10967 </optional>
10968 </define>
10969 <define name="list-source">
10970 <optional>
10971 <attribute name="form:list-source">
10972 <ref name="string"/>
10973 </attribute>
10974 </optional>
10975 </define>
10976 <define name="list-source-type">
10977 <optional>
10978 <attribute name="form:list-source-type">
10979 <choice>
10980 <value>table</value>
10981 <value>query</value>
10982 <value>sql</value>
10983 <value>sql-pass-through</value>
10984 <value>value-list</value>
10985 <value>table-fields</value>
10986 </choice>
10987 </attribute>
10988 </optional>
10989 </define>
10990 <define name="common-linked-cell">
10991 <optional>
10992 <attribute name="form:linked-cell">
10993 <choice>
10994 <ref name="cellAddress"/>
10995 <ref name="string"/>
10996 </choice>
10997 </attribute>
10998 </optional>
10999 </define>
11000 <define name="common-source-cell-range">
11001 <optional>
11002 <attribute name="form:source-cell-range">
11003 <choice>
11004 <ref name="cellRangeAddress"/>
11005 <ref name="string"/>
11006 </choice>
11007 </attribute>
11008 </optional>
11009 </define>
11010 <define name="common-spin-button">
11011 <optional>
11012 <attribute name="form:spin-button">
11013 <ref name="boolean"/>
11014 </attribute>
11015 </optional>
11016 </define>
11017 <define name="common-repeat">
11018 <optional>
11019 <attribute name="form:repeat">
11020 <ref name="boolean"/>
11021 </attribute>
11022 </optional>
11023 </define>
11024 <define name="common-delay-for-repeat">
11025 <optional>
11026 <attribute name="form:delay-for-repeat">
11027 <ref name="duration"/>
11028 </attribute>
11029 </optional>
11030 </define>
11031 <define name="form-properties">
11032 <element name="form:properties">
11033 <oneOrMore>
11034 <ref name="form-property"/>
11035 </oneOrMore>
11036 </element>
11037 </define>
11038 <define name="form-property">
11039 <choice>
11040 <element name="form:property">
11041 <ref name="form-property-name"/>
11042 <ref name="form-property-value-and-type-attlist"/>
11043 </element>
11044 <element name="form:list-property">
11045 <ref name="form-property-name"/>
11046 <ref name="form-property-type-and-value-list"/>
11047 </element>
11048 </choice>
11049 </define>
11050 <define name="form-property-name">
11051 <attribute name="form:property-name">
11052 <ref name="string"/>
11053 </attribute>
11054 </define>
11055 <define name="form-property-value-and-type-attlist">
11056 <choice>
11057 <ref name="common-value-and-type-attlist"/>
11058 <attribute name="office:value-type">
11059 <value>void</value>
11060 </attribute>
11061 </choice>
11062 </define>
11063 <define name="form-property-type-and-value-list">
11064 <choice>
11065 <group>
11066 <attribute name="office:value-type">
11067 <value>float</value>
11068 </attribute>
11069 <zeroOrMore>
11070 <element name="form:list-value">
11071 <attribute name="office:value">
11072 <ref name="double"/>
11073 </attribute>
11074 </element>
11075 </zeroOrMore>
11076 </group>
11077 <group>
11078 <attribute name="office:value-type">
11079 <value>percentage</value>
11080 </attribute>
11081 <zeroOrMore>
11082 <element name="form:list-value">
11083 <attribute name="office:value">
11084 <ref name="double"/>
11085 </attribute>
11086 </element>
11087 </zeroOrMore>
11088 </group>
11089 <group>
11090 <attribute name="office:value-type">
11091 <value>currency</value>
11092 </attribute>
11093 <zeroOrMore>
11094 <element name="form:list-value">
11095 <attribute name="office:value">
11096 <ref name="double"/>
11097 </attribute>
11098 <optional>
11099 <attribute name="office:currency">
11100 <ref name="string"/>
11101 </attribute>
11102 </optional>
11103 </element>
11104 </zeroOrMore>
11105 </group>
11106 <group>
11107 <attribute name="office:value-type">
11108 <value>date</value>
11109 </attribute>
11110 <zeroOrMore>
11111 <element name="form:list-value">
11112 <attribute name="office:date-value">
11113 <ref name="dateOrDateTime"/>
11114 </attribute>
11115 </element>
11116 </zeroOrMore>
11117 </group>
11118 <group>
11119 <attribute name="office:value-type">
11120 <value>time</value>
11121 </attribute>
11122 <zeroOrMore>
11123 <element name="form:list-value">
11124 <attribute name="office:time-value">
11125 <ref name="duration"/>
11126 </attribute>
11127 </element>
11128 </zeroOrMore>
11129 </group>
11130 <group>
11131 <attribute name="office:value-type">
11132 <value>boolean</value>
11133 </attribute>
11134 <zeroOrMore>
11135 <element name="form:list-value">
11136 <attribute name="office:boolean-value">
11137 <ref name="boolean"/>
11138 </attribute>
11139 </element>
11140 </zeroOrMore>
11141 </group>
11142 <group>
11143 <attribute name="office:value-type">
11144 <value>string</value>
11145 </attribute>
11146 <zeroOrMore>
11147 <element name="form:list-value">
11148 <attribute name="office:string-value">
11149 <ref name="string"/>
11150 </attribute>
11151 </element>
11152 </zeroOrMore>
11153 </group>
11154 <attribute name="office:value-type">
11155 <value>void</value>
11156 </attribute>
11157 </choice>
11158 </define>
11159 <define name="office-annotation">
11160 <element name="office:annotation">
11161 <ref name="office-annotation-attlist"/>
11162 <ref name="draw-caption-attlist"/>
11163 <ref name="common-draw-position-attlist"/>
11164 <ref name="common-draw-size-attlist"/>
11165 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
11166 <optional>
11167 <ref name="dc-creator"/>
11168 </optional>
11169 <optional>
11170 <ref name="dc-date"/>
11171 </optional>
11172 <optional>
11173 <ref name="meta-date-string"/>
11174 </optional>
11175 <zeroOrMore>
11176 <choice>
11177 <ref name="text-p"/>
11178 <ref name="text-list"/>
11179 </choice>
11180 </zeroOrMore>
11181 </element>
11182 </define>
11183 <define name="office-annotation-end">
11184 <element name="office:annotation-end">
11185 <ref name="office-annotation-end-attlist"/>
11186 </element>
11187 </define>
11188 <define name="office-annotation-attlist">
11189 <interleave>
11190 <optional>
11191 <attribute name="office:display">
11192 <ref name="boolean"/>
11193 </attribute>
11194 </optional>
11195 <optional>
11196 <ref name="common-office-annotation-name-attlist"/>
11197 </optional>
11198 </interleave>
11199 </define>
11200 <define name="office-annotation-end-attlist">
11201 <ref name="common-office-annotation-name-attlist"/>
11202 </define>
11203 <define name="common-office-annotation-name-attlist">
11204 <attribute name="office:name">
11205 <ref name="string"/>
11206 </attribute>
11207 </define>
11208 <define name="meta-date-string">
11209 <element name="meta:date-string">
11210 <ref name="string"/>
11211 </element>
11212 </define>
11213 <define name="common-num-format-prefix-suffix-attlist">
11214 <optional>
11215 <attribute name="style:num-prefix">
11216 <ref name="string"/>
11217 </attribute>
11218 </optional>
11219 <optional>
11220 <attribute name="style:num-suffix">
11221 <ref name="string"/>
11222 </attribute>
11223 </optional>
11224 </define>
11225 <define name="common-num-format-attlist">
11226 <choice>
11227 <attribute name="style:num-format">
11228 <choice>
11229 <value>1</value>
11230 <value>i</value>
11231 <value>I</value>
11232 <ref name="string"/>
11233 <empty/>
11234 </choice>
11235 </attribute>
11236 <group>
11237 <attribute name="style:num-format">
11238 <choice>
11239 <value>a</value>
11240 <value>A</value>
11241 </choice>
11242 </attribute>
11243 <ref name="style-num-letter-sync-attlist"/>
11244 </group>
11245 <empty/>
11246 </choice>
11247 </define>
11248 <define name="style-num-letter-sync-attlist">
11249 <optional>
11250 <attribute name="style:num-letter-sync">
11251 <ref name="boolean"/>
11252 </attribute>
11253 </optional>
11254 </define>
11255 <define name="office-change-info">
11256 <element name="office:change-info">
11257 <ref name="dc-creator"/>
11258 <ref name="dc-date"/>
11259 <zeroOrMore>
11260 <ref name="text-p"/>
11261 </zeroOrMore>
11262 </element>
11263 </define>
11264 <define name="office-event-listeners">
11265 <element name="office:event-listeners">
11266 <zeroOrMore>
11267 <choice>
11268 <ref name="script-event-listener"/>
11269 <ref name="presentation-event-listener"/>
11270 </choice>
11271 </zeroOrMore>
11272 </element>
11273 </define>
11274 <define name="script-event-listener">
11275 <element name="script:event-listener">
11276 <ref name="script-event-listener-attlist"/>
11277 <empty/>
11278 </element>
11279 </define>
11280 <define name="script-event-listener-attlist">
11281 <interleave>
11282 <attribute name="script:event-name">
11283 <ref name="string"/>
11284 </attribute>
11285 <attribute name="script:language">
11286 <ref name="string"/>
11287 </attribute>
11288 <choice>
11289 <attribute name="script:macro-name">
11290 <ref name="string"/>
11291 </attribute>
11292 <group>
11293 <attribute name="xlink:type">
11294 <value>simple</value>
11295 </attribute>
11296 <attribute name="xlink:href">
11297 <ref name="anyIRI"/>
11298 </attribute>
11299 <optional>
11300 <attribute name="xlink:actuate">
11301 <value>onRequest</value>
11302 </attribute>
11303 </optional>
11304 </group>
11305 </choice>
11306 </interleave>
11307 </define>
11308 <define name="math-math">
11309 <element name="math:math">
11310 <ref name="mathMarkup"/>
11311 </element>
11312 </define>
11313 <define name="mathMarkup">
11314 <dc:description>To avoid inclusion of the complete MathML schema, anything is allowed within a math:math top-level element</dc:description>
11315 <zeroOrMore>
11316 <choice>
11317 <attribute>
11318 <anyName/>
11319 </attribute>
11320 <text/>
11321 <element>
11322 <anyName/>
11323 <ref name="mathMarkup"/>
11324 </element>
11325 </choice>
11326 </zeroOrMore>
11327 </define>
11328 <define name="text-dde-connection-decl">
11329 <element name="text:dde-connection-decl">
11330 <ref name="text-dde-connection-decl-attlist"/>
11331 <ref name="common-dde-connection-decl-attlist"/>
11332 </element>
11333 </define>
11334 <define name="text-dde-connection-decl-attlist">
11335 <attribute name="office:name">
11336 <ref name="string"/>
11337 </attribute>
11338 </define>
11339 <define name="common-dde-connection-decl-attlist">
11340 <interleave>
11341 <attribute name="office:dde-application">
11342 <ref name="string"/>
11343 </attribute>
11344 <attribute name="office:dde-topic">
11345 <ref name="string"/>
11346 </attribute>
11347 <attribute name="office:dde-item">
11348 <ref name="string"/>
11349 </attribute>
11350 <optional>
11351 <attribute name="office:automatic-update">
11352 <ref name="boolean"/>
11353 </attribute>
11354 </optional>
11355 </interleave>
11356 </define>
11357 <define name="table-dde-link">
11358 <element name="table:dde-link">
11359 <ref name="office-dde-source"/>
11360 <ref name="table-table"/>
11361 </element>
11362 </define>
11363 <define name="office-dde-source">
11364 <element name="office:dde-source">
11365 <ref name="office-dde-source-attlist"/>
11366 <ref name="common-dde-connection-decl-attlist"/>
11367 </element>
11368 </define>
11369 <define name="office-dde-source-attlist">
11370 <interleave>
11371 <optional>
11372 <attribute name="office:name">
11373 <ref name="string"/>
11374 </attribute>
11375 </optional>
11376 <optional>
11377 <attribute name="office:conversion-mode">
11378 <choice>
11379 <value>into-default-style-data-style</value>
11380 <value>into-english-number</value>
11381 <value>keep-text</value>
11382 </choice>
11383 </attribute>
11384 </optional>
11385 </interleave>
11386 </define>
11387 <define name="animation-element">
11388 <choice>
11389 <element name="anim:animate">
11390 <ref name="common-anim-target-attlist"/>
11391 <ref name="common-anim-named-target-attlist"/>
11392 <ref name="common-anim-values-attlist"/>
11393 <ref name="common-anim-spline-mode-attlist"/>
11394 <ref name="common-spline-anim-value-attlist"/>
11395 <ref name="common-timing-attlist"/>
11396 <ref name="common-anim-add-accum-attlist"/>
11397 </element>
11398 <element name="anim:set">
11399 <ref name="common-anim-target-attlist"/>
11400 <ref name="common-anim-named-target-attlist"/>
11401 <ref name="common-anim-set-values-attlist"/>
11402 <ref name="common-timing-attlist"/>
11403 <ref name="common-anim-add-accum-attlist"/>
11404 </element>
11405 <element name="anim:animateMotion">
11406 <ref name="anim-animate-motion-attlist"/>
11407 <ref name="common-anim-target-attlist"/>
11408 <ref name="common-anim-named-target-attlist"/>
11409 <ref name="common-anim-add-accum-attlist"/>
11410 <ref name="common-anim-values-attlist"/>
11411 <ref name="common-timing-attlist"/>
11412 <ref name="common-spline-anim-value-attlist"/>
11413 </element>
11414 <element name="anim:animateColor">
11415 <ref name="common-anim-target-attlist"/>
11416 <ref name="common-anim-named-target-attlist"/>
11417 <ref name="common-anim-add-accum-attlist"/>
11418 <ref name="common-anim-values-attlist"/>
11419 <ref name="common-anim-spline-mode-attlist"/>
11420 <ref name="common-spline-anim-value-attlist"/>
11421 <ref name="anim-animate-color-attlist"/>
11422 <ref name="common-timing-attlist"/>
11423 </element>
11424 <element name="anim:animateTransform">
11425 <ref name="common-anim-target-attlist"/>
11426 <ref name="common-anim-named-target-attlist"/>
11427 <ref name="common-anim-add-accum-attlist"/>
11428 <ref name="common-anim-values-attlist"/>
11429 <ref name="anim-animate-transform-attlist"/>
11430 <ref name="common-timing-attlist"/>
11431 </element>
11432 <element name="anim:transitionFilter">
11433 <ref name="common-anim-target-attlist"/>
11434 <ref name="common-anim-add-accum-attlist"/>
11435 <ref name="common-anim-values-attlist"/>
11436 <ref name="common-anim-spline-mode-attlist"/>
11437 <ref name="anim-transition-filter-attlist"/>
11438 <ref name="common-timing-attlist"/>
11439 </element>
11440 <element name="anim:par">
11441 <ref name="common-anim-attlist"/>
11442 <ref name="common-timing-attlist"/>
11443 <ref name="common-endsync-timing-attlist"/>
11444 <zeroOrMore>
11445 <ref name="animation-element"/>
11446 </zeroOrMore>
11447 </element>
11448 <element name="anim:seq">
11449 <ref name="common-anim-attlist"/>
11450 <ref name="common-endsync-timing-attlist"/>
11451 <ref name="common-timing-attlist"/>
11452 <zeroOrMore>
11453 <ref name="animation-element"/>
11454 </zeroOrMore>
11455 </element>
11456 <element name="anim:iterate">
11457 <ref name="common-anim-attlist"/>
11458 <ref name="anim-iterate-attlist"/>
11459 <ref name="common-timing-attlist"/>
11460 <ref name="common-endsync-timing-attlist"/>
11461 <zeroOrMore>
11462 <ref name="animation-element"/>
11463 </zeroOrMore>
11464 </element>
11465 <element name="anim:audio">
11466 <ref name="common-anim-attlist"/>
11467 <ref name="anim-audio-attlist"/>
11468 <ref name="common-basic-timing-attlist"/>
11469 </element>
11470 <element name="anim:command">
11471 <ref name="common-anim-attlist"/>
11472 <ref name="anim-command-attlist"/>
11473 <ref name="common-begin-end-timing-attlist"/>
11474 <ref name="common-anim-target-attlist"/>
11475 <zeroOrMore>
11476 <element name="anim:param">
11477 <attribute name="anim:name">
11478 <ref name="string"/>
11479 </attribute>
11480 <attribute name="anim:value">
11481 <ref name="string"/>
11482 </attribute>
11483 </element>
11484 </zeroOrMore>
11485 </element>
11486 </choice>
11487 </define>
11488 <define name="anim-animate-motion-attlist">
11489 <interleave>
11490 <optional>
11491 <attribute name="svg:path">
11492 <ref name="pathData"/>
11493 </attribute>
11494 </optional>
11495 <optional>
11496 <attribute name="svg:origin">
11497 <ref name="string"/>
11498 </attribute>
11499 </optional>
11500 <optional>
11501 <attribute name="smil:calcMode">
11502 <choice>
11503 <value>discrete</value>
11504 <value>linear</value>
11505 <value>paced</value>
11506 <value>spline</value>
11507 </choice>
11508 </attribute>
11509 </optional>
11510 </interleave>
11511 </define>
11512 <define name="anim-animate-color-attlist">
11513 <interleave>
11514 <optional>
11515 <attribute name="anim:color-interpolation">
11516 <choice>
11517 <value>rgb</value>
11518 <value>hsl</value>
11519 </choice>
11520 </attribute>
11521 </optional>
11522 <optional>
11523 <attribute name="anim:color-interpolation-direction">
11524 <choice>
11525 <value>clockwise</value>
11526 <value>counter-clockwise</value>
11527 </choice>
11528 </attribute>
11529 </optional>
11530 </interleave>
11531 </define>
11532 <define name="anim-animate-transform-attlist">
11533 <attribute name="svg:type">
11534 <choice>
11535 <value>translate</value>
11536 <value>scale</value>
11537 <value>rotate</value>
11538 <value>skewX</value>
11539 <value>skewY</value>
11540 </choice>
11541 </attribute>
11542 </define>
11543 <define name="anim-transition-filter-attlist">
11544 <interleave>
11545 <attribute name="smil:type">
11546 <ref name="string"/>
11547 </attribute>
11548 <optional>
11549 <attribute name="smil:subtype">
11550 <ref name="string"/>
11551 </attribute>
11552 </optional>
11553 <optional>
11554 <attribute name="smil:direction">
11555 <choice>
11556 <value>forward</value>
11557 <value>reverse</value>
11558 </choice>
11559 </attribute>
11560 </optional>
11561 <optional>
11562 <attribute name="smil:fadeColor">
11563 <ref name="color"/>
11564 </attribute>
11565 </optional>
11566 <optional>
11567 <attribute name="smil:mode">
11568 <choice>
11569 <value>in</value>
11570 <value>out</value>
11571 </choice>
11572 </attribute>
11573 </optional>
11574 </interleave>
11575 </define>
11576 <define name="common-anim-target-attlist">
11577 <interleave>
11578 <optional>
11579 <attribute name="smil:targetElement">
11580 <ref name="IDREF"/>
11581 </attribute>
11582 </optional>
11583 <optional>
11584 <attribute name="anim:sub-item">
11585 <ref name="string"/>
11586 </attribute>
11587 </optional>
11588 </interleave>
11589 </define>
11590 <define name="common-anim-named-target-attlist">
11591 <attribute name="smil:attributeName">
11592 <ref name="string"/>
11593 </attribute>
11594 </define>
11595 <define name="common-anim-values-attlist">
11596 <interleave>
11597 <optional>
11598 <attribute name="smil:values">
11599 <ref name="string"/>
11600 </attribute>
11601 </optional>
11602 <optional>
11603 <attribute name="anim:formula">
11604 <ref name="string"/>
11605 </attribute>
11606 </optional>
11607 <ref name="common-anim-set-values-attlist"/>
11608 <optional>
11609 <attribute name="smil:from">
11610 <ref name="string"/>
11611 </attribute>
11612 </optional>
11613 <optional>
11614 <attribute name="smil:by">
11615 <ref name="string"/>
11616 </attribute>
11617 </optional>
11618 </interleave>
11619 </define>
11620 <define name="common-anim-spline-mode-attlist">
11621 <optional>
11622 <attribute name="smil:calcMode">
11623 <choice>
11624 <value>discrete</value>
11625 <value>linear</value>
11626 <value>paced</value>
11627 <value>spline</value>
11628 </choice>
11629 </attribute>
11630 </optional>
11631 </define>
11632 <define name="common-spline-anim-value-attlist">
11633 <interleave>
11634 <optional>
11635 <attribute name="smil:keyTimes">
11636 <ref name="string"/>
11637 </attribute>
11638 </optional>
11639 <optional>
11640 <attribute name="smil:keySplines">
11641 <ref name="string"/>
11642 </attribute>
11643 </optional>
11644 </interleave>
11645 </define>
11646 <define name="common-anim-add-accum-attlist">
11647 <interleave>
11648 <optional>
11649 <attribute name="smil:accumulate">
11650 <choice>
11651 <value>none</value>
11652 <value>sum</value>
11653 </choice>
11654 </attribute>
11655 </optional>
11656 <optional>
11657 <attribute name="smil:additive">
11658 <choice>
11659 <value>replace</value>
11660 <value>sum</value>
11661 </choice>
11662 </attribute>
11663 </optional>
11664 </interleave>
11665 </define>
11666 <define name="common-anim-set-values-attlist">
11667 <optional>
11668 <attribute name="smil:to">
11669 <ref name="string"/>
11670 </attribute>
11671 </optional>
11672 </define>
11673 <define name="common-begin-end-timing-attlist">
11674 <interleave>
11675 <optional>
11676 <attribute name="smil:begin">
11677 <ref name="string"/>
11678 </attribute>
11679 </optional>
11680 <optional>
11681 <attribute name="smil:end">
11682 <ref name="string"/>
11683 </attribute>
11684 </optional>
11685 </interleave>
11686 </define>
11687 <define name="common-dur-timing-attlist">
11688 <optional>
11689 <attribute name="smil:dur">
11690 <ref name="string"/>
11691 </attribute>
11692 </optional>
11693 </define>
11694 <define name="common-endsync-timing-attlist">
11695 <optional>
11696 <attribute name="smil:endsync">
11697 <choice>
11698 <value>first</value>
11699 <value>last</value>
11700 <value>all</value>
11701 <value>media</value>
11702 <ref name="IDREF"/>
11703 </choice>
11704 </attribute>
11705 </optional>
11706 </define>
11707 <define name="common-repeat-timing-attlist">
11708 <optional>
11709 <attribute name="smil:repeatDur">
11710 <ref name="string"/>
11711 </attribute>
11712 </optional>
11713 <optional>
11714 <attribute name="smil:repeatCount">
11715 <choice>
11716 <ref name="nonNegativeDecimal"/>
11717 <value>indefinite</value>
11718 </choice>
11719 </attribute>
11720 </optional>
11721 </define>
11722 <define name="nonNegativeDecimal">
11723 <data type="decimal">
11724 <param name="minInclusive">0.0</param>
11725 </data>
11726 </define>
11727 <define name="common-fill-timing-attlist">
11728 <optional>
11729 <attribute name="smil:fill">
11730 <choice>
11731 <value>remove</value>
11732 <value>freeze</value>
11733 <value>hold</value>
11734 <value>auto</value>
11735 <value>default</value>
11736 <value>transition</value>
11737 </choice>
11738 </attribute>
11739 </optional>
11740 </define>
11741 <define name="common-fill-default-attlist">
11742 <optional>
11743 <attribute name="smil:fillDefault">
11744 <choice>
11745 <value>remove</value>
11746 <value>freeze</value>
11747 <value>hold</value>
11748 <value>transition</value>
11749 <value>auto</value>
11750 <value>inherit</value>
11751 </choice>
11752 </attribute>
11753 </optional>
11754 </define>
11755 <define name="common-restart-timing-attlist">
11756 <optional>
11757 <attribute name="smil:restart">
11758 <choice>
11759 <value>never</value>
11760 <value>always</value>
11761 <value>whenNotActive</value>
11762 <value>default</value>
11763 </choice>
11764 </attribute>
11765 </optional>
11766 </define>
11767 <define name="common-restart-default-attlist">
11768 <optional>
11769 <attribute name="smil:restartDefault">
11770 <choice>
11771 <value>never</value>
11772 <value>always</value>
11773 <value>whenNotActive</value>
11774 <value>inherit</value>
11775 </choice>
11776 </attribute>
11777 </optional>
11778 </define>
11779 <define name="common-time-manip-attlist">
11780 <interleave>
11781 <optional>
11782 <attribute name="smil:accelerate">
11783 <ref name="zeroToOneDecimal"/>
11784 </attribute>
11785 </optional>
11786 <optional>
11787 <attribute name="smil:decelerate">
11788 <ref name="zeroToOneDecimal"/>
11789 </attribute>
11790 </optional>
11791 <optional>
11792 <attribute name="smil:autoReverse">
11793 <ref name="boolean"/>
11794 </attribute>
11795 </optional>
11796 </interleave>
11797 </define>
11798 <define name="zeroToOneDecimal">
11799 <data type="decimal">
11800 <param name="minInclusive">0</param>
11801 <param name="maxInclusive">1</param>
11802 </data>
11803 </define>
11804 <define name="common-basic-timing-attlist">
11805 <ref name="common-begin-end-timing-attlist"/>
11806 <ref name="common-dur-timing-attlist"/>
11807 <ref name="common-repeat-timing-attlist"/>
11808 <ref name="common-restart-timing-attlist"/>
11809 <ref name="common-restart-default-attlist"/>
11810 <ref name="common-fill-timing-attlist"/>
11811 <ref name="common-fill-default-attlist"/>
11812 </define>
11813 <define name="common-timing-attlist">
11814 <ref name="common-basic-timing-attlist"/>
11815 <ref name="common-time-manip-attlist"/>
11816 </define>
11817 <define name="anim-iterate-attlist">
11818 <interleave>
11819 <ref name="common-anim-target-attlist"/>
11820 <optional>
11821 <attribute name="anim:iterate-type">
11822 <ref name="string"/>
11823 </attribute>
11824 </optional>
11825 <optional>
11826 <attribute name="anim:iterate-interval">
11827 <ref name="duration"/>
11828 </attribute>
11829 </optional>
11830 </interleave>
11831 </define>
11832 <define name="anim-audio-attlist">
11833 <interleave>
11834 <optional>
11835 <attribute name="xlink:href">
11836 <ref name="anyIRI"/>
11837 </attribute>
11838 </optional>
11839 <optional>
11840 <attribute name="anim:audio-level">
11841 <ref name="double"/>
11842 </attribute>
11843 </optional>
11844 </interleave>
11845 </define>
11846 <define name="anim-command-attlist">
11847 <attribute name="anim:command">
11848 <ref name="string"/>
11849 </attribute>
11850 </define>
11851 <define name="style-style">
11852 <element name="style:style">
11853 <ref name="style-style-attlist"/>
11854 <ref name="style-style-content"/>
11855 <zeroOrMore>
11856 <ref name="style-map"/>
11857 </zeroOrMore>
11858 </element>
11859 </define>
11860 <define name="common-in-content-meta-attlist">
11861 <attribute name="xhtml:about">
11862 <ref name="URIorSafeCURIE"/>
11863 </attribute>
11864 <attribute name="xhtml:property">
11865 <ref name="CURIEs"/>
11866 </attribute>
11867 <ref name="common-meta-literal-attlist"/>
11868 </define>
11869 <define name="common-meta-literal-attlist">
11870 <optional>
11871 <attribute name="xhtml:datatype">
11872 <ref name="CURIE"/>
11873 </attribute>
11874 </optional>
11875 <optional>
11876 <attribute name="xhtml:content">
11877 <ref name="string"/>
11878 </attribute>
11879 </optional>
11880 </define>
11881 <define name="xml-id">
11882 <attribute name="xml:id">
11883 <ref name="ID"/>
11884 </attribute>
11885 </define>
11886 <define name="style-style-attlist">
11887 <interleave>
11888 <attribute name="style:name">
11889 <ref name="styleName"/>
11890 </attribute>
11891 <optional>
11892 <attribute name="style:display-name">
11893 <ref name="string"/>
11894 </attribute>
11895 </optional>
11896 <optional>
11897 <attribute name="style:parent-style-name">
11898 <ref name="styleNameRef"/>
11899 </attribute>
11900 </optional>
11901 <optional>
11902 <attribute name="style:next-style-name">
11903 <ref name="styleNameRef"/>
11904 </attribute>
11905 </optional>
11906 <optional>
11907 <attribute name="style:list-level">
11908 <choice>
11909 <ref name="positiveInteger"/>
11910 <empty/>
11911 </choice>
11912 </attribute>
11913 </optional>
11914 <optional>
11915 <attribute name="style:list-style-name">
11916 <choice>
11917 <ref name="styleName"/>
11918 <empty/>
11919 </choice>
11920 </attribute>
11921 </optional>
11922 <optional>
11923 <attribute name="style:master-page-name">
11924 <ref name="styleNameRef"/>
11925 </attribute>
11926 </optional>
11927 <optional>
11928 <attribute name="style:auto-update">
11929 <ref name="boolean"/>
11930 </attribute>
11931 </optional>
11932 <optional>
11933 <attribute name="style:data-style-name">
11934 <ref name="styleNameRef"/>
11935 </attribute>
11936 </optional>
11937 <optional>
11938 <attribute name="style:percentage-data-style-name">
11939 <ref name="styleNameRef"/>
11940 </attribute>
11941 </optional>
11942 <optional>
11943 <attribute name="style:class">
11944 <ref name="string"/>
11945 </attribute>
11946 </optional>
11947 <optional>
11948 <attribute name="style:default-outline-level">
11949 <choice>
11950 <ref name="positiveInteger"/>
11951 <empty/>
11952 </choice>
11953 </attribute>
11954 </optional>
11955 </interleave>
11956 </define>
11957 <define name="style-map">
11958 <element name="style:map">
11959 <ref name="style-map-attlist"/>
11960 <empty/>
11961 </element>
11962 </define>
11963 <define name="style-map-attlist">
11964 <interleave>
11965 <attribute name="style:condition">
11966 <ref name="string"/>
11967 </attribute>
11968 <attribute name="style:apply-style-name">
11969 <ref name="styleNameRef"/>
11970 </attribute>
11971 <optional>
11972 <attribute name="style:base-cell-address">
11973 <ref name="cellAddress"/>
11974 </attribute>
11975 </optional>
11976 </interleave>
11977 </define>
11978 <define name="style-default-style">
11979 <element name="style:default-style">
11980 <ref name="style-style-content"/>
11981 </element>
11982 </define>
11983 <define name="style-page-layout">
11984 <element name="style:page-layout">
11985 <ref name="style-page-layout-attlist"/>
11986 <ref name="style-page-layout-content"/>
11987 </element>
11988 </define>
11989 <define name="style-page-layout-content">
11990 <optional>
11991 <ref name="style-page-layout-properties"/>
11992 </optional>
11993 <optional>
11994 <ref name="style-header-style"/>
11995 </optional>
11996 <optional>
11997 <ref name="style-footer-style"/>
11998 </optional>
11999 </define>
12000 <define name="style-page-layout-attlist">
12001 <interleave>
12002 <attribute name="style:name">
12003 <ref name="styleName"/>
12004 </attribute>
12005 <optional>
12006 <attribute name="style:page-usage">
12007 <choice>
12008 <value>all</value>
12009 <value>left</value>
12010 <value>right</value>
12011 <value>mirrored</value>
12012 </choice>
12013 </attribute>
12014 </optional>
12015 </interleave>
12016 </define>
12017 <define name="style-header-style">
12018 <element name="style:header-style">
12019 <optional>
12020 <ref name="style-header-footer-properties"/>
12021 </optional>
12022 </element>
12023 </define>
12024 <define name="style-footer-style">
12025 <element name="style:footer-style">
12026 <optional>
12027 <ref name="style-header-footer-properties"/>
12028 </optional>
12029 </element>
12030 </define>
12031 <define name="style-default-page-layout">
12032 <element name="style:default-page-layout">
12033 <ref name="style-page-layout-content"/>
12034 </element>
12035 </define>
12036 <define name="style-master-page">
12037 <element name="style:master-page">
12038 <ref name="style-master-page-attlist"/>
12039 <optional>
12040 <ref name="style-header"/>
12041 <optional>
12042 <ref name="style-header-left"/>
12043 </optional>
12044 </optional>
12045 <optional>
12046 <ref name="style-footer"/>
12047 <optional>
12048 <ref name="style-footer-left"/>
12049 </optional>
12050 </optional>
12051 <optional>
12052 <ref name="draw-layer-set"/>
12053 </optional>
12054 <optional>
12055 <ref name="office-forms"/>
12056 </optional>
12057 <zeroOrMore>
12058 <ref name="shape"/>
12059 </zeroOrMore>
12060 <optional>
12061 <ref name="animation-element"/>
12062 </optional>
12063 <optional>
12064 <ref name="presentation-notes"/>
12065 </optional>
12066 </element>
12067 </define>
12068 <define name="style-master-page-attlist">
12069 <interleave>
12070 <attribute name="style:name">
12071 <ref name="styleName"/>
12072 </attribute>
12073 <optional>
12074 <attribute name="style:display-name">
12075 <ref name="string"/>
12076 </attribute>
12077 </optional>
12078 <attribute name="style:page-layout-name">
12079 <ref name="styleNameRef"/>
12080 </attribute>
12081 <optional>
12082 <attribute name="draw:style-name">
12083 <ref name="styleNameRef"/>
12084 </attribute>
12085 </optional>
12086 <optional>
12087 <attribute name="style:next-style-name">
12088 <ref name="styleNameRef"/>
12089 </attribute>
12090 </optional>
12091 </interleave>
12092 </define>
12093 <define name="style-header">
12094 <element name="style:header">
12095 <ref name="common-style-header-footer-attlist"/>
12096 <ref name="header-footer-content"/>
12097 </element>
12098 </define>
12099 <define name="style-footer">
12100 <element name="style:footer">
12101 <ref name="common-style-header-footer-attlist"/>
12102 <ref name="header-footer-content"/>
12103 </element>
12104 </define>
12105 <define name="style-header-left">
12106 <element name="style:header-left">
12107 <ref name="common-style-header-footer-attlist"/>
12108 <ref name="header-footer-content"/>
12109 </element>
12110 </define>
12111 <define name="style-footer-left">
12112 <element name="style:footer-left">
12113 <ref name="common-style-header-footer-attlist"/>
12114 <ref name="header-footer-content"/>
12115 </element>
12116 </define>
12117 <define name="header-footer-content">
12118 <choice>
12119 <group>
12120 <ref name="text-tracked-changes"/>
12121 <ref name="text-decls"/>
12122 <zeroOrMore>
12123 <choice>
12124 <ref name="text-h"/>
12125 <ref name="text-p"/>
12126 <ref name="text-list"/>
12127 <ref name="table-table"/>
12128 <ref name="text-section"/>
12129 <ref name="text-table-of-content"/>
12130 <ref name="text-illustration-index"/>
12131 <ref name="text-table-index"/>
12132 <ref name="text-object-index"/>
12133 <ref name="text-user-index"/>
12134 <ref name="text-alphabetical-index"/>
12135 <ref name="text-bibliography"/>
12136 <ref name="text-index-title"/>
12137 <ref name="change-marks"/>
12138 </choice>
12139 </zeroOrMore>
12140 </group>
12141 <group>
12142 <optional>
12143 <ref name="style-region-left"/>
12144 </optional>
12145 <optional>
12146 <ref name="style-region-center"/>
12147 </optional>
12148 <optional>
12149 <ref name="style-region-right"/>
12150 </optional>
12151 </group>
12152 </choice>
12153 </define>
12154 <define name="common-style-header-footer-attlist">
12155 <optional>
12156 <attribute name="style:display">
12157 <ref name="boolean"/>
12158 </attribute>
12159 </optional>
12160 </define>
12161 <define name="style-region-left">
12162 <element name="style:region-left">
12163 <ref name="region-content"/>
12164 </element>
12165 </define>
12166 <define name="style-region-center">
12167 <element name="style:region-center">
12168 <ref name="region-content"/>
12169 </element>
12170 </define>
12171 <define name="style-region-right">
12172 <element name="style:region-right">
12173 <ref name="region-content"/>
12174 </element>
12175 </define>
12176 <define name="region-content">
12177 <zeroOrMore>
12178 <ref name="text-p"/>
12179 </zeroOrMore>
12180 </define>
12181 <define name="presentation-notes">
12182 <element name="presentation:notes">
12183 <ref name="common-presentation-header-footer-attlist"/>
12184 <ref name="presentation-notes-attlist"/>
12185 <ref name="office-forms"/>
12186 <zeroOrMore>
12187 <ref name="shape"/>
12188 </zeroOrMore>
12189 </element>
12190 </define>
12191 <define name="presentation-notes-attlist">
12192 <interleave>
12193 <optional>
12194 <attribute name="style:page-layout-name">
12195 <ref name="styleNameRef"/>
12196 </attribute>
12197 </optional>
12198 <optional>
12199 <attribute name="draw:style-name">
12200 <ref name="styleNameRef"/>
12201 </attribute>
12202 </optional>
12203 </interleave>
12204 </define>
12205 <define name="table-table-template">
12206 <element name="table:table-template">
12207 <ref name="table-table-template-attlist"/>
12208 <optional>
12209 <ref name="table-first-row"/>
12210 </optional>
12211 <optional>
12212 <ref name="table-last-row"/>
12213 </optional>
12214 <optional>
12215 <ref name="table-first-column"/>
12216 </optional>
12217 <optional>
12218 <ref name="table-last-column"/>
12219 </optional>
12220 <ref name="table-body"/>
12221 <optional>
12222 <ref name="table-even-rows"/>
12223 </optional>
12224 <optional>
12225 <ref name="table-odd-rows"/>
12226 </optional>
12227 <optional>
12228 <ref name="table-even-columns"/>
12229 </optional>
12230 <optional>
12231 <ref name="table-odd-columns"/>
12232 </optional>
12233 <optional>
12234 <ref name="table-background"/>
12235 </optional>
12236 </element>
12237 </define>
12238 <define name="table-table-template-attlist">
12239 <interleave>
12240 <attribute name="table:name">
12241 <ref name="string"/>
12242 </attribute>
12243 <attribute name="table:first-row-start-column">
12244 <ref name="rowOrCol"/>
12245 </attribute>
12246 <attribute name="table:first-row-end-column">
12247 <ref name="rowOrCol"/>
12248 </attribute>
12249 <attribute name="table:last-row-start-column">
12250 <ref name="rowOrCol"/>
12251 </attribute>
12252 <attribute name="table:last-row-end-column">
12253 <ref name="rowOrCol"/>
12254 </attribute>
12255 </interleave>
12256 </define>
12257 <define name="rowOrCol">
12258 <choice>
12259 <value>row</value>
12260 <value>column</value>
12261 </choice>
12262 </define>
12263 <define name="table-first-row">
12264 <element name="table:first-row">
12265 <ref name="common-table-template-attlist"/>
12266 <empty/>
12267 </element>
12268 </define>
12269 <define name="table-last-row">
12270 <element name="table:last-row">
12271 <ref name="common-table-template-attlist"/>
12272 <empty/>
12273 </element>
12274 </define>
12275 <define name="table-first-column">
12276 <element name="table:first-column">
12277 <ref name="common-table-template-attlist"/>
12278 <empty/>
12279 </element>
12280 </define>
12281 <define name="table-last-column">
12282 <element name="table:last-column">
12283 <ref name="common-table-template-attlist"/>
12284 <empty/>
12285 </element>
12286 </define>
12287 <define name="table-body">
12288 <element name="table:body">
12289 <ref name="common-table-template-attlist"/>
12290 <empty/>
12291 </element>
12292 </define>
12293 <define name="table-even-rows">
12294 <element name="table:even-rows">
12295 <ref name="common-table-template-attlist"/>
12296 <empty/>
12297 </element>
12298 </define>
12299 <define name="table-odd-rows">
12300 <element name="table:odd-rows">
12301 <ref name="common-table-template-attlist"/>
12302 <empty/>
12303 </element>
12304 </define>
12305 <define name="table-even-columns">
12306 <element name="table:even-columns">
12307 <ref name="common-table-template-attlist"/>
12308 <empty/>
12309 </element>
12310 </define>
12311 <define name="table-odd-columns">
12312 <element name="table:odd-columns">
12313 <ref name="common-table-template-attlist"/>
12314 <empty/>
12315 </element>
12316 </define>
12317 <define name="common-table-template-attlist">
12318 <attribute name="table:style-name">
12319 <ref name="styleNameRef"/>
12320 </attribute>
12321 <optional>
12322 <attribute name="table:paragraph-style-name">
12323 <ref name="styleNameRef"/>
12324 </attribute>
12325 </optional>
12326 </define>
12327 <define name="table-background">
12328 <element name="table:background">
12329 <ref name="table-background-attlist"/>
12330 <empty/>
12331 </element>
12332 </define>
12333 <define name="table-background-attlist">
12334 <attribute name="table:style-name">
12335 <ref name="styleNameRef"/>
12336 </attribute>
12337 </define>
12338 <define name="style-font-face">
12339 <element name="style:font-face">
12340 <ref name="style-font-face-attlist"/>
12341 <optional>
12342 <ref name="svg-font-face-src"/>
12343 </optional>
12344 <optional>
12345 <ref name="svg-definition-src"/>
12346 </optional>
12347 </element>
12348 </define>
12349 <define name="style-font-face-attlist">
12350 <interleave>
12351 <optional>
12352 <attribute name="svg:font-family">
12353 <ref name="string"/>
12354 </attribute>
12355 </optional>
12356 <optional>
12357 <attribute name="svg:font-style">
12358 <ref name="fontStyle"/>
12359 </attribute>
12360 </optional>
12361 <optional>
12362 <attribute name="svg:font-variant">
12363 <ref name="fontVariant"/>
12364 </attribute>
12365 </optional>
12366 <optional>
12367 <attribute name="svg:font-weight">
12368 <ref name="fontWeight"/>
12369 </attribute>
12370 </optional>
12371 <optional>
12372 <attribute name="svg:font-stretch">
12373 <choice>
12374 <value>normal</value>
12375 <value>ultra-condensed</value>
12376 <value>extra-condensed</value>
12377 <value>condensed</value>
12378 <value>semi-condensed</value>
12379 <value>semi-expanded</value>
12380 <value>expanded</value>
12381 <value>extra-expanded</value>
12382 <value>ultra-expanded</value>
12383 </choice>
12384 </attribute>
12385 </optional>
12386 <optional>
12387 <attribute name="svg:font-size">
12388 <ref name="positiveLength"/>
12389 </attribute>
12390 </optional>
12391 <optional>
12392 <attribute name="svg:unicode-range">
12393 <ref name="string"/>
12394 </attribute>
12395 </optional>
12396 <optional>
12397 <attribute name="svg:units-per-em">
12398 <ref name="integer"/>
12399 </attribute>
12400 </optional>
12401 <optional>
12402 <attribute name="svg:panose-1">
12403 <ref name="string"/>
12404 </attribute>
12405 </optional>
12406 <optional>
12407 <attribute name="svg:stemv">
12408 <ref name="integer"/>
12409 </attribute>
12410 </optional>
12411 <optional>
12412 <attribute name="svg:stemh">
12413 <ref name="integer"/>
12414 </attribute>
12415 </optional>
12416 <optional>
12417 <attribute name="svg:slope">
12418 <ref name="integer"/>
12419 </attribute>
12420 </optional>
12421 <optional>
12422 <attribute name="svg:cap-height">
12423 <ref name="integer"/>
12424 </attribute>
12425 </optional>
12426 <optional>
12427 <attribute name="svg:x-height">
12428 <ref name="integer"/>
12429 </attribute>
12430 </optional>
12431 <optional>
12432 <attribute name="svg:accent-height">
12433 <ref name="integer"/>
12434 </attribute>
12435 </optional>
12436 <optional>
12437 <attribute name="svg:ascent">
12438 <ref name="integer"/>
12439 </attribute>
12440 </optional>
12441 <optional>
12442 <attribute name="svg:descent">
12443 <ref name="integer"/>
12444 </attribute>
12445 </optional>
12446 <optional>
12447 <attribute name="svg:widths">
12448 <ref name="string"/>
12449 </attribute>
12450 </optional>
12451 <optional>
12452 <attribute name="svg:bbox">
12453 <ref name="string"/>
12454 </attribute>
12455 </optional>
12456 <optional>
12457 <attribute name="svg:ideographic">
12458 <ref name="integer"/>
12459 </attribute>
12460 </optional>
12461 <optional>
12462 <attribute name="svg:alphabetic">
12463 <ref name="integer"/>
12464 </attribute>
12465 </optional>
12466 <optional>
12467 <attribute name="svg:mathematical">
12468 <ref name="integer"/>
12469 </attribute>
12470 </optional>
12471 <optional>
12472 <attribute name="svg:hanging">
12473 <ref name="integer"/>
12474 </attribute>
12475 </optional>
12476 <optional>
12477 <attribute name="svg:v-ideographic">
12478 <ref name="integer"/>
12479 </attribute>
12480 </optional>
12481 <optional>
12482 <attribute name="svg:v-alphabetic">
12483 <ref name="integer"/>
12484 </attribute>
12485 </optional>
12486 <optional>
12487 <attribute name="svg:v-mathematical">
12488 <ref name="integer"/>
12489 </attribute>
12490 </optional>
12491 <optional>
12492 <attribute name="svg:v-hanging">
12493 <ref name="integer"/>
12494 </attribute>
12495 </optional>
12496 <optional>
12497 <attribute name="svg:underline-position">
12498 <ref name="integer"/>
12499 </attribute>
12500 </optional>
12501 <optional>
12502 <attribute name="svg:underline-thickness">
12503 <ref name="integer"/>
12504 </attribute>
12505 </optional>
12506 <optional>
12507 <attribute name="svg:strikethrough-position">
12508 <ref name="integer"/>
12509 </attribute>
12510 </optional>
12511 <optional>
12512 <attribute name="svg:strikethrough-thickness">
12513 <ref name="integer"/>
12514 </attribute>
12515 </optional>
12516 <optional>
12517 <attribute name="svg:overline-position">
12518 <ref name="integer"/>
12519 </attribute>
12520 </optional>
12521 <optional>
12522 <attribute name="svg:overline-thickness">
12523 <ref name="integer"/>
12524 </attribute>
12525 </optional>
12526 <attribute name="style:name">
12527 <ref name="string"/>
12528 </attribute>
12529 <optional>
12530 <attribute name="style:font-adornments">
12531 <ref name="string"/>
12532 </attribute>
12533 </optional>
12534 <optional>
12535 <attribute name="style:font-family-generic">
12536 <ref name="fontFamilyGeneric"/>
12537 </attribute>
12538 </optional>
12539 <optional>
12540 <attribute name="style:font-pitch">
12541 <ref name="fontPitch"/>
12542 </attribute>
12543 </optional>
12544 <optional>
12545 <attribute name="style:font-charset">
12546 <ref name="textEncoding"/>
12547 </attribute>
12548 </optional>
12549 </interleave>
12550 </define>
12551 <define name="svg-font-face-src">
12552 <element name="svg:font-face-src">
12553 <oneOrMore>
12554 <choice>
12555 <ref name="svg-font-face-uri"/>
12556 <ref name="svg-font-face-name"/>
12557 </choice>
12558 </oneOrMore>
12559 </element>
12560 </define>
12561 <define name="svg-font-face-uri">
12562 <element name="svg:font-face-uri">
12563 <ref name="common-svg-font-face-xlink-attlist"/>
12564 <zeroOrMore>
12565 <ref name="svg-font-face-format"/>
12566 </zeroOrMore>
12567 </element>
12568 </define>
12569 <define name="svg-font-face-format">
12570 <element name="svg:font-face-format">
12571 <optional>
12572 <attribute name="svg:string">
12573 <ref name="string"/>
12574 </attribute>
12575 </optional>
12576 <empty/>
12577 </element>
12578 </define>
12579 <define name="svg-font-face-name">
12580 <element name="svg:font-face-name">
12581 <optional>
12582 <attribute name="svg:name">
12583 <ref name="string"/>
12584 </attribute>
12585 </optional>
12586 <empty/>
12587 </element>
12588 </define>
12589 <define name="svg-definition-src">
12590 <element name="svg:definition-src">
12591 <ref name="common-svg-font-face-xlink-attlist"/>
12592 <empty/>
12593 </element>
12594 </define>
12595 <define name="common-svg-font-face-xlink-attlist">
12596 <attribute name="xlink:type">
12597 <value>simple</value>
12598 </attribute>
12599 <attribute name="xlink:href">
12600 <ref name="anyIRI"/>
12601 </attribute>
12602 <optional>
12603 <attribute name="xlink:actuate">
12604 <value>onRequest</value>
12605 </attribute>
12606 </optional>
12607 </define>
12608 <define name="number-number-style">
12609 <element name="number:number-style">
12610 <ref name="common-data-style-attlist"/>
12611 <optional>
12612 <ref name="style-text-properties"/>
12613 </optional>
12614 <optional>
12615 <ref name="number-text"/>
12616 </optional>
12617 <optional>
12618 <ref name="any-number"/>
12619 <optional>
12620 <ref name="number-text"/>
12621 </optional>
12622 </optional>
12623 <zeroOrMore>
12624 <ref name="style-map"/>
12625 </zeroOrMore>
12626 </element>
12627 </define>
12628 <define name="any-number">
12629 <choice>
12630 <ref name="number-number"/>
12631 <ref name="number-scientific-number"/>
12632 <ref name="number-fraction"/>
12633 </choice>
12634 </define>
12635 <define name="number-number">
12636 <element name="number:number">
12637 <ref name="number-number-attlist"/>
12638 <ref name="common-decimal-places-attlist"/>
12639 <ref name="common-number-attlist"/>
12640 <zeroOrMore>
12641 <ref name="number-embedded-text"/>
12642 </zeroOrMore>
12643 </element>
12644 </define>
12645 <define name="number-number-attlist">
12646 <interleave>
12647 <optional>
12648 <attribute name="number:decimal-replacement">
12649 <ref name="string"/>
12650 </attribute>
12651 </optional>
12652 <optional>
12653 <attribute name="number:display-factor">
12654 <ref name="double"/>
12655 </attribute>
12656 </optional>
12657 </interleave>
12658 </define>
12659 <define name="number-embedded-text">
12660 <element name="number:embedded-text">
12661 <ref name="number-embedded-text-attlist"/>
12662 <text/>
12663 </element>
12664 </define>
12665 <define name="number-embedded-text-attlist">
12666 <attribute name="number:position">
12667 <ref name="integer"/>
12668 </attribute>
12669 </define>
12670 <define name="number-scientific-number">
12671 <element name="number:scientific-number">
12672 <ref name="number-scientific-number-attlist"/>
12673 <ref name="common-decimal-places-attlist"/>
12674 <ref name="common-number-attlist"/>
12675 <empty/>
12676 </element>
12677 </define>
12678 <define name="number-scientific-number-attlist">
12679 <optional>
12680 <attribute name="number:min-exponent-digits">
12681 <ref name="integer"/>
12682 </attribute>
12683 </optional>
12684 </define>
12685 <define name="number-fraction">
12686 <element name="number:fraction">
12687 <ref name="number-fraction-attlist"/>
12688 <ref name="common-number-attlist"/>
12689 <empty/>
12690 </element>
12691 </define>
12692 <define name="number-fraction-attlist">
12693 <interleave>
12694 <optional>
12695 <attribute name="number:min-numerator-digits">
12696 <ref name="integer"/>
12697 </attribute>
12698 </optional>
12699 <optional>
12700 <attribute name="number:min-denominator-digits">
12701 <ref name="integer"/>
12702 </attribute>
12703 </optional>
12704 <optional>
12705 <attribute name="number:denominator-value">
12706 <ref name="integer"/>
12707 </attribute>
12708 </optional>
12709 </interleave>
12710 </define>
12711 <define name="number-currency-style">
12712 <element name="number:currency-style">
12713 <ref name="common-data-style-attlist"/>
12714 <ref name="common-auto-reorder-attlist"/>
12715 <optional>
12716 <ref name="style-text-properties"/>
12717 </optional>
12718 <optional>
12719 <ref name="number-text"/>
12720 </optional>
12721 <optional>
12722 <choice>
12723 <group>
12724 <ref name="number-and-text"/>
12725 <optional>
12726 <ref name="currency-symbol-and-text"/>
12727 </optional>
12728 </group>
12729 <group>
12730 <ref name="currency-symbol-and-text"/>
12731 <optional>
12732 <ref name="number-and-text"/>
12733 </optional>
12734 </group>
12735 </choice>
12736 </optional>
12737 <zeroOrMore>
12738 <ref name="style-map"/>
12739 </zeroOrMore>
12740 </element>
12741 </define>
12742 <define name="currency-symbol-and-text">
12743 <ref name="number-currency-symbol"/>
12744 <optional>
12745 <ref name="number-text"/>
12746 </optional>
12747 </define>
12748 <define name="number-and-text">
12749 <ref name="number-number"/>
12750 <optional>
12751 <ref name="number-text"/>
12752 </optional>
12753 </define>
12754 <define name="number-currency-symbol">
12755 <element name="number:currency-symbol">
12756 <ref name="number-currency-symbol-attlist"/>
12757 <text/>
12758 </element>
12759 </define>
12760 <define name="number-currency-symbol-attlist">
12761 <optional>
12762 <attribute name="number:language">
12763 <ref name="languageCode"/>
12764 </attribute>
12765 </optional>
12766 <optional>
12767 <attribute name="number:country">
12768 <ref name="countryCode"/>
12769 </attribute>
12770 </optional>
12771 <optional>
12772 <attribute name="number:script">
12773 <ref name="scriptCode"/>
12774 </attribute>
12775 </optional>
12776 <optional>
12777 <attribute name="number:rfc-language-tag">
12778 <ref name="language"/>
12779 </attribute>
12780 </optional>
12781 </define>
12782 <define name="number-percentage-style">
12783 <element name="number:percentage-style">
12784 <ref name="common-data-style-attlist"/>
12785 <optional>
12786 <ref name="style-text-properties"/>
12787 </optional>
12788 <optional>
12789 <ref name="number-text"/>
12790 </optional>
12791 <optional>
12792 <ref name="number-and-text"/>
12793 </optional>
12794 <zeroOrMore>
12795 <ref name="style-map"/>
12796 </zeroOrMore>
12797 </element>
12798 </define>
12799 <define name="number-date-style">
12800 <element name="number:date-style">
12801 <ref name="common-data-style-attlist"/>
12802 <ref name="common-auto-reorder-attlist"/>
12803 <ref name="common-format-source-attlist"/>
12804 <optional>
12805 <ref name="style-text-properties"/>
12806 </optional>
12807 <optional>
12808 <ref name="number-text"/>
12809 </optional>
12810 <oneOrMore>
12811 <ref name="any-date"/>
12812 <optional>
12813 <ref name="number-text"/>
12814 </optional>
12815 </oneOrMore>
12816 <zeroOrMore>
12817 <ref name="style-map"/>
12818 </zeroOrMore>
12819 </element>
12820 </define>
12821 <define name="any-date">
12822 <choice>
12823 <ref name="number-day"/>
12824 <ref name="number-month"/>
12825 <ref name="number-year"/>
12826 <ref name="number-era"/>
12827 <ref name="number-day-of-week"/>
12828 <ref name="number-week-of-year"/>
12829 <ref name="number-quarter"/>
12830 <ref name="number-hours"/>
12831 <ref name="number-am-pm"/>
12832 <ref name="number-minutes"/>
12833 <ref name="number-seconds"/>
12834 </choice>
12835 </define>
12836 <define name="number-day">
12837 <element name="number:day">
12838 <ref name="number-day-attlist"/>
12839 <ref name="common-calendar-attlist"/>
12840 <empty/>
12841 </element>
12842 </define>
12843 <define name="number-day-attlist">
12844 <optional>
12845 <attribute name="number:style">
12846 <choice>
12847 <value>short</value>
12848 <value>long</value>
12849 </choice>
12850 </attribute>
12851 </optional>
12852 </define>
12853 <define name="number-month">
12854 <element name="number:month">
12855 <ref name="number-month-attlist"/>
12856 <ref name="common-calendar-attlist"/>
12857 <empty/>
12858 </element>
12859 </define>
12860 <define name="number-month-attlist">
12861 <interleave>
12862 <optional>
12863 <attribute name="number:textual">
12864 <ref name="boolean"/>
12865 </attribute>
12866 </optional>
12867 <optional>
12868 <attribute name="number:possessive-form">
12869 <ref name="boolean"/>
12870 </attribute>
12871 </optional>
12872 <optional>
12873 <attribute name="number:style">
12874 <choice>
12875 <value>short</value>
12876 <value>long</value>
12877 </choice>
12878 </attribute>
12879 </optional>
12880 </interleave>
12881 </define>
12882 <define name="number-year">
12883 <element name="number:year">
12884 <ref name="number-year-attlist"/>
12885 <ref name="common-calendar-attlist"/>
12886 <empty/>
12887 </element>
12888 </define>
12889 <define name="number-year-attlist">
12890 <optional>
12891 <attribute name="number:style">
12892 <choice>
12893 <value>short</value>
12894 <value>long</value>
12895 </choice>
12896 </attribute>
12897 </optional>
12898 </define>
12899 <define name="number-era">
12900 <element name="number:era">
12901 <ref name="number-era-attlist"/>
12902 <ref name="common-calendar-attlist"/>
12903 <empty/>
12904 </element>
12905 </define>
12906 <define name="number-era-attlist">
12907 <optional>
12908 <attribute name="number:style">
12909 <choice>
12910 <value>short</value>
12911 <value>long</value>
12912 </choice>
12913 </attribute>
12914 </optional>
12915 </define>
12916 <define name="number-day-of-week">
12917 <element name="number:day-of-week">
12918 <ref name="number-day-of-week-attlist"/>
12919 <ref name="common-calendar-attlist"/>
12920 <empty/>
12921 </element>
12922 </define>
12923 <define name="number-day-of-week-attlist">
12924 <optional>
12925 <attribute name="number:style">
12926 <choice>
12927 <value>short</value>
12928 <value>long</value>
12929 </choice>
12930 </attribute>
12931 </optional>
12932 </define>
12933 <define name="number-week-of-year">
12934 <element name="number:week-of-year">
12935 <ref name="common-calendar-attlist"/>
12936 <empty/>
12937 </element>
12938 </define>
12939 <define name="number-quarter">
12940 <element name="number:quarter">
12941 <ref name="number-quarter-attlist"/>
12942 <ref name="common-calendar-attlist"/>
12943 <empty/>
12944 </element>
12945 </define>
12946 <define name="number-quarter-attlist">
12947 <optional>
12948 <attribute name="number:style">
12949 <choice>
12950 <value>short</value>
12951 <value>long</value>
12952 </choice>
12953 </attribute>
12954 </optional>
12955 </define>
12956 <define name="number-time-style">
12957 <element name="number:time-style">
12958 <ref name="number-time-style-attlist"/>
12959 <ref name="common-data-style-attlist"/>
12960 <ref name="common-format-source-attlist"/>
12961 <optional>
12962 <ref name="style-text-properties"/>
12963 </optional>
12964 <optional>
12965 <ref name="number-text"/>
12966 </optional>
12967 <oneOrMore>
12968 <ref name="any-time"/>
12969 <optional>
12970 <ref name="number-text"/>
12971 </optional>
12972 </oneOrMore>
12973 <zeroOrMore>
12974 <ref name="style-map"/>
12975 </zeroOrMore>
12976 </element>
12977 </define>
12978 <define name="any-time">
12979 <choice>
12980 <ref name="number-hours"/>
12981 <ref name="number-am-pm"/>
12982 <ref name="number-minutes"/>
12983 <ref name="number-seconds"/>
12984 </choice>
12985 </define>
12986 <define name="number-time-style-attlist">
12987 <optional>
12988 <attribute name="number:truncate-on-overflow">
12989 <ref name="boolean"/>
12990 </attribute>
12991 </optional>
12992 </define>
12993 <define name="number-hours">
12994 <element name="number:hours">
12995 <ref name="number-hours-attlist"/>
12996 <empty/>
12997 </element>
12998 </define>
12999 <define name="number-hours-attlist">
13000 <optional>
13001 <attribute name="number:style">
13002 <choice>
13003 <value>short</value>
13004 <value>long</value>
13005 </choice>
13006 </attribute>
13007 </optional>
13008 </define>
13009 <define name="number-minutes">
13010 <element name="number:minutes">
13011 <ref name="number-minutes-attlist"/>
13012 <empty/>
13013 </element>
13014 </define>
13015 <define name="number-minutes-attlist">
13016 <optional>
13017 <attribute name="number:style">
13018 <choice>
13019 <value>short</value>
13020 <value>long</value>
13021 </choice>
13022 </attribute>
13023 </optional>
13024 </define>
13025 <define name="number-seconds">
13026 <element name="number:seconds">
13027 <ref name="number-seconds-attlist"/>
13028 <empty/>
13029 </element>
13030 </define>
13031 <define name="number-seconds-attlist">
13032 <interleave>
13033 <optional>
13034 <attribute name="number:style">
13035 <choice>
13036 <value>short</value>
13037 <value>long</value>
13038 </choice>
13039 </attribute>
13040 </optional>
13041 <optional>
13042 <attribute name="number:decimal-places">
13043 <ref name="integer"/>
13044 </attribute>
13045 </optional>
13046 </interleave>
13047 </define>
13048 <define name="number-am-pm">
13049 <element name="number:am-pm">
13050 <empty/>
13051 </element>
13052 </define>
13053 <define name="number-boolean-style">
13054 <element name="number:boolean-style">
13055 <ref name="common-data-style-attlist"/>
13056 <optional>
13057 <ref name="style-text-properties"/>
13058 </optional>
13059 <optional>
13060 <ref name="number-text"/>
13061 </optional>
13062 <optional>
13063 <ref name="number-boolean"/>
13064 <optional>
13065 <ref name="number-text"/>
13066 </optional>
13067 </optional>
13068 <zeroOrMore>
13069 <ref name="style-map"/>
13070 </zeroOrMore>
13071 </element>
13072 </define>
13073 <define name="number-boolean">
13074 <element name="number:boolean">
13075 <empty/>
13076 </element>
13077 </define>
13078 <define name="number-text-style">
13079 <element name="number:text-style">
13080 <ref name="common-data-style-attlist"/>
13081 <optional>
13082 <ref name="style-text-properties"/>
13083 </optional>
13084 <optional>
13085 <ref name="number-text"/>
13086 </optional>
13087 <zeroOrMore>
13088 <ref name="number-text-content"/>
13089 <optional>
13090 <ref name="number-text"/>
13091 </optional>
13092 </zeroOrMore>
13093 <zeroOrMore>
13094 <ref name="style-map"/>
13095 </zeroOrMore>
13096 </element>
13097 </define>
13098 <define name="number-text">
13099 <element name="number:text">
13100 <text/>
13101 </element>
13102 </define>
13103 <define name="number-text-content">
13104 <element name="number:text-content">
13105 <empty/>
13106 </element>
13107 </define>
13108 <define name="common-data-style-attlist">
13109 <interleave>
13110 <attribute name="style:name">
13111 <ref name="styleName"/>
13112 </attribute>
13113 <optional>
13114 <attribute name="style:display-name">
13115 <ref name="string"/>
13116 </attribute>
13117 </optional>
13118 <optional>
13119 <attribute name="number:language">
13120 <ref name="languageCode"/>
13121 </attribute>
13122 </optional>
13123 <optional>
13124 <attribute name="number:country">
13125 <ref name="countryCode"/>
13126 </attribute>
13127 </optional>
13128 <optional>
13129 <attribute name="number:script">
13130 <ref name="scriptCode"/>
13131 </attribute>
13132 </optional>
13133 <optional>
13134 <attribute name="number:rfc-language-tag">
13135 <ref name="language"/>
13136 </attribute>
13137 </optional>
13138 <optional>
13139 <attribute name="number:title">
13140 <ref name="string"/>
13141 </attribute>
13142 </optional>
13143 <optional>
13144 <attribute name="style:volatile">
13145 <ref name="boolean"/>
13146 </attribute>
13147 </optional>
13148 <optional>
13149 <attribute name="number:transliteration-format">
13150 <ref name="string"/>
13151 </attribute>
13152 </optional>
13153 <optional>
13154 <attribute name="number:transliteration-language">
13155 <ref name="countryCode"/>
13156 </attribute>
13157 </optional>
13158 <optional>
13159 <attribute name="number:transliteration-country">
13160 <ref name="countryCode"/>
13161 </attribute>
13162 </optional>
13163 <optional>
13164 <attribute name="number:transliteration-style">
13165 <choice>
13166 <value>short</value>
13167 <value>medium</value>
13168 <value>long</value>
13169 </choice>
13170 </attribute>
13171 </optional>
13172 </interleave>
13173 </define>
13174 <define name="common-auto-reorder-attlist">
13175 <optional>
13176 <attribute name="number:automatic-order">
13177 <ref name="boolean"/>
13178 </attribute>
13179 </optional>
13180 </define>
13181 <define name="common-format-source-attlist">
13182 <optional>
13183 <attribute name="number:format-source">
13184 <choice>
13185 <value>fixed</value>
13186 <value>language</value>
13187 </choice>
13188 </attribute>
13189 </optional>
13190 </define>
13191 <define name="common-decimal-places-attlist">
13192 <optional>
13193 <attribute name="number:decimal-places">
13194 <ref name="integer"/>
13195 </attribute>
13196 </optional>
13197 </define>
13198 <define name="common-number-attlist">
13199 <interleave>
13200 <optional>
13201 <attribute name="number:min-integer-digits">
13202 <ref name="integer"/>
13203 </attribute>
13204 </optional>
13205 <optional>
13206 <attribute name="number:grouping">
13207 <ref name="boolean"/>
13208 </attribute>
13209 </optional>
13210 </interleave>
13211 </define>
13212 <define name="common-calendar-attlist">
13213 <optional>
13214 <attribute name="number:calendar">
13215 <choice>
13216 <value>gregorian</value>
13217 <value>gengou</value>
13218 <value>ROC</value>
13219 <value>hanja_yoil</value>
13220 <value>hanja</value>
13221 <value>hijri</value>
13222 <value>jewish</value>
13223 <value>buddhist</value>
13224 <ref name="string"/>
13225 </choice>
13226 </attribute>
13227 </optional>
13228 </define>
13229 <define name="style-style-content">
13230 <choice>
13231 <group>
13232 <attribute name="style:family">
13233 <value>text</value>
13234 </attribute>
13235 <optional>
13236 <ref name="style-text-properties"/>
13237 </optional>
13238 </group>
13239 <group>
13240 <attribute name="style:family">
13241 <value>paragraph</value>
13242 </attribute>
13243 <optional>
13244 <ref name="style-paragraph-properties"/>
13245 </optional>
13246 <optional>
13247 <ref name="style-text-properties"/>
13248 </optional>
13249 </group>
13250 <group>
13251 <attribute name="style:family">
13252 <value>section</value>
13253 </attribute>
13254 <optional>
13255 <ref name="style-section-properties"/>
13256 </optional>
13257 </group>
13258 <group>
13259 <attribute name="style:family">
13260 <value>ruby</value>
13261 </attribute>
13262 <optional>
13263 <ref name="style-ruby-properties"/>
13264 </optional>
13265 </group>
13266 <group>
13267 <attribute name="style:family">
13268 <value>table</value>
13269 </attribute>
13270 <optional>
13271 <ref name="style-table-properties"/>
13272 </optional>
13273 </group>
13274 <group>
13275 <attribute name="style:family">
13276 <value>table-column</value>
13277 </attribute>
13278 <optional>
13279 <ref name="style-table-column-properties"/>
13280 </optional>
13281 </group>
13282 <group>
13283 <attribute name="style:family">
13284 <value>table-row</value>
13285 </attribute>
13286 <optional>
13287 <ref name="style-table-row-properties"/>
13288 </optional>
13289 </group>
13290 <group>
13291 <attribute name="style:family">
13292 <value>table-cell</value>
13293 </attribute>
13294 <optional>
13295 <ref name="style-table-cell-properties"/>
13296 </optional>
13297 <optional>
13298 <ref name="style-paragraph-properties"/>
13299 </optional>
13300 <optional>
13301 <ref name="style-text-properties"/>
13302 </optional>
13303 </group>
13304 <group>
13305 <attribute name="style:family">
13306 <choice>
13307 <value>graphic</value>
13308 <value>presentation</value>
13309 </choice>
13310 </attribute>
13311 <optional>
13312 <ref name="style-graphic-properties"/>
13313 </optional>
13314 <optional>
13315 <ref name="style-paragraph-properties"/>
13316 </optional>
13317 <optional>
13318 <ref name="style-text-properties"/>
13319 </optional>
13320 </group>
13321 <group>
13322 <attribute name="style:family">
13323 <value>drawing-page</value>
13324 </attribute>
13325 <optional>
13326 <ref name="style-drawing-page-properties"/>
13327 </optional>
13328 </group>
13329 <group>
13330 <attribute name="style:family">
13331 <value>chart</value>
13332 </attribute>
13333 <optional>
13334 <ref name="style-chart-properties"/>
13335 </optional>
13336 <optional>
13337 <ref name="style-graphic-properties"/>
13338 </optional>
13339 <optional>
13340 <ref name="style-paragraph-properties"/>
13341 </optional>
13342 <optional>
13343 <ref name="style-text-properties"/>
13344 </optional>
13345 </group>
13346 </choice>
13347 </define>
13348 <define name="text-linenumbering-configuration">
13349 <element name="text:linenumbering-configuration">
13350 <ref name="text-linenumbering-configuration-attlist"/>
13351 <optional>
13352 <ref name="text-linenumbering-separator"/>
13353 </optional>
13354 </element>
13355 </define>
13356 <define name="text-linenumbering-configuration-attlist">
13357 <interleave>
13358 <optional>
13359 <attribute name="text:number-lines">
13360 <ref name="boolean"/>
13361 </attribute>
13362 </optional>
13363 <optional>
13364 <ref name="common-num-format-attlist"/>
13365 </optional>
13366 <optional>
13367 <attribute name="text:style-name">
13368 <ref name="styleNameRef"/>
13369 </attribute>
13370 </optional>
13371 <optional>
13372 <attribute name="text:increment">
13373 <ref name="nonNegativeInteger"/>
13374 </attribute>
13375 </optional>
13376 <optional>
13377 <attribute name="text:number-position">
13378 <choice>
13379 <value>left</value>
13380 <value>right</value>
13381 <value>inner</value>
13382 <value>outer</value>
13383 </choice>
13384 </attribute>
13385 </optional>
13386 <optional>
13387 <attribute name="text:offset">
13388 <ref name="nonNegativeLength"/>
13389 </attribute>
13390 </optional>
13391 <optional>
13392 <attribute name="text:count-empty-lines">
13393 <ref name="boolean"/>
13394 </attribute>
13395 </optional>
13396 <optional>
13397 <attribute name="text:count-in-text-boxes">
13398 <ref name="boolean"/>
13399 </attribute>
13400 </optional>
13401 <optional>
13402 <attribute name="text:restart-on-page">
13403 <ref name="boolean"/>
13404 </attribute>
13405 </optional>
13406 </interleave>
13407 </define>
13408 <define name="text-linenumbering-separator">
13409 <element name="text:linenumbering-separator">
13410 <optional>
13411 <attribute name="text:increment">
13412 <ref name="nonNegativeInteger"/>
13413 </attribute>
13414 </optional>
13415 <text/>
13416 </element>
13417 </define>
13418 <define name="text-notes-configuration">
13419 <element name="text:notes-configuration">
13420 <ref name="text-notes-configuration-content"/>
13421 </element>
13422 </define>
13423 <define name="text-notes-configuration-content">
13424 <interleave>
13425 <ref name="text-note-class"/>
13426 <optional>
13427 <attribute name="text:citation-style-name">
13428 <ref name="styleNameRef"/>
13429 </attribute>
13430 </optional>
13431 <optional>
13432 <attribute name="text:citation-body-style-name">
13433 <ref name="styleNameRef"/>
13434 </attribute>
13435 </optional>
13436 <optional>
13437 <attribute name="text:default-style-name">
13438 <ref name="styleNameRef"/>
13439 </attribute>
13440 </optional>
13441 <optional>
13442 <attribute name="text:master-page-name">
13443 <ref name="styleNameRef"/>
13444 </attribute>
13445 </optional>
13446 <optional>
13447 <attribute name="text:start-value">
13448 <ref name="nonNegativeInteger"/>
13449 </attribute>
13450 </optional>
13451 <ref name="common-num-format-prefix-suffix-attlist"/>
13452 <optional>
13453 <ref name="common-num-format-attlist"/>
13454 </optional>
13455 <optional>
13456 <attribute name="text:start-numbering-at">
13457 <choice>
13458 <value>document</value>
13459 <value>chapter</value>
13460 <value>page</value>
13461 </choice>
13462 </attribute>
13463 </optional>
13464 <optional>
13465 <attribute name="text:footnotes-position">
13466 <choice>
13467 <value>text</value>
13468 <value>page</value>
13469 <value>section</value>
13470 <value>document</value>
13471 </choice>
13472 </attribute>
13473 </optional>
13474 <optional>
13475 <element name="text:note-continuation-notice-forward">
13476 <text/>
13477 </element>
13478 </optional>
13479 <optional>
13480 <element name="text:note-continuation-notice-backward">
13481 <text/>
13482 </element>
13483 </optional>
13484 </interleave>
13485 </define>
13486 <define name="text-bibliography-configuration">
13487 <element name="text:bibliography-configuration">
13488 <ref name="text-bibliography-configuration-attlist"/>
13489 <zeroOrMore>
13490 <ref name="text-sort-key"/>
13491 </zeroOrMore>
13492 </element>
13493 </define>
13494 <define name="text-bibliography-configuration-attlist">
13495 <interleave>
13496 <optional>
13497 <attribute name="text:prefix">
13498 <ref name="string"/>
13499 </attribute>
13500 </optional>
13501 <optional>
13502 <attribute name="text:suffix">
13503 <ref name="string"/>
13504 </attribute>
13505 </optional>
13506 <optional>
13507 <attribute name="text:numbered-entries">
13508 <ref name="boolean"/>
13509 </attribute>
13510 </optional>
13511 <optional>
13512 <attribute name="text:sort-by-position">
13513 <ref name="boolean"/>
13514 </attribute>
13515 </optional>
13516 <optional>
13517 <attribute name="fo:language">
13518 <ref name="languageCode"/>
13519 </attribute>
13520 </optional>
13521 <optional>
13522 <attribute name="fo:country">
13523 <ref name="countryCode"/>
13524 </attribute>
13525 </optional>
13526 <optional>
13527 <attribute name="fo:script">
13528 <ref name="scriptCode"/>
13529 </attribute>
13530 </optional>
13531 <optional>
13532 <attribute name="style:rfc-language-tag">
13533 <ref name="language"/>
13534 </attribute>
13535 </optional>
13536 <optional>
13537 <attribute name="text:sort-algorithm">
13538 <ref name="string"/>
13539 </attribute>
13540 </optional>
13541 </interleave>
13542 </define>
13543 <define name="text-sort-key">
13544 <element name="text:sort-key">
13545 <ref name="text-sort-key-attlist"/>
13546 <empty/>
13547 </element>
13548 </define>
13549 <define name="text-sort-key-attlist">
13550 <attribute name="text:key">
13551 <choice>
13552 <value>address</value>
13553 <value>annote</value>
13554 <value>author</value>
13555 <value>bibliography-type</value>
13556 <value>booktitle</value>
13557 <value>chapter</value>
13558 <value>custom1</value>
13559 <value>custom2</value>
13560 <value>custom3</value>
13561 <value>custom4</value>
13562 <value>custom5</value>
13563 <value>edition</value>
13564 <value>editor</value>
13565 <value>howpublished</value>
13566 <value>identifier</value>
13567 <value>institution</value>
13568 <value>isbn</value>
13569 <value>issn</value>
13570 <value>journal</value>
13571 <value>month</value>
13572 <value>note</value>
13573 <value>number</value>
13574 <value>organizations</value>
13575 <value>pages</value>
13576 <value>publisher</value>
13577 <value>report-type</value>
13578 <value>school</value>
13579 <value>series</value>
13580 <value>title</value>
13581 <value>url</value>
13582 <value>volume</value>
13583 <value>year</value>
13584 </choice>
13585 </attribute>
13586 <optional>
13587 <attribute name="text:sort-ascending">
13588 <ref name="boolean"/>
13589 </attribute>
13590 </optional>
13591 </define>
13592 <define name="text-list-style">
13593 <element name="text:list-style">
13594 <ref name="text-list-style-attr"/>
13595 <zeroOrMore>
13596 <ref name="text-list-style-content"/>
13597 </zeroOrMore>
13598 </element>
13599 </define>
13600 <define name="text-list-style-attr">
13601 <interleave>
13602 <attribute name="style:name">
13603 <ref name="styleName"/>
13604 </attribute>
13605 <optional>
13606 <attribute name="style:display-name">
13607 <ref name="string"/>
13608 </attribute>
13609 </optional>
13610 <optional>
13611 <attribute name="text:consecutive-numbering">
13612 <ref name="boolean"/>
13613 </attribute>
13614 </optional>
13615 </interleave>
13616 </define>
13617 <define name="text-list-style-content">
13618 <choice>
13619 <element name="text:list-level-style-number">
13620 <ref name="text-list-level-style-attr"/>
13621 <ref name="text-list-level-style-number-attr"/>
13622 <optional>
13623 <ref name="style-list-level-properties"/>
13624 </optional>
13625 <optional>
13626 <ref name="style-text-properties"/>
13627 </optional>
13628 </element>
13629 <element name="text:list-level-style-bullet">
13630 <ref name="text-list-level-style-attr"/>
13631 <ref name="text-list-level-style-bullet-attr"/>
13632 <optional>
13633 <ref name="style-list-level-properties"/>
13634 </optional>
13635 <optional>
13636 <ref name="style-text-properties"/>
13637 </optional>
13638 </element>
13639 <element name="text:list-level-style-image">
13640 <ref name="text-list-level-style-attr"/>
13641 <ref name="text-list-level-style-image-attr"/>
13642 <optional>
13643 <ref name="style-list-level-properties"/>
13644 </optional>
13645 </element>
13646 </choice>
13647 </define>
13648 <define name="text-list-level-style-number-attr">
13649 <interleave>
13650 <optional>
13651 <attribute name="text:style-name">
13652 <ref name="styleNameRef"/>
13653 </attribute>
13654 </optional>
13655 <ref name="common-num-format-attlist"/>
13656 <ref name="common-num-format-prefix-suffix-attlist"/>
13657 <optional>
13658 <attribute name="text:display-levels">
13659 <ref name="positiveInteger"/>
13660 </attribute>
13661 </optional>
13662 <optional>
13663 <attribute name="text:start-value">
13664 <ref name="positiveInteger"/>
13665 </attribute>
13666 </optional>
13667 </interleave>
13668 </define>
13669 <define name="text-list-level-style-bullet-attr">
13670 <interleave>
13671 <optional>
13672 <attribute name="text:style-name">
13673 <ref name="styleNameRef"/>
13674 </attribute>
13675 </optional>
13676 <attribute name="text:bullet-char">
13677 <ref name="character"/>
13678 </attribute>
13679 <ref name="common-num-format-prefix-suffix-attlist"/>
13680 <optional>
13681 <attribute name="text:bullet-relative-size">
13682 <ref name="percent"/>
13683 </attribute>
13684 </optional>
13685 </interleave>
13686 </define>
13687 <define name="text-list-level-style-image-attr">
13688 <choice>
13689 <ref name="common-draw-data-attlist"/>
13690 <ref name="office-binary-data"/>
13691 </choice>
13692 </define>
13693 <define name="text-list-level-style-attr">
13694 <attribute name="text:level">
13695 <ref name="positiveInteger"/>
13696 </attribute>
13697 </define>
13698 <define name="text-outline-style">
13699 <element name="text:outline-style">
13700 <ref name="text-outline-style-attr"/>
13701 <oneOrMore>
13702 <ref name="text-outline-level-style"/>
13703 </oneOrMore>
13704 </element>
13705 </define>
13706 <define name="text-outline-style-attr">
13707 <attribute name="style:name">
13708 <ref name="styleName"/>
13709 </attribute>
13710 </define>
13711 <define name="text-outline-level-style">
13712 <element name="text:outline-level-style">
13713 <ref name="text-outline-level-style-attlist"/>
13714 <optional>
13715 <ref name="style-list-level-properties"/>
13716 </optional>
13717 <optional>
13718 <ref name="style-text-properties"/>
13719 </optional>
13720 </element>
13721 </define>
13722 <define name="text-outline-level-style-attlist">
13723 <interleave>
13724 <attribute name="text:level">
13725 <ref name="positiveInteger"/>
13726 </attribute>
13727 <optional>
13728 <attribute name="text:style-name">
13729 <ref name="styleNameRef"/>
13730 </attribute>
13731 </optional>
13732 <ref name="common-num-format-attlist"/>
13733 <ref name="common-num-format-prefix-suffix-attlist"/>
13734 <optional>
13735 <attribute name="text:display-levels">
13736 <ref name="positiveInteger"/>
13737 </attribute>
13738 </optional>
13739 <optional>
13740 <attribute name="text:start-value">
13741 <ref name="positiveInteger"/>
13742 </attribute>
13743 </optional>
13744 </interleave>
13745 </define>
13746 <define name="style-graphic-properties">
13747 <element name="style:graphic-properties">
13748 <ref name="style-graphic-properties-content-strict"/>
13749 </element>
13750 </define>
13751 <define name="style-graphic-properties-content-strict">
13752 <ref name="style-graphic-properties-attlist"/>
13753 <ref name="style-graphic-fill-properties-attlist"/>
13754 <ref name="style-graphic-properties-elements"/>
13755 </define>
13756 <define name="style-drawing-page-properties">
13757 <element name="style:drawing-page-properties">
13758 <ref name="style-drawing-page-properties-content-strict"/>
13759 </element>
13760 </define>
13761 <define name="style-drawing-page-properties-content-strict">
13762 <ref name="style-graphic-fill-properties-attlist"/>
13763 <ref name="style-drawing-page-properties-attlist"/>
13764 <ref name="style-drawing-page-properties-elements"/>
13765 </define>
13766 <define name="draw-gradient">
13767 <element name="draw:gradient">
13768 <ref name="common-draw-gradient-attlist"/>
13769 <ref name="draw-gradient-attlist"/>
13770 <empty/>
13771 </element>
13772 </define>
13773 <define name="common-draw-gradient-attlist">
13774 <interleave>
13775 <optional>
13776 <attribute name="draw:name">
13777 <ref name="styleName"/>
13778 </attribute>
13779 </optional>
13780 <optional>
13781 <attribute name="draw:display-name">
13782 <ref name="string"/>
13783 </attribute>
13784 </optional>
13785 <attribute name="draw:style">
13786 <ref name="gradient-style"/>
13787 </attribute>
13788 <optional>
13789 <attribute name="draw:cx">
13790 <ref name="percent"/>
13791 </attribute>
13792 </optional>
13793 <optional>
13794 <attribute name="draw:cy">
13795 <ref name="percent"/>
13796 </attribute>
13797 </optional>
13798 <optional>
13799 <attribute name="draw:angle">
13800 <ref name="angle"/>
13801 </attribute>
13802 </optional>
13803 <optional>
13804 <attribute name="draw:border">
13805 <ref name="percent"/>
13806 </attribute>
13807 </optional>
13808 </interleave>
13809 </define>
13810 <define name="gradient-style">
13811 <choice>
13812 <value>linear</value>
13813 <value>axial</value>
13814 <value>radial</value>
13815 <value>ellipsoid</value>
13816 <value>square</value>
13817 <value>rectangular</value>
13818 </choice>
13819 </define>
13820 <define name="draw-gradient-attlist">
13821 <interleave>
13822 <optional>
13823 <attribute name="draw:start-color">
13824 <ref name="color"/>
13825 </attribute>
13826 </optional>
13827 <optional>
13828 <attribute name="draw:end-color">
13829 <ref name="color"/>
13830 </attribute>
13831 </optional>
13832 <optional>
13833 <attribute name="draw:start-intensity">
13834 <ref name="zeroToHundredPercent"/>
13835 </attribute>
13836 </optional>
13837 <optional>
13838 <attribute name="draw:end-intensity">
13839 <ref name="zeroToHundredPercent"/>
13840 </attribute>
13841 </optional>
13842 </interleave>
13843 </define>
13844 <define name="svg-linearGradient">
13845 <element name="svg:linearGradient">
13846 <ref name="common-svg-gradient-attlist"/>
13847 <optional>
13848 <attribute name="svg:x1">
13849 <choice>
13850 <ref name="coordinate"/>
13851 <ref name="percent"/>
13852 </choice>
13853 </attribute>
13854 </optional>
13855 <optional>
13856 <attribute name="svg:y1">
13857 <choice>
13858 <ref name="coordinate"/>
13859 <ref name="percent"/>
13860 </choice>
13861 </attribute>
13862 </optional>
13863 <optional>
13864 <attribute name="svg:x2">
13865 <choice>
13866 <ref name="coordinate"/>
13867 <ref name="percent"/>
13868 </choice>
13869 </attribute>
13870 </optional>
13871 <optional>
13872 <attribute name="svg:y2">
13873 <choice>
13874 <ref name="coordinate"/>
13875 <ref name="percent"/>
13876 </choice>
13877 </attribute>
13878 </optional>
13879 <zeroOrMore>
13880 <ref name="svg-stop"/>
13881 </zeroOrMore>
13882 </element>
13883 </define>
13884 <define name="svg-radialGradient">
13885 <element name="svg:radialGradient">
13886 <ref name="common-svg-gradient-attlist"/>
13887 <optional>
13888 <attribute name="svg:cx">
13889 <choice>
13890 <ref name="coordinate"/>
13891 <ref name="percent"/>
13892 </choice>
13893 </attribute>
13894 </optional>
13895 <optional>
13896 <attribute name="svg:cy">
13897 <choice>
13898 <ref name="coordinate"/>
13899 <ref name="percent"/>
13900 </choice>
13901 </attribute>
13902 </optional>
13903 <optional>
13904 <attribute name="svg:r">
13905 <choice>
13906 <ref name="coordinate"/>
13907 <ref name="percent"/>
13908 </choice>
13909 </attribute>
13910 </optional>
13911 <optional>
13912 <attribute name="svg:fx">
13913 <choice>
13914 <ref name="coordinate"/>
13915 <ref name="percent"/>
13916 </choice>
13917 </attribute>
13918 </optional>
13919 <optional>
13920 <attribute name="svg:fy">
13921 <choice>
13922 <ref name="coordinate"/>
13923 <ref name="percent"/>
13924 </choice>
13925 </attribute>
13926 </optional>
13927 <zeroOrMore>
13928 <ref name="svg-stop"/>
13929 </zeroOrMore>
13930 </element>
13931 </define>
13932 <define name="svg-stop">
13933 <element name="svg:stop">
13934 <attribute name="svg:offset">
13935 <choice>
13936 <ref name="double"/>
13937 <ref name="percent"/>
13938 </choice>
13939 </attribute>
13940 <optional>
13941 <attribute name="svg:stop-color">
13942 <ref name="color"/>
13943 </attribute>
13944 </optional>
13945 <optional>
13946 <attribute name="svg:stop-opacity">
13947 <ref name="double"/>
13948 </attribute>
13949 </optional>
13950 </element>
13951 </define>
13952 <define name="common-svg-gradient-attlist">
13953 <interleave>
13954 <optional>
13955 <attribute name="svg:gradientUnits">
13956 <value>objectBoundingBox</value>
13957 </attribute>
13958 </optional>
13959 <optional>
13960 <attribute name="svg:gradientTransform">
13961 <ref name="string"/>
13962 </attribute>
13963 </optional>
13964 <optional>
13965 <attribute name="svg:spreadMethod">
13966 <choice>
13967 <value>pad</value>
13968 <value>reflect</value>
13969 <value>repeat</value>
13970 </choice>
13971 </attribute>
13972 </optional>
13973 <attribute name="draw:name">
13974 <ref name="styleName"/>
13975 </attribute>
13976 <optional>
13977 <attribute name="draw:display-name">
13978 <ref name="string"/>
13979 </attribute>
13980 </optional>
13981 </interleave>
13982 </define>
13983 <define name="draw-hatch">
13984 <element name="draw:hatch">
13985 <ref name="draw-hatch-attlist"/>
13986 <empty/>
13987 </element>
13988 </define>
13989 <define name="draw-hatch-attlist">
13990 <interleave>
13991 <attribute name="draw:name">
13992 <ref name="styleName"/>
13993 </attribute>
13994 <optional>
13995 <attribute name="draw:display-name">
13996 <ref name="string"/>
13997 </attribute>
13998 </optional>
13999 <attribute name="draw:style">
14000 <choice>
14001 <value>single</value>
14002 <value>double</value>
14003 <value>triple</value>
14004 </choice>
14005 </attribute>
14006 <optional>
14007 <attribute name="draw:color">
14008 <ref name="color"/>
14009 </attribute>
14010 </optional>
14011 <optional>
14012 <attribute name="draw:distance">
14013 <ref name="length"/>
14014 </attribute>
14015 </optional>
14016 <optional>
14017 <attribute name="draw:rotation">
14018 <ref name="angle"/>
14019 </attribute>
14020 </optional>
14021 </interleave>
14022 </define>
14023 <define name="draw-fill-image">
14024 <element name="draw:fill-image">
14025 <ref name="draw-fill-image-attlist"/>
14026 <attribute name="xlink:type">
14027 <value>simple</value>
14028 </attribute>
14029 <attribute name="xlink:href">
14030 <ref name="anyIRI"/>
14031 </attribute>
14032 <optional>
14033 <attribute name="xlink:show">
14034 <value>embed</value>
14035 </attribute>
14036 </optional>
14037 <optional>
14038 <attribute name="xlink:actuate">
14039 <value>onLoad</value>
14040 </attribute>
14041 </optional>
14042 <empty/>
14043 </element>
14044 </define>
14045 <define name="draw-fill-image-attlist">
14046 <interleave>
14047 <attribute name="draw:name">
14048 <ref name="styleName"/>
14049 </attribute>
14050 <optional>
14051 <attribute name="draw:display-name">
14052 <ref name="string"/>
14053 </attribute>
14054 </optional>
14055 <optional>
14056 <attribute name="svg:width">
14057 <ref name="length"/>
14058 </attribute>
14059 </optional>
14060 <optional>
14061 <attribute name="svg:height">
14062 <ref name="length"/>
14063 </attribute>
14064 </optional>
14065 </interleave>
14066 </define>
14067 <define name="draw-opacity">
14068 <element name="draw:opacity">
14069 <ref name="common-draw-gradient-attlist"/>
14070 <ref name="draw-opacity-attlist"/>
14071 <empty/>
14072 </element>
14073 </define>
14074 <define name="draw-opacity-attlist">
14075 <optional>
14076 <attribute name="draw:start">
14077 <ref name="zeroToHundredPercent"/>
14078 </attribute>
14079 </optional>
14080 <optional>
14081 <attribute name="draw:end">
14082 <ref name="zeroToHundredPercent"/>
14083 </attribute>
14084 </optional>
14085 </define>
14086 <define name="draw-marker">
14087 <element name="draw:marker">
14088 <ref name="draw-marker-attlist"/>
14089 <ref name="common-draw-viewbox-attlist"/>
14090 <ref name="common-draw-path-data-attlist"/>
14091 <empty/>
14092 </element>
14093 </define>
14094 <define name="draw-marker-attlist">
14095 <interleave>
14096 <attribute name="draw:name">
14097 <ref name="styleName"/>
14098 </attribute>
14099 <optional>
14100 <attribute name="draw:display-name">
14101 <ref name="string"/>
14102 </attribute>
14103 </optional>
14104 </interleave>
14105 </define>
14106 <define name="draw-stroke-dash">
14107 <element name="draw:stroke-dash">
14108 <ref name="draw-stroke-dash-attlist"/>
14109 <empty/>
14110 </element>
14111 </define>
14112 <define name="draw-stroke-dash-attlist">
14113 <interleave>
14114 <attribute name="draw:name">
14115 <ref name="styleName"/>
14116 </attribute>
14117 <optional>
14118 <attribute name="draw:display-name">
14119 <ref name="string"/>
14120 </attribute>
14121 </optional>
14122 <optional>
14123 <attribute name="draw:style">
14124 <choice>
14125 <value>rect</value>
14126 <value>round</value>
14127 </choice>
14128 </attribute>
14129 </optional>
14130 <optional>
14131 <attribute name="draw:dots1">
14132 <ref name="integer"/>
14133 </attribute>
14134 </optional>
14135 <optional>
14136 <attribute name="draw:dots1-length">
14137 <choice>
14138 <ref name="length"/>
14139 <ref name="percent"/>
14140 </choice>
14141 </attribute>
14142 </optional>
14143 <optional>
14144 <attribute name="draw:dots2">
14145 <ref name="integer"/>
14146 </attribute>
14147 </optional>
14148 <optional>
14149 <attribute name="draw:dots2-length">
14150 <choice>
14151 <ref name="length"/>
14152 <ref name="percent"/>
14153 </choice>
14154 </attribute>
14155 </optional>
14156 <optional>
14157 <attribute name="draw:distance">
14158 <choice>
14159 <ref name="length"/>
14160 <ref name="percent"/>
14161 </choice>
14162 </attribute>
14163 </optional>
14164 </interleave>
14165 </define>
14166 <define name="style-presentation-page-layout">
14167 <element name="style:presentation-page-layout">
14168 <attribute name="style:name">
14169 <ref name="styleName"/>
14170 </attribute>
14171 <optional>
14172 <attribute name="style:display-name">
14173 <ref name="string"/>
14174 </attribute>
14175 </optional>
14176 <zeroOrMore>
14177 <ref name="presentation-placeholder"/>
14178 </zeroOrMore>
14179 </element>
14180 </define>
14181 <define name="presentation-placeholder">
14182 <element name="presentation:placeholder">
14183 <attribute name="presentation:object">
14184 <ref name="presentation-classes"/>
14185 </attribute>
14186 <attribute name="svg:x">
14187 <choice>
14188 <ref name="coordinate"/>
14189 <ref name="percent"/>
14190 </choice>
14191 </attribute>
14192 <attribute name="svg:y">
14193 <choice>
14194 <ref name="coordinate"/>
14195 <ref name="percent"/>
14196 </choice>
14197 </attribute>
14198 <attribute name="svg:width">
14199 <choice>
14200 <ref name="length"/>
14201 <ref name="percent"/>
14202 </choice>
14203 </attribute>
14204 <attribute name="svg:height">
14205 <choice>
14206 <ref name="length"/>
14207 <ref name="percent"/>
14208 </choice>
14209 </attribute>
14210 <empty/>
14211 </element>
14212 </define>
14213 <define name="style-page-layout-properties">
14214 <element name="style:page-layout-properties">
14215 <ref name="style-page-layout-properties-content-strict"/>
14216 </element>
14217 </define>
14218 <define name="style-page-layout-properties-content-strict">
14219 <ref name="style-page-layout-properties-attlist"/>
14220 <ref name="style-page-layout-properties-elements"/>
14221 </define>
14222 <define name="style-page-layout-properties-attlist">
14223 <interleave>
14224 <optional>
14225 <attribute name="fo:page-width">
14226 <ref name="length"/>
14227 </attribute>
14228 </optional>
14229 <optional>
14230 <attribute name="fo:page-height">
14231 <ref name="length"/>
14232 </attribute>
14233 </optional>
14234 <optional>
14235 <ref name="common-num-format-attlist"/>
14236 </optional>
14237 <ref name="common-num-format-prefix-suffix-attlist"/>
14238 <optional>
14239 <attribute name="style:paper-tray-name">
14240 <choice>
14241 <value>default</value>
14242 <ref name="string"/>
14243 </choice>
14244 </attribute>
14245 </optional>
14246 <optional>
14247 <attribute name="style:print-orientation">
14248 <choice>
14249 <value>portrait</value>
14250 <value>landscape</value>
14251 </choice>
14252 </attribute>
14253 </optional>
14254 <ref name="common-horizontal-margin-attlist"/>
14255 <ref name="common-vertical-margin-attlist"/>
14256 <ref name="common-margin-attlist"/>
14257 <ref name="common-border-attlist"/>
14258 <ref name="common-border-line-width-attlist"/>
14259 <ref name="common-padding-attlist"/>
14260 <ref name="common-shadow-attlist"/>
14261 <ref name="common-background-color-attlist"/>
14262 <optional>
14263 <attribute name="style:register-truth-ref-style-name">
14264 <ref name="styleNameRef"/>
14265 </attribute>
14266 </optional>
14267 <optional>
14268 <attribute name="style:print">
14269 <list>
14270 <zeroOrMore>
14271 <choice>
14272 <value>headers</value>
14273 <value>grid</value>
14274 <value>annotations</value>
14275 <value>objects</value>
14276 <value>charts</value>
14277 <value>drawings</value>
14278 <value>formulas</value>
14279 <value>zero-values</value>
14280 </choice>
14281 </zeroOrMore>
14282 </list>
14283 </attribute>
14284 </optional>
14285 <optional>
14286 <attribute name="style:print-page-order">
14287 <choice>
14288 <value>ttb</value>
14289 <value>ltr</value>
14290 </choice>
14291 </attribute>
14292 </optional>
14293 <optional>
14294 <attribute name="style:first-page-number">
14295 <choice>
14296 <ref name="positiveInteger"/>
14297 <value>continue</value>
14298 </choice>
14299 </attribute>
14300 </optional>
14301 <optional>
14302 <attribute name="style:scale-to">
14303 <ref name="percent"/>
14304 </attribute>
14305 </optional>
14306 <optional>
14307 <attribute name="style:scale-to-pages">
14308 <ref name="positiveInteger"/>
14309 </attribute>
14310 </optional>
14311 <optional>
14312 <attribute name="style:table-centering">
14313 <choice>
14314 <value>horizontal</value>
14315 <value>vertical</value>
14316 <value>both</value>
14317 <value>none</value>
14318 </choice>
14319 </attribute>
14320 </optional>
14321 <optional>
14322 <attribute name="style:footnote-max-height">
14323 <ref name="length"/>
14324 </attribute>
14325 </optional>
14326 <ref name="common-writing-mode-attlist"/>
14327 <optional>
14328 <attribute name="style:layout-grid-mode">
14329 <choice>
14330 <value>none</value>
14331 <value>line</value>
14332 <value>both</value>
14333 </choice>
14334 </attribute>
14335 </optional>
14336 <optional>
14337 <attribute name="style:layout-grid-standard-mode">
14338 <ref name="boolean"/>
14339 </attribute>
14340 </optional>
14341 <optional>
14342 <attribute name="style:layout-grid-base-height">
14343 <ref name="length"/>
14344 </attribute>
14345 </optional>
14346 <optional>
14347 <attribute name="style:layout-grid-ruby-height">
14348 <ref name="length"/>
14349 </attribute>
14350 </optional>
14351 <optional>
14352 <attribute name="style:layout-grid-lines">
14353 <ref name="positiveInteger"/>
14354 </attribute>
14355 </optional>
14356 <optional>
14357 <attribute name="style:layout-grid-base-width">
14358 <ref name="length"/>
14359 </attribute>
14360 </optional>
14361 <optional>
14362 <attribute name="style:layout-grid-color">
14363 <ref name="color"/>
14364 </attribute>
14365 </optional>
14366 <optional>
14367 <attribute name="style:layout-grid-ruby-below">
14368 <ref name="boolean"/>
14369 </attribute>
14370 </optional>
14371 <optional>
14372 <attribute name="style:layout-grid-print">
14373 <ref name="boolean"/>
14374 </attribute>
14375 </optional>
14376 <optional>
14377 <attribute name="style:layout-grid-display">
14378 <ref name="boolean"/>
14379 </attribute>
14380 </optional>
14381 <optional>
14382 <attribute name="style:layout-grid-snap-to">
14383 <ref name="boolean"/>
14384 </attribute>
14385 </optional>
14386 </interleave>
14387 </define>
14388 <define name="style-page-layout-properties-elements">
14389 <interleave>
14390 <ref name="style-background-image"/>
14391 <ref name="style-columns"/>
14392 <ref name="style-footnote-sep"/>
14393 </interleave>
14394 </define>
14395 <define name="style-footnote-sep">
14396 <optional>
14397 <element name="style:footnote-sep">
14398 <ref name="style-footnote-sep-attlist"/>
14399 <empty/>
14400 </element>
14401 </optional>
14402 </define>
14403 <define name="style-footnote-sep-attlist">
14404 <optional>
14405 <attribute name="style:width">
14406 <ref name="length"/>
14407 </attribute>
14408 </optional>
14409 <optional>
14410 <attribute name="style:rel-width">
14411 <ref name="percent"/>
14412 </attribute>
14413 </optional>
14414 <optional>
14415 <attribute name="style:color">
14416 <ref name="color"/>
14417 </attribute>
14418 </optional>
14419 <optional>
14420 <attribute name="style:line-style">
14421 <ref name="lineStyle"/>
14422 </attribute>
14423 </optional>
14424 <optional>
14425 <attribute name="style:adjustment">
14426 <choice>
14427 <value>left</value>
14428 <value>center</value>
14429 <value>right</value>
14430 </choice>
14431 </attribute>
14432 </optional>
14433 <optional>
14434 <attribute name="style:distance-before-sep">
14435 <ref name="length"/>
14436 </attribute>
14437 </optional>
14438 <optional>
14439 <attribute name="style:distance-after-sep">
14440 <ref name="length"/>
14441 </attribute>
14442 </optional>
14443 </define>
14444 <define name="style-header-footer-properties">
14445 <element name="style:header-footer-properties">
14446 <ref name="style-header-footer-properties-content-strict"/>
14447 </element>
14448 </define>
14449 <define name="style-header-footer-properties-content-strict">
14450 <ref name="style-header-footer-properties-attlist"/>
14451 <ref name="style-header-footer-properties-elements"/>
14452 </define>
14453 <define name="style-header-footer-properties-attlist">
14454 <interleave>
14455 <optional>
14456 <attribute name="svg:height">
14457 <ref name="length"/>
14458 </attribute>
14459 </optional>
14460 <optional>
14461 <attribute name="fo:min-height">
14462 <ref name="length"/>
14463 </attribute>
14464 </optional>
14465 <ref name="common-horizontal-margin-attlist"/>
14466 <ref name="common-vertical-margin-attlist"/>
14467 <ref name="common-margin-attlist"/>
14468 <ref name="common-border-attlist"/>
14469 <ref name="common-border-line-width-attlist"/>
14470 <ref name="common-padding-attlist"/>
14471 <ref name="common-background-color-attlist"/>
14472 <ref name="common-shadow-attlist"/>
14473 <optional>
14474 <attribute name="style:dynamic-spacing">
14475 <ref name="boolean"/>
14476 </attribute>
14477 </optional>
14478 </interleave>
14479 </define>
14480 <define name="style-header-footer-properties-elements">
14481 <ref name="style-background-image"/>
14482 </define>
14483 <define name="style-text-properties">
14484 <element name="style:text-properties">
14485 <ref name="style-text-properties-content-strict"/>
14486 </element>
14487 </define>
14488 <define name="style-text-properties-content-strict">
14489 <ref name="style-text-properties-attlist"/>
14490 <ref name="style-text-properties-elements"/>
14491 </define>
14492 <define name="style-text-properties-elements">
14493 <empty/>
14494 </define>
14495 <define name="style-text-properties-attlist">
14496 <interleave>
14497 <optional>
14498 <attribute name="fo:font-variant">
14499 <ref name="fontVariant"/>
14500 </attribute>
14501 </optional>
14502 <optional>
14503 <attribute name="fo:text-transform">
14504 <choice>
14505 <value>none</value>
14506 <value>lowercase</value>
14507 <value>uppercase</value>
14508 <value>capitalize</value>
14509 </choice>
14510 </attribute>
14511 </optional>
14512 <optional>
14513 <attribute name="fo:color">
14514 <ref name="color"/>
14515 </attribute>
14516 </optional>
14517 <optional>
14518 <attribute name="style:use-window-font-color">
14519 <ref name="boolean"/>
14520 </attribute>
14521 </optional>
14522 <optional>
14523 <attribute name="style:text-outline">
14524 <ref name="boolean"/>
14525 </attribute>
14526 </optional>
14527 <optional>
14528 <attribute name="style:text-line-through-type">
14529 <ref name="lineType"/>
14530 </attribute>
14531 </optional>
14532 <optional>
14533 <attribute name="style:text-line-through-style">
14534 <ref name="lineStyle"/>
14535 </attribute>
14536 </optional>
14537 <optional>
14538 <attribute name="style:text-line-through-width">
14539 <ref name="lineWidth"/>
14540 </attribute>
14541 </optional>
14542 <optional>
14543 <attribute name="style:text-line-through-color">
14544 <choice>
14545 <value>font-color</value>
14546 <ref name="color"/>
14547 </choice>
14548 </attribute>
14549 </optional>
14550 <optional>
14551 <attribute name="style:text-line-through-text">
14552 <ref name="string"/>
14553 </attribute>
14554 </optional>
14555 <optional>
14556 <attribute name="style:text-line-through-text-style">
14557 <ref name="styleNameRef"/>
14558 </attribute>
14559 </optional>
14560 <optional>
14561 <attribute name="style:text-position">
14562 <list>
14563 <choice>
14564 <ref name="percent"/>
14565 <value>super</value>
14566 <value>sub</value>
14567 </choice>
14568 <optional>
14569 <ref name="percent"/>
14570 </optional>
14571 </list>
14572 </attribute>
14573 </optional>
14574 <optional>
14575 <attribute name="style:font-name">
14576 <ref name="string"/>
14577 </attribute>
14578 </optional>
14579 <optional>
14580 <attribute name="style:font-name-asian">
14581 <ref name="string"/>
14582 </attribute>
14583 </optional>
14584 <optional>
14585 <attribute name="style:font-name-complex">
14586 <ref name="string"/>
14587 </attribute>
14588 </optional>
14589 <optional>
14590 <attribute name="fo:font-family">
14591 <ref name="string"/>
14592 </attribute>
14593 </optional>
14594 <optional>
14595 <attribute name="style:font-family-asian">
14596 <ref name="string"/>
14597 </attribute>
14598 </optional>
14599 <optional>
14600 <attribute name="style:font-family-complex">
14601 <ref name="string"/>
14602 </attribute>
14603 </optional>
14604 <optional>
14605 <attribute name="style:font-family-generic">
14606 <ref name="fontFamilyGeneric"/>
14607 </attribute>
14608 </optional>
14609 <optional>
14610 <attribute name="style:font-family-generic-asian">
14611 <ref name="fontFamilyGeneric"/>
14612 </attribute>
14613 </optional>
14614 <optional>
14615 <attribute name="style:font-family-generic-complex">
14616 <ref name="fontFamilyGeneric"/>
14617 </attribute>
14618 </optional>
14619 <optional>
14620 <attribute name="style:font-style-name">
14621 <ref name="string"/>
14622 </attribute>
14623 </optional>
14624 <optional>
14625 <attribute name="style:font-style-name-asian">
14626 <ref name="string"/>
14627 </attribute>
14628 </optional>
14629 <optional>
14630 <attribute name="style:font-style-name-complex">
14631 <ref name="string"/>
14632 </attribute>
14633 </optional>
14634 <optional>
14635 <attribute name="style:font-pitch">
14636 <ref name="fontPitch"/>
14637 </attribute>
14638 </optional>
14639 <optional>
14640 <attribute name="style:font-pitch-asian">
14641 <ref name="fontPitch"/>
14642 </attribute>
14643 </optional>
14644 <optional>
14645 <attribute name="style:font-pitch-complex">
14646 <ref name="fontPitch"/>
14647 </attribute>
14648 </optional>
14649 <optional>
14650 <attribute name="style:font-charset">
14651 <ref name="textEncoding"/>
14652 </attribute>
14653 </optional>
14654 <optional>
14655 <attribute name="style:font-charset-asian">
14656 <ref name="textEncoding"/>
14657 </attribute>
14658 </optional>
14659 <optional>
14660 <attribute name="style:font-charset-complex">
14661 <ref name="textEncoding"/>
14662 </attribute>
14663 </optional>
14664 <optional>
14665 <attribute name="fo:font-size">
14666 <choice>
14667 <ref name="positiveLength"/>
14668 <ref name="percent"/>
14669 </choice>
14670 </attribute>
14671 </optional>
14672 <optional>
14673 <attribute name="style:font-size-asian">
14674 <choice>
14675 <ref name="positiveLength"/>
14676 <ref name="percent"/>
14677 </choice>
14678 </attribute>
14679 </optional>
14680 <optional>
14681 <attribute name="style:font-size-complex">
14682 <choice>
14683 <ref name="positiveLength"/>
14684 <ref name="percent"/>
14685 </choice>
14686 </attribute>
14687 </optional>
14688 <optional>
14689 <attribute name="style:font-size-rel">
14690 <ref name="length"/>
14691 </attribute>
14692 </optional>
14693 <optional>
14694 <attribute name="style:font-size-rel-asian">
14695 <ref name="length"/>
14696 </attribute>
14697 </optional>
14698 <optional>
14699 <attribute name="style:font-size-rel-complex">
14700 <ref name="length"/>
14701 </attribute>
14702 </optional>
14703 <optional>
14704 <attribute name="style:script-type">
14705 <choice>
14706 <value>latin</value>
14707 <value>asian</value>
14708 <value>complex</value>
14709 <value>ignore</value>
14710 </choice>
14711 </attribute>
14712 </optional>
14713 <optional>
14714 <attribute name="fo:letter-spacing">
14715 <choice>
14716 <ref name="length"/>
14717 <value>normal</value>
14718 </choice>
14719 </attribute>
14720 </optional>
14721 <optional>
14722 <attribute name="fo:language">
14723 <ref name="languageCode"/>
14724 </attribute>
14725 </optional>
14726 <optional>
14727 <attribute name="style:language-asian">
14728 <ref name="languageCode"/>
14729 </attribute>
14730 </optional>
14731 <optional>
14732 <attribute name="style:language-complex">
14733 <ref name="languageCode"/>
14734 </attribute>
14735 </optional>
14736 <optional>
14737 <attribute name="fo:country">
14738 <ref name="countryCode"/>
14739 </attribute>
14740 </optional>
14741 <optional>
14742 <attribute name="style:country-asian">
14743 <ref name="countryCode"/>
14744 </attribute>
14745 </optional>
14746 <optional>
14747 <attribute name="style:country-complex">
14748 <ref name="countryCode"/>
14749 </attribute>
14750 </optional>
14751 <optional>
14752 <attribute name="fo:script">
14753 <ref name="scriptCode"/>
14754 </attribute>
14755 </optional>
14756 <optional>
14757 <attribute name="style:script-asian">
14758 <ref name="scriptCode"/>
14759 </attribute>
14760 </optional>
14761 <optional>
14762 <attribute name="style:script-complex">
14763 <ref name="scriptCode"/>
14764 </attribute>
14765 </optional>
14766 <optional>
14767 <attribute name="style:rfc-language-tag">
14768 <ref name="language"/>
14769 </attribute>
14770 </optional>
14771 <optional>
14772 <attribute name="style:rfc-language-tag-asian">
14773 <ref name="language"/>
14774 </attribute>
14775 </optional>
14776 <optional>
14777 <attribute name="style:rfc-language-tag-complex">
14778 <ref name="language"/>
14779 </attribute>
14780 </optional>
14781 <optional>
14782 <attribute name="fo:font-style">
14783 <ref name="fontStyle"/>
14784 </attribute>
14785 </optional>
14786 <optional>
14787 <attribute name="style:font-style-asian">
14788 <ref name="fontStyle"/>
14789 </attribute>
14790 </optional>
14791 <optional>
14792 <attribute name="style:font-style-complex">
14793 <ref name="fontStyle"/>
14794 </attribute>
14795 </optional>
14796 <optional>
14797 <attribute name="style:font-relief">
14798 <choice>
14799 <value>none</value>
14800 <value>embossed</value>
14801 <value>engraved</value>
14802 </choice>
14803 </attribute>
14804 </optional>
14805 <optional>
14806 <attribute name="fo:text-shadow">
14807 <ref name="shadowType"/>
14808 </attribute>
14809 </optional>
14810 <optional>
14811 <attribute name="style:text-underline-type">
14812 <ref name="lineType"/>
14813 </attribute>
14814 </optional>
14815 <optional>
14816 <attribute name="style:text-underline-style">
14817 <ref name="lineStyle"/>
14818 </attribute>
14819 </optional>
14820 <optional>
14821 <attribute name="style:text-underline-width">
14822 <ref name="lineWidth"/>
14823 </attribute>
14824 </optional>
14825 <optional>
14826 <attribute name="style:text-underline-color">
14827 <choice>
14828 <value>font-color</value>
14829 <ref name="color"/>
14830 </choice>
14831 </attribute>
14832 </optional>
14833 <optional>
14834 <attribute name="style:text-overline-type">
14835 <ref name="lineType"/>
14836 </attribute>
14837 </optional>
14838 <optional>
14839 <attribute name="style:text-overline-style">
14840 <ref name="lineStyle"/>
14841 </attribute>
14842 </optional>
14843 <optional>
14844 <attribute name="style:text-overline-width">
14845 <ref name="lineWidth"/>
14846 </attribute>
14847 </optional>
14848 <optional>
14849 <attribute name="style:text-overline-color">
14850 <choice>
14851 <value>font-color</value>
14852 <ref name="color"/>
14853 </choice>
14854 </attribute>
14855 </optional>
14856 <optional>
14857 <attribute name="style:text-overline-mode">
14858 <ref name="lineMode"/>
14859 </attribute>
14860 </optional>
14861 <optional>
14862 <attribute name="fo:font-weight">
14863 <ref name="fontWeight"/>
14864 </attribute>
14865 </optional>
14866 <optional>
14867 <attribute name="style:font-weight-asian">
14868 <ref name="fontWeight"/>
14869 </attribute>
14870 </optional>
14871 <optional>
14872 <attribute name="style:font-weight-complex">
14873 <ref name="fontWeight"/>
14874 </attribute>
14875 </optional>
14876 <optional>
14877 <attribute name="style:text-underline-mode">
14878 <ref name="lineMode"/>
14879 </attribute>
14880 </optional>
14881 <optional>
14882 <attribute name="style:text-line-through-mode">
14883 <ref name="lineMode"/>
14884 </attribute>
14885 </optional>
14886 <optional>
14887 <attribute name="style:letter-kerning">
14888 <ref name="boolean"/>
14889 </attribute>
14890 </optional>
14891 <optional>
14892 <attribute name="style:text-blinking">
14893 <ref name="boolean"/>
14894 </attribute>
14895 </optional>
14896 <ref name="common-background-color-attlist"/>
14897 <optional>
14898 <attribute name="style:text-combine">
14899 <choice>
14900 <value>none</value>
14901 <value>letters</value>
14902 <value>lines</value>
14903 </choice>
14904 </attribute>
14905 </optional>
14906 <optional>
14907 <attribute name="style:text-combine-start-char">
14908 <ref name="character"/>
14909 </attribute>
14910 </optional>
14911 <optional>
14912 <attribute name="style:text-combine-end-char">
14913 <ref name="character"/>
14914 </attribute>
14915 </optional>
14916 <optional>
14917 <attribute name="style:text-emphasize">
14918 <choice>
14919 <value>none</value>
14920 <list>
14921 <choice>
14922 <value>none</value>
14923 <value>accent</value>
14924 <value>dot</value>
14925 <value>circle</value>
14926 <value>disc</value>
14927 </choice>
14928 <choice>
14929 <value>above</value>
14930 <value>below</value>
14931 </choice>
14932 </list>
14933 </choice>
14934 </attribute>
14935 </optional>
14936 <optional>
14937 <attribute name="style:text-scale">
14938 <ref name="percent"/>
14939 </attribute>
14940 </optional>
14941 <optional>
14942 <attribute name="style:text-rotation-angle">
14943 <ref name="angle"/>
14944 </attribute>
14945 </optional>
14946 <optional>
14947 <attribute name="style:text-rotation-scale">
14948 <choice>
14949 <value>fixed</value>
14950 <value>line-height</value>
14951 </choice>
14952 </attribute>
14953 </optional>
14954 <optional>
14955 <attribute name="fo:hyphenate">
14956 <ref name="boolean"/>
14957 </attribute>
14958 </optional>
14959 <optional>
14960 <attribute name="fo:hyphenation-remain-char-count">
14961 <ref name="positiveInteger"/>
14962 </attribute>
14963 </optional>
14964 <optional>
14965 <attribute name="fo:hyphenation-push-char-count">
14966 <ref name="positiveInteger"/>
14967 </attribute>
14968 </optional>
14969 <choice>
14970 <attribute name="text:display">
14971 <value>true</value>
14972 </attribute>
14973 <attribute name="text:display">
14974 <value>none</value>
14975 </attribute>
14976 <group>
14977 <attribute name="text:display">
14978 <value>condition</value>
14979 </attribute>
14980 <attribute name="text:condition">
14981 <value>none</value>
14982 </attribute>
14983 </group>
14984 <empty/>
14985 </choice>
14986 </interleave>
14987 </define>
14988 <define name="fontVariant">
14989 <choice>
14990 <value>normal</value>
14991 <value>small-caps</value>
14992 </choice>
14993 </define>
14994 <define name="fontFamilyGeneric">
14995 <choice>
14996 <value>roman</value>
14997 <value>swiss</value>
14998 <value>modern</value>
14999 <value>decorative</value>
15000 <value>script</value>
15001 <value>system</value>
15002 </choice>
15003 </define>
15004 <define name="fontPitch">
15005 <choice>
15006 <value>fixed</value>
15007 <value>variable</value>
15008 </choice>
15009 </define>
15010 <define name="textEncoding">
15011 <data type="string">
15012 <param name="pattern">[A-Za-z][A-Za-z0-9._\-]*</param>
15013 </data>
15014 </define>
15015 <define name="fontStyle">
15016 <choice>
15017 <value>normal</value>
15018 <value>italic</value>
15019 <value>oblique</value>
15020 </choice>
15021 </define>
15022 <define name="shadowType">
15023 <choice>
15024 <value>none</value>
15025 <ref name="string"/>
15026 </choice>
15027 </define>
15028 <define name="lineType">
15029 <choice>
15030 <value>none</value>
15031 <value>single</value>
15032 <value>double</value>
15033 </choice>
15034 </define>
15035 <define name="lineStyle">
15036 <choice>
15037 <value>none</value>
15038 <value>solid</value>
15039 <value>dotted</value>
15040 <value>dash</value>
15041 <value>long-dash</value>
15042 <value>dot-dash</value>
15043 <value>dot-dot-dash</value>
15044 <value>wave</value>
15045 </choice>
15046 </define>
15047 <define name="lineWidth">
15048 <choice>
15049 <value>auto</value>
15050 <value>normal</value>
15051 <value>bold</value>
15052 <value>thin</value>
15053 <value>medium</value>
15054 <value>thick</value>
15055 <ref name="positiveInteger"/>
15056 <ref name="percent"/>
15057 <ref name="positiveLength"/>
15058 </choice>
15059 </define>
15060 <define name="fontWeight">
15061 <choice>
15062 <value>normal</value>
15063 <value>bold</value>
15064 <value>100</value>
15065 <value>200</value>
15066 <value>300</value>
15067 <value>400</value>
15068 <value>500</value>
15069 <value>600</value>
15070 <value>700</value>
15071 <value>800</value>
15072 <value>900</value>
15073 </choice>
15074 </define>
15075 <define name="lineMode">
15076 <choice>
15077 <value>continuous</value>
15078 <value>skip-white-space</value>
15079 </choice>
15080 </define>
15081 <define name="style-paragraph-properties">
15082 <element name="style:paragraph-properties">
15083 <ref name="style-paragraph-properties-content-strict"/>
15084 </element>
15085 </define>
15086 <define name="style-paragraph-properties-content-strict">
15087 <ref name="style-paragraph-properties-attlist"/>
15088 <ref name="style-paragraph-properties-elements"/>
15089 </define>
15090 <define name="style-paragraph-properties-attlist">
15091 <interleave>
15092 <optional>
15093 <attribute name="fo:line-height">
15094 <choice>
15095 <value>normal</value>
15096 <ref name="nonNegativeLength"/>
15097 <ref name="percent"/>
15098 </choice>
15099 </attribute>
15100 </optional>
15101 <optional>
15102 <attribute name="style:line-height-at-least">
15103 <ref name="nonNegativeLength"/>
15104 </attribute>
15105 </optional>
15106 <optional>
15107 <attribute name="style:line-spacing">
15108 <ref name="length"/>
15109 </attribute>
15110 </optional>
15111 <optional>
15112 <attribute name="style:font-independent-line-spacing">
15113 <ref name="boolean"/>
15114 </attribute>
15115 </optional>
15116 <ref name="common-text-align"/>
15117 <optional>
15118 <attribute name="fo:text-align-last">
15119 <choice>
15120 <value>start</value>
15121 <value>center</value>
15122 <value>justify</value>
15123 </choice>
15124 </attribute>
15125 </optional>
15126 <optional>
15127 <attribute name="style:justify-single-word">
15128 <ref name="boolean"/>
15129 </attribute>
15130 </optional>
15131 <optional>
15132 <attribute name="fo:keep-together">
15133 <choice>
15134 <value>auto</value>
15135 <value>always</value>
15136 </choice>
15137 </attribute>
15138 </optional>
15139 <optional>
15140 <attribute name="fo:widows">
15141 <ref name="nonNegativeInteger"/>
15142 </attribute>
15143 </optional>
15144 <optional>
15145 <attribute name="fo:orphans">
15146 <ref name="nonNegativeInteger"/>
15147 </attribute>
15148 </optional>
15149 <optional>
15150 <attribute name="style:tab-stop-distance">
15151 <ref name="nonNegativeLength"/>
15152 </attribute>
15153 </optional>
15154 <optional>
15155 <attribute name="fo:hyphenation-keep">
15156 <choice>
15157 <value>auto</value>
15158 <value>page</value>
15159 </choice>
15160 </attribute>
15161 </optional>
15162 <optional>
15163 <attribute name="fo:hyphenation-ladder-count">
15164 <choice>
15165 <value>no-limit</value>
15166 <ref name="positiveInteger"/>
15167 </choice>
15168 </attribute>
15169 </optional>
15170 <optional>
15171 <attribute name="style:register-true">
15172 <ref name="boolean"/>
15173 </attribute>
15174 </optional>
15176 <ref name="common-horizontal-margin-attlist"/>
15177 <optional>
15178 <attribute name="fo:text-indent">
15179 <choice>
15180 <ref name="length"/>
15181 <ref name="percent"/>
15182 </choice>
15183 </attribute>
15184 </optional>
15185 <optional>
15186 <attribute name="style:auto-text-indent">
15187 <ref name="boolean"/>
15188 </attribute>
15189 </optional>
15190 <ref name="common-vertical-margin-attlist"/>
15191 <ref name="common-margin-attlist"/>
15192 <ref name="common-break-attlist"/>
15193 <ref name="common-background-color-attlist"/>
15194 <ref name="common-border-attlist"/>
15195 <ref name="common-border-line-width-attlist"/>
15196 <optional>
15197 <attribute name="style:join-border">
15198 <ref name="boolean"/>
15199 </attribute>
15200 </optional>
15201 <ref name="common-padding-attlist"/>
15202 <ref name="common-shadow-attlist"/>
15203 <ref name="common-keep-with-next-attlist"/>
15204 <optional>
15205 <attribute name="text:number-lines">
15206 <ref name="boolean"/>
15207 </attribute>
15208 </optional>
15209 <optional>
15210 <attribute name="text:line-number">
15211 <ref name="nonNegativeInteger"/>
15212 </attribute>
15213 </optional>
15214 <optional>
15215 <attribute name="style:text-autospace">
15216 <choice>
15217 <value>none</value>
15218 <value>ideograph-alpha</value>
15219 </choice>
15220 </attribute>
15221 </optional>
15222 <optional>
15223 <attribute name="style:punctuation-wrap">
15224 <choice>
15225 <value>simple</value>
15226 <value>hanging</value>
15227 </choice>
15228 </attribute>
15229 </optional>
15230 <optional>
15231 <attribute name="style:line-break">
15232 <choice>
15233 <value>normal</value>
15234 <value>strict</value>
15235 </choice>
15236 </attribute>
15237 </optional>
15238 <optional>
15239 <attribute name="style:vertical-align">
15240 <choice>
15241 <value>top</value>
15242 <value>middle</value>
15243 <value>bottom</value>
15244 <value>auto</value>
15245 <value>baseline</value>
15246 </choice>
15247 </attribute>
15248 </optional>
15249 <ref name="common-writing-mode-attlist"/>
15250 <optional>
15251 <attribute name="style:writing-mode-automatic">
15252 <ref name="boolean"/>
15253 </attribute>
15254 </optional>
15255 <optional>
15256 <attribute name="style:snap-to-layout-grid">
15257 <ref name="boolean"/>
15258 </attribute>
15259 </optional>
15260 <ref name="common-page-number-attlist"/>
15261 <ref name="common-background-transparency-attlist"/>
15262 </interleave>
15263 </define>
15264 <define name="common-text-align">
15265 <optional>
15266 <attribute name="fo:text-align">
15267 <choice>
15268 <value>start</value>
15269 <value>end</value>
15270 <value>left</value>
15271 <value>right</value>
15272 <value>center</value>
15273 <value>justify</value>
15274 </choice>
15275 </attribute>
15276 </optional>
15277 </define>
15278 <define name="style-paragraph-properties-elements">
15279 <interleave>
15280 <ref name="style-tab-stops"/>
15281 <ref name="style-drop-cap"/>
15282 <ref name="style-background-image"/>
15283 </interleave>
15284 </define>
15285 <define name="style-tab-stops">
15286 <optional>
15287 <element name="style:tab-stops">
15288 <zeroOrMore>
15289 <ref name="style-tab-stop"/>
15290 </zeroOrMore>
15291 </element>
15292 </optional>
15293 </define>
15294 <define name="style-tab-stop">
15295 <element name="style:tab-stop">
15296 <ref name="style-tab-stop-attlist"/>
15297 <empty/>
15298 </element>
15299 </define>
15300 <define name="style-tab-stop-attlist">
15301 <interleave>
15302 <attribute name="style:position">
15303 <ref name="length"/>
15304 </attribute>
15305 <choice>
15306 <optional>
15307 <attribute name="style:type">
15308 <choice>
15309 <value>left</value>
15310 <value>center</value>
15311 <value>right</value>
15312 </choice>
15313 </attribute>
15314 </optional>
15315 <group>
15316 <attribute name="style:type">
15317 <value>char</value>
15318 </attribute>
15319 <ref name="style-tab-stop-char-attlist"/>
15320 </group>
15321 </choice>
15322 <optional>
15323 <attribute name="style:leader-type">
15324 <ref name="lineType"/>
15325 </attribute>
15326 </optional>
15327 <optional>
15328 <attribute name="style:leader-style">
15329 <ref name="lineStyle"/>
15330 </attribute>
15331 </optional>
15332 <optional>
15333 <attribute name="style:leader-width">
15334 <ref name="lineWidth"/>
15335 </attribute>
15336 </optional>
15337 <optional>
15338 <attribute name="style:leader-color">
15339 <choice>
15340 <value>font-color</value>
15341 <ref name="color"/>
15342 </choice>
15343 </attribute>
15344 </optional>
15345 <optional>
15346 <attribute name="style:leader-text">
15347 <ref name="character"/>
15348 </attribute>
15349 </optional>
15350 <optional>
15351 <attribute name="style:leader-text-style">
15352 <ref name="styleNameRef"/>
15353 </attribute>
15354 </optional>
15355 </interleave>
15356 </define>
15357 <define name="style-tab-stop-char-attlist">
15358 <attribute name="style:char">
15359 <ref name="character"/>
15360 </attribute>
15361 </define>
15362 <define name="style-drop-cap">
15363 <optional>
15364 <element name="style:drop-cap">
15365 <ref name="style-drop-cap-attlist"/>
15366 <empty/>
15367 </element>
15368 </optional>
15369 </define>
15370 <define name="style-drop-cap-attlist">
15371 <interleave>
15372 <optional>
15373 <attribute name="style:length">
15374 <choice>
15375 <value>word</value>
15376 <ref name="positiveInteger"/>
15377 </choice>
15378 </attribute>
15379 </optional>
15380 <optional>
15381 <attribute name="style:lines">
15382 <ref name="positiveInteger"/>
15383 </attribute>
15384 </optional>
15385 <optional>
15386 <attribute name="style:distance">
15387 <ref name="length"/>
15388 </attribute>
15389 </optional>
15390 <optional>
15391 <attribute name="style:style-name">
15392 <ref name="styleNameRef"/>
15393 </attribute>
15394 </optional>
15395 </interleave>
15396 </define>
15397 <define name="common-horizontal-margin-attlist">
15398 <optional>
15399 <attribute name="fo:margin-left">
15400 <choice>
15401 <ref name="length"/>
15402 <ref name="percent"/>
15403 </choice>
15404 </attribute>
15405 </optional>
15406 <optional>
15407 <attribute name="fo:margin-right">
15408 <choice>
15409 <ref name="length"/>
15410 <ref name="percent"/>
15411 </choice>
15412 </attribute>
15413 </optional>
15414 </define>
15415 <define name="common-vertical-margin-attlist">
15416 <optional>
15417 <attribute name="fo:margin-top">
15418 <choice>
15419 <ref name="nonNegativeLength"/>
15420 <ref name="percent"/>
15421 </choice>
15422 </attribute>
15423 </optional>
15424 <optional>
15425 <attribute name="fo:margin-bottom">
15426 <choice>
15427 <ref name="nonNegativeLength"/>
15428 <ref name="percent"/>
15429 </choice>
15430 </attribute>
15431 </optional>
15432 </define>
15433 <define name="common-margin-attlist">
15434 <optional>
15435 <attribute name="fo:margin">
15436 <choice>
15437 <ref name="nonNegativeLength"/>
15438 <ref name="percent"/>
15439 </choice>
15440 </attribute>
15441 </optional>
15442 </define>
15443 <define name="common-break-attlist">
15444 <optional>
15445 <attribute name="fo:break-before">
15446 <choice>
15447 <value>auto</value>
15448 <value>column</value>
15449 <value>page</value>
15450 </choice>
15451 </attribute>
15452 </optional>
15453 <optional>
15454 <attribute name="fo:break-after">
15455 <choice>
15456 <value>auto</value>
15457 <value>column</value>
15458 <value>page</value>
15459 </choice>
15460 </attribute>
15461 </optional>
15462 </define>
15463 <define name="common-background-color-attlist">
15464 <optional>
15465 <attribute name="fo:background-color">
15466 <choice>
15467 <value>transparent</value>
15468 <ref name="color"/>
15469 </choice>
15470 </attribute>
15471 </optional>
15472 </define>
15473 <define name="style-background-image">
15474 <optional>
15475 <element name="style:background-image">
15476 <ref name="style-background-image-attlist"/>
15477 <choice>
15478 <ref name="common-draw-data-attlist"/>
15479 <ref name="office-binary-data"/>
15480 <empty/>
15481 </choice>
15482 </element>
15483 </optional>
15484 </define>
15485 <define name="style-background-image-attlist">
15486 <interleave>
15487 <optional>
15488 <attribute name="style:repeat">
15489 <choice>
15490 <value>no-repeat</value>
15491 <value>repeat</value>
15492 <value>stretch</value>
15493 </choice>
15494 </attribute>
15495 </optional>
15496 <optional>
15497 <attribute name="style:position">
15498 <choice>
15499 <value>left</value>
15500 <value>center</value>
15501 <value>right</value>
15502 <value>top</value>
15503 <value>bottom</value>
15504 <list>
15505 <ref name="horiBackPos"/>
15506 <ref name="vertBackPos"/>
15507 </list>
15508 <list>
15509 <ref name="vertBackPos"/>
15510 <ref name="horiBackPos"/>
15511 </list>
15512 </choice>
15513 </attribute>
15514 </optional>
15515 <optional>
15516 <attribute name="style:filter-name">
15517 <ref name="string"/>
15518 </attribute>
15519 </optional>
15520 <optional>
15521 <attribute name="draw:opacity">
15522 <ref name="zeroToHundredPercent"/>
15523 </attribute>
15524 </optional>
15525 </interleave>
15526 </define>
15527 <define name="horiBackPos">
15528 <choice>
15529 <value>left</value>
15530 <value>center</value>
15531 <value>right</value>
15532 </choice>
15533 </define>
15534 <define name="vertBackPos">
15535 <choice>
15536 <value>top</value>
15537 <value>center</value>
15538 <value>bottom</value>
15539 </choice>
15540 </define>
15541 <define name="common-border-attlist">
15542 <optional>
15543 <attribute name="fo:border">
15544 <ref name="string"/>
15545 </attribute>
15546 </optional>
15547 <optional>
15548 <attribute name="fo:border-top">
15549 <ref name="string"/>
15550 </attribute>
15551 </optional>
15552 <optional>
15553 <attribute name="fo:border-bottom">
15554 <ref name="string"/>
15555 </attribute>
15556 </optional>
15557 <optional>
15558 <attribute name="fo:border-left">
15559 <ref name="string"/>
15560 </attribute>
15561 </optional>
15562 <optional>
15563 <attribute name="fo:border-right">
15564 <ref name="string"/>
15565 </attribute>
15566 </optional>
15567 </define>
15568 <define name="common-border-line-width-attlist">
15569 <optional>
15570 <attribute name="style:border-line-width">
15571 <ref name="borderWidths"/>
15572 </attribute>
15573 </optional>
15574 <optional>
15575 <attribute name="style:border-line-width-top">
15576 <ref name="borderWidths"/>
15577 </attribute>
15578 </optional>
15579 <optional>
15580 <attribute name="style:border-line-width-bottom">
15581 <ref name="borderWidths"/>
15582 </attribute>
15583 </optional>
15584 <optional>
15585 <attribute name="style:border-line-width-left">
15586 <ref name="borderWidths"/>
15587 </attribute>
15588 </optional>
15589 <optional>
15590 <attribute name="style:border-line-width-right">
15591 <ref name="borderWidths"/>
15592 </attribute>
15593 </optional>
15594 </define>
15595 <define name="borderWidths">
15596 <list>
15597 <ref name="positiveLength"/>
15598 <ref name="positiveLength"/>
15599 <ref name="positiveLength"/>
15600 </list>
15601 </define>
15602 <define name="common-padding-attlist">
15603 <optional>
15604 <attribute name="fo:padding">
15605 <ref name="nonNegativeLength"/>
15606 </attribute>
15607 </optional>
15608 <optional>
15609 <attribute name="fo:padding-top">
15610 <ref name="nonNegativeLength"/>
15611 </attribute>
15612 </optional>
15613 <optional>
15614 <attribute name="fo:padding-bottom">
15615 <ref name="nonNegativeLength"/>
15616 </attribute>
15617 </optional>
15618 <optional>
15619 <attribute name="fo:padding-left">
15620 <ref name="nonNegativeLength"/>
15621 </attribute>
15622 </optional>
15623 <optional>
15624 <attribute name="fo:padding-right">
15625 <ref name="nonNegativeLength"/>
15626 </attribute>
15627 </optional>
15628 </define>
15629 <define name="common-shadow-attlist">
15630 <optional>
15631 <attribute name="style:shadow">
15632 <ref name="shadowType"/>
15633 </attribute>
15634 </optional>
15635 </define>
15636 <define name="common-keep-with-next-attlist">
15637 <optional>
15638 <attribute name="fo:keep-with-next">
15639 <choice>
15640 <value>auto</value>
15641 <value>always</value>
15642 </choice>
15643 </attribute>
15644 </optional>
15645 </define>
15646 <define name="common-writing-mode-attlist">
15647 <optional>
15648 <attribute name="style:writing-mode">
15649 <choice>
15650 <value>lr-tb</value>
15651 <value>rl-tb</value>
15652 <value>tb-rl</value>
15653 <value>tb-lr</value>
15654 <value>lr</value>
15655 <value>rl</value>
15656 <value>tb</value>
15657 <value>page</value>
15658 </choice>
15659 </attribute>
15660 </optional>
15661 </define>
15662 <define name="common-page-number-attlist">
15663 <optional>
15664 <attribute name="style:page-number">
15665 <choice>
15666 <ref name="positiveInteger"/>
15667 <value>auto</value>
15668 </choice>
15669 </attribute>
15670 </optional>
15671 </define>
15672 <define name="common-background-transparency-attlist">
15673 <optional>
15674 <attribute name="style:background-transparency">
15675 <ref name="zeroToHundredPercent"/>
15676 </attribute>
15677 </optional>
15678 </define>
15679 <define name="style-ruby-properties">
15680 <element name="style:ruby-properties">
15681 <ref name="style-ruby-properties-content-strict"/>
15682 </element>
15683 </define>
15684 <define name="style-ruby-properties-content-strict">
15685 <ref name="style-ruby-properties-attlist"/>
15686 <ref name="style-ruby-properties-elements"/>
15687 </define>
15688 <define name="style-ruby-properties-elements">
15689 <empty/>
15690 </define>
15691 <define name="style-ruby-properties-attlist">
15692 <interleave>
15693 <optional>
15694 <attribute name="style:ruby-position">
15695 <choice>
15696 <value>above</value>
15697 <value>below</value>
15698 </choice>
15699 </attribute>
15700 </optional>
15701 <optional>
15702 <attribute name="style:ruby-align">
15703 <choice>
15704 <value>left</value>
15705 <value>center</value>
15706 <value>right</value>
15707 <value>distribute-letter</value>
15708 <value>distribute-space</value>
15709 </choice>
15710 </attribute>
15711 </optional>
15712 </interleave>
15713 </define>
15714 <define name="style-section-properties">
15715 <element name="style:section-properties">
15716 <ref name="style-section-properties-content-strict"/>
15717 </element>
15718 </define>
15719 <define name="style-section-properties-content-strict">
15720 <ref name="style-section-properties-attlist"/>
15721 <ref name="style-section-properties-elements"/>
15722 </define>
15723 <define name="style-section-properties-attlist">
15724 <interleave>
15725 <ref name="common-background-color-attlist"/>
15726 <ref name="common-horizontal-margin-attlist"/>
15727 <optional>
15728 <attribute name="style:protect">
15729 <ref name="boolean"/>
15730 </attribute>
15731 </optional>
15732 <ref name="common-editable-attlist"/>
15733 <optional>
15734 <attribute name="text:dont-balance-text-columns">
15735 <ref name="boolean"/>
15736 </attribute>
15737 </optional>
15738 <ref name="common-writing-mode-attlist"/>
15739 </interleave>
15740 </define>
15741 <define name="style-section-properties-elements">
15742 <interleave>
15743 <ref name="style-background-image"/>
15744 <ref name="style-columns"/>
15745 <zeroOrMore>
15746 <ref name="text-notes-configuration"/>
15747 </zeroOrMore>
15748 </interleave>
15749 </define>
15750 <define name="style-columns">
15751 <optional>
15752 <element name="style:columns">
15753 <ref name="style-columns-attlist"/>
15754 <optional>
15755 <ref name="style-column-sep"/>
15756 </optional>
15757 <zeroOrMore>
15758 <ref name="style-column"/>
15759 </zeroOrMore>
15760 </element>
15761 </optional>
15762 </define>
15763 <define name="style-columns-attlist">
15764 <interleave>
15765 <attribute name="fo:column-count">
15766 <ref name="positiveInteger"/>
15767 </attribute>
15768 <optional>
15769 <attribute name="fo:column-gap">
15770 <ref name="length"/>
15771 </attribute>
15772 </optional>
15773 </interleave>
15774 </define>
15775 <define name="style-column">
15776 <element name="style:column">
15777 <ref name="style-column-attlist"/>
15778 </element>
15779 </define>
15780 <define name="style-column-attlist">
15781 <interleave>
15782 <attribute name="style:rel-width">
15783 <ref name="relativeLength"/>
15784 </attribute>
15785 <optional>
15786 <attribute name="fo:start-indent">
15787 <ref name="length"/>
15788 </attribute>
15789 </optional>
15790 <optional>
15791 <attribute name="fo:end-indent">
15792 <ref name="length"/>
15793 </attribute>
15794 </optional>
15795 <optional>
15796 <attribute name="fo:space-before">
15797 <ref name="length"/>
15798 </attribute>
15799 </optional>
15800 <optional>
15801 <attribute name="fo:space-after">
15802 <ref name="length"/>
15803 </attribute>
15804 </optional>
15805 </interleave>
15806 </define>
15807 <define name="style-column-sep">
15808 <element name="style:column-sep">
15809 <ref name="style-column-sep-attlist"/>
15810 </element>
15811 </define>
15812 <define name="style-column-sep-attlist">
15813 <interleave>
15814 <optional>
15815 <attribute name="style:style">
15816 <choice>
15817 <value>none</value>
15818 <value>solid</value>
15819 <value>dotted</value>
15820 <value>dashed</value>
15821 <value>dot-dashed</value>
15822 </choice>
15823 </attribute>
15824 </optional>
15825 <attribute name="style:width">
15826 <ref name="length"/>
15827 </attribute>
15828 <optional>
15829 <attribute name="style:height">
15830 <ref name="zeroToHundredPercent"/>
15831 </attribute>
15832 </optional>
15833 <optional>
15834 <attribute name="style:vertical-align">
15835 <choice>
15836 <value>top</value>
15837 <value>middle</value>
15838 <value>bottom</value>
15839 </choice>
15840 </attribute>
15841 </optional>
15842 <optional>
15843 <attribute name="style:color">
15844 <ref name="color"/>
15845 </attribute>
15846 </optional>
15847 </interleave>
15848 </define>
15849 <define name="style-table-properties">
15850 <element name="style:table-properties">
15851 <ref name="style-table-properties-content-strict"/>
15852 </element>
15853 </define>
15854 <define name="style-table-properties-content-strict">
15855 <ref name="style-table-properties-attlist"/>
15856 <ref name="style-table-properties-elements"/>
15857 </define>
15858 <define name="style-table-properties-attlist">
15859 <interleave>
15860 <optional>
15861 <attribute name="style:width">
15862 <ref name="positiveLength"/>
15863 </attribute>
15864 </optional>
15865 <optional>
15866 <attribute name="style:rel-width">
15867 <ref name="percent"/>
15868 </attribute>
15869 </optional>
15870 <optional>
15871 <attribute name="table:align">
15872 <choice>
15873 <value>left</value>
15874 <value>center</value>
15875 <value>right</value>
15876 <value>margins</value>
15877 </choice>
15878 </attribute>
15879 </optional>
15880 <ref name="common-horizontal-margin-attlist"/>
15881 <ref name="common-vertical-margin-attlist"/>
15882 <ref name="common-margin-attlist"/>
15883 <ref name="common-page-number-attlist"/>
15884 <ref name="common-break-attlist"/>
15885 <ref name="common-background-color-attlist"/>
15886 <ref name="common-shadow-attlist"/>
15887 <ref name="common-keep-with-next-attlist"/>
15888 <optional>
15889 <attribute name="style:may-break-between-rows">
15890 <ref name="boolean"/>
15891 </attribute>
15892 </optional>
15893 <optional>
15894 <attribute name="table:border-model">
15895 <choice>
15896 <value>collapsing</value>
15897 <value>separating</value>
15898 </choice>
15899 </attribute>
15900 </optional>
15901 <ref name="common-writing-mode-attlist"/>
15902 <optional>
15903 <attribute name="table:display">
15904 <ref name="boolean"/>
15905 </attribute>
15906 </optional>
15907 </interleave>
15908 </define>
15909 <define name="style-table-properties-elements">
15910 <ref name="style-background-image"/>
15911 </define>
15912 <define name="style-table-column-properties">
15913 <element name="style:table-column-properties">
15914 <ref name="style-table-column-properties-content-strict"/>
15915 </element>
15916 </define>
15917 <define name="style-table-column-properties-content-strict">
15918 <ref name="style-table-column-properties-attlist"/>
15919 <ref name="style-table-column-properties-elements"/>
15920 </define>
15921 <define name="style-table-column-properties-elements">
15922 <empty/>
15923 </define>
15924 <define name="style-table-column-properties-attlist">
15925 <interleave>
15926 <optional>
15927 <attribute name="style:column-width">
15928 <ref name="positiveLength"/>
15929 </attribute>
15930 </optional>
15931 <optional>
15932 <attribute name="style:rel-column-width">
15933 <ref name="relativeLength"/>
15934 </attribute>
15935 </optional>
15936 <optional>
15937 <attribute name="style:use-optimal-column-width">
15938 <ref name="boolean"/>
15939 </attribute>
15940 </optional>
15941 <ref name="common-break-attlist"/>
15942 </interleave>
15943 </define>
15944 <define name="style-table-row-properties">
15945 <element name="style:table-row-properties">
15946 <ref name="style-table-row-properties-content-strict"/>
15947 </element>
15948 </define>
15949 <define name="style-table-row-properties-content-strict">
15950 <ref name="style-table-row-properties-attlist"/>
15951 <ref name="style-table-row-properties-elements"/>
15952 </define>
15953 <define name="style-table-row-properties-attlist">
15954 <interleave>
15955 <optional>
15956 <attribute name="style:row-height">
15957 <ref name="positiveLength"/>
15958 </attribute>
15959 </optional>
15960 <optional>
15961 <attribute name="style:min-row-height">
15962 <ref name="nonNegativeLength"/>
15963 </attribute>
15964 </optional>
15965 <optional>
15966 <attribute name="style:use-optimal-row-height">
15967 <ref name="boolean"/>
15968 </attribute>
15969 </optional>
15970 <ref name="common-background-color-attlist"/>
15971 <ref name="common-break-attlist"/>
15972 <optional>
15973 <attribute name="fo:keep-together">
15974 <choice>
15975 <value>auto</value>
15976 <value>always</value>
15977 </choice>
15978 </attribute>
15979 </optional>
15980 </interleave>
15981 </define>
15982 <define name="style-table-row-properties-elements">
15983 <ref name="style-background-image"/>
15984 </define>
15985 <define name="style-table-cell-properties">
15986 <element name="style:table-cell-properties">
15987 <ref name="style-table-cell-properties-content-strict"/>
15988 </element>
15989 </define>
15990 <define name="style-table-cell-properties-content-strict">
15991 <ref name="style-table-cell-properties-attlist"/>
15992 <ref name="style-table-cell-properties-elements"/>
15993 </define>
15994 <define name="style-table-cell-properties-attlist">
15995 <interleave>
15996 <optional>
15997 <attribute name="style:vertical-align">
15998 <choice>
15999 <value>top</value>
16000 <value>middle</value>
16001 <value>bottom</value>
16002 <value>automatic</value>
16003 </choice>
16004 </attribute>
16005 </optional>
16006 <optional>
16007 <attribute name="style:text-align-source">
16008 <choice>
16009 <value>fix</value>
16010 <value>value-type</value>
16011 </choice>
16012 </attribute>
16013 </optional>
16014 <ref name="common-style-direction-attlist"/>
16015 <optional>
16016 <attribute name="style:glyph-orientation-vertical">
16017 <choice>
16018 <value>auto</value>
16019 <value>0</value>
16020 <value>0deg</value>
16021 <value>0rad</value>
16022 <value>0grad</value>
16023 </choice>
16024 </attribute>
16025 </optional>
16026 <ref name="common-writing-mode-attlist"/>
16027 <ref name="common-shadow-attlist"/>
16028 <ref name="common-background-color-attlist"/>
16029 <ref name="common-border-attlist"/>
16030 <optional>
16031 <attribute name="style:diagonal-tl-br">
16032 <ref name="string"/>
16033 </attribute>
16034 </optional>
16035 <optional>
16036 <attribute name="style:diagonal-tl-br-widths">
16037 <ref name="borderWidths"/>
16038 </attribute>
16039 </optional>
16040 <optional>
16041 <attribute name="style:diagonal-bl-tr">
16042 <ref name="string"/>
16043 </attribute>
16044 </optional>
16045 <optional>
16046 <attribute name="style:diagonal-bl-tr-widths">
16047 <ref name="borderWidths"/>
16048 </attribute>
16049 </optional>
16050 <ref name="common-border-line-width-attlist"/>
16051 <ref name="common-padding-attlist"/>
16052 <optional>
16053 <attribute name="fo:wrap-option">
16054 <choice>
16055 <value>no-wrap</value>
16056 <value>wrap</value>
16057 </choice>
16058 </attribute>
16059 </optional>
16060 <ref name="common-rotation-angle-attlist"/>
16061 <optional>
16062 <attribute name="style:rotation-align">
16063 <choice>
16064 <value>none</value>
16065 <value>bottom</value>
16066 <value>top</value>
16067 <value>center</value>
16068 </choice>
16069 </attribute>
16070 </optional>
16071 <optional>
16072 <attribute name="style:cell-protect">
16073 <choice>
16074 <value>none</value>
16075 <value>hidden-and-protected</value>
16076 <list>
16077 <oneOrMore>
16078 <choice>
16079 <value>protected</value>
16080 <value>formula-hidden</value>
16081 </choice>
16082 </oneOrMore>
16083 </list>
16084 </choice>
16085 </attribute>
16086 </optional>
16087 <optional>
16088 <attribute name="style:print-content">
16089 <ref name="boolean"/>
16090 </attribute>
16091 </optional>
16092 <optional>
16093 <attribute name="style:decimal-places">
16094 <ref name="nonNegativeInteger"/>
16095 </attribute>
16096 </optional>
16097 <optional>
16098 <attribute name="style:repeat-content">
16099 <ref name="boolean"/>
16100 </attribute>
16101 </optional>
16102 <optional>
16103 <attribute name="style:shrink-to-fit">
16104 <ref name="boolean"/>
16105 </attribute>
16106 </optional>
16107 </interleave>
16108 </define>
16109 <define name="common-style-direction-attlist">
16110 <optional>
16111 <attribute name="style:direction">
16112 <choice>
16113 <value>ltr</value>
16114 <value>ttb</value>
16115 </choice>
16116 </attribute>
16117 </optional>
16118 </define>
16119 <define name="style-table-cell-properties-elements">
16120 <ref name="style-background-image"/>
16121 </define>
16122 <define name="common-rotation-angle-attlist">
16123 <optional>
16124 <attribute name="style:rotation-angle">
16125 <ref name="angle"/>
16126 </attribute>
16127 </optional>
16128 </define>
16129 <define name="style-list-level-properties">
16130 <element name="style:list-level-properties">
16131 <ref name="style-list-level-properties-content-strict"/>
16132 </element>
16133 </define>
16134 <define name="style-list-level-properties-content-strict">
16135 <ref name="style-list-level-properties-attlist"/>
16136 <ref name="style-list-level-properties-elements"/>
16137 </define>
16138 <define name="style-list-level-properties-attlist">
16139 <interleave>
16140 <ref name="common-text-align"/>
16141 <optional>
16142 <attribute name="text:space-before">
16143 <ref name="length"/>
16144 </attribute>
16145 </optional>
16146 <optional>
16147 <attribute name="text:min-label-width">
16148 <ref name="nonNegativeLength"/>
16149 </attribute>
16150 </optional>
16151 <optional>
16152 <attribute name="text:min-label-distance">
16153 <ref name="nonNegativeLength"/>
16154 </attribute>
16155 </optional>
16156 <optional>
16157 <attribute name="style:font-name">
16158 <ref name="string"/>
16159 </attribute>
16160 </optional>
16161 <optional>
16162 <attribute name="fo:width">
16163 <ref name="positiveLength"/>
16164 </attribute>
16165 </optional>
16166 <optional>
16167 <attribute name="fo:height">
16168 <ref name="positiveLength"/>
16169 </attribute>
16170 </optional>
16171 <ref name="common-vertical-rel-attlist"/>
16172 <ref name="common-vertical-pos-attlist"/>
16173 <optional>
16174 <attribute name="text:list-level-position-and-space-mode">
16175 <choice>
16176 <value>label-width-and-position</value>
16177 <value>label-alignment</value>
16178 </choice>
16179 </attribute>
16180 </optional>
16181 </interleave>
16182 </define>
16183 <define name="style-list-level-properties-elements">
16184 <ref name="style-list-level-label-alignment"/>
16185 </define>
16186 <define name="style-list-level-label-alignment">
16187 <optional>
16188 <element name="style:list-level-label-alignment">
16189 <ref name="style-list-level-label-alignment-attlist"/>
16190 <empty/>
16191 </element>
16192 </optional>
16193 </define>
16194 <define name="style-list-level-label-alignment-attlist">
16195 <interleave>
16196 <attribute name="text:label-followed-by">
16197 <choice>
16198 <value>listtab</value>
16199 <value>space</value>
16200 <value>nothing</value>
16201 </choice>
16202 </attribute>
16203 <optional>
16204 <attribute name="text:list-tab-stop-position">
16205 <ref name="length"/>
16206 </attribute>
16207 </optional>
16208 <optional>
16209 <attribute name="fo:text-indent">
16210 <ref name="length"/>
16211 </attribute>
16212 </optional>
16213 <optional>
16214 <attribute name="fo:margin-left">
16215 <ref name="length"/>
16216 </attribute>
16217 </optional>
16218 </interleave>
16219 </define>
16220 <define name="style-graphic-properties-attlist">
16221 <interleave>
16222 <optional>
16223 <attribute name="draw:stroke">
16224 <choice>
16225 <value>none</value>
16226 <value>dash</value>
16227 <value>solid</value>
16228 </choice>
16229 </attribute>
16230 </optional>
16231 <optional>
16232 <attribute name="draw:stroke-dash">
16233 <ref name="styleNameRef"/>
16234 </attribute>
16235 </optional>
16236 <optional>
16237 <attribute name="draw:stroke-dash-names">
16238 <ref name="styleNameRefs"/>
16239 </attribute>
16240 </optional>
16241 <optional>
16242 <attribute name="svg:stroke-width">
16243 <ref name="length"/>
16244 </attribute>
16245 </optional>
16246 <optional>
16247 <attribute name="svg:stroke-color">
16248 <ref name="color"/>
16249 </attribute>
16250 </optional>
16251 <optional>
16252 <attribute name="draw:marker-start">
16253 <ref name="styleNameRef"/>
16254 </attribute>
16255 </optional>
16256 <optional>
16257 <attribute name="draw:marker-end">
16258 <ref name="styleNameRef"/>
16259 </attribute>
16260 </optional>
16261 <optional>
16262 <attribute name="draw:marker-start-width">
16263 <ref name="length"/>
16264 </attribute>
16265 </optional>
16266 <optional>
16267 <attribute name="draw:marker-end-width">
16268 <ref name="length"/>
16269 </attribute>
16270 </optional>
16271 <optional>
16272 <attribute name="draw:marker-start-center">
16273 <ref name="boolean"/>
16274 </attribute>
16275 </optional>
16276 <optional>
16277 <attribute name="draw:marker-end-center">
16278 <ref name="boolean"/>
16279 </attribute>
16280 </optional>
16281 <optional>
16282 <attribute name="svg:stroke-opacity">
16283 <choice>
16284 <data type="double">
16285 <param name="minInclusive">0</param>
16286 <param name="maxInclusive">1</param>
16287 </data>
16288 <ref name="zeroToHundredPercent"/>
16289 </choice>
16290 </attribute>
16291 </optional>
16292 <optional>
16293 <attribute name="draw:stroke-linejoin">
16294 <choice>
16295 <value>miter</value>
16296 <value>round</value>
16297 <value>bevel</value>
16298 <value>middle</value>
16299 <value>none</value>
16300 </choice>
16301 </attribute>
16302 </optional>
16303 <optional>
16304 <attribute name="svg:stroke-linecap">
16305 <choice>
16306 <value>butt</value>
16307 <value>square</value>
16308 <value>round</value>
16309 </choice>
16310 </attribute>
16311 </optional>
16312 <optional>
16313 <attribute name="draw:symbol-color">
16314 <ref name="color"/>
16315 </attribute>
16316 </optional>
16317 <optional>
16318 <attribute name="text:animation">
16319 <choice>
16320 <value>none</value>
16321 <value>scroll</value>
16322 <value>alternate</value>
16323 <value>slide</value>
16324 </choice>
16325 </attribute>
16326 </optional>
16327 <optional>
16328 <attribute name="text:animation-direction">
16329 <choice>
16330 <value>left</value>
16331 <value>right</value>
16332 <value>up</value>
16333 <value>down</value>
16334 </choice>
16335 </attribute>
16336 </optional>
16337 <optional>
16338 <attribute name="text:animation-start-inside">
16339 <ref name="boolean"/>
16340 </attribute>
16341 </optional>
16342 <optional>
16343 <attribute name="text:animation-stop-inside">
16344 <ref name="boolean"/>
16345 </attribute>
16346 </optional>
16347 <optional>
16348 <attribute name="text:animation-repeat">
16349 <ref name="nonNegativeInteger"/>
16350 </attribute>
16351 </optional>
16352 <optional>
16353 <attribute name="text:animation-delay">
16354 <ref name="duration"/>
16355 </attribute>
16356 </optional>
16357 <optional>
16358 <attribute name="text:animation-steps">
16359 <ref name="length"/>
16360 </attribute>
16361 </optional>
16362 <optional>
16363 <attribute name="draw:auto-grow-width">
16364 <ref name="boolean"/>
16365 </attribute>
16366 </optional>
16367 <optional>
16368 <attribute name="draw:auto-grow-height">
16369 <ref name="boolean"/>
16370 </attribute>
16371 </optional>
16372 <optional>
16373 <attribute name="draw:fit-to-size">
16374 <ref name="boolean"/>
16375 </attribute>
16376 </optional>
16377 <optional>
16378 <attribute name="draw:fit-to-contour">
16379 <ref name="boolean"/>
16380 </attribute>
16381 </optional>
16382 <optional>
16383 <attribute name="draw:textarea-vertical-align">
16384 <choice>
16385 <value>top</value>
16386 <value>middle</value>
16387 <value>bottom</value>
16388 <value>justify</value>
16389 </choice>
16390 </attribute>
16391 </optional>
16392 <optional>
16393 <attribute name="draw:textarea-horizontal-align">
16394 <choice>
16395 <value>left</value>
16396 <value>center</value>
16397 <value>right</value>
16398 <value>justify</value>
16399 </choice>
16400 </attribute>
16401 </optional>
16402 <optional>
16403 <attribute name="fo:wrap-option">
16404 <choice>
16405 <value>no-wrap</value>
16406 <value>wrap</value>
16407 </choice>
16408 </attribute>
16409 </optional>
16410 <optional>
16411 <attribute name="style:shrink-to-fit">
16412 <ref name="boolean"/>
16413 </attribute>
16414 </optional>
16415 <optional>
16416 <attribute name="draw:color-mode">
16417 <choice>
16418 <value>greyscale</value>
16419 <value>mono</value>
16420 <value>watermark</value>
16421 <value>standard</value>
16422 </choice>
16423 </attribute>
16424 </optional>
16425 <optional>
16426 <attribute name="draw:color-inversion">
16427 <ref name="boolean"/>
16428 </attribute>
16429 </optional>
16430 <optional>
16431 <attribute name="draw:luminance">
16432 <ref name="zeroToHundredPercent"/>
16433 </attribute>
16434 </optional>
16435 <optional>
16436 <attribute name="draw:contrast">
16437 <ref name="percent"/>
16438 </attribute>
16439 </optional>
16440 <optional>
16441 <attribute name="draw:gamma">
16442 <ref name="percent"/>
16443 </attribute>
16444 </optional>
16445 <optional>
16446 <attribute name="draw:red">
16447 <ref name="signedZeroToHundredPercent"/>
16448 </attribute>
16449 </optional>
16450 <optional>
16451 <attribute name="draw:green">
16452 <ref name="signedZeroToHundredPercent"/>
16453 </attribute>
16454 </optional>
16455 <optional>
16456 <attribute name="draw:blue">
16457 <ref name="signedZeroToHundredPercent"/>
16458 </attribute>
16459 </optional>
16460 <optional>
16461 <attribute name="draw:image-opacity">
16462 <ref name="zeroToHundredPercent"/>
16463 </attribute>
16464 </optional>
16465 <optional>
16466 <attribute name="draw:shadow">
16467 <choice>
16468 <value>visible</value>
16469 <value>hidden</value>
16470 </choice>
16471 </attribute>
16472 </optional>
16473 <optional>
16474 <attribute name="draw:shadow-offset-x">
16475 <ref name="length"/>
16476 </attribute>
16477 </optional>
16478 <optional>
16479 <attribute name="draw:shadow-offset-y">
16480 <ref name="length"/>
16481 </attribute>
16482 </optional>
16483 <optional>
16484 <attribute name="draw:shadow-color">
16485 <ref name="color"/>
16486 </attribute>
16487 </optional>
16488 <optional>
16489 <attribute name="draw:shadow-opacity">
16490 <ref name="zeroToHundredPercent"/>
16491 </attribute>
16492 </optional>
16493 <optional>
16494 <attribute name="draw:start-line-spacing-horizontal">
16495 <ref name="distance"/>
16496 </attribute>
16497 </optional>
16498 <optional>
16499 <attribute name="draw:start-line-spacing-vertical">
16500 <ref name="distance"/>
16501 </attribute>
16502 </optional>
16503 <optional>
16504 <attribute name="draw:end-line-spacing-horizontal">
16505 <ref name="distance"/>
16506 </attribute>
16507 </optional>
16508 <optional>
16509 <attribute name="draw:end-line-spacing-vertical">
16510 <ref name="distance"/>
16511 </attribute>
16512 </optional>
16513 <optional>
16514 <attribute name="draw:line-distance">
16515 <ref name="distance"/>
16516 </attribute>
16517 </optional>
16518 <optional>
16519 <attribute name="draw:guide-overhang">
16520 <ref name="length"/>
16521 </attribute>
16522 </optional>
16523 <optional>
16524 <attribute name="draw:guide-distance">
16525 <ref name="distance"/>
16526 </attribute>
16527 </optional>
16528 <optional>
16529 <attribute name="draw:start-guide">
16530 <ref name="length"/>
16531 </attribute>
16532 </optional>
16533 <optional>
16534 <attribute name="draw:end-guide">
16535 <ref name="length"/>
16536 </attribute>
16537 </optional>
16538 <optional>
16539 <attribute name="draw:placing">
16540 <choice>
16541 <value>below</value>
16542 <value>above</value>
16543 </choice>
16544 </attribute>
16545 </optional>
16546 <optional>
16547 <attribute name="draw:parallel">
16548 <ref name="boolean"/>
16549 </attribute>
16550 </optional>
16551 <optional>
16552 <attribute name="draw:measure-align">
16553 <choice>
16554 <value>automatic</value>
16555 <value>left-outside</value>
16556 <value>inside</value>
16557 <value>right-outside</value>
16558 </choice>
16559 </attribute>
16560 </optional>
16561 <optional>
16562 <attribute name="draw:measure-vertical-align">
16563 <choice>
16564 <value>automatic</value>
16565 <value>above</value>
16566 <value>below</value>
16567 <value>center</value>
16568 </choice>
16569 </attribute>
16570 </optional>
16571 <optional>
16572 <attribute name="draw:unit">
16573 <choice>
16574 <value>automatic</value>
16575 <value>mm</value>
16576 <value>cm</value>
16577 <value>m</value>
16578 <value>km</value>
16579 <value>pt</value>
16580 <value>pc</value>
16581 <value>inch</value>
16582 <value>ft</value>
16583 <value>mi</value>
16584 </choice>
16585 </attribute>
16586 </optional>
16587 <optional>
16588 <attribute name="draw:show-unit">
16589 <ref name="boolean"/>
16590 </attribute>
16591 </optional>
16592 <optional>
16593 <attribute name="draw:decimal-places">
16594 <ref name="nonNegativeInteger"/>
16595 </attribute>
16596 </optional>
16597 <optional>
16598 <attribute name="draw:caption-type">
16599 <choice>
16600 <value>straight-line</value>
16601 <value>angled-line</value>
16602 <value>angled-connector-line</value>
16603 </choice>
16604 </attribute>
16605 </optional>
16606 <optional>
16607 <attribute name="draw:caption-angle-type">
16608 <choice>
16609 <value>fixed</value>
16610 <value>free</value>
16611 </choice>
16612 </attribute>
16613 </optional>
16614 <optional>
16615 <attribute name="draw:caption-angle">
16616 <ref name="angle"/>
16617 </attribute>
16618 </optional>
16619 <optional>
16620 <attribute name="draw:caption-gap">
16621 <ref name="distance"/>
16622 </attribute>
16623 </optional>
16624 <optional>
16625 <attribute name="draw:caption-escape-direction">
16626 <choice>
16627 <value>horizontal</value>
16628 <value>vertical</value>
16629 <value>auto</value>
16630 </choice>
16631 </attribute>
16632 </optional>
16633 <optional>
16634 <attribute name="draw:caption-escape">
16635 <choice>
16636 <ref name="length"/>
16637 <ref name="percent"/>
16638 </choice>
16639 </attribute>
16640 </optional>
16641 <optional>
16642 <attribute name="draw:caption-line-length">
16643 <ref name="length"/>
16644 </attribute>
16645 </optional>
16646 <optional>
16647 <attribute name="draw:caption-fit-line-length">
16648 <ref name="boolean"/>
16649 </attribute>
16650 </optional>
16651 <optional>
16652 <attribute name="dr3d:horizontal-segments">
16653 <ref name="nonNegativeInteger"/>
16654 </attribute>
16655 </optional>
16656 <optional>
16657 <attribute name="dr3d:vertical-segments">
16658 <ref name="nonNegativeInteger"/>
16659 </attribute>
16660 </optional>
16661 <optional>
16662 <attribute name="dr3d:edge-rounding">
16663 <ref name="percent"/>
16664 </attribute>
16665 </optional>
16666 <optional>
16667 <attribute name="dr3d:edge-rounding-mode">
16668 <choice>
16669 <value>correct</value>
16670 <value>attractive</value>
16671 </choice>
16672 </attribute>
16673 </optional>
16674 <optional>
16675 <attribute name="dr3d:back-scale">
16676 <ref name="percent"/>
16677 </attribute>
16678 </optional>
16679 <optional>
16680 <attribute name="dr3d:depth">
16681 <ref name="length"/>
16682 </attribute>
16683 </optional>
16684 <optional>
16685 <attribute name="dr3d:backface-culling">
16686 <choice>
16687 <value>enabled</value>
16688 <value>disabled</value>
16689 </choice>
16690 </attribute>
16691 </optional>
16692 <optional>
16693 <attribute name="dr3d:end-angle">
16694 <ref name="angle"/>
16695 </attribute>
16696 </optional>
16697 <optional>
16698 <attribute name="dr3d:close-front">
16699 <ref name="boolean"/>
16700 </attribute>
16701 </optional>
16702 <optional>
16703 <attribute name="dr3d:close-back">
16704 <ref name="boolean"/>
16705 </attribute>
16706 </optional>
16707 <optional>
16708 <attribute name="dr3d:lighting-mode">
16709 <choice>
16710 <value>standard</value>
16711 <value>double-sided</value>
16712 </choice>
16713 </attribute>
16714 </optional>
16715 <optional>
16716 <attribute name="dr3d:normals-kind">
16717 <choice>
16718 <value>object</value>
16719 <value>flat</value>
16720 <value>sphere</value>
16721 </choice>
16722 </attribute>
16723 </optional>
16724 <optional>
16725 <attribute name="dr3d:normals-direction">
16726 <choice>
16727 <value>normal</value>
16728 <value>inverse</value>
16729 </choice>
16730 </attribute>
16731 </optional>
16732 <optional>
16733 <attribute name="dr3d:texture-generation-mode-x">
16734 <choice>
16735 <value>object</value>
16736 <value>parallel</value>
16737 <value>sphere</value>
16738 </choice>
16739 </attribute>
16740 </optional>
16741 <optional>
16742 <attribute name="dr3d:texture-generation-mode-y">
16743 <choice>
16744 <value>object</value>
16745 <value>parallel</value>
16746 <value>sphere</value>
16747 </choice>
16748 </attribute>
16749 </optional>
16750 <optional>
16751 <attribute name="dr3d:texture-kind">
16752 <choice>
16753 <value>luminance</value>
16754 <value>intensity</value>
16755 <value>color</value>
16756 </choice>
16757 </attribute>
16758 </optional>
16759 <optional>
16760 <attribute name="dr3d:texture-filter">
16761 <choice>
16762 <value>enabled</value>
16763 <value>disabled</value>
16764 </choice>
16765 </attribute>
16766 </optional>
16767 <optional>
16768 <attribute name="dr3d:texture-mode">
16769 <choice>
16770 <value>replace</value>
16771 <value>modulate</value>
16772 <value>blend</value>
16773 </choice>
16774 </attribute>
16775 </optional>
16776 <optional>
16777 <attribute name="dr3d:ambient-color">
16778 <ref name="color"/>
16779 </attribute>
16780 </optional>
16781 <optional>
16782 <attribute name="dr3d:emissive-color">
16783 <ref name="color"/>
16784 </attribute>
16785 </optional>
16786 <optional>
16787 <attribute name="dr3d:specular-color">
16788 <ref name="color"/>
16789 </attribute>
16790 </optional>
16791 <optional>
16792 <attribute name="dr3d:diffuse-color">
16793 <ref name="color"/>
16794 </attribute>
16795 </optional>
16796 <optional>
16797 <attribute name="dr3d:shininess">
16798 <ref name="percent"/>
16799 </attribute>
16800 </optional>
16801 <optional>
16802 <attribute name="dr3d:shadow">
16803 <choice>
16804 <value>visible</value>
16805 <value>hidden</value>
16806 </choice>
16807 </attribute>
16808 </optional>
16809 <ref name="common-draw-rel-size-attlist"/>
16810 <optional>
16811 <attribute name="fo:min-width">
16812 <choice>
16813 <ref name="length"/>
16814 <ref name="percent"/>
16815 </choice>
16816 </attribute>
16817 </optional>
16818 <optional>
16819 <attribute name="fo:min-height">
16820 <choice>
16821 <ref name="length"/>
16822 <ref name="percent"/>
16823 </choice>
16824 </attribute>
16825 </optional>
16826 <optional>
16827 <attribute name="fo:max-height">
16828 <choice>
16829 <ref name="length"/>
16830 <ref name="percent"/>
16831 </choice>
16832 </attribute>
16833 </optional>
16834 <optional>
16835 <attribute name="fo:max-width">
16836 <choice>
16837 <ref name="length"/>
16838 <ref name="percent"/>
16839 </choice>
16840 </attribute>
16841 </optional>
16842 <ref name="common-horizontal-margin-attlist"/>
16843 <ref name="common-vertical-margin-attlist"/>
16844 <ref name="common-margin-attlist"/>
16845 <optional>
16846 <attribute name="style:print-content">
16847 <ref name="boolean"/>
16848 </attribute>
16849 </optional>
16850 <optional>
16851 <attribute name="style:protect">
16852 <choice>
16853 <value>none</value>
16854 <list>
16855 <oneOrMore>
16856 <choice>
16857 <value>content</value>
16858 <value>position</value>
16859 <value>size</value>
16860 </choice>
16861 </oneOrMore>
16862 </list>
16863 </choice>
16864 </attribute>
16865 </optional>
16866 <optional>
16867 <attribute name="style:horizontal-pos">
16868 <choice>
16869 <value>left</value>
16870 <value>center</value>
16871 <value>right</value>
16872 <value>from-left</value>
16873 <value>inside</value>
16874 <value>outside</value>
16875 <value>from-inside</value>
16876 </choice>
16877 </attribute>
16878 </optional>
16879 <optional>
16880 <attribute name="svg:x">
16881 <ref name="coordinate"/>
16882 </attribute>
16883 </optional>
16884 <optional>
16885 <attribute name="style:horizontal-rel">
16886 <choice>
16887 <value>page</value>
16888 <value>page-content</value>
16889 <value>page-start-margin</value>
16890 <value>page-end-margin</value>
16891 <value>frame</value>
16892 <value>frame-content</value>
16893 <value>frame-start-margin</value>
16894 <value>frame-end-margin</value>
16895 <value>paragraph</value>
16896 <value>paragraph-content</value>
16897 <value>paragraph-start-margin</value>
16898 <value>paragraph-end-margin</value>
16899 <value>char</value>
16900 </choice>
16901 </attribute>
16902 </optional>
16903 <ref name="common-vertical-pos-attlist"/>
16904 <ref name="common-vertical-rel-attlist"/>
16905 <ref name="common-text-anchor-attlist"/>
16906 <ref name="common-border-attlist"/>
16907 <ref name="common-border-line-width-attlist"/>
16908 <ref name="common-padding-attlist"/>
16909 <ref name="common-shadow-attlist"/>
16910 <ref name="common-background-color-attlist"/>
16911 <ref name="common-background-transparency-attlist"/>
16912 <ref name="common-editable-attlist"/>
16913 <optional>
16914 <attribute name="style:wrap">
16915 <choice>
16916 <value>none</value>
16917 <value>left</value>
16918 <value>right</value>
16919 <value>parallel</value>
16920 <value>dynamic</value>
16921 <value>run-through</value>
16922 <value>biggest</value>
16923 </choice>
16924 </attribute>
16925 </optional>
16926 <optional>
16927 <attribute name="style:wrap-dynamic-threshold">
16928 <ref name="nonNegativeLength"/>
16929 </attribute>
16930 </optional>
16931 <optional>
16932 <attribute name="style:number-wrapped-paragraphs">
16933 <choice>
16934 <value>no-limit</value>
16935 <ref name="positiveInteger"/>
16936 </choice>
16937 </attribute>
16938 </optional>
16939 <optional>
16940 <attribute name="style:wrap-contour">
16941 <ref name="boolean"/>
16942 </attribute>
16943 </optional>
16944 <optional>
16945 <attribute name="style:wrap-contour-mode">
16946 <choice>
16947 <value>full</value>
16948 <value>outside</value>
16949 </choice>
16950 </attribute>
16951 </optional>
16952 <optional>
16953 <attribute name="style:run-through">
16954 <choice>
16955 <value>foreground</value>
16956 <value>background</value>
16957 </choice>
16958 </attribute>
16959 </optional>
16960 <optional>
16961 <attribute name="style:flow-with-text">
16962 <ref name="boolean"/>
16963 </attribute>
16964 </optional>
16965 <optional>
16966 <attribute name="style:overflow-behavior">
16967 <choice>
16968 <value>clip</value>
16969 <value>auto-create-new-frame</value>
16970 </choice>
16971 </attribute>
16972 </optional>
16973 <optional>
16974 <attribute name="style:mirror">
16975 <choice>
16976 <value>none</value>
16977 <value>vertical</value>
16978 <ref name="horizontal-mirror"/>
16979 <list>
16980 <value>vertical</value>
16981 <ref name="horizontal-mirror"/>
16982 </list>
16983 <list>
16984 <ref name="horizontal-mirror"/>
16985 <value>vertical</value>
16986 </list>
16987 </choice>
16988 </attribute>
16989 </optional>
16990 <optional>
16991 <attribute name="fo:clip">
16992 <choice>
16993 <value>auto</value>
16994 <ref name="clipShape"/>
16995 </choice>
16996 </attribute>
16997 </optional>
16998 <optional>
16999 <attribute name="draw:wrap-influence-on-position">
17000 <choice>
17001 <value>iterative</value>
17002 <value>once-concurrent</value>
17003 <value>once-successive</value>
17004 </choice>
17005 </attribute>
17006 </optional>
17007 <ref name="common-writing-mode-attlist"/>
17008 <optional>
17009 <attribute name="draw:frame-display-scrollbar">
17010 <ref name="boolean"/>
17011 </attribute>
17012 </optional>
17013 <optional>
17014 <attribute name="draw:frame-display-border">
17015 <ref name="boolean"/>
17016 </attribute>
17017 </optional>
17018 <optional>
17019 <attribute name="draw:frame-margin-horizontal">
17020 <ref name="nonNegativePixelLength"/>
17021 </attribute>
17022 </optional>
17023 <optional>
17024 <attribute name="draw:frame-margin-vertical">
17025 <ref name="nonNegativePixelLength"/>
17026 </attribute>
17027 </optional>
17028 <optional>
17029 <attribute name="draw:visible-area-left">
17030 <ref name="nonNegativeLength"/>
17031 </attribute>
17032 </optional>
17033 <optional>
17034 <attribute name="draw:visible-area-top">
17035 <ref name="nonNegativeLength"/>
17036 </attribute>
17037 </optional>
17038 <optional>
17039 <attribute name="draw:visible-area-width">
17040 <ref name="positiveLength"/>
17041 </attribute>
17042 </optional>
17043 <optional>
17044 <attribute name="draw:visible-area-height">
17045 <ref name="positiveLength"/>
17046 </attribute>
17047 </optional>
17048 <optional>
17049 <attribute name="draw:draw-aspect">
17050 <choice>
17051 <value>content</value>
17052 <value>thumbnail</value>
17053 <value>icon</value>
17054 <value>print-view</value>
17055 </choice>
17056 </attribute>
17057 </optional>
17058 <optional>
17059 <attribute name="draw:ole-draw-aspect">
17060 <ref name="nonNegativeInteger"/>
17061 </attribute>
17062 </optional>
17063 </interleave>
17064 </define>
17065 <define name="style-graphic-fill-properties-attlist">
17066 <interleave>
17067 <optional>
17068 <attribute name="draw:fill">
17069 <choice>
17070 <value>none</value>
17071 <value>solid</value>
17072 <value>bitmap</value>
17073 <value>gradient</value>
17074 <value>hatch</value>
17075 </choice>
17076 </attribute>
17077 </optional>
17078 <optional>
17079 <attribute name="draw:fill-color">
17080 <ref name="color"/>
17081 </attribute>
17082 </optional>
17083 <optional>
17084 <attribute name="draw:secondary-fill-color">
17085 <ref name="color"/>
17086 </attribute>
17087 </optional>
17088 <optional>
17089 <attribute name="draw:fill-gradient-name">
17090 <ref name="styleNameRef"/>
17091 </attribute>
17092 </optional>
17093 <optional>
17094 <attribute name="draw:gradient-step-count">
17095 <ref name="nonNegativeInteger"/>
17096 </attribute>
17097 </optional>
17098 <optional>
17099 <attribute name="draw:fill-hatch-name">
17100 <ref name="styleNameRef"/>
17101 </attribute>
17102 </optional>
17103 <optional>
17104 <attribute name="draw:fill-hatch-solid">
17105 <ref name="boolean"/>
17106 </attribute>
17107 </optional>
17108 <optional>
17109 <attribute name="draw:fill-image-name">
17110 <ref name="styleNameRef"/>
17111 </attribute>
17112 </optional>
17113 <optional>
17114 <attribute name="style:repeat">
17115 <choice>
17116 <value>no-repeat</value>
17117 <value>repeat</value>
17118 <value>stretch</value>
17119 </choice>
17120 </attribute>
17121 </optional>
17122 <optional>
17123 <attribute name="draw:fill-image-width">
17124 <choice>
17125 <ref name="length"/>
17126 <ref name="percent"/>
17127 </choice>
17128 </attribute>
17129 </optional>
17130 <optional>
17131 <attribute name="draw:fill-image-height">
17132 <choice>
17133 <ref name="length"/>
17134 <ref name="percent"/>
17135 </choice>
17136 </attribute>
17137 </optional>
17138 <optional>
17139 <attribute name="draw:fill-image-ref-point-x">
17140 <ref name="percent"/>
17141 </attribute>
17142 </optional>
17143 <optional>
17144 <attribute name="draw:fill-image-ref-point-y">
17145 <ref name="percent"/>
17146 </attribute>
17147 </optional>
17148 <optional>
17149 <attribute name="draw:fill-image-ref-point">
17150 <choice>
17151 <value>top-left</value>
17152 <value>top</value>
17153 <value>top-right</value>
17154 <value>left</value>
17155 <value>center</value>
17156 <value>right</value>
17157 <value>bottom-left</value>
17158 <value>bottom</value>
17159 <value>bottom-right</value>
17160 </choice>
17161 </attribute>
17162 </optional>
17163 <optional>
17164 <attribute name="draw:tile-repeat-offset">
17165 <list>
17166 <ref name="zeroToHundredPercent"/>
17167 <choice>
17168 <value>horizontal</value>
17169 <value>vertical</value>
17170 </choice>
17171 </list>
17172 </attribute>
17173 </optional>
17174 <optional>
17175 <attribute name="draw:opacity">
17176 <ref name="zeroToHundredPercent"/>
17177 </attribute>
17178 </optional>
17179 <optional>
17180 <attribute name="draw:opacity-name">
17181 <ref name="styleNameRef"/>
17182 </attribute>
17183 </optional>
17184 <optional>
17185 <attribute name="svg:fill-rule">
17186 <choice>
17187 <value>nonzero</value>
17188 <value>evenodd</value>
17189 </choice>
17190 </attribute>
17191 </optional>
17192 </interleave>
17193 </define>
17194 <define name="style-graphic-properties-elements">
17195 <interleave>
17196 <optional>
17197 <ref name="text-list-style"/>
17198 </optional>
17199 <ref name="style-background-image"/>
17200 <ref name="style-columns"/>
17201 </interleave>
17202 </define>
17203 <define name="common-vertical-pos-attlist">
17204 <optional>
17205 <attribute name="style:vertical-pos">
17206 <choice>
17207 <value>top</value>
17208 <value>middle</value>
17209 <value>bottom</value>
17210 <value>from-top</value>
17211 <value>below</value>
17212 </choice>
17213 </attribute>
17214 </optional>
17215 <optional>
17216 <attribute name="svg:y">
17217 <ref name="coordinate"/>
17218 </attribute>
17219 </optional>
17220 </define>
17221 <define name="common-vertical-rel-attlist">
17222 <optional>
17223 <attribute name="style:vertical-rel">
17224 <choice>
17225 <value>page</value>
17226 <value>page-content</value>
17227 <value>frame</value>
17228 <value>frame-content</value>
17229 <value>paragraph</value>
17230 <value>paragraph-content</value>
17231 <value>char</value>
17232 <value>line</value>
17233 <value>baseline</value>
17234 <value>text</value>
17235 </choice>
17236 </attribute>
17237 </optional>
17238 </define>
17239 <define name="common-editable-attlist">
17240 <optional>
17241 <attribute name="style:editable">
17242 <ref name="boolean"/>
17243 </attribute>
17244 </optional>
17245 </define>
17246 <define name="horizontal-mirror">
17247 <choice>
17248 <value>horizontal</value>
17249 <value>horizontal-on-odd</value>
17250 <value>horizontal-on-even</value>
17251 </choice>
17252 </define>
17253 <define name="clipShape">
17254 <data type="string">
17255 <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}[ ]*\)</param>
17256 </data>
17257 </define>
17258 <define name="nonNegativePixelLength">
17259 <data type="string">
17260 <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)(px)</param>
17261 </data>
17262 </define>
17263 <define name="style-chart-properties">
17264 <element name="style:chart-properties">
17265 <ref name="style-chart-properties-content-strict"/>
17266 </element>
17267 </define>
17268 <define name="style-chart-properties-content-strict">
17269 <ref name="style-chart-properties-attlist"/>
17270 <ref name="style-chart-properties-elements"/>
17271 </define>
17272 <define name="style-chart-properties-elements">
17273 <empty/>
17274 </define>
17275 <define name="style-chart-properties-attlist">
17276 <interleave>
17277 <optional>
17278 <attribute name="chart:scale-text">
17279 <ref name="boolean"/>
17280 </attribute>
17281 </optional>
17282 <optional>
17283 <attribute name="chart:three-dimensional">
17284 <ref name="boolean"/>
17285 </attribute>
17286 </optional>
17287 <optional>
17288 <attribute name="chart:deep">
17289 <ref name="boolean"/>
17290 </attribute>
17291 </optional>
17292 <optional>
17293 <attribute name="chart:right-angled-axes">
17294 <ref name="boolean"/>
17295 </attribute>
17296 </optional>
17297 <choice>
17298 <attribute name="chart:symbol-type">
17299 <value>none</value>
17300 </attribute>
17301 <attribute name="chart:symbol-type">
17302 <value>automatic</value>
17303 </attribute>
17304 <group>
17305 <attribute name="chart:symbol-type">
17306 <value>named-symbol</value>
17307 </attribute>
17308 <attribute name="chart:symbol-name">
17309 <choice>
17310 <value>square</value>
17311 <value>diamond</value>
17312 <value>arrow-down</value>
17313 <value>arrow-up</value>
17314 <value>arrow-right</value>
17315 <value>arrow-left</value>
17316 <value>bow-tie</value>
17317 <value>hourglass</value>
17318 <value>circle</value>
17319 <value>star</value>
17320 <value>x</value>
17321 <value>plus</value>
17322 <value>asterisk</value>
17323 <value>horizontal-bar</value>
17324 <value>vertical-bar</value>
17325 </choice>
17326 </attribute>
17327 </group>
17328 <group>
17329 <attribute name="chart:symbol-type">
17330 <value>image</value>
17331 </attribute>
17332 <element name="chart:symbol-image">
17333 <attribute name="xlink:href">
17334 <ref name="anyIRI"/>
17335 </attribute>
17336 </element>
17337 </group>
17338 <empty/>
17339 </choice>
17340 <optional>
17341 <attribute name="chart:symbol-width">
17342 <ref name="nonNegativeLength"/>
17343 </attribute>
17344 </optional>
17345 <optional>
17346 <attribute name="chart:symbol-height">
17347 <ref name="nonNegativeLength"/>
17348 </attribute>
17349 </optional>
17350 <optional>
17351 <attribute name="chart:sort-by-x-values">
17352 <ref name="boolean"/>
17353 </attribute>
17354 </optional>
17355 <optional>
17356 <attribute name="chart:vertical">
17357 <ref name="boolean"/>
17358 </attribute>
17359 </optional>
17360 <optional>
17361 <attribute name="chart:connect-bars">
17362 <ref name="boolean"/>
17363 </attribute>
17364 </optional>
17365 <optional>
17366 <attribute name="chart:gap-width">
17367 <ref name="integer"/>
17368 </attribute>
17369 </optional>
17370 <optional>
17371 <attribute name="chart:overlap">
17372 <ref name="integer"/>
17373 </attribute>
17374 </optional>
17375 <optional>
17376 <attribute name="chart:group-bars-per-axis">
17377 <ref name="boolean"/>
17378 </attribute>
17379 </optional>
17380 <optional>
17381 <attribute name="chart:japanese-candle-stick">
17382 <ref name="boolean"/>
17383 </attribute>
17384 </optional>
17385 <optional>
17386 <attribute name="chart:interpolation">
17387 <choice>
17388 <value>none</value>
17389 <value>cubic-spline</value>
17390 <value>b-spline</value>
17391 </choice>
17392 </attribute>
17393 </optional>
17394 <optional>
17395 <attribute name="chart:spline-order">
17396 <ref name="positiveInteger"/>
17397 </attribute>
17398 </optional>
17399 <optional>
17400 <attribute name="chart:spline-resolution">
17401 <ref name="positiveInteger"/>
17402 </attribute>
17403 </optional>
17404 <optional>
17405 <attribute name="chart:pie-offset">
17406 <ref name="nonNegativeInteger"/>
17407 </attribute>
17408 </optional>
17409 <optional>
17410 <attribute name="chart:angle-offset">
17411 <ref name="angle"/>
17412 </attribute>
17413 </optional>
17414 <optional>
17415 <attribute name="chart:hole-size">
17416 <ref name="percent"/>
17417 </attribute>
17418 </optional>
17419 <optional>
17420 <attribute name="chart:lines">
17421 <ref name="boolean"/>
17422 </attribute>
17423 </optional>
17424 <optional>
17425 <attribute name="chart:solid-type">
17426 <choice>
17427 <value>cuboid</value>
17428 <value>cylinder</value>
17429 <value>cone</value>
17430 <value>pyramid</value>
17431 </choice>
17432 </attribute>
17433 </optional>
17434 <optional>
17435 <attribute name="chart:stacked">
17436 <ref name="boolean"/>
17437 </attribute>
17438 </optional>
17439 <optional>
17440 <attribute name="chart:percentage">
17441 <ref name="boolean"/>
17442 </attribute>
17443 </optional>
17444 <optional>
17445 <attribute name="chart:treat-empty-cells">
17446 <choice>
17447 <value>use-zero</value>
17448 <value>leave-gap</value>
17449 <value>ignore</value>
17450 </choice>
17451 </attribute>
17452 </optional>
17453 <optional>
17454 <attribute name="chart:link-data-style-to-source">
17455 <ref name="boolean"/>
17456 </attribute>
17457 </optional>
17458 <optional>
17459 <attribute name="chart:logarithmic">
17460 <ref name="boolean"/>
17461 </attribute>
17462 </optional>
17463 <optional>
17464 <attribute name="chart:maximum">
17465 <ref name="double"/>
17466 </attribute>
17467 </optional>
17468 <optional>
17469 <attribute name="chart:minimum">
17470 <ref name="double"/>
17471 </attribute>
17472 </optional>
17473 <optional>
17474 <attribute name="chart:origin">
17475 <ref name="double"/>
17476 </attribute>
17477 </optional>
17478 <optional>
17479 <attribute name="chart:interval-major">
17480 <ref name="double"/>
17481 </attribute>
17482 </optional>
17483 <optional>
17484 <attribute name="chart:interval-minor-divisor">
17485 <ref name="positiveInteger"/>
17486 </attribute>
17487 </optional>
17488 <optional>
17489 <attribute name="chart:tick-marks-major-inner">
17490 <ref name="boolean"/>
17491 </attribute>
17492 </optional>
17493 <optional>
17494 <attribute name="chart:tick-marks-major-outer">
17495 <ref name="boolean"/>
17496 </attribute>
17497 </optional>
17498 <optional>
17499 <attribute name="chart:tick-marks-minor-inner">
17500 <ref name="boolean"/>
17501 </attribute>
17502 </optional>
17503 <optional>
17504 <attribute name="chart:tick-marks-minor-outer">
17505 <ref name="boolean"/>
17506 </attribute>
17507 </optional>
17508 <optional>
17509 <attribute name="chart:reverse-direction">
17510 <ref name="boolean"/>
17511 </attribute>
17512 </optional>
17513 <optional>
17514 <attribute name="chart:display-label">
17515 <ref name="boolean"/>
17516 </attribute>
17517 </optional>
17518 <optional>
17519 <attribute name="chart:text-overlap">
17520 <ref name="boolean"/>
17521 </attribute>
17522 </optional>
17523 <optional>
17524 <attribute name="text:line-break">
17525 <ref name="boolean"/>
17526 </attribute>
17527 </optional>
17528 <optional>
17529 <attribute name="chart:label-arrangement">
17530 <choice>
17531 <value>side-by-side</value>
17532 <value>stagger-even</value>
17533 <value>stagger-odd</value>
17534 </choice>
17535 </attribute>
17536 </optional>
17537 <ref name="common-style-direction-attlist"/>
17538 <ref name="common-rotation-angle-attlist"/>
17539 <optional>
17540 <attribute name="chart:data-label-number">
17541 <choice>
17542 <value>none</value>
17543 <value>value</value>
17544 <value>percentage</value>
17545 <value>value-and-percentage</value>
17546 </choice>
17547 </attribute>
17548 </optional>
17549 <optional>
17550 <attribute name="chart:data-label-text">
17551 <ref name="boolean"/>
17552 </attribute>
17553 </optional>
17554 <optional>
17555 <attribute name="chart:data-label-symbol">
17556 <ref name="boolean"/>
17557 </attribute>
17558 </optional>
17559 <optional>
17560 <element name="chart:label-separator">
17561 <ref name="text-p"/>
17562 </element>
17563 </optional>
17564 <optional>
17565 <attribute name="chart:label-position">
17566 <ref name="labelPositions"/>
17567 </attribute>
17568 </optional>
17569 <optional>
17570 <attribute name="chart:label-position-negative">
17571 <ref name="labelPositions"/>
17572 </attribute>
17573 </optional>
17574 <optional>
17575 <attribute name="chart:visible">
17576 <ref name="boolean"/>
17577 </attribute>
17578 </optional>
17579 <optional>
17580 <attribute name="chart:auto-position">
17581 <ref name="boolean"/>
17582 </attribute>
17583 </optional>
17584 <optional>
17585 <attribute name="chart:auto-size">
17586 <ref name="boolean"/>
17587 </attribute>
17588 </optional>
17589 <optional>
17590 <attribute name="chart:mean-value">
17591 <ref name="boolean"/>
17592 </attribute>
17593 </optional>
17594 <optional>
17595 <attribute name="chart:error-category">
17596 <choice>
17597 <value>none</value>
17598 <value>variance</value>
17599 <value>standard-deviation</value>
17600 <value>percentage</value>
17601 <value>error-margin</value>
17602 <value>constant</value>
17603 <value>standard-error</value>
17604 <value>cell-range</value>
17605 </choice>
17606 </attribute>
17607 </optional>
17608 <optional>
17609 <attribute name="chart:error-percentage">
17610 <ref name="double"/>
17611 </attribute>
17612 </optional>
17613 <optional>
17614 <attribute name="chart:error-margin">
17615 <ref name="double"/>
17616 </attribute>
17617 </optional>
17618 <optional>
17619 <attribute name="chart:error-lower-limit">
17620 <ref name="double"/>
17621 </attribute>
17622 </optional>
17623 <optional>
17624 <attribute name="chart:error-upper-limit">
17625 <ref name="double"/>
17626 </attribute>
17627 </optional>
17628 <optional>
17629 <attribute name="chart:error-upper-indicator">
17630 <ref name="boolean"/>
17631 </attribute>
17632 </optional>
17633 <optional>
17634 <attribute name="chart:error-lower-indicator">
17635 <ref name="boolean"/>
17636 </attribute>
17637 </optional>
17638 <optional>
17639 <attribute name="chart:error-lower-range">
17640 <ref name="cellRangeAddressList"/>
17641 </attribute>
17642 </optional>
17643 <optional>
17644 <attribute name="chart:error-upper-range">
17645 <ref name="cellRangeAddressList"/>
17646 </attribute>
17647 </optional>
17648 <optional>
17649 <attribute name="chart:series-source">
17650 <choice>
17651 <value>columns</value>
17652 <value>rows</value>
17653 </choice>
17654 </attribute>
17655 </optional>
17656 <optional>
17657 <attribute name="chart:regression-type">
17658 <choice>
17659 <value>none</value>
17660 <value>linear</value>
17661 <value>logarithmic</value>
17662 <value>exponential</value>
17663 <value>power</value>
17664 </choice>
17665 </attribute>
17666 </optional>
17667 <optional>
17668 <attribute name="chart:axis-position">
17669 <choice>
17670 <value>start</value>
17671 <value>end</value>
17672 <ref name="double"/>
17673 </choice>
17674 </attribute>
17675 </optional>
17676 <optional>
17677 <attribute name="chart:axis-label-position">
17678 <choice>
17679 <value>near-axis</value>
17680 <value>near-axis-other-side</value>
17681 <value>outside-start</value>
17682 <value>outside-end</value>
17683 </choice>
17684 </attribute>
17685 </optional>
17686 <optional>
17687 <attribute name="chart:tick-mark-position">
17688 <choice>
17689 <value>at-labels</value>
17690 <value>at-axis</value>
17691 <value>at-labels-and-axis</value>
17692 </choice>
17693 </attribute>
17694 </optional>
17695 <optional>
17696 <attribute name="chart:include-hidden-cells">
17697 <ref name="boolean"/>
17698 </attribute>
17699 </optional>
17700 </interleave>
17701 </define>
17702 <define name="labelPositions">
17703 <choice>
17704 <value>avoid-overlap</value>
17705 <value>center</value>
17706 <value>top</value>
17707 <value>top-right</value>
17708 <value>right</value>
17709 <value>bottom-right</value>
17710 <value>bottom</value>
17711 <value>bottom-left</value>
17712 <value>left</value>
17713 <value>top-left</value>
17714 <value>inside</value>
17715 <value>outside</value>
17716 <value>near-origin</value>
17717 </choice>
17718 </define>
17719 <define name="style-drawing-page-properties-attlist">
17720 <interleave>
17721 <optional>
17722 <attribute name="presentation:transition-type">
17723 <choice>
17724 <value>manual</value>
17725 <value>automatic</value>
17726 <value>semi-automatic</value>
17727 </choice>
17728 </attribute>
17729 </optional>
17730 <optional>
17731 <attribute name="presentation:transition-style">
17732 <choice>
17733 <value>none</value>
17734 <value>fade-from-left</value>
17735 <value>fade-from-top</value>
17736 <value>fade-from-right</value>
17737 <value>fade-from-bottom</value>
17738 <value>fade-from-upperleft</value>
17739 <value>fade-from-upperright</value>
17740 <value>fade-from-lowerleft</value>
17741 <value>fade-from-lowerright</value>
17742 <value>move-from-left</value>
17743 <value>move-from-top</value>
17744 <value>move-from-right</value>
17745 <value>move-from-bottom</value>
17746 <value>move-from-upperleft</value>
17747 <value>move-from-upperright</value>
17748 <value>move-from-lowerleft</value>
17749 <value>move-from-lowerright</value>
17750 <value>uncover-to-left</value>
17751 <value>uncover-to-top</value>
17752 <value>uncover-to-right</value>
17753 <value>uncover-to-bottom</value>
17754 <value>uncover-to-upperleft</value>
17755 <value>uncover-to-upperright</value>
17756 <value>uncover-to-lowerleft</value>
17757 <value>uncover-to-lowerright</value>
17758 <value>fade-to-center</value>
17759 <value>fade-from-center</value>
17760 <value>vertical-stripes</value>
17761 <value>horizontal-stripes</value>
17762 <value>clockwise</value>
17763 <value>counterclockwise</value>
17764 <value>open-vertical</value>
17765 <value>open-horizontal</value>
17766 <value>close-vertical</value>
17767 <value>close-horizontal</value>
17768 <value>wavyline-from-left</value>
17769 <value>wavyline-from-top</value>
17770 <value>wavyline-from-right</value>
17771 <value>wavyline-from-bottom</value>
17772 <value>spiralin-left</value>
17773 <value>spiralin-right</value>
17774 <value>spiralout-left</value>
17775 <value>spiralout-right</value>
17776 <value>roll-from-top</value>
17777 <value>roll-from-left</value>
17778 <value>roll-from-right</value>
17779 <value>roll-from-bottom</value>
17780 <value>stretch-from-left</value>
17781 <value>stretch-from-top</value>
17782 <value>stretch-from-right</value>
17783 <value>stretch-from-bottom</value>
17784 <value>vertical-lines</value>
17785 <value>horizontal-lines</value>
17786 <value>dissolve</value>
17787 <value>random</value>
17788 <value>vertical-checkerboard</value>
17789 <value>horizontal-checkerboard</value>
17790 <value>interlocking-horizontal-left</value>
17791 <value>interlocking-horizontal-right</value>
17792 <value>interlocking-vertical-top</value>
17793 <value>interlocking-vertical-bottom</value>
17794 <value>fly-away</value>
17795 <value>open</value>
17796 <value>close</value>
17797 <value>melt</value>
17798 </choice>
17799 </attribute>
17800 </optional>
17801 <optional>
17802 <attribute name="presentation:transition-speed">
17803 <ref name="presentationSpeeds"/>
17804 </attribute>
17805 </optional>
17806 <optional>
17807 <attribute name="smil:type">
17808 <ref name="string"/>
17809 </attribute>
17810 </optional>
17811 <optional>
17812 <attribute name="smil:subtype">
17813 <ref name="string"/>
17814 </attribute>
17815 </optional>
17816 <optional>
17817 <attribute name="smil:direction">
17818 <choice>
17819 <value>forward</value>
17820 <value>reverse</value>
17821 </choice>
17822 </attribute>
17823 </optional>
17824 <optional>
17825 <attribute name="smil:fadeColor">
17826 <ref name="color"/>
17827 </attribute>
17828 </optional>
17829 <optional>
17830 <attribute name="presentation:duration">
17831 <ref name="duration"/>
17832 </attribute>
17833 </optional>
17834 <optional>
17835 <attribute name="presentation:visibility">
17836 <choice>
17837 <value>visible</value>
17838 <value>hidden</value>
17839 </choice>
17840 </attribute>
17841 </optional>
17842 <optional>
17843 <attribute name="draw:background-size">
17844 <choice>
17845 <value>full</value>
17846 <value>border</value>
17847 </choice>
17848 </attribute>
17849 </optional>
17850 <optional>
17851 <attribute name="presentation:background-objects-visible">
17852 <ref name="boolean"/>
17853 </attribute>
17854 </optional>
17855 <optional>
17856 <attribute name="presentation:background-visible">
17857 <ref name="boolean"/>
17858 </attribute>
17859 </optional>
17860 <optional>
17861 <attribute name="presentation:display-header">
17862 <ref name="boolean"/>
17863 </attribute>
17864 </optional>
17865 <optional>
17866 <attribute name="presentation:display-footer">
17867 <ref name="boolean"/>
17868 </attribute>
17869 </optional>
17870 <optional>
17871 <attribute name="presentation:display-page-number">
17872 <ref name="boolean"/>
17873 </attribute>
17874 </optional>
17875 <optional>
17876 <attribute name="presentation:display-date-time">
17877 <ref name="boolean"/>
17878 </attribute>
17879 </optional>
17880 </interleave>
17881 </define>
17882 <define name="style-drawing-page-properties-elements">
17883 <optional>
17884 <ref name="presentation-sound"/>
17885 </optional>
17886 </define>
17887 <define name="string">
17888 <data type="string"/>
17889 </define>
17890 <define name="date">
17891 <data type="date"/>
17892 </define>
17893 <define name="time">
17894 <data type="time"/>
17895 </define>
17896 <define name="dateTime">
17897 <data type="dateTime"/>
17898 </define>
17899 <define name="duration">
17900 <data type="duration"/>
17901 </define>
17902 <define name="integer">
17903 <data type="integer"/>
17904 </define>
17905 <define name="nonNegativeInteger">
17906 <data type="nonNegativeInteger"/>
17907 </define>
17908 <define name="positiveInteger">
17909 <data type="positiveInteger"/>
17910 </define>
17911 <define name="double">
17912 <data type="double"/>
17913 </define>
17914 <define name="anyURI">
17915 <data type="anyURI"/>
17916 </define>
17917 <define name="base64Binary">
17918 <data type="base64Binary"/>
17919 </define>
17920 <define name="ID">
17921 <data type="ID"/>
17922 </define>
17923 <define name="IDREF">
17924 <data type="IDREF"/>
17925 </define>
17926 <define name="IDREFS">
17927 <data type="IDREFS"/>
17928 </define>
17929 <define name="NCName">
17930 <data type="NCName"/>
17931 </define>
17932 <define name="boolean">
17933 <choice>
17934 <value>true</value>
17935 <value>false</value>
17936 </choice>
17937 </define>
17938 <define name="dateOrDateTime">
17939 <choice>
17940 <data type="date"/>
17941 <data type="dateTime"/>
17942 </choice>
17943 </define>
17944 <define name="timeOrDateTime">
17945 <choice>
17946 <data type="time"/>
17947 <data type="dateTime"/>
17948 </choice>
17949 </define>
17950 <define name="language">
17951 <data type="language"/>
17952 </define>
17953 <define name="countryCode">
17954 <data type="token">
17955 <param name="pattern">[A-Za-z0-9]{1,8}</param>
17956 </data>
17957 </define>
17958 <define name="languageCode">
17959 <data type="token">
17960 <param name="pattern">[A-Za-z]{1,8}</param>
17961 </data>
17962 </define>
17963 <define name="scriptCode">
17964 <data type="token">
17965 <param name="pattern">[A-Za-z0-9]{1,8}</param>
17966 </data>
17967 </define>
17968 <define name="character">
17969 <data type="string">
17970 <param name="length">1</param>
17971 </data>
17972 </define>
17973 <define name="length">
17974 <data type="string">
17975 <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
17976 </data>
17977 </define>
17978 <define name="nonNegativeLength">
17979 <data type="string">
17980 <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
17981 </data>
17982 </define>
17983 <define name="positiveLength">
17984 <data type="string">
17985 <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))</param>
17986 </data>
17987 </define>
17988 <define name="percent">
17989 <data type="string">
17990 <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)%</param>
17991 </data>
17992 </define>
17993 <define name="zeroToHundredPercent">
17994 <data type="string">
17995 <param name="pattern">([0-9]?[0-9](\.[0-9]*)?|100(\.0*)?|\.[0-9]+)%</param>
17996 </data>
17997 </define>
17998 <define name="signedZeroToHundredPercent">
17999 <data type="string">
18000 <param name="pattern">-?([0-9]?[0-9](\.[0-9]*)?|100(\.0*)?|\.[0-9]+)%</param>
18001 </data>
18002 </define>
18003 <define name="relativeLength">
18004 <data type="string">
18005 <param name="pattern">[0-9]+\*</param>
18006 </data>
18007 </define>
18008 <define name="coordinate">
18009 <ref name="length"/>
18010 </define>
18011 <define name="distance">
18012 <ref name="length"/>
18013 </define>
18014 <define name="color">
18015 <data type="string">
18016 <param name="pattern">#[0-9a-fA-F]{6}</param>
18017 </data>
18018 </define>
18019 <define name="angle">
18020 <data type="string"/>
18021 </define>
18022 <define name="CURIE">
18023 <data type="string">
18024 <param name="pattern">(([\i-[:]][\c-[:]]*)?:)?.+</param>
18025 <param name="minLength">1</param>
18026 </data>
18027 </define>
18028 <define name="CURIEs">
18029 <list>
18030 <oneOrMore>
18031 <ref name="CURIE"/>
18032 </oneOrMore>
18033 </list>
18034 </define>
18035 <define name="SafeCURIE">
18036 <data type="string">
18037 <param name="pattern">\[(([\i-[:]][\c-[:]]*)?:)?.+\]</param>
18038 <param name="minLength">3</param>
18039 </data>
18040 </define>
18041 <define name="URIorSafeCURIE">
18042 <choice>
18043 <ref name="anyURI"/>
18044 <ref name="SafeCURIE"/>
18045 </choice>
18046 </define>
18047 <define name="styleName">
18048 <data type="NCName"/>
18049 </define>
18050 <define name="styleNameRef">
18051 <choice>
18052 <data type="NCName"/>
18053 <empty/>
18054 </choice>
18055 </define>
18056 <define name="styleNameRefs">
18057 <list>
18058 <zeroOrMore>
18059 <data type="NCName"/>
18060 </zeroOrMore>
18061 </list>
18062 </define>
18063 <define name="variableName">
18064 <data type="string"/>
18065 </define>
18066 <define name="targetFrameName">
18067 <choice>
18068 <value>_self</value>
18069 <value>_blank</value>
18070 <value>_parent</value>
18071 <value>_top</value>
18072 <ref name="string"/>
18073 </choice>
18074 </define>
18075 <define name="valueType">
18076 <choice>
18077 <value>float</value>
18078 <value>time</value>
18079 <value>date</value>
18080 <value>percentage</value>
18081 <value>currency</value>
18082 <value>boolean</value>
18083 <value>string</value>
18084 </choice>
18085 </define>
18086 <define name="points">
18087 <data type="string">
18088 <param name="pattern">-?[0-9]+,-?[0-9]+([ ]+-?[0-9]+,-?[0-9]+)*</param>
18089 </data>
18090 </define>
18091 <define name="pathData">
18092 <data type="string"/>
18093 </define>
18094 <define name="vector3D">
18095 <data type="string">
18096 <param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)){2}[ ]*\)</param>
18097 </data>
18098 </define>
18099 <define name="namespacedToken">
18100 <data type="QName">
18101 <param name="pattern">[^:]+:[^:]+</param>
18102 </data>
18103 </define>
18104 <define name="anyIRI">
18105 <data type="anyURI"/>
18106 <dc:description>An IRI-reference as defined in [RFC3987]. See ODF 1.2 Part 1 section 18.3.</dc:description>
18107 </define>
18108 <define name="anyAttListOrElements">
18109 <zeroOrMore>
18110 <attribute>
18111 <anyName/>
18112 <text/>
18113 </attribute>
18114 </zeroOrMore>
18115 <ref name="anyElements"/>
18116 </define>
18117 <define name="anyElements">
18118 <zeroOrMore>
18119 <element>
18120 <anyName/>
18121 <mixed>
18122 <ref name="anyAttListOrElements"/>
18123 </mixed>
18124 </element>
18125 </zeroOrMore>
18126 </define>
18127 </grammar>