Warning, /rolisteam/rolisteam/src/libraries/rwidgets/editors/noteeditor/format_OO_oasis_/relax.rng is written in an unsupported language. File is not indexed.

0001 <!--
0002     OASIS OpenDocument v1.0
0003     OASIS Standard, 1 May 2005
0004     Relax-NG Schema
0005 
0006     $Id$
0007 
0008     © 2002-2005 OASIS Open
0009     © 1999-2005 Sun Microsystems, Inc.
0010 -->
0011 <grammar datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
0012 
0013 <define name="office-process-content">
0014     <optional>
0015         <attribute name="office:process-content" a:defaultValue="true">
0016             <ref name="boolean"/>
0017         </attribute>
0018     </optional>
0019 </define>
0020 <start>
0021     <choice>
0022         <ref name="office-document"/>
0023         <ref name="office-document-content"/>
0024         <ref name="office-document-styles"/>
0025         <ref name="office-document-meta"/>
0026         <ref name="office-document-settings"/>
0027     </choice>
0028 </start>
0029 
0030 <!-- Used in: draw-object -->
0031 <define name="office-document">
0032     <element name="office:document">
0033         <ref name="office-document-attrs"/>
0034         <ref name="office-document-common-attrs"/>
0035         <ref name="office-meta"/>
0036         <ref name="office-settings"/>
0037         <ref name="office-scripts"/>
0038         <ref name="office-font-face-decls"/>
0039         <ref name="office-styles"/>
0040         <ref name="office-automatic-styles"/>
0041         <ref name="office-master-styles"/>
0042         <ref name="office-body"/>
0043     </element>
0044 </define>
0045 
0046 <define name="office-document-content">
0047     <element name="office:document-content">
0048         <ref name="office-document-common-attrs"/>
0049         <ref name="office-scripts"/>
0050         <ref name="office-font-face-decls"/>
0051         <ref name="office-automatic-styles"/>
0052         <ref name="office-body"/>
0053     </element>
0054 </define>
0055 
0056 <define name="office-document-styles">
0057     <element name="office:document-styles">
0058         <ref name="office-document-common-attrs"/>
0059         <ref name="office-font-face-decls"/>
0060         <ref name="office-styles"/>
0061         <ref name="office-automatic-styles"/>
0062         <ref name="office-master-styles"/>
0063     </element>
0064 </define>
0065 
0066 <define name="office-document-meta">
0067     <element name="office:document-meta">
0068         <ref name="office-document-common-attrs"/>
0069         <ref name="office-meta"/>
0070     </element>
0071 </define>
0072 
0073 <define name="office-document-settings">
0074     <element name="office:document-settings">
0075         <ref name="office-document-common-attrs"/>
0076         <ref name="office-settings"/>
0077     </element>
0078 </define>
0079 
0080 <!-- Used in: office-document, office-document-content, office-document-styles, office-document-meta, office-document-settings -->
0081 <define name="office-document-common-attrs" combine="interleave">
0082     <optional>
0083         <attribute name="office:version">
0084             <ref name="string"/>
0085         </attribute>
0086     </optional>
0087 </define>
0088 
0089 <!-- Used in: office-document -->
0090 <define name="office-document-attrs" combine="interleave">
0091     <attribute name="office:mimetype">
0092         <ref name="string"/>
0093     </attribute>
0094 </define>
0095 
0096 <!-- Used in: office-document, office-document-meta -->
0097 <define name="office-meta">
0098     <optional>
0099         <element name="office:meta">
0100             <ref name="office-meta-content"/>
0101         </element>
0102     </optional>
0103 </define>
0104 
0105 
0106 <!-- Used in: office-meta -->
0107 <define name="office-meta-content">
0108     <ref name="anyElements"/>
0109 </define>
0110 
0111 
0112 <define name="office-meta-content-strict">
0113     <zeroOrMore>
0114         <ref name="office-meta-data"/>
0115     </zeroOrMore>
0116 </define>
0117 
0118 <!-- Used in: office-document, office-document-content -->
0119 <define name="office-body">
0120     <element name="office:body">
0121         <ref name="office-body-content"/>
0122     </element>
0123 </define>
0124 
0125 <!-- Used in: office-body -->
0126 <!-- Next: office-body-content -->
0127 <define name="office-body-content" combine="choice">
0128     <element name="office:text">
0129         <ref name="office-text-attlist"/>
0130         <ref name="office-text-content-prelude"/>
0131         <zeroOrMore>
0132             <ref name="office-text-content-main"/>
0133         </zeroOrMore>
0134         <ref name="office-text-content-epilogue"/>
0135     </element>
0136 </define>
0137 
0138 <!-- Used in: office-body-content -->
0139 <define name="office-text-content-prelude">
0140     <ref name="office-forms"/>
0141     <ref name="text-tracked-changes"/>
0142     <ref name="text-decls"/>
0143     <ref name="table-decls"/>
0144 </define>
0145 
0146 <!-- Used in: office-body-content -->
0147 <define name="office-text-content-main">
0148     <choice>
0149         <zeroOrMore>
0150             <ref name="text-content"/>
0151         </zeroOrMore>
0152         <group>
0153             <ref name="text-page-sequence"/>
0154             <zeroOrMore>
0155                 <choice>
0156                     <ref name="draw-a"/>
0157                     <ref name="shape"/>
0158                 </choice>
0159             </zeroOrMore>
0160         </group>
0161     </choice>
0162 </define>
0163 
0164 
0165 <!-- Used in: office-text-content-main, text-section, text-changed-region-content, paragraph-content, index-content-main, table-table-cell-content, draw-text-box -->
0166 <define name="text-content">
0167     <choice>
0168         <ref name="text-h"/>
0169         <ref name="text-p"/>
0170         <ref name="text-list"/>
0171         <ref name="text-numbered-paragraph"/>
0172         <ref name="table-table"/>
0173         <ref name="draw-a"/>
0174         <ref name="text-section"/>
0175         <ref name="text-table-of-content"/>
0176         <ref name="text-illustration-index"/>
0177         <ref name="text-table-index"/>
0178         <ref name="text-object-index"/>
0179         <ref name="text-user-index"/>
0180         <ref name="text-alphabetical-index"/>
0181         <ref name="text-bibliography"/>
0182         <ref name="shape"/>
0183         <ref name="change-marks"/>
0184     </choice>
0185 </define>
0186 
0187 <!-- Used in: office-body-content -->
0188 <define name="office-text-content-epilogue">
0189     <ref name="table-functions"/>
0190 </define>
0191 
0192 <!-- Used in: office-body-content -->
0193 <define name="office-text-attlist" combine="interleave">
0194     <optional>
0195         <attribute name="text:global" a:defaultValue="false">
0196             <ref name="boolean"/>
0197         </attribute>
0198     </optional>
0199 </define>
0200 
0201 <!-- Used in: office-body -->
0202 <!-- Next: office-body-content -->
0203 <define name="office-body-content" combine="choice">
0204     <element name="office:drawing">
0205         <ref name="office-drawing-attlist"/>
0206         <ref name="office-drawing-content-prelude"/>
0207         <ref name="office-drawing-content-main"/>
0208         <ref name="office-drawing-content-epilogue"/>
0209     </element>
0210 </define>
0211 
0212 
0213 <!-- Used in: office-body-content -->
0214 <define name="office-drawing-attlist">
0215     <empty/>
0216 </define>
0217 
0218 <!-- Used in: office-body-content -->
0219 <define name="office-drawing-content-prelude">
0220     <ref name="text-decls"/>
0221     <ref name="table-decls"/>
0222 </define>
0223 
0224 <!-- Used in: office-body-content -->
0225 <define name="office-drawing-content-main">
0226     <zeroOrMore>
0227         <ref name="draw-page"/>
0228     </zeroOrMore>
0229 </define>
0230 
0231 <!-- Used in: office-body-content -->
0232 <define name="office-drawing-content-epilogue">
0233     <ref name="table-functions"/>
0234 </define>
0235 
0236 <!-- Used in: office-body -->
0237 <!-- Next: office-body-content -->
0238 <define name="office-body-content" combine="choice">
0239     <element name="office:presentation">
0240         <ref name="office-presentation-attlist"/>
0241         <ref name="office-presentation-content-prelude"/>
0242         <ref name="office-presentation-content-main"/>
0243         <ref name="office-presentation-content-epilogue"/>
0244     </element>
0245 </define>
0246 
0247 
0248 <!-- Used in: office-body-content -->
0249 <define name="office-presentation-attlist">
0250     <empty/>
0251 </define>
0252 
0253 <!-- Used in: office-body-content -->
0254 <define name="office-presentation-content-prelude">
0255     <ref name="text-decls"/>
0256     <ref name="table-decls"/>
0257     <ref name="presentation-decls"/>
0258 </define>
0259 
0260 <!-- Used in: office-body-content -->
0261 <define name="office-presentation-content-main">
0262     <zeroOrMore>
0263         <ref name="draw-page"/>
0264     </zeroOrMore>
0265 </define>
0266 
0267 <!-- Used in: office-body-content -->
0268 <define name="office-presentation-content-epilogue">
0269     <ref name="presentation-settings"/>
0270     <ref name="table-functions"/>
0271 </define>
0272 
0273 <!-- Used in: office-body -->
0274 <!-- Next: office-body-content -->
0275 <define name="office-body-content" combine="choice">
0276     <element name="office:spreadsheet">
0277         <ref name="office-spreadsheet-attlist"/>
0278         <ref name="office-spreadsheet-content-prelude"/>
0279         <ref name="office-spreadsheet-content-main"/>
0280         <ref name="office-spreadsheet-content-epilogue"/>
0281     </element>
0282 </define>
0283 
0284 <!-- Used in: office-body-content -->
0285 <define name="office-spreadsheet-content-prelude">
0286     <optional>
0287         <ref name="table-tracked-changes"/>    
0288     </optional>
0289     <ref name="text-decls"/>
0290     <ref name="table-decls"/>
0291 </define>
0292 
0293 
0294 <!-- Used in: office-text-content-prelude, office-drawing-content-prelude, office-presentation-content-prelude, office-spreadsheet-content-prelude, office-chart-content-prelude -->
0295 <define name="table-decls">
0296     <optional>
0297         <ref name="table-calculation-settings"/>    
0298     </optional>
0299     <optional>
0300         <ref name="table-content-validations"/>    
0301     </optional>
0302     <optional>
0303         <ref name="table-label-ranges"/>    
0304     </optional>
0305 </define>
0306 
0307 <!-- Used in: office-body-content -->
0308 <define name="office-spreadsheet-content-main">
0309     <zeroOrMore>
0310         <ref name="table-table"/>
0311     </zeroOrMore>
0312 </define>
0313 
0314 <!-- Used in: office-body-content -->
0315 <define name="office-spreadsheet-content-epilogue">
0316     <ref name="table-functions"/>    
0317 </define>
0318 
0319 
0320 <!-- Used in: office-text-content-epilogue, office-drawing-content-epilogue, office-presentation-content-epilogue, office-spreadsheet-content-epilogue, office-chart-content-epilogue -->
0321 <define name="table-functions">
0322     <optional>
0323         <ref name="table-named-expressions"/>    
0324     </optional>
0325     <optional>
0326         <ref name="table-database-ranges"/>    
0327     </optional>
0328     <optional>
0329         <ref name="table-data-pilot-tables"/>    
0330     </optional>
0331     <optional>
0332         <ref name="table-consolidation"/>    
0333     </optional>
0334     <optional>
0335         <ref name="table-dde-links"/>    
0336     </optional>
0337 </define>
0338 
0339 <!-- Used in: office-body -->
0340 <!-- Next: office-body-content -->
0341 <define name="office-body-content" combine="choice">
0342     <element name="office:chart">
0343         <ref name="office-chart-attlist"/>
0344         <ref name="office-chart-content-prelude"/>
0345         <ref name="office-chart-content-main"/>
0346         <ref name="office-chart-content-epilogue"/>
0347     </element>
0348 </define>
0349 
0350 
0351 <!-- Used in: office-body-content -->
0352 <define name="office-chart-attlist">
0353     <empty/>
0354 </define>
0355 
0356 <!-- Used in: office-body-content -->
0357 <define name="office-chart-content-prelude">
0358     <ref name="text-decls"/>
0359     <ref name="table-decls"/>
0360 </define>
0361 
0362 <!-- Used in: office-body-content -->
0363 <define name="office-chart-content-main">
0364     <ref name="chart-chart"/>
0365 </define>
0366 
0367 <!-- Used in: office-body-content -->
0368 <define name="office-chart-content-epilogue">
0369     <ref name="table-functions"/>    
0370 </define>
0371 
0372 <!-- Used in: office-body -->
0373 <define name="office-body-content" combine="choice">
0374     <element name="office:image">
0375         <ref name="office-image-attlist"/>
0376         <ref name="office-image-content-prelude"/>
0377         <ref name="office-image-content-main"/>
0378         <ref name="office-image-content-epilogue"/>
0379     </element>
0380 </define>
0381 
0382 
0383 <!-- Used in: office-body-content -->
0384 <define name="office-image-attlist">
0385     <empty/>
0386 </define>
0387 
0388 <!-- Used in: office-body-content -->
0389 <define name="office-image-content-prelude">
0390     <empty/>
0391 </define>
0392 
0393 <!-- Used in: office-body-content -->
0394 <define name="office-image-content-main">
0395     <ref name="draw-frame"/>
0396 </define>
0397 
0398 <!-- Used in: office-body-content -->
0399 <define name="office-image-content-epilogue">
0400     <empty/>
0401 </define>
0402 
0403 <!-- Used in: office-document, office-document-settings -->
0404 <define name="office-settings">
0405     <optional>
0406         <element name="office:settings">
0407             <oneOrMore>
0408                 <ref name="config-config-item-set"/>
0409             </oneOrMore>
0410         </element>
0411     </optional>
0412 </define>
0413 
0414 <!-- Used in: office-settings, config-items -->
0415 <define name="config-config-item-set">
0416     <element name="config:config-item-set">
0417         <ref name="config-config-item-set-attlist"/>
0418         <ref name="config-items"/>
0419     </element>
0420 </define>
0421 
0422 
0423 <!-- Used in: config-config-item-set, config-config-item-map-entry -->
0424 <define name="config-items">
0425     <oneOrMore>
0426         <choice>
0427             <ref name="config-config-item"/>
0428             <ref name="config-config-item-set"/>
0429             <ref name="config-config-item-map-named"/>
0430             <ref name="config-config-item-map-indexed"/>
0431         </choice>
0432     </oneOrMore>
0433 </define>
0434 
0435 <!-- Used in: config-config-item-set -->
0436 <define name="config-config-item-set-attlist" combine="interleave">
0437     <attribute name="config:name">
0438         <ref name="string"/>
0439     </attribute>
0440 </define>
0441 
0442 <!-- Used in: config-items -->
0443 <define name="config-config-item">
0444     <element name="config:config-item">
0445         <ref name="config-config-item-attlist"/>
0446         <text/>
0447     </element>
0448 </define>
0449 
0450 <!-- Used in: config-config-item -->
0451 <!-- Next: config-config-item-attlist -->
0452 <define name="config-config-item-attlist" combine="interleave">
0453     <attribute name="config:name">
0454         <ref name="string"/>
0455     </attribute>
0456 </define>
0457 
0458 <!-- Used in: config-config-item -->
0459 <define name="config-config-item-attlist" combine="interleave">
0460     <attribute name="config:type">
0461         <choice>
0462             <value>boolean</value>
0463             <value>short</value>
0464             <value>int</value>
0465             <value>long</value>
0466             <value>double</value>
0467             <value>string</value>
0468             <value>datetime</value>
0469             <value>base64Binary</value>
0470         </choice>
0471     </attribute>
0472 </define>
0473 
0474 <!-- Used in: config-items -->
0475 <define name="config-config-item-map-indexed">
0476     <element name="config:config-item-map-indexed">
0477         <ref name="config-config-item-map-indexed-attlist"/>
0478         <oneOrMore>
0479             <ref name="config-config-item-map-entry"/>
0480         </oneOrMore>
0481     </element>
0482 </define>
0483 
0484 <!-- Used in: config-config-item-map-indexed -->
0485 <define name="config-config-item-map-indexed-attlist" combine="interleave">
0486     <attribute name="config:name">
0487         <ref name="string"/>
0488     </attribute>
0489 </define>
0490 
0491 <!-- Used in: config-config-item-map-indexed, config-config-item-map-named -->
0492 <define name="config-config-item-map-entry">
0493     <element name="config:config-item-map-entry">
0494         <ref name="config-config-item-map-entry-attlist"/>
0495         <ref name="config-items"/>
0496     </element>
0497 </define>
0498 
0499 <!-- Used in: config-config-item-map-entry -->
0500 <define name="config-config-item-map-entry-attlist" combine="interleave">
0501     <optional>
0502         <attribute name="config:name">
0503             <ref name="string"/>
0504         </attribute>
0505     </optional>
0506 </define>
0507 
0508 <!-- Used in: config-items -->
0509 <define name="config-config-item-map-named">
0510     <element name="config:config-item-map-named">
0511         <ref name="config-config-item-map-named-attlist"/>
0512         <oneOrMore>
0513             <ref name="config-config-item-map-entry"/>
0514         </oneOrMore>
0515     </element>
0516 </define>
0517 
0518 <!-- Used in: config-config-item-map-named -->
0519 <define name="config-config-item-map-named-attlist" combine="interleave">
0520     <attribute name="config:name">
0521         <ref name="string"/>
0522     </attribute>
0523 </define>
0524 
0525 <!-- Used in: office-document, office-document-content -->
0526 <define name="office-scripts">
0527     <optional>
0528         <element name="office:scripts">
0529             <zeroOrMore>
0530                 <ref name="office-script"/>
0531             </zeroOrMore>
0532             <optional>
0533                 <ref name="office-event-listeners"/>
0534             </optional>
0535         </element>
0536     </optional>
0537 </define>
0538 
0539 <!-- Used in: office-scripts -->
0540 <define name="office-script">
0541     <element name="office:script">
0542         <ref name="office-script-attlist"/>
0543         <mixed>
0544             <ref name="anyElements"/>
0545         </mixed>
0546     </element>
0547 </define>
0548 
0549 <!-- Used in: office-script -->
0550 <define name="office-script-attlist">
0551     <attribute name="script:language">
0552         <ref name="string"/>
0553     </attribute>
0554 </define>
0555 
0556 <!-- Used in: office-document, office-document-content, office-document-styles -->
0557 <define name="office-font-face-decls">
0558     <optional>
0559         <element name="office:font-face-decls">
0560             <zeroOrMore>
0561                 <ref name="style-font-face"/>
0562             </zeroOrMore>
0563         </element>
0564     </optional>
0565 </define>
0566 
0567 <!-- Used in: office-document, office-document-styles -->
0568 <define name="office-styles">
0569     <optional>
0570         <element name="office:styles">
0571             <interleave>
0572                 <ref name="styles"/>
0573                 <zeroOrMore>
0574                     <ref name="style-default-style"/>
0575                 </zeroOrMore>
0576                 <optional>
0577                     <ref name="text-outline-style"/>
0578                 </optional>
0579                 <zeroOrMore>
0580                     <ref name="text-notes-configuration"/>
0581                 </zeroOrMore>
0582                 <optional>
0583                     <ref name="text-bibliography-configuration"/>
0584                 </optional>
0585                 <optional>
0586                     <ref name="text-linenumbering-configuration"/>
0587                 </optional>
0588                 <zeroOrMore>
0589                     <ref name="draw-gradient"/>
0590                 </zeroOrMore>
0591                 <zeroOrMore>
0592                     <ref name="svg-linearGradient"/>
0593                 </zeroOrMore>
0594                 <zeroOrMore>
0595                     <ref name="svg-radialGradient"/>
0596                 </zeroOrMore>
0597                 <zeroOrMore>
0598                     <ref name="draw-hatch"/>
0599                 </zeroOrMore>
0600                 <zeroOrMore>
0601                     <ref name="draw-fill-image"/>
0602                 </zeroOrMore>
0603                 <zeroOrMore>
0604                     <ref name="draw-marker"/>
0605                 </zeroOrMore>
0606                 <zeroOrMore>
0607                     <ref name="draw-stroke-dash"/>
0608                 </zeroOrMore>
0609                 <zeroOrMore>
0610                     <ref name="draw-opacity"/>
0611                 </zeroOrMore>
0612                 <zeroOrMore>
0613                     <ref name="style-presentation-page-layout"/>
0614                 </zeroOrMore>
0615             </interleave>
0616         </element>
0617     </optional>
0618 </define>
0619 
0620 <!-- Used in: office-document, office-document-content, office-document-styles -->
0621 <define name="office-automatic-styles">
0622     <optional>
0623         <element name="office:automatic-styles">
0624             <interleave>
0625                 <ref name="styles"/>
0626                 <zeroOrMore>
0627                     <ref name="style-page-layout"/>
0628                 </zeroOrMore>
0629             </interleave>
0630         </element>
0631     </optional>
0632 </define>
0633 
0634 <!-- Used in: office-document, office-document-styles -->
0635 <define name="office-master-styles">
0636     <optional>
0637         <element name="office:master-styles">
0638             <interleave>
0639                 <zeroOrMore>
0640                     <ref name="style-master-page"/>
0641                 </zeroOrMore>
0642                 <optional>
0643                     <ref name="style-handout-master"/>
0644                 </optional>
0645                 <optional>
0646                     <ref name="draw-layer-set"/>
0647                 </optional>
0648             </interleave>
0649         </element>
0650     </optional>
0651 </define>
0652 
0653 
0654 <!-- Used in: office-styles, office-automatic-styles -->
0655 <define name="styles">
0656     <interleave>
0657         <zeroOrMore>
0658             <ref name="style-style"/>
0659         </zeroOrMore>
0660         <zeroOrMore>
0661             <ref name="text-list-style"/>
0662         </zeroOrMore>
0663         <zeroOrMore>
0664             <ref name="number-number-style"/>
0665         </zeroOrMore>
0666         <zeroOrMore>
0667             <ref name="number-currency-style"/>
0668         </zeroOrMore>
0669         <zeroOrMore>
0670             <ref name="number-percentage-style"/>
0671         </zeroOrMore>
0672         <zeroOrMore>
0673             <ref name="number-date-style"/>
0674         </zeroOrMore>
0675         <zeroOrMore>
0676             <ref name="number-time-style"/>
0677         </zeroOrMore>
0678         <zeroOrMore>
0679             <ref name="number-boolean-style"/>
0680         </zeroOrMore>
0681         <zeroOrMore>
0682             <ref name="number-text-style"/>
0683         </zeroOrMore>
0684     </interleave>
0685 </define>
0686 
0687 <!-- Used in: office-meta-content-strict -->
0688 <!-- Next: office-meta-data -->
0689 <define name="office-meta-data" combine="choice">
0690     <element name="meta:generator">
0691         <ref name="string"/>
0692     </element>
0693 </define>
0694 
0695 <!-- Used in: office-meta-content-strict -->
0696 <!-- Next: office-meta-data -->
0697 <define name="office-meta-data" combine="choice">
0698     <element name="dc:title">
0699         <ref name="string"/>
0700     </element>
0701 </define>
0702 
0703 <!-- Used in: office-meta-content-strict -->
0704 <!-- Next: office-meta-data -->
0705 <define name="office-meta-data" combine="choice">
0706     <element name="dc:description">
0707         <ref name="string"/>
0708     </element>
0709 </define>
0710 
0711 <!-- Used in: office-meta-content-strict -->
0712 <!-- Next: office-meta-data -->
0713 <define name="office-meta-data" combine="choice">
0714     <element name="dc:subject">
0715         <ref name="string"/>
0716     </element>
0717 </define>
0718 
0719 <!-- Used in: office-meta-content-strict -->
0720 <!-- Next: office-meta-data -->
0721 <define name="office-meta-data" combine="choice">
0722     <element name="meta:keyword">
0723         <ref name="string"/>
0724     </element>
0725 </define>
0726 
0727 <!-- Used in: office-meta-content-strict -->
0728 <!-- Next: office-meta-data -->
0729 <define name="office-meta-data" combine="choice">
0730     <element name="meta:initial-creator">
0731         <ref name="string"/>
0732     </element>
0733 </define>
0734 
0735 <!-- Used in: office-meta-content-strict -->
0736 <!-- Next: office-meta-data -->
0737 <define name="office-meta-data" combine="choice">
0738     <ref name="dc-creator"/>
0739 </define>
0740 
0741 <!-- Used in: office-meta-data, office-annotation, office-change-info -->
0742 <define name="dc-creator">
0743     <element name="dc:creator">
0744         <ref name="string"/>
0745     </element>
0746 </define>
0747 
0748 <!-- Used in: office-meta-content-strict -->
0749 <!-- Next: office-meta-data -->
0750 <define name="office-meta-data" combine="choice">
0751     <element name="meta:printed-by">
0752         <ref name="string"/>
0753     </element>
0754 </define>
0755 
0756 <!-- Used in: office-meta-content-strict -->
0757 <!-- Next: office-meta-data -->
0758 <define name="office-meta-data" combine="choice">
0759     <element name="meta:creation-date">
0760         <ref name="dateTime"/>
0761     </element>
0762 </define>
0763 
0764 <!-- Used in: office-meta-content-strict -->
0765 <!-- Next: office-meta-data -->
0766 <define name="office-meta-data" combine="choice">
0767     <ref name="dc-date"/>
0768 </define>
0769 
0770 <!-- Used in: office-meta-data, office-annotation, office-change-info -->
0771 <define name="dc-date">
0772     <element name="dc:date">
0773         <ref name="dateTime"/>
0774     </element>
0775 </define>
0776 
0777 <!-- Used in: office-meta-content-strict -->
0778 <!-- Next: office-meta-data -->
0779 <define name="office-meta-data" combine="choice">
0780     <element name="meta:print-date">
0781         <ref name="dateTime"/>
0782     </element>
0783 </define>
0784 
0785 <!-- Used in: office-meta-content-strict -->
0786 <!-- Next: office-meta-data -->
0787 <define name="office-meta-data" combine="choice">
0788     <element name="meta:template">
0789         <attribute name="xlink:href">
0790             <ref name="anyURI"/>
0791         </attribute>
0792         <optional>
0793             <attribute name="xlink:type" a:defaultValue="simple">
0794                 <value>simple</value>
0795             </attribute>
0796         </optional>
0797         <optional>
0798             <attribute name="xlink:actuate" a:defaultValue="onRequest">
0799                 <value>onRequest</value>
0800             </attribute>
0801         </optional>
0802         <optional>
0803             <attribute name="xlink:title">
0804                 <ref name="string"/>
0805             </attribute>
0806         </optional>
0807         <optional>
0808             <attribute name="meta:date">
0809                 <ref name="dateTime"/>
0810             </attribute>
0811         </optional>
0812     </element>
0813 </define>
0814 
0815 <!-- Used in: office-meta-content-strict -->
0816 <!-- Next: office-meta-data -->
0817 <define name="office-meta-data" combine="choice">
0818     <element name="meta:auto-reload">
0819         <optional>
0820             <attribute name="xlink:type" a:defaultValue="simple">
0821                 <value>simple</value>
0822             </attribute>
0823         </optional>
0824         <optional>
0825             <attribute name="xlink:show" a:defaultValue="replace">
0826                 <value>replace</value>
0827             </attribute>
0828         </optional>
0829         <optional>
0830             <attribute name="xlink:actuate" a:defaultValue="onLoad">
0831                 <value>onLoad</value>
0832             </attribute>
0833         </optional>
0834         <optional>
0835             <attribute name="xlink:href">
0836                 <ref name="anyURI"/>
0837             </attribute>
0838         </optional>
0839         <optional>
0840             <attribute name="meta:delay">
0841                 <ref name="duration"/>
0842             </attribute>
0843         </optional>
0844     </element>
0845 </define>
0846 
0847 <!-- Used in: office-meta-content-strict -->
0848 <!-- Next: office-meta-data -->
0849 <define name="office-meta-data" combine="choice">
0850     <element name="meta:hyperlink-behaviour">
0851         <optional>
0852             <attribute name="office:target-frame-name">
0853                 <ref name="targetFrameName"/>
0854             </attribute>
0855         </optional>
0856         <optional>
0857             <attribute name="xlink:show">
0858                 <choice>
0859                     <value>new</value>
0860                     <value>replace</value>
0861                 </choice>
0862             </attribute>
0863         </optional>
0864     </element>
0865 </define>
0866 
0867 <!-- Used in: office-meta-content-strict -->
0868 <!-- Next: office-meta-data -->
0869 <define name="office-meta-data" combine="choice">
0870     <element name="dc:language">
0871         <ref name="language"/>
0872     </element>
0873 </define>
0874 
0875 <!-- Used in: office-meta-content-strict -->
0876 <!-- Next: office-meta-data -->
0877 <define name="office-meta-data" combine="choice">
0878     <element name="meta:editing-cycles">
0879         <ref name="nonNegativeInteger"/>
0880     </element>
0881 </define>
0882 
0883 <!-- Used in: office-meta-content-strict -->
0884 <!-- Next: office-meta-data -->
0885 <define name="office-meta-data" combine="choice">
0886     <element name="meta:editing-duration">
0887         <ref name="duration"/>
0888     </element>
0889 </define>
0890 
0891 <!-- Used in: office-meta-content-strict -->
0892 <!-- Next: office-meta-data -->
0893 <define name="office-meta-data" combine="choice">
0894     <element name="meta:document-statistic">
0895         <optional>
0896             <attribute name="meta:page-count">
0897                 <ref name="nonNegativeInteger"/>
0898             </attribute>
0899         </optional>
0900         <optional>
0901             <attribute name="meta:table-count">
0902                 <ref name="nonNegativeInteger"/>
0903             </attribute>
0904         </optional>
0905         <optional>
0906             <attribute name="meta:draw-count">
0907                 <ref name="nonNegativeInteger"/>
0908             </attribute>
0909         </optional>
0910         <optional>
0911             <attribute name="meta:image-count">
0912                 <ref name="nonNegativeInteger"/>
0913             </attribute>
0914         </optional>
0915         <optional>
0916             <attribute name="meta:ole-object-count">
0917                 <ref name="nonNegativeInteger"/>
0918             </attribute>
0919         </optional>
0920         <optional>
0921             <attribute name="meta:paragraph-count">
0922                 <ref name="nonNegativeInteger"/>
0923             </attribute>
0924         </optional>
0925         <optional>
0926             <attribute name="meta:word-count">
0927                 <ref name="nonNegativeInteger"/>
0928             </attribute>
0929         </optional>
0930         <optional>
0931             <attribute name="meta:character-count">
0932                 <ref name="nonNegativeInteger"/>
0933             </attribute>
0934         </optional>
0935         <optional>
0936             <attribute name="frame-count">
0937                 <ref name="nonNegativeInteger"/>
0938             </attribute>
0939         </optional>
0940         <optional>
0941             <attribute name="sentence-count">
0942                 <ref name="nonNegativeInteger"/>
0943             </attribute>
0944         </optional>
0945         <optional>
0946             <attribute name="syllable-count">
0947                 <ref name="nonNegativeInteger"/>
0948             </attribute>
0949         </optional>
0950         <optional>
0951             <attribute name="non-whitespace-character-count">
0952                 <ref name="nonNegativeInteger"/>
0953             </attribute>
0954         </optional>
0955         <optional>
0956             <attribute name="meta:row-count">
0957                 <ref name="nonNegativeInteger"/>
0958             </attribute>
0959         </optional>
0960         <optional>
0961             <attribute name="meta:cell-count">
0962                 <ref name="nonNegativeInteger"/>
0963             </attribute>
0964         </optional>
0965         <optional>
0966             <attribute name="meta:object-count">
0967                 <ref name="nonNegativeInteger"/>
0968             </attribute>
0969         </optional>
0970     </element>
0971 </define>
0972 
0973 <!-- Used in: office-meta-content-strict -->
0974 <define name="office-meta-data" combine="choice">
0975     <element name="meta:user-defined">
0976         <attribute name="meta:name">
0977             <ref name="string"/>
0978         </attribute>
0979         <choice>
0980             <group>
0981                 <attribute name="meta:value-type">
0982                     <value>float</value>
0983                 </attribute>
0984                 <ref name="double"/>
0985             </group>
0986             <group>
0987                 <attribute name="meta:value-type">
0988                     <value>date</value>
0989                 </attribute>
0990                 <ref name="dateOrDateTime"/>
0991             </group>
0992             <group>
0993                 <attribute name="meta:value-type">
0994                     <value>time</value>
0995                 </attribute>
0996                 <ref name="duration"/>
0997             </group>
0998             <group>
0999                 <attribute name="meta:value-type">
1000                     <value>boolean</value>
1001                 </attribute>
1002                 <ref name="boolean"/>
1003             </group>
1004             <group>
1005                 <attribute name="meta:value-type">
1006                     <value>string</value>
1007                 </attribute>
1008                 <ref name="string"/>
1009             </group>
1010             <text/>
1011         </choice>
1012     </element>
1013 </define>
1014 
1015 <!-- Used in: text-content, text-list-item-content, text-numbered-paragraph, header-footer-content -->
1016 <define name="text-h">
1017     <element name="text:h">
1018         <ref name="heading-attrs"/>
1019         <ref name="paragraph-attrs"/>
1020         <optional>
1021             <ref name="text-number"/>
1022         </optional>
1023         <zeroOrMore>
1024             <ref name="paragraph-content"/>
1025         </zeroOrMore>
1026     </element>
1027 </define>
1028 
1029 <!-- Used in: text-h -->
1030 <!-- Next: heading-attrs -->
1031 <define name="heading-attrs" combine="interleave">
1032     <attribute name="text:outline-level">
1033         <ref name="positiveInteger"/>
1034     </attribute>
1035 </define>
1036 
1037 <!-- Used in: text-h -->
1038 <!-- Next: heading-attrs -->
1039 <define name="heading-attrs" combine="interleave">
1040     <optional>
1041         <attribute name="text:restart-numbering" a:defaultValue="false">
1042             <ref name="boolean"/>
1043         </attribute>
1044     </optional>
1045 </define>
1046 
1047 <!-- Used in: text-h -->
1048 <!-- Next: heading-attrs -->
1049 <define name="heading-attrs" combine="interleave">
1050     <optional>
1051         <attribute name="text:start-value">
1052             <ref name="nonNegativeInteger"/>
1053         </attribute>
1054     </optional>
1055 </define>
1056 
1057 <!-- Used in: text-h -->
1058 <define name="heading-attrs" combine="interleave">
1059     <optional>
1060         <attribute name="text:is-list-header" a:defaultValue="false">
1061             <ref name="boolean"/>
1062         </attribute>
1063     </optional>
1064 </define>
1065 
1066 <!-- Used in: text-h, text-list-item-content, text-numbered-paragraph -->
1067 <define name="text-number">
1068     <element name="text:number">
1069         <ref name="string"/>
1070     </element>
1071 </define>
1072 
1073 <!-- Used in: text-content, text-list-item-content, text-numbered-paragraph, table-help-message, table-error-message, table-change-track-table-cell, draw-text, chart-title, chart-subtitle, chart-footer, column-controls, office-annotation, office-change-info, header-footer-content, region-content -->
1074 <define name="text-p">
1075     <element name="text:p">
1076         <ref name="paragraph-attrs"/>
1077         <zeroOrMore>
1078             <ref name="paragraph-content"/>
1079         </zeroOrMore>
1080     </element>
1081 </define>
1082 
1083 <!-- Used in: text-h, text-p -->
1084 <!-- Next: paragraph-attrs -->
1085 <define name="paragraph-attrs">
1086     <optional>
1087         <attribute name="text:style-name">
1088             <ref name="styleNameRef"/>
1089         </attribute>
1090     </optional>
1091     <optional>
1092         <attribute name="text:class-names">
1093             <ref name="styleNameRefs"/>
1094         </attribute>
1095     </optional>
1096     <optional>
1097         <attribute name="text:cond-style-name">
1098             <ref name="styleNameRef"/>
1099         </attribute>
1100     </optional>
1101 </define>
1102 
1103 <!-- Used in: text-h, text-p -->
1104 <define name="paragraph-attrs" combine="interleave">
1105     <optional>
1106         <ref name="text-id"/>
1107     </optional>
1108 </define>
1109 
1110 <!-- Used in: office-text-content-main -->
1111 <define name="text-page-sequence">
1112     <element name="text:page-sequence">
1113         <oneOrMore>
1114             <ref name="text-page"/>
1115         </oneOrMore>
1116     </element>
1117 </define>
1118 
1119 <!-- Used in: text-page-sequence -->
1120 <define name="text-page">
1121     <element name="text:page">
1122         <ref name="text-page-attlist"/>
1123         <empty/>
1124     </element>
1125 </define>
1126 
1127 <!-- Used in: text-page -->
1128 <define name="text-page-attlist">
1129     <attribute name="text:master-page-name">
1130         <ref name="styleNameRef"/>
1131     </attribute>
1132 </define>
1133 
1134 <!-- Used in: text-content, text-list-item-content, draw-text, office-annotation, header-footer-content -->
1135 <define name="text-list">
1136     <element name="text:list">
1137         <ref name="text-list-attr"/>
1138         <optional>
1139             <ref name="text-list-header"/>
1140         </optional>
1141         <zeroOrMore>
1142             <ref name="text-list-item"/>
1143         </zeroOrMore>
1144     </element>
1145 </define>
1146 
1147 <!-- Used in: text-list, text-numbered-paragraph-attr -->
1148 <!-- Next: text-list-attr -->
1149 <define name="text-list-attr" combine="interleave">
1150     <optional>
1151         <attribute name="text:style-name">
1152             <ref name="styleNameRef"/>
1153         </attribute>
1154     </optional>
1155 </define>
1156 
1157 <!-- Used in: text-list, text-numbered-paragraph-attr -->
1158 <define name="text-list-attr" combine="interleave">
1159     <optional>
1160         <attribute name="text:continue-numbering">
1161             <ref name="boolean"/>
1162         </attribute>
1163     </optional>
1164 </define>
1165 
1166 <!-- Used in: text-list -->
1167 <define name="text-list-item">
1168     <element name="text:list-item">
1169         <ref name="text-list-item-attr"/>
1170         <ref name="text-list-item-content"/>
1171     </element>
1172 </define>
1173 
1174 <!-- Used in: text-list-item, text-list-header -->
1175 <define name="text-list-item-content">
1176     <optional>
1177         <ref name="text-number"/>
1178     </optional>
1179     <zeroOrMore>
1180         <choice>
1181             <ref name="text-p"/>
1182             <ref name="text-h"/>
1183             <ref name="text-list"/>
1184         </choice>
1185     </zeroOrMore>
1186 </define>
1187 
1188 <!-- Used in: text-list-item, text-numbered-paragraph-attr -->
1189 <define name="text-list-item-attr" combine="interleave">
1190     <optional>
1191         <attribute name="text:start-value">
1192             <ref name="nonNegativeInteger"/>
1193         </attribute>
1194     </optional>
1195 </define>
1196 
1197 <!-- Used in: text-list -->
1198 <define name="text-list-header">
1199     <element name="text:list-header">
1200         <ref name="text-list-item-content"/>
1201     </element>
1202 </define>
1203 
1204 <!-- Used in: text-content -->
1205 <define name="text-numbered-paragraph">
1206     <element name="text:numbered-paragraph">
1207         <ref name="text-numbered-paragraph-attr"/>
1208         <optional>
1209             <ref name="text-number"/>
1210         </optional>
1211         <choice>
1212             <ref name="text-p"/>
1213             <ref name="text-h"/>
1214         </choice>
1215     </element>
1216 </define>
1217 
1218 <!-- Used in: text-numbered-paragraph -->
1219 <!-- Next: text-numbered-paragraph-attr -->
1220 <define name="text-numbered-paragraph-attr" combine="interleave">
1221     <optional>
1222         <attribute name="text:level" a:defaultValue="1">
1223             <ref name="positiveInteger"/>
1224         </attribute>
1225     </optional>
1226 </define>
1227 
1228 <!-- Used in: text-numbered-paragraph -->
1229 <!-- Next: text-numbered-paragraph-attr -->
1230 <define name="text-numbered-paragraph-attr" combine="interleave">
1231     <ref name="text-list-attr"/>
1232 </define>
1233 
1234 <!-- Used in: text-numbered-paragraph -->
1235 <define name="text-numbered-paragraph-attr" combine="interleave">
1236     <ref name="text-list-item-attr"/>
1237 </define>
1238 
1239 <!-- Used in: text-content, header-footer-content -->
1240 <define name="text-section">
1241     <element name="text:section">
1242         <ref name="text-section-attr"/>
1243         <choice>
1244             <ref name="text-section-source"/>
1245             <ref name="text-section-source-dde"/>
1246             <empty/>
1247         </choice>
1248         <zeroOrMore>
1249             <ref name="text-content"/>
1250         </zeroOrMore>
1251     </element>
1252 </define>
1253 
1254 <!-- Used in: text-section -->
1255 <!-- Next: text-section-attr -->
1256 <define name="text-section-attr" combine="interleave">
1257     <ref name="sectionAttr"/>
1258 </define>
1259 
1260 <!-- Used in: text-section-attr, text-index-title, text-table-of-content, text-illustration-index, text-table-index, text-object-index, text-user-index, text-alphabetical-index, text-bibliography -->
1261 <!-- Next: sectionAttr -->
1262 <define name="sectionAttr" combine="interleave">
1263     <optional>
1264         <attribute name="text:style-name">
1265             <ref name="styleNameRef"/>
1266         </attribute>
1267     </optional>
1268 </define>
1269 
1270 <!-- Used in: text-section-attr, text-index-title, text-table-of-content, text-illustration-index, text-table-index, text-object-index, text-user-index, text-alphabetical-index, text-bibliography -->
1271 <!-- Next: sectionAttr -->
1272 <define name="sectionAttr" combine="interleave">
1273     <attribute name="text:name">
1274         <ref name="string"/>
1275     </attribute>
1276 </define>
1277 
1278 <!-- Used in: text-section-attr, text-index-title, text-table-of-content, text-illustration-index, text-table-index, text-object-index, text-user-index, text-alphabetical-index, text-bibliography -->
1279 <!-- Next: sectionAttr -->
1280 <define name="sectionAttr" combine="interleave">
1281     <optional>
1282         <attribute name="text:protected">
1283             <ref name="boolean"/>
1284         </attribute>
1285     </optional>
1286 </define>
1287 
1288 <!-- Used in: text-section-attr, text-index-title, text-table-of-content, text-illustration-index, text-table-index, text-object-index, text-user-index, text-alphabetical-index, text-bibliography -->
1289 <define name="sectionAttr" combine="interleave">
1290     <optional>
1291         <attribute name="text:protection-key">
1292             <ref name="string"/>
1293         </attribute>
1294     </optional>
1295 </define>
1296 
1297 <!-- Used in: text-section -->
1298 <define name="text-section-attr" combine="interleave">
1299     <choice>
1300         <attribute name="text:display">
1301             <choice>
1302                 <value>true</value>
1303                 <value>none</value>
1304             </choice>
1305         </attribute>
1306         <group>
1307             <attribute name="text:display">
1308                 <value>condition</value>
1309             </attribute>
1310             <attribute name="text:condition">
1311                 <ref name="string"/>
1312             </attribute>
1313         </group>
1314         <empty/>
1315     </choice>
1316 </define>
1317 
1318 <!-- Used in: text-section -->
1319 <define name="text-section-source">
1320     <element name="text:section-source">
1321         <ref name="text-section-source-attr"/>
1322     </element>
1323 </define>
1324 
1325 <!-- Used in: text-section-source -->
1326 <!-- Next: text-section-source-attr -->
1327 <define name="text-section-source-attr" combine="interleave">
1328     <optional>
1329         <attribute name="xlink:href">
1330             <ref name="anyURI"/>
1331         </attribute>
1332         <optional>
1333             <attribute name="xlink:type" a:defaultValue="simple">
1334                 <value>simple</value>
1335             </attribute>
1336         </optional>
1337         <optional>
1338             <attribute name="xlink:show" a:defaultValue="embed">
1339                 <value>embed</value>
1340             </attribute>
1341         </optional>
1342     </optional>
1343 </define>
1344 
1345 <!-- Used in: text-section-source -->
1346 <!-- Next: text-section-source-attr -->
1347 <define name="text-section-source-attr" combine="interleave">
1348     <optional>
1349         <attribute name="text:section-name">
1350             <ref name="string"/>
1351         </attribute>
1352     </optional>
1353 </define>
1354 
1355 <!-- Used in: text-section-source -->
1356 <define name="text-section-source-attr" combine="interleave">
1357     <optional>
1358         <attribute name="text:filter-name">
1359             <ref name="string"/>
1360         </attribute>
1361     </optional>
1362 </define>
1363 
1364 <!-- Used in: text-section -->
1365 <define name="text-section-source-dde">
1366     <ref name="office-dde-source"/>
1367 </define>
1368 
1369 <!-- Used in: office-text-content-prelude -->
1370 <define name="text-tracked-changes">
1371     <optional>
1372         <element name="text:tracked-changes">
1373             <ref name="text-tracked-changes-attr"/>
1374             <zeroOrMore>
1375                 <ref name="text-changed-region"/>
1376             </zeroOrMore>
1377         </element>
1378     </optional>
1379 </define>
1380 
1381 <!-- Used in: text-tracked-changes -->
1382 <define name="text-tracked-changes-attr" combine="interleave">
1383     <optional>
1384         <attribute name="text:track-changes" a:defaultValue="true">
1385             <ref name="boolean"/>
1386         </attribute>
1387     </optional>
1388 </define>
1389 
1390 <!-- Used in: text-tracked-changes -->
1391 <define name="text-changed-region">
1392     <element name="text:changed-region">
1393         <ref name="text-changed-region-attr"/>
1394         <ref name="text-changed-region-content"/>
1395     </element>
1396 </define>
1397 
1398 <!-- Used in: text-changed-region -->
1399 <define name="text-changed-region-attr" combine="interleave">
1400     <attribute name="text:id">
1401         <ref name="ID"/>
1402     </attribute>
1403 </define>
1404 
1405 <!-- Used in: text-changed-region -->
1406 <!-- Next: text-changed-region-content -->
1407 <define name="text-changed-region-content" combine="choice">
1408     <element name="text:insertion">
1409         <ref name="office-change-info"/>
1410     </element>
1411 </define>
1412 
1413 <!-- Used in: text-changed-region -->
1414 <!-- Next: text-changed-region-content -->
1415 <define name="text-changed-region-content" combine="choice">
1416     <element name="text:deletion">
1417         <ref name="office-change-info"/>
1418         <zeroOrMore>
1419             <ref name="text-content"/>
1420         </zeroOrMore>
1421     </element>
1422 </define>
1423 
1424 <!-- Used in: text-changed-region -->
1425 <define name="text-changed-region-content" combine="choice">
1426     <element name="text:format-change">
1427         <ref name="office-change-info"/>
1428     </element>
1429 </define>
1430 
1431 <!-- Used in: text-content, paragraph-content, header-footer-content -->
1432 <define name="change-marks">
1433     <choice>
1434         <element name="text:change">
1435             <ref name="change-mark-attr"/>
1436         </element>
1437         <element name="text:change-start">
1438             <ref name="change-mark-attr"/>
1439         </element>
1440         <element name="text:change-end">
1441             <ref name="change-mark-attr"/>
1442         </element>
1443     </choice>
1444 </define>
1445 
1446 <!-- Used in: change-marks -->
1447 <define name="change-mark-attr">
1448     <attribute name="text:change-id">
1449         <ref name="IDREF"/>
1450     </attribute>
1451 </define>
1452 
1453 <!-- Used in: office-text-content-prelude, office-drawing-content-prelude, office-presentation-content-prelude, office-spreadsheet-content-prelude, office-chart-content-prelude, header-footer-content -->
1454 <define name="text-decls">
1455     <optional>
1456         <element name="text:variable-decls">
1457             <zeroOrMore>
1458                 <ref name="text-variable-decl"/>
1459             </zeroOrMore>
1460         </element>
1461     </optional>
1462     <optional>
1463         <element name="text:sequence-decls">
1464             <zeroOrMore>
1465                 <ref name="text-sequence-decl"/>
1466             </zeroOrMore>
1467         </element>
1468     </optional>
1469     <optional>
1470         <element name="text:user-field-decls">
1471             <zeroOrMore>
1472                 <ref name="text-user-field-decl"/>
1473             </zeroOrMore>
1474         </element>
1475     </optional>
1476     <optional>
1477         <element name="text:dde-connection-decls">
1478             <zeroOrMore>
1479                 <ref name="text-dde-connection-decl"/>
1480             </zeroOrMore>
1481         </element>
1482     </optional>
1483     <optional>
1484         <ref name="text-alphabetical-index-auto-mark-file"/>
1485     </optional>
1486 </define>
1487 
1488 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1489 <!-- Next: paragraph-content -->
1490 <define name="paragraph-content" combine="choice">
1491     <text/>
1492 </define>
1493 
1494 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1495 <!-- Next: paragraph-content -->
1496 <define name="paragraph-content" combine="choice">
1497     <element name="text:s">
1498         <optional>
1499             <attribute name="text:c">
1500                 <ref name="nonNegativeInteger"/>
1501             </attribute>
1502         </optional>
1503     </element>
1504 </define>
1505 
1506 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1507 <!-- Next: paragraph-content -->
1508 <define name="paragraph-content" combine="choice">
1509     <element name="text:tab">
1510         <ref name="text-tab-attr"/>
1511     </element>
1512 </define>
1513 
1514 <!-- Used in: paragraph-content -->
1515 <define name="text-tab-attr">
1516     <optional>
1517         <attribute name="text:tab-ref">
1518             <ref name="nonNegativeInteger"/>
1519         </attribute>
1520     </optional>
1521 </define>
1522 
1523 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1524 <!-- Next: paragraph-content -->
1525 <define name="paragraph-content" combine="choice">
1526     <element name="text:line-break">
1527         <empty/>
1528     </element>
1529 </define>
1530 
1531 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1532 <!-- Next: paragraph-content -->
1533 <define name="paragraph-content" combine="choice">
1534     <element name="text:span">
1535         <optional>
1536             <attribute name="text:style-name">
1537                 <ref name="styleNameRef"/>
1538             </attribute>
1539         </optional>
1540         <optional>
1541             <attribute name="text:class-names">
1542                 <ref name="styleNameRefs"/>
1543             </attribute>
1544         </optional>
1545         <zeroOrMore>
1546             <ref name="paragraph-content"/>
1547         </zeroOrMore>
1548     </element>
1549 </define>
1550 
1551 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1552 <!-- Next: paragraph-content -->
1553 <define name="paragraph-content" combine="choice">
1554     <element name="text:a">
1555         <ref name="text-a-attlist"/>
1556         <optional>
1557             <ref name="office-event-listeners"/>
1558         </optional>
1559         <zeroOrMore>
1560             <ref name="paragraph-content"/>
1561         </zeroOrMore>
1562     </element>
1563 </define>
1564 
1565 <!-- Used in: paragraph-content -->
1566 <!-- Next: text-a-attlist -->
1567 <define name="text-a-attlist" combine="interleave">
1568     <optional>
1569         <attribute name="office:name">
1570             <ref name="string"/>
1571         </attribute>
1572     </optional>
1573 </define>
1574 
1575 <!-- Used in: paragraph-content -->
1576 <!-- Next: text-a-attlist -->
1577 <define name="text-a-attlist" combine="interleave">
1578     <attribute name="xlink:href">
1579         <ref name="anyURI"/>
1580     </attribute>
1581     <optional>
1582         <attribute name="xlink:type" a:defaultValue="simple">
1583             <value>simple</value>
1584         </attribute>
1585     </optional>
1586     <optional>
1587         <attribute name="xlink:actuate" a:defaultValue="onRequest">
1588             <value>onRequest</value>
1589         </attribute>
1590     </optional>
1591 </define>
1592 
1593 <!-- Used in: paragraph-content -->
1594 <!-- Next: text-a-attlist -->
1595 <define name="text-a-attlist" combine="interleave">
1596     <optional>
1597         <attribute name="office:target-frame-name">
1598             <ref name="targetFrameName"/>
1599         </attribute>
1600     </optional>
1601     <optional>
1602         <attribute name="xlink:show">
1603             <choice>
1604                 <value>new</value>
1605                 <value>replace</value>
1606             </choice>
1607         </attribute>
1608     </optional>
1609 </define>
1610 
1611 <!-- Used in: paragraph-content -->
1612 <define name="text-a-attlist" combine="interleave">
1613     <optional>
1614         <attribute name="text:style-name">
1615             <ref name="styleNameRef"/>
1616         </attribute>
1617     </optional>
1618     <optional>
1619         <attribute name="text:visited-style-name">
1620             <ref name="styleNameRef"/>
1621         </attribute>
1622     </optional>
1623 </define>
1624 
1625 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1626 <!-- Next: paragraph-content -->
1627 <define name="paragraph-content" combine="choice">
1628     <choice>
1629         <element name="text:bookmark">
1630             <attribute name="text:name">
1631                 <ref name="string"/>
1632             </attribute>
1633         </element>
1634         <element name="text:bookmark-start">
1635             <attribute name="text:name">
1636                 <ref name="string"/>
1637             </attribute>
1638         </element>
1639         <element name="text:bookmark-end">
1640             <attribute name="text:name">
1641                 <ref name="string"/>
1642             </attribute>
1643         </element>
1644     </choice>
1645 </define>
1646 
1647 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1648 <!-- Next: paragraph-content -->
1649 <define name="paragraph-content" combine="choice">
1650     <element name="text:reference-mark">
1651         <attribute name="text:name">
1652             <ref name="string"/>
1653         </attribute>
1654     </element>
1655 </define>
1656 
1657 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1658 <!-- Next: paragraph-content -->
1659 <define name="paragraph-content" combine="choice">
1660     <choice>
1661         <element name="text:reference-mark-start">
1662             <attribute name="text:name">
1663                 <ref name="string"/>
1664             </attribute>
1665         </element>
1666         <element name="text:reference-mark-end">
1667             <attribute name="text:name">
1668                 <ref name="string"/>
1669             </attribute>
1670         </element>
1671     </choice>
1672 </define>
1673 
1674 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1675 <!-- Next: paragraph-content -->
1676 <define name="paragraph-content" combine="choice">
1677     <element name="text:note">
1678         <ref name="text-note-class"/>
1679         <optional>
1680             <attribute name="text:id">
1681                 <ref name="string"/>
1682             </attribute>
1683         </optional>
1684         <element name="text:note-citation">
1685             <optional>
1686                 <attribute name="text:label">
1687                     <ref name="string"/>
1688                 </attribute>
1689             </optional>
1690             <text/>
1691         </element>
1692         <element name="text:note-body">
1693             <zeroOrMore>
1694                 <ref name="text-content"/>
1695             </zeroOrMore>
1696         </element>
1697     </element>
1698 </define>
1699 
1700 <!-- Used in: paragraph-content, text-note-ref-content, text-notes-configuration-content -->
1701 <define name="text-note-class">
1702     <attribute name="text:note-class">
1703         <choice>
1704             <value>footnote</value>
1705             <value>endnote</value>
1706         </choice>
1707     </attribute>
1708 </define>
1709 
1710 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1711 <!-- Next: paragraph-content -->
1712 <define name="paragraph-content" combine="choice">
1713     <element name="text:ruby">
1714         <optional>
1715             <attribute name="text:style-name">
1716                 <ref name="styleNameRef"/>
1717             </attribute>
1718         </optional>
1719         <element name="text:ruby-base">
1720             <ref name="paragraph-content"/>
1721         </element>
1722         <element name="text:ruby-text">
1723             <optional>
1724                 <attribute name="text:style-name">
1725                     <ref name="styleNameRef"/>
1726                 </attribute>
1727             </optional>
1728             <text/>
1729         </element>
1730     </element>
1731 </define>
1732 
1733 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1734 <!-- Next: paragraph-content -->
1735 <define name="paragraph-content" combine="choice">
1736     <ref name="office-annotation"/>
1737 </define>
1738 
1739 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1740 <!-- Next: paragraph-content -->
1741 <define name="paragraph-content" combine="choice">
1742     <ref name="change-marks"/>
1743 </define>
1744 
1745 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1746 <!-- Next: paragraph-content -->
1747 <define name="paragraph-content" combine="choice">
1748     <choice>
1749         <ref name="shape"/>
1750         <ref name="draw-a"/>
1751     </choice>
1752 </define>
1753 
1754 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1755 <!-- Next: paragraph-content -->
1756 <define name="paragraph-content" combine="choice">
1757     <element name="text:date">
1758         <ref name="text-date-attlist"/>
1759         <text/>
1760     </element>
1761 </define>
1762 
1763 <!-- Used in: paragraph-content -->
1764 <!-- Next: text-date-attlist -->
1765 <define name="text-date-attlist" combine="interleave">
1766     <interleave>
1767         <ref name="common-field-fixed-attlist"/>
1768         <ref name="common-field-data-style-name-attlist"/>
1769     </interleave>
1770 </define>
1771 
1772 <!-- Used in: paragraph-content -->
1773 <!-- Next: text-date-attlist -->
1774 <define name="text-date-attlist" combine="interleave">
1775     <optional>
1776         <attribute name="text:date-value">
1777             <ref name="dateOrDateTime"/>
1778         </attribute>
1779     </optional>
1780 </define>
1781 
1782 <!-- Used in: paragraph-content -->
1783 <define name="text-date-attlist" combine="interleave">
1784     <optional>
1785         <attribute name="text:date-adjust">
1786             <ref name="duration"/>
1787         </attribute>
1788     </optional>
1789 </define>
1790 
1791 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1792 <!-- Next: paragraph-content -->
1793 <define name="paragraph-content" combine="choice">
1794     <element name="text:time">
1795         <ref name="text-time-attlist"/>
1796         <text/>
1797     </element>
1798 </define>
1799 
1800 <!-- Used in: paragraph-content -->
1801 <!-- Next: text-time-attlist -->
1802 <define name="text-time-attlist" combine="interleave">
1803     <interleave>
1804         <ref name="common-field-fixed-attlist"/>
1805         <ref name="common-field-data-style-name-attlist"/>
1806     </interleave>
1807 </define>
1808 
1809 <!-- Used in: paragraph-content -->
1810 <!-- Next: text-time-attlist -->
1811 <define name="text-time-attlist" combine="interleave">
1812     <optional>
1813         <attribute name="text:time-value">
1814             <ref name="timeOrDateTime"/>
1815         </attribute>
1816     </optional>
1817 </define>
1818 
1819 <!-- Used in: paragraph-content -->
1820 <define name="text-time-attlist" combine="interleave">
1821     <optional>
1822         <attribute name="text:time-adjust">
1823             <ref name="duration"/>
1824         </attribute>
1825     </optional>
1826 </define>
1827 
1828 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1829 <!-- Next: paragraph-content -->
1830 <define name="paragraph-content" combine="choice">
1831     <element name="text:page-number">
1832         <ref name="text-page-number-attlist"/>
1833         <text/>
1834     </element>
1835 </define>
1836 
1837 <!-- Used in: paragraph-content -->
1838 <!-- Next: text-page-number-attlist -->
1839 <define name="text-page-number-attlist" combine="interleave">
1840     <interleave>
1841         <ref name="common-field-num-format-attlist"/>
1842         <ref name="common-field-fixed-attlist"/>
1843     </interleave>
1844 </define>
1845 
1846 <!-- Used in: paragraph-content -->
1847 <!-- Next: text-page-number-attlist -->
1848 <define name="text-page-number-attlist" combine="interleave">
1849     <optional>
1850         <attribute name="text:page-adjust">
1851             <ref name="integer"/>
1852         </attribute>
1853     </optional>
1854 </define>
1855 
1856 <!-- Used in: paragraph-content -->
1857 <define name="text-page-number-attlist" combine="interleave">
1858     <optional>
1859         <attribute name="text:select-page">
1860             <choice>
1861                 <value>previous</value>
1862                 <value>current</value>
1863                 <value>next</value>
1864             </choice>
1865         </attribute>
1866     </optional>
1867 </define>
1868 
1869 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1870 <!-- Next: paragraph-content -->
1871 <define name="paragraph-content" combine="choice">
1872     <element name="text:page-continuation">
1873         <ref name="text-page-continuation-attlist"/>
1874         <text/>
1875     </element>
1876 </define>
1877 
1878 <!-- Used in: paragraph-content -->
1879 <!-- Next: text-page-continuation-attlist -->
1880 <define name="text-page-continuation-attlist" combine="interleave">
1881     <attribute name="text:select-page">
1882         <choice>
1883             <value>previous</value>
1884             <value>next</value>
1885         </choice>
1886     </attribute>
1887 </define>
1888 
1889 <!-- Used in: paragraph-content -->
1890 <define name="text-page-continuation-attlist" combine="interleave">
1891     <optional>
1892         <attribute name="text:string-value">
1893             <ref name="string"/>
1894         </attribute>
1895     </optional>
1896 </define>
1897 
1898 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1899 <!-- Next: paragraph-content -->
1900 <define name="paragraph-content" combine="choice">
1901     <element name="text:sender-firstname">
1902         <ref name="common-field-fixed-attlist"/>
1903         <text/>
1904     </element>
1905 </define>
1906 
1907 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1908 <!-- Next: paragraph-content -->
1909 <define name="paragraph-content" combine="choice">
1910     <element name="text:sender-lastname">
1911         <ref name="common-field-fixed-attlist"/>
1912         <text/>
1913     </element>
1914 </define>
1915 
1916 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1917 <!-- Next: paragraph-content -->
1918 <define name="paragraph-content" combine="choice">
1919     <element name="text:sender-initials">
1920         <ref name="common-field-fixed-attlist"/>
1921         <text/>
1922     </element>
1923 </define>
1924 
1925 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1926 <!-- Next: paragraph-content -->
1927 <define name="paragraph-content" combine="choice">
1928     <element name="text:sender-title">
1929         <ref name="common-field-fixed-attlist"/>
1930         <text/>
1931     </element>
1932 </define>
1933 
1934 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1935 <!-- Next: paragraph-content -->
1936 <define name="paragraph-content" combine="choice">
1937     <element name="text:sender-position">
1938         <ref name="common-field-fixed-attlist"/>
1939         <text/>
1940     </element>
1941 </define>
1942 
1943 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1944 <!-- Next: paragraph-content -->
1945 <define name="paragraph-content" combine="choice">
1946     <element name="text:sender-email">
1947         <ref name="common-field-fixed-attlist"/>
1948         <text/>
1949     </element>
1950 </define>
1951 
1952 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1953 <!-- Next: paragraph-content -->
1954 <define name="paragraph-content" combine="choice">
1955     <element name="text:sender-phone-private">
1956         <ref name="common-field-fixed-attlist"/>
1957         <text/>
1958     </element>
1959 </define>
1960 
1961 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1962 <!-- Next: paragraph-content -->
1963 <define name="paragraph-content" combine="choice">
1964     <element name="text:sender-fax">
1965         <ref name="common-field-fixed-attlist"/>
1966         <text/>
1967     </element>
1968 </define>
1969 
1970 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1971 <!-- Next: paragraph-content -->
1972 <define name="paragraph-content" combine="choice">
1973     <element name="text:sender-company">
1974         <ref name="common-field-fixed-attlist"/>
1975         <text/>
1976     </element>
1977 </define>
1978 
1979 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1980 <!-- Next: paragraph-content -->
1981 <define name="paragraph-content" combine="choice">
1982     <element name="text:sender-phone-work">
1983         <ref name="common-field-fixed-attlist"/>
1984         <text/>
1985     </element>
1986 </define>
1987 
1988 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1989 <!-- Next: paragraph-content -->
1990 <define name="paragraph-content" combine="choice">
1991     <element name="text:sender-street">
1992         <ref name="common-field-fixed-attlist"/>
1993         <text/>
1994     </element>
1995 </define>
1996 
1997 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
1998 <!-- Next: paragraph-content -->
1999 <define name="paragraph-content" combine="choice">
2000     <element name="text:sender-city">
2001         <ref name="common-field-fixed-attlist"/>
2002         <text/>
2003     </element>
2004 </define>
2005 
2006 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2007 <!-- Next: paragraph-content -->
2008 <define name="paragraph-content" combine="choice">
2009     <element name="text:sender-postal-code">
2010         <ref name="common-field-fixed-attlist"/>
2011         <text/>
2012     </element>
2013 </define>
2014 
2015 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2016 <!-- Next: paragraph-content -->
2017 <define name="paragraph-content" combine="choice">
2018     <element name="text:sender-country">
2019         <ref name="common-field-fixed-attlist"/>
2020         <text/>
2021     </element>
2022 </define>
2023 
2024 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2025 <!-- Next: paragraph-content -->
2026 <define name="paragraph-content" combine="choice">
2027     <element name="text:sender-state-or-province">
2028         <ref name="common-field-fixed-attlist"/>
2029         <text/>
2030     </element>
2031 </define>
2032 
2033 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2034 <!-- Next: paragraph-content -->
2035 <define name="paragraph-content" combine="choice">
2036     <element name="text:author-name">
2037         <ref name="common-field-fixed-attlist"/>
2038         <text/>
2039     </element>
2040 </define>
2041 
2042 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2043 <!-- Next: paragraph-content -->
2044 <define name="paragraph-content" combine="choice">
2045     <element name="text:author-initials">
2046         <ref name="common-field-fixed-attlist"/>
2047         <text/>
2048     </element>
2049 </define>
2050 
2051 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2052 <!-- Next: paragraph-content -->
2053 <define name="paragraph-content" combine="choice">
2054     <element name="text:chapter">
2055         <ref name="text-chapter-attlist"/>
2056         <text/>
2057     </element>
2058 </define>
2059 
2060 <!-- Used in: paragraph-content -->
2061 <!-- Next: text-chapter-attlist -->
2062 <define name="text-chapter-attlist" combine="interleave">
2063     <attribute name="text:display">
2064         <choice>
2065             <value>name</value>
2066             <value>number</value>
2067             <value>number-and-name</value>
2068             <value>plain-number-and-name</value>
2069             <value>plain-number</value>
2070         </choice>
2071     </attribute>
2072 </define>
2073 
2074 <!-- Used in: paragraph-content -->
2075 <define name="text-chapter-attlist" combine="interleave">
2076     <attribute name="text:outline-level">
2077         <ref name="nonNegativeInteger"/>
2078     </attribute>
2079 </define>
2080 
2081 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2082 <!-- Next: paragraph-content -->
2083 <define name="paragraph-content" combine="choice">
2084     <element name="text:file-name">
2085         <ref name="text-file-name-attlist"/>
2086         <text/>
2087     </element>
2088 </define>
2089 
2090 <!-- Used in: paragraph-content -->
2091 <!-- Next: text-file-name-attlist -->
2092 <define name="text-file-name-attlist" combine="interleave">
2093     <optional>
2094         <attribute name="text:display">
2095             <choice>
2096                 <value>full</value>
2097                 <value>path</value>
2098                 <value>name</value>
2099                 <value>name-and-extension</value>
2100             </choice>
2101         </attribute>
2102     </optional>
2103 </define>
2104 
2105 <!-- Used in: paragraph-content -->
2106 <define name="text-file-name-attlist" combine="interleave">
2107     <ref name="common-field-fixed-attlist"/>
2108 </define>
2109 
2110 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2111 <!-- Next: paragraph-content -->
2112 <define name="paragraph-content" combine="choice">
2113     <element name="text:template-name">
2114         <ref name="text-template-name-attlist"/>
2115         <text/>
2116     </element>
2117 </define>
2118 
2119 <!-- Used in: paragraph-content -->
2120 <define name="text-template-name-attlist">
2121     <optional>
2122         <attribute name="text:display">
2123             <choice>
2124                 <value>full</value>
2125                 <value>path</value>
2126                 <value>name</value>
2127                 <value>name-and-extension</value>
2128                 <value>area</value>
2129                 <value>title</value>
2130             </choice>
2131         </attribute>
2132     </optional>
2133 </define>
2134 
2135 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2136 <!-- Next: paragraph-content -->
2137 <define name="paragraph-content" combine="choice">
2138     <element name="text:sheet-name">
2139         <text/>
2140     </element>
2141 </define>
2142 
2143 <!-- Used in: text-decls -->
2144 <define name="text-variable-decl">
2145     <element name="text:variable-decl">
2146         <ref name="common-field-name-attlist"/>
2147         <ref name="common-value-type-attlist"/>
2148     </element>
2149 </define>
2150 
2151 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2152 <!-- Next: paragraph-content -->
2153 <define name="paragraph-content" combine="choice">
2154     <element name="text:variable-set">
2155         <interleave>
2156             <ref name="common-field-name-attlist"/>
2157             <ref name="common-field-formula-attlist"/>
2158             <ref name="common-value-and-type-attlist"/>
2159             <ref name="common-field-display-value-none-attlist"/>
2160             <ref name="common-field-data-style-name-attlist"/>
2161         </interleave>
2162         <text/>
2163     </element>
2164 </define>
2165 
2166 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2167 <!-- Next: paragraph-content -->
2168 <define name="paragraph-content" combine="choice">
2169     <element name="text:variable-get">
2170         <interleave>
2171             <ref name="common-field-name-attlist"/>
2172             <ref name="common-field-display-value-formula-attlist"/>
2173             <ref name="common-field-data-style-name-attlist"/>
2174         </interleave>
2175         <text/>
2176     </element>
2177 </define>
2178 
2179 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2180 <!-- Next: paragraph-content -->
2181 <define name="paragraph-content" combine="choice">
2182     <element name="text:variable-input">
2183         <interleave>
2184             <ref name="common-field-name-attlist"/>
2185             <ref name="common-field-description-attlist"/>
2186             <ref name="common-value-type-attlist"/>
2187             <ref name="common-field-display-value-none-attlist"/>
2188             <ref name="common-field-data-style-name-attlist"/>
2189         </interleave>
2190         <text/>
2191     </element>
2192 </define>
2193 
2194 <!-- Used in: text-decls -->
2195 <define name="text-user-field-decl">
2196     <element name="text:user-field-decl">
2197         <ref name="common-field-name-attlist"/>
2198         <optional>
2199             <ref name="common-field-formula-attlist"/>
2200         </optional>
2201         <ref name="common-value-and-type-attlist"/>
2202     </element>
2203 </define>
2204 
2205 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2206 <!-- Next: paragraph-content -->
2207 <define name="paragraph-content" combine="choice">
2208     <element name="text:user-field-get">
2209         <interleave>
2210             <ref name="common-field-name-attlist"/>
2211             <ref name="common-field-display-value-formula-none-attlist"/>
2212             <ref name="common-field-data-style-name-attlist"/>
2213         </interleave>
2214         <text/>
2215     </element>
2216 </define>
2217 
2218 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2219 <!-- Next: paragraph-content -->
2220 <define name="paragraph-content" combine="choice">
2221     <element name="text:user-field-input">
2222         <interleave>
2223             <ref name="common-field-name-attlist"/>
2224             <ref name="common-field-description-attlist"/>
2225             <ref name="common-field-data-style-name-attlist"/>
2226         </interleave>
2227         <text/>
2228     </element>
2229 </define>
2230 
2231 <!-- Used in: text-decls -->
2232 <define name="text-sequence-decl">
2233     <element name="text:sequence-decl">
2234         <ref name="text-sequence-decl-attlist"/>
2235     </element>
2236 </define>
2237 
2238 <!-- Used in: text-sequence-decl -->
2239 <!-- Next: text-sequence-decl-attlist -->
2240 <define name="text-sequence-decl-attlist" combine="interleave">
2241     <ref name="common-field-name-attlist"/>
2242 </define>
2243 
2244 <!-- Used in: text-sequence-decl -->
2245 <!-- Next: text-sequence-decl-attlist -->
2246 <define name="text-sequence-decl-attlist" combine="interleave">
2247     <attribute name="text:display-outline-level">
2248         <ref name="nonNegativeInteger"/>
2249     </attribute>
2250 </define>
2251 
2252 <!-- Used in: text-sequence-decl -->
2253 <define name="text-sequence-decl-attlist" combine="interleave">
2254     <optional>
2255         <attribute name="text:separation-character">
2256             <ref name="character"/>
2257         </attribute>
2258     </optional>
2259 </define>
2260 
2261 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2262 <!-- Next: paragraph-content -->
2263 <define name="paragraph-content" combine="choice">
2264     <element name="text:sequence">
2265         <interleave>
2266             <ref name="common-field-name-attlist"/>
2267             <ref name="common-field-formula-attlist"/>
2268             <ref name="common-field-num-format-attlist"/>
2269             <ref name="text-sequence-ref-name"/>
2270         </interleave>
2271         <text/>
2272     </element>
2273 </define>
2274 
2275 <!-- Used in: paragraph-content -->
2276 <define name="text-sequence-ref-name">
2277     <optional>
2278         <attribute name="text:ref-name">
2279             <ref name="string"/>
2280         </attribute>
2281     </optional>
2282 </define>
2283 
2284 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2285 <!-- Next: paragraph-content -->
2286 <define name="paragraph-content" combine="choice">
2287     <element name="text:expression">
2288         <interleave>
2289             <ref name="common-field-formula-attlist"/>
2290             <optional>
2291                 <ref name="common-value-and-type-attlist"/>
2292             </optional>
2293             <ref name="common-field-display-value-formula-attlist"/>
2294             <ref name="common-field-data-style-name-attlist"/>
2295         </interleave>
2296         <text/>
2297     </element>
2298 </define>
2299 
2300 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2301 <!-- Next: paragraph-content -->
2302 <define name="paragraph-content" combine="choice">
2303     <element name="text:text-input">
2304         <ref name="common-field-description-attlist"/>
2305         <text/>
2306     </element>
2307 </define>
2308 
2309 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2310 <!-- Next: paragraph-content -->
2311 <define name="paragraph-content" combine="choice">
2312     <element name="text:initial-creator">
2313         <ref name="common-field-fixed-attlist"/>
2314         <text/>
2315     </element>
2316 </define>
2317 
2318 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2319 <!-- Next: paragraph-content -->
2320 <define name="paragraph-content" combine="choice">
2321     <element name="text:creation-date">
2322         <interleave>
2323             <ref name="common-field-fixed-attlist"/>
2324             <ref name="common-field-data-style-name-attlist"/>
2325             <optional>
2326                 <attribute name="text:date-value">
2327                     <ref name="dateOrDateTime"/>
2328                 </attribute>
2329             </optional>
2330         </interleave>
2331         <text/>
2332     </element>
2333 </define>
2334 
2335 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2336 <!-- Next: paragraph-content -->
2337 <define name="paragraph-content" combine="choice">
2338     <element name="text:creation-time">
2339         <interleave>
2340             <ref name="common-field-fixed-attlist"/>
2341             <ref name="common-field-data-style-name-attlist"/>
2342             <optional>
2343                 <attribute name="text:time-value">
2344                     <ref name="timeOrDateTime"/>
2345                 </attribute>
2346             </optional>
2347         </interleave>
2348         <text/>
2349     </element>
2350 </define>
2351 
2352 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2353 <!-- Next: paragraph-content -->
2354 <define name="paragraph-content" combine="choice">
2355     <element name="text:description">
2356         <ref name="common-field-fixed-attlist"/>
2357         <text/>
2358     </element>
2359 </define>
2360 
2361 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2362 <!-- Next: paragraph-content -->
2363 <define name="paragraph-content" combine="choice">
2364     <element name="text:user-defined">
2365         <interleave>
2366             <ref name="common-field-fixed-attlist"/>
2367             <attribute name="text:name">
2368                 <ref name="string"/>
2369             </attribute>
2370             <ref name="common-field-data-style-name-attlist"/>
2371             <optional>
2372                 <attribute name="office:value">
2373                     <ref name="double"/>
2374                 </attribute>
2375             </optional>
2376             <optional>
2377                 <attribute name="office:date-value">
2378                     <ref name="dateOrDateTime"/>
2379                 </attribute>
2380             </optional>
2381             <optional>
2382                 <attribute name="office:time-value">
2383                     <ref name="duration"/>
2384                 </attribute>
2385             </optional>
2386             <optional>
2387                 <attribute name="office:boolean-value">
2388                     <ref name="boolean"/>
2389                 </attribute>
2390             </optional>
2391             <optional>
2392                 <attribute name="office:string-value">
2393                     <ref name="string"/>
2394                 </attribute>
2395             </optional>
2396         </interleave>
2397         <text/>
2398     </element>
2399 </define>
2400 
2401 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2402 <!-- Next: paragraph-content -->
2403 <define name="paragraph-content" combine="choice">
2404     <element name="text:print-time">
2405         <interleave>
2406             <ref name="common-field-fixed-attlist"/>
2407             <ref name="common-field-data-style-name-attlist"/>
2408             <optional>
2409                 <attribute name="text:time-value">
2410                     <ref name="time"/>
2411                 </attribute>
2412             </optional>
2413         </interleave>
2414         <text/>
2415     </element>
2416 </define>
2417 
2418 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2419 <!-- Next: paragraph-content -->
2420 <define name="paragraph-content" combine="choice">
2421     <element name="text:print-date">
2422         <interleave>
2423             <ref name="common-field-fixed-attlist"/>
2424             <ref name="common-field-data-style-name-attlist"/>
2425             <optional>
2426                 <attribute name="text:date-value">
2427                     <ref name="date"/>
2428                 </attribute>
2429             </optional>
2430         </interleave>
2431         <text/>
2432     </element>
2433 </define>
2434 
2435 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2436 <!-- Next: paragraph-content -->
2437 <define name="paragraph-content" combine="choice">
2438     <element name="text:printed-by">
2439         <ref name="common-field-fixed-attlist"/>
2440         <text/>
2441     </element>
2442 </define>
2443 
2444 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2445 <!-- Next: paragraph-content -->
2446 <define name="paragraph-content" combine="choice">
2447     <element name="text:title">
2448         <ref name="common-field-fixed-attlist"/>
2449         <text/>
2450     </element>
2451 </define>
2452 
2453 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2454 <!-- Next: paragraph-content -->
2455 <define name="paragraph-content" combine="choice">
2456     <element name="text:subject">
2457         <ref name="common-field-fixed-attlist"/>
2458         <text/>
2459     </element>
2460 </define>
2461 
2462 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2463 <!-- Next: paragraph-content -->
2464 <define name="paragraph-content" combine="choice">
2465     <element name="text:keywords">
2466         <ref name="common-field-fixed-attlist"/>
2467         <text/>
2468     </element>
2469 </define>
2470 
2471 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2472 <!-- Next: paragraph-content -->
2473 <define name="paragraph-content" combine="choice">
2474     <element name="text:editing-cycles">
2475         <ref name="common-field-fixed-attlist"/>
2476         <text/>
2477     </element>
2478 </define>
2479 
2480 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2481 <!-- Next: paragraph-content -->
2482 <define name="paragraph-content" combine="choice">
2483     <element name="text:editing-duration">
2484         <interleave>
2485             <ref name="common-field-fixed-attlist"/>
2486             <ref name="common-field-data-style-name-attlist"/>
2487             <optional>
2488                 <attribute name="text:duration">
2489                     <ref name="duration"/>
2490                 </attribute>
2491             </optional>
2492         </interleave>
2493         <text/>
2494     </element>
2495 </define>
2496 
2497 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2498 <!-- Next: paragraph-content -->
2499 <define name="paragraph-content" combine="choice">
2500     <element name="text:modification-time">
2501         <interleave>
2502             <ref name="common-field-fixed-attlist"/>
2503             <ref name="common-field-data-style-name-attlist"/>
2504             <optional>
2505                 <attribute name="text:time-value">
2506                     <ref name="time"/>
2507                 </attribute>
2508             </optional>
2509         </interleave>
2510         <text/>
2511     </element>
2512 </define>
2513 
2514 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2515 <!-- Next: paragraph-content -->
2516 <define name="paragraph-content" combine="choice">
2517     <element name="text:modification-date">
2518         <interleave>
2519             <ref name="common-field-fixed-attlist"/>
2520             <ref name="common-field-data-style-name-attlist"/>
2521             <optional>
2522                 <attribute name="text:date-value">
2523                     <ref name="date"/>
2524                 </attribute>
2525             </optional>
2526         </interleave>
2527         <text/>
2528     </element>
2529 </define>
2530 
2531 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2532 <!-- Next: paragraph-content -->
2533 <define name="paragraph-content" combine="choice">
2534     <element name="text:creator">
2535         <ref name="common-field-fixed-attlist"/>
2536         <text/>
2537     </element>
2538 </define>
2539 
2540 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2541 <!-- Next: paragraph-content -->
2542 <define name="paragraph-content" combine="choice">
2543     <element>
2544         <choice>
2545             <name>text:page-count</name>
2546             <name>text:paragraph-count</name>
2547             <name>text:word-count</name>
2548             <name>text:character-count</name>
2549             <name>text:table-count</name>
2550             <name>text:image-count</name>
2551             <name>text:object-count</name>
2552         </choice>
2553         <ref name="common-field-num-format-attlist"/>
2554         <text/>
2555     </element>
2556 </define>
2557 
2558 <!-- Used in: text-database-display-attlist, text-database-next-attlist, text-database-row-select-attlist, paragraph-content, paragraph-content -->
2559 <define name="common-field-database-table">
2560     <ref name="common-field-database-table-attlist"/>
2561     <ref name="common-field-database-name"/>
2562 </define>
2563 
2564 <!-- Used in: common-field-database-table -->
2565 <!-- Next: common-field-database-name -->
2566 <define name="common-field-database-name" combine="choice">
2567     <optional>
2568         <attribute name="text:database-name">
2569             <ref name="string"/>
2570         </attribute>
2571     </optional>
2572 </define>
2573 
2574 <!-- Used in: common-field-database-table -->
2575 <define name="common-field-database-name" combine="choice">
2576     <ref name="form-connection-resource"/>
2577 </define>
2578 
2579 <!-- Used in: common-field-database-table -->
2580 <!-- Next: common-field-database-table-attlist -->
2581 <define name="common-field-database-table-attlist" combine="interleave">
2582     <attribute name="text:table-name">
2583         <ref name="string"/>
2584     </attribute>
2585 </define>
2586 
2587 <!-- Used in: common-field-database-table -->
2588 <define name="common-field-database-table-attlist" combine="interleave">
2589     <optional>
2590         <attribute name="text:table-type">
2591             <choice>
2592                 <value>table</value>
2593                 <value>query</value>
2594                 <value>command</value>
2595             </choice>
2596         </attribute>
2597     </optional>
2598 </define>
2599 
2600 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2601 <!-- Next: paragraph-content -->
2602 <define name="paragraph-content" combine="choice">
2603     <element name="text:database-display">
2604         <ref name="text-database-display-attlist"/>
2605         <text/>
2606     </element>
2607 </define>
2608 
2609 <!-- Used in: paragraph-content -->
2610 <!-- Next: text-database-display-attlist -->
2611 <define name="text-database-display-attlist" combine="interleave">
2612     <ref name="common-field-database-table"/>
2613 </define>
2614 
2615 <!-- Used in: paragraph-content -->
2616 <!-- Next: text-database-display-attlist -->
2617 <define name="text-database-display-attlist" combine="interleave">
2618     <ref name="common-field-data-style-name-attlist"/>
2619 </define>
2620 
2621 <!-- Used in: paragraph-content -->
2622 <define name="text-database-display-attlist" combine="interleave">
2623     <attribute name="text:column-name">
2624         <ref name="string"/>
2625     </attribute>
2626 </define>
2627 
2628 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2629 <!-- Next: paragraph-content -->
2630 <define name="paragraph-content" combine="choice">
2631     <element name="text:database-next">
2632         <ref name="text-database-next-attlist"/>
2633     </element>
2634 </define>
2635 
2636 <!-- Used in: paragraph-content -->
2637 <!-- Next: text-database-next-attlist -->
2638 <define name="text-database-next-attlist" combine="interleave">
2639     <ref name="common-field-database-table"/>
2640 </define>
2641 
2642 <!-- Used in: paragraph-content -->
2643 <define name="text-database-next-attlist" combine="interleave">
2644     <optional>
2645         <attribute name="text:condition">
2646             <ref name="formula"/>
2647         </attribute>
2648     </optional>
2649 </define>
2650 
2651 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2652 <!-- Next: paragraph-content -->
2653 <define name="paragraph-content" combine="choice">
2654     <element name="text:database-row-select">
2655         <ref name="text-database-row-select-attlist"/>
2656     </element>
2657 </define>
2658 
2659 <!-- Used in: paragraph-content -->
2660 <!-- Next: text-database-row-select-attlist -->
2661 <define name="text-database-row-select-attlist" combine="interleave">
2662     <ref name="common-field-database-table"/>
2663 </define>
2664 
2665 <!-- Used in: paragraph-content -->
2666 <!-- Next: text-database-row-select-attlist -->
2667 <define name="text-database-row-select-attlist" combine="interleave">
2668     <optional>
2669         <attribute name="text:condition">
2670             <ref name="formula"/>
2671         </attribute>
2672     </optional>
2673 </define>
2674 
2675 <!-- Used in: paragraph-content -->
2676 <define name="text-database-row-select-attlist" combine="interleave">
2677     <optional>
2678         <attribute name="text:row-number">
2679             <ref name="nonNegativeInteger"/>
2680         </attribute>
2681     </optional>
2682 </define>
2683 
2684 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2685 <!-- Next: paragraph-content -->
2686 <define name="paragraph-content" combine="choice">
2687     <element name="text:database-row-number">
2688         <interleave>
2689             <ref name="common-field-database-table"/>
2690             <ref name="common-field-num-format-attlist"/>
2691             <optional>
2692                 <attribute name="text:value">
2693                     <ref name="nonNegativeInteger"/>
2694                 </attribute>
2695             </optional>
2696         </interleave>
2697         <text/>
2698     </element>
2699 </define>
2700 
2701 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2702 <!-- Next: paragraph-content -->
2703 <define name="paragraph-content" combine="choice">
2704     <element name="text:database-name">
2705         <ref name="common-field-database-table"/>
2706         <text/>
2707     </element>
2708 </define>
2709 
2710 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2711 <!-- Next: paragraph-content -->
2712 <define name="paragraph-content" combine="choice">
2713     <element name="text:page-variable-set">
2714         <ref name="text-set-page-variable-attlist"/>
2715         <text/>
2716     </element>
2717 </define>
2718 
2719 <!-- Used in: paragraph-content -->
2720 <!-- Next: text-set-page-variable-attlist -->
2721 <define name="text-set-page-variable-attlist" combine="interleave">
2722     <optional>
2723         <attribute name="text:active">
2724             <ref name="boolean"/>
2725         </attribute>
2726     </optional>
2727 </define>
2728 
2729 <!-- Used in: paragraph-content -->
2730 <define name="text-set-page-variable-attlist" combine="interleave">
2731     <optional>
2732         <attribute name="text:page-adjust">
2733             <ref name="integer"/>
2734         </attribute>
2735     </optional>
2736 </define>
2737 
2738 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2739 <!-- Next: paragraph-content -->
2740 <define name="paragraph-content" combine="choice">
2741     <element name="text:page-variable-get">
2742         <ref name="text-get-page-variable-attlist"/>
2743         <text/>
2744     </element>
2745 </define>
2746 
2747 <!-- Used in: paragraph-content -->
2748 <define name="text-get-page-variable-attlist" combine="interleave">
2749     <ref name="common-field-num-format-attlist"/>
2750 </define>
2751 
2752 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2753 <!-- Next: paragraph-content -->
2754 <define name="paragraph-content" combine="choice">
2755     <element name="text:placeholder">
2756         <ref name="text-placeholder-attlist"/>
2757         <text/>
2758     </element>
2759 </define>
2760 
2761 <!-- Used in: paragraph-content -->
2762 <!-- Next: text-placeholder-attlist -->
2763 <define name="text-placeholder-attlist" combine="interleave">
2764     <attribute name="text:placeholder-type">
2765         <choice>
2766             <value>text</value>
2767             <value>table</value>
2768             <value>text-box</value>
2769             <value>image</value>
2770             <value>object</value>
2771         </choice>
2772     </attribute>
2773 </define>
2774 
2775 <!-- Used in: paragraph-content -->
2776 <define name="text-placeholder-attlist" combine="interleave">
2777     <ref name="common-field-description-attlist"/>
2778 </define>
2779 
2780 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2781 <!-- Next: paragraph-content -->
2782 <define name="paragraph-content" combine="choice">
2783     <element name="text:conditional-text">
2784         <ref name="text-conditional-text-attlist"/>
2785         <text/>
2786     </element>
2787 </define>
2788 
2789 <!-- Used in: paragraph-content -->
2790 <!-- Next: text-conditional-text-attlist -->
2791 <define name="text-conditional-text-attlist" combine="interleave">
2792     <attribute name="text:condition">
2793         <ref name="formula"/>
2794     </attribute>
2795 </define>
2796 
2797 <!-- Used in: paragraph-content -->
2798 <!-- Next: text-conditional-text-attlist -->
2799 <define name="text-conditional-text-attlist" combine="interleave">
2800     <attribute name="text:string-value-if-true">
2801         <ref name="string"/>
2802     </attribute>
2803 </define>
2804 
2805 <!-- Used in: paragraph-content -->
2806 <!-- Next: text-conditional-text-attlist -->
2807 <define name="text-conditional-text-attlist" combine="interleave">
2808     <attribute name="text:string-value-if-false">
2809         <ref name="string"/>
2810     </attribute>
2811 </define>
2812 
2813 <!-- Used in: paragraph-content -->
2814 <define name="text-conditional-text-attlist" combine="interleave">
2815     <optional>
2816         <attribute name="text:current-value">
2817             <ref name="boolean"/>
2818         </attribute>
2819     </optional>
2820 </define>
2821 
2822 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2823 <!-- Next: paragraph-content -->
2824 <define name="paragraph-content" combine="choice">
2825     <element name="text:hidden-text">
2826         <ref name="text-hidden-text-attlist"/>
2827         <text/>
2828     </element>
2829 </define>
2830 
2831 <!-- Used in: paragraph-content -->
2832 <!-- Next: text-hidden-text-attlist -->
2833 <define name="text-hidden-text-attlist" combine="interleave">
2834     <attribute name="text:condition">
2835         <ref name="formula"/>
2836     </attribute>
2837 </define>
2838 
2839 <!-- Used in: paragraph-content -->
2840 <!-- Next: text-hidden-text-attlist -->
2841 <define name="text-hidden-text-attlist" combine="interleave">
2842     <attribute name="text:string-value">
2843         <ref name="string"/>
2844     </attribute>
2845 </define>
2846 
2847 <!-- Used in: paragraph-content -->
2848 <define name="text-hidden-text-attlist" combine="interleave">
2849     <optional>
2850         <attribute name="text:is-hidden">
2851             <ref name="boolean"/>
2852         </attribute>
2853     </optional>
2854 </define>
2855 
2856 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2857 <!-- Next: paragraph-content -->
2858 <define name="paragraph-content" combine="choice">
2859     <element>
2860         <choice>
2861             <name>text:reference-ref</name>
2862             <name>text:bookmark-ref</name>
2863         </choice>
2864         <interleave>
2865             <ref name="text-common-ref-content"/>
2866             <ref name="text-ref-content"/>
2867         </interleave>
2868     </element>
2869 </define>
2870 
2871 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2872 <!-- Next: paragraph-content -->
2873 <define name="paragraph-content" combine="choice">
2874     <element name="text:note-ref">
2875         <interleave>
2876             <ref name="text-common-ref-content"/>
2877             <ref name="text-note-ref-content"/>
2878             <ref name="text-ref-content"/>
2879         </interleave>
2880     </element>
2881 </define>
2882 
2883 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2884 <!-- Next: paragraph-content -->
2885 <define name="paragraph-content" combine="choice">
2886     <element name="text:sequence-ref">
2887         <interleave>
2888             <ref name="text-common-ref-content"/>
2889             <ref name="text-sequence-ref-content"/>
2890         </interleave>
2891     </element>
2892 </define>
2893 
2894 <!-- Used in: paragraph-content, paragraph-content, paragraph-content -->
2895 <!-- Next: text-common-ref-content -->
2896 <define name="text-common-ref-content" combine="interleave">
2897     <text/>
2898 </define>
2899 
2900 <!-- Used in: paragraph-content, paragraph-content, paragraph-content -->
2901 <define name="text-common-ref-content" combine="interleave">
2902     <optional>
2903         <attribute name="text:ref-name">
2904             <ref name="string"/>
2905         </attribute>
2906     </optional>
2907 </define>
2908 
2909 <!-- Used in: paragraph-content -->
2910 <define name="text-note-ref-content" combine="interleave">
2911     <ref name="text-note-class"/>
2912 </define>
2913 
2914 <!-- Used in: paragraph-content, paragraph-content -->
2915 <define name="text-ref-content" combine="interleave">
2916     <optional>
2917         <attribute name="text:reference-format">
2918             <choice>
2919                 <value>page</value>
2920                 <value>chapter</value>
2921                 <value>direction</value>
2922                 <value>text</value>
2923             </choice>
2924         </attribute>
2925     </optional>
2926 </define>
2927 
2928 <!-- Used in: paragraph-content -->
2929 <define name="text-sequence-ref-content" combine="interleave">
2930     <optional>
2931         <attribute name="text:reference-format">
2932             <choice>
2933                 <value>page</value>
2934                 <value>chapter</value>
2935                 <value>direction</value>
2936                 <value>text</value>
2937                 <value>category-and-value</value>
2938                 <value>caption</value>
2939                 <value>value</value>
2940             </choice>
2941         </attribute>
2942     </optional>
2943 </define>
2944 
2945 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2946 <!-- Next: paragraph-content -->
2947 <define name="paragraph-content" combine="choice">
2948     <element name="text:script">
2949         <interleave>
2950             <choice>
2951                 <group>
2952                     <attribute name="xlink:href">
2953                         <ref name="anyURI"/>
2954                     </attribute>
2955                     <optional>
2956                         <attribute name="xlink:type" a:defaultValue="simple">
2957                             <value>simple</value>
2958                         </attribute>
2959                     </optional>
2960                 </group>    
2961                 <text/>
2962             </choice>
2963             <optional>
2964                 <attribute name="script:language">
2965                     <ref name="string"/>
2966                 </attribute>
2967             </optional>
2968         </interleave>
2969     </element>
2970 </define>
2971 
2972 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2973 <!-- Next: paragraph-content -->
2974 <define name="paragraph-content" combine="choice">
2975     <element name="text:execute-macro">
2976         <optional>
2977             <attribute name="text:name">
2978                 <ref name="string"/>
2979             </attribute>
2980         </optional>
2981         <optional>
2982             <ref name="office-event-listeners"/>
2983         </optional>
2984         <text/>
2985     </element>
2986 </define>
2987 
2988 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
2989 <!-- Next: paragraph-content -->
2990 <define name="paragraph-content" combine="choice">
2991     <element name="text:hidden-paragraph">
2992         <ref name="text-hidden-paragraph-attlist"/>
2993         <text/>
2994     </element>
2995 </define>
2996 
2997 <!-- Used in: paragraph-content -->
2998 <!-- Next: text-hidden-paragraph-attlist -->
2999 <define name="text-hidden-paragraph-attlist" combine="interleave">
3000     <attribute name="text:condition">
3001         <ref name="formula"/>
3002     </attribute>
3003 </define>
3004 
3005 <!-- Used in: paragraph-content -->
3006 <define name="text-hidden-paragraph-attlist" combine="interleave">
3007     <optional>
3008         <attribute name="text:is-hidden">
3009             <ref name="boolean"/>
3010         </attribute>
3011     </optional>
3012 </define>
3013 
3014 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3015 <!-- Next: paragraph-content -->
3016 <define name="paragraph-content" combine="choice">
3017     <element name="text:dde-connection">
3018         <attribute name="text:connection-name">
3019             <ref name="string"/>
3020         </attribute>
3021         <text/>
3022     </element>
3023 </define>
3024 
3025 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3026 <!-- Next: paragraph-content -->
3027 <define name="paragraph-content" combine="choice">
3028     <element name="text:measure">
3029         <attribute name="text:kind">
3030             <choice>
3031                 <value>value</value>
3032                 <value>unit</value>
3033                 <value>gap</value>
3034             </choice>
3035         </attribute>
3036         <text/>
3037     </element>
3038 </define>
3039 
3040 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3041 <!-- Next: paragraph-content -->
3042 <define name="paragraph-content" combine="choice">
3043     <element name="text:table-formula">
3044         <interleave>
3045             <ref name="common-field-formula-attlist"/>
3046             <ref name="common-field-display-value-formula-attlist"/>
3047             <ref name="common-field-data-style-name-attlist"/>
3048         </interleave>
3049         <text/>
3050     </element>
3051 </define>
3052 
3053 <!-- Used in: text-variable-decl, paragraph-content -->
3054 <define name="common-value-type-attlist">
3055     <attribute name="office:value-type">
3056         <ref name="valueType"/>
3057     </attribute>
3058 </define>
3059 
3060 <!-- Used in: paragraph-content, text-user-field-decl, paragraph-content, table-table-cell-attlist, table-change-track-table-cell-attlist, form-property-value-and-type-attlist -->
3061 <define name="common-value-and-type-attlist">
3062     <choice>
3063         <group>
3064             <attribute name="office:value-type">
3065                 <value>float</value>
3066             </attribute>
3067             <attribute name="office:value">
3068                 <ref name="double"/>
3069             </attribute>
3070         </group>
3071         <group>
3072             <attribute name="office:value-type">
3073                 <value>percentage</value>
3074             </attribute>
3075             <attribute name="office:value">
3076                 <ref name="double"/>
3077             </attribute>
3078         </group>
3079         <group>
3080             <attribute name="office:value-type">
3081                 <value>currency</value>
3082             </attribute>
3083             <attribute name="office:value">
3084                 <ref name="double"/>
3085             </attribute>
3086             <optional>
3087                 <attribute name="office:currency">
3088                     <ref name="string"/>
3089                 </attribute>
3090             </optional>
3091         </group>
3092         <group>
3093             <attribute name="office:value-type">
3094                 <value>date</value>
3095             </attribute>
3096             <attribute name="office:date-value">
3097                 <ref name="dateOrDateTime"/>
3098             </attribute>
3099         </group>
3100         <group>
3101             <attribute name="office:value-type">
3102                 <value>time</value>
3103             </attribute>
3104             <attribute name="office:time-value">
3105                 <ref name="duration"/>
3106             </attribute>
3107         </group>
3108         <group>
3109             <attribute name="office:value-type">
3110                 <value>boolean</value>
3111             </attribute>
3112             <attribute name="office:boolean-value">
3113                 <ref name="boolean"/>
3114             </attribute>
3115         </group>
3116         <group>
3117             <attribute name="office:value-type">
3118                 <value>string</value>
3119             </attribute>
3120             <optional>
3121                 <attribute name="office:string-value">
3122                     <ref name="string"/>
3123                 </attribute>
3124             </optional>
3125         </group>
3126     </choice>
3127 </define>
3128 
3129 <!-- Used in: text-date-attlist, text-time-attlist, text-page-number-attlist, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, text-file-name-attlist, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content -->
3130 <define name="common-field-fixed-attlist">
3131     <optional>
3132         <attribute name="text:fixed">
3133             <ref name="boolean"/>
3134         </attribute>
3135     </optional>
3136 </define>
3137 
3138 <!-- Used in: text-variable-decl, paragraph-content, paragraph-content, paragraph-content, text-user-field-decl, paragraph-content, paragraph-content, text-sequence-decl-attlist, paragraph-content -->
3139 <define name="common-field-name-attlist">
3140     <attribute name="text:name">
3141         <ref name="variableName"/>
3142     </attribute>
3143 </define>
3144 
3145 <!-- Used in: paragraph-content, paragraph-content, paragraph-content, text-placeholder-attlist -->
3146 <define name="common-field-description-attlist">
3147     <optional>
3148         <attribute name="text:description">
3149             <text/>
3150         </attribute>
3151     </optional>
3152 </define>
3153 
3154 <!-- Used in: paragraph-content, paragraph-content -->
3155 <define name="common-field-display-value-none-attlist">
3156     <optional>
3157         <attribute name="text:display">
3158             <choice>
3159                 <value>value</value>
3160                 <value>none</value>
3161             </choice>
3162         </attribute>
3163     </optional>
3164 </define>
3165 
3166 <!-- Used in: paragraph-content -->
3167 <define name="common-field-display-value-formula-none-attlist">
3168     <optional>
3169         <attribute name="text:display">
3170             <choice>
3171                 <value>value</value>
3172                 <value>formula</value>
3173                 <value>none</value>
3174             </choice>
3175         </attribute>
3176     </optional>
3177 </define>
3178 
3179 <!-- Used in: paragraph-content, paragraph-content, paragraph-content -->
3180 <define name="common-field-display-value-formula-attlist">
3181     <optional>
3182         <attribute name="text:display">
3183             <choice>
3184                 <value>value</value>
3185                 <value>formula</value>
3186             </choice>
3187         </attribute>
3188     </optional>
3189 </define>
3190 
3191 <!-- Used in: paragraph-content, text-user-field-decl, paragraph-content, paragraph-content, paragraph-content -->
3192 <define name="common-field-formula-attlist">
3193     <optional>
3194         <attribute name="text:formula">
3195             <ref name="formula"/>
3196         </attribute>
3197     </optional>
3198 </define>
3199 
3200 <!-- Used in: text-date-attlist, text-time-attlist, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content, text-database-display-attlist, paragraph-content -->
3201 <define name="common-field-data-style-name-attlist">
3202     <optional>
3203         <attribute name="style:data-style-name">
3204             <ref name="styleNameRef"/>
3205         </attribute>
3206     </optional>
3207 </define>
3208 
3209 <!-- Used in: text-page-number-attlist, paragraph-content, paragraph-content, paragraph-content, text-get-page-variable-attlist -->
3210 <define name="common-field-num-format-attlist">
3211     <optional>
3212         <ref name="common-num-format-attlist"/>
3213     </optional>
3214 </define>
3215 
3216 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3217 <!-- Next: paragraph-content -->
3218 <define name="paragraph-content" combine="choice">
3219     <element name="text:toc-mark-start">
3220         <ref name="text-toc-mark-start-attrs"/>
3221     </element>
3222 </define>
3223 
3224 <!-- Used in: paragraph-content -->
3225 <define name="text-toc-mark-start-attrs">
3226     <ref name="text-id"/>
3227     <ref name="text-outline-level"/>
3228 </define>
3229 
3230 <!-- Used in: text-toc-mark-start-attrs, paragraph-content, paragraph-content, paragraph-content, paragraph-content -->
3231 <define name="text-outline-level">
3232     <optional>
3233         <attribute name="text:outline-level">
3234             <ref name="positiveInteger"/>
3235         </attribute>
3236     </optional>
3237 </define>
3238 
3239 <!-- Used in: paragraph-attrs, text-toc-mark-start-attrs, paragraph-content, paragraph-content, paragraph-content, paragraph-content, paragraph-content -->
3240 <define name="text-id">
3241     <attribute name="text:id">
3242         <ref name="string"/>
3243     </attribute>
3244 </define>
3245 
3246 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3247 <!-- Next: paragraph-content -->
3248 <define name="paragraph-content" combine="choice">
3249     <element name="text:toc-mark-end">
3250         <ref name="text-id"/>
3251     </element>
3252 </define>
3253 
3254 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3255 <!-- Next: paragraph-content -->
3256 <define name="paragraph-content" combine="choice">
3257     <element name="text:toc-mark">
3258         <attribute name="text:string-value">
3259             <ref name="string"/>
3260         </attribute>
3261         <ref name="text-outline-level"/>
3262     </element>
3263 </define>
3264 
3265 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3266 <!-- Next: paragraph-content -->
3267 <define name="paragraph-content" combine="choice">
3268     <element name="text:user-index-mark-start">
3269         <ref name="text-id"/>
3270         <ref name="text-outline-level"/>
3271         <ref name="text-index-name"/>
3272     </element>
3273 </define>
3274 
3275 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3276 <!-- Next: paragraph-content -->
3277 <define name="paragraph-content" combine="choice">
3278     <element name="text:user-index-mark-end">
3279         <ref name="text-id"/>
3280         <ref name="text-outline-level"/>
3281     </element>
3282 </define>
3283 
3284 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3285 <!-- Next: paragraph-content -->
3286 <define name="paragraph-content" combine="choice">
3287     <element name="text:user-index-mark">
3288         <attribute name="text:string-value">
3289             <ref name="string"/>
3290         </attribute>
3291         <ref name="text-outline-level"/>
3292         <ref name="text-index-name"/>
3293     </element>
3294 </define>
3295 
3296 <!-- Used in: paragraph-content, paragraph-content -->
3297 <define name="text-index-name">
3298     <attribute name="text:index-name">
3299         <ref name="string"/>
3300     </attribute>
3301 </define>
3302 
3303 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3304 <!-- Next: paragraph-content -->
3305 <define name="paragraph-content" combine="choice">
3306     <element name="text:alphabetical-index-mark-start">
3307         <ref name="text-id"/>
3308         <ref name="text-alphabetical-index-mark-attrs"/>
3309     </element>
3310 </define>
3311 
3312 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3313 <!-- Next: paragraph-content -->
3314 <define name="paragraph-content" combine="choice">
3315     <element name="text:alphabetical-index-mark-end">
3316         <ref name="text-id"/>
3317     </element>
3318 </define>
3319 
3320 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3321 <!-- Next: paragraph-content -->
3322 <define name="paragraph-content" combine="choice">
3323     <element name="text:alphabetical-index-mark">
3324         <attribute name="text:string-value">
3325             <ref name="string"/>
3326         </attribute>
3327         <ref name="text-alphabetical-index-mark-attrs"/>
3328     </element>
3329 </define>
3330 
3331 <!-- Used in: paragraph-content, paragraph-content -->
3332 <!-- Next: text-alphabetical-index-mark-attrs -->
3333 <define name="text-alphabetical-index-mark-attrs" combine="interleave">
3334     <optional>
3335         <attribute name="text:key1">
3336             <ref name="string"/>
3337         </attribute>
3338     </optional>
3339     <optional>
3340         <attribute name="text:key2">
3341             <ref name="string"/>
3342         </attribute>
3343     </optional>
3344 </define>
3345 
3346 <!-- Used in: paragraph-content, paragraph-content -->
3347 <!-- Next: text-alphabetical-index-mark-attrs -->
3348 <define name="text-alphabetical-index-mark-attrs" combine="interleave">
3349     <optional>
3350         <attribute name="text:string-value-phonetic">
3351             <ref name="string"/>
3352         </attribute>
3353     </optional>
3354     <optional>
3355         <attribute name="text:key1-phonetic">
3356             <ref name="string"/>
3357         </attribute>
3358     </optional>
3359     <optional>
3360         <attribute name="text:key2-phonetic">
3361             <ref name="string"/>
3362         </attribute>
3363     </optional>
3364 </define>
3365 
3366 <!-- Used in: paragraph-content, paragraph-content -->
3367 <define name="text-alphabetical-index-mark-attrs" combine="interleave">
3368     <optional>
3369         <attribute name="text:main-entry" a:defaultValue="false">
3370             <ref name="boolean"/>
3371         </attribute>
3372     </optional>
3373 </define>
3374 
3375 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
3376 <!-- Next: paragraph-content -->
3377 <define name="paragraph-content" combine="choice">
3378     <element name="text:bibliography-mark">
3379         <attribute name="text:bibliography-type">
3380             <ref name="text-bibliography-types"/>
3381         </attribute>
3382         <zeroOrMore>
3383             <attribute>
3384                 <choice>
3385                     <name>text:identifier</name>
3386                     <name>text:address</name>
3387                     <name>text:annote</name>
3388                     <name>text:author</name>
3389                     <name>text:booktitle</name>
3390                     <name>text:chapter</name>
3391                     <name>text:edition</name>
3392                     <name>text:editor</name>
3393                     <name>text:howpublished</name>
3394                     <name>text:institution</name>
3395                     <name>text:journal</name>
3396                     <name>text:month</name>
3397                     <name>text:note</name>
3398                     <name>text:number</name>
3399                     <name>text:organizations</name>
3400                     <name>text:pages</name>
3401                     <name>text:publisher</name>
3402                     <name>text:school</name>
3403                     <name>text:series</name>
3404                     <name>text:title</name>
3405                     <name>text:report-type</name>
3406                     <name>text:volume</name>
3407                     <name>text:year</name>
3408                     <name>text:url</name>
3409                     <name>text:custom1</name>
3410                     <name>text:custom2</name>
3411                     <name>text:custom3</name>
3412                     <name>text:custom4</name>
3413                     <name>text:custom5</name>
3414                     <name>text:isbn</name>
3415                     <name>text:issn</name>
3416                 </choice>
3417                 <ref name="string"/>
3418             </attribute>
3419         </zeroOrMore>
3420         <text/>
3421     </element>
3422 </define>
3423 
3424 <!-- Used in: paragraph-content, text-bibliography-entry-template-attrs -->
3425 <define name="text-bibliography-types">
3426     <choice>
3427         <value>article</value>
3428         <value>book</value>
3429         <value>booklet</value>
3430         <value>conference</value>
3431         <value>custom1</value>
3432         <value>custom2</value>
3433         <value>custom3</value>
3434         <value>custom4</value>
3435         <value>custom5</value>
3436         <value>email</value>
3437         <value>inbook</value>
3438         <value>incollection</value>
3439         <value>inproceedings</value>
3440         <value>journal</value>
3441         <value>manual</value>
3442         <value>mastersthesis</value>
3443         <value>misc</value>
3444         <value>phdthesis</value>
3445         <value>proceedings</value>
3446         <value>techreport</value>
3447         <value>unpublished</value>
3448         <value>www</value>
3449     </choice>
3450 </define>
3451 
3452 <!-- Used in: text-table-of-content, text-illustration-index, text-table-index, text-object-index, text-user-index, text-alphabetical-index, text-bibliography -->
3453 <define name="text-index-body">
3454     <element name="text:index-body">
3455         <zeroOrMore>
3456             <ref name="index-content-main"/>
3457         </zeroOrMore>
3458     </element>
3459 </define>
3460 
3461 <!-- Used in: text-index-body, text-index-title -->
3462 <define name="index-content-main">
3463     <choice>
3464         <ref name="text-content"/>
3465         <ref name="text-index-title"/>
3466     </choice>
3467 </define>
3468 
3469 <!-- Used in: index-content-main, header-footer-content -->
3470 <define name="text-index-title">
3471     <element name="text:index-title">
3472         <ref name="sectionAttr"/>
3473         <zeroOrMore>
3474             <ref name="index-content-main"/>
3475         </zeroOrMore>
3476     </element>
3477 </define>
3478 
3479 <!-- Used in: text-content, header-footer-content -->
3480 <define name="text-table-of-content">
3481     <element name="text:table-of-content">
3482         <ref name="sectionAttr"/>
3483         <ref name="text-table-of-content-source"/>
3484         <ref name="text-index-body"/>
3485     </element>
3486 </define>
3487 
3488 <!-- Used in: text-table-of-content -->
3489 <define name="text-table-of-content-source">
3490     <element name="text:table-of-content-source">
3491         <ref name="text-table-of-content-source-attlist"/>
3492         <optional>
3493             <ref name="text-index-title-template"/>
3494         </optional>
3495         <zeroOrMore>
3496             <ref name="text-table-of-content-entry-template"/>
3497         </zeroOrMore>
3498         <zeroOrMore>
3499             <ref name="text-index-source-styles"/>
3500         </zeroOrMore>
3501     </element>
3502 </define>
3503 
3504 <!-- Used in: text-table-of-content-source -->
3505 <!-- Next: text-table-of-content-source-attlist -->
3506 <define name="text-table-of-content-source-attlist" combine="interleave">
3507     <optional>
3508         <attribute name="text:outline-level">
3509             <choice>
3510                 <ref name="positiveInteger"/>
3511             </choice>
3512         </attribute>
3513     </optional>
3514 </define>
3515 
3516 <!-- Used in: text-table-of-content-source -->
3517 <!-- Next: text-table-of-content-source-attlist -->
3518 <define name="text-table-of-content-source-attlist" combine="interleave">
3519     <optional>
3520         <attribute name="text:use-outline-level" a:defaultValue="true">
3521             <ref name="boolean"/>
3522         </attribute>
3523     </optional>
3524 </define>
3525 
3526 <!-- Used in: text-table-of-content-source -->
3527 <!-- Next: text-table-of-content-source-attlist -->
3528 <define name="text-table-of-content-source-attlist" combine="interleave">
3529     <optional>
3530         <attribute name="text:use-index-marks">
3531             <ref name="boolean"/>
3532         </attribute>
3533     </optional>
3534 </define>
3535 
3536 <!-- Used in: text-table-of-content-source -->
3537 <!-- Next: text-table-of-content-source-attlist -->
3538 <define name="text-table-of-content-source-attlist" combine="interleave">
3539     <optional>
3540         <attribute name="text:use-index-source-styles">
3541             <ref name="boolean"/>
3542         </attribute>
3543     </optional>
3544 </define>
3545 
3546 <!-- Used in: text-table-of-content-source -->
3547 <!-- Next: text-table-of-content-source-attlist -->
3548 <define name="text-table-of-content-source-attlist" combine="interleave">
3549     <optional>
3550         <attribute name="text:index-scope">
3551             <choice>
3552                 <value>document</value>
3553                 <value>chapter</value>
3554             </choice>
3555         </attribute>
3556     </optional>
3557 </define>
3558 
3559 <!-- Used in: text-table-of-content-source -->
3560 <define name="text-table-of-content-source-attlist" combine="interleave">
3561     <optional>
3562         <attribute name="text:relative-tab-stop-position">
3563             <ref name="boolean"/>
3564         </attribute>
3565     </optional>
3566 </define>
3567 
3568 <!-- Used in: text-table-of-content-source -->
3569 <define name="text-table-of-content-entry-template">
3570     <element name="text:table-of-content-entry-template">
3571         <ref name="text-table-of-content-entry-template-attlist"/>
3572         <zeroOrMore>
3573             <ref name="text-table-of-content-children"/>
3574 
3575         </zeroOrMore>
3576     </element>
3577 </define>
3578 
3579 <!-- Used in: text-table-of-content-entry-template -->
3580 <define name="text-table-of-content-children">
3581     <choice>
3582         <ref name="text-index-entry-chapter"/>
3583         <ref name="text-index-entry-page-number"/>
3584         <ref name="text-index-entry-text"/>
3585         <ref name="text-index-entry-span"/>
3586         <ref name="text-index-entry-tab-stop"/>
3587         <ref name="text-index-entry-link-start"/>
3588         <ref name="text-index-entry-link-end"/>
3589     </choice>
3590 </define>
3591 
3592 <!-- Used in: text-table-of-content-entry-template -->
3593 <!-- Next: text-table-of-content-entry-template-attlist -->
3594 <define name="text-table-of-content-entry-template-attlist" combine="interleave">
3595     <attribute name="text:outline-level">
3596         <ref name="positiveInteger"/>
3597     </attribute>
3598 </define>
3599 
3600 <!-- Used in: text-table-of-content-entry-template -->
3601 <define name="text-table-of-content-entry-template-attlist" combine="interleave">
3602     <attribute name="text:style-name">
3603         <ref name="styleNameRef"/>
3604     </attribute>
3605 </define>
3606 
3607 <!-- Used in: text-content, header-footer-content -->
3608 <define name="text-illustration-index">
3609     <element name="text:illustration-index">
3610         <ref name="sectionAttr"/>
3611         <ref name="text-illustration-index-source"/>
3612         <ref name="text-index-body"/>
3613     </element>
3614 </define>
3615 
3616 <!-- Used in: text-illustration-index -->
3617 <define name="text-illustration-index-source">
3618     <element name="text:illustration-index-source">
3619         <ref name="text-illustration-index-source-attrs"/>
3620         <optional>
3621             <ref name="text-index-title-template"/>
3622         </optional>
3623         <optional>
3624             <ref name="text-illustration-index-entry-template"/>
3625         </optional>
3626     </element>
3627 </define>
3628 
3629 <!-- Used in: text-illustration-index-source, text-table-index-source -->
3630 <!-- Next: text-illustration-index-source-attrs -->
3631 <define name="text-illustration-index-source-attrs" combine="interleave">
3632     <ref name="text-index-scope-attr"/>
3633 </define>
3634 
3635 <!-- Used in: text-illustration-index-source-attrs, text-object-index-source-attrs, text-user-index-source-attr, text-alphabetical-index-source-attrs -->
3636 <define name="text-index-scope-attr">
3637     <optional>
3638         <attribute name="text:index-scope" a:defaultValue="document">
3639             <choice>
3640                 <value>document</value>
3641                 <value>chapter</value>
3642             </choice>
3643         </attribute>
3644     </optional>
3645 </define>
3646 
3647 <!-- Used in: text-illustration-index-source, text-table-index-source -->
3648 <!-- Next: text-illustration-index-source-attrs -->
3649 <define name="text-illustration-index-source-attrs" combine="interleave">
3650     <ref name="text-relative-tab-stop-position-attr"/>
3651 </define>
3652 
3653 <!-- Used in: text-illustration-index-source-attrs, text-object-index-source-attrs, text-user-index-source-attr, text-alphabetical-index-source-attrs -->
3654 <define name="text-relative-tab-stop-position-attr">
3655     <optional>
3656         <attribute name="text:relative-tab-stop-position" a:defaultValue="true">
3657             <ref name="boolean"/>
3658         </attribute>
3659     </optional>
3660 </define>
3661 
3662 <!-- Used in: text-illustration-index-source, text-table-index-source -->
3663 <!-- Next: text-illustration-index-source-attrs -->
3664 <define name="text-illustration-index-source-attrs" combine="interleave">
3665     <optional>
3666         <attribute name="text:use-caption" a:defaultValue="true">
3667             <ref name="boolean"/>
3668         </attribute>
3669     </optional>
3670 </define>
3671 
3672 <!-- Used in: text-illustration-index-source, text-table-index-source -->
3673 <!-- Next: text-illustration-index-source-attrs -->
3674 <define name="text-illustration-index-source-attrs" combine="interleave">
3675     <optional>
3676         <attribute name="text:caption-sequence-name">
3677             <ref name="string"/>
3678         </attribute>
3679     </optional>
3680 </define>
3681 
3682 <!-- Used in: text-illustration-index-source, text-table-index-source -->
3683 <define name="text-illustration-index-source-attrs" combine="interleave">
3684     <optional>
3685         <attribute name="text:caption-sequence-format">
3686             <choice>
3687                 <value>text</value>
3688                 <value>category-and-value</value>
3689                 <value>caption</value>
3690             </choice>
3691         </attribute>
3692     </optional>
3693 </define>
3694 
3695 <!-- Used in: text-illustration-index-source -->
3696 <define name="text-illustration-index-entry-template">
3697     <element name="text:illustration-index-entry-template">
3698         <ref name="text-illustration-index-entry-content"/>
3699     </element>
3700 </define>
3701 
3702 <!-- Used in: text-illustration-index-entry-template, text-table-index-entry-template, text-object-index-entry-template -->
3703 <define name="text-illustration-index-entry-content">
3704     <ref name="text-illustration-index-entry-template-attrs"/>
3705     <zeroOrMore>
3706         <choice>
3707             <ref name="text-index-entry-page-number"/>
3708             <ref name="text-index-entry-text"/>
3709             <ref name="text-index-entry-span"/>
3710             <ref name="text-index-entry-tab-stop"/>
3711         </choice>
3712     </zeroOrMore>
3713 </define>
3714 
3715 <!-- Used in: text-illustration-index-entry-content -->
3716 <define name="text-illustration-index-entry-template-attrs">
3717     <attribute name="text:style-name">
3718         <ref name="styleNameRef"/>
3719     </attribute>
3720 </define>
3721 
3722 <!-- Used in: text-content, header-footer-content -->
3723 <define name="text-table-index">
3724     <element name="text:table-index">
3725         <ref name="sectionAttr"/>
3726         <ref name="text-table-index-source"/>
3727         <ref name="text-index-body"/>
3728     </element>
3729 </define>
3730 
3731 <!-- Used in: text-table-index -->
3732 <define name="text-table-index-source">
3733     <element name="text:table-index-source">
3734         <ref name="text-illustration-index-source-attrs"/>
3735         <optional>
3736             <ref name="text-index-title-template"/>
3737         </optional>
3738         <optional>
3739             <ref name="text-table-index-entry-template"/>
3740         </optional>
3741     </element>
3742 </define>
3743 
3744 <!-- Used in: text-table-index-source -->
3745 <define name="text-table-index-entry-template">
3746     <element name="text:table-index-entry-template">
3747         <ref name="text-illustration-index-entry-content"/>
3748     </element>
3749 </define>
3750 
3751 <!-- Used in: text-content, header-footer-content -->
3752 <define name="text-object-index">
3753     <element name="text:object-index">
3754         <ref name="sectionAttr"/>
3755         <ref name="text-object-index-source"/>
3756         <ref name="text-index-body"/>
3757     </element>
3758 </define>
3759 
3760 <!-- Used in: text-object-index -->
3761 <define name="text-object-index-source">
3762     <element name="text:object-index-source">
3763         <ref name="text-object-index-source-attrs"/>
3764         <optional>
3765             <ref name="text-index-title-template"/>
3766         </optional>
3767         <optional>
3768             <ref name="text-object-index-entry-template"/>
3769         </optional>
3770     </element>
3771 </define>
3772 
3773 <!-- Used in: text-object-index-source -->
3774 <!-- Next: text-object-index-source-attrs -->
3775 <define name="text-object-index-source-attrs" combine="interleave">
3776     <ref name="text-index-scope-attr"/>
3777 </define>
3778 
3779 <!-- Used in: text-object-index-source -->
3780 <!-- Next: text-object-index-source-attrs -->
3781 <define name="text-object-index-source-attrs" combine="interleave">
3782     <ref name="text-relative-tab-stop-position-attr"/>
3783 </define>
3784 
3785 <!-- Used in: text-object-index-source -->
3786 <!-- Next: text-object-index-source-attrs -->
3787 <define name="text-object-index-source-attrs" combine="interleave">
3788     <optional>
3789         <attribute name="text:use-spreadsheet-objects" a:defaultValue="false">
3790             <ref name="boolean"/>
3791         </attribute>
3792     </optional>
3793 </define>
3794 
3795 <!-- Used in: text-object-index-source -->
3796 <!-- Next: text-object-index-source-attrs -->
3797 <define name="text-object-index-source-attrs" combine="interleave">
3798     <optional>
3799         <attribute name="text:use-math-objects" a:defaultValue="false">
3800             <ref name="boolean"/>
3801         </attribute>
3802     </optional>
3803 </define>
3804 
3805 <!-- Used in: text-object-index-source -->
3806 <!-- Next: text-object-index-source-attrs -->
3807 <define name="text-object-index-source-attrs" combine="interleave">
3808     <optional>
3809         <attribute name="text:use-draw-objects" a:defaultValue="false">
3810             <ref name="boolean"/>
3811         </attribute>
3812     </optional>
3813 </define>
3814 
3815 <!-- Used in: text-object-index-source -->
3816 <!-- Next: text-object-index-source-attrs -->
3817 <define name="text-object-index-source-attrs" combine="interleave">
3818     <optional>
3819         <attribute name="text:use-chart-objects" a:defaultValue="false">
3820             <ref name="boolean"/>
3821         </attribute>
3822     </optional>
3823 </define>
3824 
3825 <!-- Used in: text-object-index-source -->
3826 <define name="text-object-index-source-attrs" combine="interleave">
3827     <optional>
3828         <attribute name="text:use-other-objects" a:defaultValue="false">
3829             <ref name="boolean"/>
3830         </attribute>
3831     </optional>
3832 </define>
3833 
3834 <!-- Used in: text-object-index-source -->
3835 <define name="text-object-index-entry-template">
3836     <element name="text:object-index-entry-template">
3837         <ref name="text-illustration-index-entry-content"/>
3838     </element>
3839 </define>
3840 
3841 <!-- Used in: text-content, header-footer-content -->
3842 <define name="text-user-index">
3843     <element name="text:user-index">
3844         <ref name="sectionAttr"/>
3845         <ref name="text-user-index-source"/>
3846         <ref name="text-index-body"/>
3847     </element>
3848 </define>
3849 
3850 <!-- Used in: text-user-index -->
3851 <define name="text-user-index-source">
3852     <element name="text:user-index-source">
3853         <ref name="text-user-index-source-attr"/>
3854         <optional>
3855             <ref name="text-index-title-template"/>
3856         </optional>
3857         <zeroOrMore>
3858             <ref name="text-user-index-entry-template"/>
3859         </zeroOrMore>
3860         <zeroOrMore>
3861             <ref name="text-index-source-styles"/>
3862         </zeroOrMore>
3863     </element>
3864 </define>
3865 
3866 <!-- Used in: text-user-index-source -->
3867 <!-- Next: text-user-index-source-attr -->
3868 <define name="text-user-index-source-attr" combine="interleave">
3869     <ref name="text-index-scope-attr"/>
3870     <ref name="text-relative-tab-stop-position-attr"/>
3871     <attribute name="text:index-name">
3872         <ref name="string"/>
3873     </attribute>
3874 </define>
3875 
3876 <!-- Used in: text-user-index-source -->
3877 <!-- Next: text-user-index-source-attr -->
3878 <define name="text-user-index-source-attr" combine="interleave">
3879     <optional>
3880         <attribute name="text:use-index-marks" a:defaultValue="false">
3881             <ref name="boolean"/>
3882         </attribute>
3883     </optional>
3884     <optional>
3885         <attribute name="text:use-graphics" a:defaultValue="false">
3886             <ref name="boolean"/>
3887         </attribute>
3888     </optional>
3889     <optional>
3890         <attribute name="text:use-tables" a:defaultValue="false">
3891             <ref name="boolean"/>
3892         </attribute>
3893     </optional>
3894     <optional>
3895         <attribute name="text:use-floating-frames" a:defaultValue="false">
3896             <ref name="boolean"/>
3897         </attribute>
3898     </optional>
3899     <optional>
3900         <attribute name="text:use-objects" a:defaultValue="false">
3901             <ref name="boolean"/>
3902         </attribute>
3903     </optional>
3904 </define>
3905 
3906 <!-- Used in: text-user-index-source -->
3907 <define name="text-user-index-source-attr" combine="interleave">
3908     <optional>
3909         <attribute name="text:copy-outline-levels" a:defaultValue="false">
3910             <ref name="boolean"/>
3911         </attribute>
3912     </optional>
3913 </define>
3914 
3915 <!-- Used in: text-user-index-source -->
3916 <define name="text-user-index-entry-template">
3917     <element name="text:user-index-entry-template">
3918         <ref name="text-user-index-entry-template-attrs"/>
3919         <zeroOrMore>
3920             <choice>
3921                 <ref name="text-index-entry-chapter"/>
3922                 <ref name="text-index-entry-page-number"/>
3923                 <ref name="text-index-entry-text"/>
3924                 <ref name="text-index-entry-span"/>
3925                 <ref name="text-index-entry-tab-stop"/>
3926             </choice>
3927         </zeroOrMore>
3928     </element>
3929 </define>
3930 
3931 <!-- Used in: text-user-index-entry-template -->
3932 <!-- Next: text-user-index-entry-template-attrs -->
3933 <define name="text-user-index-entry-template-attrs" combine="interleave">
3934     <attribute name="text:outline-level">
3935         <ref name="positiveInteger"/>
3936     </attribute>
3937 </define>
3938 
3939 <!-- Used in: text-user-index-entry-template -->
3940 <define name="text-user-index-entry-template-attrs" combine="interleave">
3941     <attribute name="text:style-name">
3942         <ref name="styleNameRef"/>
3943     </attribute>
3944 </define>
3945 
3946 <!-- Used in: text-content, header-footer-content -->
3947 <define name="text-alphabetical-index">
3948     <element name="text:alphabetical-index">
3949         <ref name="sectionAttr"/>
3950         <ref name="text-alphabetical-index-source"/>
3951         <ref name="text-index-body"/>
3952     </element>
3953 </define>
3954 
3955 <!-- Used in: text-alphabetical-index -->
3956 <define name="text-alphabetical-index-source">
3957     <element name="text:alphabetical-index-source">
3958         <ref name="text-alphabetical-index-source-attrs"/>
3959         <optional>
3960             <ref name="text-index-title-template"/>
3961         </optional>
3962         <zeroOrMore>
3963             <ref name="text-alphabetical-index-entry-template"/>
3964         </zeroOrMore>
3965     </element>
3966 </define>
3967 
3968 <!-- Used in: text-alphabetical-index-source -->
3969 <!-- Next: text-alphabetical-index-source-attrs -->
3970 <define name="text-alphabetical-index-source-attrs" combine="interleave">
3971     <ref name="text-index-scope-attr"/>
3972     <ref name="text-relative-tab-stop-position-attr"/>
3973 </define>
3974 
3975 <!-- Used in: text-alphabetical-index-source -->
3976 <!-- Next: text-alphabetical-index-source-attrs -->
3977 <define name="text-alphabetical-index-source-attrs" combine="interleave">
3978     <optional>
3979         <attribute name="text:ignore-case" a:defaultValue="false">
3980             <ref name="boolean"/>
3981         </attribute>
3982     </optional>
3983 </define>
3984 
3985 <!-- Used in: text-alphabetical-index-source -->
3986 <!-- Next: text-alphabetical-index-source-attrs -->
3987 <define name="text-alphabetical-index-source-attrs" combine="interleave">
3988     <optional>
3989         <attribute name="text:main-entry-style-name">
3990             <ref name="styleNameRef"/>
3991         </attribute>
3992     </optional>
3993 </define>
3994 
3995 <!-- Used in: text-alphabetical-index-source -->
3996 <!-- Next: text-alphabetical-index-source-attrs -->
3997 <define name="text-alphabetical-index-source-attrs" combine="interleave">
3998     <optional>
3999         <attribute name="text:alphabetical-separators" a:defaultValue="false">
4000             <ref name="boolean"/>
4001         </attribute>
4002     </optional>
4003 </define>
4004 
4005 <!-- Used in: text-alphabetical-index-source -->
4006 <!-- Next: text-alphabetical-index-source-attrs -->
4007 <define name="text-alphabetical-index-source-attrs" combine="interleave">
4008     <optional>
4009         <attribute name="text:combine-entries" a:defaultValue="true">
4010             <ref name="boolean"/>
4011         </attribute>
4012     </optional>
4013     <optional>
4014         <attribute name="text:combine-entries-with-dash" a:defaultValue="false">
4015             <ref name="boolean"/>
4016         </attribute>
4017     </optional>
4018     <optional>
4019         <attribute name="text:combine-entries-with-pp" a:defaultValue="true">
4020             <ref name="boolean"/>
4021         </attribute>
4022     </optional>
4023 </define>
4024 
4025 <!-- Used in: text-alphabetical-index-source -->
4026 <!-- Next: text-alphabetical-index-source-attrs -->
4027 <define name="text-alphabetical-index-source-attrs" combine="interleave">
4028     <optional>
4029         <attribute name="text:use-keys-as-entries" a:defaultValue="false">
4030             <ref name="boolean"/>
4031         </attribute>
4032     </optional>
4033 </define>
4034 
4035 <!-- Used in: text-alphabetical-index-source -->
4036 <!-- Next: text-alphabetical-index-source-attrs -->
4037 <define name="text-alphabetical-index-source-attrs" combine="interleave">
4038     <optional>
4039         <attribute name="text:capitalize-entries" a:defaultValue="false">
4040             <ref name="boolean"/>
4041         </attribute>
4042     </optional>
4043 </define>
4044 
4045 <!-- Used in: text-alphabetical-index-source -->
4046 <!-- Next: text-alphabetical-index-source-attrs -->
4047 <define name="text-alphabetical-index-source-attrs" combine="interleave">
4048     <optional>
4049         <attribute name="text:comma-separated" a:defaultValue="false">
4050             <ref name="boolean"/>
4051         </attribute>
4052     </optional>
4053 </define>
4054 
4055 <!-- Used in: text-alphabetical-index-source -->
4056 <!-- Next: text-alphabetical-index-source-attrs -->
4057 <define name="text-alphabetical-index-source-attrs" combine="interleave">
4058     <optional>
4059         <attribute name="fo:language">
4060             <ref name="languageCode"/>
4061         </attribute>
4062     </optional>
4063 </define>
4064 
4065 <!-- Used in: text-alphabetical-index-source -->
4066 <!-- Next: text-alphabetical-index-source-attrs -->
4067 <define name="text-alphabetical-index-source-attrs" combine="interleave">
4068     <optional>
4069         <attribute name="fo:country">
4070             <ref name="countryCode"/>
4071         </attribute>
4072     </optional>
4073 </define>
4074 
4075 <!-- Used in: text-alphabetical-index-source -->
4076 <define name="text-alphabetical-index-source-attrs" combine="interleave">
4077     <optional>
4078         <attribute name="text:sort-algorithm">
4079             <ref name="string"/>
4080         </attribute>
4081     </optional>
4082 </define>
4083 
4084 <!-- Used in: text-decls -->
4085 <define name="text-alphabetical-index-auto-mark-file">
4086     <element name="text:alphabetical-index-auto-mark-file">
4087         <attribute name="xlink:href">
4088             <ref name="anyURI"/>
4089         </attribute>
4090         <optional>
4091             <attribute name="xlink:type" a:defaultValue="simple">
4092                 <value>simple</value>
4093             </attribute>
4094         </optional>
4095     </element>
4096 </define>
4097 
4098 <!-- Used in: text-alphabetical-index-source -->
4099 <define name="text-alphabetical-index-entry-template">
4100     <element name="text:alphabetical-index-entry-template">
4101         <ref name="text-alphabetical-index-entry-template-attrs"/>
4102         <zeroOrMore>
4103             <choice>
4104                 <ref name="text-index-entry-chapter"/>
4105                 <ref name="text-index-entry-page-number"/>
4106                 <ref name="text-index-entry-text"/>
4107                 <ref name="text-index-entry-span"/>
4108                 <ref name="text-index-entry-tab-stop"/>
4109             </choice>
4110         </zeroOrMore>
4111     </element>
4112 </define>
4113 
4114 <!-- Used in: text-alphabetical-index-entry-template -->
4115 <!-- Next: text-alphabetical-index-entry-template-attrs -->
4116 <define name="text-alphabetical-index-entry-template-attrs" combine="interleave">
4117     <attribute name="text:outline-level">
4118         <choice>
4119             <value>1</value>
4120             <value>2</value>
4121             <value>3</value>
4122             <value>separator</value>
4123         </choice>
4124     </attribute>
4125 </define>
4126 
4127 <!-- Used in: text-alphabetical-index-entry-template -->
4128 <define name="text-alphabetical-index-entry-template-attrs" combine="interleave">
4129     <attribute name="text:style-name">
4130         <ref name="styleNameRef"/>
4131     </attribute>
4132 </define>
4133 
4134 <!-- Used in: text-content, header-footer-content -->
4135 <define name="text-bibliography">
4136     <element name="text:bibliography">
4137         <ref name="sectionAttr"/>
4138         <ref name="text-bibliography-source"/>
4139         <ref name="text-index-body"/>
4140     </element>
4141 </define>
4142 
4143 <!-- Used in: text-bibliography -->
4144 <define name="text-bibliography-source">
4145     <element name="text:bibliography-source">
4146         <optional>
4147             <ref name="text-index-title-template"/>
4148         </optional>
4149         <zeroOrMore>
4150             <ref name="text-bibliography-entry-template"/>
4151         </zeroOrMore>
4152     </element>
4153 </define>
4154 
4155 <!-- Used in: text-bibliography-source -->
4156 <define name="text-bibliography-entry-template">
4157     <element name="text:bibliography-entry-template">
4158         <ref name="text-bibliography-entry-template-attrs"/>
4159         <zeroOrMore>
4160             <choice>
4161                 <ref name="text-index-entry-span"/>
4162                 <ref name="text-index-entry-tab-stop"/>
4163                 <ref name="text-index-entry-bibliography"/>
4164             </choice>
4165         </zeroOrMore>
4166     </element>
4167 </define>
4168 
4169 <!-- Used in: text-bibliography-entry-template -->
4170 <!-- Next: text-bibliography-entry-template-attrs -->
4171 <define name="text-bibliography-entry-template-attrs" combine="interleave">
4172     <attribute name="text:bibliography-type">
4173         <ref name="text-bibliography-types"/>
4174     </attribute>
4175 </define>
4176 
4177 <!-- Used in: text-bibliography-entry-template -->
4178 <define name="text-bibliography-entry-template-attrs" combine="interleave">
4179     <attribute name="text:style-name">
4180         <ref name="styleNameRef"/>
4181     </attribute>
4182 </define>
4183 
4184 <!-- Used in: text-table-of-content-source, text-user-index-source -->
4185 <define name="text-index-source-styles">
4186     <element name="text:index-source-styles">
4187         <attribute name="text:outline-level">
4188             <ref name="positiveInteger"/>
4189         </attribute>
4190         <zeroOrMore>
4191             <ref name="text-index-source-style"/>
4192         </zeroOrMore>
4193     </element>
4194 </define>
4195 
4196 <!-- Used in: text-index-source-styles -->
4197 <define name="text-index-source-style">
4198     <element name="text:index-source-style">
4199         <attribute name="text:style-name">
4200             <ref name="styleName"/>
4201         </attribute>
4202         <empty/>
4203     </element>
4204 </define>
4205 
4206 <!-- Used in: text-table-of-content-source, text-illustration-index-source, text-table-index-source, text-object-index-source, text-user-index-source, text-alphabetical-index-source, text-bibliography-source -->
4207 <define name="text-index-title-template">
4208     <element name="text:index-title-template">
4209         <optional>
4210             <attribute name="text:style-name">
4211                 <ref name="styleNameRef"/>
4212             </attribute>
4213         </optional>
4214         <text/>
4215     </element>
4216 </define>
4217 
4218 <!-- Used in: text-table-of-content-children, text-user-index-entry-template, text-alphabetical-index-entry-template -->
4219 <define name="text-index-entry-chapter">
4220     <element name="text:index-entry-chapter">
4221         <optional>
4222             <attribute name="text:style-name">
4223                 <ref name="styleNameRef"/>
4224             </attribute>
4225         </optional>
4226         <ref name="text-index-entry-chapter-attrs"/>
4227     </element>
4228 </define>
4229 
4230 <!-- Used in: text-index-entry-chapter -->
4231 <define name="text-index-entry-chapter-attrs">
4232     <optional>
4233         <attribute name="text:display" a:defaultValue="number">
4234             <choice>
4235                 <value>name</value>
4236                 <value>number</value>
4237                 <value>number-and-name</value>
4238             </choice>
4239         </attribute>
4240     </optional>
4241 </define>
4242 
4243 <!-- Used in: text-table-of-content-children, text-illustration-index-entry-content, text-user-index-entry-template, text-alphabetical-index-entry-template -->
4244 <define name="text-index-entry-text">
4245     <element name="text:index-entry-text">
4246         <optional>
4247             <attribute name="text:style-name">
4248                 <ref name="styleNameRef"/>
4249             </attribute>
4250         </optional>
4251     </element>
4252 </define>
4253 
4254 <!-- Used in: text-table-of-content-children, text-illustration-index-entry-content, text-user-index-entry-template, text-alphabetical-index-entry-template -->
4255 <define name="text-index-entry-page-number">
4256     <element name="text:index-entry-page-number">
4257         <optional>
4258             <attribute name="text:style-name">
4259                 <ref name="styleNameRef"/>
4260             </attribute>
4261         </optional>
4262     </element>
4263 </define>
4264 
4265 <!-- Used in: text-table-of-content-children, text-illustration-index-entry-content, text-user-index-entry-template, text-alphabetical-index-entry-template, text-bibliography-entry-template -->
4266 <define name="text-index-entry-span">
4267     <element name="text:index-entry-span">
4268         <optional>
4269             <attribute name="text:style-name">
4270                 <ref name="styleNameRef"/>
4271             </attribute>
4272         </optional>
4273         <text/>
4274     </element>
4275 </define>
4276 
4277 <!-- Used in: text-bibliography-entry-template -->
4278 <define name="text-index-entry-bibliography">
4279     <element name="text:index-entry-bibliography">
4280         <ref name="text-index-entry-bibliography-attrs"/>
4281     </element>
4282 </define>
4283 
4284 <!-- Used in: text-index-entry-bibliography -->
4285 <!-- Next: text-index-entry-bibliography-attrs -->
4286 <define name="text-index-entry-bibliography-attrs" combine="interleave">
4287     <optional>
4288         <attribute name="text:style-name">
4289             <ref name="styleNameRef"/>
4290         </attribute>
4291     </optional>
4292 </define>
4293 
4294 <!-- Used in: text-index-entry-bibliography -->
4295 <define name="text-index-entry-bibliography-attrs" combine="interleave">
4296     <attribute name="text:bibliography-data-field">
4297         <choice>
4298             <value>address</value>
4299             <value>annote</value>
4300             <value>author</value>
4301             <value>bibliography-type</value>
4302             <value>booktitle</value>
4303             <value>chapter</value>
4304             <value>custom1</value>
4305             <value>custom2</value>
4306             <value>custom3</value>
4307             <value>custom4</value>
4308             <value>custom5</value>
4309             <value>edition</value>
4310             <value>editor</value>
4311             <value>howpublished</value>
4312             <value>identifier</value>
4313             <value>institution</value>
4314             <value>isbn</value>
4315             <value>issn</value>
4316             <value>journal</value>
4317             <value>month</value>
4318             <value>note</value>
4319             <value>number</value>
4320             <value>organizations</value>
4321             <value>pages</value>
4322             <value>publisher</value>
4323             <value>report-type</value>
4324             <value>school</value>
4325             <value>series</value>
4326             <value>title</value>
4327             <value>url</value>
4328             <value>volume</value>
4329             <value>year</value>
4330         </choice>
4331     </attribute>
4332 </define>
4333 
4334 <!-- Used in: text-table-of-content-children, text-illustration-index-entry-content, text-user-index-entry-template, text-alphabetical-index-entry-template, text-bibliography-entry-template -->
4335 <define name="text-index-entry-tab-stop">
4336     <element name="text:index-entry-tab-stop">
4337         <optional>
4338             <attribute name="text:style-name">
4339                 <ref name="styleNameRef"/>
4340             </attribute>
4341         </optional>
4342         <ref name="text-index-entry-tab-stop-attrs"/>
4343     </element>
4344 </define>
4345 
4346 <!-- Used in: text-index-entry-tab-stop -->
4347 <!-- Next: text-index-entry-tab-stop-attrs -->
4348 <define name="text-index-entry-tab-stop-attrs" combine="interleave">
4349     <optional>
4350         <attribute name="style:leader-char">
4351             <ref name="character"/>
4352         </attribute>
4353     </optional>
4354 </define>
4355 
4356 <!-- Used in: text-index-entry-tab-stop -->
4357 <define name="text-index-entry-tab-stop-attrs" combine="interleave">
4358     <choice>
4359         <attribute name="style:type">
4360             <value>right</value>
4361         </attribute>
4362         <group>
4363             <attribute name="style:type">
4364                 <value>left</value>
4365             </attribute>
4366             <attribute name="style:position">
4367                 <ref name="length"/>
4368             </attribute>
4369         </group>
4370     </choice>
4371 </define>
4372 
4373 <!-- Used in: text-table-of-content-children -->
4374 <define name="text-index-entry-link-start">
4375     <element name="text:index-entry-link-start">
4376         <optional>
4377             <attribute name="text:style-name">
4378                 <ref name="styleNameRef"/>
4379             </attribute>
4380         </optional>
4381     </element>
4382 </define>
4383 
4384 <!-- Used in: text-table-of-content-children -->
4385 <define name="text-index-entry-link-end">
4386     <element name="text:index-entry-link-end">
4387         <optional>
4388             <attribute name="text:style-name">
4389                 <ref name="styleNameRef"/>
4390             </attribute>
4391         </optional>
4392     </element>
4393 </define>
4394 
4395 <!-- Used in: text-content, office-spreadsheet-content-main, chart-chart, table-dde-link, header-footer-content -->
4396 <define name="table-table">
4397     <element name="table:table">
4398         <ref name="table-table-attlist"/>
4399         <optional>
4400             <ref name="table-table-source"/>
4401         </optional>
4402         <optional>
4403             <ref name="office-dde-source"/>
4404         </optional>
4405         <optional>
4406             <ref name="table-scenario"/>
4407         </optional>
4408         <optional>
4409             <ref name="office-forms"/>
4410         </optional>
4411         <optional>
4412             <ref name="table-shapes"/>
4413         </optional>
4414         <ref name="table-columns-and-groups"/>
4415         <ref name="table-rows-and-groups"/>
4416     </element>
4417 </define>
4418 
4419 <!-- Used in: table-table, table-table-column-group -->
4420 <define name="table-columns-and-groups">
4421     <oneOrMore>
4422         <choice>
4423             <ref name="table-table-column-group"/>
4424             <ref name="table-columns-no-group"/>
4425         </choice>
4426     </oneOrMore>
4427 </define>
4428 
4429 
4430 <!-- Used in: table-columns-and-groups -->
4431 <define name="table-columns-no-group">
4432     <choice>
4433         <group>
4434             <ref name="table-columns"/>
4435             <optional>
4436                 <ref name="table-table-header-columns"/>
4437                 <optional>
4438                     <ref name="table-columns"/>
4439                 </optional>
4440             </optional>
4441         </group>
4442         <group>
4443             <ref name="table-table-header-columns"/>
4444             <optional>
4445                 <ref name="table-columns"/>
4446             </optional>
4447         </group>
4448     </choice>
4449 </define>
4450 
4451 
4452 <!-- Used in: table-columns-no-group -->
4453 <define name="table-columns">
4454     <choice>
4455         <ref name="table-table-columns"/>
4456         <oneOrMore>
4457                 <ref name="table-table-column"/>
4458         </oneOrMore>
4459     </choice>
4460 </define>
4461 
4462 
4463 <!-- Used in: table-table, table-table-row-group -->
4464 <define name="table-rows-and-groups">
4465     <oneOrMore>
4466         <choice>
4467             <ref name="table-table-row-group"/>
4468             <ref name="table-rows-no-group"/>
4469         </choice>
4470     </oneOrMore>
4471 </define>
4472 
4473 
4474 <!-- Used in: table-rows-and-groups -->
4475 <define name="table-rows-no-group">
4476     <choice>
4477         <group>
4478             <ref name="table-rows"/>
4479             <optional>
4480                 <ref name="table-table-header-rows"/>
4481                 <optional>
4482                     <ref name="table-rows"/>
4483                 </optional>
4484             </optional>
4485         </group>
4486         <group>
4487             <ref name="table-table-header-rows"/>
4488             <optional>
4489                 <ref name="table-rows"/>
4490             </optional>
4491         </group>
4492     </choice>
4493 </define>
4494 
4495 
4496 <!-- Used in: table-rows-no-group -->
4497 <define name="table-rows">
4498     <choice>
4499         <ref name="table-table-rows"/>
4500         <oneOrMore>
4501                 <ref name="table-table-row"/>
4502         </oneOrMore>
4503     </choice>
4504 </define>
4505 
4506 <!-- Used in: table-table -->
4507 <!-- Next: table-table-attlist -->
4508 <define name="table-table-attlist" combine="interleave">
4509     <optional>
4510         <attribute name="table:name">
4511             <ref name="string"/>
4512         </attribute>
4513     </optional>
4514 </define>
4515 
4516 <!-- Used in: table-table -->
4517 <!-- Next: table-table-attlist -->
4518 <define name="table-table-attlist" combine="interleave">
4519     <optional>
4520         <attribute name="table:style-name">
4521             <ref name="styleNameRef"/>
4522         </attribute>
4523     </optional>
4524 </define>
4525 
4526 <!-- Used in: table-table -->
4527 <!-- Next: table-table-attlist -->
4528 <define name="table-table-attlist" combine="interleave">
4529     <optional>
4530         <attribute name="table:protected" a:defaultValue="false">
4531             <ref name="boolean"/>
4532         </attribute>
4533     </optional>
4534     <optional>
4535         <attribute name="table:protection-key">
4536             <text/>
4537         </attribute>
4538     </optional>
4539 </define>
4540 
4541 <!-- Used in: table-table -->
4542 <!-- Next: table-table-attlist -->
4543 <define name="table-table-attlist" combine="interleave">
4544     <optional>
4545         <attribute name="table:print" a:defaultValue="true">
4546             <ref name="boolean"/>
4547         </attribute>
4548     </optional>
4549 </define>
4550 
4551 <!-- Used in: table-table -->
4552 <!-- Next: table-table-attlist -->
4553 <define name="table-table-attlist" combine="interleave">
4554     <optional>
4555         <attribute name="table:print-ranges">
4556             <ref name="cellRangeAddressList"/>
4557         </attribute>
4558     </optional>
4559 </define>
4560 
4561 <!-- Used in: table-rows, table-table-header-rows, table-table-rows -->
4562 <define name="table-table-row">
4563     <element name="table:table-row">
4564         <ref name="table-table-row-attlist"/>
4565         <oneOrMore>
4566             <choice>
4567                 <ref name="table-table-cell"/>
4568                 <ref name="table-covered-table-cell"/>
4569             </choice>
4570         </oneOrMore>
4571     </element>
4572 </define>
4573 
4574 <!-- Used in: table-table-row -->
4575 <!-- Next: table-table-row-attlist -->
4576 <define name="table-table-row-attlist" combine="interleave">
4577     <optional>
4578         <attribute name="table:number-rows-repeated" a:defaultValue="1">
4579             <ref name="positiveInteger"/>
4580         </attribute>
4581     </optional>
4582 </define>
4583 
4584 <!-- Used in: table-table-row -->
4585 <!-- Next: table-table-row-attlist -->
4586 <define name="table-table-row-attlist" combine="interleave">
4587     <optional>
4588         <attribute name="table:style-name">
4589             <ref name="styleNameRef"/>
4590         </attribute>
4591     </optional>
4592 </define>
4593 
4594 <!-- Used in: table-table-row -->
4595 <!-- Next: table-table-row-attlist -->
4596 <define name="table-table-row-attlist" combine="interleave">
4597     <optional>
4598         <attribute name="table:default-cell-style-name">
4599             <ref name="styleNameRef"/>
4600         </attribute>
4601     </optional>
4602 </define>
4603 
4604 <!-- Used in: table-table-row -->
4605 <define name="table-table-row-attlist" combine="interleave">
4606     <optional>
4607         <attribute name="table:visibility" a:defaultValue="visible">
4608             <ref name="table-visibility-value"/>
4609         </attribute>
4610     </optional>
4611 </define>
4612 
4613 
4614 <!-- Used in: table-table-row-attlist, table-table-column-attlist -->
4615 <define name="table-visibility-value">
4616     <choice>
4617         <value>visible</value>
4618         <value>collapse</value>
4619         <value>filter</value>
4620     </choice>
4621 </define>
4622 
4623 <!-- Used in: table-table-row -->
4624 <define name="table-table-cell">
4625     <element name="table:table-cell">
4626         <ref name="table-table-cell-attlist"/>
4627         <ref name="table-table-cell-attlist-extra"/>
4628         <ref name="table-table-cell-content"/>
4629     </element>
4630 </define>
4631 
4632 
4633 <!-- Used in: table-table-row -->
4634 <define name="table-covered-table-cell">
4635     <element name="table:covered-table-cell">
4636         <ref name="table-table-cell-attlist"/>
4637         <ref name="table-table-cell-content"/>
4638     </element>
4639 </define>
4640 
4641 
4642 <!-- Used in: table-table-cell, table-covered-table-cell -->
4643 <define name="table-table-cell-content">
4644     <optional>
4645         <ref name="table-cell-range-source"/>
4646     </optional>
4647     <optional>
4648         <ref name="office-annotation"/>
4649     </optional>
4650     <optional>
4651         <ref name="table-detective"/>
4652     </optional>
4653     <zeroOrMore>
4654         <ref name="text-content"/>
4655     </zeroOrMore>
4656 </define>
4657 
4658 <!-- Used in: table-table-cell, table-covered-table-cell -->
4659 <!-- Next: table-table-cell-attlist -->
4660 <define name="table-table-cell-attlist" combine="interleave">
4661     <optional>
4662         <attribute name="table:number-columns-repeated" a:defaultValue="1">
4663             <ref name="positiveInteger"/>
4664         </attribute>
4665     </optional>
4666 </define>
4667 
4668 <!-- Used in: table-table-cell -->
4669 <!-- Next: table-table-cell-attlist-extra -->
4670 <define name="table-table-cell-attlist-extra" combine="interleave">
4671     <optional>
4672         <attribute name="table:number-columns-spanned" a:defaultValue="1">
4673             <ref name="positiveInteger"/>
4674         </attribute>
4675     </optional>
4676     <optional>
4677         <attribute name="table:number-rows-spanned" a:defaultValue="1">
4678             <ref name="positiveInteger"/>
4679         </attribute>
4680     </optional>
4681 </define>
4682 
4683 <!-- Used in: table-table-cell, table-covered-table-cell -->
4684 <!-- Next: table-table-cell-attlist -->
4685 <define name="table-table-cell-attlist" combine="interleave">
4686     <optional>
4687         <attribute name="table:style-name">
4688             <ref name="styleNameRef"/>
4689         </attribute>
4690     </optional>
4691 </define>
4692 
4693 <!-- Used in: table-table-cell, table-covered-table-cell -->
4694 <!-- Next: table-table-cell-attlist -->
4695 <define name="table-table-cell-attlist" combine="interleave">
4696     <optional>
4697         <attribute name="table:content-validation-name">
4698             <ref name="string"/>
4699         </attribute>
4700     </optional>
4701 </define>
4702 
4703 <!-- Used in: table-table-cell, table-covered-table-cell -->
4704 <!-- Next: table-table-cell-attlist -->
4705 <define name="table-table-cell-attlist" combine="interleave">
4706     <optional>
4707         <attribute name="table:formula">
4708             <ref name="string"/>
4709         </attribute>
4710     </optional>
4711 </define>
4712 
4713 <!-- Used in: table-table-cell -->
4714 <define name="table-table-cell-attlist-extra" combine="interleave">
4715     <optional>
4716         <attribute name="table:number-matrix-columns-spanned">
4717             <ref name="positiveInteger"/>
4718         </attribute>
4719     </optional>
4720     <optional>
4721         <attribute name="table:number-matrix-rows-spanned">
4722             <ref name="positiveInteger"/>
4723         </attribute>
4724     </optional>
4725 </define>
4726 
4727 <!-- Used in: table-table-cell, table-covered-table-cell -->
4728 <!-- Next: table-table-cell-attlist -->
4729 <define name="table-table-cell-attlist" combine="interleave">
4730     <optional>
4731         <ref name="common-value-and-type-attlist"/>
4732     </optional>
4733 </define>
4734 
4735 <!-- Used in: table-table-cell, table-covered-table-cell -->
4736 <define name="table-table-cell-attlist" combine="interleave">
4737     <optional>
4738         <attribute name="table:protect" a:defaultValue="false">
4739             <ref name="boolean"/>
4740         </attribute>
4741     </optional>
4742 </define>
4743 
4744 <!-- Used in: table-columns, table-table-header-columns, table-table-columns -->
4745 <define name="table-table-column">
4746     <element name="table:table-column">
4747         <ref name="table-table-column-attlist"/>
4748         <empty/>
4749     </element>
4750 </define>
4751 
4752 <!-- Used in: table-table-column -->
4753 <!-- Next: table-table-column-attlist -->
4754 <define name="table-table-column-attlist" combine="interleave">
4755     <optional>
4756         <attribute name="table:number-columns-repeated" a:defaultValue="1">
4757             <ref name="positiveInteger"/>
4758         </attribute>
4759     </optional>
4760 </define>
4761 
4762 <!-- Used in: table-table-column -->
4763 <!-- Next: table-table-column-attlist -->
4764 <define name="table-table-column-attlist" combine="interleave">
4765     <optional>
4766         <attribute name="table:style-name">
4767             <ref name="styleNameRef"/>
4768         </attribute>
4769     </optional>
4770 </define>
4771 
4772 <!-- Used in: table-table-column -->
4773 <!-- Next: table-table-column-attlist -->
4774 <define name="table-table-column-attlist" combine="interleave">
4775     <optional>
4776         <attribute name="table:visibility" a:defaultValue="visible">
4777             <ref name="table-visibility-value"/>
4778         </attribute>
4779     </optional>
4780 </define>
4781 
4782 <!-- Used in: table-table-column -->
4783 <define name="table-table-column-attlist" combine="interleave">
4784     <optional>
4785         <attribute name="table:default-cell-style-name">
4786             <ref name="styleNameRef"/>
4787         </attribute>
4788     </optional>
4789 </define>
4790 
4791 <!-- Used in: table-columns-no-group -->
4792 <define name="table-table-header-columns">
4793     <element name="table:table-header-columns">
4794         <oneOrMore>
4795             <ref name="table-table-column"/>
4796         </oneOrMore>
4797     </element>
4798 </define>
4799 
4800 
4801 <!-- Used in: table-columns -->
4802 <define name="table-table-columns">
4803     <element name="table:table-columns">
4804         <oneOrMore>
4805             <ref name="table-table-column"/>
4806         </oneOrMore>
4807     </element>
4808 </define>
4809 
4810 <!-- Used in: table-columns-and-groups -->
4811 <define name="table-table-column-group">
4812     <element name="table:table-column-group">
4813         <ref name="table-table-column-group-attlist"/>
4814         <ref name="table-columns-and-groups"/>
4815     </element>
4816 </define>
4817 
4818 <!-- Used in: table-table-column-group -->
4819 <define name="table-table-column-group-attlist" combine="interleave">
4820     <optional>
4821         <attribute name="table:display" a:defaultValue="true">
4822             <ref name="boolean"/>
4823         </attribute>
4824     </optional>
4825 </define>
4826 
4827 <!-- Used in: table-rows-no-group -->
4828 <define name="table-table-header-rows">
4829     <element name="table:table-header-rows">
4830         <oneOrMore>
4831             <ref name="table-table-row"/>
4832         </oneOrMore>
4833     </element>
4834 </define>
4835 
4836 
4837 <!-- Used in: table-rows -->
4838 <define name="table-table-rows">
4839     <element name="table:table-rows">
4840         <oneOrMore>
4841             <ref name="table-table-row"/>
4842         </oneOrMore>
4843     </element>
4844 </define>
4845 
4846 <!-- Used in: table-rows-and-groups -->
4847 <define name="table-table-row-group">
4848     <element name="table:table-row-group">
4849         <ref name="table-table-row-group-attlist"/>
4850         <ref name="table-rows-and-groups"/>
4851     </element>
4852 </define>
4853 
4854 <!-- Used in: table-table-row-group -->
4855 <define name="table-table-row-group-attlist" combine="interleave">
4856     <optional>
4857         <attribute name="table:display" a:defaultValue="true">
4858             <ref name="boolean"/>
4859         </attribute>
4860     </optional>
4861 </define>
4862 
4863 <!-- Used in: table-table -->
4864 <define name="table-table-attlist" combine="interleave">
4865     <optional>
4866         <attribute name="table:is-sub-table" a:defaultValue="false">
4867             <ref name="boolean"/>
4868         </attribute>
4869     </optional>
4870 </define>
4871 
4872 <!-- Used in: table-validation-attlist, table-named-range-attlist, table-named-expression-attlist, table-consolidation-attlist, table-change-track-table-cell-attlist, common-text-spreadsheet-shape-attlist, chart-title-attlist, chart-series-attlist, style-map-attlist -->
4873 <define name="cellAddress">
4874     <data type="string">
4875         <param name="pattern">($?([^\. ']+|'[^']+'))?\.$?[A-Z]+$?[0-9]+</param>
4876     </data>
4877 </define>
4878 
4879 <!-- Used in: table-highlighted-range-attlist, table-label-range-attlist, table-label-range-attlist, table-named-range-attlist, table-database-range-attlist, table-sort-attlist, table-filter-attlist, table-filter-attlist, table-data-pilot-table-attlist, table-source-cell-range-attlist, chart-plot-area-attlist, chart-series-attlist, chart-domain, chart-categories -->
4880 <define name="cellRangeAddress">
4881     <data type="string">
4882         <param name="pattern">($?([^\. ']+|'[^']+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\. ']+|'[^']+'))?\.$?[A-Z]+$?[0-9]+)?</param>
4883 
4884     </data>
4885 </define>
4886 
4887 <!-- Used in: table-table-attlist, table-scenario-attlist, table-data-pilot-table-attlist, table-consolidation-attlist -->
4888 <define name="cellRangeAddressList">
4889     <!-- Value is a space separated list of "cellRangeAddress" patterns -->
4890 
4891     <data type="string"/> 
4892 </define>
4893 
4894 <!-- Used in: table-table -->
4895 <define name="table-table-source">
4896     <element name="table:table-source">
4897         <ref name="table-table-source-attlist"/>
4898         <ref name="table-linked-source-attlist"/>
4899         <empty/>
4900     </element>
4901 </define>
4902 
4903 <!-- Used in: table-table-source -->
4904 <!-- Next: table-table-source-attlist -->
4905 <define name="table-table-source-attlist" combine="interleave">
4906     <optional>
4907         <attribute name="table:mode" a:defaultValue="copy-all">
4908             <choice>
4909                 <value>copy-all</value>
4910                 <value>copy-results-only</value>
4911             </choice>
4912         </attribute>
4913     </optional>
4914 </define>
4915 
4916 <!-- Used in: table-table-source -->
4917 <define name="table-table-source-attlist" combine="interleave">
4918     <optional>
4919         <attribute name="table:table-name">
4920             <ref name="string"/>
4921         </attribute>
4922     </optional>
4923 </define>
4924 
4925 <!-- Used in: table-table-source, table-cell-range-source -->
4926 <!-- Next: table-linked-source-attlist -->
4927 <define name="table-linked-source-attlist" combine="interleave">
4928     <optional>
4929         <attribute name="xlink:type" a:defaultValue="simple">
4930             <value>simple</value>
4931         </attribute>
4932     </optional>
4933     <optional>
4934         <attribute name="xlink:actuate" a:defaultValue="onRequest">
4935             <value>onRequest</value>
4936         </attribute>
4937     </optional>
4938     <attribute name="xlink:href">
4939         <ref name="anyURI"/>
4940     </attribute>
4941 </define>
4942 
4943 <!-- Used in: table-table-source, table-cell-range-source -->
4944 <!-- Next: table-linked-source-attlist -->
4945 <define name="table-linked-source-attlist" combine="interleave">
4946     <optional>
4947         <attribute name="table:filter-name">
4948             <ref name="string"/>
4949         </attribute>
4950     </optional>
4951 </define>
4952 
4953 <!-- Used in: table-table-source, table-cell-range-source -->
4954 <!-- Next: table-linked-source-attlist -->
4955 <define name="table-linked-source-attlist" combine="interleave">
4956     <optional>
4957         <attribute name="table:filter-options">
4958             <ref name="string"/>
4959         </attribute>
4960     </optional>
4961 </define>
4962 
4963 <!-- Used in: table-table-source, table-cell-range-source -->
4964 <define name="table-linked-source-attlist" combine="interleave">
4965     <optional>
4966         <attribute name="table:refresh-delay">
4967             <ref name="duration"/>
4968         </attribute>
4969     </optional>
4970 </define>
4971 
4972 <!-- Used in: table-table -->
4973 <define name="table-scenario">
4974     <element name="table:scenario">
4975         <ref name="table-scenario-attlist"/>
4976         <empty/>
4977     </element>
4978 </define>
4979 
4980 <!-- Used in: table-scenario -->
4981 <!-- Next: table-scenario-attlist -->
4982 <define name="table-scenario-attlist" combine="interleave">
4983     <attribute name="table:scenario-ranges">
4984         <ref name="cellRangeAddressList"/>
4985     </attribute>
4986 </define>
4987 
4988 <!-- Used in: table-scenario -->
4989 <!-- Next: table-scenario-attlist -->
4990 <define name="table-scenario-attlist" combine="interleave">
4991     <attribute name="table:is-active">
4992         <ref name="boolean"/>
4993     </attribute>
4994 </define>
4995 
4996 <!-- Used in: table-scenario -->
4997 <!-- Next: table-scenario-attlist -->
4998 <define name="table-scenario-attlist" combine="interleave">
4999     <optional>
5000         <attribute name="table:display-border" a:defaultValue="true">
5001             <ref name="boolean"/>
5002         </attribute>
5003     </optional>
5004 </define>
5005 
5006 <!-- Used in: table-scenario -->
5007 <!-- Next: table-scenario-attlist -->
5008 <define name="table-scenario-attlist" combine="interleave">
5009     <optional>
5010         <attribute name="table:border-color">
5011             <ref name="color"/>
5012         </attribute>
5013     </optional>
5014 </define>
5015 
5016 <!-- Used in: table-scenario -->
5017 <!-- Next: table-scenario-attlist -->
5018 <define name="table-scenario-attlist" combine="interleave">
5019     <optional>
5020         <attribute name="table:copy-back" a:defaultValue="true">
5021             <ref name="boolean"/>
5022         </attribute>
5023     </optional>
5024 </define>
5025 
5026 <!-- Used in: table-scenario -->
5027 <!-- Next: table-scenario-attlist -->
5028 <define name="table-scenario-attlist" combine="interleave">
5029     <optional>
5030         <attribute name="table:copy-styles" a:defaultValue="true">
5031             <ref name="boolean"/>
5032         </attribute>
5033     </optional>
5034 </define>
5035 
5036 <!-- Used in: table-scenario -->
5037 <!-- Next: table-scenario-attlist -->
5038 <define name="table-scenario-attlist" combine="interleave">
5039     <optional>
5040         <attribute name="table:copy-formulas" a:defaultValue="true">
5041             <ref name="boolean"/>
5042         </attribute>
5043     </optional>
5044 </define>
5045 
5046 <!-- Used in: table-scenario -->
5047 <!-- Next: table-scenario-attlist -->
5048 <define name="table-scenario-attlist" combine="interleave">
5049     <optional>
5050         <attribute name="table:comment">
5051             <ref name="string"/>
5052         </attribute>
5053     </optional>
5054 </define>
5055 
5056 <!-- Used in: table-scenario -->
5057 <define name="table-scenario-attlist" combine="interleave">
5058     <optional>
5059         <attribute name="table:protected">
5060             <ref name="boolean"/>
5061         </attribute>
5062     </optional>
5063 </define>
5064 
5065 <!-- Used in: table-table -->
5066 <define name="table-shapes">
5067     <element name="table:shapes">
5068         <oneOrMore>
5069             <ref name="shape"/>
5070         </oneOrMore>
5071     </element>
5072 </define>
5073 
5074 <!-- Used in: table-table-cell-content -->
5075 <define name="table-cell-range-source">
5076     <element name="table:cell-range-source">
5077         <ref name="table-table-cell-range-source-attlist"/>
5078         <ref name="table-linked-source-attlist"/>
5079         <empty/>
5080     </element>
5081 </define>
5082 
5083 <!-- Used in: table-cell-range-source -->
5084 <!-- Next: table-table-cell-range-source-attlist -->
5085 <define name="table-table-cell-range-source-attlist" combine="interleave">
5086     <attribute name="table:name">
5087         <ref name="string"/>
5088     </attribute>
5089 </define>
5090 
5091 <!-- Used in: table-cell-range-source -->
5092 <define name="table-table-cell-range-source-attlist" combine="interleave">
5093     <attribute name="table:last-column-spanned">
5094         <ref name="positiveInteger"/>
5095     </attribute>
5096     <attribute name="table:last-row-spanned">
5097         <ref name="positiveInteger"/>
5098     </attribute>
5099 </define>
5100 
5101 <!-- Used in: table-table-cell-content -->
5102 <define name="table-detective">
5103     <element name="table:detective">
5104         <zeroOrMore>
5105             <ref name="table-highlighted-range"/>
5106         </zeroOrMore>
5107         <zeroOrMore>
5108             <ref name="table-operation"/>
5109         </zeroOrMore>
5110     </element>
5111 </define>
5112 
5113 <!-- Used in: table-detective -->
5114 <define name="table-operation">
5115     <element name="table:operation">
5116         <ref name="table-operation-attlist"/>
5117         <empty/>
5118     </element>
5119 </define>
5120 
5121 <!-- Used in: table-operation -->
5122 <!-- Next: table-operation-attlist -->
5123 <define name="table-operation-attlist" combine="interleave">
5124     <attribute name="table:name">
5125         <choice>
5126             <value>trace-dependents</value>
5127             <value>remove-dependents</value>
5128             <value>trace-precedents</value>
5129             <value>remove-precedents</value>
5130             <value>trace-errors</value>
5131         </choice>
5132     </attribute>
5133 </define>
5134 
5135 <!-- Used in: table-operation -->
5136 <define name="table-operation-attlist" combine="interleave">
5137     <attribute name="table:index">
5138         <ref name="nonNegativeInteger"/>
5139     </attribute>
5140 </define>
5141 
5142 <!-- Used in: table-detective -->
5143 <define name="table-highlighted-range">
5144     <element name="table:highlighted-range">
5145         <choice>
5146             <group>
5147                 <ref name="table-highlighted-range-attlist"/>
5148             </group>
5149             <group>
5150                 <ref name="table-highlighted-range-attlist-invalid"/>
5151             </group>
5152         </choice>
5153         <empty/>
5154     </element>
5155 </define>
5156 
5157 <!-- Used in: table-highlighted-range -->
5158 <!-- Next: table-highlighted-range-attlist -->
5159 <define name="table-highlighted-range-attlist" combine="interleave">
5160     <optional>
5161         <attribute name="table:cell-range-address">
5162             <ref name="cellRangeAddress"/>
5163         </attribute>
5164     </optional>
5165 </define>
5166 
5167 <!-- Used in: table-highlighted-range -->
5168 <!-- Next: table-highlighted-range-attlist -->
5169 <define name="table-highlighted-range-attlist" combine="interleave">
5170     <attribute name="table:direction">
5171         <choice>
5172             <value>from-another-table</value>
5173             <value>to-another-table</value>
5174             <value>from-same-table</value>
5175         </choice>
5176     </attribute>
5177 </define>
5178 
5179 <!-- Used in: table-highlighted-range -->
5180 <define name="table-highlighted-range-attlist" combine="interleave">
5181     <optional>
5182         <attribute name="table:contains-error" a:defaultValue="false">
5183             <ref name="boolean"/>
5184         </attribute>
5185     </optional>
5186 </define>
5187 
5188 <!-- Used in: table-highlighted-range -->
5189 <define name="table-highlighted-range-attlist-invalid" combine="interleave">
5190     <attribute name="table:marked-invalid">
5191         <ref name="boolean"/>
5192     </attribute>
5193 </define>
5194 
5195 <!-- Used in: office-body-content -->
5196 <define name="office-spreadsheet-attlist" combine="interleave">
5197     <optional>
5198         <attribute name="table:structure-protected" a:defaultValue="false">
5199             <ref name="boolean"/>
5200         </attribute>
5201     </optional>
5202     <optional>
5203         <attribute name="table:protection-key">
5204             <ref name="string"/>
5205         </attribute>
5206     </optional>
5207 </define>
5208 
5209 <!-- Used in: table-decls -->
5210 <define name="table-calculation-settings">
5211     <element name="table:calculation-settings">
5212         <ref name="table-calculation-setting-attlist"/>
5213         <optional>
5214             <ref name="table-null-date"/>
5215         </optional>
5216         <optional>
5217             <ref name="table-iteration"/>
5218         </optional>
5219     </element>
5220 </define>
5221 
5222 <!-- Used in: table-calculation-settings -->
5223 <!-- Next: table-calculation-setting-attlist -->
5224 <define name="table-calculation-setting-attlist" combine="interleave">
5225     <optional>
5226         <attribute name="table:case-sensitive" a:defaultValue="true">
5227             <ref name="boolean"/>
5228         </attribute>
5229     </optional>
5230 </define>
5231 
5232 <!-- Used in: table-calculation-settings -->
5233 <!-- Next: table-calculation-setting-attlist -->
5234 <define name="table-calculation-setting-attlist" combine="interleave">
5235     <optional>
5236         <attribute name="table:precision-as-shown" a:defaultValue="false">
5237             <ref name="boolean"/>
5238         </attribute>
5239     </optional>
5240 </define>
5241 
5242 <!-- Used in: table-calculation-settings -->
5243 <!-- Next: table-calculation-setting-attlist -->
5244 <define name="table-calculation-setting-attlist" combine="interleave">
5245     <optional>
5246         <attribute name="table:search-criteria-must-apply-to-whole-cell" a:defaultValue="true">
5247             <ref name="boolean"/>
5248         </attribute>
5249     </optional>
5250 </define>
5251 
5252 <!-- Used in: table-calculation-settings -->
5253 <!-- Next: table-calculation-setting-attlist -->
5254 <define name="table-calculation-setting-attlist" combine="interleave">
5255     <optional>
5256         <attribute name="table:automatic-find-labels" a:defaultValue="true">
5257             <ref name="boolean"/>
5258         </attribute>
5259     </optional>
5260 </define>
5261 
5262 <!-- Used in: table-calculation-settings -->
5263 <!-- Next: table-calculation-setting-attlist -->
5264 <define name="table-calculation-setting-attlist" combine="interleave">
5265     <optional>
5266         <attribute name="table:use-regular-expressions" a:defaultValue="true">
5267             <ref name="boolean"/>
5268         </attribute>
5269     </optional>
5270 </define>
5271 
5272 <!-- Used in: table-calculation-settings -->
5273 <define name="table-calculation-setting-attlist" combine="interleave">
5274     <optional>
5275         <attribute name="table:null-year" a:defaultValue="1930">
5276             <ref name="positiveInteger"/>
5277         </attribute>
5278     </optional>
5279 </define>
5280 
5281 <!-- Used in: table-calculation-settings -->
5282 <define name="table-null-date">
5283     <element name="table:null-date">
5284         <optional>
5285             <attribute name="table:value-type" a:defaultValue="date">
5286                 <ref name="valueType"/>
5287             </attribute>
5288         </optional>
5289         <optional>
5290             <attribute name="table:date-value-type" a:defaultValue="1899-12-30">
5291                 <ref name="date"/>
5292             </attribute>
5293         </optional>
5294         <empty/>
5295     </element>
5296 </define>
5297 
5298 <!-- Used in: table-calculation-settings -->
5299 <define name="table-iteration">
5300     <element name="table:iteration">
5301         <optional>
5302             <attribute name="table:status" a:defaultValue="disable">
5303                 <choice>
5304                     <value>enable</value>
5305                     <value>disable</value>
5306                 </choice>
5307             </attribute>
5308         </optional>
5309         <optional>
5310             <attribute name="table:steps" a:defaultValue="100">
5311                 <ref name="positiveInteger"/>
5312             </attribute>
5313         </optional>
5314         <optional>
5315             <attribute name="table:maximum-difference" a:defaultValue="0.001">
5316                 <ref name="double"/>
5317             </attribute>
5318         </optional>
5319         <empty/>
5320     </element>
5321 </define>
5322 
5323 <!-- Used in: table-decls -->
5324 <define name="table-content-validations">
5325     <element name="table:content-validations">
5326         <oneOrMore>
5327             <ref name="table-content-validation"/>
5328         </oneOrMore>
5329     </element>
5330 </define>
5331 
5332 
5333 <!-- Used in: table-content-validations -->
5334 <define name="table-content-validation">
5335     <element name="table:content-validation">
5336         <ref name="table-validation-attlist"/>
5337         <optional>
5338             <ref name="table-help-message"/>
5339         </optional>
5340         <optional>
5341             <choice>
5342                 <ref name="table-error-message"/>
5343                 <group>
5344                     <ref name="table-error-macro"/>
5345                     <optional>
5346                         <ref name="office-event-listeners"/>
5347                     </optional>
5348                 </group>
5349             </choice>
5350         </optional>
5351     </element>
5352 </define>
5353 
5354 <!-- Used in: table-content-validation -->
5355 <!-- Next: table-validation-attlist -->
5356 <define name="table-validation-attlist" combine="interleave">
5357     <attribute name="table:name">
5358         <ref name="string"/>
5359     </attribute>
5360 </define>
5361 
5362 <!-- Used in: table-content-validation -->
5363 <!-- Next: table-validation-attlist -->
5364 <define name="table-validation-attlist" combine="interleave">
5365     <optional>
5366         <attribute name="table:condition">
5367             <ref name="string"/>
5368         </attribute>
5369     </optional>
5370 </define>
5371 
5372 <!-- Used in: table-content-validation -->
5373 <!-- Next: table-validation-attlist -->
5374 <define name="table-validation-attlist" combine="interleave">
5375     <optional>
5376         <attribute name="table:base-cell-address">
5377             <ref name="cellAddress"/>
5378         </attribute>
5379     </optional>
5380 </define>
5381 
5382 <!-- Used in: table-content-validation -->
5383 <!-- Next: table-validation-attlist -->
5384 <define name="table-validation-attlist" combine="interleave">
5385     <optional>
5386         <attribute name="table:allow-empty-cell" a:defaultValue="true">
5387             <ref name="boolean"/>
5388         </attribute>
5389     </optional>
5390 </define>
5391 
5392 <!-- Used in: table-content-validation -->
5393 <define name="table-validation-attlist" combine="interleave">
5394     <optional>
5395         <attribute name="table:display-list" a:defaultValue="unsorted">
5396             <choice>
5397                 <value>none</value>
5398                 <value>unsorted</value>
5399                 <value>sort-ascending</value>
5400             </choice>
5401         </attribute>
5402     </optional>
5403 </define>
5404 
5405 <!-- Used in: table-content-validation -->
5406 <define name="table-help-message">
5407     <element name="table:help-message">
5408         <optional>
5409             <attribute name="table:title">
5410                 <ref name="string"/>
5411             </attribute>
5412         </optional>
5413         <optional>
5414             <attribute name="table:display" a:defaultValue="false">
5415                 <ref name="boolean"/>
5416             </attribute>
5417         </optional>
5418         <zeroOrMore>
5419             <ref name="text-p"/>
5420         </zeroOrMore>
5421     </element>
5422 </define>
5423 
5424 <!-- Used in: table-content-validation -->
5425 <define name="table-error-message">
5426     <element name="table:error-message">
5427         <optional>
5428             <attribute name="table:title">
5429                 <ref name="string"/>
5430             </attribute>
5431         </optional>
5432         <optional>
5433             <attribute name="table:display" a:defaultValue="false">
5434                 <ref name="boolean"/>
5435             </attribute>
5436         </optional>
5437         <optional>
5438             <attribute name="table:message-type" a:defaultValue="stop">
5439                 <choice>
5440                     <value>stop</value>
5441                     <value>warning</value>
5442                     <value>information</value>
5443                 </choice>
5444             </attribute>
5445         </optional>
5446         <zeroOrMore>
5447             <ref name="text-p"/>
5448         </zeroOrMore>
5449     </element>
5450 </define>
5451 
5452 <!-- Used in: table-content-validation -->
5453 <define name="table-error-macro">
5454     <element name="table:error-macro">
5455         <optional>
5456             <attribute name="table:execute" a:defaultValue="true">
5457                 <ref name="boolean"/>
5458             </attribute>
5459         </optional>
5460     </element>
5461 </define>
5462 
5463 <!-- Used in: table-decls -->
5464 <define name="table-label-ranges">
5465     <element name="table:label-ranges">
5466         <zeroOrMore>
5467             <ref name="table-label-range"/>
5468         </zeroOrMore>
5469     </element>
5470 </define>
5471 
5472 
5473 <!-- Used in: table-label-ranges -->
5474 <define name="table-label-range">
5475     <element name="table:label-range">
5476         <ref name="table-label-range-attlist"/>
5477         <empty/>
5478     </element>
5479 </define>
5480 
5481 <!-- Used in: table-label-range -->
5482 <!-- Next: table-label-range-attlist -->
5483 <define name="table-label-range-attlist" combine="interleave">
5484     <attribute name="table:label-cell-range-address">
5485         <ref name="cellRangeAddress"/>
5486     </attribute>
5487 </define>
5488 
5489 <!-- Used in: table-label-range -->
5490 <!-- Next: table-label-range-attlist -->
5491 <define name="table-label-range-attlist" combine="interleave">
5492     <attribute name="table:data-cell-range-address">
5493         <ref name="cellRangeAddress"/>
5494     </attribute>
5495 </define>
5496 
5497 <!-- Used in: table-label-range -->
5498 <define name="table-label-range-attlist" combine="interleave">
5499     <attribute name="table:orientation">
5500         <choice>
5501             <value>column</value>
5502             <value>row</value>
5503         </choice>
5504     </attribute>
5505 </define>
5506 
5507 <!-- Used in: table-functions -->
5508 <define name="table-named-expressions">
5509     <element name="table:named-expressions">
5510         <zeroOrMore>
5511             <choice>
5512                 <ref name="table-named-range"/>
5513                 <ref name="table-named-expression"/>
5514             </choice>
5515         </zeroOrMore>
5516     </element>
5517 </define>
5518 
5519 
5520 <!-- Used in: table-named-expressions -->
5521 <define name="table-named-range">
5522     <element name="table:named-range">
5523         <ref name="table-named-range-attlist"/>
5524         <empty/>
5525     </element>
5526 </define>
5527 
5528 
5529 <!-- Used in: table-named-range -->
5530 <define name="table-named-range-attlist" combine="interleave">
5531     <attribute name="table:name">
5532         <ref name="string"/>
5533     </attribute>
5534     <attribute name="table:cell-range-address">
5535         <ref name="cellRangeAddress"/>
5536     </attribute>
5537     <optional>
5538         <attribute name="table:base-cell-address">
5539             <ref name="cellAddress"/>
5540         </attribute>
5541     </optional>
5542     <optional>
5543         <attribute name="table:range-usable-as" a:defaultValue="none">
5544             <choice>
5545                 <value>none</value>
5546                 <list>
5547                     <oneOrMore>
5548                         <choice>
5549                             <value>print-range</value>
5550                             <value>filter</value>
5551                             <value>repeat-row</value>
5552                             <value>repeat-column</value>
5553                         </choice>
5554                     </oneOrMore>
5555                 </list>
5556             </choice>
5557         </attribute>
5558     </optional>
5559 </define>
5560 
5561 <!-- Used in: table-named-expressions -->
5562 <define name="table-named-expression">
5563     <element name="table:named-expression">
5564         <ref name="table-named-expression-attlist"/>
5565         <empty/>
5566     </element>
5567 </define>
5568 
5569 
5570 <!-- Used in: table-named-expression -->
5571 <define name="table-named-expression-attlist" combine="interleave">
5572     <attribute name="table:name">
5573         <ref name="string"/>
5574     </attribute>
5575     <attribute name="table:expression">
5576         <ref name="string"/>
5577     </attribute>
5578     <optional>
5579         <attribute name="table:base-cell-address">
5580             <ref name="cellAddress"/>
5581         </attribute>
5582     </optional>
5583 </define>
5584 
5585 <!-- Used in: table-functions -->
5586 <define name="table-database-ranges">
5587     <element name="table:database-ranges">
5588         <zeroOrMore>
5589             <ref name="table-database-range"/>
5590         </zeroOrMore>
5591     </element>
5592 </define>
5593 
5594 <!-- Used in: table-database-ranges -->
5595 <define name="table-database-range">
5596     <element name="table:database-range">
5597         <ref name="table-database-range-attlist"/>
5598         <optional>
5599             <choice>
5600                 <ref name="table-database-source-sql"/>
5601                 <ref name="table-database-source-table"/>
5602                 <ref name="table-database-source-query"/>
5603             </choice>
5604         </optional>
5605         <optional>
5606             <ref name="table-filter"/>
5607         </optional>
5608         <optional>
5609             <ref name="table-sort"/>
5610         </optional>
5611         <optional>
5612             <ref name="table-subtotal-rules"/>
5613         </optional>
5614     </element>
5615 </define>
5616 
5617 <!-- Used in: table-database-range -->
5618 <!-- Next: table-database-range-attlist -->
5619 <define name="table-database-range-attlist" combine="interleave">
5620     <optional>
5621         <attribute name="table:name">
5622             <ref name="string"/>
5623         </attribute>
5624     </optional>
5625 </define>
5626 
5627 <!-- Used in: table-database-range -->
5628 <!-- Next: table-database-range-attlist -->
5629 <define name="table-database-range-attlist" combine="interleave">
5630     <optional>
5631         <attribute name="table:is-selection" a:defaultValue="false">
5632             <ref name="boolean"/>
5633         </attribute>
5634     </optional>
5635 </define>
5636 
5637 <!-- Used in: table-database-range -->
5638 <!-- Next: table-database-range-attlist -->
5639 <define name="table-database-range-attlist" combine="interleave">
5640     <optional>
5641         <attribute name="table:on-update-keep-styles" a:defaultValue="false">
5642             <ref name="boolean"/>
5643         </attribute>
5644     </optional>
5645 </define>
5646 
5647 <!-- Used in: table-database-range -->
5648 <!-- Next: table-database-range-attlist -->
5649 <define name="table-database-range-attlist" combine="interleave">
5650     <optional>
5651         <attribute name="table:on-update-keep-size" a:defaultValue="true">
5652             <ref name="boolean"/>
5653         </attribute>
5654     </optional>
5655 </define>
5656 
5657 <!-- Used in: table-database-range -->
5658 <!-- Next: table-database-range-attlist -->
5659 <define name="table-database-range-attlist" combine="interleave">
5660     <optional>
5661         <attribute name="table:has-persistent-data" a:defaultValue="true">
5662             <ref name="boolean"/>
5663         </attribute>
5664     </optional>
5665 </define>
5666 
5667 <!-- Used in: table-database-range -->
5668 <!-- Next: table-database-range-attlist -->
5669 <define name="table-database-range-attlist" combine="interleave">
5670     <optional>
5671         <attribute name="table:orientation" a:defaultValue="row">
5672             <choice>
5673                 <value>column</value>
5674                 <value>row</value>
5675             </choice>
5676         </attribute>
5677     </optional>
5678 </define>
5679 
5680 <!-- Used in: table-database-range -->
5681 <!-- Next: table-database-range-attlist -->
5682 <define name="table-database-range-attlist" combine="interleave">
5683     <optional>
5684         <attribute name="table:contains-header" a:defaultValue="true">
5685             <ref name="boolean"/>
5686         </attribute>
5687     </optional>
5688 </define>
5689 
5690 <!-- Used in: table-database-range -->
5691 <!-- Next: table-database-range-attlist -->
5692 <define name="table-database-range-attlist" combine="interleave">
5693     <optional>
5694         <attribute name="table:display-filter-buttons" a:defaultValue="false">
5695             <ref name="boolean"/>
5696         </attribute>
5697     </optional>
5698 </define>
5699 
5700 <!-- Used in: table-database-range -->
5701 <!-- Next: table-database-range-attlist -->
5702 <define name="table-database-range-attlist" combine="interleave">
5703     <attribute name="table:target-range-address">
5704         <ref name="cellRangeAddress"/>
5705     </attribute>
5706 </define>
5707 
5708 <!-- Used in: table-database-range -->
5709 <define name="table-database-range-attlist" combine="interleave">
5710     <optional>
5711         <attribute name="table:refresh-delay">
5712             <ref name="boolean"/>
5713         </attribute>
5714     </optional>
5715 </define>
5716 
5717 <!-- Used in: table-database-range, table-data-pilot-table -->
5718 <define name="table-database-source-sql">
5719     <element name="table:database-source-sql">
5720         <ref name="table-database-source-sql-attlist"/>
5721         <empty/>
5722     </element>
5723 </define>
5724 
5725 <!-- Used in: table-database-source-sql -->
5726 <!-- Next: table-database-source-sql-attlist -->
5727 <define name="table-database-source-sql-attlist" combine="interleave">
5728     <attribute name="table:database-name">
5729         <ref name="string"/>
5730     </attribute>
5731 </define>
5732 
5733 <!-- Used in: table-database-source-sql -->
5734 <!-- Next: table-database-source-sql-attlist -->
5735 <define name="table-database-source-sql-attlist" combine="interleave">
5736     <attribute name="table:sql-statement">
5737         <ref name="string"/>
5738     </attribute>
5739 </define>
5740 
5741 <!-- Used in: table-database-source-sql -->
5742 <define name="table-database-source-sql-attlist" combine="interleave">
5743     <optional>
5744         <attribute name="table:parse-sql-statement" a:defaultValue="false">
5745             <ref name="boolean"/>
5746         </attribute>
5747     </optional>
5748 </define>
5749 
5750 <!-- Used in: table-database-range, table-data-pilot-table -->
5751 <define name="table-database-source-query">
5752     <element name="table:database-source-table">
5753         <ref name="table-database-source-table-attlist"/>
5754         <empty/>
5755     </element>
5756 </define>
5757 
5758 <!-- Used in: table-database-source-query -->
5759 <!-- Next: table-database-source-table-attlist -->
5760 <define name="table-database-source-table-attlist" combine="interleave">
5761     <attribute name="table:database-name">
5762         <ref name="string"/>
5763     </attribute>
5764 </define>
5765 
5766 <!-- Used in: table-database-source-query -->
5767 <define name="table-database-source-table-attlist" combine="interleave">
5768     <attribute name="table:database-table-name">
5769         <ref name="string"/>
5770     </attribute>
5771 </define>
5772 
5773 <!-- Used in: table-database-range, table-data-pilot-table -->
5774 <define name="table-database-source-table">
5775     <element name="table:database-source-query">
5776         <ref name="table-database-source-query-attlist"/>
5777         <empty/>
5778     </element>
5779 </define>
5780 
5781 <!-- Used in: table-database-source-table -->
5782 <!-- Next: table-database-source-query-attlist -->
5783 <define name="table-database-source-query-attlist" combine="interleave">
5784     <attribute name="table:database-name">
5785         <ref name="string"/>
5786     </attribute>
5787 </define>
5788 
5789 <!-- Used in: table-database-source-table -->
5790 <define name="table-database-source-query-attlist" combine="interleave">
5791     <attribute name="table:query-name">
5792         <ref name="string"/>
5793     </attribute>
5794 </define>
5795 
5796 <!-- Used in: table-database-range -->
5797 <define name="table-sort">
5798     <element name="table:sort">
5799         <ref name="table-sort-attlist"/>
5800         <oneOrMore>
5801             <ref name="table-sort-by"/>
5802         </oneOrMore>
5803     </element>
5804 </define>
5805 
5806 <!-- Used in: table-sort -->
5807 <!-- Next: table-sort-attlist -->
5808 <define name="table-sort-attlist" combine="interleave">
5809     <optional>
5810         <attribute name="table:bind-styles-to-content" a:defaultValue="true">
5811             <ref name="boolean"/>
5812         </attribute>
5813     </optional>
5814 </define>
5815 
5816 <!-- Used in: table-sort -->
5817 <!-- Next: table-sort-attlist -->
5818 <define name="table-sort-attlist" combine="interleave">
5819     <optional>
5820         <attribute name="table:target-range-address">
5821             <ref name="cellRangeAddress"/>
5822         </attribute>
5823     </optional>
5824 </define>
5825 
5826 <!-- Used in: table-sort -->
5827 <!-- Next: table-sort-attlist -->
5828 <define name="table-sort-attlist" combine="interleave">
5829     <optional>
5830         <attribute name="table:case-sensitive" a:defaultValue="false">
5831             <ref name="boolean"/>
5832         </attribute>
5833     </optional>
5834 </define>
5835 
5836 <!-- Used in: table-sort -->
5837 <!-- Next: table-sort-attlist -->
5838 <define name="table-sort-attlist" combine="interleave">
5839     <optional>
5840         <attribute name="table:language">
5841             <ref name="languageCode"/>
5842         </attribute>
5843     </optional>
5844 </define>
5845 
5846 <!-- Used in: table-sort -->
5847 <!-- Next: table-sort-attlist -->
5848 <define name="table-sort-attlist" combine="interleave">
5849     <optional>
5850         <attribute name="table:country">
5851             <ref name="countryCode"/>
5852         </attribute>
5853     </optional>
5854 </define>
5855 
5856 <!-- Used in: table-sort -->
5857 <define name="table-sort-attlist" combine="interleave">
5858     <optional>
5859         <attribute name="table:algorithm">
5860             <ref name="string"/>
5861         </attribute>
5862     </optional>
5863 </define>
5864 
5865 <!-- Used in: table-sort -->
5866 <define name="table-sort-by">
5867     <element name="table:sort-by">
5868         <ref name="table-sort-by-attlist"/>
5869         <empty/>
5870     </element>
5871 </define>
5872 
5873 <!-- Used in: table-sort-by -->
5874 <!-- Next: table-sort-by-attlist -->
5875 <define name="table-sort-by-attlist" combine="interleave">
5876     <attribute name="table:field-number">
5877         <ref name="nonNegativeInteger"/>
5878     </attribute>
5879 </define>
5880 
5881 <!-- Used in: table-sort-by -->
5882 <!-- Next: table-sort-by-attlist -->
5883 <define name="table-sort-by-attlist" combine="interleave">
5884     <optional>
5885         <attribute name="table:data-type" a:defaultValue="automatic">
5886             <choice>
5887                 <value>text</value>
5888                 <value>number</value>
5889                 <value>automatic</value>
5890                 <ref name="string"/>
5891             </choice>
5892         </attribute>
5893     </optional>
5894 </define>
5895 
5896 <!-- Used in: table-sort-by -->
5897 <define name="table-sort-by-attlist" combine="interleave">
5898     <optional>
5899         <attribute name="table:order" a:defaultValue="ascending">
5900             <choice>
5901                 <value>ascending</value>
5902                 <value>descending</value>
5903             </choice>
5904         </attribute>
5905     </optional>
5906 </define>
5907 
5908 <!-- Used in: table-database-range -->
5909 <define name="table-subtotal-rules">
5910     <element name="table:subtotal-rules">
5911         <ref name="table-subtotal-rules-attlist"/>
5912         <optional>
5913             <ref name="table-sort-groups"/>
5914         </optional>
5915         <zeroOrMore>
5916             <ref name="table-subtotal-rule"/>
5917         </zeroOrMore>
5918     </element>
5919 </define>
5920 
5921 <!-- Used in: table-subtotal-rules -->
5922 <!-- Next: table-subtotal-rules-attlist -->
5923 <define name="table-subtotal-rules-attlist" combine="interleave">
5924     <optional>
5925         <attribute name="table:bind-styles-to-content" a:defaultValue="true">
5926             <ref name="boolean"/>
5927         </attribute>
5928     </optional>
5929 </define>
5930 
5931 <!-- Used in: table-subtotal-rules -->
5932 <!-- Next: table-subtotal-rules-attlist -->
5933 <define name="table-subtotal-rules-attlist" combine="interleave">
5934     <optional>
5935         <attribute name="table:case-sensitive" a:defaultValue="false">
5936             <ref name="boolean"/>
5937         </attribute>
5938     </optional>
5939 </define>
5940 
5941 <!-- Used in: table-subtotal-rules -->
5942 <define name="table-subtotal-rules-attlist" combine="interleave">
5943     <optional>
5944         <attribute name="table:page-breaks-on-group-change" a:defaultValue="false">
5945             <ref name="boolean"/>
5946         </attribute>
5947     </optional>
5948 </define>
5949 
5950 <!-- Used in: table-subtotal-rules -->
5951 <define name="table-sort-groups">
5952     <element name="table:sort-groups">
5953         <ref name="table-sort-groups-attlist"/>
5954         <empty/>
5955     </element>
5956 </define>
5957 
5958 <!-- Used in: table-sort-groups -->
5959 <!-- Next: table-sort-groups-attlist -->
5960 <define name="table-sort-groups-attlist" combine="interleave">
5961     <optional>
5962         <attribute name="table:data-type" a:defaultValue="automatic">
5963             <choice>
5964                 <value>text</value>
5965                 <value>number</value>
5966                 <value>automatic</value>
5967                 <ref name="string"/>
5968             </choice>
5969         </attribute>
5970     </optional>
5971 </define>
5972 
5973 <!-- Used in: table-sort-groups -->
5974 <define name="table-sort-groups-attlist" combine="interleave">
5975     <optional>
5976         <attribute name="table:order" a:defaultValue="ascending">
5977             <choice>
5978                 <value>ascending</value>
5979                 <value>descending</value>
5980             </choice>
5981         </attribute>
5982     </optional>
5983 </define>
5984 
5985 <!-- Used in: table-subtotal-rules -->
5986 <define name="table-subtotal-rule">
5987     <element name="table:subtotal-rule">
5988         <ref name="table-subtotal-rule-attlist"/>
5989         <zeroOrMore>
5990             <ref name="table-subtotal-field"/>
5991         </zeroOrMore>
5992     </element>
5993 </define>
5994 
5995 <!-- Used in: table-subtotal-rule -->
5996 <define name="table-subtotal-rule-attlist" combine="interleave">
5997     <attribute name="table:group-by-field-number">
5998         <ref name="nonNegativeInteger"/>
5999     </attribute>
6000 </define>
6001 
6002 <!-- Used in: table-subtotal-rule -->
6003 <define name="table-subtotal-field">
6004     <element name="table:subtotal-field">
6005         <ref name="table-subtotal-field-attlist"/>
6006         <empty/>
6007     </element>
6008 </define>
6009 
6010 <!-- Used in: table-subtotal-field -->
6011 <!-- Next: table-subtotal-field-attlist -->
6012 <define name="table-subtotal-field-attlist" combine="interleave">
6013     <attribute name="table:field-number">
6014         <ref name="nonNegativeInteger"/>
6015     </attribute>
6016 </define>
6017 
6018 <!-- Used in: table-subtotal-field -->
6019 <define name="table-subtotal-field-attlist" combine="interleave">
6020     <attribute name="table:function">
6021         <choice>
6022             <value>auto</value>
6023             <value>average</value>
6024             <value>count</value>
6025             <value>countnums</value>
6026             <value>max</value>
6027             <value>min</value>
6028             <value>product</value>
6029             <value>stdev</value>
6030             <value>stdevp</value>
6031             <value>sum</value>
6032             <value>var</value>
6033             <value>varp</value>
6034             <ref name="string"/>
6035         </choice>
6036     </attribute>
6037 </define>
6038 
6039 <!-- Used in: table-database-range, table-source-cell-range -->
6040 <define name="table-filter">
6041     <element name="table:filter">
6042         <ref name="table-filter-attlist"/>
6043         <choice>
6044             <ref name="table-filter-condition"/>
6045             <ref name="table-filter-and"/>
6046             <ref name="table-filter-or"/>
6047         </choice>
6048     </element>
6049 </define>
6050 
6051 <!-- Used in: table-filter -->
6052 <!-- Next: table-filter-attlist -->
6053 <define name="table-filter-attlist" combine="interleave">
6054     <optional>
6055         <attribute name="table:target-range-address">
6056             <ref name="cellRangeAddress"/>
6057         </attribute>
6058     </optional>
6059 </define>
6060 
6061 <!-- Used in: table-filter -->
6062 <!-- Next: table-filter-attlist -->
6063 <define name="table-filter-attlist" combine="interleave">
6064     <optional>
6065         <attribute name="table:condition-source" a:defaultValue="self">
6066             <choice>
6067                 <value>self</value>
6068                 <value>cell-range</value>
6069             </choice>
6070         </attribute>
6071     </optional>
6072 </define>
6073 
6074 <!-- Used in: table-filter -->
6075 <!-- Next: table-filter-attlist -->
6076 <define name="table-filter-attlist" combine="interleave">
6077     <optional>
6078         <attribute name="table:condition-source-range-address">
6079             <ref name="cellRangeAddress"/>
6080         </attribute>
6081     </optional>
6082 </define>
6083 
6084 <!-- Used in: table-filter -->
6085 <define name="table-filter-attlist" combine="interleave">
6086     <optional>
6087         <attribute name="table:display-duplicates" a:defaultValue="true">
6088             <ref name="boolean"/>
6089         </attribute>
6090     </optional>
6091 </define>
6092 
6093 <!-- Used in: table-filter, table-filter-or -->
6094 <define name="table-filter-and">
6095     <element name="table:filter-and">
6096         <oneOrMore>
6097             <choice>
6098                 <ref name="table-filter-or"/>
6099                 <ref name="table-filter-condition"/>
6100             </choice>
6101         </oneOrMore>
6102     </element>
6103 </define>
6104 
6105 <!-- Used in: table-filter, table-filter-and -->
6106 <define name="table-filter-or">
6107     <element name="table:filter-or">
6108         <oneOrMore>
6109             <choice>
6110                 <ref name="table-filter-and"/>
6111                 <ref name="table-filter-condition"/>
6112             </choice>
6113         </oneOrMore>
6114     </element>
6115 </define>
6116 
6117 <!-- Used in: table-filter, table-filter-and, table-filter-or -->
6118 <define name="table-filter-condition">
6119     <element name="table:filter-condition">
6120         <ref name="table-filter-condition-attlist"/>
6121         <empty/>
6122     </element>
6123 </define>
6124 
6125 <!-- Used in: table-filter-condition -->
6126 <!-- Next: table-filter-condition-attlist -->
6127 <define name="table-filter-condition-attlist" combine="interleave">
6128     <attribute name="table:field-number">    
6129         <ref name="nonNegativeInteger"/>
6130     </attribute>
6131 </define>
6132 
6133 <!-- Used in: table-filter-condition -->
6134 <!-- Next: table-filter-condition-attlist -->
6135 <define name="table-filter-condition-attlist" combine="interleave">
6136     <attribute name="table:value">    
6137         <ref name="string"/>
6138     </attribute>
6139 </define>
6140 
6141 <!-- Used in: table-filter-condition -->
6142 <!-- Next: table-filter-condition-attlist -->
6143 <define name="table-filter-condition-attlist" combine="interleave">
6144     <attribute name="table:operator">    
6145         <ref name="string"/>
6146     </attribute>
6147 </define>
6148 
6149 <!-- Used in: table-filter-condition -->
6150 <!-- Next: table-filter-condition-attlist -->
6151 <define name="table-filter-condition-attlist" combine="interleave">
6152     <optional>
6153         <attribute name="table:case-sensitive" a:defaultValue="false">    
6154             <ref name="string"/>
6155         </attribute>
6156     </optional>
6157 </define>
6158 
6159 <!-- Used in: table-filter-condition -->
6160 <define name="table-filter-condition-attlist" combine="interleave">
6161     <optional>
6162         <attribute name="table:data-type" a:defaultValue="text">
6163             <choice>
6164                 <value>text</value>
6165                 <value>number</value>
6166             </choice>
6167         </attribute>
6168     </optional>
6169 </define>
6170 
6171 <!-- Used in: table-functions -->
6172 <define name="table-data-pilot-tables">
6173     <element name="table:data-pilot-tables">
6174         <zeroOrMore>
6175             <ref name="table-data-pilot-table"/>
6176         </zeroOrMore>
6177     </element>
6178 </define>
6179 
6180 <!-- Used in: table-data-pilot-tables -->
6181 <define name="table-data-pilot-table">
6182     <element name="table:data-pilot-table">
6183         <ref name="table-data-pilot-table-attlist"/>
6184         <optional>
6185             <choice>
6186                 <ref name="table-database-source-sql"/>
6187                 <ref name="table-database-source-table"/>
6188                 <ref name="table-database-source-query"/>
6189                 <ref name="table-source-service"/>
6190                 <ref name="table-source-cell-range"/>
6191             </choice>
6192         </optional>
6193         <oneOrMore>
6194             <ref name="table-data-pilot-field"/>
6195         </oneOrMore>
6196     </element>
6197 </define>
6198 
6199 <!-- Used in: table-data-pilot-table -->
6200 <!-- Next: table-data-pilot-table-attlist -->
6201 <define name="table-data-pilot-table-attlist" combine="interleave">
6202     <attribute name="table:name">
6203         <ref name="string"/>
6204     </attribute>
6205 </define>
6206 
6207 <!-- Used in: table-data-pilot-table -->
6208 <!-- Next: table-data-pilot-table-attlist -->
6209 <define name="table-data-pilot-table-attlist" combine="interleave">
6210     <optional>
6211         <attribute name="table:application-data">
6212             <ref name="string"/>
6213         </attribute>
6214     </optional>
6215 </define>
6216 
6217 <!-- Used in: table-data-pilot-table -->
6218 <!-- Next: table-data-pilot-table-attlist -->
6219 <define name="table-data-pilot-table-attlist" combine="interleave">
6220     <optional>
6221         <attribute name="table:grand-total" a:defaultValue="both">
6222             <choice>
6223                 <value>none</value>
6224                 <value>row</value>
6225                 <value>column</value>
6226                 <value>both</value>
6227             </choice>
6228         </attribute>
6229     </optional>
6230 </define>
6231 
6232 <!-- Used in: table-data-pilot-table -->
6233 <!-- Next: table-data-pilot-table-attlist -->
6234 <define name="table-data-pilot-table-attlist" combine="interleave">
6235     <optional>
6236         <attribute name="table:ignore-empty-rows" a:defaultValue="false">    
6237             <ref name="boolean"/>
6238         </attribute>
6239     </optional>
6240 </define>
6241 
6242 <!-- Used in: table-data-pilot-table -->
6243 <!-- Next: table-data-pilot-table-attlist -->
6244 <define name="table-data-pilot-table-attlist" combine="interleave">
6245     <optional>
6246         <attribute name="table:identify-categories" a:defaultValue="false">    
6247             <ref name="boolean"/>
6248         </attribute>
6249     </optional>
6250 </define>
6251 
6252 <!-- Used in: table-data-pilot-table -->
6253 <!-- Next: table-data-pilot-table-attlist -->
6254 <define name="table-data-pilot-table-attlist" combine="interleave">
6255     <attribute name="table:target-range-address">    
6256         <ref name="cellRangeAddress"/>
6257     </attribute>
6258 </define>
6259 
6260 <!-- Used in: table-data-pilot-table -->
6261 <!-- Next: table-data-pilot-table-attlist -->
6262 <define name="table-data-pilot-table-attlist" combine="interleave">
6263     <optional>
6264         <attribute name="table:buttons">    
6265             <ref name="cellRangeAddressList"/>
6266         </attribute>
6267     </optional>
6268 </define>
6269 
6270 <!-- Used in: table-data-pilot-table -->
6271 <!-- Next: table-data-pilot-table-attlist -->
6272 <define name="table-data-pilot-table-attlist" combine="interleave">
6273     <optional>
6274         <attribute name="table:show-filter-button" a:defaultValue="true">    
6275             <ref name="boolean"/>
6276         </attribute>
6277     </optional>
6278 </define>
6279 
6280 <!-- Used in: table-data-pilot-table -->
6281 <define name="table-data-pilot-table-attlist" combine="interleave">
6282     <optional>
6283         <attribute name="table:drill-down-on-double-click" a:defaultValue="true">    
6284             <ref name="boolean"/>
6285         </attribute>
6286     </optional>
6287 </define>
6288 
6289 <!-- Used in: table-data-pilot-table -->
6290 <define name="table-source-cell-range">
6291     <element name="table:source-cell-range">
6292         <ref name="table-source-cell-range-attlist"/>
6293         <optional>
6294             <ref name="table-filter"/>
6295         </optional>
6296     </element>
6297 </define>
6298 
6299 <!-- Used in: table-source-cell-range -->
6300 <define name="table-source-cell-range-attlist" combine="interleave">
6301     <attribute name="table:cell-range-address">    
6302         <ref name="cellRangeAddress"/>
6303     </attribute>
6304 </define>
6305 
6306 <!-- Used in: table-data-pilot-table -->
6307 <define name="table-source-service">
6308     <element name="table:source-service">
6309         <ref name="table-source-service-attlist"/>
6310         <empty/>
6311     </element>
6312 </define>
6313 
6314 <!-- Used in: table-source-service -->
6315 <!-- Next: table-source-service-attlist -->
6316 <define name="table-source-service-attlist" combine="interleave">
6317     <attribute name="table:name">    
6318         <ref name="string"/>
6319     </attribute>
6320 </define>
6321 
6322 <!-- Used in: table-source-service -->
6323 <!-- Next: table-source-service-attlist -->
6324 <define name="table-source-service-attlist" combine="interleave">
6325     <attribute name="table:source-name">
6326         <ref name="string"/>
6327     </attribute>
6328 </define>
6329 
6330 <!-- Used in: table-source-service -->
6331 <!-- Next: table-source-service-attlist -->
6332 <define name="table-source-service-attlist" combine="interleave">
6333     <attribute name="table:object-name">
6334         <ref name="string"/>
6335     </attribute>
6336 </define>
6337 
6338 <!-- Used in: table-source-service -->
6339 <!-- Next: table-source-service-attlist -->
6340 <define name="table-source-service-attlist" combine="interleave">
6341     <optional>
6342         <attribute name="table:user-name">
6343             <ref name="string"/>
6344         </attribute>
6345     </optional>
6346 </define>
6347 
6348 <!-- Used in: table-source-service -->
6349 <define name="table-source-service-attlist" combine="interleave">
6350     <optional>
6351         <attribute name="table:password">
6352             <ref name="string"/>
6353         </attribute>
6354     </optional>
6355 </define>
6356 
6357 <!-- Used in: table-data-pilot-table -->
6358 <define name="table-data-pilot-field">
6359     <element name="table:data-pilot-field">
6360         <ref name="table-data-pilot-field-attlist"/>
6361         <optional>
6362             <ref name="table-data-pilot-level"/>
6363         </optional>
6364         <optional>
6365             <ref name="table-data-pilot-field-reference"/>
6366         </optional>
6367         <optional>
6368             <ref name="table-data-pilot-groups"/>
6369         </optional>
6370     </element>
6371 </define>
6372 
6373 <!-- Used in: table-data-pilot-field -->
6374 <!-- Next: table-data-pilot-field-attlist -->
6375 <define name="table-data-pilot-field-attlist" combine="interleave">
6376     <attribute name="table:source-field-name">    
6377         <ref name="string"/>
6378     </attribute>
6379 </define>
6380 
6381 <!-- Used in: table-data-pilot-field -->
6382 <!-- Next: table-data-pilot-field-attlist -->
6383 <define name="table-data-pilot-field-attlist" combine="interleave">
6384     <choice>
6385         <attribute name="table:orientation">    
6386             <choice>
6387                 <value>row</value>
6388                 <value>column</value>
6389                 <value>data</value>
6390                 <value>hidden</value>
6391             </choice>
6392         </attribute>
6393         <group>
6394             <attribute name="table:orientation">
6395                 <value>page</value>
6396             </attribute>
6397             <attribute name="table:selected-page">
6398                 <ref name="string"/>
6399             </attribute>
6400         </group>
6401     </choice>
6402 </define>
6403 
6404 <!-- Used in: table-data-pilot-field -->
6405 <!-- Next: table-data-pilot-field-attlist -->
6406 <define name="table-data-pilot-field-attlist" combine="interleave">
6407     <optional>
6408         <attribute name="table:is-data-layout-field" a:defaultValue="false">    
6409             <ref name="string"/>
6410         </attribute>
6411     </optional>
6412 </define>
6413 
6414 <!-- Used in: table-data-pilot-field -->
6415 <!-- Next: table-data-pilot-field-attlist -->
6416 <define name="table-data-pilot-field-attlist" combine="interleave">
6417     <optional>
6418         <attribute name="table:function">
6419             <choice>
6420                 <value>auto</value>
6421                 <value>average</value>
6422                 <value>count</value>
6423                 <value>countnums</value>
6424                 <value>max</value>
6425                 <value>min</value>
6426                 <value>product</value>
6427                 <value>stdev</value>
6428                 <value>stdevp</value>
6429                 <value>sum</value>
6430                 <value>var</value>
6431                 <value>varp</value>
6432                 <ref name="string"/>
6433             </choice>
6434         </attribute>
6435     </optional>
6436 </define>
6437 
6438 <!-- Used in: table-data-pilot-field -->
6439 <define name="table-data-pilot-field-attlist" combine="interleave">
6440     <optional>
6441         <attribute name="table:used-hierarchy" a:defaultValue="-1">    
6442             <ref name="integer"/>
6443         </attribute>
6444     </optional>
6445 </define>
6446 
6447 <!-- Used in: table-data-pilot-field -->
6448 <define name="table-data-pilot-level">
6449     <element name="table:data-pilot-level">
6450         <ref name="table-data-pilot-level-attlist"/>
6451         <optional>
6452             <ref name="table-data-pilot-subtotals"/>
6453         </optional>
6454         <optional>
6455             <ref name="table-data-pilot-members"/>
6456         </optional>
6457         <optional>
6458             <ref name="table-data-pilot-display-info"/>
6459         </optional>
6460         <optional>
6461             <ref name="table-data-pilot-sort-info"/>
6462         </optional>
6463         <optional>
6464             <ref name="table-data-pilot-layout-info"/>
6465         </optional>
6466     </element>
6467 </define>
6468 
6469 <!-- Used in: table-data-pilot-level -->
6470 <define name="table-data-pilot-level-attlist" combine="interleave">
6471     <optional>
6472         <attribute name="table:show-empty">    
6473             <ref name="boolean"/>
6474         </attribute>
6475     </optional>
6476 </define>
6477 
6478 <!-- Used in: table-data-pilot-level -->
6479 <define name="table-data-pilot-subtotals">
6480     <element name="table:data-pilot-subtotals">
6481         <zeroOrMore>
6482             <ref name="table-data-pilot-subtotal"/>
6483         </zeroOrMore>
6484     </element>
6485 </define>
6486 
6487 <!-- Used in: table-data-pilot-subtotals -->
6488 <define name="table-data-pilot-subtotal">
6489     <element name="table:data-pilot-subtotal">
6490         <ref name="table-data-pilot-subtotal-attlist"/>
6491         <empty/>
6492     </element>
6493 </define>
6494 
6495 <!-- Used in: table-data-pilot-subtotal -->
6496 <define name="table-data-pilot-subtotal-attlist" combine="interleave">
6497     <attribute name="table:function">
6498         <choice>
6499             <value>auto</value>
6500             <value>average</value>
6501             <value>count</value>
6502             <value>countnums</value>
6503             <value>max</value>
6504             <value>min</value>
6505             <value>product</value>
6506             <value>stdev</value>
6507             <value>stdevp</value>
6508             <value>sum</value>
6509             <value>var</value>
6510             <value>varp</value>
6511             <ref name="string"/>
6512         </choice>
6513     </attribute>
6514 </define>
6515 
6516 <!-- Used in: table-data-pilot-level -->
6517 <define name="table-data-pilot-members">
6518     <element name="table:data-pilot-members">
6519         <zeroOrMore>
6520             <ref name="table-data-pilot-member"/>
6521         </zeroOrMore>
6522     </element>
6523 </define>
6524 
6525 <!-- Used in: table-data-pilot-members -->
6526 <define name="table-data-pilot-member">
6527     <element name="table:data-pilot-member">
6528         <ref name="table-data-pilot-member-attlist"/>
6529         <empty/>
6530     </element>
6531 </define>
6532 
6533 <!-- Used in: table-data-pilot-member -->
6534 <!-- Next: table-data-pilot-member-attlist -->
6535 <define name="table-data-pilot-member-attlist" combine="interleave">
6536     <attribute name="table:name">
6537         <ref name="string"/>
6538     </attribute>
6539 </define>
6540 
6541 <!-- Used in: table-data-pilot-member -->
6542 <!-- Next: table-data-pilot-member-attlist -->
6543 <define name="table-data-pilot-member-attlist" combine="interleave">
6544     <optional>
6545         <attribute name="table:display">
6546             <ref name="boolean"/>
6547         </attribute>
6548     </optional>
6549 </define>
6550 
6551 <!-- Used in: table-data-pilot-member -->
6552 <define name="table-data-pilot-member-attlist" combine="interleave">
6553     <optional>
6554         <attribute name="table:show-details">
6555             <ref name="boolean"/>
6556         </attribute>
6557     </optional>
6558 </define>
6559 
6560 <!-- Used in: table-data-pilot-level -->
6561 <define name="table-data-pilot-display-info">
6562     <element name="table:data-pilot-display-info">
6563         <ref name="table-data-pilot-display-info-attlist"/>
6564         <empty/>
6565     </element>
6566 </define>
6567 
6568 <!-- Used in: table-data-pilot-display-info -->
6569 <!-- Next: table-data-pilot-display-info-attlist -->
6570 <define name="table-data-pilot-display-info-attlist" combine="interleave">
6571     <attribute name="table:enabled">
6572         <ref name="boolean"/>
6573     </attribute>
6574 </define>
6575 
6576 <!-- Used in: table-data-pilot-display-info -->
6577 <!-- Next: table-data-pilot-display-info-attlist -->
6578 <define name="table-data-pilot-display-info-attlist" combine="interleave">
6579     <attribute name="table:data-field">
6580         <ref name="string"/>
6581     </attribute>
6582 </define>
6583 
6584 <!-- Used in: table-data-pilot-display-info -->
6585 <!-- Next: table-data-pilot-display-info-attlist -->
6586 <define name="table-data-pilot-display-info-attlist" combine="interleave">
6587     <attribute name="table:member-count">
6588         <ref name="nonNegativeInteger"/>
6589     </attribute>
6590 </define>
6591 
6592 <!-- Used in: table-data-pilot-display-info -->
6593 <define name="table-data-pilot-display-info-attlist" combine="interleave">
6594     <attribute name="table:display-member-mode">
6595         <choice>
6596             <value>from-top</value>
6597             <value>from-bottom</value>
6598         </choice>
6599     </attribute>
6600 </define>
6601 
6602 <!-- Used in: table-data-pilot-level -->
6603 <define name="table-data-pilot-sort-info">
6604     <element name="table:data-pilot-sort-info">
6605         <ref name="table-data-pilot-sort-info-attlist"/>
6606         <empty/>
6607     </element>
6608 </define>
6609 
6610 <!-- Used in: table-data-pilot-sort-info -->
6611 <!-- Next: table-data-pilot-sort-info-attlist -->
6612 <define name="table-data-pilot-sort-info-attlist" combine="interleave">
6613     <choice>
6614         <group>
6615             <attribute name="table:sort-mode">
6616                 <value>data</value>
6617             </attribute>
6618             <attribute name="table:data-field">
6619                 <ref name="string"/>
6620             </attribute>
6621         </group>
6622         <attribute name="table:sort-mode">
6623             <choice>
6624                 <value>none</value>
6625                 <value>manual</value>
6626                 <value>name</value>
6627             </choice>
6628         </attribute>
6629     </choice>
6630 </define>
6631 
6632 <!-- Used in: table-data-pilot-sort-info -->
6633 <define name="table-data-pilot-sort-info-attlist" combine="interleave">
6634     <attribute name="table:order">
6635         <choice>
6636             <value>ascending</value>
6637             <value>descending</value>
6638         </choice>
6639     </attribute>
6640 </define>
6641 
6642 <!-- Used in: table-data-pilot-level -->
6643 <define name="table-data-pilot-layout-info">
6644     <element name="table:data-pilot-layout-info">
6645         <ref name="table-data-pilot-layout-info-attlist"/>
6646         <empty/>
6647     </element>
6648 </define>
6649 
6650 <!-- Used in: table-data-pilot-layout-info -->
6651 <!-- Next: table-data-pilot-layout-info-attlist -->
6652 <define name="table-data-pilot-layout-info-attlist" combine="interleave">
6653     <attribute name="table:layout-mode">
6654         <choice>
6655             <value>tabular-layout</value>
6656             <value>outline-subtotals-top</value>
6657             <value>outline-subtotals-bottom</value>
6658         </choice>
6659     </attribute>
6660 </define>
6661 
6662 <!-- Used in: table-data-pilot-layout-info -->
6663 <define name="table-data-pilot-layout-info-attlist" combine="interleave">
6664     <attribute name="table:add-empty-lines">
6665         <ref name="boolean"/>
6666     </attribute>
6667 </define>
6668 
6669 <!-- Used in: table-data-pilot-field -->
6670 <define name="table-data-pilot-field-reference">
6671     <element name="table:data-pilot-field-reference">
6672         <ref name="table-data-pilot-field-reference-attlist"/>
6673     </element>
6674 </define>
6675 
6676 <!-- Used in: table-data-pilot-field-reference -->
6677 <!-- Next: table-data-pilot-field-reference-attlist -->
6678 <define name="table-data-pilot-field-reference-attlist" combine="interleave">
6679     <attribute name="table:field-name">
6680         <ref name="string"/>
6681     </attribute>
6682 </define>
6683 
6684 <!-- Used in: table-data-pilot-field-reference -->
6685 <!-- Next: table-data-pilot-field-reference-attlist -->
6686 <define name="table-data-pilot-field-reference-attlist" combine="interleave">
6687     <choice>
6688         <group>
6689             <attribute name="table:member-type">
6690                 <value>named</value>
6691             </attribute>
6692             <attribute name="table:member-name">
6693                 <ref name="string"/>
6694             </attribute>
6695         </group>
6696         <attribute name="table:member-type">
6697             <choice>
6698                 <value>previous</value>
6699                 <value>next</value>
6700             </choice>
6701         </attribute>
6702     </choice>
6703 </define>
6704 
6705 <!-- Used in: table-data-pilot-field-reference -->
6706 <define name="table-data-pilot-field-reference-attlist" combine="interleave">
6707     <attribute name="table:type">
6708         <choice>
6709             <value>none</value>
6710             <value>member-difference</value>
6711             <value>member-percentage</value>
6712             <value>member-percentage-difference</value>
6713             <value>running-total</value>
6714             <value>row-percentage</value>
6715             <value>column-percentage</value>
6716             <value>total-percentage</value>
6717             <value>index</value>
6718         </choice>
6719     </attribute>
6720 </define>
6721 
6722 <!-- Used in: table-data-pilot-field -->
6723 <define name="table-data-pilot-groups">
6724     <element name="table:data-pilot-groups">
6725         <ref name="table-data-pilot-groups-attlist"/>
6726         <oneOrMore>
6727             <ref name="table-data-pilot-group"/>
6728         </oneOrMore>
6729     </element>
6730 </define>
6731 
6732 <!-- Used in: table-data-pilot-groups -->
6733 <!-- Next: table-data-pilot-groups-attlist -->
6734 <define name="table-data-pilot-groups-attlist" combine="interleave">
6735     <attribute name="table:source-field-name">
6736         <ref name="string"/>
6737     </attribute>
6738 </define>
6739 
6740 <!-- Used in: table-data-pilot-groups -->
6741 <!-- Next: table-data-pilot-groups-attlist -->
6742 <define name="table-data-pilot-groups-attlist" combine="interleave">
6743     <choice>
6744         <attribute name="table:date-start">
6745             <choice>
6746                 <ref name="dateOrDateTime"/>
6747                 <value>auto</value>
6748             </choice>
6749         </attribute>
6750         <attribute name="table:start">
6751             <choice>
6752                 <ref name="double"/>
6753                 <value>auto</value>
6754             </choice>
6755         </attribute>
6756     </choice>
6757 </define>
6758 
6759 <!-- Used in: table-data-pilot-groups -->
6760 <!-- Next: table-data-pilot-groups-attlist -->
6761 <define name="table-data-pilot-groups-attlist" combine="interleave">
6762     <choice>
6763         <attribute name="table:date-end">
6764             <choice>
6765                 <ref name="dateOrDateTime"/>
6766                 <value>auto</value>
6767             </choice>
6768         </attribute>
6769         <attribute name="table:end">
6770             <choice>
6771                 <ref name="double"/>
6772                 <value>auto</value>
6773             </choice>
6774         </attribute>
6775     </choice>
6776 </define>
6777 
6778 <!-- Used in: table-data-pilot-groups -->
6779 <!-- Next: table-data-pilot-groups-attlist -->
6780 <define name="table-data-pilot-groups-attlist" combine="interleave">
6781     <attribute name="table:step">
6782         <ref name="double"/>
6783     </attribute>
6784 </define>
6785 
6786 <!-- Used in: table-data-pilot-groups -->
6787 <define name="table-data-pilot-groups-attlist" combine="interleave">
6788     <attribute name="table:grouped-by">
6789         <choice>
6790             <value>seconds</value>
6791             <value>minutes</value>
6792             <value>hours</value>
6793             <value>days</value>
6794             <value>months</value>
6795             <value>quarters</value>
6796             <value>years</value>
6797         </choice>
6798     </attribute>
6799 </define>
6800 
6801 <!-- Used in: table-data-pilot-groups -->
6802 <define name="table-data-pilot-group">
6803     <element name="table:data-pilot-group">
6804         <ref name="table-data-pilot-group-attlist"/>
6805         <oneOrMore>
6806             <ref name="table-data-pilot-group-member"/>
6807         </oneOrMore>
6808     </element>
6809 </define>
6810 
6811 <!-- Used in: table-data-pilot-group -->
6812 <define name="table-data-pilot-group-attlist" combine="interleave">
6813     <attribute name="table:name">
6814         <ref name="string"/>
6815     </attribute>
6816 </define>
6817 
6818 <!-- Used in: table-data-pilot-group -->
6819 <define name="table-data-pilot-group-member">
6820     <element name="table:data-pilot-group-member">
6821         <ref name="table-data-pilot-group-member-attlist"/>
6822     </element>
6823 </define>
6824 
6825 <!-- Used in: table-data-pilot-group-member -->
6826 <define name="table-data-pilot-group-member-attlist" combine="interleave">
6827     <attribute name="table:name">
6828         <ref name="string"/>
6829     </attribute>
6830 </define>
6831 
6832 <!-- Used in: table-functions -->
6833 <define name="table-consolidation">
6834     <element name="table:consolidation">
6835         <ref name="table-consolidation-attlist"/>
6836         <empty/>
6837     </element>
6838 </define>
6839 
6840 <!-- Used in: table-consolidation -->
6841 <!-- Next: table-consolidation-attlist -->
6842 <define name="table-consolidation-attlist" combine="interleave">
6843     <attribute name="table:function">    
6844         <choice>
6845             <value>auto</value>
6846             <value>average</value>
6847             <value>count</value>
6848             <value>countnums</value>
6849             <value>max</value>
6850             <value>min</value>
6851             <value>product</value>
6852             <value>stdev</value>
6853             <value>stdevp</value>
6854             <value>sum</value>
6855             <value>var</value>
6856             <value>varp</value>
6857             <ref name="string"/>
6858         </choice>
6859     </attribute>
6860 </define>
6861 
6862 <!-- Used in: table-consolidation -->
6863 <!-- Next: table-consolidation-attlist -->
6864 <define name="table-consolidation-attlist" combine="interleave">
6865     <attribute name="table:source-cell-range-addresses">    
6866         <ref name="cellRangeAddressList"/>
6867     </attribute>
6868 </define>
6869 
6870 <!-- Used in: table-consolidation -->
6871 <!-- Next: table-consolidation-attlist -->
6872 <define name="table-consolidation-attlist" combine="interleave">
6873     <attribute name="table:target-cell-address">    
6874         <ref name="cellAddress"/>
6875     </attribute>
6876 </define>
6877 
6878 <!-- Used in: table-consolidation -->
6879 <!-- Next: table-consolidation-attlist -->
6880 <define name="table-consolidation-attlist" combine="interleave">
6881     <optional>
6882         <attribute name="table:use-labels" a:defaultValue="none">
6883             <choice>
6884                 <value>none</value>
6885                 <value>row</value>
6886                 <value>column</value>
6887                 <value>both</value>
6888             </choice>
6889         </attribute>
6890     </optional>
6891 </define>
6892 
6893 <!-- Used in: table-consolidation -->
6894 <define name="table-consolidation-attlist" combine="interleave">
6895     <optional>
6896         <attribute name="table:link-to-source-data" a:defaultValue="false">
6897             <ref name="boolean"/>
6898         </attribute>
6899     </optional>
6900 </define>
6901 
6902 <!-- Used in: table-functions -->
6903 <define name="table-dde-links">
6904     <element name="table:dde-links">
6905         <oneOrMore>
6906             <ref name="table-dde-link"/>
6907         </oneOrMore>
6908     </element>
6909 </define>
6910 
6911 <!-- Used in: office-spreadsheet-content-prelude -->
6912 <define name="table-tracked-changes">
6913     <element name="table:tracked-changes">
6914         <ref name="table-tracked-changes-attlist"/>
6915         <zeroOrMore>
6916             <choice>
6917                 <ref name="table-cell-content-change"/>
6918                 <ref name="table-insertion"/>
6919                 <ref name="table-deletion"/>
6920                 <ref name="table-movement"/>
6921             </choice>
6922         </zeroOrMore>
6923     </element>
6924 </define>
6925 
6926 <!-- Used in: table-tracked-changes -->
6927 <define name="table-tracked-changes-attlist" combine="interleave">
6928     <optional>
6929         <attribute name="table:track-changes" a:defaultValue="false">
6930             <ref name="boolean"/>
6931         </attribute>
6932     </optional>
6933 </define>
6934 
6935 <!-- Used in: table-tracked-changes -->
6936 <define name="table-insertion">
6937     <element name="table:insertion">
6938         <ref name="table-insertion-attlist"/>
6939         <ref name="common-table-change-attlist"/>
6940         <ref name="office-change-info"/>
6941         <optional>
6942             <ref name="table-dependencies"/>
6943         </optional>
6944         <optional>
6945             <ref name="table-deletions"/>
6946         </optional>
6947     </element>
6948 </define>
6949 
6950 <!-- Used in: table-insertion -->
6951 <!-- Next: table-insertion-attlist -->
6952 <define name="table-insertion-attlist" combine="interleave">
6953     <attribute name="table:type">
6954         <choice>
6955             <value>row</value>
6956             <value>column</value>
6957             <value>table</value>
6958         </choice>
6959     </attribute>
6960 </define>
6961 
6962 <!-- Used in: table-insertion -->
6963 <!-- Next: table-insertion-attlist -->
6964 <define name="table-insertion-attlist" combine="interleave">
6965     <attribute name="table:position">
6966         <ref name="integer"/>
6967     </attribute>
6968 </define>
6969 
6970 <!-- Used in: table-insertion -->
6971 <!-- Next: table-insertion-attlist -->
6972 <define name="table-insertion-attlist" combine="interleave">
6973     <optional>
6974         <attribute name="table:count" a:defaultValue="1">
6975             <ref name="positiveInteger"/>
6976         </attribute>
6977     </optional>
6978 </define>
6979 
6980 <!-- Used in: table-insertion -->
6981 <define name="table-insertion-attlist" combine="interleave">
6982     <optional>
6983         <attribute name="table:table">
6984             <ref name="integer"/>
6985         </attribute>
6986     </optional>
6987 </define>
6988 
6989 <!-- Used in: table-insertion, table-deletion, table-movement, table-cell-content-change -->
6990 <define name="table-dependencies">
6991     <element name="table:dependencies">
6992         <oneOrMore>
6993             <ref name="table-dependency"/>
6994         </oneOrMore>
6995     </element>
6996 </define>
6997 
6998 <!-- Used in: table-dependencies -->
6999 <define name="table-dependency">
7000     <element name="table:dependency">
7001         <attribute name="table:id">
7002             <ref name="string"/>
7003         </attribute>
7004         <empty/>
7005     </element>
7006 </define>
7007 
7008 <!-- Used in: table-insertion, table-deletion, table-movement, table-cell-content-change -->
7009 <define name="table-deletions">
7010     <element name="table:deletions">
7011         <oneOrMore>
7012             <choice>
7013                 <ref name="table-cell-content-deletion"/>
7014                 <ref name="table-change-deletion"/>
7015             </choice>
7016         </oneOrMore>
7017     </element>
7018 </define>
7019 
7020 <!-- Used in: table-deletions -->
7021 <define name="table-cell-content-deletion">
7022     <element name="table:cell-content-deletion">
7023         <optional>
7024             <attribute name="table:id">
7025                 <ref name="string"/>
7026             </attribute>
7027         </optional>
7028         <optional>
7029             <ref name="table-cell-address"/>
7030         </optional>
7031         <optional>
7032             <ref name="table-change-track-table-cell"/>
7033         </optional>
7034     </element>
7035 </define>
7036 
7037 <!-- Used in: table-deletions -->
7038 <define name="table-change-deletion">
7039     <element name="table:change-deletion">
7040         <optional>
7041             <attribute name="table:id">
7042                 <ref name="string"/>
7043             </attribute>
7044         </optional>
7045         <empty/>
7046     </element>
7047 </define>
7048 
7049 <!-- Used in: table-tracked-changes -->
7050 <define name="table-deletion">
7051     <element name="table:deletion">
7052         <ref name="table-deletion-attlist"/>
7053         <ref name="common-table-change-attlist"/>
7054         <ref name="office-change-info"/>
7055         <optional>
7056             <ref name="table-dependencies"/>
7057         </optional>
7058         <optional>
7059             <ref name="table-deletions"/>
7060         </optional>
7061         <optional>
7062             <ref name="table-cut-offs"/>
7063         </optional>
7064     </element>
7065 </define>
7066 
7067 <!-- Used in: table-deletion -->
7068 <!-- Next: table-deletion-attlist -->
7069 <define name="table-deletion-attlist" combine="interleave">
7070     <attribute name="table:type">
7071         <choice>
7072             <value>row</value>
7073             <value>column</value>
7074             <value>table</value>
7075         </choice>
7076     </attribute>
7077 </define>
7078 
7079 <!-- Used in: table-deletion -->
7080 <!-- Next: table-deletion-attlist -->
7081 <define name="table-deletion-attlist" combine="interleave">
7082     <attribute name="table:position">
7083         <ref name="integer"/>
7084     </attribute>
7085 </define>
7086 
7087 <!-- Used in: table-deletion -->
7088 <!-- Next: table-deletion-attlist -->
7089 <define name="table-deletion-attlist" combine="interleave">
7090     <optional>
7091         <attribute name="table:table">
7092             <ref name="integer"/>
7093         </attribute>
7094     </optional>
7095 </define>
7096 
7097 <!-- Used in: table-deletion -->
7098 <define name="table-deletion-attlist" combine="interleave">
7099     <optional>
7100         <attribute name="table:multi-deletion-spanned">
7101             <ref name="integer"/>
7102         </attribute>
7103     </optional>
7104 </define>
7105 
7106 <!-- Used in: table-deletion -->
7107 <define name="table-cut-offs">
7108     <element name="table:cut-offs">
7109         <choice>
7110             <oneOrMore>
7111                 <ref name="table-movement-cut-off"/>
7112             </oneOrMore>
7113             <group>
7114                 <ref name="table-insertion-cut-off"/>
7115                 <zeroOrMore>
7116                     <ref name="table-movement-cut-off"/>
7117                 </zeroOrMore>
7118             </group>
7119         </choice>
7120     </element>
7121 </define>
7122 
7123 <!-- Used in: table-cut-offs -->
7124 <define name="table-insertion-cut-off">
7125     <element name="table:insertion-cut-off">
7126         <ref name="table-insertion-cut-off-attlist"/>
7127         <empty/>
7128     </element>
7129 </define>
7130 
7131 <!-- Used in: table-insertion-cut-off -->
7132 <!-- Next: table-insertion-cut-off-attlist -->
7133 <define name="table-insertion-cut-off-attlist" combine="interleave">
7134     <attribute name="table:id">
7135         <ref name="string"/>
7136     </attribute>
7137 </define>
7138 
7139 <!-- Used in: table-insertion-cut-off -->
7140 <define name="table-insertion-cut-off-attlist" combine="interleave">
7141     <attribute name="table:position">
7142         <ref name="integer"/>
7143     </attribute>
7144 </define>
7145 
7146 <!-- Used in: table-cut-offs -->
7147 <define name="table-movement-cut-off">
7148     <element name="table:movement-cut-off">
7149         <ref name="table-movement-cut-off-attlist"/>
7150         <empty/>
7151     </element>
7152 </define>
7153 
7154 <!-- Used in: table-movement-cut-off -->
7155 <define name="table-movement-cut-off-attlist" combine="interleave">
7156     <choice>
7157         <attribute name="table:position">
7158             <ref name="integer"/>
7159         </attribute>
7160         <group>
7161             <attribute name="table:start-position">
7162                 <ref name="integer"/>
7163             </attribute>
7164             <attribute name="table:end-position">
7165                 <ref name="integer"/>
7166             </attribute>
7167         </group>
7168     </choice>
7169 </define>
7170 
7171 <!-- Used in: table-tracked-changes -->
7172 <define name="table-movement">
7173     <element name="table:movement">
7174         <ref name="common-table-change-attlist"/>
7175         <ref name="table-source-range-address"/>
7176         <ref name="table-target-range-address"/>
7177         <ref name="office-change-info"/>
7178         <optional>
7179             <ref name="table-dependencies"/>
7180         </optional>
7181         <optional>
7182             <ref name="table-deletions"/>
7183         </optional>
7184     </element>
7185 </define>
7186 
7187 <!-- Used in: table-movement -->
7188 <define name="table-source-range-address">
7189     <element name="table:source-range-address">
7190         <ref name="common-table-range-attlist"/>
7191         <empty/>
7192     </element>
7193 </define>
7194 
7195 
7196 <!-- Used in: table-movement -->
7197 <define name="table-target-range-address">
7198     <element name="table:target-range-address">
7199         <ref name="common-table-range-attlist"/>
7200         <empty/>
7201     </element>
7202 </define>
7203 
7204 
7205 
7206 <!-- Used in: table-source-range-address, table-target-range-address -->
7207 <define name="common-table-range-attlist" combine="interleave">
7208     <choice>
7209         <group>
7210             <ref name="common-table-cell-address-attlist"/>
7211         </group>
7212         <group>
7213             <ref name="common-table-cell-range-address-attlist"/>
7214         </group>
7215     </choice>
7216 </define>
7217 
7218 <!-- Used in: common-table-range-attlist, table-cell-address -->
7219 <define name="common-table-cell-address-attlist" combine="interleave">
7220     <attribute name="table:column">
7221         <ref name="integer"/>
7222     </attribute>
7223     <attribute name="table:row">
7224         <ref name="integer"/>
7225     </attribute>
7226     <attribute name="table:table">
7227         <ref name="integer"/>
7228     </attribute>
7229 </define>
7230 
7231 <!-- Used in: common-table-range-attlist -->
7232 <define name="common-table-cell-range-address-attlist" combine="interleave">
7233     <attribute name="table:start-column">
7234         <ref name="integer"/>
7235     </attribute>
7236     <attribute name="table:start-row">
7237         <ref name="integer"/>
7238     </attribute>
7239     <attribute name="table:start-table">
7240         <ref name="integer"/>
7241     </attribute>
7242     <attribute name="table:end-column">
7243         <ref name="integer"/>
7244     </attribute>
7245     <attribute name="table:end-row">
7246         <ref name="integer"/>
7247     </attribute>
7248     <attribute name="table:end-table">
7249         <ref name="integer"/>
7250     </attribute>
7251 </define>
7252 
7253 <!-- Used in: table-cell-content-deletion, table-previous -->
7254 <define name="table-change-track-table-cell" combine="interleave">
7255     <element name="table:change-track-table-cell">
7256         <ref name="table-change-track-table-cell-attlist"/>
7257         <zeroOrMore>
7258             <ref name="text-p"/>
7259         </zeroOrMore>
7260     </element>
7261 </define>
7262 
7263 <!-- Used in: table-change-track-table-cell -->
7264 <!-- Next: table-change-track-table-cell-attlist -->
7265 <define name="table-change-track-table-cell-attlist" combine="interleave">
7266     <optional>
7267         <attribute name="table:cell-address">
7268             <ref name="cellAddress"/>
7269         </attribute>
7270     </optional>
7271 </define>
7272 
7273 <!-- Used in: table-change-track-table-cell -->
7274 <!-- Next: table-change-track-table-cell-attlist -->
7275 <define name="table-change-track-table-cell-attlist" combine="interleave">
7276     <optional>
7277         <attribute name="table:matrix-covered" a:defaultValue="false">
7278             <ref name="boolean"/>
7279         </attribute>
7280     </optional>
7281 </define>
7282 
7283 <!-- Used in: table-change-track-table-cell -->
7284 <define name="table-change-track-table-cell-attlist" combine="interleave">
7285     <optional>
7286         <attribute name="table:formula">
7287             <ref name="string"/>
7288         </attribute>
7289     </optional>
7290     <optional>
7291         <attribute name="table:number-matrix-columns-spanned">
7292             <ref name="positiveInteger"/>
7293         </attribute>
7294     </optional>
7295     <optional>
7296         <attribute name="table:number-matrix-rows-spanned">
7297             <ref name="positiveInteger"/>
7298         </attribute>
7299     </optional>
7300     <optional>
7301         <ref name="common-value-and-type-attlist"/>
7302     </optional>
7303 </define>
7304 
7305 <!-- Used in: table-tracked-changes -->
7306 <define name="table-cell-content-change">
7307     <element name="table:cell-content-change">
7308         <ref name="common-table-change-attlist"/>
7309         <ref name="table-cell-address"/>
7310         <ref name="office-change-info"/>
7311         <optional>
7312             <ref name="table-dependencies"/>
7313         </optional>
7314         <optional>
7315             <ref name="table-deletions"/>
7316         </optional>
7317         <ref name="table-previous"/>
7318     </element>
7319 </define>
7320 
7321 <!-- Used in: table-cell-content-deletion, table-cell-content-change -->
7322 <define name="table-cell-address">
7323     <element name="table:cell-address">
7324         <ref name="common-table-cell-address-attlist"/>
7325         <empty/>
7326     </element>
7327 </define>
7328 
7329 <!-- Used in: table-cell-content-change -->
7330 <define name="table-previous">
7331     <element name="table:previous">
7332         <optional>
7333             <attribute name="table:id">
7334                 <ref name="string"/>
7335             </attribute>
7336         </optional>
7337         <ref name="table-change-track-table-cell"/>
7338     </element>
7339 </define>
7340 
7341 <!-- Used in: table-insertion, table-deletion, table-movement, table-cell-content-change -->
7342 <!-- Next: common-table-change-attlist -->
7343 <define name="common-table-change-attlist" combine="interleave">
7344     <attribute name="table:id">
7345         <ref name="string"/>
7346     </attribute>
7347 </define>
7348 
7349 <!-- Used in: table-insertion, table-deletion, table-movement, table-cell-content-change -->
7350 <!-- Next: common-table-change-attlist -->
7351 <define name="common-table-change-attlist" combine="interleave">
7352     <optional>
7353         <attribute name="table:acceptance-state" a:defaultValue="pending">
7354             <choice>
7355                 <value>accepted</value>
7356                 <value>rejected</value>
7357                 <value>pending</value>
7358             </choice>
7359         </attribute>
7360     </optional>
7361 </define>
7362 
7363 <!-- Used in: table-insertion, table-deletion, table-movement, table-cell-content-change -->
7364 <define name="common-table-change-attlist" combine="interleave">
7365     <optional>
7366         <attribute name="table:rejecting-change-id">
7367             <ref name="string"/> 
7368         </attribute>
7369     </optional>
7370 </define>
7371 
7372 <!-- Used in: office-master-styles -->
7373 <define name="style-handout-master">
7374     <element name="style:handout-master">
7375         <ref name="common-presentation-header-footer-attlist"/>
7376         <ref name="style-handout-master-attlist"/>
7377         <zeroOrMore>
7378             <ref name="shape"/>
7379         </zeroOrMore>
7380     </element>
7381 </define>
7382 
7383 <!-- Used in: style-handout-master -->
7384 <!-- Next: style-handout-master-attlist -->
7385 <define name="style-handout-master-attlist" combine="interleave">
7386     <optional>
7387         <attribute name="presentation:presentation-page-layout-name">
7388             <ref name="styleNameRef"/>
7389         </attribute>
7390     </optional>
7391 </define>
7392 
7393 <!-- Used in: style-handout-master -->
7394 <!-- Next: style-handout-master-attlist -->
7395 <define name="style-handout-master-attlist" combine="interleave">
7396     <attribute name="style:page-layout-name">
7397         <ref name="styleNameRef"/>
7398     </attribute>
7399 </define>
7400 
7401 <!-- Used in: style-handout-master -->
7402 <define name="style-handout-master-attlist" combine="interleave">
7403     <optional>
7404         <attribute name="draw:style-name">
7405             <ref name="styleNameRef"/>
7406         </attribute>
7407     </optional>
7408 </define>
7409 
7410 <!-- Used in: office-master-styles -->
7411 <define name="draw-layer-set">
7412     <element name="draw:layer-set">
7413         <zeroOrMore>
7414             <ref name="draw-layer"/>
7415         </zeroOrMore>
7416     </element>
7417 </define>
7418 
7419 <!-- Used in: draw-layer-set -->
7420 <define name="draw-layer">
7421     <element name="draw:layer">
7422         <ref name="draw-layer-attlist"/>
7423         <empty/>
7424     </element>
7425 </define>
7426 
7427 <!-- Used in: draw-layer -->
7428 <!-- Next: draw-layer-attlist -->
7429 <define name="draw-layer-attlist" combine="interleave">
7430     <attribute name="draw:name">
7431         <ref name="string"/>
7432     </attribute>
7433 </define>
7434 
7435 <!-- Used in: draw-layer -->
7436 <!-- Next: draw-layer-attlist -->
7437 <define name="draw-layer-attlist" combine="interleave">
7438     <optional>
7439         <attribute name="draw:protected" a:defaultValue="false">
7440             <ref name="boolean"/>
7441         </attribute>
7442     </optional>
7443 </define>
7444 
7445 <!-- Used in: draw-layer -->
7446 <define name="draw-layer-attlist" combine="interleave">
7447     <optional>
7448         <attribute name="draw:display" a:defaultValue="always">
7449             <choice>
7450                 <value>always</value>
7451                 <value>screen</value>
7452                 <value>printer</value>
7453                 <value>none</value>
7454             </choice>
7455         </attribute>
7456     </optional>
7457 </define>
7458 
7459 <!-- Used in: office-drawing-content-main, office-presentation-content-main -->
7460 <define name="draw-page">
7461     <element name="draw:page">
7462         <ref name="common-presentation-header-footer-attlist"/>
7463         <ref name="draw-page-attlist"/>
7464         <optional>
7465             <ref name="office-forms"/>
7466         </optional>
7467         <zeroOrMore>
7468             <ref name="shape"/>
7469         </zeroOrMore>
7470         <optional>
7471             <choice>
7472                 <ref name="presentation-animations"/>
7473                 <ref name="animation-element"/>
7474             </choice>
7475         </optional>
7476         <optional>
7477             <ref name="presentation-notes"/>
7478         </optional>
7479     </element>
7480 </define>
7481 
7482 <!-- Used in: draw-page -->
7483 <!-- Next: draw-page-attlist -->
7484 <define name="draw-page-attlist" combine="interleave">
7485     <optional>
7486         <attribute name="draw:name">
7487             <ref name="string"/>
7488         </attribute>
7489     </optional>
7490 </define>
7491 
7492 <!-- Used in: draw-page -->
7493 <!-- Next: draw-page-attlist -->
7494 <define name="draw-page-attlist" combine="interleave">
7495     <optional>
7496         <attribute name="draw:style-name">
7497             <ref name="styleNameRef"/>
7498         </attribute>
7499     </optional>
7500 </define>
7501 
7502 <!-- Used in: draw-page -->
7503 <!-- Next: draw-page-attlist -->
7504 <define name="draw-page-attlist" combine="interleave">
7505     <attribute name="draw:master-page-name">
7506         <ref name="styleNameRef"/>
7507     </attribute>
7508 </define>
7509 
7510 <!-- Used in: draw-page -->
7511 <!-- Next: draw-page-attlist -->
7512 <define name="draw-page-attlist" combine="interleave">
7513     <optional>
7514         <attribute name="presentation:presentation-page-layout-name">
7515             <ref name="styleNameRef"/>
7516         </attribute>
7517     </optional>
7518 </define>
7519 
7520 <!-- Used in: style-handout-master, draw-page, presentation-notes -->
7521 <!-- Next: common-presentation-header-footer-attlist -->
7522 <define name="common-presentation-header-footer-attlist" combine="interleave">
7523     <optional>
7524         <attribute name="presentation:use-header-name">
7525             <ref name="string"/>
7526         </attribute>
7527     </optional>
7528 </define>
7529 
7530 <!-- Used in: style-handout-master, draw-page, presentation-notes -->
7531 <!-- Next: common-presentation-header-footer-attlist -->
7532 <define name="common-presentation-header-footer-attlist" combine="interleave">
7533     <optional>
7534         <attribute name="presentation:use-footer-name">
7535             <ref name="string"/>
7536         </attribute>
7537     </optional>
7538 </define>
7539 
7540 <!-- Used in: style-handout-master, draw-page, presentation-notes -->
7541 <define name="common-presentation-header-footer-attlist" combine="interleave">
7542     <optional>
7543         <attribute name="presentation:use-date-time-name">
7544             <ref name="string"/>
7545         </attribute>
7546     </optional>
7547 </define>
7548 
7549 <!-- Used in: draw-page -->
7550 <define name="draw-page-attlist">
7551     <optional>
7552         <attribute name="draw:id">
7553             <ref name="ID"/>
7554         </attribute>
7555     </optional>
7556 </define>
7557 
7558 <!-- Used in: office-text-content-main, text-content, paragraph-content, table-shapes, style-handout-master, draw-page, draw-g, style-master-page, presentation-notes -->
7559 <define name="shape">
7560     <choice>
7561         <ref name="draw-rect"/>
7562         <ref name="draw-line"/>
7563         <ref name="draw-polyline"/>
7564         <ref name="draw-polygon"/>
7565         <ref name="draw-regular-polygon"/>
7566         <ref name="draw-path"/>
7567         <ref name="draw-circle"/>
7568         <ref name="draw-ellipse"/>
7569         <ref name="draw-g"/>
7570         <ref name="draw-page-thumbnail"/>
7571         <ref name="draw-frame"/>
7572         <ref name="draw-measure"/>
7573         <ref name="draw-caption"/>
7574         <ref name="draw-connector"/>
7575         <ref name="draw-control"/>
7576         <ref name="dr3d-scene"/>
7577         <ref name="draw-custom-shape"/>
7578     </choice>
7579 </define>
7580 
7581 <!-- Used in: shape -->
7582 <define name="draw-rect">
7583     <element name="draw:rect">
7584         <ref name="draw-rect-attlist"/>
7585         <ref name="common-draw-position-attlist"/>
7586         <ref name="common-draw-size-attlist"/>
7587         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7588         <optional>
7589             <ref name="office-event-listeners"/>
7590         </optional>
7591         <zeroOrMore>
7592             <ref name="draw-glue-point"/>
7593         </zeroOrMore>
7594         <ref name="draw-text"/>
7595     </element>
7596 </define>
7597 
7598 <!-- Used in: draw-rect -->
7599 <define name="draw-rect-attlist" combine="interleave">
7600     <optional>
7601         <attribute name="draw:corner-radius">
7602             <ref name="nonNegativeLength"/>
7603         </attribute>
7604     </optional>
7605 </define>
7606 
7607 <!-- Used in: shape -->
7608 <define name="draw-line">
7609     <element name="draw:line">
7610         <ref name="draw-line-attlist"/>
7611         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7612         <optional>
7613             <ref name="office-event-listeners"/>
7614         </optional>
7615         <zeroOrMore>
7616             <ref name="draw-glue-point"/>
7617         </zeroOrMore>
7618         <ref name="draw-text"/>
7619     </element>
7620 </define>
7621 
7622 <!-- Used in: draw-line -->
7623 <!-- Next: draw-line-attlist -->
7624 <define name="draw-line-attlist" combine="interleave">
7625     <attribute name="svg:x1">
7626         <ref name="coordinate"/>
7627     </attribute>
7628     <attribute name="svg:y1">
7629         <ref name="coordinate"/>
7630     </attribute>
7631 </define>
7632 
7633 <!-- Used in: draw-line -->
7634 <define name="draw-line-attlist" combine="interleave">
7635     <attribute name="svg:x2">
7636         <ref name="coordinate"/>
7637     </attribute>
7638     <attribute name="svg:y2">
7639         <ref name="coordinate"/>
7640     </attribute>
7641 </define>
7642 
7643 <!-- Used in: shape -->
7644 <define name="draw-polyline">
7645     <element name="draw:polyline">
7646         <ref name="common-draw-points-attlist"/>
7647         <ref name="common-draw-position-attlist"/>
7648         <ref name="common-draw-size-attlist"/>
7649         <ref name="common-draw-viewbox-attlist"/>
7650         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7651         <optional>
7652             <ref name="office-event-listeners"/>
7653         </optional>
7654         <zeroOrMore>
7655             <ref name="draw-glue-point"/>
7656         </zeroOrMore>
7657         <ref name="draw-text"/>
7658     </element>
7659 </define>
7660 
7661 <!-- Used in: draw-polyline, draw-polygon, draw-contour-polygon, draw-area-polygon -->
7662 <define name="common-draw-points-attlist">
7663     <attribute name="draw:points">
7664         <ref name="points"/>
7665     </attribute>
7666 </define>
7667 
7668 <!-- Used in: shape -->
7669 <define name="draw-polygon">
7670     <element name="draw:polygon">
7671         <ref name="common-draw-points-attlist"/>
7672         <ref name="common-draw-position-attlist"/>
7673         <ref name="common-draw-size-attlist"/>
7674         <ref name="common-draw-viewbox-attlist"/>
7675         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7676         <optional>
7677             <ref name="office-event-listeners"/>
7678         </optional>
7679         <zeroOrMore>
7680             <ref name="draw-glue-point"/>
7681         </zeroOrMore>
7682         <ref name="draw-text"/>
7683     </element>
7684 </define>
7685 
7686 <!-- Used in: shape -->
7687 <define name="draw-regular-polygon">
7688     <element name="draw:regular-polygon">
7689         <ref name="draw-regular-polygon-attlist"/>
7690         <ref name="common-draw-position-attlist"/>
7691         <ref name="common-draw-size-attlist"/>
7692         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7693         <optional>
7694             <ref name="office-event-listeners"/>
7695         </optional>
7696         <zeroOrMore>
7697             <ref name="draw-glue-point"/>
7698         </zeroOrMore>
7699         <ref name="draw-text"/>
7700     </element>
7701 </define>
7702 
7703 <!-- Used in: draw-regular-polygon -->
7704 <!-- Next: draw-regular-polygon-attlist -->
7705 <define name="draw-regular-polygon-attlist" combine="interleave">
7706     <choice>
7707         <attribute name="draw:concave">
7708             <value>false</value>
7709         </attribute>
7710         <group>
7711             <attribute name="draw:concave">
7712                 <value>true</value>
7713             </attribute>
7714             <ref name="draw-regular-polygon-sharpness-attlist"/>
7715         </group>
7716     </choice>
7717 </define>
7718 
7719 <!-- Used in: draw-regular-polygon -->
7720 <define name="draw-regular-polygon-attlist" combine="interleave">
7721     <attribute name="draw:corners">
7722         <ref name="positiveInteger"/>
7723     </attribute>
7724 </define>
7725 
7726 <!-- Used in: draw-regular-polygon-attlist -->
7727 <define name="draw-regular-polygon-sharpness-attlist">
7728     <attribute name="draw:sharpness">
7729         <ref name="percent"/>
7730     </attribute>
7731 </define>
7732 
7733 <!-- Used in: shape -->
7734 <define name="draw-path">
7735     <element name="draw:path">
7736         <ref name="common-draw-path-data-attlist"/>
7737         <ref name="common-draw-position-attlist"/>
7738         <ref name="common-draw-size-attlist"/>
7739         <ref name="common-draw-viewbox-attlist"/>
7740         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7741         <optional>
7742             <ref name="office-event-listeners"/>
7743         </optional>
7744         <zeroOrMore>
7745             <ref name="draw-glue-point"/>
7746         </zeroOrMore>
7747         <ref name="draw-text"/>
7748     </element>
7749 </define>
7750 
7751 <!-- Used in: draw-path, draw-contour-path, dr3d-extrude, dr3d-rotate, draw-marker -->
7752 <define name="common-draw-path-data-attlist">
7753     <attribute name="svg:d">
7754         <ref name="pathData"/>
7755     </attribute>
7756 </define>
7757 
7758 <!-- Used in: shape -->
7759 <define name="draw-circle">
7760     <element name="draw:circle">
7761         <ref name="draw-circle-attlist"/>
7762         <ref name="common-draw-circle-ellipse-attlist"/>
7763         <ref name="common-draw-position-attlist"/>
7764         <ref name="common-draw-size-attlist"/>
7765         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7766         <optional>
7767             <ref name="office-event-listeners"/>
7768         </optional>
7769         <zeroOrMore>
7770             <ref name="draw-glue-point"/>
7771         </zeroOrMore>
7772         <ref name="draw-text"/>
7773     </element>
7774 </define>
7775 
7776 <!-- Used in: draw-circle, draw-ellipse -->
7777 <!-- Next: common-draw-circle-ellipse-attlist -->
7778 <define name="common-draw-circle-ellipse-attlist" combine="interleave">
7779     <optional>
7780         <attribute name="svg:cx">
7781             <ref name="coordinate"/>
7782         </attribute>
7783         <attribute name="svg:cy">
7784             <ref name="coordinate"/>
7785         </attribute>
7786     </optional>
7787 </define>
7788 
7789 <!-- Used in: draw-circle -->
7790 <define name="draw-circle-attlist" combine="interleave">
7791     <optional>
7792         <attribute name="svg:r">
7793             <ref name="length"/>
7794         </attribute>
7795     </optional>
7796 </define>
7797 
7798 <!-- Used in: draw-circle, draw-ellipse -->
7799 <!-- Next: common-draw-circle-ellipse-attlist -->
7800 <define name="common-draw-circle-ellipse-attlist" combine="interleave">
7801     <optional>
7802         <attribute name="draw:kind" a:defaultValue="full">
7803             <choice>
7804                 <value>full</value>
7805                 <value>section</value>
7806                 <value>cut</value>
7807                 <value>arc</value>
7808             </choice>
7809         </attribute>
7810     </optional>
7811 </define>
7812 
7813 <!-- Used in: draw-circle, draw-ellipse -->
7814 <!-- Next: common-draw-circle-ellipse-attlist -->
7815 <define name="common-draw-circle-ellipse-attlist" combine="interleave">
7816     <optional>
7817         <attribute name="draw:start-angle">
7818             <ref name="double"/>
7819         </attribute>
7820     </optional>
7821 </define>
7822 
7823 <!-- Used in: draw-circle, draw-ellipse -->
7824 <define name="common-draw-circle-ellipse-attlist" combine="interleave">
7825     <optional>
7826         <attribute name="draw:end-angle">
7827             <ref name="double"/>
7828         </attribute>
7829     </optional>
7830 </define>
7831 
7832 <!-- Used in: shape -->
7833 <define name="draw-ellipse">
7834     <element name="draw:ellipse">
7835         <ref name="common-draw-circle-ellipse-attlist"/>
7836         <ref name="draw-ellipse-attlist"/>
7837         <ref name="common-draw-position-attlist"/>
7838         <ref name="common-draw-size-attlist"/>
7839         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7840         <optional>
7841             <ref name="office-event-listeners"/>
7842         </optional>
7843         <zeroOrMore>
7844             <ref name="draw-glue-point"/>
7845         </zeroOrMore>
7846         <ref name="draw-text"/>
7847     </element>
7848 </define>
7849 
7850 <!-- Used in: draw-ellipse -->
7851 <define name="draw-ellipse-attlist" combine="interleave">
7852     <optional>
7853         <attribute name="svg:rx">
7854             <ref name="length"/>
7855         </attribute>
7856         <attribute name="svg:ry">
7857             <ref name="length"/>
7858         </attribute>
7859     </optional>
7860 </define>
7861 
7862 <!-- Used in: shape -->
7863 <define name="draw-connector">
7864     <element name="draw:connector">
7865         <ref name="draw-connector-attlist"/>
7866         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7867         <optional>
7868             <ref name="office-event-listeners"/>
7869         </optional>
7870         <zeroOrMore>
7871             <ref name="draw-glue-point"/>
7872         </zeroOrMore>
7873         <ref name="draw-text"/>
7874     </element>
7875 </define>
7876 
7877 <!-- Used in: draw-connector -->
7878 <!-- Next: draw-connector-attlist -->
7879 <define name="draw-connector-attlist" combine="interleave">
7880     <optional>
7881         <attribute name="draw:type" a:defaultValue="standard">
7882             <choice>
7883                 <value>standard</value>
7884                 <value>lines</value>
7885                 <value>line</value>
7886                 <value>curve</value>
7887             </choice>
7888         </attribute>
7889     </optional>
7890 </define>
7891 
7892 <!-- Used in: draw-connector -->
7893 <!-- Next: draw-connector-attlist -->
7894 <define name="draw-connector-attlist" combine="interleave">
7895     <optional>
7896         <attribute name="svg:x1">
7897             <ref name="coordinate"/>
7898         </attribute>
7899         <attribute name="svg:y1">
7900             <ref name="coordinate"/>
7901         </attribute>
7902     </optional>
7903 </define>
7904 
7905 <!-- Used in: draw-connector -->
7906 <!-- Next: draw-connector-attlist -->
7907 <define name="draw-connector-attlist" combine="interleave">
7908     <optional>
7909         <attribute name="draw:start-shape">
7910             <ref name="IDREF"/>
7911         </attribute>
7912     </optional>
7913 </define>
7914 
7915 <!-- Used in: draw-connector -->
7916 <!-- Next: draw-connector-attlist -->
7917 <define name="draw-connector-attlist" combine="interleave">
7918     <optional>
7919         <attribute name="draw:start-glue-point">
7920             <ref name="nonNegativeInteger"/>
7921         </attribute>
7922     </optional>
7923 </define>
7924 
7925 <!-- Used in: draw-connector -->
7926 <!-- Next: draw-connector-attlist -->
7927 <define name="draw-connector-attlist" combine="interleave">
7928     <optional>
7929         <attribute name="svg:x2">
7930             <ref name="coordinate"/>
7931         </attribute>
7932         <attribute name="svg:y2">
7933             <ref name="coordinate"/>
7934         </attribute>
7935     </optional>
7936 </define>
7937 
7938 <!-- Used in: draw-connector -->
7939 <!-- Next: draw-connector-attlist -->
7940 <define name="draw-connector-attlist" combine="interleave">
7941     <optional>
7942         <attribute name="draw:end-shape">
7943             <ref name="IDREF"/>
7944         </attribute>
7945     </optional>
7946 </define>
7947 
7948 <!-- Used in: draw-connector -->
7949 <!-- Next: draw-connector-attlist -->
7950 <define name="draw-connector-attlist" combine="interleave">
7951     <optional>
7952         <attribute name="draw:end-glue-point">
7953             <ref name="nonNegativeInteger"/>
7954         </attribute>
7955     </optional>
7956 </define>
7957 
7958 <!-- Used in: draw-connector -->
7959 <define name="draw-connector-attlist" combine="interleave">
7960     <optional>
7961         <attribute name="draw:line-skew">
7962             <list>
7963                 <ref name="length"/>
7964                 <optional>
7965                     <ref name="length"/>
7966                     <optional>
7967                         <ref name="length"/>
7968                     </optional>
7969                 </optional>
7970             </list>
7971         </attribute>
7972     </optional>
7973 </define>
7974 
7975 <!-- Used in: shape -->
7976 <define name="draw-caption">
7977     <element name="draw:caption">
7978         <ref name="draw-caption-attlist"/>
7979         <ref name="common-draw-position-attlist"/>
7980         <ref name="common-draw-size-attlist"/>
7981         <ref name="common-draw-shape-with-text-and-styles-attlist"/>    
7982         <optional>
7983             <ref name="office-event-listeners"/>
7984         </optional>
7985         <zeroOrMore>
7986             <ref name="draw-glue-point"/>
7987         </zeroOrMore>
7988         <ref name="draw-text"/>
7989     </element>
7990 </define>
7991 
7992 <!-- Used in: draw-caption, office-annotation -->
7993 <!-- Next: draw-caption-attlist -->
7994 <define name="draw-caption-attlist" combine="interleave">
7995     <optional>
7996         <attribute name="draw:caption-point-x">
7997             <ref name="coordinate"/>
7998         </attribute>
7999         <attribute name="draw:caption-point-y">
8000             <ref name="coordinate"/>
8001         </attribute>
8002     </optional>
8003 </define>
8004 
8005 <!-- Used in: draw-caption, office-annotation -->
8006 <define name="draw-caption-attlist" combine="interleave">
8007     <optional>
8008         <attribute name="draw:corner-radius">
8009             <ref name="nonNegativeLength"/>
8010         </attribute>
8011     </optional>
8012 </define>
8013 
8014 <!-- Used in: shape -->
8015 <define name="draw-measure">
8016     <element name="draw:measure">
8017         <ref name="draw-measure-attlist"/>
8018         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
8019         <optional>
8020             <ref name="office-event-listeners"/>
8021         </optional>
8022         <zeroOrMore>
8023             <ref name="draw-glue-point"/>
8024         </zeroOrMore>
8025         <ref name="draw-text"/>
8026     </element>
8027 </define>
8028 
8029 <!-- Used in: draw-measure -->
8030 <!-- Next: draw-measure-attlist -->
8031 <define name="draw-measure-attlist" combine="interleave">
8032     <attribute name="svg:x1">
8033         <ref name="coordinate"/>
8034     </attribute>
8035     <attribute name="svg:y1">
8036         <ref name="coordinate"/>
8037     </attribute>
8038 </define>
8039 
8040 <!-- Used in: draw-measure -->
8041 <define name="draw-measure-attlist" combine="interleave">
8042     <attribute name="svg:x2">
8043         <ref name="coordinate"/>
8044     </attribute>
8045     <attribute name="svg:y2">
8046         <ref name="coordinate"/>
8047     </attribute>
8048 </define>
8049 
8050 <!-- Used in: shape -->
8051 <define name="draw-control">
8052     <element name="draw:control">
8053         <ref name="draw-control-attlist"/>
8054         <ref name="common-draw-position-attlist"/>
8055         <ref name="common-draw-size-attlist"/>
8056         <ref name="common-draw-shape-with-text-and-styles-attlist"/>    
8057         <zeroOrMore>
8058             <ref name="draw-glue-point"/>
8059         </zeroOrMore>
8060     </element>
8061 </define>
8062 
8063 <!-- Used in: draw-control -->
8064 <define name="draw-control-attlist" combine="interleave">
8065     <attribute name="draw:control">
8066         <ref name="IDREF"/>
8067     </attribute>
8068 </define>
8069 
8070 <!-- Used in: shape -->
8071 <define name="draw-page-thumbnail">
8072     <element name="draw:page-thumbnail">
8073         <ref name="draw-page-thumbnail-attlist"/>
8074         <ref name="common-draw-position-attlist"/>
8075         <ref name="common-draw-size-attlist"/>
8076         <ref name="presentation-shape-attlist"/>
8077         <ref name="common-draw-shape-with-styles-attlist"/>
8078         <empty/>
8079     </element>
8080 </define>
8081 
8082 <!-- Used in: draw-page-thumbnail -->
8083 <define name="draw-page-thumbnail-attlist">
8084     <optional>
8085         <attribute name="draw:page-number">
8086             <ref name="positiveInteger"/>
8087         </attribute>
8088     </optional>
8089 </define>
8090 
8091 <!-- Used in: shape -->
8092 <define name="draw-g">
8093     <element name="draw:g">
8094         <ref name="draw-g-attlist"/>
8095         <ref name="common-draw-z-index-attlist"/>
8096         <ref name="common-draw-name-attlist"/>
8097         <ref name="common-draw-id-attlist"/>
8098         <ref name="common-draw-style-name-attlist"/>
8099         <ref name="common-text-spreadsheet-shape-attlist"/>
8100         <optional>
8101             <ref name="office-event-listeners"/>
8102         </optional>
8103         <zeroOrMore>
8104             <ref name="draw-glue-point"/>
8105         </zeroOrMore>
8106         <zeroOrMore>
8107             <ref name="shape"/>
8108         </zeroOrMore>
8109     </element>
8110 </define>
8111 
8112 <!-- Used in: draw-g -->
8113 <define name="draw-g-attlist" combine="interleave">
8114     <optional>
8115         <attribute name="svg:y">
8116             <ref name="coordinate"/>
8117         </attribute>
8118     </optional>
8119 </define>
8120 
8121 <!-- Used in: draw-g, common-draw-shape-with-styles-attlist -->
8122 <define name="common-draw-name-attlist" combine="interleave">
8123     <optional>
8124         <attribute name="draw:name">
8125             <ref name="string"/>
8126         </attribute>
8127     </optional>
8128 </define>
8129 
8130 <!-- Used in: draw-rect, draw-polyline, draw-polygon, draw-regular-polygon, draw-path, draw-circle, draw-ellipse, draw-caption, draw-control, draw-page-thumbnail, draw-frame, dr3d-scene, draw-custom-shape, chart-title-attlist, chart-legend-attlist, chart-plot-area-attlist, office-annotation -->
8131 <define name="common-draw-position-attlist">
8132     <optional>
8133         <attribute name="svg:x">
8134             <ref name="coordinate"/>
8135         </attribute>
8136     </optional>
8137     <optional>
8138         <attribute name="svg:y">
8139             <ref name="coordinate"/>
8140         </attribute>
8141     </optional>
8142 </define>
8143 
8144 <!-- Used in: draw-rect, draw-polyline, draw-polygon, draw-regular-polygon, draw-path, draw-circle, draw-ellipse, draw-caption, draw-control, draw-page-thumbnail, common-draw-rel-size-attlist, draw-contour-polygon, draw-contour-path, dr3d-scene, draw-custom-shape, chart-chart-attlist, chart-plot-area-attlist, office-annotation -->
8145 <define name="common-draw-size-attlist">
8146     <optional>
8147         <attribute name="svg:width">
8148             <ref name="length"/>
8149         </attribute>
8150     </optional>
8151     <optional>
8152         <attribute name="svg:height">
8153             <ref name="length"/>
8154         </attribute>
8155     </optional>
8156 </define>
8157 
8158 <!-- Used in: common-draw-shape-with-styles-attlist -->
8159 <define name="common-draw-transform-attlist">
8160     <optional>
8161         <attribute name="draw:transform">
8162             <ref name="string"/>
8163         </attribute>
8164     </optional>
8165 </define>
8166 
8167 <!-- Used in: draw-polyline, draw-polygon, draw-path, draw-contour-polygon, draw-contour-path, draw-area-polygon, dr3d-extrude, dr3d-rotate, draw-marker -->
8168 <define name="common-draw-viewbox-attlist">
8169     <attribute name="svg:viewBox">
8170         <list>
8171             <ref name="integer"/>
8172             <ref name="integer"/>
8173             <ref name="integer"/>
8174             <ref name="integer"/>
8175         </list>
8176     </attribute>
8177 </define>
8178 
8179 <!-- Used in: draw-g, common-draw-shape-with-styles-attlist, dr3d-scene, dr3d-cube, dr3d-sphere, dr3d-extrude, dr3d-rotate -->
8180 <define name="common-draw-style-name-attlist">
8181     <choice>
8182         <group>
8183             <optional>
8184                 <attribute name="draw:style-name">
8185                     <ref name="styleNameRef"/>
8186                 </attribute>
8187             </optional>
8188             <optional>
8189                 <attribute name="draw:class-names">
8190                     <ref name="styleNameRefs"/>
8191                 </attribute>
8192             </optional>
8193         </group>
8194         <group>
8195             <optional>
8196                 <attribute name="presentation:style-name">
8197                     <ref name="styleNameRef"/>
8198                 </attribute>
8199             </optional>
8200             <optional>
8201                 <attribute name="presentation:class-names">
8202                     <ref name="styleNameRefs"/>
8203                 </attribute>
8204             </optional>
8205         </group>
8206     </choice>
8207 </define>
8208 
8209 <!-- Used in: common-draw-shape-with-text-and-styles-attlist -->
8210 <define name="common-draw-text-style-name-attlist">
8211     <optional>
8212         <attribute name="draw:text-style-name">
8213             <ref name="styleNameRef"/>
8214         </attribute>
8215     </optional>
8216 </define>
8217 
8218 <!-- Used in: common-draw-shape-with-styles-attlist, dr3d-scene, dr3d-cube, dr3d-sphere, dr3d-extrude, dr3d-rotate -->
8219 <define name="common-draw-layer-name-attlist">
8220     <optional>
8221         <attribute name="draw:layer">
8222             <data type="string"/>
8223         </attribute>
8224     </optional>
8225 </define>
8226 
8227 <!-- Used in: draw-g, common-draw-shape-with-styles-attlist, dr3d-scene, dr3d-cube, dr3d-sphere, dr3d-extrude, dr3d-rotate -->
8228 <define name="common-draw-id-attlist">
8229     <optional>
8230         <attribute name="draw:id">
8231             <ref name="ID"/>
8232         </attribute>
8233     </optional>
8234 </define>
8235 
8236 <!-- Used in: draw-g, common-draw-shape-with-styles-attlist, dr3d-scene, dr3d-cube, dr3d-sphere, dr3d-extrude, dr3d-rotate -->
8237 <define name="common-draw-z-index-attlist">
8238     <optional>
8239         <attribute name="draw:z-index">
8240             <ref name="nonNegativeInteger"/>
8241         </attribute>
8242     </optional>
8243 </define>
8244 
8245 <!-- Used in: draw-g, common-draw-shape-with-styles-attlist, dr3d-scene -->
8246 <!-- Next: common-text-spreadsheet-shape-attlist -->
8247 <define name="common-text-spreadsheet-shape-attlist" combine="interleave">
8248     <optional>
8249         <attribute name="table:end-cell-address">
8250             <ref name="cellAddress"/>
8251         </attribute>
8252     </optional>
8253     <optional>
8254         <attribute name="table:end-x">
8255             <ref name="coordinate"/>
8256         </attribute>
8257     </optional>
8258     <optional>
8259         <attribute name="table:end-y">
8260             <ref name="coordinate"/>
8261         </attribute>
8262     </optional>
8263 </define>
8264 
8265 <!-- Used in: draw-g, common-draw-shape-with-styles-attlist, dr3d-scene -->
8266 <!-- Next: common-text-spreadsheet-shape-attlist -->
8267 <define name="common-text-spreadsheet-shape-attlist" combine="interleave">
8268     <optional>
8269         <attribute name="table:table-background">
8270             <ref name="boolean"/>
8271         </attribute>
8272     </optional>
8273 </define>
8274 
8275 <!-- Used in: draw-g, common-draw-shape-with-styles-attlist, dr3d-scene -->
8276 <define name="common-text-spreadsheet-shape-attlist" combine="interleave">
8277     <ref name="common-text-anchor-attlist"/>
8278 </define>
8279 
8280 
8281 <!-- Used in: common-text-spreadsheet-shape-attlist, style-graphic-properties-attlist -->
8282 <!-- Next: common-text-anchor-attlist -->
8283 <define name="common-text-anchor-attlist" combine="interleave">
8284     <optional>
8285         <attribute name="text:anchor-type">
8286             <choice>
8287                 <value>page</value>
8288                 <value>frame</value>
8289                 <value>paragraph</value>
8290                 <value>char</value>
8291                 <value>as-char</value>
8292             </choice>
8293         </attribute>
8294     </optional>
8295 </define>
8296 
8297 <!-- Used in: common-text-spreadsheet-shape-attlist, style-graphic-properties-attlist -->
8298 <define name="common-text-anchor-attlist" combine="interleave">
8299     <optional>
8300         <attribute name="text:anchor-page-number">
8301             <ref name="positiveInteger"/>
8302         </attribute>
8303     </optional>
8304 </define>
8305 
8306 <!-- Used in: draw-rect, draw-line, draw-polyline, draw-polygon, draw-regular-polygon, draw-path, draw-circle, draw-ellipse, draw-connector, draw-caption, draw-measure, draw-image, draw-custom-shape -->
8307 <define name="draw-text">
8308     <zeroOrMore>
8309         <choice>
8310             <ref name="text-p"/>
8311             <ref name="text-list"/>
8312         </choice>
8313     </zeroOrMore>
8314 </define>
8315 
8316 <!-- Used in: draw-page-thumbnail, common-draw-shape-with-text-and-styles-attlist -->
8317 <define name="common-draw-shape-with-styles-attlist">
8318     <ref name="common-draw-z-index-attlist"/>
8319     <ref name="common-draw-id-attlist"/>
8320     <ref name="common-draw-layer-name-attlist"/>
8321     <ref name="common-draw-style-name-attlist"/>
8322     <ref name="common-draw-transform-attlist"/>
8323     <ref name="common-draw-name-attlist"/>
8324     <ref name="common-text-spreadsheet-shape-attlist"/>
8325 </define>
8326 
8327 <!-- Used in: draw-rect, draw-line, draw-polyline, draw-polygon, draw-regular-polygon, draw-path, draw-circle, draw-ellipse, draw-connector, draw-caption, draw-measure, draw-control, draw-frame, draw-custom-shape, office-annotation -->
8328 <define name="common-draw-shape-with-text-and-styles-attlist">
8329     <ref name="common-draw-shape-with-styles-attlist"/>
8330     <ref name="common-draw-text-style-name-attlist"/>
8331 </define>
8332 
8333 <!-- Used in: draw-rect, draw-line, draw-polyline, draw-polygon, draw-regular-polygon, draw-path, draw-circle, draw-ellipse, draw-connector, draw-caption, draw-measure, draw-control, draw-g, draw-frame, draw-custom-shape -->
8334 <define name="draw-glue-point">
8335     <element name="draw:glue-point">
8336         <ref name="draw-glue-point-attlist"/>
8337         <empty/>
8338     </element>
8339 </define>
8340 
8341 <!-- Used in: draw-glue-point -->
8342 <!-- Next: draw-glue-point-attlist -->
8343 <define name="draw-glue-point-attlist" combine="interleave">
8344     <attribute name="draw:id">
8345         <ref name="nonNegativeInteger"/>
8346     </attribute>
8347 </define>
8348 
8349 <!-- Used in: draw-glue-point -->
8350 <!-- Next: draw-glue-point-attlist -->
8351 <define name="draw-glue-point-attlist" combine="interleave">
8352     <attribute name="svg:x">
8353         <choice>
8354             <ref name="distance"/> 
8355             <ref name="percent"/>
8356         </choice>
8357     </attribute>
8358     <attribute name="svg:y">
8359         <choice>
8360             <ref name="distance"/> 
8361             <ref name="percent"/>
8362         </choice>
8363     </attribute>
8364 </define>
8365 
8366 <!-- Used in: draw-glue-point -->
8367 <define name="draw-glue-point-attlist" combine="interleave">
8368     <attribute name="draw:align">
8369         <choice>
8370             <value>top-left</value>
8371             <value>top</value>
8372             <value>top-right</value>
8373             <value>left</value>
8374             <value>center</value>
8375             <value>right</value>
8376             <value>bottom-left</value>
8377             <value>bottom-right</value>
8378         </choice>
8379     </attribute>
8380 </define>
8381 
8382 <define name="draw-glue-points-attlist" combine="interleave">
8383     <attribute name="draw:escape-direction">
8384         <choice>
8385             <value>auto</value>
8386             <value>left</value>
8387             <value>right</value>
8388             <value>up</value>
8389             <value>down</value>
8390             <value>horizontal</value>
8391             <value>vertical</value>
8392         </choice>
8393     </attribute>
8394 </define>
8395 
8396 <!-- Used in: office-image-content-main, shape, draw-a -->
8397 <define name="draw-frame">
8398     <element name="draw:frame">
8399         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
8400         <ref name="common-draw-position-attlist"/>
8401         <ref name="common-draw-rel-size-attlist"/>
8402         <ref name="presentation-shape-attlist"/>
8403         <ref name="draw-frame-attlist"/>
8404         <zeroOrMore>
8405             <choice>
8406                 <ref name="draw-text-box"/>
8407                 <ref name="draw-image"/>
8408                 <ref name="draw-object"/>
8409                 <ref name="draw-object-ole"/>
8410                 <ref name="draw-applet"/>
8411                 <ref name="draw-floating-frame"/>
8412                 <ref name="draw-plugin"/>
8413             </choice>
8414         </zeroOrMore>
8415         <optional>
8416             <ref name="office-event-listeners"/>
8417         </optional>
8418         <zeroOrMore>
8419             <ref name="draw-glue-point"/>
8420         </zeroOrMore>
8421         <optional>
8422             <ref name="draw-image-map"/>
8423         </optional>
8424         <optional>
8425             <ref name="svg-desc"/>
8426         </optional>
8427         <optional>
8428             <choice>
8429                 <ref name="draw-contour-polygon"/>
8430                 <ref name="draw-contour-path"/>
8431             </choice>
8432         </optional>
8433     </element>
8434 </define>
8435 
8436 <!-- Used in: draw-frame, style-graphic-properties-attlist -->
8437 <define name="common-draw-rel-size-attlist">
8438     <ref name="common-draw-size-attlist"/>
8439     <optional>
8440         <attribute name="style:rel-width">
8441             <choice>
8442                 <ref name="percent"/>
8443                 <value>scale</value>
8444                 <value>scale-min</value>
8445             </choice>
8446         </attribute>
8447     </optional>
8448     <optional>
8449         <attribute name="style:rel-height">
8450             <choice>
8451                 <ref name="percent"/>
8452                 <value>scale</value>
8453                 <value>scale-min</value>
8454             </choice>
8455         </attribute>
8456     </optional>
8457 </define>
8458 
8459 <!-- Used in: draw-frame -->
8460 <define name="draw-frame-attlist" combine="interleave">
8461     <optional>
8462         <attribute name="draw:copy-of">
8463             <ref name="string"/>
8464         </attribute>
8465     </optional>
8466 </define>
8467 
8468 <!-- Used in: draw-frame -->
8469 <define name="draw-text-box">
8470     <element name="draw:text-box">
8471         <ref name="draw-text-box-attlist"/>
8472         <zeroOrMore>
8473             <ref name="text-content"/>
8474         </zeroOrMore>
8475     </element>
8476 </define>
8477 
8478 <!-- Used in: draw-text-box -->
8479 <!-- Next: draw-text-box-attlist -->
8480 <define name="draw-text-box-attlist" combine="interleave">
8481     <optional>
8482         <attribute name="draw:chain-next-name">
8483             <ref name="string"/>
8484         </attribute>
8485     </optional>
8486 </define>
8487 
8488 <!-- Used in: draw-text-box -->
8489 <!-- Next: draw-text-box-attlist -->
8490 <define name="draw-text-box-attlist" combine="interleave">
8491     <optional>
8492         <attribute name="draw:corner-radius">
8493             <ref name="nonNegativeLength"/>
8494         </attribute>
8495     </optional>
8496 </define>
8497 
8498 <!-- Used in: draw-text-box -->
8499 <!-- Next: draw-text-box-attlist -->
8500 <define name="draw-text-box-attlist" combine="interleave">
8501     <optional>
8502         <attribute name="fo:min-height">
8503             <choice>
8504                 <ref name="length"/>
8505                 <ref name="percent"/>
8506             </choice>
8507         </attribute>
8508     </optional>
8509     <optional>
8510         <attribute name="fo:min-width">
8511             <choice>
8512                 <ref name="length"/>
8513                 <ref name="percent"/>
8514             </choice>
8515         </attribute>
8516     </optional>
8517 </define>
8518 
8519 <!-- Used in: draw-text-box -->
8520 <define name="draw-text-box-attlist" combine="interleave">
8521     <optional>
8522         <attribute name="fo:max-height">
8523             <choice>
8524                 <ref name="length"/>
8525                 <ref name="percent"/>
8526             </choice>
8527         </attribute>
8528     </optional>
8529     <optional>
8530         <attribute name="fo:max-width">
8531             <choice>
8532                 <ref name="length"/>
8533                 <ref name="percent"/>
8534             </choice>
8535         </attribute>
8536     </optional>
8537 </define>
8538 
8539 <!-- Used in: draw-frame -->
8540 <define name="draw-image">
8541     <element name="draw:image">
8542         <ref name="draw-image-attlist"/>
8543         <choice>
8544             <ref name="common-draw-data-attlist"/>
8545             <ref name="office-binary-data"/>
8546         </choice>
8547         <ref name="draw-text"/>
8548     </element>
8549 </define>
8550 
8551 <!-- Used in: draw-image, draw-object, draw-object-ole, draw-applet, draw-plugin, draw-floating-frame, text-list-level-style-image-attr, style-background-image -->
8552 <define name="common-draw-data-attlist" combine="interleave">
8553     <group>
8554         <attribute name="xlink:href">
8555             <ref name="anyURI"/>
8556         </attribute>
8557         <optional>
8558             <attribute name="xlink:type" a:defaultValue="simple">
8559                 <choice>
8560                     <value>simple</value>
8561                 </choice>
8562             </attribute>
8563         </optional>
8564         <optional>
8565             <attribute name="xlink:show" a:defaultValue="embed">
8566                 <choice>
8567                     <value>embed</value>
8568                 </choice>
8569             </attribute>
8570         </optional>
8571         <optional>
8572             <attribute name="xlink:actuate" a:defaultValue="onLoad">
8573                 <choice>
8574                     <value>onLoad</value>
8575                 </choice>
8576             </attribute>
8577         </optional>
8578     </group>
8579 </define>
8580 
8581 
8582 <!-- Used in: draw-image, draw-object-ole, text-list-level-style-image-attr, style-background-image -->
8583 <define name="office-binary-data">
8584     <element name="office:binary-data">
8585         <ref name="base64Binary"/>
8586     </element>
8587 </define>
8588 
8589 <!-- Used in: draw-image -->
8590 <define name="draw-image-attlist" combine="interleave">
8591     <optional>
8592         <attribute name="draw:filter-name">
8593             <ref name="string"/>
8594         </attribute>
8595     </optional>
8596 </define>
8597 
8598 <!-- Used in: draw-frame -->
8599 <define name="draw-object">
8600     <element name="draw:object">
8601         <ref name="draw-object-attlist"/>
8602         <choice>
8603             <ref name="common-draw-data-attlist"/>
8604             <ref name="office-document"/>
8605             <ref name="math-math"/>
8606         </choice>
8607     </element>
8608 </define>
8609 
8610 
8611 <!-- Used in: draw-frame -->
8612 <define name="draw-object-ole">
8613     <element name="draw:object-ole">
8614         <ref name="draw-object-ole-attlist"/>
8615         <choice>
8616             <ref name="common-draw-data-attlist"/>
8617             <ref name="office-binary-data"/>
8618         </choice>
8619     </element>
8620 </define>
8621 
8622 <!-- Used in: draw-object -->
8623 <define name="draw-object-attlist" combine="interleave">
8624     <optional>
8625         <attribute name="draw:notify-on-update-of-ranges">
8626             <ref name="string"/>
8627         </attribute>
8628     </optional>
8629 </define>
8630 
8631 <!-- Used in: draw-object-ole -->
8632 <define name="draw-object-ole-attlist" combine="interleave">
8633     <optional>
8634         <attribute name="draw:class-id"/>
8635     </optional>
8636 </define>
8637 
8638 <!-- Used in: draw-frame -->
8639 <define name="draw-applet">
8640     <element name="draw:applet">
8641         <ref name="draw-applet-attlist"/>
8642         <optional>
8643             <ref name="common-draw-data-attlist"/>
8644         </optional>
8645         <zeroOrMore>
8646             <ref name="draw-param"/>
8647         </zeroOrMore>
8648     </element>
8649 </define>
8650 
8651 <!-- Used in: draw-applet -->
8652 <!-- Next: draw-applet-attlist -->
8653 <define name="draw-applet-attlist" combine="interleave">
8654     <optional>
8655         <attribute name="draw:code"/>
8656     </optional>
8657 </define>
8658 
8659 <!-- Used in: draw-applet -->
8660 <!-- Next: draw-applet-attlist -->
8661 <define name="draw-applet-attlist" combine="interleave">
8662     <optional>
8663         <attribute name="draw:object"/>
8664     </optional>
8665 </define>
8666 
8667 <!-- Used in: draw-applet -->
8668 <!-- Next: draw-applet-attlist -->
8669 <define name="draw-applet-attlist" combine="interleave">
8670     <optional>
8671         <attribute name="draw:archive"/>
8672     </optional>
8673 </define>
8674 
8675 <!-- Used in: draw-applet -->
8676 <define name="draw-applet-attlist" combine="interleave">
8677     <optional>
8678         <attribute name="draw:may-script" a:defaultValue="false">
8679             <ref name="boolean"/>
8680         </attribute>
8681     </optional>
8682 </define>
8683 
8684 <!-- Used in: draw-frame -->
8685 <define name="draw-plugin">
8686     <element name="draw:plugin">
8687         <ref name="draw-plugin-attlist"/>
8688         <ref name="common-draw-data-attlist"/>
8689         <zeroOrMore>
8690             <ref name="draw-param"/>
8691         </zeroOrMore>
8692     </element>
8693 </define>
8694 
8695 <!-- Used in: draw-plugin -->
8696 <define name="draw-plugin-attlist" combine="interleave">
8697     <optional>
8698         <attribute name="draw:mime-type"/>
8699     </optional>
8700 </define>
8701 
8702 <!-- Used in: draw-applet, draw-plugin -->
8703 <define name="draw-param">
8704     <element name="draw:param">
8705         <ref name="draw-param-attlist"/>
8706         <empty/>
8707     </element>
8708 </define>
8709 
8710 <!-- Used in: draw-param -->
8711 <!-- Next: draw-param-attlist -->
8712 <define name="draw-param-attlist" combine="interleave">
8713     <optional>
8714         <attribute name="draw:name"/>
8715     </optional>
8716 </define>
8717 
8718 <!-- Used in: draw-param -->
8719 <define name="draw-param-attlist" combine="interleave">
8720     <optional>
8721         <attribute name="draw:value"/>
8722     </optional>
8723 </define>
8724 
8725 <!-- Used in: draw-frame -->
8726 <define name="draw-floating-frame">
8727     <element name="draw:floating-frame">
8728         <ref name="draw-floating-frame-attlist"/>
8729         <ref name="common-draw-data-attlist"/>
8730     </element>
8731 </define>
8732 
8733 <!-- Used in: draw-floating-frame -->
8734 <define name="draw-floating-frame-attlist" combine="interleave">
8735     <optional>
8736         <attribute name="draw:frame-name">
8737             <ref name="string"/>
8738         </attribute>
8739     </optional>
8740 </define>
8741 
8742 <!-- Used in: draw-frame -->
8743 <define name="draw-contour-polygon">
8744     <element name="draw:contour-polygon">
8745         <ref name="common-contour-attlist"/>
8746         <ref name="common-draw-size-attlist"/>
8747         <ref name="common-draw-viewbox-attlist"/>
8748         <ref name="common-draw-points-attlist"/>
8749         <empty/>
8750     </element>
8751 </define>
8752 
8753 
8754 <!-- Used in: draw-frame -->
8755 <define name="draw-contour-path">
8756     <element name="draw:contour-path">
8757         <ref name="common-contour-attlist"/>
8758         <ref name="common-draw-size-attlist"/>
8759         <ref name="common-draw-viewbox-attlist"/>
8760         <ref name="common-draw-path-data-attlist"/>
8761         <empty/>
8762     </element>
8763 </define>
8764 
8765 <!-- Used in: draw-contour-polygon, draw-contour-path -->
8766 <define name="common-contour-attlist" combine="interleave">
8767     <attribute name="draw:recreate-on-edit">
8768         <ref name="boolean"/>
8769     </attribute>
8770 </define>
8771 
8772 <!-- Used in: draw-frame, draw-area-rectangle, draw-area-circle, draw-area-polygon -->
8773 <define name="svg-desc">
8774     <element name="svg:desc">
8775         <text/>
8776     </element>
8777 </define>
8778 
8779 <!-- Used in: office-text-content-main, text-content, paragraph-content -->
8780 <define name="draw-a">
8781     <element name="draw:a">
8782         <ref name="draw-a-attlist"/>
8783         <ref name="draw-frame"/>
8784     </element>
8785 </define>
8786 
8787 <!-- Used in: draw-a -->
8788 <!-- Next: draw-a-attlist -->
8789 <define name="draw-a-attlist" combine="interleave">
8790     <attribute name="xlink:href">
8791         <ref name="anyURI"/>
8792     </attribute>
8793     <optional>
8794         <attribute name="xlink:type" a:defaultValue="simple">
8795             <value>simple</value>
8796         </attribute>
8797     </optional>
8798     <optional>
8799         <attribute name="xlink:actuate" a:defaultValue="onRequest">
8800             <choice>
8801                 <value>onRequest</value>
8802             </choice>
8803         </attribute>
8804     </optional>
8805 </define>
8806 
8807 <!-- Used in: draw-a -->
8808 <!-- Next: draw-a-attlist -->
8809 <define name="draw-a-attlist" combine="interleave">
8810     <optional>
8811         <attribute name="office:target-frame-name">
8812             <ref name="targetFrameName"/>
8813         </attribute>
8814     </optional>
8815     <optional>
8816         <attribute name="xlink:show">
8817             <choice>
8818                 <value>new</value>
8819                 <value>replace</value>
8820             </choice>
8821         </attribute>
8822     </optional>
8823 </define>
8824 
8825 <!-- Used in: draw-a -->
8826 <!-- Next: draw-a-attlist -->
8827 <define name="draw-a-attlist" combine="interleave">
8828     <optional>
8829         <attribute name="office:name">
8830             <ref name="string"/>
8831         </attribute>
8832     </optional>
8833 </define>
8834 
8835 <!-- Used in: draw-a -->
8836 <define name="draw-a-attlist" combine="interleave">
8837     <optional>
8838         <attribute name="office:server-map" a:defaultValue="false">
8839             <ref name="boolean"/>
8840         </attribute>
8841     </optional>
8842 </define>
8843 
8844 <!-- Used in: draw-frame -->
8845 <define name="draw-image-map">
8846     <element name="draw:image-map">
8847         <zeroOrMore>
8848             <choice>
8849                 <ref name="draw-area-rectangle"/>
8850                 <ref name="draw-area-circle"/>
8851                 <ref name="draw-area-polygon"/>
8852             </choice>
8853         </zeroOrMore>
8854     </element>
8855 </define>
8856 
8857 <!-- Used in: draw-image-map -->
8858 <define name="draw-area-rectangle">
8859     <element name="draw:area-rectangle">
8860         <ref name="common-draw-area-attlist"/>
8861         <attribute name="svg:x">
8862             <ref name="coordinate"/>
8863         </attribute>
8864         <attribute name="svg:y">
8865             <ref name="coordinate"/>
8866         </attribute>
8867         <attribute name="svg:width">
8868             <ref name="length"/>
8869         </attribute>
8870         <attribute name="svg:height">
8871             <ref name="length"/>
8872         </attribute>
8873         <optional>
8874             <ref name="svg-desc"/>
8875         </optional>
8876         <optional>
8877             <ref name="office-event-listeners"/>
8878         </optional>
8879     </element>
8880 </define>
8881 
8882 <!-- Used in: draw-image-map -->
8883 <define name="draw-area-circle">
8884     <element name="draw:area-circle">
8885         <ref name="common-draw-area-attlist"/>
8886         <attribute name="svg:cx">
8887             <ref name="coordinate"/>
8888         </attribute>
8889         <attribute name="svg:cy">
8890             <ref name="coordinate"/>
8891         </attribute>
8892         <attribute name="svg:r">
8893             <ref name="length"/>
8894         </attribute>
8895         <optional>
8896             <ref name="svg-desc"/>
8897         </optional>
8898         <optional>
8899             <ref name="office-event-listeners"/>
8900         </optional>
8901     </element>
8902 </define>
8903 
8904 <!-- Used in: draw-image-map -->
8905 <define name="draw-area-polygon">
8906     <element name="draw:area-polygon">
8907         <ref name="common-draw-area-attlist"/>
8908         <attribute name="svg:x">
8909             <ref name="coordinate"/>
8910         </attribute>
8911         <attribute name="svg:y">
8912             <ref name="coordinate"/>
8913         </attribute>
8914         <attribute name="svg:width">
8915             <ref name="length"/>
8916         </attribute>
8917         <attribute name="svg:height">
8918             <ref name="length"/>
8919         </attribute>
8920         <ref name="common-draw-viewbox-attlist"/>
8921         <ref name="common-draw-points-attlist"/>
8922         <optional>
8923             <ref name="svg-desc"/>
8924         </optional>
8925         <optional>
8926             <ref name="office-event-listeners"/>
8927         </optional>
8928     </element>
8929 </define>
8930 
8931 <!-- Used in: draw-area-rectangle, draw-area-circle, draw-area-polygon -->
8932 <!-- Next: common-draw-area-attlist -->
8933 <define name="common-draw-area-attlist" combine="interleave">
8934     <optional>
8935         <attribute name="xlink:href">
8936             <ref name="anyURI"/>
8937         </attribute>
8938     </optional>
8939     <optional>
8940         <attribute name="xlink:type" a:defaultValue="simple">
8941             <choice>
8942                 <value>simple</value>
8943             </choice>
8944         </attribute>
8945     </optional>
8946     <optional>
8947         <attribute name="office:target-frame-name">
8948             <ref name="targetFrameName"/>
8949         </attribute>
8950     </optional>
8951     <optional>
8952         <attribute name="xlink:show">
8953             <choice>
8954                 <value>new</value>
8955                 <value>replace</value>
8956             </choice>
8957             </attribute>
8958     </optional>
8959 </define>
8960 
8961 <!-- Used in: draw-area-rectangle, draw-area-circle, draw-area-polygon -->
8962 <!-- Next: common-draw-area-attlist -->
8963 <define name="common-draw-area-attlist" combine="interleave">
8964     <optional>
8965         <attribute name="office:name">
8966             <ref name="string"/>
8967         </attribute>
8968     </optional>
8969 </define>
8970 
8971 <!-- Used in: draw-area-rectangle, draw-area-circle, draw-area-polygon -->
8972 <define name="common-draw-area-attlist" combine="interleave">
8973     <optional>
8974         <attribute name="draw:nohref">
8975             <choice>
8976                 <value>nohref</value>
8977             </choice>
8978         </attribute>
8979     </optional>
8980 </define>
8981 
8982 <!-- Used in: shape, shapes3d -->
8983 <define name="dr3d-scene">
8984     <element name="dr3d:scene">
8985         <ref name="dr3d-scene-attlist"/>
8986         <ref name="common-draw-position-attlist"/>
8987         <ref name="common-draw-size-attlist"/>
8988         <ref name="common-draw-style-name-attlist"/>
8989         <ref name="common-draw-z-index-attlist"/>
8990         <ref name="common-draw-id-attlist"/>
8991         <ref name="common-draw-layer-name-attlist"/>
8992         <ref name="common-text-spreadsheet-shape-attlist"/>
8993         <ref name="common-dr3d-transform-attlist"/>
8994         <zeroOrMore>
8995             <ref name="dr3d-light"/>
8996         </zeroOrMore>
8997         <zeroOrMore>
8998             <ref name="shapes3d"/>
8999         </zeroOrMore>
9000     </element>
9001 </define>
9002 
9003 
9004 <!-- Used in: dr3d-scene -->
9005 <define name="shapes3d">
9006     <choice>
9007         <ref name="dr3d-scene"/>
9008         <ref name="dr3d-extrude"/>
9009         <ref name="dr3d-sphere"/>
9010         <ref name="dr3d-rotate"/>
9011         <ref name="dr3d-cube"/>
9012     </choice>
9013 </define>
9014 
9015 <!-- Used in: dr3d-scene, chart-plot-area-attlist -->
9016 <!-- Next: dr3d-scene-attlist -->
9017 <define name="dr3d-scene-attlist" combine="interleave">
9018     <optional>
9019         <attribute name="dr3d:vrp">
9020             <ref name="vector3D"/>
9021         </attribute>
9022     </optional>
9023     <optional>
9024         <attribute name="dr3d:vpn">
9025             <ref name="vector3D"/>
9026         </attribute>
9027     </optional>
9028     <optional>
9029         <attribute name="dr3d:vup">
9030             <ref name="vector3D"/>
9031         </attribute>
9032     </optional>
9033 </define>
9034 
9035 <!-- Used in: dr3d-scene, chart-plot-area-attlist -->
9036 <!-- Next: dr3d-scene-attlist -->
9037 <define name="dr3d-scene-attlist" combine="interleave">
9038     <optional>
9039         <attribute name="dr3d:projection">
9040             <choice>
9041                 <value>parallel</value>
9042                 <value>perspective</value>
9043             </choice>
9044         </attribute>
9045     </optional>
9046 </define>
9047 
9048 <!-- Used in: dr3d-scene, chart-plot-area-attlist -->
9049 <!-- Next: dr3d-scene-attlist -->
9050 <define name="dr3d-scene-attlist" combine="interleave">
9051     <optional>
9052         <attribute name="dr3d:distance">
9053             <ref name="length"/>
9054         </attribute>
9055     </optional>
9056 </define>
9057 
9058 <!-- Used in: dr3d-scene, chart-plot-area-attlist -->
9059 <!-- Next: dr3d-scene-attlist -->
9060 <define name="dr3d-scene-attlist" combine="interleave">
9061     <optional>
9062         <attribute name="dr3d:focal-length">
9063             <ref name="length"/>
9064         </attribute>
9065     </optional>
9066 </define>
9067 
9068 <!-- Used in: dr3d-scene, chart-plot-area-attlist -->
9069 <!-- Next: dr3d-scene-attlist -->
9070 <define name="dr3d-scene-attlist" combine="interleave">
9071     <optional>
9072         <attribute name="dr3d:shadow-slant">
9073             <ref name="nonNegativeInteger"/>
9074         </attribute>
9075     </optional>
9076 </define>
9077 
9078 <!-- Used in: dr3d-scene, chart-plot-area-attlist -->
9079 <!-- Next: dr3d-scene-attlist -->
9080 <define name="dr3d-scene-attlist" combine="interleave">
9081     <optional>
9082         <attribute name="dr3d:shade-mode">
9083             <choice>
9084                 <value>flat</value>
9085                 <value>phong</value>
9086                 <value>gouraud</value>
9087                 <value>draft</value>
9088             </choice>
9089         </attribute>
9090     </optional>
9091 </define>
9092 
9093 <!-- Used in: dr3d-scene, chart-plot-area-attlist -->
9094 <!-- Next: dr3d-scene-attlist -->
9095 <define name="dr3d-scene-attlist" combine="interleave">
9096     <optional>
9097         <attribute name="dr3d:ambient-color">
9098             <ref name="color"/>
9099         </attribute>
9100     </optional>
9101 </define>
9102 
9103 <!-- Used in: dr3d-scene, chart-plot-area-attlist -->
9104 <define name="dr3d-scene-attlist" combine="interleave">
9105     <optional>
9106         <attribute name="dr3d:lighting-mode">
9107             <ref name="boolean"/>
9108         </attribute>
9109     </optional>
9110 </define>
9111 
9112 <!-- Used in: dr3d-scene, dr3d-cube, dr3d-sphere, dr3d-extrude, dr3d-rotate, chart-plot-area-attlist -->
9113 <define name="common-dr3d-transform-attlist">
9114     <optional>
9115         <attribute name="dr3d:transform"/>
9116     </optional>
9117 </define>
9118 
9119 <!-- Used in: dr3d-scene, chart-plot-area -->
9120 <define name="dr3d-light">
9121     <element name="dr3d:light">
9122         <ref name="dr3d-light-attlist"/>
9123         <empty/>
9124     </element>
9125 </define>
9126 
9127 <!-- Used in: dr3d-light -->
9128 <!-- Next: dr3d-light-attlist -->
9129 <define name="dr3d-light-attlist" combine="interleave">
9130     <optional>
9131         <attribute name="dr3d:diffuse-color">
9132             <ref name="color"/>
9133         </attribute>
9134     </optional>
9135 </define>
9136 
9137 <!-- Used in: dr3d-light -->
9138 <!-- Next: dr3d-light-attlist -->
9139 <define name="dr3d-light-attlist" combine="interleave">
9140     <attribute name="dr3d:direction">
9141         <ref name="vector3D"/>
9142     </attribute>
9143 </define>
9144 
9145 <!-- Used in: dr3d-light -->
9146 <!-- Next: dr3d-light-attlist -->
9147 <define name="dr3d-light-attlist" combine="interleave">
9148     <optional>
9149         <attribute name="dr3d:enabled">
9150             <ref name="boolean"/>
9151         </attribute>
9152     </optional>
9153 </define>
9154 
9155 <!-- Used in: dr3d-light -->
9156 <define name="dr3d-light-attlist" combine="interleave">
9157     <optional>
9158         <attribute name="dr3d:specular">
9159             <ref name="boolean"/>
9160         </attribute>
9161     </optional>
9162 </define>
9163 
9164 <!-- Used in: shapes3d -->
9165 <define name="dr3d-cube">
9166     <element name="dr3d:cube">
9167         <ref name="dr3d-cube-attlist"/>
9168         <ref name="common-draw-z-index-attlist"/>
9169         <ref name="common-draw-id-attlist"/>
9170         <ref name="common-draw-layer-name-attlist"/>
9171         <ref name="common-draw-style-name-attlist"/>
9172         <ref name="common-dr3d-transform-attlist"/>
9173         <empty/>
9174     </element>
9175 </define>
9176 
9177 <!-- Used in: dr3d-cube -->
9178 <define name="dr3d-cube-attlist" combine="interleave">
9179     <optional>
9180         <attribute name="dr3d:min-edge">
9181             <ref name="vector3D"/>
9182         </attribute>
9183     </optional>
9184     <optional>
9185         <attribute name="dr3d:max-edge">
9186             <ref name="vector3D"/>
9187         </attribute>
9188     </optional>
9189 </define>
9190 
9191 <!-- Used in: shapes3d -->
9192 <define name="dr3d-sphere">
9193     <element name="dr3d:sphere">
9194         <ref name="dr3d-sphere-attlist"/>
9195         <ref name="common-draw-z-index-attlist"/>
9196         <ref name="common-draw-id-attlist"/>
9197         <ref name="common-draw-layer-name-attlist"/>
9198         <ref name="common-draw-style-name-attlist"/>
9199         <ref name="common-dr3d-transform-attlist"/>
9200         <empty/>
9201     </element>
9202 </define>
9203 
9204 <!-- Used in: dr3d-sphere -->
9205 <!-- Next: dr3d-sphere-attlist -->
9206 <define name="dr3d-sphere-attlist" combine="interleave">
9207     <optional>
9208         <attribute name="dr3d:center">
9209             <ref name="vector3D"/>
9210         </attribute>
9211     </optional>
9212 </define>
9213 
9214 <!-- Used in: dr3d-sphere -->
9215 <define name="dr3d-sphere-attlist" combine="interleave">
9216     <optional>
9217         <attribute name="dr3d:size">
9218             <ref name="vector3D"/>
9219         </attribute>
9220     </optional>
9221 </define>
9222 
9223 <!-- Used in: shapes3d -->
9224 <define name="dr3d-extrude">
9225     <element name="dr3d:extrude">
9226         <ref name="common-draw-path-data-attlist"/>
9227         <ref name="common-draw-viewbox-attlist"/>
9228         <ref name="common-draw-id-attlist"/>
9229         <ref name="common-draw-z-index-attlist"/>
9230         <ref name="common-draw-layer-name-attlist"/>
9231         <ref name="common-draw-style-name-attlist"/>
9232         <ref name="common-dr3d-transform-attlist"/>
9233         <empty/>
9234     </element>
9235 </define>
9236 
9237 <!-- Used in: shapes3d -->
9238 <define name="dr3d-rotate">
9239     <element name="dr3d:rotate">
9240         <ref name="common-draw-viewbox-attlist"/>
9241         <ref name="common-draw-path-data-attlist"/>
9242         <ref name="common-draw-z-index-attlist"/>
9243         <ref name="common-draw-id-attlist"/>
9244         <ref name="common-draw-layer-name-attlist"/>
9245         <ref name="common-draw-style-name-attlist"/>
9246         <ref name="common-dr3d-transform-attlist"/>
9247         <empty/>
9248     </element>
9249 </define>
9250 
9251 <!-- Used in: shape -->
9252 <define name="draw-custom-shape">
9253     <element name="draw:custom-shape">
9254         <ref name="draw-custom-shape-attlist"/>
9255         <ref name="common-draw-position-attlist"/>
9256         <ref name="common-draw-size-attlist"/>
9257         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
9258         <optional>
9259             <ref name="office-event-listeners"/>
9260         </optional>
9261         <zeroOrMore>
9262             <ref name="draw-glue-point"/>
9263         </zeroOrMore>
9264         <ref name="draw-text"/>
9265         <optional>
9266             <ref name="draw-enhanced-geometry"/>
9267         </optional>
9268     </element>
9269 </define>
9270 
9271 <!-- Used in: draw-custom-shape -->
9272 <!-- Next: draw-custom-shape-attlist -->
9273 <define name="draw-custom-shape-attlist" combine="interleave">
9274     <optional>
9275         <attribute name="draw:engine">
9276             <ref name="namespacedToken"/>
9277         </attribute>
9278     </optional>
9279 </define>
9280 
9281 <!-- Used in: draw-custom-shape -->
9282 <define name="draw-custom-shape-attlist" combine="interleave">
9283     <optional>
9284         <attribute name="draw:data">
9285             <ref name="string"/>
9286         </attribute>
9287     </optional>
9288 </define>
9289 
9290 <!-- Used in: draw-custom-shape -->
9291 <define name="draw-enhanced-geometry">
9292     <element name="draw:enhanced-geometry">
9293         <ref name="draw-enhanced-geometry-attlist"/>
9294         <zeroOrMore>
9295             <ref name="draw-equation"/>
9296         </zeroOrMore>
9297         <zeroOrMore>
9298             <ref name="draw-handle"/>
9299         </zeroOrMore>
9300     </element>
9301 </define>
9302 
9303 <!-- Used in: draw-enhanced-geometry -->
9304 <!-- Next: draw-enhanced-geometry-attlist -->
9305 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9306     <optional>
9307         <attribute name="draw:type" a:defaultValue="non-primitive">
9308             <ref name="custom-shape-type"/>
9309         </attribute>
9310     </optional>
9311 </define>
9312 
9313 
9314 <!-- Used in: draw-enhanced-geometry-attlist -->
9315 <define name="custom-shape-type">
9316     <choice>
9317         <value>non-primitive</value>
9318         <ref name="string"/>
9319     </choice>
9320 </define>
9321 
9322 <!-- Used in: draw-enhanced-geometry -->
9323 <!-- Next: draw-enhanced-geometry-attlist -->
9324 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9325     <optional>
9326         <attribute name="svg:viewBox">
9327             <list>
9328                 <ref name="integer"/>
9329                 <ref name="integer"/>
9330                 <ref name="integer"/>
9331                 <ref name="integer"/>
9332             </list>
9333         </attribute>
9334     </optional>
9335 </define>
9336 
9337 <!-- Used in: draw-enhanced-geometry -->
9338 <!-- Next: draw-enhanced-geometry-attlist -->
9339 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9340     <optional>
9341         <attribute name="draw:mirror-vertical" a:defaultValue="false">
9342             <ref name="boolean"/>
9343         </attribute>
9344     </optional>
9345     <optional>
9346         <attribute name="draw:mirror-horizontal" a:defaultValue="false">
9347             <ref name="boolean"/>
9348         </attribute>
9349     </optional>
9350 </define>
9351 
9352 <!-- Used in: draw-enhanced-geometry -->
9353 <!-- Next: draw-enhanced-geometry-attlist -->
9354 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9355     <optional>
9356         <attribute name="draw:text-rotate-angle" a:defaultValue="0">
9357             <ref name="double"/>
9358         </attribute>
9359     </optional>
9360 </define>
9361 
9362 <!-- Used in: draw-enhanced-geometry -->
9363 <!-- Next: draw-enhanced-geometry-attlist -->
9364 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9365     <optional>
9366         <attribute name="draw:extrusion-allowed" a:defaultValue="false">
9367             <ref name="boolean"/>
9368         </attribute>
9369     </optional>
9370 </define>
9371 
9372 <!-- Used in: draw-enhanced-geometry -->
9373 <!-- Next: draw-enhanced-geometry-attlist -->
9374 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9375     <optional>
9376         <attribute name="draw:text-path-allowed" a:defaultValue="false">
9377             <ref name="boolean"/>
9378         </attribute>
9379     </optional>
9380 </define>
9381 
9382 <!-- Used in: draw-enhanced-geometry -->
9383 <!-- Next: draw-enhanced-geometry-attlist -->
9384 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9385     <optional>
9386         <attribute name="draw:concentric-gradient-fill-allowed" a:defaultValue="false">
9387             <ref name="boolean"/>
9388         </attribute>
9389     </optional>
9390 </define>
9391 
9392 <!-- Used in: draw-enhanced-geometry -->
9393 <!-- Next: draw-enhanced-geometry-attlist -->
9394 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9395     <optional>
9396         <attribute name="draw:extrusion" a:defaultValue="false">
9397             <ref name="boolean"/>
9398         </attribute>
9399     </optional>
9400 </define>
9401 
9402 <!-- Used in: draw-enhanced-geometry -->
9403 <!-- Next: draw-enhanced-geometry-attlist -->
9404 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9405     <optional>
9406         <attribute name="draw:extrusion-brightness" a:defaultValue="33%">
9407             <ref name="percent"/>
9408         </attribute>
9409     </optional>
9410 </define>
9411 
9412 <!-- Used in: draw-enhanced-geometry -->
9413 <!-- Next: draw-enhanced-geometry-attlist -->
9414 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9415     <optional>
9416         <attribute name="draw:extrusion-depth" a:defaultValue="36pt 0">
9417             <list>
9418                 <ref name="length"/>
9419                 <ref name="double"/>
9420             </list>
9421         </attribute>
9422     </optional>
9423 </define>
9424 
9425 <!-- Used in: draw-enhanced-geometry -->
9426 <!-- Next: draw-enhanced-geometry-attlist -->
9427 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9428     <optional>
9429         <attribute name="draw:extrusion-diffusion" a:defaultValue="0%">
9430             <ref name="percent"/>
9431         </attribute>
9432     </optional>
9433 </define>
9434 
9435 <!-- Used in: draw-enhanced-geometry -->
9436 <!-- Next: draw-enhanced-geometry-attlist -->
9437 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9438     <optional>
9439         <attribute name="draw:extrusion-number-of-line-segments" a:defaultValue="30">
9440             <ref name="integer"/>
9441         </attribute>
9442     </optional>
9443 </define>
9444 
9445 <!-- Used in: draw-enhanced-geometry -->
9446 <!-- Next: draw-enhanced-geometry-attlist -->
9447 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9448     <optional>
9449         <attribute name="draw:extrusion-light-face" a:defaultValue="true">
9450             <ref name="boolean"/>
9451         </attribute>
9452     </optional>
9453 </define>
9454 
9455 <!-- Used in: draw-enhanced-geometry -->
9456 <!-- Next: draw-enhanced-geometry-attlist -->
9457 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9458     <optional>
9459         <attribute name="draw:extrusion-first-light-harsh" a:defaultValue="true">
9460             <ref name="boolean"/>
9461         </attribute>
9462     </optional>
9463 </define>
9464 
9465 <!-- Used in: draw-enhanced-geometry -->
9466 <!-- Next: draw-enhanced-geometry-attlist -->
9467 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9468     <optional>
9469         <attribute name="draw:extrusion-second-light-harsh" a:defaultValue="true">
9470             <ref name="boolean"/>
9471         </attribute>
9472     </optional>
9473 </define>
9474 
9475 <!-- Used in: draw-enhanced-geometry -->
9476 <!-- Next: draw-enhanced-geometry-attlist -->
9477 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9478     <optional>
9479         <attribute name="draw:extrusion-first-light-level" a:defaultValue="66%">
9480             <ref name="percent"/>
9481         </attribute>
9482     </optional>
9483 </define>
9484 
9485 <!-- Used in: draw-enhanced-geometry -->
9486 <!-- Next: draw-enhanced-geometry-attlist -->
9487 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9488     <optional>
9489         <attribute name="draw:extrusion-second-light-level" a:defaultValue="66%">
9490             <ref name="percent"/>
9491         </attribute>
9492     </optional>
9493 </define>
9494 
9495 <!-- Used in: draw-enhanced-geometry -->
9496 <!-- Next: draw-enhanced-geometry-attlist -->
9497 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9498     <optional>
9499         <attribute name="draw:extrusion-first-light-direction" a:defaultValue="(5 0 1)">
9500             <ref name="vector3D"/>
9501         </attribute>
9502     </optional>
9503 </define>
9504 
9505 <!-- Used in: draw-enhanced-geometry -->
9506 <!-- Next: draw-enhanced-geometry-attlist -->
9507 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9508     <optional>
9509         <attribute name="draw:extrusion-second-light-direction" a:defaultValue="(-5 0 1)">
9510             <ref name="vector3D"/>
9511         </attribute>
9512     </optional>
9513 </define>
9514 
9515 <!-- Used in: draw-enhanced-geometry -->
9516 <!-- Next: draw-enhanced-geometry-attlist -->
9517 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9518     <optional>
9519         <attribute name="draw:extrusion-metal" a:defaultValue="false">
9520             <ref name="boolean"/>
9521         </attribute>
9522     </optional>
9523 </define>
9524 
9525 <!-- Used in: draw-enhanced-geometry -->
9526 <!-- Next: draw-enhanced-geometry-attlist -->
9527 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9528     <optional>
9529         <attribute name="dr3d:shade-mode" a:defaultValue="flat">
9530             <choice>
9531                 <value>flat</value>
9532                 <value>phong</value>
9533                 <value>gouraud</value>
9534                 <value>draft</value>
9535             </choice>
9536         </attribute>
9537     </optional>
9538 </define>
9539 
9540 <!-- Used in: draw-enhanced-geometry -->
9541 <!-- Next: draw-enhanced-geometry-attlist -->
9542 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9543     <optional>
9544         <attribute name="draw:extrusion-rotation-angle" a:defaultValue="0 0">
9545             <list>
9546                 <ref name="double"/>
9547                 <ref name="double"/>
9548             </list>
9549         </attribute>
9550     </optional>
9551 </define>
9552 
9553 <!-- Used in: draw-enhanced-geometry -->
9554 <!-- Next: draw-enhanced-geometry-attlist -->
9555 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9556     <optional>
9557         <attribute name="draw:extrusion-rotation-center">
9558             <ref name="vector3D"/>
9559         </attribute>
9560     </optional>
9561 </define>
9562 
9563 <!-- Used in: draw-enhanced-geometry -->
9564 <!-- Next: draw-enhanced-geometry-attlist -->
9565 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9566     <optional>
9567         <attribute name="draw:extrusion-shininess" a:defaultValue="50%">
9568             <ref name="percent"/>
9569         </attribute>
9570     </optional>
9571 </define>
9572 
9573 <!-- Used in: draw-enhanced-geometry -->
9574 <!-- Next: draw-enhanced-geometry-attlist -->
9575 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9576     <optional>
9577         <attribute name="draw:extrusion-skew" a:defaultValue="50 45">
9578             <list>
9579                 <ref name="double"/>
9580                 <ref name="double"/>
9581             </list>
9582         </attribute>
9583     </optional>
9584 </define>
9585 
9586 <!-- Used in: draw-enhanced-geometry -->
9587 <!-- Next: draw-enhanced-geometry-attlist -->
9588 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9589     <optional>
9590         <attribute name="draw:extrusion-specularity" a:defaultValue="0%">
9591             <ref name="percent"/>
9592         </attribute>
9593     </optional>
9594 </define>
9595 
9596 <!-- Used in: draw-enhanced-geometry -->
9597 <!-- Next: draw-enhanced-geometry-attlist -->
9598 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9599     <optional>
9600         <attribute name="dr3d:projection" a:defaultValue="parallel">
9601             <choice>
9602                 <value>parallel</value>
9603                 <value>perspective</value>
9604             </choice>
9605         </attribute>
9606     </optional>
9607 </define>
9608 
9609 <!-- Used in: draw-enhanced-geometry -->
9610 <!-- Next: draw-enhanced-geometry-attlist -->
9611 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9612     <optional>
9613         <attribute name="draw:extrusion-viewpoint" a:defaultValue="3.5cm -3.5cm 25cm">
9614             <ref name="point3D"/>
9615         </attribute>
9616     </optional>
9617 </define>
9618 
9619 
9620 <!-- Used in: draw-enhanced-geometry-attlist -->
9621 <define name="point3D">
9622     <data type="string"/>
9623 </define>
9624 
9625 <!-- Used in: draw-enhanced-geometry -->
9626 <!-- Next: draw-enhanced-geometry-attlist -->
9627 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9628     <optional>
9629         <attribute name="draw:extrusion-origin" a:defaultValue="0.5 -0.5">
9630             <list>
9631                 <ref name="double"/>
9632                 <ref name="double"/>
9633             </list>
9634         </attribute>
9635     </optional>
9636 </define>
9637 
9638 <!-- Used in: draw-enhanced-geometry -->
9639 <!-- Next: draw-enhanced-geometry-attlist -->
9640 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9641     <optional>
9642         <attribute name="draw:extrusion-color" a:defaultValue="false">
9643             <ref name="boolean"/>
9644         </attribute>
9645     </optional>
9646 </define>
9647 
9648 <!-- Used in: draw-enhanced-geometry -->
9649 <!-- Next: draw-enhanced-geometry-attlist -->
9650 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9651     <optional>
9652         <attribute name="draw:enhanced-path">
9653             <ref name="string"/>
9654         </attribute>
9655     </optional>
9656 </define>
9657 
9658 <!-- Used in: draw-enhanced-geometry -->
9659 <!-- Next: draw-enhanced-geometry-attlist -->
9660 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9661     <optional>
9662         <attribute name="draw:path-stretchpoint-x" a:defaultValue="0">
9663             <ref name="double"/>
9664         </attribute>
9665     </optional>
9666     <optional>
9667         <attribute name="draw:path-stretchpoint-y" a:defaultValue="0">
9668             <ref name="double"/>
9669         </attribute>
9670     </optional>
9671 </define>
9672 
9673 <!-- Used in: draw-enhanced-geometry -->
9674 <!-- Next: draw-enhanced-geometry-attlist -->
9675 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9676     <optional>
9677         <attribute name="draw:text-areas">
9678             <ref name="string"/>
9679         </attribute>
9680     </optional>
9681 </define>
9682 
9683 <!-- Used in: draw-enhanced-geometry -->
9684 <!-- Next: draw-enhanced-geometry-attlist -->
9685 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9686     <optional>
9687         <attribute name="draw:glue-points">
9688             <ref name="string"/>
9689         </attribute>
9690     </optional>
9691 </define>
9692 
9693 <!-- Used in: draw-enhanced-geometry -->
9694 <!-- Next: draw-enhanced-geometry-attlist -->
9695 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9696     <optional>
9697         <attribute name="draw:glue-point-type" a:defaultValue="none">
9698             <choice>
9699                 <value>none</value>
9700                 <value>segments</value>
9701                 <value>rectangle</value>
9702             </choice>
9703         </attribute>
9704     </optional>
9705 </define>
9706 
9707 <!-- Used in: draw-enhanced-geometry -->
9708 <!-- Next: draw-enhanced-geometry-attlist -->
9709 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9710     <optional>
9711         <attribute name="draw:glue-point-leaving-directions"/>
9712     </optional>
9713 </define>
9714 
9715 <!-- Used in: draw-enhanced-geometry -->
9716 <!-- Next: draw-enhanced-geometry-attlist -->
9717 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9718     <optional>
9719         <attribute name="draw:text-path" a:defaultValue="false">
9720             <ref name="boolean"/>
9721         </attribute>
9722     </optional>
9723 </define>
9724 
9725 <!-- Used in: draw-enhanced-geometry -->
9726 <!-- Next: draw-enhanced-geometry-attlist -->
9727 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9728     <optional>
9729         <attribute name="draw:text-path-mode" a:defaultValue="normal">
9730             <choice>
9731                 <value>normal</value>
9732                 <value>path</value>
9733                 <value>shape</value>
9734             </choice>
9735         </attribute>
9736     </optional>
9737 </define>
9738 
9739 <!-- Used in: draw-enhanced-geometry -->
9740 <!-- Next: draw-enhanced-geometry-attlist -->
9741 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9742     <optional>
9743         <attribute name="draw:text-path-scale" a:defaultValue="path">
9744             <choice>
9745                 <value>path</value>
9746                 <value>shape</value>
9747             </choice>
9748         </attribute>
9749     </optional>
9750 </define>
9751 
9752 <!-- Used in: draw-enhanced-geometry -->
9753 <!-- Next: draw-enhanced-geometry-attlist -->
9754 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9755     <optional>
9756         <attribute name="draw:text-path-same-letter-heights" a:defaultValue="false">
9757             <ref name="boolean"/>
9758         </attribute>
9759     </optional>
9760 </define>
9761 
9762 <!-- Used in: draw-enhanced-geometry -->
9763 <define name="draw-enhanced-geometry-attlist" combine="interleave">
9764     <optional>
9765         <attribute name="draw:modifiers">
9766             <ref name="string"/>
9767         </attribute>
9768     </optional>
9769 </define>
9770 
9771 <!-- Used in: draw-enhanced-geometry -->
9772 <define name="draw-equation">
9773     <element name="draw:equation">
9774         <ref name="draw-equation-attlist"/>
9775         <empty/>
9776     </element>
9777 </define>
9778 
9779 <!-- Used in: draw-equation -->
9780 <!-- Next: draw-equation-attlist -->
9781 <define name="draw-equation-attlist" combine="interleave">
9782     <optional>
9783         <attribute name="draw:name">
9784             <ref name="string"/>
9785         </attribute>
9786     </optional>
9787 </define>
9788 
9789 <!-- Used in: draw-equation -->
9790 <define name="draw-equation-attlist" combine="interleave">
9791     <optional>
9792         <attribute name="draw:formula">
9793             <ref name="string"/>
9794         </attribute>
9795     </optional>
9796 </define>
9797 
9798 <!-- Used in: draw-enhanced-geometry -->
9799 <define name="draw-handle">
9800     <element name="draw:handle">
9801         <ref name="draw-handle-attlist"/>
9802         <empty/>
9803     </element>
9804 </define>
9805 
9806 <!-- Used in: draw-handle -->
9807 <!-- Next: draw-handle-attlist -->
9808 <define name="draw-handle-attlist" combine="interleave">
9809     <optional>
9810         <attribute name="draw:handle-mirror-vertical" a:defaultValue="false">
9811             <ref name="boolean"/>
9812         </attribute>
9813     </optional>
9814 </define>
9815 
9816 <!-- Used in: draw-handle -->
9817 <!-- Next: draw-handle-attlist -->
9818 <define name="draw-handle-attlist" combine="interleave">
9819     <optional>
9820         <attribute name="draw:handle-mirror-horizontal" a:defaultValue="false">
9821             <ref name="boolean"/>
9822         </attribute>
9823     </optional>
9824 </define>
9825 
9826 <!-- Used in: draw-handle -->
9827 <!-- Next: draw-handle-attlist -->
9828 <define name="draw-handle-attlist" combine="interleave">
9829     <optional>
9830         <attribute name="draw:handle-switched" a:defaultValue="false">
9831             <ref name="boolean"/>
9832         </attribute>
9833     </optional>
9834 </define>
9835 
9836 <!-- Used in: draw-handle -->
9837 <!-- Next: draw-handle-attlist -->
9838 <define name="draw-handle-attlist" combine="interleave">
9839     <attribute name="draw:handle-position">
9840         <ref name="string"/>
9841     </attribute>
9842 </define>
9843 
9844 <!-- Used in: draw-handle -->
9845 <!-- Next: draw-handle-attlist -->
9846 <define name="draw-handle-attlist" combine="interleave">
9847     <optional>
9848         <attribute name="draw:handle-range-x-minimum">
9849             <ref name="string"/>
9850         </attribute>
9851     </optional>
9852 </define>
9853 
9854 <!-- Used in: draw-handle -->
9855 <!-- Next: draw-handle-attlist -->
9856 <define name="draw-handle-attlist" combine="interleave">
9857     <optional>
9858         <attribute name="draw:handle-range-x-maximum">
9859             <ref name="string"/>
9860         </attribute>
9861     </optional>
9862 </define>
9863 
9864 <!-- Used in: draw-handle -->
9865 <!-- Next: draw-handle-attlist -->
9866 <define name="draw-handle-attlist" combine="interleave">
9867     <optional>
9868         <attribute name="draw:handle-range-y-minimum">
9869             <ref name="string"/>
9870         </attribute>
9871     </optional>
9872 </define>
9873 
9874 <!-- Used in: draw-handle -->
9875 <!-- Next: draw-handle-attlist -->
9876 <define name="draw-handle-attlist" combine="interleave">
9877     <optional>
9878         <attribute name="draw:handle-range-y-maximum">
9879             <ref name="string"/>
9880         </attribute>
9881     </optional>
9882 </define>
9883 
9884 <!-- Used in: draw-handle -->
9885 <!-- Next: draw-handle-attlist -->
9886 <define name="draw-handle-attlist" combine="interleave">
9887     <optional>
9888         <attribute name="draw:handle-polar">
9889             <ref name="string"/>
9890         </attribute>
9891     </optional>
9892 </define>
9893 
9894 <!-- Used in: draw-handle -->
9895 <!-- Next: draw-handle-attlist -->
9896 <define name="draw-handle-attlist" combine="interleave">
9897     <optional>
9898         <attribute name="draw:handle-radius-range-minimum">
9899             <ref name="string"/>
9900         </attribute>
9901     </optional>
9902 </define>
9903 
9904 <!-- Used in: draw-handle -->
9905 <define name="draw-handle-attlist" combine="interleave">
9906     <optional>
9907         <attribute name="draw:handle-radius-range-maximum">
9908             <ref name="string"/>
9909         </attribute>
9910     </optional>
9911 </define>
9912 
9913 <!-- Used in: draw-page-thumbnail, draw-frame -->
9914 <!-- Next: presentation-shape-attlist -->
9915 <define name="presentation-shape-attlist" combine="interleave">
9916     <optional>
9917         <attribute name="presentation:class">
9918             <ref name="presentation-classes"/>
9919         </attribute>
9920     </optional>
9921 </define>
9922 
9923 <!-- Used in: presentation-shape-attlist, presentation-placeholder -->
9924 <define name="presentation-classes">
9925     <choice>
9926         <value>title</value>
9927         <value>outline</value>
9928         <value>subtitle</value>
9929         <value>text</value>
9930         <value>graphic</value>
9931         <value>object</value>
9932         <value>chart</value>
9933         <value>table</value>
9934         <value>orgchart</value>
9935         <value>page</value>
9936         <value>notes</value>
9937         <value>handout</value>
9938         <value>header</value>
9939         <value>footer</value>
9940         <value>date-time</value>
9941         <value>page-number</value>
9942     </choice>
9943 </define>
9944 
9945 <!-- Used in: draw-page-thumbnail, draw-frame -->
9946 <!-- Next: presentation-shape-attlist -->
9947 <define name="presentation-shape-attlist" combine="interleave">
9948     <optional>
9949         <attribute name="presentation:placeholder">
9950             <ref name="boolean"/>
9951         </attribute>
9952     </optional>
9953 </define>
9954 
9955 <!-- Used in: draw-page-thumbnail, draw-frame -->
9956 <define name="presentation-shape-attlist" combine="interleave">
9957     <optional>
9958         <attribute name="presentation:user-transformed">
9959             <ref name="boolean"/>
9960         </attribute>
9961     </optional>
9962 </define>
9963 
9964 <!-- Used in: draw-page -->
9965 <define name="presentation-animations">
9966     <element name="presentation:animations">
9967         <zeroOrMore>
9968             <choice>
9969                 <ref name="presentation-animation-elements"/>
9970                 <ref name="presentation-animation-group"/>
9971             </choice>
9972         </zeroOrMore>
9973     </element>
9974 </define>
9975 
9976 <!-- Used in: presentation-animations, presentation-animation-group -->
9977 <define name="presentation-animation-elements">
9978     <choice>
9979         <ref name="presentation-show-shape"/>
9980         <ref name="presentation-show-text"/>
9981         <ref name="presentation-hide-shape"/>
9982         <ref name="presentation-hide-text"/>
9983         <ref name="presentation-dim"/>
9984         <ref name="presentation-play"/>
9985     </choice>
9986 </define>
9987 
9988 <!-- Used in: presentation-show-shape, presentation-show-text, presentation-hide-shape, presentation-hide-text, presentation-dim, presentation-event-listener, style-drawing-page-properties-elements -->
9989 <define name="presentation-sound">
9990     <element name="presentation:sound">
9991         <ref name="presentation-sound-attlist"/>
9992         <attribute name="xlink:href">
9993             <ref name="anyURI"/>
9994         </attribute>
9995         <optional>
9996             <attribute name="xlink:type" a:defaultValue="simple">
9997                 <choice>
9998                     <value>simple</value>
9999                 </choice>
10000             </attribute>
10001         </optional>
10002         <optional>
10003             <attribute name="xlink:actuate" a:defaultValue="onRequest">
10004                 <choice>
10005                     <value>onRequest</value>
10006                 </choice>
10007             </attribute>
10008         </optional>
10009         <optional>
10010             <attribute name="xlink:show">
10011                 <choice>
10012                     <value>new</value>
10013                     <value>replace</value>
10014                 </choice>
10015             </attribute>
10016         </optional>
10017         <empty/>
10018     </element>
10019 </define>
10020 
10021 <!-- Used in: presentation-sound -->
10022 <define name="presentation-sound-attlist" combine="interleave">
10023     <optional>
10024         <attribute name="presentation:play-full">
10025             <ref name="boolean"/>
10026         </attribute>
10027     </optional>
10028 </define>
10029 
10030 <!-- Used in: presentation-animation-elements -->
10031 <define name="presentation-show-shape">
10032     <element name="presentation:show-shape">
10033         <ref name="common-presentation-effect-attlist"/>
10034         <optional>
10035             <ref name="presentation-sound"/>
10036         </optional>
10037     </element>
10038 </define>
10039 
10040 <!-- Used in: presentation-show-shape, presentation-show-text, presentation-hide-shape, presentation-hide-text -->
10041 <!-- Next: common-presentation-effect-attlist -->
10042 <define name="common-presentation-effect-attlist" combine="interleave">
10043     <attribute name="draw:shape-id">
10044         <ref name="IDREF"/>
10045     </attribute>
10046 </define>
10047 
10048 <!-- Used in: presentation-show-shape, presentation-show-text, presentation-hide-shape, presentation-hide-text -->
10049 <!-- Next: common-presentation-effect-attlist -->
10050 <define name="common-presentation-effect-attlist" combine="interleave">
10051     <optional>
10052         <attribute name="presentation:effect" a:defaultValue="none">
10053             <ref name="presentationEffects"/>
10054         </attribute>
10055     </optional>
10056 </define>
10057 
10058 <!-- Used in: common-presentation-effect-attlist, presentation-event-listener-attlist -->
10059 <define name="presentationEffects">
10060     <choice>
10061         <value>none</value>
10062         <value>fade</value>
10063         <value>move</value>
10064         <value>stripes</value>
10065         <value>open</value>
10066         <value>close</value>
10067         <value>dissolve</value>
10068         <value>wavyline</value>
10069         <value>random</value>
10070         <value>lines</value>
10071         <value>laser</value>
10072         <value>appear</value>
10073         <value>hide</value>
10074         <value>move-short</value>
10075         <value>checkerboard</value>
10076         <value>rotate</value>
10077         <value>stretch</value>
10078     </choice>
10079 </define>
10080 
10081 <!-- Used in: presentation-show-shape, presentation-show-text, presentation-hide-shape, presentation-hide-text -->
10082 <!-- Next: common-presentation-effect-attlist -->
10083 <define name="common-presentation-effect-attlist" combine="interleave">
10084     <optional>
10085         <attribute name="presentation:direction" a:defaultValue="none">
10086             <ref name="presentationEffectDirections"/>
10087         </attribute>
10088     </optional>
10089 </define>
10090 
10091 <!-- Used in: common-presentation-effect-attlist, presentation-event-listener-attlist -->
10092 <define name="presentationEffectDirections">
10093     <choice>
10094         <value>none</value>
10095         <value>from-left</value>
10096         <value>from-top</value>
10097         <value>from-right</value>
10098         <value>from-bottom</value>
10099         <value>from-center</value>
10100         <value>from-upper-left</value>
10101         <value>from-upper-right</value>
10102         <value>from-lower-left</value>
10103         <value>from-lower-right</value>
10104         <value>to-left</value>
10105         <value>to-top</value>
10106         <value>to-right</value>
10107         <value>to-bottom</value>
10108         <value>to-upper-left</value>
10109         <value>to-upper-right</value>
10110         <value>to-lower-right</value>
10111         <value>to-lower-left</value>
10112         <value>path</value>
10113         <value>spiral-inward-left</value>
10114         <value>spiral-inward-right</value>
10115         <value>spiral-outward-left</value>
10116         <value>spiral-outward-right</value>
10117         <value>vertical</value>
10118         <value>horizontal</value>
10119         <value>to-center</value>
10120         <value>clockwise</value>
10121         <value>counter-clockwise</value>
10122     </choice>
10123 </define>
10124 
10125 <!-- Used in: presentation-show-shape, presentation-show-text, presentation-hide-shape, presentation-hide-text -->
10126 <!-- Next: common-presentation-effect-attlist -->
10127 <define name="common-presentation-effect-attlist" combine="interleave">
10128     <optional>
10129         <attribute name="presentation:speed" a:defaultValue="medium">
10130             <ref name="presentationSpeeds"/>
10131         </attribute>
10132     </optional>
10133 </define>
10134 
10135 <!-- Used in: common-presentation-effect-attlist, presentation-play-attlist, presentation-event-listener-attlist, style-drawing-page-properties-attlist -->
10136 <define name="presentationSpeeds">
10137     <choice>
10138         <value>slow</value>
10139         <value>medium</value>
10140         <value>fast</value>
10141     </choice>
10142 </define>
10143 
10144 <!-- Used in: presentation-show-shape, presentation-show-text, presentation-hide-shape, presentation-hide-text -->
10145 <!-- Next: common-presentation-effect-attlist -->
10146 <define name="common-presentation-effect-attlist" combine="interleave">
10147     <optional>
10148         <attribute name="presentation:delay">
10149             <ref name="duration"/>
10150         </attribute>
10151     </optional>
10152 </define>
10153 
10154 <!-- Used in: presentation-show-shape, presentation-show-text, presentation-hide-shape, presentation-hide-text -->
10155 <!-- Next: common-presentation-effect-attlist -->
10156 <define name="common-presentation-effect-attlist" combine="interleave">
10157     <optional>
10158         <attribute name="presentation:start-scale" a:defaultValue="100%">
10159             <ref name="percent"/>
10160         </attribute>
10161     </optional>
10162 </define>
10163 
10164 <!-- Used in: presentation-show-shape, presentation-show-text, presentation-hide-shape, presentation-hide-text -->
10165 <define name="common-presentation-effect-attlist" combine="interleave">
10166     <optional>
10167         <attribute name="presentation:path-id"/>
10168     </optional>
10169 </define>
10170 
10171 <!-- Used in: presentation-animation-elements -->
10172 <define name="presentation-show-text">
10173     <element name="presentation:show-text">
10174         <ref name="common-presentation-effect-attlist"/>
10175         <optional>
10176             <ref name="presentation-sound"/>
10177         </optional>
10178     </element>
10179 </define>
10180 
10181 <!-- Used in: presentation-animation-elements -->
10182 <define name="presentation-hide-shape">
10183     <element name="presentation:hide-shape">
10184         <ref name="common-presentation-effect-attlist"/>
10185         <optional>
10186             <ref name="presentation-sound"/>
10187         </optional>
10188     </element>
10189 </define>
10190 
10191 <!-- Used in: presentation-animation-elements -->
10192 <define name="presentation-hide-text">
10193     <element name="presentation:hide-text">
10194         <ref name="common-presentation-effect-attlist"/>
10195         <optional>
10196             <ref name="presentation-sound"/>
10197         </optional>
10198     </element>
10199 </define>
10200 
10201 <!-- Used in: presentation-animation-elements -->
10202 <define name="presentation-dim">
10203     <element name="presentation:dim">
10204         <ref name="presentation-dim-attlist"/>
10205         <optional>
10206             <ref name="presentation-sound"/>
10207         </optional>
10208     </element>
10209 </define>
10210 
10211 <!-- Used in: presentation-dim -->
10212 <!-- Next: presentation-dim-attlist -->
10213 <define name="presentation-dim-attlist" combine="interleave">
10214     <attribute name="draw:shape-id">
10215         <ref name="IDREF"/>
10216     </attribute>
10217 </define>
10218 
10219 <!-- Used in: presentation-dim -->
10220 <define name="presentation-dim-attlist" combine="interleave">
10221     <attribute name="draw:color">
10222         <ref name="color"/>
10223     </attribute>
10224 </define>
10225 
10226 <!-- Used in: presentation-animation-elements -->
10227 <define name="presentation-play">
10228     <element name="presentation:play">
10229         <ref name="presentation-play-attlist"/>
10230         <empty/>
10231     </element>
10232 </define>
10233 
10234 <!-- Used in: presentation-play -->
10235 <define name="presentation-play-attlist" combine="interleave">
10236     <attribute name="draw:shape-id">
10237         <ref name="IDREF"/>
10238     </attribute>
10239     <optional>
10240         <attribute name="presentation:speed" a:defaultValue="medium">
10241             <ref name="presentationSpeeds"/>
10242         </attribute>
10243     </optional>
10244 </define>
10245 
10246 <!-- Used in: presentation-animations -->
10247 <define name="presentation-animation-group">
10248     <element name="presentation:animation-group">
10249         <zeroOrMore>
10250             <ref name="presentation-animation-elements"/>
10251         </zeroOrMore>
10252     </element>
10253 </define>
10254 
10255 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
10256 <!-- Next: common-anim-attlist -->
10257 <define name="common-anim-attlist" combine="interleave">
10258     <optional>
10259         <attribute name="presentation:node-type" a:defaultValue="default">
10260             <choice>
10261                 <value>default</value>
10262                 <value>on-click</value>
10263                 <value>with-previous</value>
10264                 <value>after-previous</value>
10265                 <value>timing-root</value>
10266                 <value>main-sequence</value>
10267                 <value>interactive-sequence</value>
10268             </choice>
10269         </attribute>
10270     </optional>
10271 </define>
10272 
10273 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
10274 <!-- Next: common-anim-attlist -->
10275 <define name="common-anim-attlist" combine="interleave">
10276     <optional>
10277         <attribute name="presentation:preset-id">
10278             <ref name="string"/>
10279         </attribute>
10280     </optional>
10281 </define>
10282 
10283 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
10284 <!-- Next: common-anim-attlist -->
10285 <define name="common-anim-attlist" combine="interleave">
10286     <optional>
10287         <attribute name="presentation:preset-sub-type">
10288             <ref name="string"/>
10289         </attribute>
10290     </optional>
10291 </define>
10292 
10293 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
10294 <!-- Next: common-anim-attlist -->
10295 <define name="common-anim-attlist" combine="interleave">
10296     <optional>
10297         <attribute name="presentation:preset-class" a:defaultValue="custom">
10298             <choice>
10299                 <value>custom</value>
10300                 <value>entrance</value>
10301                 <value>exit</value>
10302                 <value>emphasis</value>
10303                 <value>motion-path</value>
10304                 <value>ole-action</value>
10305                 <value>media-call</value>
10306             </choice>
10307         </attribute>
10308     </optional>
10309 </define>
10310 
10311 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
10312 <!-- Next: common-anim-attlist -->
10313 <define name="common-anim-attlist" combine="interleave">
10314     <optional>
10315         <attribute name="presentation:master-element">
10316             <ref name="IDREF"/>
10317         </attribute>
10318     </optional>
10319 </define>
10320 
10321 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
10322 <!-- Next: common-anim-attlist -->
10323 <define name="common-anim-attlist" combine="interleave">
10324     <optional>
10325         <attribute name="presentation:group-id">
10326             <ref name="string"/>
10327         </attribute>
10328     </optional>
10329 </define>
10330 
10331 <!-- Used in: office-event-listeners -->
10332 <define name="presentation-event-listener">
10333     <element name="presentation:event-listener">
10334         <ref name="presentation-event-listener-attlist"/>
10335         <optional>
10336             <ref name="presentation-sound"/>
10337         </optional>
10338     </element>
10339 </define>
10340 
10341 <!-- Used in: presentation-event-listener -->
10342 <!-- Next: presentation-event-listener-attlist -->
10343 <define name="presentation-event-listener-attlist" combine="interleave">
10344     <attribute name="script:event-name">
10345         <ref name="string"/>
10346     </attribute>
10347 </define>
10348 
10349 <!-- Used in: presentation-event-listener -->
10350 <!-- Next: presentation-event-listener-attlist -->
10351 <define name="presentation-event-listener-attlist" combine="interleave">
10352     <attribute name="presentation:action">
10353         <choice>
10354             <value>none</value>
10355             <value>previous-page</value>
10356             <value>next-page</value>
10357             <value>first-page</value>
10358             <value>last-page</value>
10359             <value>hide</value>
10360             <value>stop</value>
10361             <value>execute</value>
10362             <value>show</value>
10363             <value>verb</value>
10364             <value>fade-out</value>
10365             <value>sound</value>
10366         </choice>
10367     </attribute>
10368 </define>
10369 
10370 <!-- Used in: presentation-event-listener -->
10371 <!-- Next: presentation-event-listener-attlist -->
10372 <define name="presentation-event-listener-attlist" combine="interleave">
10373     <optional>
10374         <attribute name="presentation:effect" a:defaultValue="none">
10375             <ref name="presentationEffects"/>
10376         </attribute>
10377     </optional>
10378 </define>
10379 
10380 <!-- Used in: presentation-event-listener -->
10381 <!-- Next: presentation-event-listener-attlist -->
10382 <define name="presentation-event-listener-attlist" combine="interleave">
10383     <optional>
10384         <attribute name="presentation:direction" a:defaultValue="none">
10385             <ref name="presentationEffectDirections"/>
10386         </attribute>
10387     </optional>
10388 </define>
10389 
10390 <!-- Used in: presentation-event-listener -->
10391 <!-- Next: presentation-event-listener-attlist -->
10392 <define name="presentation-event-listener-attlist" combine="interleave">
10393     <optional>
10394         <attribute name="presentation:speed" a:defaultValue="medium">
10395             <ref name="presentationSpeeds"/>
10396         </attribute>
10397     </optional>
10398 </define>
10399 
10400 <!-- Used in: presentation-event-listener -->
10401 <!-- Next: presentation-event-listener-attlist -->
10402 <define name="presentation-event-listener-attlist" combine="interleave">
10403     <optional>
10404         <attribute name="presentation:start-scale" a:defaultValue="100%">
10405             <ref name="percent"/>
10406         </attribute>
10407     </optional>
10408 </define>
10409 
10410 <!-- Used in: presentation-event-listener -->
10411 <!-- Next: presentation-event-listener-attlist -->
10412 <define name="presentation-event-listener-attlist" combine="interleave">
10413     <optional>
10414         <attribute name="xlink:href">
10415             <ref name="anyURI"/>
10416         </attribute>
10417     </optional>
10418     <optional>
10419         <attribute name="xlink:type" a:defaultValue="simple">
10420             <choice>
10421                 <value>simple</value>
10422             </choice>
10423         </attribute>
10424     </optional>
10425     <optional>
10426         <attribute name="xlink:show" a:defaultValue="embed">
10427             <choice>
10428                 <value>embed</value>
10429             </choice>
10430         </attribute>
10431     </optional>
10432     <optional>
10433         <attribute name="xlink:actuate" a:defaultValue="onRequest">
10434             <choice>
10435                 <value>onRequest</value>
10436             </choice>
10437         </attribute>
10438     </optional>
10439 </define>
10440 
10441 <!-- Used in: presentation-event-listener -->
10442 <define name="presentation-event-listener-attlist" combine="interleave">
10443     <optional>
10444         <attribute name="presentation:verb">
10445             <ref name="nonNegativeInteger"/>
10446         </attribute>
10447     </optional>
10448 </define>
10449 
10450 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
10451 <!-- Next: paragraph-content -->
10452 <define name="paragraph-content" combine="choice">
10453     <element name="presentation:header">
10454         <empty/>
10455     </element>
10456 </define>
10457 
10458 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
10459 <!-- Next: paragraph-content -->
10460 <define name="paragraph-content" combine="choice">
10461     <element name="presentation:footer">
10462         <empty/>
10463     </element>
10464 </define>
10465 
10466 <!-- Used in: text-h, text-p, paragraph-content, paragraph-content, paragraph-content -->
10467 <define name="paragraph-content" combine="choice">
10468     <element name="presentation:date-time">
10469         <empty/>
10470     </element>
10471 </define>
10472 
10473 <!-- Used in: office-presentation-content-prelude -->
10474 <define name="presentation-decls">
10475     <zeroOrMore>
10476         <ref name="presentation-decl"/>
10477     </zeroOrMore>
10478 </define>
10479 
10480 <!-- Used in: presentation-decls -->
10481 <!-- Next: presentation-decl -->
10482 <define name="presentation-decl" combine="choice">
10483     <element name="presentation:header-decl">
10484         <ref name="presentation-header-decl-attlist"/>
10485         <text/>
10486     </element>
10487 </define>
10488 
10489 <!-- Used in: presentation-decl -->
10490 <define name="presentation-header-decl-attlist" combine="interleave">
10491     <attribute name="presentation:name">
10492         <ref name="string"/>
10493     </attribute>
10494 </define>
10495 
10496 <!-- Used in: presentation-decls -->
10497 <!-- Next: presentation-decl -->
10498 <define name="presentation-decl" combine="choice">
10499     <element name="presentation:footer-decl">
10500         <ref name="presentation-footer-decl-attlist"/>
10501         <text/>
10502     </element>
10503 </define>
10504 
10505 <!-- Used in: presentation-decl -->
10506 <define name="presentation-footer-decl-attlist" combine="interleave">
10507     <attribute name="presentation:name">
10508         <ref name="string"/>
10509     </attribute>
10510 </define>
10511 
10512 <!-- Used in: presentation-decls -->
10513 <define name="presentation-decl" combine="choice">
10514     <element name="presentation:date-time-decl">
10515         <ref name="presentation-date-time-decl-attlist"/>
10516         <text/>
10517     </element>
10518 </define>
10519 
10520 <!-- Used in: presentation-decl -->
10521 <!-- Next: presentation-date-time-decl-attlist -->
10522 <define name="presentation-date-time-decl-attlist" combine="interleave">
10523     <attribute name="presentation:name">
10524         <ref name="string"/>
10525     </attribute>
10526 </define>
10527 
10528 <!-- Used in: presentation-decl -->
10529 <!-- Next: presentation-date-time-decl-attlist -->
10530 <define name="presentation-date-time-decl-attlist" combine="interleave">
10531     <attribute name="presentation:source">
10532         <choice>
10533             <value>fixed</value>
10534             <value>current-date</value>
10535         </choice>
10536     </attribute>
10537 </define>
10538 
10539 <!-- Used in: presentation-decl -->
10540 <define name="presentation-date-time-decl-attlist" combine="interleave">
10541     <optional>
10542         <attribute name="style:data-style-name">
10543             <ref name="styleNameRef"/>
10544         </attribute>
10545     </optional>
10546 </define>
10547 
10548 <!-- Used in: office-presentation-content-epilogue -->
10549 <define name="presentation-settings">
10550     <optional>
10551         <element name="presentation:settings">
10552             <ref name="presentation-settings-attlist"/>
10553             <zeroOrMore>
10554                 <ref name="presentation-show"/>
10555             </zeroOrMore>
10556         </element>
10557     </optional>
10558 </define>
10559 
10560 <!-- Used in: presentation-settings -->
10561 <!-- Next: presentation-settings-attlist -->
10562 <define name="presentation-settings-attlist" combine="interleave">
10563     <optional>
10564         <attribute name="presentation:start-page">
10565             <ref name="string"/>
10566         </attribute>
10567     </optional>
10568 </define>
10569 
10570 <!-- Used in: presentation-settings -->
10571 <!-- Next: presentation-settings-attlist -->
10572 <define name="presentation-settings-attlist" combine="interleave">
10573     <optional>
10574         <attribute name="presentation:show">
10575             <ref name="string"/>
10576         </attribute>
10577     </optional>
10578 </define>
10579 
10580 <!-- Used in: presentation-settings -->
10581 <!-- Next: presentation-settings-attlist -->
10582 <define name="presentation-settings-attlist" combine="interleave">
10583     <optional>
10584         <attribute name="presentation:full-screen" a:defaultValue="true">
10585             <ref name="boolean"/>
10586         </attribute>
10587     </optional>
10588 </define>
10589 
10590 <!-- Used in: presentation-settings -->
10591 <!-- Next: presentation-settings-attlist -->
10592 <define name="presentation-settings-attlist" combine="interleave">
10593     <optional>
10594         <attribute name="presentation:endless" a:defaultValue="false">
10595             <ref name="boolean"/>
10596         </attribute>
10597     </optional>
10598 </define>
10599 
10600 <!-- Used in: presentation-settings -->
10601 <!-- Next: presentation-settings-attlist -->
10602 <define name="presentation-settings-attlist" combine="interleave">
10603     <optional>
10604         <attribute name="presentation:pause">
10605             <ref name="duration"/>
10606         </attribute>
10607     </optional>
10608 </define>
10609 
10610 <!-- Used in: presentation-settings -->
10611 <!-- Next: presentation-settings-attlist -->
10612 <define name="presentation-settings-attlist" combine="interleave">
10613     <optional>
10614         <attribute name="presentation:show-logo" a:defaultValue="false">
10615             <ref name="boolean"/>
10616         </attribute>
10617     </optional>
10618 </define>
10619 
10620 <!-- Used in: presentation-settings -->
10621 <!-- Next: presentation-settings-attlist -->
10622 <define name="presentation-settings-attlist" combine="interleave">
10623     <optional>
10624         <attribute name="presentation:force-manual" a:defaultValue="false">
10625             <ref name="boolean"/>
10626         </attribute>
10627     </optional>
10628 </define>
10629 
10630 <!-- Used in: presentation-settings -->
10631 <!-- Next: presentation-settings-attlist -->
10632 <define name="presentation-settings-attlist" combine="interleave">
10633     <optional>
10634         <attribute name="presentation:mouse-visible" a:defaultValue="true">
10635             <ref name="boolean"/>
10636         </attribute>
10637     </optional>
10638 </define>
10639 
10640 <!-- Used in: presentation-settings -->
10641 <!-- Next: presentation-settings-attlist -->
10642 <define name="presentation-settings-attlist" combine="interleave">
10643     <optional>
10644         <attribute name="presentation:mouse-as-pen" a:defaultValue="false">
10645             <ref name="boolean"/>
10646         </attribute>
10647     </optional>
10648 </define>
10649 
10650 <!-- Used in: presentation-settings -->
10651 <!-- Next: presentation-settings-attlist -->
10652 <define name="presentation-settings-attlist" combine="interleave">
10653     <optional>
10654         <attribute name="presentation:start-with-navigator" a:defaultValue="false">
10655             <ref name="boolean"/>
10656         </attribute>
10657     </optional>
10658 </define>
10659 
10660 <!-- Used in: presentation-settings -->
10661 <!-- Next: presentation-settings-attlist -->
10662 <define name="presentation-settings-attlist" combine="interleave">
10663     <optional>
10664         <attribute name="presentation:animations" a:defaultValue="enabled">
10665             <choice>
10666                 <value>enabled</value>
10667                 <value>disabled</value>
10668             </choice>
10669         </attribute>
10670     </optional>
10671 </define>
10672 
10673 <!-- Used in: presentation-settings -->
10674 <!-- Next: presentation-settings-attlist -->
10675 <define name="presentation-settings-attlist" combine="interleave">
10676     <optional>
10677         <attribute name="presentation:transition-on-click" a:defaultValue="enabled">
10678             <choice>
10679                 <value>enabled</value>
10680                 <value>disabled</value>
10681             </choice>
10682         </attribute>
10683     </optional>
10684 </define>
10685 
10686 <!-- Used in: presentation-settings -->
10687 <define name="presentation-settings-attlist" combine="interleave">
10688     <optional>
10689         <attribute name="presentation:stay-on-top" a:defaultValue="false">
10690             <ref name="boolean"/>
10691         </attribute>
10692     </optional>
10693 </define>
10694 
10695 <!-- Used in: presentation-settings -->
10696 <define name="presentation-show">
10697     <element name="presentation:show">
10698         <ref name="presentation-show-attlist"/>
10699         <empty/>
10700     </element>
10701 </define>
10702 
10703 <!-- Used in: presentation-show -->
10704 <!-- Next: presentation-show-attlist -->
10705 <define name="presentation-show-attlist" combine="interleave">
10706     <attribute name="presentation:name">
10707         <ref name="string"/>
10708     </attribute>
10709 </define>
10710 
10711 <!-- Used in: presentation-show -->
10712 <define name="presentation-show-attlist" combine="interleave">
10713     <attribute name="presentation:pages"/>
10714 </define>
10715 
10716 <!-- Used in: office-chart-content-main -->
10717 <define name="chart-chart">
10718     <element name="chart:chart">
10719         <ref name="chart-chart-attlist"/>
10720         <optional>
10721             <ref name="chart-title"/>
10722         </optional>
10723         <optional>
10724             <ref name="chart-subtitle"/>
10725         </optional>
10726         <optional>
10727             <ref name="chart-footer"/>
10728         </optional>
10729         <optional>
10730             <ref name="chart-legend"/>
10731         </optional>
10732         <ref name="chart-plot-area"/>
10733         <optional>
10734             <ref name="table-table"/>
10735         </optional>
10736     </element>
10737 </define>
10738 
10739 <!-- Used in: chart-chart -->
10740 <!-- Next: chart-chart-attlist -->
10741 <define name="chart-chart-attlist" combine="interleave">
10742     <attribute name="chart:class">
10743         <ref name="namespacedToken"/>
10744     </attribute>
10745 </define>
10746 
10747 <!-- Used in: chart-chart -->
10748 <!-- Next: chart-chart-attlist -->
10749 <define name="chart-chart-attlist" combine="interleave">
10750     <ref name="common-draw-size-attlist"/>
10751 </define>
10752 
10753 <!-- Used in: chart-chart -->
10754 <!-- Next: chart-chart-attlist -->
10755 <define name="chart-chart-attlist" combine="interleave">
10756     <optional>
10757         <attribute name="chart:column-mapping">
10758             <ref name="string"/>
10759         </attribute>
10760     </optional>
10761 </define>
10762 
10763 <!-- Used in: chart-chart -->
10764 <!-- Next: chart-chart-attlist -->
10765 <define name="chart-chart-attlist" combine="interleave">
10766     <optional>
10767         <attribute name="chart:row-mapping">
10768             <ref name="string"/>
10769         </attribute>
10770     </optional>
10771 </define>
10772 
10773 <!-- Used in: chart-chart -->
10774 <define name="chart-chart-attlist" combine="interleave">
10775     <optional>
10776         <attribute name="chart:style-name">
10777             <ref name="styleNameRef"/>
10778         </attribute>
10779     </optional>
10780 </define>
10781 
10782 <!-- Used in: chart-chart, chart-axis -->
10783 <define name="chart-title">
10784     <element name="chart:title">
10785         <ref name="chart-title-attlist"/>
10786         <optional>
10787             <ref name="text-p"/>
10788         </optional>
10789     </element>
10790 </define>
10791 
10792 <!-- Used in: chart-title, chart-subtitle, chart-footer -->
10793 <!-- Next: chart-title-attlist -->
10794 <define name="chart-title-attlist" combine="interleave">
10795     <optional>
10796         <attribute name="table:cell-range">
10797             <ref name="cellAddress"/>
10798         </attribute>
10799     </optional>
10800 </define>
10801 
10802 <!-- Used in: chart-title, chart-subtitle, chart-footer -->
10803 <!-- Next: chart-title-attlist -->
10804 <define name="chart-title-attlist" combine="interleave">
10805     <ref name="common-draw-position-attlist"/>
10806 </define>
10807 
10808 <!-- Used in: chart-title, chart-subtitle, chart-footer -->
10809 <define name="chart-title-attlist" combine="interleave">
10810     <optional>
10811         <attribute name="chart:style-name">
10812             <ref name="styleNameRef"/>
10813         </attribute>
10814     </optional>
10815 </define>
10816 
10817 <!-- Used in: chart-chart -->
10818 <define name="chart-subtitle">
10819     <element name="chart:subtitle">
10820         <ref name="chart-title-attlist"/>
10821         <optional>
10822             <ref name="text-p"/>
10823         </optional>
10824     </element>
10825 </define>
10826 
10827 <!-- Used in: chart-chart -->
10828 <define name="chart-footer">
10829     <element name="chart:footer">
10830         <ref name="chart-title-attlist"/>
10831         <optional>
10832             <ref name="text-p"/>
10833         </optional>
10834     </element>
10835 </define>
10836 
10837 <!-- Used in: chart-chart -->
10838 <define name="chart-legend">
10839     <element name="chart:legend">
10840         <ref name="chart-legend-attlist"/>
10841         <empty/>
10842     </element>
10843 </define>
10844 
10845 <!-- Used in: chart-legend -->
10846 <!-- Next: chart-legend-attlist -->
10847 <define name="chart-legend-attlist" combine="interleave">
10848     <choice>
10849         <group>
10850             <attribute name="chart:legend-position">
10851                 <choice>
10852                     <value>start</value>
10853                     <value>end</value>
10854                     <value>top</value>
10855                     <value>bottom</value>
10856                 </choice>
10857             </attribute>
10858             <optional>
10859                 <attribute name="chart:legend-align">
10860                     <choice>
10861                         <value>start</value>
10862                         <value>center</value>
10863                         <value>end</value>
10864                     </choice>
10865                 </attribute>
10866             </optional>
10867         </group>
10868         <attribute name="chart:legend-position">
10869             <choice>
10870                 <value>top-start</value>
10871                 <value>bottom-start</value>
10872                 <value>top-end</value>
10873                 <value>bottom-end</value>
10874             </choice>
10875         </attribute>
10876         <empty/>
10877     </choice>
10878 </define>
10879 
10880 <!-- Used in: chart-legend -->
10881 <!-- Next: chart-legend-attlist -->
10882 <define name="chart-legend-attlist" combine="interleave">
10883     <ref name="common-draw-position-attlist"/>
10884 </define>
10885 
10886 <!-- Used in: chart-legend -->
10887 <!-- Next: chart-legend-attlist -->
10888 <define name="chart-legend-attlist" combine="interleave">
10889     <choice>
10890         <attribute name="style:legend-expansion">
10891             <choice>
10892                 <value>wide</value>
10893                 <value>high</value>
10894                 <value>balanced</value>
10895             </choice>
10896         </attribute>
10897         <group>
10898             <attribute name="style:legend-expansion">
10899                 <value>custom</value>
10900             </attribute>
10901             <attribute name="style:legend-expansion-aspect-ratio">
10902                 <ref name="double"/>
10903             </attribute>
10904         </group>
10905         <empty/>
10906     </choice>
10907 </define>
10908 
10909 <!-- Used in: chart-legend -->
10910 <define name="chart-legend-attlist" combine="interleave">
10911     <optional>
10912         <attribute name="chart:style-name">
10913             <ref name="styleNameRef"/>
10914         </attribute>
10915     </optional>
10916 </define>
10917 
10918 <!-- Used in: chart-chart -->
10919 <define name="chart-plot-area">
10920     <element name="chart:plot-area">
10921         <ref name="chart-plot-area-attlist"/>
10922         <zeroOrMore>
10923             <ref name="dr3d-light"/>
10924         </zeroOrMore>
10925         <zeroOrMore>
10926             <ref name="chart-axis"/>
10927         </zeroOrMore>
10928         <zeroOrMore>
10929             <ref name="chart-series"/>
10930         </zeroOrMore>
10931         <optional>
10932             <ref name="chart-stock-gain-marker"/>
10933         </optional>
10934         <optional>
10935             <ref name="chart-stock-loss-marker"/>
10936         </optional>
10937         <optional>
10938             <ref name="chart-stock-range-line"/>
10939         </optional>
10940         <optional>
10941             <ref name="chart-wall"/>
10942         </optional>
10943         <optional>
10944             <ref name="chart-floor"/>
10945         </optional>
10946     </element>
10947 </define>
10948 
10949 <!-- Used in: chart-plot-area -->
10950 <!-- Next: chart-plot-area-attlist -->
10951 <define name="chart-plot-area-attlist" combine="interleave">
10952     <ref name="common-draw-position-attlist"/>
10953     <ref name="common-draw-size-attlist"/>
10954 </define>
10955 
10956 <!-- Used in: chart-plot-area -->
10957 <!-- Next: chart-plot-area-attlist -->
10958 <define name="chart-plot-area-attlist" combine="interleave">
10959     <optional>
10960         <attribute name="chart:style-name">
10961             <ref name="styleNameRef"/>
10962         </attribute>
10963     </optional>
10964 </define>
10965 
10966 <!-- Used in: chart-plot-area -->
10967 <!-- Next: chart-plot-area-attlist -->
10968 <define name="chart-plot-area-attlist" combine="interleave">
10969     <optional>
10970         <attribute name="table:cell-range-address">
10971             <ref name="cellRangeAddress"/>
10972         </attribute>
10973     </optional>
10974 </define>
10975 
10976 <!-- Used in: chart-plot-area -->
10977 <!-- Next: chart-plot-area-attlist -->
10978 <define name="chart-plot-area-attlist" combine="interleave">
10979     <optional>
10980         <attribute name="chart:data-source-has-labels" a:defaultValue="none">
10981             <choice>
10982                 <value>none</value>
10983                 <value>row</value>
10984                 <value>column</value>
10985                 <value>both</value>
10986             </choice>
10987         </attribute>
10988     </optional>
10989 </define>
10990 
10991 <!-- Used in: chart-plot-area -->
10992 <define name="chart-plot-area-attlist" combine="interleave">
10993     <ref name="dr3d-scene-attlist"/>
10994     <ref name="common-dr3d-transform-attlist"/>
10995 </define>
10996 
10997 <!-- Used in: chart-plot-area -->
10998 <define name="chart-wall">
10999     <element name="chart:wall">
11000         <ref name="chart-wall-attlist"/>
11001         <empty/>
11002     </element>
11003 </define>
11004 
11005 <!-- Used in: chart-wall -->
11006 <!-- Next: chart-wall-attlist -->
11007 <define name="chart-wall-attlist" combine="interleave">
11008     <optional>
11009         <attribute name="svg:width">
11010             <ref name="length"/>
11011         </attribute>
11012     </optional>
11013 </define>
11014 
11015 <!-- Used in: chart-wall -->
11016 <define name="chart-wall-attlist" combine="interleave">
11017     <optional>
11018         <attribute name="chart:style-name">
11019             <ref name="styleNameRef"/>
11020         </attribute>
11021     </optional>
11022 </define>
11023 
11024 <!-- Used in: chart-plot-area -->
11025 <define name="chart-floor">
11026     <element name="chart:floor">
11027         <ref name="chart-floor-attlist"/>
11028         <empty/>
11029     </element>
11030 </define>
11031 
11032 <!-- Used in: chart-floor -->
11033 <!-- Next: chart-floor-attlist -->
11034 <define name="chart-floor-attlist" combine="interleave">
11035     <optional>
11036         <attribute name="svg:width">
11037             <ref name="length"/>
11038         </attribute>
11039     </optional>
11040 </define>
11041 
11042 <!-- Used in: chart-floor -->
11043 <define name="chart-floor-attlist" combine="interleave">
11044     <optional>
11045         <attribute name="chart:style-name">
11046             <ref name="styleNameRef"/>
11047         </attribute>
11048     </optional>
11049 </define>
11050 
11051 <!-- Used in: chart-plot-area -->
11052 <define name="chart-axis">
11053     <element name="chart:axis">
11054         <ref name="chart-axis-attlist"/>
11055         <optional>
11056             <ref name="chart-title"/>
11057         </optional>
11058         <optional>
11059             <ref name="chart-categories"/>
11060         </optional>
11061         <zeroOrMore>
11062             <ref name="chart-grid"/>
11063         </zeroOrMore>
11064     </element>
11065 </define>
11066 
11067 <!-- Used in: chart-axis -->
11068 <!-- Next: chart-axis-attlist -->
11069 <define name="chart-axis-attlist" combine="interleave">
11070     <attribute name="chart:dimension">
11071         <choice>
11072             <value>x</value>
11073             <value>y</value>
11074             <value>z</value>
11075         </choice>
11076     </attribute>
11077 </define>
11078 
11079 <!-- Used in: chart-axis -->
11080 <!-- Next: chart-axis-attlist -->
11081 <define name="chart-axis-attlist" combine="interleave">
11082     <optional>
11083         <attribute name="chart:name">
11084             <ref name="string"/>
11085         </attribute>
11086     </optional>
11087 </define>
11088 
11089 <!-- Used in: chart-axis -->
11090 <define name="chart-axis-attlist" combine="interleave">
11091     <optional>
11092         <attribute name="chart:style-name">
11093             <ref name="styleNameRef"/>
11094         </attribute>
11095     </optional>
11096 </define>
11097 
11098 <!-- Used in: chart-axis -->
11099 <define name="chart-grid">
11100     <element name="chart:grid">
11101         <ref name="chart-grid-attlist"/>
11102     </element>
11103 </define>
11104 
11105 <!-- Used in: chart-grid -->
11106 <!-- Next: chart-grid-attlist -->
11107 <define name="chart-grid-attlist" combine="interleave">
11108     <optional>
11109         <attribute name="chart:class" a:defaultValue="major">
11110             <choice>
11111                 <value>major</value>
11112                 <value>minor</value>
11113             </choice>
11114         </attribute>
11115     </optional>
11116 </define>
11117 
11118 <!-- Used in: chart-grid -->
11119 <define name="chart-grid-attlist" combine="interleave">
11120     <optional>
11121         <attribute name="chart:style-name">
11122             <ref name="styleNameRef"/>
11123         </attribute>
11124     </optional>
11125 </define>
11126 
11127 <!-- Used in: chart-plot-area -->
11128 <define name="chart-series">
11129     <element name="chart:series">
11130         <ref name="chart-series-attlist"/>
11131         <zeroOrMore>
11132             <ref name="chart-domain"/>
11133         </zeroOrMore>
11134         <optional>
11135             <ref name="chart-mean-value"/>
11136         </optional>
11137         <optional>
11138             <ref name="chart-regression-curve"/>
11139         </optional>
11140         <optional>
11141             <ref name="chart-error-indicator"/>
11142         </optional>
11143         <zeroOrMore>
11144             <ref name="chart-data-point"/>
11145         </zeroOrMore>
11146     </element>
11147 </define>
11148 
11149 <!-- Used in: chart-series -->
11150 <!-- Next: chart-series-attlist -->
11151 <define name="chart-series-attlist" combine="interleave">
11152     <optional>
11153         <attribute name="chart:values-cell-range-address">
11154             <ref name="cellRangeAddress"/>
11155         </attribute>
11156     </optional>
11157 </define>
11158 
11159 <!-- Used in: chart-series -->
11160 <!-- Next: chart-series-attlist -->
11161 <define name="chart-series-attlist" combine="interleave">
11162     <optional>
11163         <attribute name="chart:label-cell-address">
11164             <ref name="cellAddress"/>
11165         </attribute>
11166     </optional>
11167 </define>
11168 
11169 <!-- Used in: chart-series -->
11170 <!-- Next: chart-series-attlist -->
11171 <define name="chart-series-attlist" combine="interleave">
11172     <optional>
11173         <attribute name="chart:class">
11174             <ref name="namespacedToken"/>
11175         </attribute>
11176     </optional>
11177 </define>
11178 
11179 <!-- Used in: chart-series -->
11180 <!-- Next: chart-series-attlist -->
11181 <define name="chart-series-attlist" combine="interleave">
11182     <optional>
11183         <attribute name="chart:attached-axis">
11184             <ref name="string"/>
11185         </attribute>
11186     </optional>
11187 </define>
11188 
11189 <!-- Used in: chart-series -->
11190 <define name="chart-series-attlist" combine="interleave">
11191     <optional>
11192         <attribute name="chart:style-name">
11193             <ref name="styleNameRef"/>
11194         </attribute>
11195     </optional>
11196 </define>
11197 
11198 <!-- Used in: chart-series -->
11199 <define name="chart-domain">
11200     <element name="chart:domain">
11201     <optional>
11202         <attribute name="table:cell-range-address">
11203             <ref name="cellRangeAddress"/>
11204         </attribute>
11205     </optional>
11206     </element>
11207 </define>
11208 
11209 <!-- Used in: chart-axis -->
11210 <define name="chart-categories">
11211     <element name="chart:categories">
11212     <optional>
11213         <attribute name="table:cell-range-address">
11214             <ref name="cellRangeAddress"/>
11215         </attribute>
11216     </optional>
11217     </element>
11218 </define>
11219 
11220 <!-- Used in: chart-series -->
11221 <define name="chart-data-point">
11222     <element name="chart:data-point">
11223         <ref name="chart-data-point-attlist"/>
11224         <empty/>
11225     </element>
11226 </define>
11227 
11228 <!-- Used in: chart-data-point -->
11229 <!-- Next: chart-data-point-attlist -->
11230 <define name="chart-data-point-attlist" combine="interleave">
11231     <optional>
11232         <attribute name="chart:repeated">
11233             <ref name="nonNegativeInteger"/>
11234         </attribute>
11235     </optional>
11236 </define>
11237 
11238 <!-- Used in: chart-data-point -->
11239 <define name="chart-data-point-attlist" combine="interleave">
11240     <optional>
11241         <attribute name="chart:style-name">
11242             <ref name="styleNameRef"/>
11243         </attribute>
11244     </optional>
11245 </define>
11246 
11247 
11248 <!-- Used in: chart-series -->
11249 <define name="chart-mean-value">
11250     <element name="chart:mean-value">
11251         <ref name="chart-mean-value-attlist"/>
11252         <empty/>
11253     </element>
11254 </define>
11255 
11256 <!-- Used in: chart-mean-value -->
11257 <define name="chart-mean-value-attlist" combine="interleave">
11258     <optional>
11259         <attribute name="chart:style-name">
11260             <ref name="styleNameRef"/>
11261         </attribute>
11262     </optional>
11263 </define>
11264 
11265 <!-- Used in: chart-series -->
11266 <define name="chart-error-indicator">
11267     <element name="chart:error-indicator">
11268         <ref name="chart-error-indicator-attlist"/>
11269         <empty/>
11270     </element>
11271 </define>
11272 
11273 <!-- Used in: chart-error-indicator -->
11274 <define name="chart-error-indicator-attlist" combine="interleave">
11275     <optional>
11276         <attribute name="chart:style-name">
11277             <ref name="styleNameRef"/>
11278         </attribute>
11279     </optional>
11280 </define>
11281 
11282 <!-- Used in: chart-series -->
11283 <define name="chart-regression-curve">
11284     <element name="chart:regression-curve">
11285         <ref name="chart-regression-curve-attlist"/>
11286         <empty/>
11287     </element>
11288 </define>
11289 
11290 <!-- Used in: chart-regression-curve -->
11291 <define name="chart-regression-curve-attlist" combine="interleave">
11292     <optional>
11293         <attribute name="chart:style-name">
11294             <ref name="styleNameRef"/>
11295         </attribute>
11296     </optional>
11297 </define>
11298 
11299 <!-- Used in: chart-plot-area -->
11300 <define name="chart-stock-gain-marker">
11301     <element name="chart:stock-gain-marker">
11302         <ref name="common-stock-marker-attlist"/>
11303     </element>
11304 </define>
11305 
11306 <!-- Used in: chart-plot-area -->
11307 <define name="chart-stock-loss-marker">
11308     <element name="chart:stock-loss-marker">
11309         <ref name="common-stock-marker-attlist"/>
11310     </element>
11311 </define>
11312 
11313 <!-- Used in: chart-plot-area -->
11314 <define name="chart-stock-range-line">
11315     <element name="chart:stock-range-line">
11316         <ref name="common-stock-marker-attlist"/>
11317     </element>
11318 </define>
11319 
11320 <!-- Used in: chart-stock-gain-marker, chart-stock-loss-marker, chart-stock-range-line -->
11321 <define name="common-stock-marker-attlist">
11322     <optional>
11323         <attribute name="chart:style-name">
11324             <ref name="styleNameRef"/>
11325         </attribute>
11326     </optional>
11327 </define>
11328 
11329 <!-- Used in: office-text-content-prelude, table-table, draw-page, style-master-page -->
11330 <define name="office-forms">
11331     <optional>
11332         <element name="office:forms">
11333             <ref name="office-forms-attlist"/>
11334             <zeroOrMore>
11335                 <choice>
11336                     <ref name="form-form"/>
11337                     <ref name="xforms-model"/>
11338                 </choice>
11339             </zeroOrMore>
11340         </element>
11341     </optional>
11342 </define>
11343 
11344 <!-- Used in: office-forms -->
11345 <!-- Next: office-forms-attlist -->
11346 <define name="office-forms-attlist" combine="interleave">
11347     <optional>
11348         <attribute name="form:automatic-focus" a:defaultValue="false">
11349             <ref name="boolean"/>
11350         </attribute>
11351     </optional>
11352 </define>
11353 
11354 <!-- Used in: office-forms -->
11355 <define name="office-forms-attlist" combine="interleave">
11356     <optional>
11357         <attribute name="form:apply-design-mode" a:defaultValue="true">
11358             <ref name="boolean"/>
11359         </attribute>
11360     </optional>
11361 </define>
11362 
11363 <!-- Used in: office-forms, form-form -->
11364 <define name="form-form">
11365     <element name="form:form">
11366         <ref name="common-form-control-attlist"/>
11367         <ref name="form-form-attlist"/>
11368         <optional>
11369             <ref name="form-properties"/>
11370         </optional>
11371         <optional>
11372             <ref name="office-event-listeners"/>
11373         </optional>
11374         <zeroOrMore>
11375             <choice>
11376                 <ref name="controls"/>
11377                 <ref name="form-form"/>
11378             </choice>
11379         </zeroOrMore>
11380         <optional>
11381             <ref name="form-connection-resource"/>
11382         </optional>
11383     </element>
11384 </define>
11385 
11386 <!-- Used in: form-form -->
11387 <!-- Next: form-form-attlist -->
11388 <define name="form-form-attlist" combine="interleave">
11389     <optional>
11390         <attribute name="xlink:href">
11391             <ref name="anyURI"/>
11392         </attribute>
11393         <optional>
11394             <attribute name="xlink:type" a:defaultValue="simple">
11395                 <value>simple</value>
11396             </attribute>
11397         </optional>
11398         <optional>
11399             <attribute name="xlink:actuate" a:defaultValue="onRequest">
11400                 <value>onRequest</value>
11401             </attribute>
11402         </optional>
11403     </optional>
11404 </define>
11405 
11406 <!-- Used in: form-form -->
11407 <!-- Next: form-form-attlist -->
11408 <define name="form-form-attlist" combine="interleave">
11409     <optional>
11410         <attribute name="office:target-frame" a:defaultValue="_blank">
11411             <ref name="targetFrameName"/>
11412         </attribute>
11413     </optional>
11414 </define>
11415 
11416 <!-- Used in: form-form -->
11417 <!-- Next: form-form-attlist -->
11418 <define name="form-form-attlist" combine="interleave">
11419     <optional>
11420         <attribute name="form:method" a:defaultValue="get">
11421             <choice>
11422                 <value>get</value>
11423                 <value>post</value>
11424                 <ref name="string"/>
11425             </choice>
11426         </attribute>
11427     </optional>
11428 </define>
11429 
11430 <!-- Used in: form-form -->
11431 <!-- Next: form-form-attlist -->
11432 <define name="form-form-attlist" combine="interleave">
11433     <optional>
11434         <attribute name="form:enctype" a:defaultValue="application/x-www-form-urlencoded">
11435             <ref name="string"/>
11436         </attribute>
11437     </optional>
11438 </define>
11439 
11440 <!-- Used in: form-form -->
11441 <!-- Next: form-form-attlist -->
11442 <define name="form-form-attlist" combine="interleave">
11443     <optional>
11444         <attribute name="form:allow-deletes" a:defaultValue="true">
11445             <ref name="boolean"/>
11446         </attribute>
11447     </optional>
11448 </define>
11449 
11450 <!-- Used in: form-form -->
11451 <!-- Next: form-form-attlist -->
11452 <define name="form-form-attlist" combine="interleave">
11453     <optional>
11454         <attribute name="form:allow-inserts" a:defaultValue="true">
11455             <ref name="boolean"/>
11456         </attribute>
11457     </optional>
11458 </define>
11459 
11460 <!-- Used in: form-form -->
11461 <!-- Next: form-form-attlist -->
11462 <define name="form-form-attlist" combine="interleave">
11463     <optional>
11464         <attribute name="form:allow-updates" a:defaultValue="true">
11465             <ref name="boolean"/>
11466         </attribute>
11467     </optional>
11468 </define>
11469 
11470 <!-- Used in: form-form -->
11471 <!-- Next: form-form-attlist -->
11472 <define name="form-form-attlist" combine="interleave">
11473     <optional>
11474         <attribute name="form:apply-filter" a:defaultValue="false">
11475             <ref name="boolean"/>
11476         </attribute>
11477     </optional>
11478 </define>
11479 
11480 <!-- Used in: form-form -->
11481 <!-- Next: form-form-attlist -->
11482 <define name="form-form-attlist" combine="interleave">
11483     <optional>
11484         <attribute name="form:command-type" a:defaultValue="command">
11485             <choice>
11486                 <value>table</value>
11487                 <value>query</value>
11488                 <value>command</value>
11489             </choice>
11490         </attribute>
11491     </optional>
11492 </define>
11493 
11494 <!-- Used in: form-form -->
11495 <!-- Next: form-form-attlist -->
11496 <define name="form-form-attlist" combine="interleave">
11497     <optional>
11498         <attribute name="form:command"/>
11499     </optional>
11500 </define>
11501 
11502 <!-- Used in: form-form -->
11503 <!-- Next: form-form-attlist -->
11504 <define name="form-form-attlist" combine="interleave">
11505     <optional>
11506         <attribute name="form:datasource">
11507             <choice>
11508                 <ref name="anyURI"/>
11509                 <ref name="string"/>
11510             </choice>
11511         </attribute>
11512     </optional>
11513 </define>
11514 
11515 <!-- Used in: form-form -->
11516 <!-- Next: form-form-attlist -->
11517 <define name="form-form-attlist" combine="interleave">
11518     <optional>
11519         <attribute name="form:master-fields">
11520             <ref name="string"/>
11521         </attribute>
11522     </optional>
11523 </define>
11524 
11525 <!-- Used in: form-form -->
11526 <!-- Next: form-form-attlist -->
11527 <define name="form-form-attlist" combine="interleave">
11528     <optional>
11529         <attribute name="form:detail-fields">
11530             <ref name="string"/>
11531         </attribute>
11532     </optional>
11533 </define>
11534 
11535 <!-- Used in: form-form -->
11536 <!-- Next: form-form-attlist -->
11537 <define name="form-form-attlist" combine="interleave">
11538     <optional>
11539         <attribute name="form:escape-processing" a:defaultValue="true">
11540             <ref name="boolean"/>
11541         </attribute>
11542     </optional>
11543 </define>
11544 
11545 <!-- Used in: form-form -->
11546 <!-- Next: form-form-attlist -->
11547 <define name="form-form-attlist" combine="interleave">
11548     <optional>
11549         <attribute name="form:filter">
11550             <ref name="string"/>
11551         </attribute>
11552     </optional>
11553 </define>
11554 
11555 <!-- Used in: form-form -->
11556 <!-- Next: form-form-attlist -->
11557 <define name="form-form-attlist" combine="interleave">
11558     <optional>
11559         <attribute name="form:ignore-result" a:defaultValue="false">
11560             <ref name="boolean"/>
11561         </attribute>
11562     </optional>
11563 </define>
11564 
11565 <!-- Used in: form-form -->
11566 <!-- Next: form-form-attlist -->
11567 <define name="form-form-attlist" combine="interleave">
11568     <optional>
11569         <attribute name="form:navigation-mode">
11570             <ref name="navigation"/>
11571         </attribute>
11572     </optional>
11573 </define>
11574 
11575 
11576 <!-- Used in: form-form-attlist -->
11577 <define name="navigation">
11578     <choice>
11579         <value>none</value>
11580         <value>current</value>
11581         <value>parent</value>
11582     </choice>
11583 </define>
11584 
11585 <!-- Used in: form-form -->
11586 <!-- Next: form-form-attlist -->
11587 <define name="form-form-attlist" combine="interleave">
11588     <optional>
11589         <attribute name="form:order">
11590             <ref name="string"/>
11591         </attribute>
11592     </optional>
11593 </define>
11594 
11595 <!-- Used in: form-form -->
11596 <define name="form-form-attlist" combine="interleave">
11597     <optional>
11598         <attribute name="form:tab-cycle">
11599             <ref name="tab-cycles"/>
11600         </attribute>
11601     </optional>
11602 </define>
11603 
11604 <!-- Used in: form-form-attlist -->
11605 <define name="tab-cycles">
11606     <choice>
11607         <value>records</value>
11608         <value>current</value>
11609         <value>page</value>
11610     </choice>
11611 </define>
11612 
11613 <!-- Used in: common-field-database-name, form-form -->
11614 <define name="form-connection-resource">
11615     <element name="form:connection-resource">
11616         <attribute name="xlink:href">
11617             <ref name="anyURI"/>
11618         </attribute>
11619         <empty/>
11620     </element>
11621 </define>
11622 
11623 <!-- Used in: office-forms -->
11624 <define name="xforms-model">
11625     <element name="xforms:model">
11626         <ref name="anyAttListOrElements"/>
11627     </element>
11628 </define>
11629 
11630 <!-- Used in: controls, form-column -->
11631 <!-- Next: column-controls -->
11632 <define name="column-controls" combine="choice">
11633     <element name="form:text">
11634         <ref name="form-text-attlist"/>
11635         <ref name="common-form-control-content"/>
11636     </element>
11637 </define>
11638 
11639 <!-- Used in: form-form -->
11640 <!-- Next: controls -->
11641 <define name="controls" combine="choice">
11642     <ref name="column-controls"/>
11643 </define>
11644 
11645 <!-- Used in: column-controls -->
11646 <define name="form-text-attlist">
11647     <ref name="form-control-attlist"/>
11648     <ref name="common-current-value-attlist"/>
11649     <ref name="common-disabled-attlist"/>
11650     <ref name="common-maxlength-attlist"/>
11651     <ref name="common-printable-attlist"/>
11652     <ref name="common-readonly-attlist"/>
11653     <ref name="common-tab-attlist"/>
11654     <ref name="common-title-attlist"/>
11655     <ref name="common-value-attlist"/>
11656     <ref name="common-convert-empty-attlist"/>
11657     <ref name="common-data-field-attlist"/>
11658 </define>
11659 
11660 <!-- Used in: form-text-attlist, form-textarea-attlist, form-password-attlist, form-file-attlist, form-formatted-text-attlist, common-numeric-control-attlist, form-fixed-text-attlist, form-combobox-attlist, form-listbox-attlist, form-button-attlist, form-image-attlist, form-checkbox-attlist, form-radio-attlist, form-frame-attlist, form-image-frame-attlist, form-hidden-attlist, form-grid-attlist, form-value-range-attlist, form-generic-control-attlist -->
11661 <define name="form-control-attlist">
11662     <ref name="common-form-control-attlist"/>
11663     <ref name="common-control-id-attlist"/>
11664     <ref name="xforms-bind-attlist"/>
11665 </define>
11666 
11667 <!-- Used in: column-controls, column-controls, controls, controls, column-controls, column-controls, column-controls, controls, controls, column-controls, column-controls, controls, controls, column-controls, controls, controls, controls, controls, controls, controls, controls -->
11668 <define name="common-form-control-content">
11669     <optional>
11670         <ref name="form-properties"/>
11671     </optional>
11672     <optional>
11673         <ref name="office-event-listeners"/>
11674     </optional>
11675 </define>
11676 
11677 <!-- Used in: controls, form-column -->
11678 <!-- Next: column-controls -->
11679 <define name="column-controls" combine="choice">
11680     <element name="form:textarea">
11681         <ref name="form-textarea-attlist"/>
11682         <ref name="common-form-control-content"/>
11683         <zeroOrMore>
11684             <ref name="text-p"/>
11685         </zeroOrMore>
11686     </element>
11687 </define>
11688 
11689 <!-- Used in: column-controls -->
11690 <define name="form-textarea-attlist">
11691     <ref name="form-control-attlist"/>
11692     <ref name="common-current-value-attlist"/>
11693     <ref name="common-disabled-attlist"/>
11694     <ref name="common-maxlength-attlist"/>
11695     <ref name="common-printable-attlist"/>
11696     <ref name="common-readonly-attlist"/>
11697     <ref name="common-tab-attlist"/>
11698     <ref name="common-title-attlist"/>
11699     <ref name="common-value-attlist"/>
11700     <ref name="common-convert-empty-attlist"/>
11701     <ref name="common-data-field-attlist"/>
11702 </define>
11703 
11704 <!-- Used in: form-form -->
11705 <!-- Next: controls -->
11706 <define name="controls" combine="choice">
11707     <element name="form:password">
11708         <ref name="form-password-attlist"/>
11709         <ref name="common-form-control-content"/>
11710     </element>
11711 </define>
11712 
11713 <!-- Used in: controls -->
11714 <!-- Next: form-password-attlist -->
11715 <define name="form-password-attlist" combine="interleave">
11716     <ref name="form-control-attlist"/>
11717     <ref name="common-disabled-attlist"/>
11718     <ref name="common-maxlength-attlist"/>
11719     <ref name="common-printable-attlist"/>
11720     <ref name="common-tab-attlist"/>
11721     <ref name="common-title-attlist"/>
11722     <ref name="common-value-attlist"/>
11723     <ref name="common-convert-empty-attlist"/>
11724 </define>
11725 
11726 <!-- Used in: controls -->
11727 <define name="form-password-attlist" combine="interleave">
11728     <optional>
11729         <attribute name="form:echo-char" a:defaultValue="*">
11730             <ref name="character"/>
11731         </attribute>
11732     </optional>
11733 </define>
11734 
11735 <!-- Used in: form-form -->
11736 <!-- Next: controls -->
11737 <define name="controls" combine="choice">
11738     <element name="form:file">
11739         <ref name="form-file-attlist"/>
11740         <ref name="common-form-control-content"/>
11741     </element>
11742 </define>
11743 
11744 <!-- Used in: controls -->
11745 <define name="form-file-attlist" combine="interleave">
11746     <ref name="form-control-attlist"/>
11747     <ref name="common-current-value-attlist"/>
11748     <ref name="common-disabled-attlist"/>
11749     <ref name="common-maxlength-attlist"/>
11750     <ref name="common-printable-attlist"/>
11751     <ref name="common-readonly-attlist"/>
11752     <ref name="common-tab-attlist"/>
11753     <ref name="common-title-attlist"/>
11754     <ref name="common-value-attlist"/>
11755 </define>
11756 
11757 <!-- Used in: controls, form-column -->
11758 <!-- Next: column-controls -->
11759 <define name="column-controls" combine="choice">
11760     <element name="form:formatted-text">
11761         <ref name="form-formatted-text-attlist"/>
11762         <ref name="common-form-control-content"/>
11763     </element>
11764 </define>
11765 
11766 <!-- Used in: column-controls -->
11767 <!-- Next: form-formatted-text-attlist -->
11768 <define name="form-formatted-text-attlist" combine="interleave">
11769     <ref name="form-control-attlist"/>
11770     <ref name="common-current-value-attlist"/>
11771     <ref name="common-disabled-attlist"/>
11772     <ref name="common-maxlength-attlist"/>
11773     <ref name="common-printable-attlist"/>
11774     <ref name="common-readonly-attlist"/>
11775     <ref name="common-tab-attlist"/>
11776     <ref name="common-title-attlist"/>
11777     <ref name="common-value-attlist"/>
11778     <ref name="common-convert-empty-attlist"/>
11779     <ref name="common-data-field-attlist"/>
11780 </define>
11781 
11782 <!-- Used in: column-controls -->
11783 <!-- Next: form-formatted-text-attlist -->
11784 <define name="form-formatted-text-attlist" combine="interleave">
11785     <optional>
11786         <attribute name="form:max-value">
11787             <ref name="string"/>
11788         </attribute>
11789     </optional>
11790 </define>
11791 
11792 <!-- Used in: column-controls -->
11793 <!-- Next: form-formatted-text-attlist -->
11794 <define name="form-formatted-text-attlist" combine="interleave">
11795     <optional>
11796         <attribute name="form:min-value">
11797             <ref name="string"/>
11798         </attribute>
11799     </optional>
11800 </define>
11801 
11802 <!-- Used in: column-controls -->
11803 <define name="form-formatted-text-attlist" combine="interleave">
11804     <optional>
11805         <attribute name="form:validation" a:defaultValue="false">
11806             <ref name="boolean"/>
11807         </attribute>
11808     </optional>
11809 </define>
11810 
11811 <!-- Used in: controls, form-column -->
11812 <!-- Next: column-controls -->
11813 <define name="column-controls" combine="choice">
11814     <element name="form:number">
11815         <ref name="form-number-attlist"/>
11816         <ref name="common-numeric-control-attlist"/>
11817         <ref name="common-form-control-content"/>
11818     </element>
11819 </define>
11820 
11821 <!-- Used in: column-controls, column-controls, controls -->
11822 <define name="common-numeric-control-attlist">
11823     <ref name="form-control-attlist"/>
11824     <ref name="common-disabled-attlist"/>
11825     <ref name="common-maxlength-attlist"/>
11826     <ref name="common-printable-attlist"/>
11827     <ref name="common-readonly-attlist"/>
11828     <ref name="common-tab-attlist"/>
11829     <ref name="common-title-attlist"/>
11830     <ref name="common-convert-empty-attlist"/>
11831     <ref name="common-data-field-attlist"/>
11832 </define>
11833 
11834 <!-- Used in: column-controls -->
11835 <!-- Next: form-number-attlist -->
11836 <define name="form-number-attlist" combine="interleave">
11837     <optional>
11838         <attribute name="form:value">
11839             <ref name="double"/>
11840         </attribute>
11841     </optional>
11842 </define>
11843 
11844 <!-- Used in: column-controls -->
11845 <!-- Next: form-number-attlist -->
11846 <define name="form-number-attlist" combine="interleave">
11847     <optional>
11848         <attribute name="form:current-value">
11849             <ref name="double"/>
11850         </attribute>
11851     </optional>
11852 </define>
11853 
11854 <!-- Used in: column-controls -->
11855 <!-- Next: form-number-attlist -->
11856 <define name="form-number-attlist" combine="interleave">
11857     <optional>
11858         <attribute name="form:min-value">
11859             <ref name="double"/>
11860         </attribute>
11861     </optional>
11862 </define>
11863 
11864 <!-- Used in: column-controls -->
11865 <define name="form-number-attlist" combine="interleave">
11866     <optional>
11867         <attribute name="form:max-value">
11868             <ref name="double"/>
11869         </attribute>
11870     </optional>
11871 </define>
11872 
11873 <!-- Used in: controls, form-column -->
11874 <!-- Next: column-controls -->
11875 <define name="column-controls" combine="choice">
11876     <element name="form:date">
11877         <ref name="form-date-attlist"/>
11878         <ref name="common-numeric-control-attlist"/>
11879         <ref name="common-form-control-content"/>
11880     </element>
11881 </define>
11882 
11883 <!-- Used in: form-form -->
11884 <!-- Next: controls -->
11885 <define name="controls" combine="choice">
11886     <element name="form:time">
11887         <ref name="form-time-attlist"/>
11888         <ref name="common-numeric-control-attlist"/>
11889         <ref name="common-form-control-content"/>
11890     </element>
11891 </define>
11892 
11893 <!-- Used in: column-controls -->
11894 <!-- Next: form-date-attlist -->
11895 <define name="form-date-attlist" combine="interleave">
11896     <optional>
11897         <attribute name="form:value">
11898             <ref name="date"/>
11899         </attribute>
11900     </optional>
11901 </define>
11902 
11903 <!-- Used in: controls -->
11904 <!-- Next: form-time-attlist -->
11905 <define name="form-time-attlist" combine="interleave">
11906     <optional>
11907         <attribute name="form:value">
11908             <ref name="time"/>
11909         </attribute>
11910     </optional>
11911 </define>
11912 
11913 <!-- Used in: column-controls -->
11914 <!-- Next: form-date-attlist -->
11915 <define name="form-date-attlist" combine="interleave">
11916     <optional>
11917         <attribute name="form:current-value">
11918             <ref name="date"/>
11919         </attribute>
11920     </optional>
11921 </define>
11922 
11923 <!-- Used in: controls -->
11924 <!-- Next: form-time-attlist -->
11925 <define name="form-time-attlist" combine="interleave">
11926     <optional>
11927         <attribute name="form:current-value">
11928             <ref name="time"/>
11929         </attribute>
11930     </optional>
11931 </define>
11932 
11933 <!-- Used in: column-controls -->
11934 <!-- Next: form-date-attlist -->
11935 <define name="form-date-attlist" combine="interleave">
11936     <optional>
11937         <attribute name="form:min-value">
11938             <ref name="date"/>
11939         </attribute>
11940     </optional>
11941 </define>
11942 
11943 <!-- Used in: controls -->
11944 <!-- Next: form-time-attlist -->
11945 <define name="form-time-attlist" combine="interleave">
11946     <optional>
11947         <attribute name="form:min-value">
11948             <ref name="time"/>
11949         </attribute>
11950     </optional>
11951 </define>
11952 
11953 <!-- Used in: column-controls -->
11954 <define name="form-date-attlist" combine="interleave">
11955     <optional>
11956         <attribute name="form:max-value">
11957             <ref name="date"/>
11958         </attribute>
11959     </optional>
11960 </define>
11961 
11962 <!-- Used in: controls -->
11963 <define name="form-time-attlist" combine="interleave">
11964     <optional>
11965         <attribute name="form:max-value">
11966             <ref name="time"/>
11967         </attribute>
11968     </optional>
11969 </define>
11970 
11971 <!-- Used in: form-form -->
11972 <!-- Next: controls -->
11973 <define name="controls" combine="choice">
11974     <element name="form:fixed-text">
11975         <ref name="form-fixed-text-attlist"/>
11976         <ref name="common-form-control-content"/>
11977     </element>
11978 </define>
11979 
11980 <!-- Used in: controls -->
11981 <!-- Next: form-fixed-text-attlist -->
11982 <define name="form-fixed-text-attlist" combine="interleave">
11983     <ref name="form-control-attlist"/>
11984     <ref name="for"/>
11985     <ref name="common-disabled-attlist"/>
11986     <ref name="label"/>
11987     <ref name="common-printable-attlist"/>
11988     <ref name="common-title-attlist"/>
11989 </define>
11990 
11991 <!-- Used in: controls -->
11992 <define name="form-fixed-text-attlist" combine="interleave">
11993     <optional>
11994         <attribute name="form:multi-line" a:defaultValue="false">
11995             <ref name="boolean"/>
11996         </attribute>
11997     </optional>
11998 </define>
11999 
12000 <!-- Used in: controls, form-column -->
12001 <!-- Next: column-controls -->
12002 <define name="column-controls" combine="choice">
12003     <element name="form:combobox">
12004         <ref name="form-combobox-attlist"/>
12005         <ref name="common-form-control-content"/>
12006         <zeroOrMore>
12007             <ref name="form-item"/>
12008         </zeroOrMore>
12009     </element>
12010 </define>
12011 
12012 <!-- Used in: column-controls -->
12013 <!-- Next: form-combobox-attlist -->
12014 <define name="form-combobox-attlist" combine="interleave">
12015     <ref name="form-control-attlist"/>
12016     <ref name="common-current-value-attlist"/>
12017     <ref name="common-disabled-attlist"/>
12018     <ref name="dropdown"/>
12019     <ref name="common-maxlength-attlist"/>
12020     <ref name="common-printable-attlist"/>
12021     <ref name="common-readonly-attlist"/>
12022     <ref name="size"/>
12023     <ref name="common-tab-attlist"/>
12024     <ref name="common-title-attlist"/>
12025     <ref name="common-value-attlist"/>
12026     <ref name="common-convert-empty-attlist"/>
12027     <ref name="common-data-field-attlist"/>
12028     <ref name="list-source"/>
12029     <ref name="list-source-type"/>
12030 </define>
12031 
12032 <!-- Used in: column-controls -->
12033 <define name="form-combobox-attlist" combine="interleave">
12034     <optional>
12035         <attribute name="form:auto-complete">
12036             <ref name="boolean"/>
12037         </attribute>
12038     </optional>
12039 </define>
12040 
12041 <!-- Used in: column-controls -->
12042 <define name="form-item">
12043     <element name="form:item">
12044         <ref name="form-item-attlist"/>
12045         <text/>
12046     </element>
12047 </define>
12048 
12049 <!-- Used in: form-item -->
12050 <define name="form-item-attlist" combine="interleave">
12051     <ref name="label"/>
12052 </define>
12053 
12054 <!-- Used in: controls, form-column -->
12055 <!-- Next: column-controls -->
12056 <define name="column-controls" combine="choice">
12057     <element name="form:listbox">
12058         <ref name="form-listbox-attlist"/>
12059         <ref name="common-form-control-content"/>
12060         <zeroOrMore>
12061             <ref name="form-option"/>
12062         </zeroOrMore>
12063     </element>
12064 </define>
12065 
12066 <!-- Used in: column-controls -->
12067 <!-- Next: form-listbox-attlist -->
12068 <define name="form-listbox-attlist" combine="interleave">
12069     <ref name="form-control-attlist"/>
12070     <ref name="common-disabled-attlist"/>
12071     <ref name="dropdown"/>
12072     <ref name="common-printable-attlist"/>
12073     <ref name="size"/>
12074     <ref name="common-tab-attlist"/>
12075     <ref name="common-title-attlist"/>
12076     <ref name="bound-column"/>
12077     <ref name="common-data-field-attlist"/>
12078     <ref name="list-source"/>
12079     <ref name="list-source-type"/>
12080 </define>
12081 
12082 <!-- Used in: column-controls -->
12083 <!-- Next: form-listbox-attlist -->
12084 <define name="form-listbox-attlist" combine="interleave">
12085     <optional>
12086         <attribute name="form:multiple" a:defaultValue="false">
12087             <ref name="boolean"/>
12088         </attribute>
12089     </optional>
12090 </define>
12091 
12092 <!-- Used in: column-controls -->
12093 <define name="form-listbox-attlist" combine="interleave">
12094     <optional>
12095         <attribute name="form:xforms-list-source">
12096             <ref name="string"/>
12097         </attribute>
12098     </optional>
12099 </define>
12100 
12101 <!-- Used in: column-controls -->
12102 <define name="form-option">
12103     <element name="form:option">
12104         <ref name="form-option-attlist"/>
12105         <text/>
12106     </element>
12107 </define>
12108 
12109 <!-- Used in: form-option -->
12110 <define name="form-option-attlist" combine="interleave">
12111     <ref name="current-selected"/>
12112     <ref name="selected"/>
12113     <ref name="label"/>
12114     <ref name="common-value-attlist"/>
12115 </define>
12116 
12117 <!-- Used in: form-form -->
12118 <!-- Next: controls -->
12119 <define name="controls" combine="choice">
12120     <element name="form:button">
12121         <ref name="form-button-attlist"/>
12122         <ref name="common-form-control-content"/>
12123     </element>
12124 </define>
12125 
12126 <!-- Used in: controls -->
12127 <!-- Next: form-button-attlist -->
12128 <define name="form-button-attlist" combine="interleave">
12129     <ref name="form-control-attlist"/>
12130     <ref name="button-type"/>
12131     <ref name="common-disabled-attlist"/>
12132     <ref name="label"/>
12133     <ref name="image-data"/>
12134     <ref name="common-printable-attlist"/>
12135     <ref name="common-tab-attlist"/>
12136     <ref name="target-frame"/>
12137     <ref name="target-location"/>
12138     <ref name="common-title-attlist"/>
12139     <ref name="common-value-attlist"/>
12140     <ref name="common-form-relative-image-position-attlist"/>
12141 </define>
12142 
12143 <!-- Used in: controls -->
12144 <!-- Next: form-button-attlist -->
12145 <define name="form-button-attlist" combine="interleave">
12146     <optional>
12147         <attribute name="form:default-button" a:defaultValue="false">
12148             <ref name="boolean"/>
12149         </attribute>
12150     </optional>
12151 </define>
12152 
12153 <!-- Used in: controls -->
12154 <!-- Next: form-button-attlist -->
12155 <define name="form-button-attlist" combine="interleave">
12156     <optional>
12157         <attribute name="form:toggle" a:default-value="false">
12158             <ref name="boolean"/>
12159         </attribute>
12160     </optional>
12161 </define>
12162 
12163 <!-- Used in: controls -->
12164 <!-- Next: form-button-attlist -->
12165 <define name="form-button-attlist" combine="interleave">
12166     <optional>
12167         <attribute name="form:focus-on-click">
12168             <ref name="boolean"/>
12169         </attribute>
12170     </optional>
12171 </define>
12172 
12173 <!-- Used in: controls -->
12174 <define name="form-button-attlist" combine="interleave">
12175     <optional>
12176         <attribute name="form:xforms-submission">
12177             <ref name="string"/>
12178         </attribute>
12179     </optional>
12180 </define>
12181 
12182 <!-- Used in: form-form -->
12183 <!-- Next: controls -->
12184 <define name="controls" combine="choice">
12185     <element name="form:image">
12186         <ref name="form-image-attlist"/>
12187         <ref name="common-form-control-content"/>
12188     </element>
12189 </define>
12190 
12191 <!-- Used in: controls -->
12192 <define name="form-image-attlist" combine="interleave">
12193     <ref name="form-control-attlist"/>
12194     <ref name="button-type"/>
12195     <ref name="common-disabled-attlist"/>
12196     <ref name="image-data"/>
12197     <ref name="common-printable-attlist"/>
12198     <ref name="common-tab-attlist"/>
12199     <ref name="target-frame"/>
12200     <ref name="target-location"/>
12201     <ref name="common-title-attlist"/>
12202     <ref name="common-value-attlist"/>
12203 </define>
12204 
12205 <!-- Used in: controls, form-column -->
12206 <define name="column-controls" combine="choice">
12207     <element name="form:checkbox">
12208         <ref name="form-checkbox-attlist"/>
12209         <ref name="common-form-control-content"/>
12210     </element>
12211 </define>
12212 
12213 <!-- Used in: column-controls -->
12214 <!-- Next: form-checkbox-attlist -->
12215 <define name="form-checkbox-attlist" combine="interleave">
12216     <ref name="form-control-attlist"/>
12217     <ref name="common-disabled-attlist"/>
12218     <ref name="label"/>
12219     <ref name="common-printable-attlist"/>
12220     <ref name="common-tab-attlist"/>
12221     <ref name="common-title-attlist"/>
12222     <ref name="common-value-attlist"/>
12223     <ref name="common-data-field-attlist"/>
12224     <ref name="common-form-visual-effect-attlist"/>
12225     <ref name="common-form-relative-image-position-attlist"/>
12226 </define>
12227 
12228 <!-- Used in: form-checkbox-attlist, form-checkbox-attlist -->
12229 <define name="states">
12230     <choice>
12231         <value>unchecked</value>
12232         <value>checked</value>
12233         <value>unknown</value>
12234     </choice>
12235 </define>
12236 
12237 <!-- Used in: column-controls -->
12238 <!-- Next: form-checkbox-attlist -->
12239 <define name="form-checkbox-attlist" combine="interleave">
12240     <optional>
12241         <attribute name="form:current-state">
12242             <ref name="states"/>
12243         </attribute>
12244     </optional>
12245 </define>
12246 
12247 <!-- Used in: column-controls -->
12248 <!-- Next: form-checkbox-attlist -->
12249 <define name="form-checkbox-attlist" combine="interleave">
12250     <optional>
12251         <attribute name="form:is-tristate" a:defaultValue="false">
12252             <ref name="boolean"/>
12253         </attribute>
12254     </optional>
12255 </define>
12256 
12257 <!-- Used in: column-controls -->
12258 <define name="form-checkbox-attlist" combine="interleave">
12259     <optional>
12260         <attribute name="form:state" a:defaultValue="unchecked">
12261             <ref name="states"/>
12262         </attribute>
12263     </optional>
12264 </define>
12265 
12266 <!-- Used in: form-form -->
12267 <!-- Next: controls -->
12268 <define name="controls" combine="choice">
12269     <element name="form:radio">
12270         <ref name="form-radio-attlist"/>
12271         <ref name="common-form-control-content"/>
12272     </element>
12273 </define>
12274 
12275 <!-- Used in: controls -->
12276 <define name="form-radio-attlist" combine="interleave">
12277     <ref name="form-control-attlist"/>
12278     <ref name="current-selected"/>
12279     <ref name="common-disabled-attlist"/>
12280     <ref name="label"/>
12281     <ref name="common-printable-attlist"/>
12282     <ref name="selected"/>
12283     <ref name="common-tab-attlist"/>
12284     <ref name="common-title-attlist"/>
12285     <ref name="common-value-attlist"/>
12286     <ref name="common-data-field-attlist"/>
12287     <ref name="common-form-visual-effect-attlist"/>
12288     <ref name="common-form-relative-image-position-attlist"/>
12289 </define>
12290 
12291 <!-- Used in: form-form -->
12292 <!-- Next: controls -->
12293 <define name="controls" combine="choice">
12294     <element name="form:frame">
12295         <ref name="form-frame-attlist"/>
12296         <ref name="common-form-control-content"/>
12297     </element>
12298 </define>
12299 
12300 <!-- Used in: controls -->
12301 <define name="form-frame-attlist" combine="interleave">
12302     <ref name="form-control-attlist"/>
12303     <ref name="common-disabled-attlist"/>
12304     <ref name="for"/>
12305     <ref name="label"/>
12306     <ref name="common-printable-attlist"/>
12307     <ref name="common-title-attlist"/>
12308 </define>
12309 
12310 <!-- Used in: form-form -->
12311 <!-- Next: controls -->
12312 <define name="controls" combine="choice">
12313     <element name="form:image-frame">
12314         <ref name="form-image-frame-attlist"/>
12315         <ref name="common-form-control-content"/>
12316     </element>
12317 </define>
12318 
12319 <!-- Used in: controls -->
12320 <define name="form-image-frame-attlist" combine="interleave">
12321     <ref name="form-control-attlist"/>
12322     <ref name="common-disabled-attlist"/>
12323     <ref name="image-data"/>
12324     <ref name="common-printable-attlist"/>
12325     <ref name="common-readonly-attlist"/>
12326     <ref name="common-title-attlist"/>
12327     <ref name="common-data-field-attlist"/>
12328 </define>
12329 
12330 <!-- Used in: form-form -->
12331 <!-- Next: controls -->
12332 <define name="controls" combine="choice">
12333     <element name="form:hidden">
12334         <ref name="form-hidden-attlist"/>
12335         <ref name="common-form-control-content"/>
12336     </element>
12337 </define>
12338 
12339 <!-- Used in: controls -->
12340 <define name="form-hidden-attlist" combine="interleave">
12341     <ref name="form-control-attlist"/>
12342     <ref name="common-value-attlist"/>
12343 </define>
12344 
12345 <!-- Used in: form-form -->
12346 <!-- Next: controls -->
12347 <define name="controls" combine="choice">
12348     <element name="form:grid">
12349         <ref name="form-grid-attlist"/>
12350         <ref name="common-form-control-content"/>
12351         <zeroOrMore>
12352             <ref name="form-column"/>
12353         </zeroOrMore>
12354     </element>
12355 </define>
12356 
12357 <!-- Used in: controls -->
12358 <define name="form-grid-attlist" combine="interleave">
12359     <ref name="form-control-attlist"/>
12360     <ref name="common-disabled-attlist"/>
12361     <ref name="common-printable-attlist"/>
12362     <ref name="common-tab-attlist"/>
12363     <ref name="common-title-attlist"/>
12364 </define>
12365 
12366 <!-- Used in: controls -->
12367 <define name="form-column">
12368     <element name="form:column">
12369         <ref name="form-column-attlist"/>
12370         <oneOrMore>
12371             <ref name="column-controls"/>
12372         </oneOrMore>
12373     </element>
12374 </define>
12375 
12376 <!-- Used in: form-column -->
12377 <define name="form-column-attlist" combine="interleave">
12378     <ref name="common-form-control-attlist"/>
12379     <ref name="label"/>
12380     <ref name="text-style-name"/>
12381 </define>
12382 
12383 <!-- Used in: form-column-attlist -->
12384 <define name="text-style-name">
12385     <optional>
12386         <attribute name="form:text-style-name">
12387             <ref name="styleNameRef"/>
12388         </attribute>
12389     </optional>
12390 </define>
12391 
12392 <!-- Used in: form-form -->
12393 <!-- Next: controls -->
12394 <define name="controls" combine="choice">
12395     <element name="form:value-range">
12396         <ref name="form-value-range-attlist"/>
12397         <ref name="common-form-control-content"/>
12398     </element>
12399 </define>
12400 
12401 <!-- Used in: controls -->
12402 <!-- Next: form-value-range-attlist -->
12403 <define name="form-value-range-attlist" combine="interleave">
12404     <ref name="form-control-attlist"/>
12405     <ref name="common-disabled-attlist"/>
12406     <ref name="common-printable-attlist"/>
12407     <ref name="common-tab-attlist"/>
12408     <ref name="common-title-attlist"/>
12409     <ref name="common-value-attlist"/>
12410 </define>
12411 
12412 <!-- Used in: controls -->
12413 <!-- Next: form-value-range-attlist -->
12414 <define name="form-value-range-attlist" combine="interleave">
12415     <optional>
12416         <attribute name="form:max-value">
12417             <ref name="string"/>
12418         </attribute>
12419     </optional>
12420 </define>
12421 
12422 <!-- Used in: controls -->
12423 <!-- Next: form-value-range-attlist -->
12424 <define name="form-value-range-attlist" combine="interleave">
12425     <optional>
12426         <attribute name="form:min-value">
12427             <ref name="string"/>
12428         </attribute>
12429     </optional>
12430 </define>
12431 
12432 <!-- Used in: controls -->
12433 <!-- Next: form-value-range-attlist -->
12434 <define name="form-value-range-attlist" combine="interleave">
12435     <optional>
12436         <attribute name="form:step-size" a:defaultName="1">
12437             <ref name="positiveInteger"/>
12438         </attribute>
12439     </optional>
12440 </define>
12441 
12442 <!-- Used in: controls -->
12443 <!-- Next: form-value-range-attlist -->
12444 <define name="form-value-range-attlist" combine="interleave">
12445     <optional>
12446         <attribute name="form:page-step-size">
12447             <ref name="positiveInteger"/>
12448         </attribute>
12449     </optional>
12450 </define>
12451 
12452 <!-- Used in: controls -->
12453 <!-- Next: form-value-range-attlist -->
12454 <define name="form-value-range-attlist" combine="interleave">
12455     <optional>
12456         <attribute name="form:delay-for-repeat">
12457             <ref name="duration"/>
12458         </attribute>
12459     </optional>
12460 </define>
12461 
12462 <!-- Used in: controls -->
12463 <define name="form-value-range-attlist" combine="interleave">
12464     <optional>
12465         <attribute name="form:orientation">
12466             <choice>
12467                 <value>horizontal</value>
12468                 <value>vertical</value>
12469             </choice>
12470         </attribute>
12471     </optional>
12472 </define>
12473 
12474 <!-- Used in: form-form -->
12475 <define name="controls" combine="choice">
12476     <element name="form:generic-control">
12477         <ref name="form-generic-control-attlist"/>
12478         <ref name="common-form-control-content"/>
12479     </element>
12480 </define>
12481 
12482 <!-- Used in: controls -->
12483 <define name="form-generic-control-attlist" combine="interleave">
12484     <ref name="form-control-attlist"/>
12485 </define>
12486 
12487 <!-- Used in: form-form, form-control-attlist, form-column-attlist -->
12488 <!-- Next: common-form-control-attlist -->
12489 <define name="common-form-control-attlist" combine="interleave">
12490     <optional>
12491         <attribute name="form:name">
12492             <ref name="string"/>
12493         </attribute>
12494     </optional>
12495 </define>
12496 
12497 <!-- Used in: form-form, form-control-attlist, form-column-attlist -->
12498 <define name="common-form-control-attlist" combine="interleave">
12499     <optional>
12500         <attribute name="form:control-implementation">
12501             <ref name="namespacedToken"/>
12502         </attribute>
12503     </optional>
12504 </define>
12505 
12506 <!-- Used in: form-control-attlist -->
12507 <define name="xforms-bind-attlist">
12508     <optional>
12509         <attribute name="xforms:bind">
12510             <ref name="string"/>
12511         </attribute>
12512     </optional>
12513 </define>
12514 
12515 <!-- Used in: button-type -->
12516 <define name="types">
12517     <choice>
12518         <value>submit</value>
12519         <value>reset</value>
12520         <value>push</value>
12521         <value>url</value>
12522     </choice>
12523 </define>
12524 
12525 <!-- Used in: form-button-attlist, form-image-attlist -->
12526 <define name="button-type">
12527     <optional>
12528         <attribute name="form:button-type" a:defaultValue="push">
12529             <ref name="types"/>
12530         </attribute>
12531     </optional>
12532 </define>
12533 
12534 <!-- Used in: form-control-attlist -->
12535 <define name="common-control-id-attlist">
12536     <attribute name="form:id">
12537         <ref name="ID"/>
12538     </attribute>
12539 </define>
12540 
12541 <!-- Used in: form-option-attlist, form-radio-attlist -->
12542 <define name="current-selected">
12543     <optional>
12544         <attribute name="form:current-selected" a:defaultValue="false">
12545             <ref name="boolean"/>
12546         </attribute>
12547     </optional>
12548 </define>
12549 
12550 <!-- Used in: form-text-attlist, form-textarea-attlist, form-password-attlist, form-file-attlist, form-formatted-text-attlist, form-combobox-attlist, form-option-attlist, form-button-attlist, form-image-attlist, form-checkbox-attlist, form-radio-attlist, form-hidden-attlist, form-value-range-attlist -->
12551 <define name="common-value-attlist">
12552     <optional>
12553         <attribute name="form:value">
12554             <ref name="string"/>
12555         </attribute>
12556     </optional>
12557 </define>
12558 
12559 <!-- Used in: form-text-attlist, form-textarea-attlist, form-file-attlist, form-formatted-text-attlist, form-combobox-attlist -->
12560 <define name="common-current-value-attlist">
12561     <optional>
12562         <attribute name="form:current-value">
12563             <ref name="string"/>
12564         </attribute>
12565     </optional>
12566 </define>
12567 
12568 <!-- Used in: form-text-attlist, form-textarea-attlist, form-password-attlist, form-file-attlist, form-formatted-text-attlist, common-numeric-control-attlist, form-fixed-text-attlist, form-combobox-attlist, form-listbox-attlist, form-button-attlist, form-image-attlist, form-checkbox-attlist, form-radio-attlist, form-frame-attlist, form-image-frame-attlist, form-grid-attlist, form-value-range-attlist -->
12569 <define name="common-disabled-attlist">
12570     <optional>
12571         <attribute name="form:disabled" a:defaultValue="false">
12572             <ref name="boolean"/>
12573         </attribute>
12574     </optional>
12575 </define>
12576 
12577 <!-- Used in: form-combobox-attlist, form-listbox-attlist -->
12578 <define name="dropdown">
12579     <optional>
12580         <attribute name="form:dropdown" a:defaultValue="false">
12581             <ref name="boolean"/>
12582         </attribute>
12583     </optional>
12584 </define>
12585 
12586 <!-- Used in: form-fixed-text-attlist, form-frame-attlist -->
12587 <define name="for">
12588     <optional>
12589         <attribute name="form:for">
12590             <ref name="string"/>
12591         </attribute>
12592     </optional>
12593 </define>
12594 
12595 <!-- Used in: form-button-attlist, form-image-attlist, form-image-frame-attlist -->
12596 <define name="image-data">
12597     <optional>
12598         <attribute name="form:image-data">
12599             <ref name="anyURI"/>
12600         </attribute>
12601     </optional>
12602 </define>
12603 
12604 <!-- Used in: form-fixed-text-attlist, form-item-attlist, form-option-attlist, form-button-attlist, form-checkbox-attlist, form-radio-attlist, form-frame-attlist, form-column-attlist -->
12605 <define name="label">
12606     <optional>
12607         <attribute name="form:label">
12608             <ref name="string"/>
12609         </attribute>
12610     </optional>
12611 </define>
12612 
12613 <!-- Used in: form-text-attlist, form-textarea-attlist, form-password-attlist, form-file-attlist, form-formatted-text-attlist, common-numeric-control-attlist, form-combobox-attlist -->
12614 <define name="common-maxlength-attlist">
12615     <optional>
12616         <attribute name="form:max-length">
12617             <ref name="nonNegativeInteger"/>
12618         </attribute>
12619     </optional>
12620 </define>
12621 
12622 <!-- Used in: form-text-attlist, form-textarea-attlist, form-password-attlist, form-file-attlist, form-formatted-text-attlist, common-numeric-control-attlist, form-fixed-text-attlist, form-combobox-attlist, form-listbox-attlist, form-button-attlist, form-image-attlist, form-checkbox-attlist, form-radio-attlist, form-frame-attlist, form-image-frame-attlist, form-grid-attlist, form-value-range-attlist -->
12623 <define name="common-printable-attlist">
12624     <optional>
12625         <attribute name="form:printable" a:defaultValue="true">
12626             <ref name="boolean"/>
12627         </attribute>
12628     </optional>
12629 </define>
12630 
12631 <!-- Used in: form-text-attlist, form-textarea-attlist, form-file-attlist, form-formatted-text-attlist, common-numeric-control-attlist, form-combobox-attlist, form-image-frame-attlist -->
12632 <define name="common-readonly-attlist">
12633     <optional>
12634         <attribute name="form:readonly" a:defaultValue="false">
12635             <ref name="boolean"/>
12636         </attribute>
12637     </optional>
12638 </define>
12639 
12640 <!-- Used in: form-option-attlist, form-radio-attlist -->
12641 <define name="selected">
12642     <optional>
12643         <attribute name="form:selected" a:defaultValue="false">
12644             <ref name="boolean"/>
12645         </attribute>
12646     </optional>
12647 </define>
12648 
12649 <!-- Used in: form-combobox-attlist, form-listbox-attlist -->
12650 <define name="size">
12651     <optional>
12652         <attribute name="form:size">
12653             <ref name="nonNegativeInteger"/>
12654         </attribute>
12655     </optional>
12656 </define>
12657 
12658 <!-- Used in: form-text-attlist, form-textarea-attlist, form-password-attlist, form-file-attlist, form-formatted-text-attlist, common-numeric-control-attlist, form-combobox-attlist, form-listbox-attlist, form-button-attlist, form-image-attlist, form-checkbox-attlist, form-radio-attlist, form-grid-attlist, form-value-range-attlist -->
12659 <!-- Next: common-tab-attlist -->
12660 <define name="common-tab-attlist" combine="interleave">
12661     <optional>
12662         <attribute name="form:tab-index" a:defaultValue="0">
12663             <ref name="nonNegativeInteger"/>
12664         </attribute>
12665     </optional>
12666 </define>
12667 
12668 <!-- Used in: form-text-attlist, form-textarea-attlist, form-password-attlist, form-file-attlist, form-formatted-text-attlist, common-numeric-control-attlist, form-combobox-attlist, form-listbox-attlist, form-button-attlist, form-image-attlist, form-checkbox-attlist, form-radio-attlist, form-grid-attlist, form-value-range-attlist -->
12669 <define name="common-tab-attlist" combine="interleave">
12670     <optional>
12671         <attribute name="form:tab-stop" a:defaultValue="true">
12672             <ref name="boolean"/>
12673         </attribute>
12674     </optional>
12675 </define>
12676 
12677 <!-- Used in: form-button-attlist, form-image-attlist -->
12678 <define name="target-frame">
12679     <optional>
12680         <attribute name="office:target-frame" a:defaultValue="_blank">
12681             <ref name="targetFrameName"/>
12682         </attribute>
12683     </optional>
12684 </define>
12685 
12686 <!-- Used in: form-button-attlist, form-image-attlist -->
12687 <define name="target-location">
12688     <optional>
12689         <attribute name="xlink:href">
12690             <ref name="anyURI"/>
12691         </attribute>
12692     </optional>
12693 </define>
12694 
12695 <!-- Used in: form-text-attlist, form-textarea-attlist, form-password-attlist, form-file-attlist, form-formatted-text-attlist, common-numeric-control-attlist, form-fixed-text-attlist, form-combobox-attlist, form-listbox-attlist, form-button-attlist, form-image-attlist, form-checkbox-attlist, form-radio-attlist, form-frame-attlist, form-image-frame-attlist, form-grid-attlist, form-value-range-attlist -->
12696 <define name="common-title-attlist">
12697     <optional>
12698         <attribute name="form:title"/>
12699     </optional>
12700 </define>
12701 
12702 <!-- Used in: form-checkbox-attlist, form-radio-attlist -->
12703 <define name="common-form-visual-effect-attlist" combine="interleave">
12704     <optional>
12705         <attribute name="form:visual-effect">
12706             <choice>
12707                 <value>flat</value>
12708                 <value>3d</value>
12709             </choice>
12710         </attribute>
12711     </optional>
12712 </define>
12713 
12714 <!-- Used in: form-button-attlist, form-checkbox-attlist, form-radio-attlist -->
12715 <define name="common-form-relative-image-position-attlist" combine="interleave">
12716     <choice>
12717         <optional>
12718             <attribute name="form:image-position" a:defaultValue="center">
12719                 <value>center</value>
12720             </attribute>
12721         </optional>
12722         <group>
12723             <attribute name="form:image-position">
12724                 <choice>
12725                     <value>start</value>
12726                     <value>end</value>
12727                     <value>top</value>
12728                     <value>bottom</value>
12729                 </choice>
12730             </attribute>
12731             <optional>
12732                 <attribute name="form:image-align" a:defaultValue="center">
12733                     <choice>
12734                         <value>start</value>
12735                         <value>center</value>
12736                         <value>end</value>
12737                     </choice>
12738                 </attribute>
12739             </optional>
12740         </group>
12741     </choice>
12742 </define>
12743 
12744 <!-- Used in: form-listbox-attlist -->
12745 <define name="bound-column">
12746     <optional>
12747         <attribute name="form:bound-column">
12748             <ref name="string"/>
12749         </attribute>
12750     </optional>
12751 </define>
12752 
12753 <!-- Used in: form-text-attlist, form-textarea-attlist, form-password-attlist, form-formatted-text-attlist, common-numeric-control-attlist, form-combobox-attlist -->
12754 <define name="common-convert-empty-attlist">
12755     <optional>
12756         <attribute name="form:convert-empty-to-null" a:defaultValue="false">
12757             <ref name="boolean"/>
12758         </attribute>
12759     </optional>
12760 </define>
12761 
12762 <!-- Used in: form-text-attlist, form-textarea-attlist, form-formatted-text-attlist, common-numeric-control-attlist, form-combobox-attlist, form-listbox-attlist, form-checkbox-attlist, form-radio-attlist, form-image-frame-attlist -->
12763 <define name="common-data-field-attlist">
12764     <optional>
12765         <attribute name="form:data-field">
12766             <ref name="string"/>
12767         </attribute>
12768     </optional>
12769 </define>
12770 
12771 <!-- Used in: form-combobox-attlist, form-listbox-attlist -->
12772 <define name="list-source">
12773     <optional>
12774         <attribute name="form:list-source">
12775             <ref name="string"/>
12776         </attribute>
12777     </optional>
12778 </define>
12779 
12780 <!-- Used in: form-combobox-attlist, form-listbox-attlist -->
12781 <define name="list-source-type">
12782     <optional>
12783         <attribute name="form:list-source-type">
12784             <choice>
12785                 <value>table</value>
12786                 <value>query</value>
12787                 <value>sql</value>
12788                 <value>sql-pass-through</value>
12789                 <value>value-list</value>
12790                 <value>table-fields</value>
12791             </choice>
12792         </attribute>
12793     </optional>
12794 </define>
12795 
12796 <!-- Used in: form-form, common-form-control-content -->
12797 <define name="form-properties">
12798     <element name="form:properties">
12799         <oneOrMore>
12800             <ref name="form-property"/>
12801         </oneOrMore>
12802     </element>
12803 </define>
12804 
12805 <!-- Used in: form-properties -->
12806 <!-- Next: form-property -->
12807 <define name="form-property" combine="choice">
12808     <element name="form:property">
12809         <ref name="form-property-name"/>
12810         <ref name="form-property-value-and-type-attlist"/>
12811     </element>
12812 </define>
12813 
12814 <!-- Used in: form-property, form-property -->
12815 <define name="form-property-name" combine="interleave">
12816     <attribute name="form:property-name">
12817         <ref name="string"/>
12818     </attribute>
12819 </define>
12820 
12821 <!-- Used in: form-property -->
12822 <define name="form-property-value-and-type-attlist" combine="interleave">
12823     <choice>
12824         <ref name="common-value-and-type-attlist"/>
12825         <attribute name="office:value-type">
12826             <value>void</value>
12827         </attribute>
12828     </choice>
12829 </define>
12830 
12831 <!-- Used in: form-properties -->
12832 <define name="form-property" combine="choice">
12833     <element name="form:list-property">
12834         <ref name="form-property-name"/>
12835         <ref name="form-property-type-and-value-list"/>
12836     </element>
12837 </define>
12838 
12839 <!-- Used in: form-property -->
12840 <define name="form-property-type-and-value-list">
12841     <choice>
12842         <group>
12843             <attribute name="office:value-type">
12844                 <value>float</value>
12845             </attribute>
12846             <zeroOrMore>
12847                 <element name="form:list-value">
12848                     <attribute name="office:value">
12849                         <ref name="double"/>
12850                     </attribute>
12851                 </element>
12852             </zeroOrMore>
12853         </group>
12854         <group>
12855             <attribute name="office:value-type">
12856                 <value>percentage</value>
12857             </attribute>
12858             <zeroOrMore>
12859                 <element name="form:list-value">
12860                     <attribute name="office:value">
12861                         <ref name="double"/>
12862                     </attribute>
12863                 </element>
12864             </zeroOrMore>
12865         </group>
12866         <group>
12867             <attribute name="office:value-type">
12868                 <value>currency</value>
12869             </attribute>
12870             <zeroOrMore>
12871                 <element name="form:list-value">
12872                     <attribute name="office:value">
12873                         <ref name="double"/>
12874                     </attribute>
12875                     <optional>
12876                         <attribute name="office:currency">
12877                             <ref name="string"/>
12878                         </attribute>
12879                     </optional>
12880                 </element>
12881             </zeroOrMore>
12882         </group>
12883         <group>
12884             <attribute name="office:value-type">
12885                 <value>date</value>
12886             </attribute>
12887             <zeroOrMore>
12888                 <element name="form:list-value">
12889                     <attribute name="office:date-value">
12890                         <ref name="dateOrDateTime"/>
12891                     </attribute>
12892                 </element>
12893             </zeroOrMore>
12894         </group>
12895         <group>
12896             <attribute name="office:value-type">
12897                 <value>time</value>
12898             </attribute>
12899             <zeroOrMore>
12900                 <element name="form:list-value">
12901                     <attribute name="office:time-value">
12902                         <ref name="duration"/>
12903                     </attribute>
12904                 </element>
12905             </zeroOrMore>
12906         </group>
12907         <group>
12908             <attribute name="office:value-type">
12909                 <value>boolean</value>
12910             </attribute>
12911             <zeroOrMore>
12912                 <element name="form:list-value">
12913                     <attribute name="office:boolean-value">
12914                         <ref name="boolean"/>
12915                     </attribute>
12916                 </element>
12917             </zeroOrMore>
12918         </group>
12919         <group>
12920             <attribute name="office:value-type">
12921                 <value>string</value>
12922             </attribute>
12923             <zeroOrMore>
12924                 <element name="form:list-value">
12925                     <attribute name="office:string-value">
12926                         <ref name="string"/>
12927                     </attribute>
12928                 </element>
12929             </zeroOrMore>
12930         </group>
12931         <attribute name="office:value-type">
12932             <value>void</value>
12933         </attribute>
12934     </choice>
12935 </define>
12936 
12937 <!-- Used in: paragraph-content, table-table-cell-content -->
12938 <define name="office-annotation">
12939     <element name="office:annotation">
12940         <ref name="office-annotation-attlist"/>
12941         <ref name="draw-caption-attlist"/>
12942         <ref name="common-draw-position-attlist"/>
12943         <ref name="common-draw-size-attlist"/>
12944         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
12945         <optional>
12946             <ref name="dc-creator"/>
12947         </optional>
12948         <optional>
12949             <ref name="dc-date"/>
12950         </optional>
12951         <optional>
12952             <ref name="meta-date-string"/>
12953         </optional>
12954         <zeroOrMore>
12955             <choice>
12956                 <ref name="text-p"/>
12957                 <ref name="text-list"/>
12958             </choice>
12959         </zeroOrMore>
12960     </element>
12961 </define>
12962 
12963 <!-- Used in: office-annotation -->
12964 <define name="office-annotation-attlist" combine="interleave">
12965     <optional>
12966         <attribute name="office:display">
12967             <ref name="boolean"/>
12968         </attribute>
12969     </optional>
12970 </define>
12971 
12972 <!-- Used in: office-annotation -->
12973 <define name="meta-date-string">
12974     <element name="meta:date-string">
12975         <ref name="string"/>
12976     </element>
12977 </define>
12978 
12979 <!-- Used in: text-notes-configuration-content, text-list-level-style-number-attr, text-list-level-style-bullet-attr, text-outline-level-style-attlist, style-page-layout-properties-attlist -->
12980 <define name="common-num-format-prefix-suffix-attlist" combine="interleave">
12981     <optional>
12982         <attribute name="style:num-prefix">
12983             <ref name="string"/>
12984         </attribute>
12985     </optional>
12986     <optional>
12987         <attribute name="style:num-suffix">
12988             <ref name="string"/>
12989         </attribute>
12990     </optional>
12991 </define>
12992 
12993 <!-- Used in: common-field-num-format-attlist, text-linenumbering-configuration-attlist, text-notes-configuration-content, text-list-level-style-number-attr, text-outline-level-style-attlist, style-page-layout-properties-attlist -->
12994 <define name="common-num-format-attlist" combine="interleave">
12995     <choice>
12996         <attribute name="style:num-format">
12997             <choice>
12998                 <value>1</value>
12999                 <value>i</value>
13000                 <value>I</value>
13001                 <ref name="string"/>
13002                 <empty/>
13003             </choice>
13004         </attribute>
13005         <group>
13006             <attribute name="style:num-format">
13007                 <choice>
13008                     <value>a</value>
13009                     <value>A</value>
13010                 </choice>
13011             </attribute>
13012             <ref name="style-num-letter-sync-attlist"/>
13013         </group>
13014         <empty/>
13015     </choice>
13016 </define>
13017 
13018 <!-- Used in: common-num-format-attlist -->
13019 <define name="style-num-letter-sync-attlist" combine="interleave">
13020     <optional>
13021         <attribute name="style:num-letter-sync">
13022             <ref name="boolean"/>
13023         </attribute>
13024     </optional>
13025 </define>
13026 
13027 <!-- Used in: text-changed-region-content, text-changed-region-content, text-changed-region-content, table-insertion, table-deletion, table-movement, table-cell-content-change -->
13028 <define name="office-change-info">
13029     <element name="office:change-info">
13030         <ref name="dc-creator"/>
13031         <ref name="dc-date"/>
13032         <zeroOrMore>
13033             <ref name="text-p"/>
13034         </zeroOrMore>
13035     </element>
13036 </define>
13037 
13038 <!-- Used in: office-scripts, paragraph-content, paragraph-content, table-content-validation, draw-rect, draw-line, draw-polyline, draw-polygon, draw-regular-polygon, draw-path, draw-circle, draw-ellipse, draw-connector, draw-caption, draw-measure, draw-g, draw-frame, draw-area-rectangle, draw-area-circle, draw-area-polygon, draw-custom-shape, form-form, common-form-control-content -->
13039 <define name="office-event-listeners">
13040     <element name="office:event-listeners">
13041         <zeroOrMore>
13042             <choice>
13043                 <ref name="script-event-listener"/>
13044                 <ref name="presentation-event-listener"/>
13045             </choice>
13046         </zeroOrMore>
13047     </element>
13048 </define>
13049 
13050 <!-- Used in: office-event-listeners -->
13051 <define name="script-event-listener" combine="interleave">
13052     <element name="script:event-listener">
13053         <ref name="script-event-listener-attlist"/>
13054         <empty/>
13055     </element>
13056 </define>
13057 
13058 <!-- Used in: script-event-listener -->
13059 <!-- Next: script-event-listener-attlist -->
13060 <define name="script-event-listener-attlist" combine="interleave">
13061     <attribute name="script:event-name">
13062         <ref name="string"/>
13063     </attribute>
13064 </define>
13065 
13066 <!-- Used in: script-event-listener -->
13067 <!-- Next: script-event-listener-attlist -->
13068 <define name="script-event-listener-attlist" combine="interleave">
13069     <attribute name="script:language">
13070         <ref name="string"/>
13071     </attribute>
13072 </define>
13073 
13074 <!-- Used in: script-event-listener -->
13075 <define name="script-event-listener-attlist" combine="interleave">
13076     <choice>
13077         <attribute name="script:macro-name">
13078             <ref name="string"/>
13079         </attribute>
13080         <group>
13081             <attribute name="xlink:href">
13082                 <ref name="anyURI"/>
13083             </attribute>
13084             <optional>
13085                 <attribute name="xlink:type" a:defaultValue="simple">
13086                     <value>simple</value>
13087                 </attribute>
13088             </optional>
13089             <optional>
13090                 <attribute name="xlink:actuate" a:defaultValue="onRequest">
13091                     <value>onRequest</value>
13092                 </attribute>
13093             </optional>
13094         </group>
13095     </choice>
13096 </define>
13097 
13098 <!-- Used in: draw-object -->
13099 <define name="math-math">
13100     <element name="math:math">
13101         <ref name="mathMarkup"/>
13102     </element>
13103 </define>
13104 
13105 <!-- To avoid inclusion of the complete MathML schema, anything -->
13106 
13107 <!-- is allowed within a math:math top-level element            -->
13108 
13109 
13110 <!-- Used in: math-math, mathMarkup -->
13111 <define name="mathMarkup">
13112     <zeroOrMore>
13113         <choice>
13114             <attribute>
13115                 <anyName/>
13116             </attribute>
13117             <text/>
13118             <element>
13119                 <anyName/>
13120                 <ref name="mathMarkup"/>
13121             </element>
13122         </choice>
13123     </zeroOrMore>
13124 </define>
13125 
13126 <!-- Used in: text-decls -->
13127 <define name="text-dde-connection-decl">
13128     <element name="text:dde-connection-decl">
13129         <ref name="text-dde-connection-decl-attlist"/>
13130         <ref name="common-dde-connection-decl-attlist"/>
13131     </element>
13132 </define>
13133 
13134 <!-- Used in: text-dde-connection-decl -->
13135 <define name="text-dde-connection-decl-attlist" combine="interleave">
13136     <attribute name="office:name">
13137         <ref name="string"/>
13138     </attribute>
13139 </define>
13140 
13141 <!-- Used in: text-dde-connection-decl, office-dde-source -->
13142 <!-- Next: common-dde-connection-decl-attlist -->
13143 <define name="common-dde-connection-decl-attlist" combine="interleave">
13144     <attribute name="office:dde-application">
13145         <ref name="string"/>
13146     </attribute>
13147 </define>
13148 
13149 <!-- Used in: text-dde-connection-decl, office-dde-source -->
13150 <!-- Next: common-dde-connection-decl-attlist -->
13151 <define name="common-dde-connection-decl-attlist" combine="interleave">
13152     <attribute name="office:dde-topic">
13153         <ref name="string"/>
13154     </attribute>
13155 </define>
13156 
13157 <!-- Used in: text-dde-connection-decl, office-dde-source -->
13158 <!-- Next: common-dde-connection-decl-attlist -->
13159 <define name="common-dde-connection-decl-attlist" combine="interleave">
13160     <attribute name="office:dde-item">
13161         <ref name="string"/>
13162     </attribute>
13163 </define>
13164 
13165 <!-- Used in: text-dde-connection-decl, office-dde-source -->
13166 <define name="common-dde-connection-decl-attlist" combine="interleave">
13167     <optional>
13168         <attribute name="office:automatic-update" a:defaultValue="true">
13169             <ref name="boolean"/>
13170         </attribute>
13171     </optional>
13172 </define>
13173 
13174 <!-- Used in: table-dde-links -->
13175 <define name="table-dde-link">
13176     <element name="table:dde-link">
13177         <ref name="office-dde-source"/>
13178         <ref name="table-table"/>
13179     </element>
13180 </define>
13181 
13182 <!-- Used in: text-section-source-dde, table-table, table-dde-link -->
13183 <define name="office-dde-source">
13184     <element name="office:dde-source">
13185         <ref name="office-dde-source-attlist"/>
13186         <ref name="common-dde-connection-decl-attlist"/>
13187     </element>
13188 </define>
13189 
13190 <!-- Used in: office-dde-source -->
13191 <!-- Next: office-dde-source-attlist -->
13192 <define name="office-dde-source-attlist" combine="interleave">
13193     <optional>
13194         <attribute name="office:name">
13195             <ref name="string"/>
13196         </attribute>
13197     </optional>
13198 </define>
13199 
13200 <!-- Used in: office-dde-source -->
13201 <define name="office-dde-source-attlist" combine="interleave">
13202     <optional>
13203         <attribute name="office:conversion-mode" a:defaultValue="into-default-style-data-style">
13204             <choice>
13205                 <value>into-default-style-data-style</value>
13206                 <value>into-english-number</value>
13207                 <value>keep-text</value>
13208             </choice>
13209         </attribute>
13210     </optional>
13211 </define>
13212 
13213 <!-- Used in: draw-page, animation-element, animation-element -->
13214 <!-- Next: animation-element -->
13215 <define name="animation-element" combine="choice">
13216     <element name="anim:animate">
13217         <ref name="common-anim-target-attlist"/>
13218         <ref name="common-anim-named-target-attlist"/>
13219         <ref name="common-anim-values-attlist"/>
13220         <ref name="common-anim-spline-mode-attlist"/>
13221         <ref name="common-spline-anim-value-attlist"/>
13222         <ref name="common-repeat-timing-attlist"/>
13223         <ref name="common-fill-timing-attlist"/>
13224         <ref name="common-anim-add-accum-attlist"/>
13225     </element>
13226 </define>
13227 
13228 <!-- Used in: draw-page, animation-element, animation-element -->
13229 <!-- Next: animation-element -->
13230 <define name="animation-element" combine="choice">
13231     <element name="anim:set">
13232         <ref name="common-anim-target-attlist"/>
13233         <ref name="common-anim-named-target-attlist"/>
13234         <ref name="common-anim-set-values-attlist"/>
13235         <ref name="common-fill-timing-attlist"/>
13236         <ref name="common-anim-add-accum-attlist"/>
13237     </element>
13238 </define>
13239 
13240 <!-- Used in: draw-page, animation-element, animation-element -->
13241 <!-- Next: animation-element -->
13242 <define name="animation-element" combine="choice">
13243     <element name="anim:animateMotion">
13244         <ref name="anim-animate-motion-attlist"/>
13245         <ref name="common-anim-target-attlist"/>
13246         <ref name="common-anim-named-target-attlist"/>
13247         <ref name="common-anim-add-accum-attlist"/>
13248         <ref name="common-anim-values-attlist"/>
13249         <ref name="common-fill-timing-attlist"/>
13250         <ref name="common-spline-anim-value-attlist"/>
13251     </element>
13252 </define>
13253 
13254 <!-- Used in: animation-element -->
13255 <!-- Next: anim-animate-motion-attlist -->
13256 <define name="anim-animate-motion-attlist" combine="interleave">
13257     <optional>
13258         <attribute name="svg:path">
13259             <ref name="pathData"/>
13260         </attribute>
13261     </optional>
13262 </define>
13263 
13264 <!-- Used in: animation-element -->
13265 <!-- Next: anim-animate-motion-attlist -->
13266 <define name="anim-animate-motion-attlist" combine="interleave">
13267     <optional>
13268         <attribute name="svg:origin">
13269             <ref name="string"/>
13270         </attribute>
13271     </optional>
13272 </define>
13273 
13274 <!-- Used in: animation-element -->
13275 <define name="anim-animate-motion-attlist" combine="interleave">
13276     <optional>
13277         <attribute name="smil:calcMode" a:defaultValue="paced">   
13278             <choice>
13279                 <value>discrete</value>
13280                 <value>linear</value>
13281                 <value>paced</value>
13282                 <value>spline</value>
13283             </choice>
13284         </attribute>
13285     </optional>
13286 </define>
13287 
13288 <!-- Used in: draw-page, animation-element, animation-element -->
13289 <!-- Next: animation-element -->
13290 <define name="animation-element" combine="choice">
13291     <element name="anim:animateColor">
13292         <ref name="common-anim-target-attlist"/>
13293         <ref name="common-anim-named-target-attlist"/>
13294         <ref name="common-anim-add-accum-attlist"/>
13295         <ref name="common-anim-values-attlist"/>
13296         <ref name="common-anim-spline-mode-attlist"/>
13297         <ref name="common-spline-anim-value-attlist"/>
13298         <ref name="anim-animate-color-attlist"/>
13299         <ref name="common-fill-timing-attlist"/>
13300     </element>
13301 </define>
13302 
13303 <!-- Used in: animation-element -->
13304 <!-- Next: anim-animate-color-attlist -->
13305 <define name="anim-animate-color-attlist" combine="interleave">
13306     <optional>
13307         <attribute name="anim:color-interpolation" a:defaultValue="rgb">
13308             <choice>
13309                 <value>rgb</value>
13310                 <value>hsl</value>
13311             </choice>
13312         </attribute>
13313     </optional>
13314 </define>
13315 
13316 <!-- Used in: animation-element -->
13317 <define name="anim-animate-color-attlist" combine="interleave">
13318     <optional>
13319         <attribute name="anim:color-interpolation-direction" a:defaultValue="clockwise">
13320             <choice>
13321                 <value>clockwise</value>
13322                 <value>counter-clockwise</value>
13323             </choice>
13324         </attribute>
13325     </optional>
13326 </define>
13327 
13328 <!-- Used in: draw-page, animation-element, animation-element -->
13329 <!-- Next: animation-element -->
13330 <define name="animation-element" combine="choice">
13331     <element name="anim:animateTransform">
13332         <ref name="common-anim-target-attlist"/>
13333         <ref name="common-anim-named-target-attlist"/>
13334         <ref name="common-anim-add-accum-attlist"/>
13335         <ref name="common-anim-values-attlist"/>
13336         <ref name="anim-animate-transform-attlist"/>
13337         <ref name="common-fill-timing-attlist"/>
13338     </element>
13339 </define>
13340 
13341 <!-- Used in: animation-element -->
13342 <define name="anim-animate-transform-attlist" combine="interleave">
13343     <attribute name="svg:type">
13344         <choice>
13345             <value>translate</value>
13346             <value>scale</value>
13347             <value>rotate</value>
13348             <value>skewX</value>
13349             <value>skewY</value> 
13350         </choice>
13351     </attribute>
13352 </define>
13353 
13354 <!-- Used in: draw-page, animation-element, animation-element -->
13355 <!-- Next: animation-element -->
13356 <define name="animation-element" combine="choice">
13357     <element name="anim:transitionFilter">
13358         <ref name="common-anim-target-attlist"/>
13359         <ref name="common-anim-add-accum-attlist"/>
13360         <ref name="common-anim-values-attlist"/>
13361         <ref name="common-anim-spline-mode-attlist "/>
13362         <ref name="anim-transition-filter-attlist"/>
13363         <ref name="common-fill-timing-attlist"/>
13364     </element>
13365 </define>
13366 
13367 <!-- Used in: animation-element -->
13368 <!-- Next: anim-transition-filter-attlist -->
13369 <define name="anim-transition-filter-attlist" combine="interleave">
13370     <attribute name="smil:type">
13371         <ref name="string"/>
13372     </attribute>
13373 </define>
13374 
13375 <!-- Used in: animation-element -->
13376 <!-- Next: anim-transition-filter-attlist -->
13377 <define name="anim-transition-filter-attlist" combine="interleave">
13378     <optional>
13379         <attribute name="smil:subtype">
13380             <ref name="string"/>
13381         </attribute>
13382     </optional>
13383 </define>
13384 
13385 <!-- Used in: animation-element -->
13386 <!-- Next: anim-transition-filter-attlist -->
13387 <define name="anim-transition-filter-attlist" combine="interleave">
13388     <optional>
13389         <attribute name="smil:direction" a:defaultValue="forward">
13390             <choice>
13391                 <value>forward</value>
13392                 <value>reverse</value>
13393             </choice>
13394         </attribute>
13395     </optional>
13396 </define>
13397 
13398 <!-- Used in: animation-element -->
13399 <!-- Next: anim-transition-filter-attlist -->
13400 <define name="anim-transition-filter-attlist" combine="interleave">
13401     <optional>
13402         <attribute name="smil:fadeColor">
13403             <choice>
13404                 <value>forward</value>
13405                 <value>reverse</value>
13406             </choice>
13407         </attribute>
13408     </optional>
13409 </define>
13410 
13411 <!-- Used in: animation-element -->
13412 <define name="anim-transition-filter-attlist" combine="interleave">
13413     <optional>
13414         <attribute name="smil:mode" a:defaultValue="in">
13415             <choice>
13416                 <value>in</value>
13417                 <value>out</value>
13418             </choice>
13419         </attribute>
13420     </optional>
13421 </define>
13422 
13423 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
13424 <define name="common-anim-attlist" combine="interleave">
13425     <optional>
13426         <attribute name="anim:id">
13427             <ref name="ID"/>
13428         </attribute>
13429     </optional>
13430 </define>
13431 
13432 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element, animation-element, animation-element -->
13433 <!-- Next: common-anim-target-attlist -->
13434 <define name="common-anim-target-attlist" combine="interleave">
13435     <optional>
13436         <attribute name="smil:targetElement">
13437             <ref name="IDREF"/>
13438         </attribute>
13439     </optional>
13440 </define>
13441 
13442 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
13443 <define name="common-anim-named-target-attlist" combine="interleave">
13444     <attribute name="smil:attributeName">
13445         <ref name="string"/>
13446     </attribute>
13447 </define>
13448 
13449 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element, animation-element, animation-element -->
13450 <define name="common-anim-target-attlist" combine="interleave">
13451     <optional>
13452         <attribute name="anim:sub-item">
13453             <ref name="string"/>
13454         </attribute>
13455     </optional>
13456 </define>
13457 
13458 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
13459 <!-- Next: common-anim-values-attlist -->
13460 <define name="common-anim-values-attlist" combine="interleave">
13461     <optional>
13462         <attribute name="smil:values">
13463             <ref name="string"/>
13464         </attribute>
13465     </optional>
13466 </define>
13467 
13468 <!-- Used in: animation-element, animation-element -->
13469 <define name="common-anim-spline-mode-attlist" combine="interleave">
13470     <optional>
13471         <attribute name="smil:calcMode" a:defaultValue="discrete">   
13472             <choice>
13473                 <value>discrete</value>
13474                 <value>linear</value>
13475                 <value>paced</value>
13476                 <value>spline</value>
13477             </choice>
13478         </attribute>
13479     </optional>
13480 </define>
13481 
13482 <!-- Used in: animation-element, animation-element, animation-element -->
13483 <!-- Next: common-spline-anim-value-attlist -->
13484 <define name="common-spline-anim-value-attlist" combine="interleave">
13485     <optional>
13486         <attribute name="smil:keyTimes">
13487             <ref name="string"/>
13488         </attribute>
13489     </optional>
13490 </define>
13491 
13492 <!-- Used in: animation-element, animation-element, animation-element -->
13493 <define name="common-spline-anim-value-attlist" combine="interleave">
13494     <optional>
13495         <attribute name="smil:keySplines">
13496             <ref name="string"/>
13497         </attribute>
13498     </optional>
13499 </define>
13500 
13501 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element, animation-element -->
13502 <!-- Next: common-anim-add-accum-attlist -->
13503 <define name="common-anim-add-accum-attlist" combine="interleave">
13504     <optional>
13505         <attribute name="smil:accumulate">
13506             <choice>
13507                 <value>none</value>
13508                 <value>sum</value>
13509             </choice>
13510         </attribute>
13511     </optional>
13512 </define>
13513 
13514 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element, animation-element -->
13515 <define name="common-anim-add-accum-attlist" combine="interleave">
13516     <optional>
13517         <attribute name="smil:additive">
13518             <choice>
13519                 <value>replace</value>
13520                 <value>sum</value>
13521             </choice>
13522         </attribute>
13523     </optional>
13524 </define>
13525 
13526 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
13527 <!-- Next: common-anim-values-attlist -->
13528 <define name="common-anim-values-attlist" combine="interleave">
13529     <optional>
13530         <attribute name="anim:formula">
13531             <ref name="string"/>
13532         </attribute>
13533     </optional>
13534 </define>
13535 
13536 <!-- Used in: animation-element, common-anim-values-attlist -->
13537 <define name="common-anim-set-values-attlist" combine="interleave">
13538     <optional>
13539         <attribute name="smil:to">
13540             <ref name="string"/>
13541         </attribute>
13542     </optional>
13543 </define>
13544 
13545 
13546 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element -->
13547 <define name="common-anim-values-attlist" combine="interleave">
13548     <ref name="common-anim-set-values-attlist"/>
13549     <optional>
13550         <attribute name="smil:from">
13551             <ref name="string"/>
13552         </attribute>
13553     </optional>
13554     <optional>
13555         <attribute name="smil:by">
13556             <ref name="string"/>
13557         </attribute>
13558     </optional>
13559 </define>
13560 
13561 <!-- Used in: common-basic-timing-attlist, animation-element -->
13562 <!-- Next: common-begin-end-timing-attlist -->
13563 <define name="common-begin-end-timing-attlist" combine="interleave">
13564     <optional>
13565         <attribute name="smil:begin">
13566             <ref name="string"/>
13567         </attribute>
13568     </optional>
13569 </define>
13570 
13571 <!-- Used in: common-basic-timing-attlist, animation-element -->
13572 <define name="common-begin-end-timing-attlist" combine="interleave">
13573     <optional>
13574         <attribute name="smil:end">
13575             <ref name="string"/>
13576         </attribute>
13577     </optional>
13578 </define>
13579 
13580 <!-- Used in: common-basic-timing-attlist -->
13581 <define name="common-dur-timing-attlist" combine="interleave">
13582     <optional>
13583         <attribute name="smil:dur">
13584             <ref name="string"/>
13585         </attribute>
13586     </optional>
13587 </define>
13588 
13589 <!-- Used in: animation-element, animation-element, animation-element -->
13590 <define name="common-endsync-timing-attlist" combine="interleave">
13591     <optional>
13592         <attribute name="smil:endsync">
13593             <choice>
13594                 <value>first</value>
13595                 <value>last</value>
13596                 <value>all</value>
13597                 <value>media</value>
13598             </choice>
13599         </attribute>
13600     </optional>
13601 </define>
13602 
13603 <!-- Used in: animation-element, common-basic-timing-attlist -->
13604 <define name="common-repeat-timing-attlist" combine="interleave">
13605     <optional>
13606         <attribute name="smil:repeatDur">
13607             <ref name="string"/>
13608         </attribute>
13609         <attribute name="smil:repeatCount">
13610             <ref name="nonNegativeInteger"/>
13611         </attribute>
13612     </optional>
13613 </define>
13614 
13615 <!-- Used in: animation-element, animation-element, animation-element, animation-element, animation-element, animation-element, common-timing-attlist -->
13616 <define name="common-fill-timing-attlist" combine="interleave">
13617     <optional>
13618         <attribute name="smil:fill">
13619             <choice>
13620                 <value>remove</value>
13621                 <value>freeze</value>
13622                 <value>hold</value>
13623                 <value>auto</value>
13624                 <value>default</value>
13625                 <value>transition</value>
13626             </choice>
13627         </attribute>
13628     </optional>
13629 </define>
13630 
13631 <!-- Used in: common-timing-attlist -->
13632 <define name="common-fill-default-attlist" combine="interleave">
13633     <optional>
13634         <attribute name="smil:fillDefault">
13635             <choice>
13636                 <value>remove</value>
13637                 <value>freeze</value>
13638                 <value>hold</value>
13639                 <value>transition</value>
13640                 <value>auto</value>
13641                 <value>inherit</value>
13642             </choice>
13643         </attribute>
13644     </optional>
13645 </define>
13646 
13647 <!-- Used in: common-timing-attlist -->
13648 <define name="common-restart-timing-attlist" combine="interleave">
13649     <optional>
13650         <attribute name="smil:restart" a:defaultValue="default">
13651             <choice>
13652                 <value>never</value>
13653                 <value>always</value>
13654                 <value>whenNotActive</value>
13655                 <value>default</value>
13656             </choice>
13657         </attribute>
13658     </optional>
13659 </define>
13660 
13661 <!-- Used in: common-timing-attlist -->
13662 <define name="common-restart-default-attlist" combine="interleave">
13663     <optional>
13664         <attribute name="smil:restartDefault" a:defaultValue="inherit">
13665             <choice>
13666                 <value>never</value>
13667                 <value>always</value>
13668                 <value>whenNotActive</value>
13669                 <value>inherit</value>
13670             </choice>
13671         </attribute>
13672     </optional>
13673 </define>
13674 
13675 <!-- Used in: common-timing-attlist -->
13676 <!-- Next: common-time-manip-attlist -->
13677 <define name="common-time-manip-attlist" combine="interleave">
13678     <optional>    
13679         <attribute name="smil:accelerate" a:defaultValue="0.0">
13680             <ref name="double"/>
13681         </attribute>
13682     </optional>
13683 </define>
13684 
13685 <!-- Used in: common-timing-attlist -->
13686 <!-- Next: common-time-manip-attlist -->
13687 <define name="common-time-manip-attlist" combine="interleave">
13688     <optional>
13689         <attribute name="smil:decelerate" a:defaultValue="0.0">
13690             <ref name="double"/>
13691         </attribute>
13692     </optional>
13693 </define>
13694 
13695 <!-- Used in: common-timing-attlist -->
13696 <define name="common-time-manip-attlist" combine="interleave">
13697     <optional>
13698         <attribute name="smil:autoReverse" a:defaultValue="false">
13699             <ref name="boolean"/>
13700         </attribute>
13701     </optional>
13702 </define>
13703 
13704 <!-- Used in: draw-page, animation-element, animation-element -->
13705 <!-- Next: animation-element -->
13706 <define name="animation-element" combine="choice">
13707     <element name="anim:par">
13708         <ref name="common-anim-attlist"/>
13709         <ref name="common-timing-attlist"/>
13710         <ref name="common-endsync-timing-attlist"/>
13711         <zeroOrMore>
13712             <ref name="animation-element"/>
13713         </zeroOrMore>
13714     </element>
13715 </define>
13716 
13717 
13718 <!-- Used in: common-timing-attlist, animation-element -->
13719 <define name="common-basic-timing-attlist" combine="interleave">
13720    <ref name="common-begin-end-timing-attlist"/>
13721    <ref name="common-dur-timing-attlist"/>
13722    <ref name="common-repeat-timing-attlist"/>
13723 </define>
13724 
13725 
13726 <!-- Used in: animation-element, animation-element, animation-element -->
13727 <define name="common-timing-attlist" combine="interleave">
13728    <ref name="common-basic-timing-attlist"/>
13729    <ref name="common-restart-timing-attlist"/>
13730    <ref name="common-restart-default-attlist"/>
13731    <ref name="common-fill-timing-attlist"/>
13732    <ref name="common-fill-default-attlist"/>
13733    <ref name="common-time-manip-attlist"/>
13734 </define>
13735 
13736 <!-- Used in: draw-page, animation-element, animation-element -->
13737 <!-- Next: animation-element -->
13738 <define name="animation-element" combine="choice">
13739     <element name="anim:seq">
13740         <ref name="common-anim-attlist"/>
13741         <ref name="common-endsync-timing-attlist"/>
13742         <ref name="common-timing-attlist"/>
13743     </element>
13744 </define>
13745 
13746 <!-- Used in: draw-page, animation-element, animation-element -->
13747 <!-- Next: animation-element -->
13748 <define name="animation-element" combine="choice">
13749     <element name="anim:iterate">
13750         <ref name="common-anim-attlist"/>
13751         <ref name="anin-iterate-attlist"/>
13752         <ref name="common-timing-attlist"/>
13753         <ref name="common-endsync-timing-attlist"/>
13754         <zeroOrMore>
13755             <ref name="animation-element"/>
13756         </zeroOrMore>
13757     </element>
13758 </define>
13759 
13760 <!-- Used in: animation-element -->
13761 <!-- Next: anin-iterate-attlist -->
13762 <define name="anin-iterate-attlist" combine="interleave">
13763     <optional>
13764         <attribute name="smil:targetElement">
13765             <ref name="IDREF"/>
13766         </attribute>
13767     </optional>
13768 </define>
13769 
13770 <!-- Used in: animation-element -->
13771 <!-- Next: anin-iterate-attlist -->
13772 <define name="anin-iterate-attlist" combine="interleave">
13773     <optional>
13774         <attribute name="anim:iterate-type">
13775             <ref name="string"/>
13776         </attribute>
13777     </optional>
13778 </define>
13779 
13780 <!-- Used in: animation-element -->
13781 <define name="anin-iterate-attlist" combine="interleave">
13782     <optional>
13783         <attribute name="anim:iterate-interval">
13784             <ref name="duration"/>
13785         </attribute>
13786     </optional>
13787 </define>
13788 
13789 <!-- Used in: draw-page, animation-element, animation-element -->
13790 <!-- Next: animation-element -->
13791 <define name="animation-element" combine="choice">
13792     <element name="anim:audio">
13793         <ref name="common-anim-attlist"/>
13794         <ref name="anim-audio-attlist"/>
13795         <ref name="common-basic-timing-attlist"/>
13796     </element>
13797 </define>
13798 
13799 <!-- Used in: animation-element -->
13800 <!-- Next: anim-audio-attlist -->
13801 <define name="anim-audio-attlist" combine="interleave">
13802     <optional>
13803         <attribute name="xlink:href">
13804             <ref name="anyURI"/>
13805         </attribute>
13806     </optional>
13807 </define>
13808 
13809 <!-- Used in: animation-element -->
13810 <define name="anim-audio-attlist" combine="interleave">
13811     <optional>
13812         <attribute name="anim:audio-level">
13813             <ref name="double"/>
13814         </attribute>
13815     </optional>
13816 </define>
13817 
13818 <!-- Used in: draw-page, animation-element, animation-element -->
13819 <define name="animation-element" combine="choice">
13820     <element name="anim:command">
13821         <ref name="common-anim-attlist"/>
13822         <ref name="anim-command-attlist"/>
13823         <ref name="common-begin-end-timing-attlist"/>
13824         <ref name="common-anim-target-attlist"/>
13825         <zeroOrMore>
13826             <element name="anim:param">
13827                 <attribute name="anim:name"/>
13828                 <attribute name="anim:value"/>
13829             </element>
13830         </zeroOrMore>
13831     </element>
13832 </define>
13833 
13834 <!-- Used in: animation-element -->
13835 <define name="anim-command-attlist" combine="interleave">
13836     <attribute name="anim:command">
13837         <ref name="string"/>
13838     </attribute>
13839 </define>
13840 
13841 <!-- Used in: styles, style-master-page -->
13842 <define name="style-style">
13843     <element name="style:style">
13844         <ref name="style-style-attlist"/>
13845         <ref name="style-style-content"/>
13846         <zeroOrMore>
13847             <ref name="style-map"/>
13848         </zeroOrMore>
13849     </element>
13850 </define>
13851 
13852 <!-- Used in: style-style -->
13853 <!-- Next: style-style-attlist -->
13854 <define name="style-style-attlist" combine="interleave">
13855     <attribute name="style:name">
13856         <ref name="styleName"/>
13857     </attribute>
13858 </define>
13859 
13860 <!-- Used in: style-style -->
13861 <!-- Next: style-style-attlist -->
13862 <define name="style-style-attlist" combine="interleave">
13863     <optional>
13864         <attribute name="style:display-name">
13865             <ref name="string"/>
13866         </attribute>
13867     </optional>
13868 </define>
13869 
13870 <!-- Used in: style-style -->
13871 <!-- Next: style-style-attlist -->
13872 <define name="style-style-attlist" combine="interleave">
13873     <optional>
13874         <attribute name="style:parent-style-name">
13875             <ref name="styleNameRef"/>
13876         </attribute>
13877     </optional>
13878 </define>
13879 
13880 <!-- Used in: style-style -->
13881 <!-- Next: style-style-attlist -->
13882 <define name="style-style-attlist" combine="interleave">
13883     <optional>
13884         <attribute name="style:next-style-name">
13885             <ref name="styleNameRef"/>
13886         </attribute>
13887     </optional>
13888 </define>
13889 
13890 <!-- Used in: style-style -->
13891 <!-- Next: style-style-attlist -->
13892 <define name="style-style-attlist" combine="interleave">
13893     <optional>
13894         <attribute name="style:list-style-name">
13895             <choice>
13896                 <ref name="styleName"/>
13897                 <empty/>
13898             </choice>
13899         </attribute>
13900     </optional>
13901 </define>
13902 
13903 <!-- Used in: style-style -->
13904 <!-- Next: style-style-attlist -->
13905 <define name="style-style-attlist" combine="interleave">
13906     <optional>
13907         <attribute name="style:master-page-name">
13908             <ref name="styleNameRef"/>
13909         </attribute>
13910     </optional>
13911 </define>
13912 
13913 <!-- Used in: style-style -->
13914 <!-- Next: style-style-attlist -->
13915 <define name="style-style-attlist" combine="interleave">
13916     <optional>
13917         <attribute name="style:auto-update" a:defaultValue="false">
13918             <ref name="boolean"/>
13919         </attribute>
13920     </optional>
13921 </define>
13922 
13923 <!-- Used in: style-style -->
13924 <!-- Next: style-style-attlist -->
13925 <define name="style-style-attlist" combine="interleave">
13926     <optional>
13927         <attribute name="style:data-style-name">
13928             <ref name="styleNameRef"/>
13929         </attribute>
13930     </optional>
13931 </define>
13932 
13933 <!-- Used in: style-style -->
13934 <!-- Next: style-style-attlist -->
13935 <define name="style-style-attlist" combine="interleave">
13936     <optional>
13937         <attribute name="style:class">
13938             <ref name="string"/>
13939         </attribute>
13940     </optional>
13941 </define>
13942 
13943 <!-- Used in: style-style -->
13944 <define name="style-style-attlist" combine="interleave">
13945     <optional>
13946         <attribute name="style:default-outline-level">
13947             <ref name="positiveInteger"/>
13948         </attribute>
13949     </optional>
13950 </define>
13951 
13952 <!-- Used in: style-style, number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
13953 <define name="style-map">
13954     <element name="style:map">
13955         <ref name="style-map-attlist"/>
13956         <empty/>
13957     </element>
13958 </define>
13959 
13960 <!-- Used in: style-map -->
13961 <!-- Next: style-map-attlist -->
13962 <define name="style-map-attlist" combine="interleave">
13963     <attribute name="style:condition">
13964         <ref name="string"/>
13965     </attribute>
13966 </define>
13967 
13968 <!-- Used in: style-map -->
13969 <!-- Next: style-map-attlist -->
13970 <define name="style-map-attlist" combine="interleave">
13971     <attribute name="style:apply-style-name">
13972         <ref name="styleNameRef"/>
13973     </attribute>
13974 </define>
13975 
13976 <!-- Used in: style-map -->
13977 <define name="style-map-attlist" combine="interleave">
13978     <optional>
13979         <attribute name="style:base-cell-address">
13980             <ref name="cellAddress"/>
13981         </attribute>
13982     </optional>
13983 </define>
13984 
13985 <!-- Used in: office-styles -->
13986 <define name="style-default-style">
13987     <element name="style:default-style">
13988         <ref name="style-style-content"/>
13989     </element>
13990 </define>
13991 
13992 <!-- Used in: office-automatic-styles -->
13993 <define name="style-page-layout">
13994     <element name="style:page-layout">
13995         <ref name="style-page-layout-attlist"/>
13996         <optional>
13997             <ref name="style-page-layout-properties"/>
13998         </optional>
13999         <optional>
14000             <ref name="style-header-style"/>
14001         </optional>
14002         <optional>
14003             <ref name="style-footer-style"/>
14004         </optional>
14005     </element>
14006 </define>
14007 
14008 <!-- Used in: style-page-layout -->
14009 <!-- Next: style-page-layout-attlist -->
14010 <define name="style-page-layout-attlist" combine="interleave">
14011     <attribute name="style:name">
14012         <ref name="styleName"/>
14013     </attribute>
14014 </define>
14015 
14016 <!-- Used in: style-page-layout -->
14017 <define name="style-page-layout-attlist" combine="interleave">
14018     <optional>
14019         <attribute name="style:page-usage" a:defaultValue="all">
14020             <choice>
14021                 <value>all</value>
14022                 <value>left</value>
14023                 <value>right</value>
14024                 <value>mirrored</value>
14025             </choice>
14026         </attribute>
14027     </optional>
14028 </define>
14029 
14030 <!-- Used in: style-page-layout -->
14031 <define name="style-header-style">
14032     <element name="style:header-style">
14033         <optional>
14034             <ref name="style-header-footer-properties"/>
14035         </optional>
14036     </element>
14037 </define>
14038 
14039 <!-- Used in: style-page-layout -->
14040 <define name="style-footer-style">
14041     <element name="style:footer-style">
14042         <optional>
14043             <ref name="style-header-footer-properties"/>
14044         </optional>
14045     </element>
14046 </define>
14047 
14048 <!-- Used in: office-master-styles -->
14049 <define name="style-master-page">
14050     <element name="style:master-page">
14051         <ref name="style-master-page-attlist"/>
14052         <optional>
14053             <ref name="style-header"/>
14054             <optional>
14055                 <ref name="style-header-left"/>
14056             </optional>
14057         </optional>
14058         <optional>
14059             <ref name="style-footer"/>
14060             <optional>
14061                 <ref name="style-footer-left"/>
14062             </optional>
14063         </optional>
14064         <optional>
14065             <ref name="office-forms"/>
14066         </optional>
14067         <zeroOrMore>
14068             <ref name="style-style"/>
14069         </zeroOrMore>
14070         <zeroOrMore>
14071             <ref name="shape"/>
14072         </zeroOrMore>
14073         <optional>
14074             <ref name="presentation-notes"/>
14075         </optional>
14076     </element>
14077 </define>
14078 
14079 <!-- Used in: style-master-page -->
14080 <!-- Next: style-master-page-attlist -->
14081 <define name="style-master-page-attlist" combine="interleave">
14082     <attribute name="style:name">
14083         <ref name="styleName"/>
14084     </attribute>
14085 </define>
14086 
14087 <!-- Used in: style-master-page -->
14088 <!-- Next: style-master-page-attlist -->
14089 <define name="style-master-page-attlist" combine="interleave">
14090     <optional>
14091         <attribute name="style:display-name">
14092             <ref name="string"/>
14093         </attribute>
14094     </optional>
14095 </define>
14096 
14097 <!-- Used in: style-master-page -->
14098 <!-- Next: style-master-page-attlist -->
14099 <define name="style-master-page-attlist" combine="interleave">
14100     <attribute name="style:page-layout-name">
14101         <ref name="styleNameRef"/>
14102     </attribute>
14103 </define>
14104 
14105 <!-- Used in: style-master-page -->
14106 <!-- Next: style-master-page-attlist -->
14107 <define name="style-master-page-attlist" combine="interleave">
14108     <optional>
14109         <attribute name="draw:style-name">
14110             <ref name="styleNameRef"/>
14111         </attribute>
14112     </optional>
14113 </define>
14114 
14115 <!-- Used in: style-master-page -->
14116 <define name="style-master-page-attlist" combine="interleave">
14117     <optional>
14118         <attribute name="style:next-style-name">
14119             <ref name="styleNameRef"/>
14120         </attribute>
14121     </optional>
14122 </define>
14123 
14124 <!-- Used in: style-master-page -->
14125 <define name="style-header">
14126     <element name="style:header">
14127         <ref name="common-style-header-footer-attlist"/>
14128         <ref name="header-footer-content"/>
14129     </element>
14130 </define>
14131 
14132 <!-- Used in: style-master-page -->
14133 <define name="style-footer">
14134     <element name="style:footer">
14135         <ref name="common-style-header-footer-attlist"/>
14136         <ref name="header-footer-content"/>
14137     </element>
14138 </define>
14139 
14140 <!-- Used in: style-master-page -->
14141 <define name="style-header-left">
14142     <element name="style:header-left">
14143         <ref name="common-style-header-footer-attlist"/>
14144         <ref name="header-footer-content"/>
14145     </element>
14146 </define>
14147 
14148 <!-- Used in: style-master-page -->
14149 <define name="style-footer-left">
14150     <element name="style:footer-left">
14151         <ref name="common-style-header-footer-attlist"/>
14152         <ref name="header-footer-content"/>
14153     </element>
14154 </define>
14155 
14156 <!-- Used in: style-header, style-footer, style-header-left, style-footer-left -->
14157 <define name="header-footer-content">
14158     <choice>
14159         <group>
14160             <ref name="text-decls"/>
14161             <zeroOrMore>
14162                 <choice>
14163                     <ref name="text-h"/>
14164                     <ref name="text-p"/>
14165                     <ref name="text-list"/>
14166                     <ref name="table-table"/>
14167                     <ref name="text-section"/>
14168                     <ref name="text-table-of-content"/>
14169                     <ref name="text-illustration-index"/>
14170                     <ref name="text-table-index"/>
14171                     <ref name="text-object-index"/>
14172                     <ref name="text-user-index"/>
14173                     <ref name="text-alphabetical-index"/>
14174                     <ref name="text-bibliography"/>
14175                     <ref name="text-index-title"/>
14176                     <ref name="change-marks"/>
14177                 </choice>
14178             </zeroOrMore>
14179         </group>
14180         <group>
14181             <optional>
14182                 <ref name="style-region-left"/>
14183             </optional>
14184             <optional>
14185                 <ref name="style-region-center"/>
14186             </optional>
14187             <optional>
14188                 <ref name="style-region-right"/>
14189             </optional>
14190         </group>
14191     </choice>
14192 </define>
14193 
14194 <!-- Used in: style-header, style-footer, style-header-left, style-footer-left -->
14195 <define name="common-style-header-footer-attlist" combine="interleave">
14196     <optional>
14197         <attribute name="style:display" a:defaultValue="true">
14198             <ref name="boolean"/>
14199         </attribute>
14200     </optional>
14201 </define>
14202 
14203 <!-- Used in: header-footer-content -->
14204 <define name="style-region-left">
14205     <element name="style:region-left">
14206         <ref name="region-content"/>
14207     </element>
14208 </define>
14209 
14210 <!-- Used in: header-footer-content -->
14211 <define name="style-region-center">
14212     <element name="style:region-center">
14213         <ref name="region-content"/>
14214     </element>
14215 </define>
14216 
14217 <!-- Used in: header-footer-content -->
14218 <define name="style-region-right">
14219     <element name="style:region-right">
14220         <ref name="region-content"/>
14221     </element>
14222 </define>
14223 
14224 
14225 <!-- Used in: style-region-left, style-region-center, style-region-right -->
14226 <define name="region-content">
14227     <zeroOrMore>
14228         <ref name="text-p"/>
14229     </zeroOrMore>
14230 </define>
14231 
14232 <!-- Used in: draw-page, style-master-page -->
14233 <define name="presentation-notes">
14234     <element name="presentation:notes">
14235         <ref name="common-presentation-header-footer-attlist"/>
14236         <ref name="presentation-notes-attlist"/>
14237         <zeroOrMore>
14238             <ref name="shape"/>
14239         </zeroOrMore>
14240     </element>
14241 </define>
14242 
14243 <!-- Used in: presentation-notes -->
14244 <!-- Next: presentation-notes-attlist -->
14245 <define name="presentation-notes-attlist" combine="interleave">
14246     <optional>
14247         <attribute name="style:page-layout-name">
14248             <ref name="styleNameRef"/>
14249         </attribute>
14250     </optional>
14251 </define>
14252 
14253 <!-- Used in: presentation-notes -->
14254 <define name="presentation-notes-attlist" combine="interleave">
14255     <optional>
14256         <attribute name="draw:style-name">
14257             <ref name="styleNameRef"/>
14258         </attribute>
14259     </optional>
14260 </define>
14261 
14262 <define name="table-table-template">
14263     <element name="table:table-template">
14264         <ref name="table-table-template-attlist"/>
14265         <optional>
14266             <ref name="table-first-row"/>
14267         </optional>
14268         <optional>
14269             <ref name="table-last-row"/>
14270         </optional>
14271         <optional>
14272             <ref name="table-first-column"/>
14273         </optional>
14274         <optional>
14275             <ref name="table-last-column"/>
14276         </optional>
14277         <choice>
14278             <ref name="table-body"/>
14279             <group>
14280                 <ref name="table-even-rows"/>
14281                 <ref name="table-odd-rows"/>
14282             </group>
14283             <group>
14284                 <ref name="table-even-columns"/>
14285                 <ref name="table-odd-columns"/>
14286             </group>
14287         </choice>
14288     </element>
14289 </define>
14290 
14291 <!-- Used in: table-table-template -->
14292 <!-- Next: table-table-template-attlist -->
14293 <define name="table-table-template-attlist" combine="interleave">
14294     <attribute name="text:name">
14295         <ref name="string"/>
14296     </attribute>
14297 </define>
14298 
14299 <!-- Used in: table-table-template -->
14300 <!-- Next: table-table-template-attlist -->
14301 <define name="table-table-template-attlist" combine="interleave">
14302     <attribute name="text:first-row-start-column">
14303         <ref name="rowOrCol"/>
14304     </attribute>
14305 </define>
14306 
14307 
14308 <!-- Used in: table-table-template -->
14309 <!-- Next: table-table-template-attlist -->
14310 <define name="table-table-template-attlist" combine="interleave">
14311     <attribute name="text:first-row-end-column">
14312         <ref name="rowOrCol"/>
14313     </attribute>
14314 </define>
14315 
14316 
14317 <!-- Used in: table-table-template -->
14318 <!-- Next: table-table-template-attlist -->
14319 <define name="table-table-template-attlist" combine="interleave">
14320     <attribute name="text:last-row-start-column">
14321         <ref name="rowOrCol"/>
14322     </attribute>
14323 </define>
14324 
14325 
14326 <!-- Used in: table-table-template -->
14327 <define name="table-table-template-attlist" combine="interleave">
14328     <attribute name="text:last-row-end-column">
14329         <ref name="rowOrCol"/>
14330     </attribute>
14331 </define>
14332 
14333 
14334 <!-- Used in: table-table-template-attlist, table-table-template-attlist, table-table-template-attlist, table-table-template-attlist -->
14335 <define name="rowOrCol">
14336     <choice>
14337         <value>row</value>
14338         <value>column</value>
14339     </choice>
14340 </define>
14341 
14342 <!-- Used in: table-table-template -->
14343 <define name="table-first-row">
14344     <element name="table:first-row">
14345         <ref name="common-table-template-attlist"/>
14346         <empty/>
14347     </element>
14348 </define>
14349 
14350 
14351 <!-- Used in: table-table-template -->
14352 <define name="table-last-row">
14353     <element name="table:last-row">
14354         <ref name="common-table-template-attlist"/>
14355         <empty/>
14356     </element>
14357 </define>
14358 
14359 
14360 <!-- Used in: table-table-template -->
14361 <define name="table-first-column">
14362     <element name="table:first-column">
14363         <ref name="common-table-template-attlist"/>
14364         <empty/>
14365     </element>
14366 </define>
14367 
14368 
14369 <!-- Used in: table-table-template -->
14370 <define name="table-last-column">
14371     <element name="table:last-column">
14372         <ref name="common-table-template-attlist"/>
14373         <empty/>
14374     </element>
14375 </define>
14376 
14377 
14378 <!-- Used in: table-table-template -->
14379 <define name="table-body">
14380     <element name="table:body">
14381         <ref name="common-table-template-attlist"/>
14382         <empty/>
14383     </element>
14384 </define>
14385 
14386 
14387 <!-- Used in: table-table-template -->
14388 <define name="table-even-rows">
14389     <element name="table:even-rows">
14390         <ref name="common-table-template-attlist"/>
14391         <empty/>
14392     </element>
14393 </define>
14394 
14395 
14396 <!-- Used in: table-table-template -->
14397 <define name="table-odd-rows">
14398     <element name="table:odd-rows">
14399         <ref name="common-table-template-attlist"/>
14400         <empty/>
14401     </element>
14402 </define>
14403 
14404 
14405 <!-- Used in: table-table-template -->
14406 <define name="table-even-columns">
14407     <element name="table:even-columns">
14408         <ref name="common-table-template-attlist"/>
14409         <empty/>
14410     </element>
14411 </define>
14412 
14413 
14414 <!-- Used in: table-table-template -->
14415 <define name="table-odd-columns">
14416     <element name="table:odd-columns">
14417         <ref name="common-table-template-attlist"/>
14418         <empty/>
14419     </element>
14420 </define>
14421 
14422 
14423 <!-- Used in: table-first-row, table-last-row, table-first-column, table-last-column, table-body, table-even-rows, table-odd-rows, table-even-columns, table-odd-columns -->
14424 <define name="common-table-template-attlist" combine="interleave">
14425     <attribute name="text:style-name">
14426         <ref name="styleNameRef"/>
14427     </attribute>
14428 </define>
14429 
14430 <!-- Used in: office-font-face-decls -->
14431 <define name="style-font-face">
14432     <element name="style:font-face">
14433         <ref name="style-font-face-attlist"/>
14434         <optional>
14435             <ref name="svg-font-face-src"/>
14436         </optional>
14437         <optional>
14438             <ref name="svg-definition-src"/>
14439         </optional>
14440     </element>
14441 </define>
14442 
14443 <!-- Used in: style-font-face -->
14444 <!-- Next: style-font-face-attlist -->
14445 <define name="style-font-face-attlist" combine="interleave">
14446     <optional>
14447         <attribute name="svg:font-family">
14448             <ref name="string"/>
14449         </attribute>
14450     </optional>
14451     <optional>
14452         <attribute name="svg:font-style">
14453             <ref name="fontStyle"/>
14454         </attribute>
14455     </optional>
14456     <optional>
14457         <attribute name="svg:font-variant">
14458             <ref name="fontVariant"/>
14459         </attribute>
14460     </optional>
14461     <optional>
14462         <attribute name="svg:font-weight">
14463             <ref name="fontWeight"/>
14464         </attribute>
14465     </optional>
14466     <optional>
14467         <attribute name="svg:font-stretch">
14468             <choice>
14469                 <value>normal</value>
14470                 <value>ultra-condensed</value>
14471                 <value>extra-condensed</value>
14472                 <value>condensed</value>
14473                 <value>semi-condensed</value>
14474                 <value>semi-expanded</value>
14475                 <value>expanded</value>
14476                 <value>extra-expanded</value>
14477                 <value>ultra-expanded</value>
14478             </choice>
14479         </attribute>
14480     </optional>
14481     <optional>
14482         <attribute name="svg:font-size">
14483             <ref name="positiveLength"/>
14484         </attribute>
14485     </optional>
14486     <optional>
14487         <attribute name="svg:unicode-range"/>
14488     </optional>
14489     <optional>
14490         <attribute name="svg:units-per-em">
14491             <ref name="integer"/>
14492         </attribute>
14493     </optional>
14494     <optional>
14495         <attribute name="svg:panose-1"/>
14496     </optional>
14497     <optional>
14498         <attribute name="svg:stemv">
14499             <ref name="integer"/>
14500         </attribute>
14501     </optional>
14502     <optional>
14503         <attribute name="svg:stemh">
14504             <ref name="integer"/>
14505         </attribute>
14506     </optional>
14507     <optional>
14508         <attribute name="svg:slope">
14509             <ref name="integer"/>
14510         </attribute>
14511         </optional>
14512     <optional>
14513         <attribute name="svg:cap-height">
14514             <ref name="integer"/>
14515         </attribute>
14516     </optional>
14517     <optional>
14518         <attribute name="svg:x-height">
14519             <ref name="integer"/>
14520         </attribute>
14521     </optional>
14522     <optional>
14523         <attribute name="svg:accent-height">
14524             <ref name="integer"/>
14525         </attribute>
14526     </optional>
14527     <optional>
14528         <attribute name="svg:ascent">
14529             <ref name="integer"/>
14530         </attribute>
14531     </optional>
14532     <optional>
14533         <attribute name="svg:descent">
14534             <ref name="integer"/>
14535         </attribute>
14536     </optional>
14537     <optional>
14538         <attribute name="svg:widths"/>
14539     </optional>
14540     <optional>
14541         <attribute name="svg:bbox"/>
14542     </optional>
14543     <optional>
14544         <attribute name="svg:ideographic">
14545             <ref name="integer"/>
14546         </attribute>
14547     </optional>
14548     <optional>
14549         <attribute name="svg:alphabetic">
14550             <ref name="integer"/>
14551         </attribute>
14552     </optional>
14553     <optional>
14554         <attribute name="svg:mathematical">
14555             <ref name="integer"/>
14556         </attribute>
14557     </optional>
14558     <optional>
14559         <attribute name="svg:hanging">
14560             <ref name="integer"/>
14561         </attribute>
14562     </optional>
14563     <optional>
14564         <attribute name="svg:v-ideographic">
14565             <ref name="integer"/>
14566         </attribute>
14567     </optional>
14568     <optional>
14569         <attribute name="svg:v-alphabetic">
14570             <ref name="integer"/>
14571         </attribute>
14572     </optional>
14573     <optional>
14574         <attribute name="svg:v-mathematical">
14575             <ref name="integer"/>
14576         </attribute>
14577     </optional>
14578     <optional>
14579         <attribute name="svg:v-hanging">
14580             <ref name="integer"/>
14581         </attribute>
14582     </optional>
14583     <optional>
14584         <attribute name="svg:underline-position">
14585             <ref name="integer"/>
14586         </attribute>
14587     </optional>
14588     <optional>
14589         <attribute name="svg:underline-thickness">
14590             <ref name="integer"/>
14591         </attribute>
14592     </optional>
14593     <optional>
14594         <attribute name="svg:strikethrough-position">
14595             <ref name="integer"/>
14596         </attribute>
14597     </optional>
14598     <optional>
14599         <attribute name="svg:strikethrough-thickness">
14600             <ref name="integer"/>
14601         </attribute>
14602     </optional>
14603     <optional>
14604         <attribute name="svg:overline-position">
14605             <ref name="integer"/>
14606         </attribute>
14607         </optional>
14608     <optional>
14609         <attribute name="svg:overline-thickness">
14610             <ref name="integer"/>
14611         </attribute>
14612     </optional>
14613 </define>
14614 
14615 
14616 <!-- Used in: style-font-face -->
14617 <define name="svg-font-face-src">
14618     <element name="svg:font-face-src">
14619         <oneOrMore>
14620             <choice>
14621                 <ref name="svg-font-face-uri"/>
14622                 <ref name="svg-font-face-name"/>
14623             </choice>
14624         </oneOrMore>
14625     </element>
14626 </define>
14627 
14628 
14629 <!-- Used in: svg-font-face-src -->
14630 <define name="svg-font-face-uri">
14631     <element name="svg:font-face-uri">
14632         <ref name="common-svg-font-face-xlink-attlist"/>
14633         <zeroOrMore>
14634             <ref name="svg-font-face-format"/>
14635         </zeroOrMore>
14636     </element>
14637 </define>
14638 
14639 
14640 <!-- Used in: svg-font-face-uri -->
14641 <define name="svg-font-face-format">
14642     <element name="svg:font-face-format">
14643         <optional>
14644             <attribute name="svg:string"/>
14645         </optional>
14646         <empty/>
14647     </element>
14648 </define>
14649 
14650 <!-- Used in: svg-font-face-src -->
14651 <define name="svg-font-face-name">
14652     <element name="svg:font-face-name">
14653         <optional>
14654             <attribute name="name"/>
14655         </optional>
14656         <empty/>
14657     </element>
14658 </define>
14659 
14660 
14661 <!-- Used in: style-font-face -->
14662 <define name="svg-definition-src">
14663     <element name="svg:definition-src">
14664         <ref name="common-svg-font-face-xlink-attlist"/>
14665     <empty/>
14666     </element>
14667 </define>
14668 
14669 
14670 <!-- Used in: svg-font-face-uri, svg-definition-src -->
14671 <define name="common-svg-font-face-xlink-attlist" combine="interleave">
14672     <attribute name="xlink:href">
14673         <ref name="anyURI"/>
14674     </attribute>
14675     <optional>
14676         <attribute name="xlink:type" a:defaultValue="simple">
14677             <value>simple</value>
14678         </attribute>
14679     </optional>
14680     <optional>
14681         <attribute name="xlink:actuate" a:defaultValue="onRequest">
14682             <value>onRequest</value>
14683         </attribute>
14684     </optional>
14685 </define>
14686 
14687 <!-- Used in: style-font-face -->
14688 <!-- Next: style-font-face-attlist -->
14689 <define name="style-font-face-attlist" combine="interleave">
14690     <attribute name="style:name">
14691         <ref name="string"/>
14692     </attribute>
14693 </define>
14694 
14695 <!-- Used in: style-font-face -->
14696 <!-- Next: style-font-face-attlist -->
14697 <define name="style-font-face-attlist" combine="interleave">
14698     <optional>
14699         <attribute name="style:font-adornments">
14700             <ref name="string"/>
14701         </attribute>
14702     </optional>
14703 </define>
14704 
14705 <!-- Used in: style-font-face -->
14706 <!-- Next: style-font-face-attlist -->
14707 <define name="style-font-face-attlist" combine="interleave">
14708     <optional>
14709         <attribute name="style:font-family-generic">
14710             <ref name="fontFamilyGeneric"/>
14711         </attribute>
14712     </optional>
14713 </define>
14714 
14715 <!-- Used in: style-font-face -->
14716 <!-- Next: style-font-face-attlist -->
14717 <define name="style-font-face-attlist" combine="interleave">
14718     <optional>
14719         <attribute name="style:font-pitch">
14720             <ref name="fontPitch"/>
14721         </attribute>
14722     </optional>
14723 </define>
14724 
14725 
14726 <!-- Used in: style-font-face -->
14727 <define name="style-font-face-attlist" combine="interleave">
14728     <optional>
14729         <attribute name="style:font-charset">
14730             <ref name="textEncoding"/>
14731         </attribute>
14732     </optional>
14733 </define>
14734 
14735 <!-- Used in: styles -->
14736 <define name="number-number-style">
14737     <element name="number:number-style">
14738         <ref name="common-data-style-attlist"/>
14739         <optional>
14740             <ref name="style-text-properties"/>
14741         </optional>
14742         <optional>
14743             <ref name="number-text"/>
14744         </optional>
14745         <optional>
14746             <ref name="any-number"/>
14747             <optional>
14748                 <ref name="number-text"/>
14749             </optional>
14750         </optional>
14751         <zeroOrMore>
14752             <ref name="style-map"/>
14753         </zeroOrMore>
14754     </element>
14755 </define>
14756 
14757 
14758 <!-- Used in: number-number-style -->
14759 <define name="any-number">
14760     <choice>
14761         <ref name="number-number"/>
14762         <ref name="number-scientific-number"/>
14763         <ref name="number-fraction"/>
14764     </choice>
14765 </define>
14766 
14767 <!-- Used in: any-number, number-and-text -->
14768 <define name="number-number">
14769     <element name="number:number">
14770         <ref name="number-number-attlist"/>
14771         <ref name="common-decimal-places-attlist"/>
14772         <ref name="common-number-attlist"/>
14773         <zeroOrMore>
14774             <ref name="number-embedded-text"/>
14775         </zeroOrMore>
14776     </element>
14777 </define>
14778 
14779 <!-- Used in: number-number -->
14780 <!-- Next: number-number-attlist -->
14781 <define name="number-number-attlist" combine="interleave">
14782     <optional>
14783         <attribute name="number:decimal-replacement"/>
14784     </optional>
14785 </define>
14786 
14787 <!-- Used in: number-number -->
14788 <define name="number-number-attlist" combine="interleave">
14789     <optional>
14790         <attribute name="number:display-factor" a:defaultValue="1">
14791             <ref name="double"/>
14792         </attribute>
14793     </optional>
14794 </define>
14795 
14796 <!-- Used in: number-number -->
14797 <define name="number-embedded-text">
14798     <element name="number:embedded-text">
14799         <ref name="number-embedded-text-attlist"/>
14800         <text/>
14801     </element>
14802 </define>
14803 
14804 <!-- Used in: number-embedded-text -->
14805 <define name="number-embedded-text-attlist" combine="interleave">
14806     <attribute name="number:position">
14807         <ref name="integer"/>
14808     </attribute>
14809 </define>
14810 
14811 <!-- Used in: any-number -->
14812 <define name="number-scientific-number">
14813     <element name="number:scientific-number">
14814         <ref name="number-scientific-number-attlist"/>
14815         <ref name="common-decimal-places-attlist"/>
14816         <ref name="common-number-attlist"/>
14817         <empty/>
14818     </element>
14819 </define>
14820 
14821 <!-- Used in: number-scientific-number -->
14822 <define name="number-scientific-number-attlist" combine="interleave">
14823     <optional>
14824         <attribute name="number:min-exponent-digits">
14825             <ref name="integer"/>
14826         </attribute>
14827     </optional>
14828 </define>
14829 
14830 <!-- Used in: any-number -->
14831 <define name="number-fraction">
14832     <element name="number:fraction">
14833         <ref name="number-fraction-attlist"/>
14834         <ref name="common-number-attlist"/>
14835         <empty/>
14836     </element>
14837 </define>
14838 
14839 <!-- Used in: number-fraction -->
14840 <!-- Next: number-fraction-attlist -->
14841 <define name="number-fraction-attlist" combine="interleave">
14842     <optional>
14843         <attribute name="number:min-numerator-digits">
14844             <ref name="integer"/>
14845         </attribute>
14846     </optional>
14847 </define>
14848 
14849 <!-- Used in: number-fraction -->
14850 <!-- Next: number-fraction-attlist -->
14851 <define name="number-fraction-attlist" combine="interleave">
14852     <optional>
14853         <attribute name="number:min-denominator-digits">
14854             <ref name="integer"/>
14855         </attribute>
14856     </optional>
14857 </define>
14858 
14859 <!-- Used in: number-fraction -->
14860 <define name="number-fraction-attlist" combine="interleave">
14861     <optional>
14862         <attribute name="number:denominator-value">
14863             <ref name="integer"/>
14864         </attribute>
14865     </optional>
14866 </define>
14867 
14868 <!-- Used in: styles -->
14869 <define name="number-currency-style">
14870     <element name="number:currency-style">
14871         <ref name="common-data-style-attlist"/>
14872         <ref name="common-auto-reorder-attlist"/>
14873         <optional>
14874             <ref name="style-text-properties"/>
14875         </optional>
14876         <optional>
14877             <ref name="number-text"/>
14878         </optional>
14879         <optional>
14880             <choice>
14881                 <group>
14882                     <ref name="number-and-text"/>
14883                     <optional>
14884                         <ref name="currency-symbol-and-text"/>
14885                     </optional>
14886                 </group>
14887                 <group>
14888                     <ref name="currency-symbol-and-text"/>
14889                     <optional>
14890                         <ref name="number-and-text"/>
14891                     </optional>
14892                 </group>
14893             </choice>
14894         </optional>
14895         <zeroOrMore>
14896             <ref name="style-map"/>
14897         </zeroOrMore>
14898     </element>
14899 </define>
14900 
14901 
14902 <!-- Used in: number-currency-style -->
14903 <define name="currency-symbol-and-text">
14904     <ref name="number-currency-symbol"/>
14905     <optional>
14906         <ref name="number-text"/>
14907     </optional>
14908 </define>
14909 
14910 <!-- Used in: number-currency-style, number-percentage-style -->
14911 <define name="number-and-text">
14912     <ref name="number-number"/>
14913     <optional>
14914         <ref name="number-text"/>
14915     </optional>
14916 </define>
14917 
14918 <!-- Used in: currency-symbol-and-text -->
14919 <define name="number-currency-symbol">
14920     <element name="number:currency-symbol">
14921         <ref name="number-currency-symbol-attlist"/>
14922         <text/>
14923     </element>
14924 </define>
14925 
14926 <!-- Used in: number-currency-symbol -->
14927 <define name="number-currency-symbol-attlist" combine="interleave">
14928     <optional>
14929         <attribute name="number:language">
14930             <ref name="languageCode"/>
14931         </attribute>
14932     </optional>
14933     <optional>
14934         <attribute name="number:country">
14935             <ref name="countryCode"/>
14936         </attribute>
14937     </optional>
14938 </define>
14939 
14940 <!-- Used in: styles -->
14941 <define name="number-percentage-style">
14942     <element name="number:percentage-style">
14943         <ref name="common-data-style-attlist"/>
14944         <optional>
14945             <ref name="style-text-properties"/>
14946         </optional>
14947         <optional>
14948             <ref name="number-text"/>
14949         </optional>
14950         <optional>
14951             <ref name="number-and-text"/>
14952         </optional>
14953         <zeroOrMore>
14954             <ref name="style-map"/>
14955         </zeroOrMore>
14956     </element>
14957 </define>
14958 
14959 <!-- Used in: styles -->
14960 <define name="number-date-style">
14961     <element name="number:date-style">
14962         <ref name="common-data-style-attlist"/>
14963         <ref name="common-auto-reorder-attlist"/>
14964         <ref name="common-format-source-attlist"/>
14965         <optional>
14966             <ref name="style-text-properties"/>
14967         </optional>
14968         <!-- This DTD does not reflect the fact that some elements must not -->
14969 
14970         <!-- occur more than once. -->
14971 
14972         <optional>
14973             <ref name="number-text"/>
14974         </optional>
14975         <oneOrMore>
14976             <ref name="any-date"/>
14977             <optional>
14978                 <ref name="number-text"/>
14979             </optional>
14980         </oneOrMore>
14981         <zeroOrMore>
14982             <ref name="style-map"/>
14983         </zeroOrMore>
14984     </element>
14985 </define>
14986 
14987 
14988 <!-- Used in: number-date-style -->
14989 <define name="any-date">
14990     <choice>
14991         <ref name="number-day"/>
14992         <ref name="number-month"/>
14993         <ref name="number-year"/>
14994         <ref name="number-era"/>
14995         <ref name="number-day-of-week"/>
14996         <ref name="number-week-of-year"/>
14997         <ref name="number-quarter"/>
14998         <ref name="number-hours"/>
14999         <ref name="number-am-pm"/>
15000         <ref name="number-minutes"/>
15001         <ref name="number-seconds"/>
15002     </choice>
15003 </define>
15004 
15005 <!-- Used in: any-date -->
15006 <define name="number-day">
15007     <element name="number:day">
15008         <ref name="number-day-attlist"/>
15009         <ref name="common-calendar-attlist"/>
15010         <empty/>
15011     </element>
15012 </define>
15013 
15014 <!-- Used in: number-day -->
15015 <define name="number-day-attlist" combine="interleave">
15016     <optional>
15017         <attribute name="number:style" a:defaultValue="short">
15018             <choice>
15019                 <value>short</value>
15020                 <value>long</value>
15021             </choice>
15022         </attribute>
15023     </optional>
15024 </define>
15025 
15026 <!-- Used in: any-date -->
15027 <define name="number-month">
15028     <element name="number:month">
15029         <ref name="number-month-attlist"/>
15030         <ref name="common-calendar-attlist"/>
15031         <empty/>
15032     </element>
15033 </define>
15034 
15035 <!-- Used in: number-month -->
15036 <!-- Next: number-month-attlist -->
15037 <define name="number-month-attlist" combine="interleave">
15038     <optional>
15039         <attribute name="number:textual" a:defaultValue="false">
15040             <ref name="boolean"/>
15041         </attribute>
15042     </optional>
15043 </define>
15044 
15045 <!-- Used in: number-month -->
15046 <!-- Next: number-month-attlist -->
15047 <define name="number-month-attlist" combine="interleave">
15048     <optional>
15049         <attribute name="number:possessive-form" a:defaultValue="false">
15050             <ref name="boolean"/>
15051         </attribute>
15052     </optional>
15053 </define>
15054 
15055 <!-- Used in: number-month -->
15056 <define name="number-month-attlist" combine="interleave">
15057     <optional>
15058         <attribute name="number:style" a:defaultValue="short">
15059             <choice>
15060                 <value>short</value>
15061                 <value>long</value>
15062             </choice>
15063         </attribute>
15064     </optional>
15065 </define>
15066 
15067 <!-- Used in: any-date -->
15068 <define name="number-year">
15069     <element name="number:year">
15070         <ref name="number-year-attlist"/>
15071         <ref name="common-calendar-attlist"/>
15072         <empty/>
15073     </element>
15074 </define>
15075 
15076 <!-- Used in: number-year -->
15077 <define name="number-year-attlist" combine="interleave">
15078     <optional>
15079         <attribute name="number:style" a:defaultValue="short">
15080             <choice>
15081                 <value>short</value>
15082                 <value>long</value>
15083             </choice>
15084         </attribute>
15085     </optional>
15086 </define>
15087 
15088 <!-- Used in: any-date -->
15089 <define name="number-era">
15090     <element name="number:era">
15091         <ref name="number-era-attlist"/>
15092         <ref name="common-calendar-attlist"/>
15093         <empty/>
15094     </element>
15095 </define>
15096 
15097 <!-- Used in: number-era -->
15098 <define name="number-era-attlist" combine="interleave">
15099     <optional>
15100         <attribute name="number:style" a:defaultValue="short">
15101             <choice>
15102                 <value>short</value>
15103                 <value>long</value>
15104             </choice>
15105         </attribute>
15106     </optional>
15107 </define>
15108 
15109 <!-- Used in: any-date -->
15110 <define name="number-day-of-week">
15111     <element name="number:day-of-week">
15112         <ref name="number-day-of-week-attlist"/>
15113         <ref name="common-calendar-attlist"/>
15114         <empty/>
15115     </element>
15116 </define>
15117 
15118 <!-- Used in: number-day-of-week -->
15119 <define name="number-day-of-week-attlist" combine="interleave">
15120     <optional>
15121         <attribute name="number:style" a:defaultValue="short">
15122             <choice>
15123                 <value>short</value>
15124                 <value>long</value>
15125             </choice>
15126         </attribute>
15127     </optional>
15128 </define>
15129 
15130 <!-- Used in: any-date -->
15131 <define name="number-week-of-year">
15132     <element name="number:week-of-year">
15133         <ref name="common-calendar-attlist"/>
15134         <empty/>
15135     </element>
15136 </define>
15137 
15138 <!-- Used in: any-date -->
15139 <define name="number-quarter">
15140     <element name="number:quarter">
15141         <ref name="number-quarter-attlist"/>
15142         <ref name="common-calendar-attlist"/>
15143         <empty/>
15144     </element>
15145 </define>
15146 
15147 <!-- Used in: number-quarter -->
15148 <define name="number-quarter-attlist" combine="interleave">
15149     <optional>
15150         <attribute name="number:style" a:defaultValue="short">
15151             <choice>
15152                 <value>short</value>
15153                 <value>long</value>
15154             </choice>
15155         </attribute>
15156     </optional>
15157 </define>
15158 
15159 <!-- Used in: styles -->
15160 <define name="number-time-style">
15161     <element name="number:time-style">
15162         <ref name="number-time-style-attlist"/>
15163         <ref name="common-data-style-attlist"/>
15164         <ref name="common-format-source-attlist"/>
15165         <optional>
15166             <ref name="style-text-properties"/>
15167         </optional>
15168         <!-- This DTD does not reflect the fact that some elements must not -->
15169 
15170         <!-- occur more than once. -->
15171 
15172         <optional>
15173             <ref name="number-text"/>
15174         </optional>
15175         <oneOrMore>
15176             <ref name="any-time"/>
15177             <optional>
15178                 <ref name="number-text"/>
15179             </optional>
15180         </oneOrMore>
15181         <zeroOrMore>
15182             <ref name="style-map"/>
15183         </zeroOrMore>
15184     </element>
15185 </define>
15186 
15187 
15188 <!-- Used in: number-time-style -->
15189 <define name="any-time">
15190     <choice>
15191         <ref name="number-hours"/>
15192         <ref name="number-am-pm"/>
15193         <ref name="number-minutes"/>
15194         <ref name="number-seconds"/>
15195     </choice>
15196 </define>
15197 
15198 <!-- Used in: number-time-style -->
15199 <define name="number-time-style-attlist" combine="interleave">
15200     <optional>
15201         <attribute name="number:truncate-on-overflow" a:defaultValue="true">
15202             <ref name="boolean"/>
15203         </attribute>
15204     </optional>
15205 </define>
15206 
15207 <!-- Used in: any-date, any-time -->
15208 <define name="number-hours">
15209     <element name="number:hours">
15210         <ref name="number-hours-attlist"/>
15211         <empty/>
15212     </element>
15213 </define>
15214 
15215 <!-- Used in: number-hours -->
15216 <define name="number-hours-attlist" combine="interleave">
15217     <optional>
15218         <attribute name="number:style" a:defaultValue="short">
15219             <choice>
15220                 <value>short</value>
15221                 <value>long</value>
15222             </choice>
15223         </attribute>
15224     </optional>
15225 </define>
15226 
15227 <!-- Used in: any-date, any-time -->
15228 <define name="number-minutes">
15229     <element name="number:minutes">
15230         <ref name="number-minutes-attlist"/>
15231         <empty/>
15232     </element>
15233 </define>
15234 
15235 <!-- Used in: number-minutes -->
15236 <define name="number-minutes-attlist" combine="interleave">
15237     <optional>
15238         <attribute name="number:style" a:defaultValue="short">
15239             <choice>
15240                 <value>short</value>
15241                 <value>long</value>
15242             </choice>
15243         </attribute>
15244     </optional>
15245 </define>
15246 
15247 <!-- Used in: any-date, any-time -->
15248 <define name="number-seconds">
15249     <element name="number:seconds">
15250         <ref name="number-seconds-attlist"/>
15251         <empty/>
15252     </element>
15253 </define>
15254 
15255 <!-- Used in: number-seconds -->
15256 <!-- Next: number-seconds-attlist -->
15257 <define name="number-seconds-attlist" combine="interleave">
15258     <optional>
15259         <attribute name="number:style" a:defaultValue="short">
15260             <choice>
15261                 <value>short</value>
15262                 <value>long</value>
15263             </choice>
15264         </attribute>
15265     </optional>
15266 </define>
15267 
15268 <!-- Used in: number-seconds -->
15269 <define name="number-seconds-attlist" combine="interleave">
15270     <optional>
15271         <attribute name="number:decimal-places" a:defaultValue="0">
15272             <ref name="integer"/>
15273         </attribute>
15274     </optional>
15275 </define>
15276 
15277 <!-- Used in: any-date, any-time -->
15278 <define name="number-am-pm">
15279     <element name="number:am-pm">
15280         <empty/>
15281     </element>
15282 </define>
15283 
15284 <!-- Used in: styles -->
15285 <define name="number-boolean-style">
15286     <element name="number:boolean-style">
15287         <ref name="common-data-style-attlist"/>
15288         <optional>
15289             <ref name="style-text-properties"/>
15290         </optional>
15291         <optional>
15292             <ref name="number-text"/>
15293         </optional>
15294         <optional>
15295             <ref name="number-boolean"/>
15296             <optional>
15297                 <ref name="number-text"/>
15298             </optional>
15299         </optional>
15300         <zeroOrMore>
15301             <ref name="style-map"/>
15302         </zeroOrMore>
15303     </element>
15304 </define>
15305 
15306 <!-- Used in: number-boolean-style -->
15307 <define name="number-boolean">
15308     <element name="number:boolean">
15309         <empty/>
15310     </element>
15311 </define>
15312 
15313 <!-- Used in: styles -->
15314 <define name="number-text-style">
15315     <element name="number:text-style">
15316         <ref name="common-data-style-attlist"/>
15317         <optional>
15318             <ref name="style-text-properties"/>
15319         </optional>
15320         <optional>
15321             <ref name="number-text"/>
15322         </optional>
15323         <zeroOrMore>
15324             <ref name="number-text-content"/>
15325             <optional>
15326                 <ref name="number-text"/>
15327             </optional>
15328         </zeroOrMore>
15329         <zeroOrMore>
15330             <ref name="style-map"/>
15331         </zeroOrMore>
15332     </element>
15333 </define>
15334 
15335 <!-- Used in: number-number-style, number-currency-style, currency-symbol-and-text, number-and-text, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
15336 <define name="number-text">
15337     <element name="number:text">
15338         <text/>
15339     </element>
15340 </define>
15341 
15342 <!-- Used in: number-text-style -->
15343 <define name="number-text-content">
15344     <element name="number:text-content">
15345         <empty/>
15346     </element>
15347 </define>
15348 
15349 <!-- Used in: number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
15350 <!-- Next: common-data-style-attlist -->
15351 <define name="common-data-style-attlist" combine="interleave">
15352     <attribute name="style:name">
15353         <ref name="styleName"/>
15354     </attribute>
15355 </define>
15356 
15357 <define name="style-data-style-attlist" combine="interleave">
15358     <optional>
15359         <attribute name="style:display-name">
15360             <ref name="string"/>
15361         </attribute>
15362     </optional>
15363 </define>
15364 
15365 <!-- Used in: number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
15366 <!-- Next: common-data-style-attlist -->
15367 <define name="common-data-style-attlist" combine="interleave">
15368     <optional>
15369         <attribute name="number:language">
15370             <ref name="languageCode"/>
15371         </attribute>
15372     </optional>
15373 </define>
15374 
15375 <!-- Used in: number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
15376 <!-- Next: common-data-style-attlist -->
15377 <define name="common-data-style-attlist" combine="interleave">
15378     <optional>
15379         <attribute name="number:country">
15380             <ref name="countryCode"/>
15381         </attribute>
15382     </optional>
15383 </define>
15384 
15385 <!-- Used in: number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
15386 <!-- Next: common-data-style-attlist -->
15387 <define name="common-data-style-attlist" combine="interleave">
15388     <optional>
15389         <attribute name="number:title"/>
15390     </optional>
15391 </define>
15392 
15393 <!-- Used in: number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
15394 <!-- Next: common-data-style-attlist -->
15395 <define name="common-data-style-attlist" combine="interleave">
15396     <optional>
15397         <attribute name="style:volatile">
15398             <ref name="boolean"/>
15399         </attribute>
15400     </optional>
15401 </define>
15402 
15403 <!-- Used in: number-currency-style, number-date-style -->
15404 <define name="common-auto-reorder-attlist" combine="interleave">
15405     <optional>
15406         <attribute name="number:automatic-order" a:defaultValue="false">
15407             <ref name="boolean"/>
15408         </attribute>
15409     </optional>
15410 </define>
15411 
15412 <!-- Used in: number-date-style, number-time-style -->
15413 <define name="common-format-source-attlist">
15414     <optional>
15415         <attribute name="number:format-source" a:defaultValue="fixed">
15416             <choice>
15417                 <value>fixed</value>
15418                 <value>language</value>
15419             </choice>
15420         </attribute>
15421     </optional>
15422 </define>
15423 
15424 <!-- Used in: number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
15425 <!-- Next: common-data-style-attlist -->
15426 <define name="common-data-style-attlist" combine="interleave">
15427     <optional>
15428         <attribute name="number:transliteration-format" a:defaultValue="1">
15429             <ref name="string"/>
15430         </attribute>
15431     </optional>
15432 </define>
15433 
15434 <!-- Used in: number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
15435 <!-- Next: common-data-style-attlist -->
15436 <define name="common-data-style-attlist" combine="interleave">
15437     <optional>
15438         <attribute name="number:transliteration-language">
15439             <ref name="countryCode"/>
15440         </attribute>
15441     </optional>
15442 </define>
15443 
15444 <!-- Used in: number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
15445 <!-- Next: common-data-style-attlist -->
15446 <define name="common-data-style-attlist" combine="interleave">
15447     <optional>
15448         <attribute name="number:transliteration-country">
15449             <ref name="countryCode"/>
15450         </attribute>
15451     </optional>
15452 </define>
15453 
15454 <!-- Used in: number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style -->
15455 <define name="common-data-style-attlist" combine="interleave">
15456     <optional>
15457         <attribute name="number:transliteration-style" a:defaultValue="short">
15458             <choice>
15459                 <value>short</value>
15460                 <value>medium</value>
15461                 <value>long</value>
15462             </choice>
15463         </attribute>
15464     </optional>
15465 </define>
15466 
15467 <!-- Used in: number-number, number-scientific-number -->
15468 <define name="common-decimal-places-attlist">
15469     <optional>
15470         <attribute name="number:decimal-places">
15471             <ref name="integer"/>
15472         </attribute>
15473     </optional>
15474 </define>
15475 
15476 <!-- Used in: number-number, number-scientific-number, number-fraction -->
15477 <!-- Next: common-number-attlist -->
15478 <define name="common-number-attlist" combine="interleave">
15479     <optional>
15480         <attribute name="number:min-integer-digits">
15481             <ref name="integer"/>
15482         </attribute>
15483     </optional>
15484 </define>
15485 
15486 <!-- Used in: number-number, number-scientific-number, number-fraction -->
15487 <define name="common-number-attlist" combine="interleave">
15488     <optional>
15489         <attribute name="number:grouping" a:defaultValue="false">
15490             <ref name="boolean"/>
15491         </attribute>
15492     </optional>
15493 </define>
15494 
15495 <!-- Used in: number-day, number-month, number-year, number-era, number-day-of-week, number-week-of-year, number-quarter -->
15496 <define name="common-calendar-attlist" combine="interleave">
15497     <optional>
15498         <attribute name="number:calendar">
15499             <choice>
15500                 <value>gregorian</value>
15501                 <value>gengou</value>
15502                 <value>ROC</value>
15503                 <value>hanja_yoil</value>
15504                 <value>hanja</value>
15505                 <value>hijri</value>
15506                 <value>jewish</value>
15507                 <value>buddhist</value>
15508                 <ref name="string"/>
15509             </choice>
15510         </attribute>
15511     </optional>
15512 </define>
15513 
15514 <!-- Used in: style-style, style-default-style -->
15515 <!-- Next: style-style-content -->
15516 <define name="style-style-content" combine="choice">
15517     <group>
15518         <attribute name="style:family">
15519             <value>text</value>
15520         </attribute>
15521         <optional>
15522             <ref name="style-text-properties"/>
15523         </optional>
15524     </group>
15525 </define>
15526 
15527 <!-- Used in: style-style, style-default-style -->
15528 <!-- Next: style-style-content -->
15529 <define name="style-style-content" combine="choice">
15530     <group>
15531         <attribute name="style:family">
15532             <value>paragraph</value>
15533         </attribute>
15534         <optional>
15535             <ref name="style-paragraph-properties"/>
15536         </optional>
15537         <optional>
15538             <ref name="style-text-properties"/>
15539         </optional>
15540     </group>
15541 </define>
15542 
15543 <!-- Used in: style-style, style-default-style -->
15544 <!-- Next: style-style-content -->
15545 <define name="style-style-content" combine="choice">
15546     <group>
15547         <attribute name="style:family">
15548             <value>section</value>
15549         </attribute>
15550         <optional>
15551             <ref name="style-section-properties"/>
15552         </optional>
15553     </group>
15554 </define>
15555 
15556 <!-- Used in: style-style, style-default-style -->
15557 <!-- Next: style-style-content -->
15558 <define name="style-style-content" combine="choice">
15559     <group>
15560         <attribute name="style:family">
15561             <value>ruby</value>
15562         </attribute>
15563         <optional>
15564             <ref name="style-ruby-properties"/>
15565         </optional>
15566     </group>
15567 </define>
15568 
15569 <!-- Used in: office-styles -->
15570 <define name="text-linenumbering-configuration">
15571     <element name="text:linenumbering-configuration">
15572         <ref name="text-linenumbering-configuration-attlist"/>
15573         <optional>
15574             <ref name="text-linenumbering-separator"/>
15575         </optional>
15576     </element>
15577 </define>
15578 
15579 <!-- Used in: text-linenumbering-configuration -->
15580 <!-- Next: text-linenumbering-configuration-attlist -->
15581 <define name="text-linenumbering-configuration-attlist" combine="interleave">
15582     <optional>
15583         <attribute name="text:number-lines" a:defaultValue="true">
15584             <ref name="boolean"/>
15585         </attribute>
15586     </optional>
15587 </define>
15588 
15589 <!-- Used in: text-linenumbering-configuration -->
15590 <!-- Next: text-linenumbering-configuration-attlist -->
15591 <define name="text-linenumbering-configuration-attlist" combine="interleave">
15592     <optional>
15593         <ref name="common-num-format-attlist"/>
15594     </optional>
15595 </define>
15596 
15597 <!-- Used in: text-linenumbering-configuration -->
15598 <!-- Next: text-linenumbering-configuration-attlist -->
15599 <define name="text-linenumbering-configuration-attlist" combine="interleave">
15600     <optional>
15601         <attribute name="text:style-name">
15602             <ref name="styleNameRef"/>
15603         </attribute>
15604     </optional>
15605 </define>
15606 
15607 <!-- Used in: text-linenumbering-configuration -->
15608 <!-- Next: text-linenumbering-configuration-attlist -->
15609 <define name="text-linenumbering-configuration-attlist" combine="interleave">
15610     <optional>
15611         <attribute name="text:increment">
15612             <ref name="nonNegativeInteger"/>
15613         </attribute>
15614     </optional>
15615 </define>
15616 
15617 <!-- Used in: text-linenumbering-configuration -->
15618 <!-- Next: text-linenumbering-configuration-attlist -->
15619 <define name="text-linenumbering-configuration-attlist" combine="interleave">
15620     <optional>
15621         <attribute name="text:number-position" a:defaultValue="left">
15622             <choice>
15623                 <value>left</value>
15624                 <value>rigth</value>
15625                 <value>inner</value>
15626                 <value>outer</value>
15627             </choice>
15628         </attribute>
15629     </optional>
15630 </define>
15631 
15632 <!-- Used in: text-linenumbering-configuration -->
15633 <!-- Next: text-linenumbering-configuration-attlist -->
15634 <define name="text-linenumbering-configuration-attlist" combine="interleave">
15635     <optional>
15636         <attribute name="text:offset">
15637             <ref name="nonNegativeLength"/>
15638         </attribute>
15639     </optional>
15640 </define>
15641 
15642 <!-- Used in: text-linenumbering-configuration -->
15643 <!-- Next: text-linenumbering-configuration-attlist -->
15644 <define name="text-linenumbering-configuration-attlist" combine="interleave">
15645     <optional>
15646         <attribute name="text:count-empty-lines" a:defaultValue="true">
15647             <ref name="boolean"/>
15648         </attribute>
15649     </optional>
15650 </define>
15651 
15652 <!-- Used in: text-linenumbering-configuration -->
15653 <!-- Next: text-linenumbering-configuration-attlist -->
15654 <define name="text-linenumbering-configuration-attlist" combine="interleave">
15655     <optional>
15656         <attribute name="text:count-in-text-boxes" a:defaultValue="false">
15657             <ref name="boolean"/>
15658         </attribute>
15659     </optional>
15660 </define>
15661 
15662 <!-- Used in: text-linenumbering-configuration -->
15663 <define name="text-linenumbering-configuration-attlist" combine="interleave">
15664     <optional>
15665         <attribute name="text:restart-on-page" a:defaultValue="false">
15666             <ref name="boolean"/>
15667         </attribute>
15668     </optional>
15669 </define>
15670 
15671 <!-- Used in: text-linenumbering-configuration -->
15672 <define name="text-linenumbering-separator">
15673     <element name="text:linenumbering-separator">
15674         <optional>
15675             <attribute name="text:increment">
15676                 <ref name="nonNegativeInteger"/>
15677             </attribute>
15678         </optional>
15679         <text/>
15680     </element>
15681 </define>
15682 
15683 <!-- Used in: office-styles, style-section-properties-elements -->
15684 <define name="text-notes-configuration">
15685     <element name="text:notes-configuration">
15686         <ref name="text-notes-configuration-content"/>
15687     </element>
15688 </define>
15689 
15690 <!-- Used in: text-notes-configuration -->
15691 <!-- Next: text-notes-configuration-content -->
15692 <define name="text-notes-configuration-content" combine="interleave">
15693     <ref name="text-note-class"/>
15694 </define>
15695 
15696 <!-- Used in: text-notes-configuration -->
15697 <!-- Next: text-notes-configuration-content -->
15698 <define name="text-notes-configuration-content" combine="interleave">
15699     <optional>
15700         <attribute name="text:citation-style-name">
15701             <ref name="styleNameRef"/>
15702         </attribute>
15703     </optional>
15704 </define>
15705 
15706 <!-- Used in: text-notes-configuration -->
15707 <!-- Next: text-notes-configuration-content -->
15708 <define name="text-notes-configuration-content" combine="interleave">
15709     <optional>
15710         <attribute name="text:citation-body-style-name">
15711             <ref name="styleNameRef"/>
15712         </attribute>
15713     </optional>
15714 </define>
15715 
15716 <!-- Used in: text-notes-configuration -->
15717 <!-- Next: text-notes-configuration-content -->
15718 <define name="text-notes-configuration-content" combine="interleave">
15719     <optional>
15720         <attribute name="text:default-style-name">
15721             <ref name="styleNameRef"/>
15722         </attribute>
15723     </optional>
15724 </define>
15725 
15726 <!-- Used in: text-notes-configuration -->
15727 <!-- Next: text-notes-configuration-content -->
15728 <define name="text-notes-configuration-content" combine="interleave">
15729     <optional>
15730         <attribute name="text:master-page-name">
15731             <ref name="styleNameRef"/>
15732         </attribute>
15733     </optional>
15734 </define>
15735 
15736 <!-- Used in: text-notes-configuration -->
15737 <!-- Next: text-notes-configuration-content -->
15738 <define name="text-notes-configuration-content" combine="interleave">
15739     <optional>
15740         <attribute name="text:start-value">
15741             <ref name="nonNegativeInteger"/>
15742         </attribute>
15743     </optional>
15744 </define>
15745 
15746 <!-- Used in: text-notes-configuration -->
15747 <!-- Next: text-notes-configuration-content -->
15748 <define name="text-notes-configuration-content" combine="interleave">
15749     <ref name="common-num-format-prefix-suffix-attlist"/>
15750     <optional>
15751         <ref name="common-num-format-attlist"/>
15752     </optional>
15753 </define>
15754 
15755 <!-- Used in: text-notes-configuration -->
15756 <!-- Next: text-notes-configuration-content -->
15757 <define name="text-notes-configuration-content" combine="interleave">
15758     <optional>
15759         <attribute name="text:start-numbering-at">
15760             <choice>
15761                 <value>document</value>
15762                 <value>chapter</value>
15763                 <value>page</value>
15764             </choice>
15765         </attribute>
15766     </optional>
15767 </define>
15768 
15769 <!-- Used in: text-notes-configuration -->
15770 <!-- Next: text-notes-configuration-content -->
15771 <define name="text-notes-configuration-content" combine="interleave">
15772     <optional>
15773         <attribute name="text:footnotes-position">
15774             <choice>
15775                 <value>text</value>
15776                 <value>page</value>
15777                 <value>section</value>
15778                 <value>document</value>
15779             </choice>
15780         </attribute>
15781     </optional>
15782 </define>
15783 
15784 <!-- Used in: text-notes-configuration -->
15785 <!-- Next: text-notes-configuration-content -->
15786 <define name="text-notes-configuration-content" combine="interleave">
15787     <optional>
15788         <element name="text:note-continuation-notice-forward">
15789             <text/>
15790         </element>
15791     </optional>
15792 </define>
15793 
15794 <!-- Used in: text-notes-configuration -->
15795 <define name="text-notes-configuration-content" combine="interleave">
15796     <optional>
15797         <element name="text:note-continuation-notice-backward">
15798             <text/>
15799         </element>
15800     </optional>
15801 </define>
15802 
15803 <!-- Used in: office-styles -->
15804 <define name="text-bibliography-configuration">
15805     <element name="text:bibliography-configuration">
15806         <ref name="text-bibliography-configuration-attlist"/>
15807         <zeroOrMore>
15808             <ref name="text-sort-key"/>
15809         </zeroOrMore>
15810     </element>
15811 </define>
15812 
15813 <!-- Used in: text-bibliography-configuration -->
15814 <!-- Next: text-bibliography-configuration-attlist -->
15815 <define name="text-bibliography-configuration-attlist" combine="interleave">
15816     <optional>
15817         <attribute name="text:prefix">
15818             <ref name="string"/>
15819         </attribute>
15820     </optional>
15821     <optional>
15822         <attribute name="text:suffix">
15823             <ref name="string"/>
15824         </attribute>
15825     </optional>
15826 </define>
15827 
15828 <!-- Used in: text-bibliography-configuration -->
15829 <!-- Next: text-bibliography-configuration-attlist -->
15830 <define name="text-bibliography-configuration-attlist" combine="interleave">
15831     <optional>
15832         <attribute name="text:numbered-entries" a:defaultValue="false">
15833             <ref name="boolean"/>
15834         </attribute>
15835     </optional>
15836 </define>
15837 
15838 <!-- Used in: text-bibliography-configuration -->
15839 <define name="text-bibliography-configuration-attlist" combine="interleave">
15840     <optional>
15841         <attribute name="text:sort-by-position" a:defaultValue="true">
15842             <ref name="boolean"/>
15843         </attribute>
15844     </optional>
15845     <optional>
15846         <attribute name="fo:language">
15847             <ref name="languageCode"/>
15848         </attribute>
15849     </optional>
15850     <optional>
15851         <attribute name="fo:country">
15852             <ref name="countryCode"/>
15853         </attribute>
15854     </optional>
15855     <optional>
15856         <attribute name="text:sort-algorithm">
15857             <ref name="string"/>
15858         </attribute>
15859     </optional>
15860 </define>
15861 
15862 <!-- Used in: text-bibliography-configuration -->
15863 <define name="text-sort-key">
15864     <element name="text:sort-key">
15865         <ref name="text-sort-key-attlist"/>
15866         <empty/>
15867     </element>
15868 </define>
15869 
15870 
15871 <!-- Used in: text-sort-key -->
15872 <define name="text-sort-key-attlist" combine="interleave">
15873     <attribute name="text:key">
15874         <choice>
15875             <value>address</value>
15876             <value>annote</value>
15877             <value>author</value>
15878             <value>bibliography-type</value>
15879             <value>booktitle</value>
15880             <value>chapter</value>
15881             <value>custom1</value>
15882             <value>custom2</value>
15883             <value>custom3</value>
15884             <value>custom4</value>
15885             <value>custom5</value>
15886             <value>edition</value>
15887             <value>editor</value>
15888             <value>howpublished</value>
15889             <value>identifier</value>
15890             <value>institution</value>
15891             <value>isbn</value>
15892             <value>issn</value>
15893             <value>journal</value>
15894             <value>month</value>
15895             <value>note</value>
15896             <value>number</value>
15897             <value>organizations</value>
15898             <value>pages</value>
15899             <value>publisher</value>
15900             <value>report-type</value>
15901             <value>school</value>
15902             <value>series</value>
15903             <value>title</value>
15904             <value>url</value>
15905             <value>volume</value>
15906             <value>year</value>
15907         </choice>
15908     </attribute>
15909     <optional>
15910         <attribute name="text:sort-ascending" a:defaultValue="true">
15911             <ref name="boolean"/>
15912         </attribute>
15913     </optional>
15914 </define>
15915 
15916 <!-- Used in: styles, style-graphic-properties-elements -->
15917 <define name="text-list-style">
15918     <element name="text:list-style">
15919         <ref name="text-list-style-attr"/>
15920         <zeroOrMore>
15921             <ref name="text-list-style-content"/>
15922         </zeroOrMore>
15923     </element>
15924 </define>
15925 
15926 <!-- Used in: text-list-style -->
15927 <!-- Next: text-list-style-attr -->
15928 <define name="text-list-style-attr" combine="interleave">
15929     <attribute name="style:name">
15930         <ref name="styleName"/>
15931     </attribute>
15932 </define>
15933 
15934 <!-- Used in: text-list-style -->
15935 <!-- Next: text-list-style-attr -->
15936 <define name="text-list-style-attr" combine="interleave">
15937     <optional>
15938         <attribute name="style:display-name">
15939             <ref name="string"/>
15940         </attribute>
15941     </optional>
15942 </define>
15943 
15944 <!-- Used in: text-list-style -->
15945 <define name="text-list-style-attr" combine="interleave">
15946     <optional>
15947         <attribute name="text:consecutive-numbering" a:defaultValue="false">
15948             <ref name="boolean"/>
15949         </attribute>
15950     </optional>
15951 </define>
15952 
15953 <!-- Used in: text-list-style-content, text-list-style-content, text-list-style-content -->
15954 <define name="text-list-level-style-attr">
15955     <attribute name="text:level">
15956         <ref name="positiveInteger"/>
15957     </attribute>
15958 </define>
15959 
15960 <!-- Used in: text-list-style -->
15961 <!-- Next: text-list-style-content -->
15962 <define name="text-list-style-content" combine="choice">
15963     <element name="text:list-level-style-number">
15964         <ref name="text-list-level-style-attr"/>
15965         <ref name="text-list-level-style-number-attr"/>
15966         <optional>
15967             <ref name="style-list-level-properties"/>
15968         </optional>
15969         <optional>
15970             <ref name="style-text-properties"/>
15971         </optional>
15972     </element>
15973 </define>
15974 
15975 <!-- Used in: text-list-style-content -->
15976 <!-- Next: text-list-level-style-number-attr -->
15977 <define name="text-list-level-style-number-attr" combine="interleave">
15978     <optional>
15979         <attribute name="text:style-name">
15980             <ref name="styleNameRef"/>
15981         </attribute>
15982     </optional>
15983 </define>
15984 
15985 <!-- Used in: text-list-style-content -->
15986 <!-- Next: text-list-level-style-number-attr -->
15987 <define name="text-list-level-style-number-attr" combine="interleave">
15988     <ref name="common-num-format-attlist"/>
15989     <ref name="common-num-format-prefix-suffix-attlist"/>
15990 </define>
15991 
15992 <!-- Used in: text-list-style-content -->
15993 <!-- Next: text-list-level-style-number-attr -->
15994 <define name="text-list-level-style-number-attr" combine="interleave">
15995     <optional>
15996         <attribute name="text:display-levels" a:defaultValue="1">
15997             <ref name="positiveInteger"/>
15998         </attribute>
15999     </optional>
16000 </define>
16001 
16002 <!-- Used in: text-list-style-content -->
16003 <define name="text-list-level-style-number-attr" combine="interleave">
16004     <optional>
16005         <attribute name="text:start-value" a:defaultValue="1">
16006             <ref name="positiveInteger"/>
16007         </attribute>
16008     </optional>
16009 </define>
16010 
16011 <!-- Used in: text-list-style -->
16012 <!-- Next: text-list-style-content -->
16013 <define name="text-list-style-content" combine="choice">
16014     <element name="text:list-level-style-bullet">
16015         <ref name="text-list-level-style-attr"/>
16016         <ref name="text-list-level-style-bullet-attr"/>
16017         <optional>
16018             <ref name="style-list-level-properties"/>
16019         </optional>
16020         <optional>
16021             <ref name="style-text-properties"/>
16022         </optional>
16023     </element>
16024 </define>
16025 
16026 <!-- Used in: text-list-style-content -->
16027 <!-- Next: text-list-level-style-bullet-attr -->
16028 <define name="text-list-level-style-bullet-attr" combine="interleave">
16029     <optional>
16030         <attribute name="text:style-name">
16031             <ref name="styleNameRef"/>
16032         </attribute>
16033     </optional>
16034 </define>
16035 
16036 <!-- Used in: text-list-style-content -->
16037 <!-- Next: text-list-level-style-bullet-attr -->
16038 <define name="text-list-level-style-bullet-attr" combine="interleave">
16039     <attribute name="text:bullet-char">
16040         <ref name="character"/>
16041     </attribute>
16042 </define>
16043 
16044 <!-- Used in: text-list-style-content -->
16045 <!-- Next: text-list-level-style-bullet-attr -->
16046 <define name="text-list-level-style-bullet-attr" combine="interleave">
16047     <ref name="common-num-format-prefix-suffix-attlist"/>
16048 </define>
16049 
16050 <!-- Used in: text-list-style-content -->
16051 <define name="text-list-level-style-bullet-attr" combine="interleave">
16052     <optional>
16053         <attribute name="text:bullet-relative-size">
16054             <ref name="percent"/>
16055         </attribute>
16056     </optional>
16057 </define>
16058 
16059 <!-- Used in: text-list-style -->
16060 <define name="text-list-style-content" combine="choice">
16061     <element name="text:list-level-style-image">
16062         <ref name="text-list-level-style-attr"/>
16063         <ref name="text-list-level-style-image-attr"/>
16064         <optional>
16065             <ref name="style-list-level-properties"/>
16066         </optional>
16067     </element>
16068 </define>
16069 
16070 <!-- Used in: text-list-style-content -->
16071 <define name="text-list-level-style-image-attr" combine="interleave">
16072     <choice>
16073         <ref name="common-draw-data-attlist"/>
16074         <ref name="office-binary-data"/>
16075     </choice>
16076 </define>
16077 
16078 <!-- Used in: office-styles -->
16079 <define name="text-outline-style">
16080     <element name="text:outline-style">
16081         <oneOrMore>
16082             <ref name="text-outline-level-style"/>
16083         </oneOrMore>
16084     </element>
16085 </define>
16086 
16087 <!-- Used in: text-outline-style -->
16088 <define name="text-outline-level-style">
16089     <element name="text:outline-level-style">
16090         <ref name="text-outline-level-style-attlist"/>
16091         <optional>
16092             <ref name="style-list-level-properties"/>
16093         </optional>
16094         <optional>
16095             <ref name="style-text-properties"/>
16096         </optional>
16097     </element>
16098 </define>
16099 
16100 <!-- Used in: text-outline-level-style -->
16101 <!-- Next: text-outline-level-style-attlist -->
16102 <define name="text-outline-level-style-attlist" combine="interleave">
16103     <attribute name="text:level">
16104         <ref name="positiveInteger"/>
16105     </attribute>
16106 </define>
16107 
16108 <!-- Used in: text-outline-level-style -->
16109 <!-- Next: text-outline-level-style-attlist -->
16110 <define name="text-outline-level-style-attlist" combine="interleave">
16111     <optional>
16112         <attribute name="text:style-name">
16113             <ref name="styleNameRef"/>
16114         </attribute>
16115     </optional>
16116 </define>
16117 
16118 <!-- Used in: text-outline-level-style -->
16119 <!-- Next: text-outline-level-style-attlist -->
16120 <define name="text-outline-level-style-attlist" combine="interleave">
16121     <ref name="common-num-format-attlist"/>
16122     <ref name="common-num-format-prefix-suffix-attlist"/>
16123 </define>
16124 
16125 <!-- Used in: text-outline-level-style -->
16126 <!-- Next: text-outline-level-style-attlist -->
16127 <define name="text-outline-level-style-attlist" combine="interleave">
16128     <optional>
16129         <attribute name="text:display-levels" a:defaultValue="1">
16130             <ref name="positiveInteger"/>
16131         </attribute>
16132     </optional>
16133 </define>
16134 
16135 <!-- Used in: text-outline-level-style -->
16136 <define name="text-outline-level-style-attlist" combine="interleave">
16137     <optional>
16138         <attribute name="text:start-value" a:defaultValue="1">
16139             <ref name="positiveInteger"/>
16140         </attribute>
16141     </optional>
16142 </define>
16143 
16144 <!-- Used in: style-style, style-default-style -->
16145 <!-- Next: style-style-content -->
16146 <define name="style-style-content" combine="choice">
16147     <group>
16148         <attribute name="style:family">
16149             <value>table</value>
16150         </attribute>
16151         <optional>
16152             <ref name="style-table-properties"/>
16153         </optional>
16154     </group>
16155 </define>
16156 
16157 <!-- Used in: style-style, style-default-style -->
16158 <!-- Next: style-style-content -->
16159 <define name="style-style-content" combine="choice">
16160     <group>
16161         <attribute name="style:family">
16162             <value>table-column</value>
16163         </attribute>
16164         <optional>
16165             <ref name="style-table-column-properties"/>
16166         </optional>
16167     </group>
16168 </define>
16169 
16170 <!-- Used in: style-style, style-default-style -->
16171 <!-- Next: style-style-content -->
16172 <define name="style-style-content" combine="choice">
16173     <group>
16174         <attribute name="style:family">
16175             <value>table-row</value>
16176         </attribute>
16177         <optional>
16178             <ref name="style-table-row-properties"/>
16179         </optional>
16180     </group>
16181 </define>
16182 
16183 <!-- Used in: style-style, style-default-style -->
16184 <!-- Next: style-style-content -->
16185 <define name="style-style-content" combine="choice">
16186     <group>
16187         <attribute name="style:family">
16188             <value>table-cell</value>
16189         </attribute>
16190         <optional>
16191             <ref name="style-table-cell-properties"/>
16192         </optional>
16193         <optional>
16194             <ref name="style-paragraph-properties"/>
16195         </optional>
16196         <optional>
16197             <ref name="style-text-properties"/>
16198         </optional>
16199     </group>
16200 </define>
16201 
16202 <!-- Used in: style-style, style-default-style -->
16203 <!-- Next: style-style-content -->
16204 <define name="style-style-content" combine="choice">
16205     <group>
16206         <attribute name="style:family">
16207             <choice>
16208                 <value>graphic</value>
16209                 <value>presentation</value>
16210             </choice>
16211         </attribute>
16212         <optional>
16213             <ref name="style-graphic-properties"/>
16214         </optional>
16215         <optional>
16216             <ref name="style-paragraph-properties"/>
16217         </optional>
16218         <optional>
16219             <ref name="style-text-properties"/>
16220         </optional>
16221     </group>
16222 </define>
16223 
16224 
16225 <!-- Used in: style-style-content, style-style-content -->
16226 <define name="style-graphic-properties">
16227     <element name="style:graphic-properties">
16228         <ref name="style-graphic-properties-content"/>
16229     </element>
16230 </define>
16231 
16232 
16233 <!-- Used in: style-graphic-properties -->
16234 <define name="style-graphic-properties-content">
16235     <ref name="style-properties-content"/>
16236 </define>
16237 
16238 
16239 <define name="style-graphic-properties-content-strict">
16240     <ref name="style-graphic-properties-attlist"/>
16241     <ref name="style-graphic-fill-properties-attlist"/>
16242     <ref name="style-graphic-properties-elements"/>
16243 </define>
16244 
16245 
16246 <define name=" style-graphic-properties-elements">
16247     <empty/>
16248 </define>
16249 
16250 <!-- Used in: style-style, style-default-style -->
16251 <!-- Next: style-style-content -->
16252 <define name="style-style-content" combine="choice">
16253     <group>
16254         <attribute name="style:family">
16255             <value>drawing-page</value>
16256         </attribute>
16257         <optional>
16258             <ref name="style-drawing-page-properties"/>
16259         </optional>
16260     </group>
16261 </define>
16262 
16263 
16264 <!-- Used in: style-style-content -->
16265 <define name="style-drawing-page-properties">
16266     <element name="style:drawing-page-properties">
16267         <ref name="style-drawing-page-properties-content"/>
16268     </element>
16269 </define>
16270 
16271 
16272 <!-- Used in: style-drawing-page-properties -->
16273 <define name="style-drawing-page-properties-content">
16274     <ref name="style-properties-content"/>
16275 </define>
16276 
16277 
16278 <define name="style-drawing-page-properties-content-strict">
16279     <ref name="style-graphic-fill-properties-attlist"/>
16280     <ref name="style-drawing-page-properties-attlist"/>
16281     <ref name="style-drawing-page-properties-elements"/>
16282 </define>
16283 
16284 <!-- Used in: office-styles -->
16285 <define name="draw-gradient">
16286     <element name="draw:gradient">
16287         <ref name="common-draw-gradient-attlist"/>
16288         <ref name="draw-gradient-attlist"/>
16289         <empty/>
16290     </element>
16291 </define>
16292 
16293 <!-- Used in: draw-gradient, draw-opacity -->
16294 <!-- Next: common-draw-gradient-attlist -->
16295 <define name="common-draw-gradient-attlist" combine="interleave">
16296     <optional>
16297         <attribute name="draw:name">
16298             <ref name="styleName"/>
16299         </attribute>
16300     </optional>
16301 </define>
16302 
16303 <!-- Used in: draw-gradient, draw-opacity -->
16304 <!-- Next: common-draw-gradient-attlist -->
16305 <define name="common-draw-gradient-attlist" combine="interleave">
16306     <optional>
16307         <attribute name="draw:display-name">
16308             <ref name="string"/>
16309         </attribute>
16310     </optional>
16311 </define>
16312 
16313 <!-- Used in: draw-gradient, draw-opacity -->
16314 <!-- Next: common-draw-gradient-attlist -->
16315 <define name="common-draw-gradient-attlist" combine="interleave">
16316     <attribute name="draw:style">
16317         <ref name="gradient-style"/>
16318     </attribute>
16319 </define>
16320 
16321 <!-- Used in: common-draw-gradient-attlist -->
16322 <define name="gradient-style">
16323     <choice>
16324         <value>linear</value>
16325         <value>axial</value>
16326         <value>radial</value>
16327         <value>ellipsoid</value>
16328         <value>square</value>
16329         <value>rectangular</value>
16330     </choice>
16331 </define>
16332 
16333 <!-- Used in: draw-gradient, draw-opacity -->
16334 <!-- Next: common-draw-gradient-attlist -->
16335 <define name="common-draw-gradient-attlist" combine="interleave">
16336     <optional>
16337         <attribute name="draw:cx">
16338             <ref name="percent"/>
16339         </attribute>
16340     </optional>
16341     <optional>
16342         <attribute name="draw:cy">
16343             <ref name="percent"/>
16344         </attribute>
16345     </optional>
16346 </define>
16347 
16348 <!-- Used in: draw-gradient -->
16349 <!-- Next: draw-gradient-attlist -->
16350 <define name="draw-gradient-attlist" combine="interleave">
16351     <optional>
16352         <attribute name="draw:start-color">
16353             <ref name="color"/>
16354         </attribute>
16355     </optional>
16356     <optional>
16357         <attribute name="draw:end-color">
16358             <ref name="color"/>
16359         </attribute>
16360     </optional>
16361 </define>
16362 
16363 <!-- Used in: draw-gradient -->
16364 <define name="draw-gradient-attlist" combine="interleave">
16365     <optional>
16366         <attribute name="draw:start-intensity">
16367             <ref name="percent"/>
16368         </attribute>
16369     </optional>
16370     <optional>
16371         <attribute name="draw:end-intensity">
16372             <ref name="percent"/>
16373         </attribute>
16374     </optional>
16375 </define>
16376 
16377 <!-- Used in: draw-gradient, draw-opacity -->
16378 <!-- Next: common-draw-gradient-attlist -->
16379 <define name="common-draw-gradient-attlist" combine="interleave">
16380     <optional>
16381         <attribute name="draw:angle">
16382             <ref name="integer"/>
16383         </attribute>
16384     </optional>
16385 </define>
16386 
16387 <!-- Used in: draw-gradient, draw-opacity -->
16388 <define name="common-draw-gradient-attlist" combine="interleave">
16389     <optional>
16390         <attribute name="draw:border">
16391             <ref name="percent"/>
16392         </attribute>
16393     </optional>
16394 </define>
16395 
16396 <!-- Used in: office-styles -->
16397 <define name="svg-linearGradient">
16398     <element name="svg:linearGradient">
16399         <ref name="common-svg-gradient-attlist"/>
16400         <optional>
16401             <attribute name="svg:x1" a:defaultValue="0%">
16402                 <choice>
16403                     <ref name="coordinate"/>
16404                     <ref name="percent"/>
16405                 </choice>                
16406             </attribute>
16407         </optional>
16408         <optional>
16409             <attribute name="svg:y1" a:defaultValue="0%">
16410                 <choice>
16411                     <ref name="coordinate"/>
16412                     <ref name="percent"/>
16413                 </choice>                
16414             </attribute>
16415         </optional>
16416         <optional>
16417             <attribute name="svg:x2" a:defaultValue="100%">
16418                 <choice>
16419                     <ref name="coordinate"/>
16420                     <ref name="percent"/>
16421                 </choice>                
16422             </attribute>
16423         </optional>
16424         <optional>
16425             <attribute name="svg:y2" a:defaultValue="100%">
16426                 <choice>
16427                     <ref name="coordinate"/>
16428                     <ref name="percent"/>
16429                 </choice>                
16430             </attribute>
16431         </optional>
16432         <zeroOrMore>
16433             <ref name="svg-stop"/>
16434         </zeroOrMore>
16435     </element>
16436 </define>
16437 
16438 
16439 <!-- Used in: office-styles -->
16440 <define name="svg-radialGradient">
16441     <element name="svg:radialGradient">
16442         <ref name="common-svg-gradient-attlist"/>
16443         <optional>
16444             <attribute name="svg:cx" a:defaultValue="50%">
16445                 <choice>
16446                     <ref name="coordinate"/>
16447                     <ref name="percent"/>
16448                 </choice>                
16449             </attribute>
16450         </optional>
16451         <optional>
16452             <attribute name="svg:cy" a:defaultValue="50%">
16453                 <choice>
16454                     <ref name="coordinate"/>
16455                     <ref name="percent"/>
16456                 </choice>                
16457             </attribute>
16458         </optional>
16459         <optional>
16460             <attribute name="svg:r" a:defaultValue="50%">
16461                 <choice>
16462                     <ref name="coordinate"/>
16463                     <ref name="percent"/>
16464                 </choice>                
16465             </attribute>
16466         </optional>
16467         <optional>
16468             <attribute name="svg:fx">
16469                 <choice>
16470                     <ref name="coordinate"/>
16471                     <ref name="percent"/>
16472                 </choice>                
16473             </attribute>
16474         </optional>
16475         <optional>
16476             <attribute name="svg:fy">
16477                 <choice>
16478                     <ref name="coordinate"/>
16479                     <ref name="percent"/>
16480                 </choice>                
16481             </attribute>
16482         </optional>
16483         <zeroOrMore>
16484             <ref name="svg-stop"/>
16485         </zeroOrMore>
16486     </element>
16487 </define>
16488 
16489 
16490 <!-- Used in: svg-linearGradient, svg-radialGradient -->
16491 <define name="svg-stop">
16492     <element name="svg:stop">
16493         <attribute name="svg:offset">
16494             <choice>
16495                 <ref name="double"/>
16496                 <ref name="percent"/>
16497             </choice>
16498         </attribute>
16499         <optional>
16500             <attribute name="svg:stop-color">
16501                 <ref name="color"/>
16502             </attribute>
16503         </optional>
16504         <optional>
16505             <attribute name="svg:stop-opacity">
16506                 <ref name="double"/>
16507             </attribute>
16508         </optional>
16509     </element>
16510 </define>
16511 
16512 
16513 <!-- Used in: svg-linearGradient, svg-radialGradient -->
16514 <!-- Next: common-svg-gradient-attlist -->
16515 <define name="common-svg-gradient-attlist" combine="interleave">
16516     <optional>
16517         <attribute name="svg:gradientUnits" a:defaultValue="objectBoundingBox">
16518             <value>objectBoundingBox</value>
16519         </attribute>
16520     </optional>
16521     <optional>
16522         <attribute name="svg:gradientTransform">
16523             <ref name="string"/>
16524         </attribute>
16525     </optional>
16526     <optional>
16527         <attribute name="svg:spreadMethod" a:defaultValue="pad">
16528             <choice>
16529                 <value>pad</value>
16530                 <value>reflect</value>
16531                 <value>repeat</value>
16532             </choice>
16533         </attribute>
16534     </optional>
16535 </define>
16536 
16537 <!-- Used in: svg-linearGradient, svg-radialGradient -->
16538 <!-- Next: common-svg-gradient-attlist -->
16539 <define name="common-svg-gradient-attlist" combine="interleave">
16540     <attribute name="draw:name">
16541         <ref name="styleName"/>
16542     </attribute>
16543 </define>
16544 
16545 <!-- Used in: svg-linearGradient, svg-radialGradient -->
16546 <define name="common-svg-gradient-attlist" combine="interleave">
16547     <optional>
16548         <attribute name="draw:display-name">
16549             <ref name="string"/>
16550         </attribute>
16551     </optional>
16552 </define>
16553 
16554 <!-- Used in: office-styles -->
16555 <define name="draw-hatch">
16556     <element name="draw:hatch">
16557         <ref name="draw-hatch-attlist"/>
16558         <empty/>
16559     </element>
16560 </define>
16561 
16562 <!-- Used in: draw-hatch -->
16563 <!-- Next: draw-hatch-attlist -->
16564 <define name="draw-hatch-attlist" combine="interleave">
16565     <attribute name="draw:name">
16566         <ref name="styleName"/>
16567     </attribute>
16568 </define>
16569 
16570 <!-- Used in: draw-hatch -->
16571 <!-- Next: draw-hatch-attlist -->
16572 <define name="draw-hatch-attlist" combine="interleave">
16573     <optional>
16574         <attribute name="draw:display-name">
16575             <ref name="string"/>
16576         </attribute>
16577     </optional>
16578 </define>
16579 
16580 <!-- Used in: draw-hatch -->
16581 <!-- Next: draw-hatch-attlist -->
16582 <define name="draw-hatch-attlist" combine="interleave">
16583     <attribute name="draw:style">
16584         <choice>
16585             <value>single</value>
16586             <value>double</value>
16587             <value>triple</value>
16588         </choice>
16589     </attribute>
16590 </define>
16591 
16592 <!-- Used in: draw-hatch -->
16593 <!-- Next: draw-hatch-attlist -->
16594 <define name="draw-hatch-attlist" combine="interleave">
16595     <optional>
16596         <attribute name="draw:color">
16597             <ref name="color"/>
16598         </attribute>
16599     </optional>
16600 </define>
16601 
16602 <!-- Used in: draw-hatch -->
16603 <!-- Next: draw-hatch-attlist -->
16604 <define name="draw-hatch-attlist" combine="interleave">
16605     <optional>
16606         <attribute name="draw:distance">
16607             <ref name="length"/>
16608         </attribute>
16609     </optional>
16610 </define>
16611 
16612 <!-- Used in: draw-hatch -->
16613 <define name="draw-hatch-attlist" combine="interleave">
16614     <optional>
16615         <attribute name="draw:rotation">
16616             <ref name="integer"/>
16617         </attribute>
16618     </optional>
16619 </define>
16620 
16621 <!-- Used in: office-styles -->
16622 <define name="draw-fill-image">
16623     <element name="draw:fill-image">
16624         <ref name="draw-fill-image-attlist"/>
16625         <attribute name="xlink:href">
16626             <ref name="anyURI"/>
16627         </attribute>
16628         <optional>
16629             <attribute name="xlink:type" a:defaultValue="simple">
16630                 <choice>
16631                     <value>simple</value>
16632                 </choice>
16633             </attribute>
16634         </optional>
16635         <optional>
16636             <attribute name="xlink:show" a:defaultValue="embed">
16637                 <choice>
16638                     <value>embed</value>
16639                 </choice>
16640             </attribute>
16641         </optional>
16642         <optional>
16643             <attribute name="xlink:actuate" a:defaultValue="onLoad">
16644                 <choice>
16645                     <value>onLoad</value>
16646                 </choice>
16647             </attribute>
16648         </optional>
16649         <empty/>
16650     </element>
16651 </define>
16652 
16653 <!-- Used in: draw-fill-image -->
16654 <!-- Next: draw-fill-image-attlist -->
16655 <define name="draw-fill-image-attlist" combine="interleave">
16656     <attribute name="draw:name">
16657         <ref name="styleName"/>
16658     </attribute>
16659 </define>
16660 
16661 <!-- Used in: draw-fill-image -->
16662 <!-- Next: draw-fill-image-attlist -->
16663 <define name="draw-fill-image-attlist" combine="interleave">
16664     <optional>
16665         <attribute name="draw:display-name">
16666             <ref name="string"/>
16667         </attribute>
16668     </optional>
16669 </define>
16670 
16671 <!-- Used in: draw-fill-image -->
16672 <define name="draw-fill-image-attlist" combine="interleave">
16673     <optional>
16674         <attribute name="svg:width">
16675             <ref name="length"/>
16676         </attribute>
16677     </optional>
16678     <optional>
16679         <attribute name="svg:height">
16680             <ref name="length"/>
16681         </attribute>
16682     </optional>
16683 </define>
16684 
16685 <!-- Used in: office-styles -->
16686 <define name="draw-opacity">
16687     <element name="draw:opacity">
16688         <ref name="common-draw-gradient-attlist"/>
16689         <ref name="draw-opacity-attlist"/>
16690         <empty/>
16691     </element>
16692 </define>
16693 
16694 <!-- Used in: draw-opacity -->
16695 <define name="draw-opacity-attlist" combine="interleave">
16696     <optional>
16697         <attribute name="draw:start">
16698             <ref name="percent"/>
16699         </attribute>
16700     </optional>
16701     <optional>
16702         <attribute name="draw:end">
16703             <ref name="percent"/>
16704         </attribute>
16705     </optional>
16706 </define>
16707 
16708 <!-- Used in: office-styles -->
16709 <define name="draw-marker">
16710     <element name="draw:marker">
16711         <ref name="draw-marker-attlist"/>
16712         <ref name="common-draw-viewbox-attlist"/>
16713         <ref name="common-draw-path-data-attlist"/>
16714         <empty/>
16715     </element>
16716 </define>
16717 
16718 <!-- Used in: draw-marker -->
16719 <!-- Next: draw-marker-attlist -->
16720 <define name="draw-marker-attlist" combine="interleave">
16721     <attribute name="draw:name">
16722         <ref name="styleName"/>
16723     </attribute>
16724 </define>
16725 
16726 <!-- Used in: draw-marker -->
16727 <define name="draw-marker-attlist" combine="interleave">
16728     <optional>
16729         <attribute name="draw:display-name">
16730             <ref name="string"/>
16731         </attribute>
16732     </optional>
16733 </define>
16734 
16735 <!-- Used in: office-styles -->
16736 <define name="draw-stroke-dash">
16737     <element name="draw:stroke-dash">
16738         <ref name="draw-stroke-dash-attlist"/>
16739         <empty/>
16740     </element>
16741 </define>
16742 
16743 <!-- Used in: draw-stroke-dash -->
16744 <!-- Next: draw-stroke-dash-attlist -->
16745 <define name="draw-stroke-dash-attlist" combine="interleave">
16746     <attribute name="draw:name">
16747         <ref name="styleName"/>
16748     </attribute>
16749 </define>
16750 
16751 <!-- Used in: draw-stroke-dash -->
16752 <!-- Next: draw-stroke-dash-attlist -->
16753 <define name="draw-stroke-dash-attlist" combine="interleave">
16754     <optional>
16755         <attribute name="draw:display-name">
16756             <ref name="string"/>
16757         </attribute>
16758     </optional>
16759 </define>
16760 
16761 <!-- Used in: draw-stroke-dash -->
16762 <!-- Next: draw-stroke-dash-attlist -->
16763 <define name="draw-stroke-dash-attlist" combine="interleave">
16764     <optional>
16765         <attribute name="draw:style">
16766             <choice>
16767                 <value>rect</value>
16768                 <value>round</value>
16769             </choice>
16770         </attribute>
16771     </optional>
16772 </define>
16773 
16774 <!-- Used in: draw-stroke-dash -->
16775 <!-- Next: draw-stroke-dash-attlist -->
16776 <define name="draw-stroke-dash-attlist" combine="interleave">
16777     <optional>
16778         <attribute name="draw:dots1">
16779             <ref name="integer"/>
16780         </attribute>
16781     </optional>
16782     <optional>
16783         <attribute name="draw:dots1-length">
16784             <ref name="length"/>
16785         </attribute>
16786     </optional>
16787     <optional>
16788         <attribute name="draw:dots2">
16789             <ref name="integer"/>
16790         </attribute>
16791     </optional>
16792     <optional>
16793         <attribute name="draw:dots2-length">
16794             <ref name="length"/>
16795         </attribute>
16796     </optional>
16797 </define>
16798 
16799 <!-- Used in: draw-stroke-dash -->
16800 <define name="draw-stroke-dash-attlist" combine="interleave">
16801     <optional>
16802         <attribute name="draw:distance">
16803             <ref name="length"/>
16804         </attribute>
16805     </optional>
16806 </define>
16807 
16808 <!-- Used in: office-styles -->
16809 <define name="style-presentation-page-layout">
16810     <element name="style:presentation-page-layout">
16811         <attribute name="style:name">
16812             <ref name="styleName"/>
16813         </attribute>
16814         <optional>
16815             <attribute name="style:display-name">
16816                 <ref name="string"/>
16817             </attribute>
16818         </optional>
16819         <zeroOrMore>
16820             <ref name="presentation-placeholder"/>
16821         </zeroOrMore>
16822     </element>
16823 </define>
16824 
16825 <!-- Used in: style-presentation-page-layout -->
16826 <define name="presentation-placeholder">
16827     <element name="presentation:placeholder">
16828         <attribute name="presentation:object">
16829             <ref name="presentation-classes"/>
16830         </attribute>
16831         <attribute name="svg:x">
16832             <choice>
16833                 <ref name="coordinate"/>
16834                 <ref name="percent"/>
16835             </choice>
16836         </attribute>
16837         <attribute name="svg:y">
16838             <choice>
16839                 <ref name="coordinate"/>
16840                 <ref name="percent"/>
16841             </choice>
16842         </attribute>
16843         <attribute name="svg:width">
16844             <choice>
16845                 <ref name="length"/>
16846                 <ref name="percent"/>
16847             </choice>
16848         </attribute>
16849         <attribute name="svg:height">
16850             <choice>
16851                 <ref name="length"/>
16852                 <ref name="percent"/>
16853             </choice>
16854         </attribute>
16855         <empty/>
16856     </element>
16857 </define>
16858 
16859 <!-- Used in: style-style, style-default-style -->
16860 <define name="style-style-content" combine="choice">
16861     <group>
16862         <attribute name="style:family">
16863             <value>chart</value>
16864         </attribute>
16865         <optional>
16866             <ref name="style-chart-properties"/>
16867         </optional>
16868         <optional>
16869             <ref name="style-graphic-properties"/>
16870         </optional>
16871         <optional>
16872             <ref name="style-paragraph-properties"/>
16873         </optional>
16874         <optional>
16875             <ref name="style-text-properties"/>
16876         </optional>
16877     </group>
16878 </define>
16879 
16880 <!-- Used in: style-graphic-properties-content, style-drawing-page-properties-content, style-page-layout-properties-content, style-header-footer-properties-content, style-text-properties-content, style-paragraph-properties-content, style-ruby-properties-content, style-section-properties-content, style-table-properties-content, style-table-column-properties-content, style-table-row-properties-content, style-table-cell-properties-content, style-list-level-properties-content, style-chart-properties-content -->
16881 <define name="style-properties-content">
16882     <ref name="anyAttListOrElements"/>
16883 </define>
16884 
16885 <!-- Used in: style-page-layout -->
16886 <define name="style-page-layout-properties">
16887     <element name="style:page-layout-properties">
16888         <ref name="style-page-layout-properties-content"/>
16889     </element>
16890 </define>
16891 
16892 
16893 <!-- Used in: style-page-layout-properties -->
16894 <define name="style-page-layout-properties-content">
16895     <ref name="style-properties-content"/>
16896 </define>
16897 
16898 
16899 <define name="style-page-layout-properties-content-strict">
16900     <ref name="style-page-layout-properties-attlist"/>
16901     <ref name="style-page-layout-properties-elements"/>
16902 </define>
16903 
16904 <!-- Used in: style-page-layout-properties-content-strict -->
16905 <!-- Next: style-page-layout-properties-attlist -->
16906 <define name="style-page-layout-properties-attlist" combine="interleave">
16907     <optional>
16908         <attribute name="fo:page-width">
16909             <ref name="length"/>
16910         </attribute>
16911     </optional>
16912     <optional>
16913         <attribute name="fo:page-height">
16914             <ref name="length"/>
16915         </attribute>
16916     </optional>
16917 </define>
16918 
16919 <!-- Used in: style-page-layout-properties-content-strict -->
16920 <!-- Next: style-page-layout-properties-attlist -->
16921 <define name="style-page-layout-properties-attlist" combine="interleave">
16922     <optional>
16923         <ref name="common-num-format-attlist"/>
16924     </optional>
16925     <ref name="common-num-format-prefix-suffix-attlist"/>
16926 </define>
16927 
16928 <!-- Used in: style-page-layout-properties-content-strict -->
16929 <!-- Next: style-page-layout-properties-attlist -->
16930 <define name="style-page-layout-properties-attlist" combine="interleave">
16931     <optional>
16932         <attribute name="style:paper-tray-name">
16933             <choice>
16934                 <value>default</value>
16935                 <ref name="string"/>
16936             </choice>
16937         </attribute>
16938     </optional>
16939 </define>
16940 
16941 <!-- Used in: style-page-layout-properties-content-strict -->
16942 <!-- Next: style-page-layout-properties-attlist -->
16943 <define name="style-page-layout-properties-attlist" combine="interleave">
16944     <optional>
16945         <attribute name="style:print-orientation">
16946             <choice>
16947                 <value>portrait</value>
16948                 <value>landscape</value>
16949             </choice>
16950         </attribute>
16951     </optional>
16952 </define>
16953 
16954 <!-- Used in: style-page-layout-properties-content-strict -->
16955 <!-- Next: style-page-layout-properties-attlist -->
16956 <define name="style-page-layout-properties-attlist" combine="interleave">
16957     <ref name="common-horizontal-margin-attlist"/>
16958     <ref name="common-vertical-margin-attlist"/>
16959     <ref name="common-margin-attlist"/>
16960 </define>
16961 
16962 <!-- Used in: style-page-layout-properties-content-strict -->
16963 <!-- Next: style-page-layout-properties-attlist -->
16964 <define name="style-page-layout-properties-attlist" combine="interleave">
16965     <ref name="common-border-attlist"/>
16966 </define>
16967 
16968 <!-- Used in: style-page-layout-properties-content-strict -->
16969 <!-- Next: style-page-layout-properties-attlist -->
16970 <define name="style-page-layout-properties-attlist" combine="interleave">
16971     <ref name="common-border-line-width-attlist"/>
16972 </define>
16973 
16974 <!-- Used in: style-page-layout-properties-content-strict -->
16975 <!-- Next: style-page-layout-properties-attlist -->
16976 <define name="style-page-layout-properties-attlist" combine="interleave">
16977     <ref name="common-padding-attlist"/>
16978 </define>
16979 
16980 <!-- Used in: style-page-layout-properties-content-strict -->
16981 <!-- Next: style-page-layout-properties-attlist -->
16982 <define name="style-page-layout-properties-attlist" combine="interleave">
16983     <ref name="common-shadow-attlist"/>
16984 </define>
16985 
16986 <!-- Used in: style-page-layout-properties-content-strict -->
16987 <!-- Next: style-page-layout-properties-attlist -->
16988 <define name="style-page-layout-properties-attlist" combine="interleave">
16989     <ref name="common-background-color-attlist"/>
16990 </define>
16991 
16992 <!-- Used in: style-page-layout-properties-content-strict -->
16993 <!-- Next: style-page-layout-properties-elements -->
16994 <define name="style-page-layout-properties-elements" combine="interleave">
16995     <ref name="style-background-image"/>
16996 </define>
16997 
16998 <!-- Used in: style-page-layout-properties-content-strict -->
16999 <!-- Next: style-page-layout-properties-elements -->
17000 <define name="style-page-layout-properties-elements" combine="interleave">
17001     <ref name="style-columns"/>
17002 </define>
17003 
17004 <!-- Used in: style-page-layout-properties-content-strict -->
17005 <!-- Next: style-page-layout-properties-attlist -->
17006 <define name="style-page-layout-properties-attlist" combine="interleave">
17007     <optional>
17008         <attribute name="style:register-truth-ref-style-name">
17009             <ref name="styleNameRef"/>
17010         </attribute>
17011     </optional>
17012 </define>
17013 
17014 <!-- Used in: style-page-layout-properties-content-strict -->
17015 <!-- Next: style-page-layout-properties-attlist -->
17016 <define name="style-page-layout-properties-attlist" combine="interleave">
17017     <optional>
17018         <attribute name="style:print">
17019             <list>
17020                 <zeroOrMore>
17021                     <choice>
17022                         <value>headers</value>
17023                         <value>grid</value>
17024                         <value>annotations</value>
17025                         <value>objects</value>
17026                         <value>charts</value>
17027                         <value>drawings</value>
17028                         <value>formulas</value>
17029                         <value>zero-values</value>
17030                     </choice>
17031                 </zeroOrMore>
17032             </list>
17033         </attribute>
17034     </optional>
17035 </define>
17036 
17037 <!-- Used in: style-page-layout-properties-content-strict -->
17038 <!-- Next: style-page-layout-properties-attlist -->
17039 <define name="style-page-layout-properties-attlist" combine="interleave">
17040     <optional>
17041         <attribute name="style:print-page-order">
17042             <choice>
17043                 <value>ttb</value>
17044                 <value>ltr</value>
17045             </choice>
17046         </attribute>
17047     </optional>
17048 </define>
17049 
17050 <!-- Used in: style-page-layout-properties-content-strict -->
17051 <!-- Next: style-page-layout-properties-attlist -->
17052 <define name="style-page-layout-properties-attlist" combine="interleave">
17053     <optional>
17054         <attribute name="style:first-page-number">
17055             <choice>
17056                 <ref name="positiveInteger"/>
17057                 <value>continue</value>
17058             </choice>
17059         </attribute>
17060     </optional>
17061 </define>
17062 
17063 <!-- Used in: style-page-layout-properties-content-strict -->
17064 <!-- Next: style-page-layout-properties-attlist -->
17065 <define name="style-page-layout-properties-attlist" combine="interleave">
17066     <optional>
17067         <attribute name="style:scale-to">
17068             <ref name="percent"/>
17069         </attribute>
17070     </optional>
17071     <optional>
17072         <attribute name="style:scale-to-pages">
17073             <ref name="positiveInteger"/>
17074         </attribute>
17075     </optional>
17076 </define>
17077 
17078 <!-- Used in: style-page-layout-properties-content-strict -->
17079 <!-- Next: style-page-layout-properties-attlist -->
17080 <define name="style-page-layout-properties-attlist" combine="interleave">
17081     <optional>
17082         <attribute name="style:table-centering">
17083             <choice>
17084                 <value>horizontal</value>
17085                 <value>vertical</value>
17086                 <value>both</value>
17087                 <value>none</value>
17088             </choice>
17089         </attribute>
17090     </optional>
17091 </define>
17092 
17093 <!-- Used in: style-page-layout-properties-content-strict -->
17094 <!-- Next: style-page-layout-properties-attlist -->
17095 <define name="style-page-layout-properties-attlist" combine="interleave">
17096     <optional>
17097         <attribute name="style:footnote-max-height">
17098             <ref name="length"/>
17099         </attribute>
17100     </optional>
17101 </define>
17102 
17103 <!-- Used in: style-page-layout-properties-content-strict -->
17104 <!-- Next: style-page-layout-properties-attlist -->
17105 <define name="style-page-layout-properties-attlist" combine="interleave">
17106     <ref name="common-writing-mode-attlist"/>
17107 </define>
17108 
17109 <!-- Used in: style-page-layout-properties-content-strict -->
17110 <define name="style-page-layout-properties-elements" combine="interleave">
17111     <ref name="style-footnote-sep"/>
17112 </define>
17113 
17114 
17115 <!-- Used in: style-page-layout-properties-elements -->
17116 <define name="style-footnote-sep">
17117     <optional>
17118         <element name="style:footnote-sep">
17119             <ref name="style-footnote-sep-attlist"/>
17120             <empty/>
17121         </element>
17122     </optional>
17123 </define>
17124 
17125 <!-- Used in: style-footnote-sep -->
17126 <define name="style-footnote-sep-attlist" combine="interleave">
17127     <optional>
17128         <attribute name="style:width">
17129             <ref name="length"/>
17130         </attribute>
17131     </optional>
17132     <optional>
17133         <attribute name="style:rel-width">
17134             <ref name="percent"/>
17135         </attribute>
17136     </optional>
17137     <optional>
17138         <attribute name="style:color">
17139             <ref name="color"/>
17140         </attribute>
17141     </optional>
17142     <optional>
17143         <attribute name="style:line-style">
17144             <ref name="lineStyle"/>
17145         </attribute>
17146     </optional>
17147     <optional>
17148         <attribute name="style:adjustment" a:defaultValue="left">
17149             <choice>
17150                 <value>left</value>
17151                 <value>center</value>
17152                 <value>right</value>
17153             </choice>
17154         </attribute>
17155     </optional>
17156     <optional>
17157         <attribute name="style:distance-before-sep">
17158             <ref name="length"/>
17159         </attribute>
17160     </optional>
17161     <optional>
17162         <attribute name="style:distance-after-sep">
17163             <ref name="length"/>
17164         </attribute>
17165     </optional>
17166 </define>
17167 
17168 <!-- Used in: style-page-layout-properties-content-strict -->
17169 <!-- Next: style-page-layout-properties-attlist -->
17170 <define name="style-page-layout-properties-attlist" combine="interleave">
17171     <optional>
17172         <attribute name="style:layout-grid-mode">
17173             <choice>
17174                 <value>none</value>
17175                 <value>line</value>
17176                 <value>both</value>
17177             </choice>
17178         </attribute>
17179     </optional>
17180 </define>
17181 
17182 <!-- Used in: style-page-layout-properties-content-strict -->
17183 <!-- Next: style-page-layout-properties-attlist -->
17184 <define name="style-page-layout-properties-attlist" combine="interleave">
17185     <optional>
17186         <attribute name="style:layout-grid-base-height">
17187             <ref name="length"/>
17188         </attribute>
17189     </optional>
17190 </define>
17191 
17192 <!-- Used in: style-page-layout-properties-content-strict -->
17193 <!-- Next: style-page-layout-properties-attlist -->
17194 <define name="style-page-layout-properties-attlist" combine="interleave">
17195     <optional>
17196         <attribute name="style:layout-grid-ruby-height">
17197             <ref name="length"/>
17198         </attribute>
17199     </optional>
17200 </define>
17201 
17202 <!-- Used in: style-page-layout-properties-content-strict -->
17203 <!-- Next: style-page-layout-properties-attlist -->
17204 <define name="style-page-layout-properties-attlist" combine="interleave">
17205     <optional>
17206         <attribute name="style:layout-grid-lines">
17207             <ref name="positiveInteger"/>
17208         </attribute>
17209     </optional>
17210 </define>
17211 
17212 <!-- Used in: style-page-layout-properties-content-strict -->
17213 <!-- Next: style-page-layout-properties-attlist -->
17214 <define name="style-page-layout-properties-attlist" combine="interleave">
17215     <optional>
17216         <attribute name="style:layout-grid-color">
17217             <ref name="color"/>
17218         </attribute>
17219     </optional>
17220 </define>
17221 
17222 <!-- Used in: style-page-layout-properties-content-strict -->
17223 <!-- Next: style-page-layout-properties-attlist -->
17224 <define name="style-page-layout-properties-attlist" combine="interleave">
17225     <optional>
17226         <attribute name="style:layout-grid-ruby-below">
17227             <ref name="boolean"/>
17228         </attribute>
17229     </optional>
17230 </define>
17231 
17232 <!-- Used in: style-page-layout-properties-content-strict -->
17233 <!-- Next: style-page-layout-properties-attlist -->
17234 <define name="style-page-layout-properties-attlist" combine="interleave">
17235     <optional>
17236         <attribute name="style:layout-grid-print">
17237             <ref name="boolean"/>
17238         </attribute>
17239     </optional>
17240 </define>
17241 
17242 <!-- Used in: style-page-layout-properties-content-strict -->
17243 <define name="style-page-layout-properties-attlist" combine="interleave">
17244     <optional>
17245         <attribute name="style:layout-grid-display">
17246             <ref name="boolean"/>
17247         </attribute>
17248     </optional>
17249 </define>
17250 
17251 <!-- Used in: style-header-style, style-footer-style -->
17252 <define name="style-header-footer-properties">
17253     <element name="style:header-footer-properties">
17254         <ref name="style-header-footer-properties-content"/>
17255     </element>
17256 </define>
17257 
17258 
17259 <!-- Used in: style-header-footer-properties -->
17260 <define name="style-header-footer-properties-content">
17261     <ref name="style-properties-content"/>
17262 </define>
17263 
17264 
17265 <define name="style-header-footer-properties-content-strict">
17266         <ref name="style-header-footer-properties-attlist"/>
17267         <ref name="style-header-footer-properties-elements"/>
17268 </define>
17269 
17270 <!-- Used in: style-header-footer-properties-content-strict -->
17271 <!-- Next: style-header-footer-properties-attlist -->
17272 <define name="style-header-footer-properties-attlist" combine="interleave">
17273     <optional>
17274         <attribute name="svg:height">
17275             <ref name="length"/>
17276         </attribute>
17277     </optional>
17278     <optional>
17279         <attribute name="fo:min-height">
17280             <ref name="length"/>
17281         </attribute>
17282     </optional>
17283 </define>
17284 
17285 <!-- Used in: style-header-footer-properties-content-strict -->
17286 <!-- Next: style-header-footer-properties-attlist -->
17287 <define name="style-header-footer-properties-attlist" combine="interleave">
17288     <ref name="common-horizontal-margin-attlist"/>
17289     <ref name="common-vertical-margin-attlist"/>
17290     <ref name="common-margin-attlist"/>
17291 </define>
17292 
17293 <!-- Used in: style-header-footer-properties-content-strict -->
17294 <!-- Next: style-header-footer-properties-attlist -->
17295 <define name="style-header-footer-properties-attlist" combine="interleave">
17296     <ref name="common-border-attlist"/>
17297 </define>
17298 
17299 <!-- Used in: style-header-footer-properties-content-strict -->
17300 <!-- Next: style-header-footer-properties-attlist -->
17301 <define name="style-header-footer-properties-attlist" combine="interleave">
17302     <ref name="common-border-line-width-attlist"/>
17303 </define>
17304 
17305 <!-- Used in: style-header-footer-properties-content-strict -->
17306 <!-- Next: style-header-footer-properties-attlist -->
17307 <define name="style-header-footer-properties-attlist" combine="interleave">
17308     <ref name="common-padding-attlist"/>
17309 </define>
17310 
17311 <!-- Used in: style-header-footer-properties-content-strict -->
17312 <!-- Next: style-header-footer-properties-attlist -->
17313 <define name="style-header-footer-properties-attlist" combine="interleave">
17314     <ref name="common-background-color-attlist"/>
17315 </define>
17316 
17317 <!-- Used in: style-header-footer-properties-content-strict -->
17318 <define name="style-header-footer-properties-elements" combine="interleave">
17319     <ref name="style-background-image"/>
17320 </define>
17321 
17322 <!-- Used in: style-header-footer-properties-content-strict -->
17323 <define name="style-header-footer-properties-attlist" combine="interleave">
17324     <ref name="common-shadow-attlist"/>
17325 </define>
17326 
17327 <define name="style-header-footer-attlist" combine="interleave">
17328     <optional>
17329         <attribute name="style:dynamic-spacing">
17330             <ref name="boolean"/>
17331         </attribute>
17332     </optional>
17333 </define>
17334 
17335 <!-- Used in: number-number-style, number-currency-style, number-percentage-style, number-date-style, number-time-style, number-boolean-style, number-text-style, style-style-content, style-style-content, text-list-style-content, text-list-style-content, text-outline-level-style, style-style-content, style-style-content, style-style-content -->
17336 <define name="style-text-properties">
17337     <element name="style:text-properties">
17338         <ref name="style-text-properties-content"/>
17339     </element>
17340 </define>
17341 
17342 
17343 <!-- Used in: style-text-properties -->
17344 <define name="style-text-properties-content">
17345     <ref name="style-properties-content"/>
17346 </define>
17347 
17348 
17349 <define name="style-text-properties-content-strict">
17350     <ref name="style-text-properties-attlist"/>
17351     <ref name="style-text-properties-elements"/>
17352 </define>
17353 
17354 
17355 <!-- Used in: style-text-properties-content-strict -->
17356 <define name="style-text-properties-elements">
17357     <empty/>
17358 </define>
17359 
17360 <!-- Used in: style-text-properties-content-strict -->
17361 <!-- Next: style-text-properties-attlist -->
17362 <define name="style-text-properties-attlist" combine="interleave">
17363     <optional>
17364         <attribute name="fo:font-variant">
17365             <ref name="fontVariant"/>
17366         </attribute>
17367     </optional>
17368 </define>
17369 
17370 
17371 <!-- Used in: style-font-face-attlist, style-text-properties-attlist -->
17372 <define name="fontVariant">
17373     <choice>
17374         <value>normal</value>
17375         <value>small-caps</value>
17376     </choice>
17377 </define>
17378 
17379 <!-- Used in: style-text-properties-content-strict -->
17380 <!-- Next: style-text-properties-attlist -->
17381 <define name="style-text-properties-attlist" combine="interleave">
17382     <optional>
17383         <attribute name="fo:text-transform">
17384             <choice>
17385                 <value>none</value>
17386                 <value>lowercase</value>
17387                 <value>uppercase</value>
17388                 <value>capitalize</value>
17389             </choice>
17390         </attribute>
17391     </optional>
17392 </define>
17393 
17394 <!-- Used in: style-text-properties-content-strict -->
17395 <!-- Next: style-text-properties-attlist -->
17396 <define name="style-text-properties-attlist" combine="interleave">
17397     <optional>
17398             <attribute name="fo:color">
17399             <ref name="color"/>
17400         </attribute>
17401     </optional>
17402 </define>
17403 
17404 <!-- Used in: style-text-properties-content-strict -->
17405 <!-- Next: style-text-properties-attlist -->
17406 <define name="style-text-properties-attlist" combine="interleave">
17407     <optional>
17408         <attribute name="style:use-window-font-color">
17409             <ref name="boolean"/>
17410         </attribute>
17411     </optional>
17412 </define>
17413 
17414 <!-- Used in: style-text-properties-content-strict -->
17415 <!-- Next: style-text-properties-attlist -->
17416 <define name="style-text-properties-attlist" combine="interleave">
17417     <optional>
17418         <attribute name="style:text-outline">
17419             <ref name="boolean"/>
17420         </attribute>
17421     </optional>
17422 </define>
17423 
17424 <!-- Used in: style-text-properties-content-strict -->
17425 <!-- Next: style-text-properties-attlist -->
17426 <define name="style-text-properties-attlist" combine="interleave">
17427     <optional>
17428         <attribute name="style:text-line-through-type">
17429             <ref name="lineType"/>
17430         </attribute>
17431     </optional>
17432 </define>
17433 
17434 <!-- Used in: style-text-properties-content-strict -->
17435 <!-- Next: style-text-properties-attlist -->
17436 <define name="style-text-properties-attlist" combine="interleave">
17437     <optional>
17438         <attribute name="style:text-line-through-style">
17439             <ref name="lineStyle"/>
17440         </attribute>
17441     </optional>
17442 </define>
17443 
17444 <!-- Used in: style-text-properties-content-strict -->
17445 <!-- Next: style-text-properties-attlist -->
17446 <define name="style-text-properties-attlist" combine="interleave">
17447     <optional>
17448         <attribute name="style:text-line-through-width">
17449             <ref name="lineWidth"/>
17450         </attribute>
17451     </optional>
17452 </define>
17453 
17454 <!-- Used in: style-text-properties-content-strict -->
17455 <!-- Next: style-text-properties-attlist -->
17456 <define name="style-text-properties-attlist" combine="interleave">
17457     <optional>
17458         <attribute name="style:text-line-through-color">
17459             <choice>
17460                 <value>font-color</value>
17461                 <ref name="color"/>
17462             </choice>
17463         </attribute>
17464     </optional>
17465 </define>
17466 
17467 <!-- Used in: style-text-properties-content-strict -->
17468 <!-- Next: style-text-properties-attlist -->
17469 <define name="style-text-properties-attlist" combine="interleave">
17470     <optional>
17471         <attribute name="style:text-line-through-text">
17472             <ref name="string"/>
17473         </attribute>
17474     </optional>
17475 </define>
17476 
17477 <!-- Used in: style-text-properties-content-strict -->
17478 <!-- Next: style-text-properties-attlist -->
17479 <define name="style-text-properties-attlist" combine="interleave">
17480     <optional>
17481         <attribute name="style:text-line-through-text-style">
17482             <ref name="styleNameRef"/>
17483         </attribute>
17484     </optional>
17485 </define>
17486 
17487 <!-- Used in: style-text-properties-content-strict -->
17488 <!-- Next: style-text-properties-attlist -->
17489 <define name="style-text-properties-attlist" combine="interleave">
17490     <optional>
17491         <attribute name="style:text-position">
17492             <list>
17493                 <choice>
17494                     <ref name="percent"/>
17495                     <value>super</value>
17496                     <value>sub</value>
17497                 </choice>
17498                 <optional>
17499                     <ref name="percent"/>
17500                 </optional>
17501             </list>
17502         </attribute>
17503     </optional>
17504 </define>
17505 
17506 <!-- Used in: style-text-properties-content-strict -->
17507 <!-- Next: style-text-properties-attlist -->
17508 <define name="style-text-properties-attlist" combine="interleave">
17509     <optional>
17510         <attribute name="style:font-name">
17511             <ref name="string"/>
17512         </attribute>
17513     </optional>
17514     <optional>
17515         <attribute name="style:font-name-asian">
17516             <ref name="string"/>
17517         </attribute>
17518     </optional>
17519     <optional>
17520         <attribute name="style:font-name-complex">
17521             <ref name="string"/>
17522         </attribute>
17523     </optional>
17524 </define>
17525 
17526 <!-- Used in: style-text-properties-content-strict -->
17527 <!-- Next: style-text-properties-attlist -->
17528 <define name="style-text-properties-attlist" combine="interleave">
17529     <optional>
17530         <attribute name="fo:font-family">
17531             <ref name="string"/>
17532         </attribute>
17533     </optional>
17534     <optional>
17535         <attribute name="style:font-family-asian">
17536             <ref name="string"/>
17537         </attribute>
17538     </optional>
17539     <optional>
17540         <attribute name="style:font-family-complex">
17541             <ref name="string"/>
17542         </attribute>
17543     </optional>
17544 </define>
17545 
17546 <!-- Used in: style-text-properties-content-strict -->
17547 <!-- Next: style-text-properties-attlist -->
17548 <define name="style-text-properties-attlist" combine="interleave">
17549     <optional>
17550         <attribute name="style:font-family-generic">
17551             <ref name="fontFamilyGeneric"/>
17552         </attribute>
17553     </optional>
17554     <optional>
17555         <attribute name="style:font-family-generic-asian">
17556             <ref name="fontFamilyGeneric"/>
17557         </attribute>
17558     </optional>
17559     <optional>
17560         <attribute name="style:font-family-generic-complex">
17561             <ref name="fontFamilyGeneric"/>
17562         </attribute>
17563     </optional>
17564 </define>
17565 
17566 
17567 <!-- Used in: style-font-face-attlist, style-text-properties-attlist -->
17568 <define name="fontFamilyGeneric">
17569     <choice>
17570         <value>roman</value>
17571         <value>swiss</value>
17572         <value>modern</value>
17573         <value>decorative</value>
17574         <value>script</value>
17575         <value>system</value>
17576     </choice>
17577 </define>
17578 
17579 <!-- Used in: style-text-properties-content-strict -->
17580 <!-- Next: style-text-properties-attlist -->
17581 <define name="style-text-properties-attlist" combine="interleave">
17582     <optional>
17583         <attribute name="style:font-style-name">
17584             <ref name="string"/>
17585         </attribute>
17586     </optional>
17587     <optional>
17588         <attribute name="style:font-style-name-asian">
17589             <ref name="string"/>
17590         </attribute>
17591     </optional>
17592     <optional>
17593         <attribute name="style:font-style-name-complex">
17594             <ref name="string"/>
17595         </attribute>
17596     </optional>
17597 </define>
17598 
17599 <!-- Used in: style-text-properties-content-strict -->
17600 <!-- Next: style-text-properties-attlist -->
17601 <define name="style-text-properties-attlist" combine="interleave">
17602     <optional>
17603         <attribute name="style:font-pitch">
17604             <ref name="fontPitch"/>
17605         </attribute>
17606     </optional>
17607     <optional>
17608         <attribute name="style:font-pitch-asian">
17609             <ref name="fontPitch"/>
17610         </attribute>
17611     </optional>
17612     <optional>
17613         <attribute name="style:font-pitch-complex">
17614             <ref name="fontPitch"/>
17615         </attribute>
17616     </optional>
17617 </define>
17618 
17619 
17620 <!-- Used in: style-font-face-attlist, style-text-properties-attlist -->
17621 <define name="fontPitch">
17622     <choice>
17623         <value>fixed</value>
17624         <value>variable</value>
17625     </choice>
17626 </define>
17627 
17628 <!-- Used in: style-text-properties-content-strict -->
17629 <!-- Next: style-text-properties-attlist -->
17630 <define name="style-text-properties-attlist" combine="interleave">
17631     <optional>
17632         <attribute name="style:font-charset">
17633             <ref name="textEncoding"/>
17634         </attribute>
17635     </optional>
17636 </define>
17637 
17638 
17639 <!-- Used in: style-font-face-attlist, style-text-properties-attlist -->
17640 <define name="textEncoding">
17641     <data type="string">
17642         <param name="pattern">[A-Za-z][A-Za-z0-9._\-]*</param>
17643     </data>
17644 </define>
17645 
17646 <!-- Used in: style-text-properties-content-strict -->
17647 <!-- Next: style-text-properties-attlist -->
17648 <define name="style-text-properties-attlist" combine="interleave">
17649     <optional>
17650         <attribute name="fo:font-size">
17651             <choice>
17652                 <ref name="positiveLength"/>
17653                 <ref name="percent"/>
17654             </choice>
17655         </attribute>
17656     </optional>
17657     <optional>
17658         <attribute name="style:font-size-asian">
17659             <choice>
17660                 <ref name="positiveLength"/>
17661                 <ref name="percent"/>
17662             </choice>
17663         </attribute>
17664     </optional>
17665     <optional>
17666         <attribute name="style:font-size-complex">
17667             <choice>
17668                 <ref name="positiveLength"/>
17669                 <ref name="percent"/>
17670             </choice>
17671         </attribute>
17672     </optional>
17673 </define>
17674 
17675 <!-- Used in: style-text-properties-content-strict -->
17676 <!-- Next: style-text-properties-attlist -->
17677 <define name="style-text-properties-attlist" combine="interleave">
17678     <optional>
17679         <attribute name="style:font-size-rel">
17680             <ref name="length"/>
17681         </attribute>
17682     </optional>
17683     <optional>
17684         <attribute name="style:font-size-rel-asian">
17685             <ref name="length"/>
17686         </attribute>
17687     </optional>
17688     <optional>
17689         <attribute name="style:font-size-rel-complex">
17690             <ref name="length"/>
17691         </attribute>
17692     </optional>
17693 </define>
17694 
17695 <!-- Used in: style-text-properties-content-strict -->
17696 <!-- Next: style-text-properties-attlist -->
17697 <define name="style-text-properties-attlist" combine="interleave">
17698     <optional>
17699         <attribute name="style:script-type">
17700             <choice>
17701                 <value>latin</value>
17702                 <value>asian</value>
17703                 <value>complex</value>
17704                 <value>ignore</value>
17705             </choice>
17706         </attribute>
17707     </optional>
17708 </define>
17709 
17710 <!-- Used in: style-text-properties-content-strict -->
17711 <!-- Next: style-text-properties-attlist -->
17712 <define name="style-text-properties-attlist" combine="interleave">
17713     <optional>
17714         <attribute name="fo:letter-spacing">
17715             <choice>
17716                 <ref name="length"/>
17717                 <value>normal</value>
17718             </choice>
17719         </attribute>
17720     </optional>
17721 </define>
17722 
17723 <!-- Used in: style-text-properties-content-strict -->
17724 <!-- Next: style-text-properties-attlist -->
17725 <define name="style-text-properties-attlist" combine="interleave">
17726     <optional>
17727         <attribute name="fo:language">
17728             <ref name="languageCode"/>
17729         </attribute>
17730     </optional>
17731     <optional>
17732         <attribute name="style:language-asian">
17733             <ref name="languageCode"/>
17734         </attribute>
17735     </optional>
17736     <optional>
17737         <attribute name="style:language-complex">
17738             <ref name="languageCode"/>
17739         </attribute>
17740     </optional>
17741 </define>
17742 
17743 <!-- Used in: style-text-properties-content-strict -->
17744 <!-- Next: style-text-properties-attlist -->
17745 <define name="style-text-properties-attlist" combine="interleave">
17746     <optional>
17747         <attribute name="fo:country">
17748             <ref name="countryCode"/>
17749         </attribute>
17750     </optional>
17751     <optional>
17752         <attribute name="style:country-asian">
17753             <ref name="countryCode"/>
17754         </attribute>
17755     </optional>
17756     <optional>
17757         <attribute name="style:country-complex">
17758             <ref name="countryCode"/>
17759         </attribute>
17760     </optional>
17761 </define>
17762 
17763 <!-- Used in: style-text-properties-content-strict -->
17764 <!-- Next: style-text-properties-attlist -->
17765 <define name="style-text-properties-attlist" combine="interleave">
17766     <optional>
17767         <attribute name="fo:font-style">
17768             <ref name="fontStyle"/>
17769         </attribute>
17770     </optional>
17771     <optional>
17772         <attribute name="style:font-style-asian">
17773             <ref name="fontStyle"/>
17774         </attribute>
17775     </optional>
17776     <optional>
17777         <attribute name="style:font-style-complex">
17778             <ref name="fontStyle"/>
17779         </attribute>
17780     </optional>
17781 </define>
17782 
17783 
17784 <!-- Used in: style-font-face-attlist, style-text-properties-attlist -->
17785 <define name="fontStyle">
17786     <choice>
17787         <value>normal</value>
17788         <value>italic</value>
17789         <value>oblique</value>
17790     </choice>
17791 </define>
17792 
17793 <!-- Used in: style-text-properties-content-strict -->
17794 <!-- Next: style-text-properties-attlist -->
17795 <define name="style-text-properties-attlist" combine="interleave">
17796     <optional>
17797         <attribute name="style:font-relief">
17798             <choice>
17799             <value>none</value>
17800                 <value>embossed</value>
17801                 <value>engraved</value>
17802             </choice>
17803         </attribute>
17804     </optional>
17805 </define>
17806 
17807 <!-- Used in: style-text-properties-content-strict -->
17808 <!-- Next: style-text-properties-attlist -->
17809 <define name="style-text-properties-attlist" combine="interleave">
17810     <optional>
17811         <attribute name="fo:text-shadow">
17812             <ref name="shadowType"/>
17813         </attribute>
17814     </optional>
17815 </define>
17816 
17817 
17818 <!-- Used in: style-text-properties-attlist, common-shadow-attlist -->
17819 <define name="shadowType">
17820     <choice>
17821         <value>none</value>
17822         <!-- The follwing string must match an XSL shadow decl -->
17823 
17824         <ref name="string"/>
17825     </choice>
17826 </define>
17827 
17828 <!-- Used in: style-text-properties-content-strict -->
17829 <!-- Next: style-text-properties-attlist -->
17830 <define name="style-text-properties-attlist" combine="interleave">
17831     <optional>
17832         <attribute name="style:text-underline-type">
17833             <ref name="lineType"/>
17834         </attribute>
17835     </optional>
17836 </define>
17837 
17838 
17839 <!-- Used in: style-text-properties-attlist, style-text-properties-attlist, style-tab-stop-attlist -->
17840 <define name="lineType">
17841     <choice>
17842         <value>none</value>
17843         <value>single</value>
17844         <value>double</value>
17845     </choice>
17846 </define>
17847 
17848 <!-- Used in: style-text-properties-content-strict -->
17849 <!-- Next: style-text-properties-attlist -->
17850 <define name="style-text-properties-attlist" combine="interleave">
17851     <optional>
17852         <attribute name="style:text-underline-style">
17853             <ref name="lineStyle"/>
17854         </attribute>
17855     </optional>
17856 </define>
17857 
17858 
17859 <!-- Used in: style-footnote-sep-attlist, style-text-properties-attlist, style-text-properties-attlist, style-tab-stop-attlist -->
17860 <define name="lineStyle">
17861     <choice>
17862         <value>none</value>
17863         <value>solid</value>
17864         <value>dotted</value>
17865         <value>dash</value>
17866         <value>long-dash</value>
17867         <value>dot-dash</value>
17868         <value>dot-dot-dash</value>
17869         <value>wave</value>
17870     </choice>
17871 </define>
17872 
17873 <!-- Used in: style-text-properties-content-strict -->
17874 <!-- Next: style-text-properties-attlist -->
17875 <define name="style-text-properties-attlist" combine="interleave">
17876     <optional>
17877         <attribute name="style:text-underline-width">
17878             <ref name="lineWidth"/>
17879         </attribute>
17880     </optional>
17881 </define>
17882 
17883 
17884 <!-- Used in: style-text-properties-attlist, style-text-properties-attlist, style-tab-stop-attlist -->
17885 <define name="lineWidth">
17886     <choice>
17887         <value>auto</value>
17888         <value>normal</value>
17889         <value>bold</value>
17890         <value>thin</value>
17891         <value>dash</value>
17892         <value>medium</value>
17893         <value>thick</value>
17894         <ref name="positiveInteger"/>
17895         <ref name="percent"/>
17896         <ref name="positiveLength"/>
17897     </choice>
17898 </define>
17899 
17900 <!-- Used in: style-text-properties-content-strict -->
17901 <!-- Next: style-text-properties-attlist -->
17902 <define name="style-text-properties-attlist" combine="interleave">
17903     <optional>
17904         <attribute name="style:text-underline-color">
17905             <choice>
17906                 <value>font-color</value>
17907                 <ref name="color"/>
17908             </choice>
17909         </attribute>
17910     </optional>
17911 </define>
17912 
17913 <!-- Used in: style-text-properties-content-strict -->
17914 <!-- Next: style-text-properties-attlist -->
17915 <define name="style-text-properties-attlist" combine="interleave">
17916     <optional>
17917         <attribute name="fo:font-weight">
17918             <ref name="fontWeight"/>
17919         </attribute>
17920     </optional>
17921     <optional>
17922         <attribute name="style:font-weight-asian">
17923             <ref name="fontWeight"/>
17924         </attribute>
17925     </optional>
17926     <optional>
17927         <attribute name="style:font-weight-complex">
17928             <ref name="fontWeight"/>
17929         </attribute>
17930     </optional>
17931 </define>
17932 
17933 
17934 <!-- Used in: style-font-face-attlist, style-text-properties-attlist -->
17935 <define name="fontWeight">
17936     <choice>
17937         <value>normal</value>
17938         <value>bold</value>
17939         <value>100</value>
17940         <value>200</value>
17941         <value>300</value>
17942         <value>400</value>
17943         <value>500</value>
17944         <value>600</value>
17945         <value>700</value>
17946         <value>800</value>
17947         <value>900</value>
17948     </choice>
17949 </define>
17950 
17951 <!-- Used in: style-text-properties-content-strict -->
17952 <!-- Next: style-text-properties-attlist -->
17953 <define name="style-text-properties-attlist" combine="interleave">
17954     <optional>
17955         <attribute name="style:text-underline-mode">
17956             <ref name="lineMode"/>
17957         </attribute>
17958     </optional>
17959 </define>
17960 
17961 
17962 <!-- Used in: style-text-properties-attlist, style-text-properties-attlist -->
17963 <define name="lineMode">
17964     <choice>
17965         <value>continuous</value>
17966         <value>skip-white-space</value>
17967     </choice>
17968 </define>
17969 
17970 <!-- Used in: style-text-properties-content-strict -->
17971 <!-- Next: style-text-properties-attlist -->
17972 <define name="style-text-properties-attlist" combine="interleave">
17973     <optional>
17974         <attribute name="style:text-line-through-mode">
17975             <ref name="lineMode"/>
17976         </attribute>
17977     </optional>
17978 </define>
17979 
17980 <!-- Used in: style-text-properties-content-strict -->
17981 <!-- Next: style-text-properties-attlist -->
17982 <define name="style-text-properties-attlist" combine="interleave">
17983     <optional>
17984         <attribute name="style:letter-kerning">
17985             <ref name="boolean"/>
17986         </attribute>
17987     </optional>
17988 </define>
17989 
17990 <!-- Used in: style-text-properties-content-strict -->
17991 <!-- Next: style-text-properties-attlist -->
17992 <define name="style-text-properties-attlist" combine="interleave">
17993     <optional>
17994         <attribute name="style:text-blinking">
17995             <ref name="boolean"/>
17996         </attribute>
17997     </optional>
17998 </define>
17999 
18000 <!-- Used in: style-text-properties-content-strict -->
18001 <!-- Next: style-text-properties-attlist -->
18002 <define name="style-text-properties-attlist" combine="interleave">
18003     <ref name="common-background-color-attlist"/>
18004 </define>
18005 
18006 <!-- Used in: style-text-properties-content-strict -->
18007 <!-- Next: style-text-properties-attlist -->
18008 <define name="style-text-properties-attlist" combine="interleave">
18009     <optional>
18010         <attribute name="style:text-combine">
18011             <choice>
18012                 <value>none</value>
18013                 <value>letters</value>
18014                 <value>lines</value>
18015             </choice>
18016         </attribute>
18017     </optional>
18018 </define>
18019 
18020 <!-- Used in: style-text-properties-content-strict -->
18021 <!-- Next: style-text-properties-attlist -->
18022 <define name="style-text-properties-attlist" combine="interleave">
18023     <optional>
18024         <attribute name="style:text-combine-start-char">
18025             <ref name="character"/>
18026         </attribute>
18027     </optional>
18028     <optional>
18029         <attribute name="style:text-combine-end-char">
18030             <ref name="character"/>
18031         </attribute>
18032     </optional>
18033 </define>
18034 
18035 <!-- Used in: style-text-properties-content-strict -->
18036 <!-- Next: style-text-properties-attlist -->
18037 <define name="style-text-properties-attlist" combine="interleave">
18038     <optional>
18039         <attribute name="style:text-emphasize">
18040             <choice>
18041                 <value>none</value>
18042                 <list>
18043                     <choice>
18044                         <value>none</value>
18045                         <value>accent</value>
18046                         <value>dot</value>
18047                         <value>circle</value>
18048                         <value>disc</value>
18049                     </choice>
18050                     <choice>
18051                         <value>above</value>
18052                         <value>below</value>
18053                     </choice>
18054                 </list>
18055             </choice>
18056         </attribute>
18057     </optional>
18058 </define>
18059 
18060 <!-- Used in: style-text-properties-content-strict -->
18061 <!-- Next: style-text-properties-attlist -->
18062 <define name="style-text-properties-attlist" combine="interleave">
18063     <optional>
18064         <attribute name="style:text-scale">
18065             <ref name="percent"/>
18066         </attribute>
18067     </optional>
18068 </define>
18069 
18070 <!-- Used in: style-text-properties-content-strict -->
18071 <!-- Next: style-text-properties-attlist -->
18072 <define name="style-text-properties-attlist" combine="interleave">
18073     <optional>
18074         <attribute name="style:text-rotation-angle">
18075             <ref name="integer"/>
18076         </attribute>
18077     </optional>
18078 </define>
18079 
18080 <!-- Used in: style-text-properties-content-strict -->
18081 <!-- Next: style-text-properties-attlist -->
18082 <define name="style-text-properties-attlist" combine="interleave">
18083     <optional>
18084         <attribute name="style:text-rotation-scale">
18085             <choice>
18086                 <value>fixed</value>
18087                 <value>line-height</value>
18088             </choice>
18089         </attribute>
18090     </optional>
18091 </define>
18092 
18093 <!-- Used in: style-text-properties-content-strict -->
18094 <!-- Next: style-text-properties-attlist -->
18095 <define name="style-text-properties-attlist" combine="interleave">
18096     <optional>
18097         <attribute name="fo:hyphenate">
18098             <ref name="boolean"/>
18099         </attribute>
18100     </optional>
18101 </define>
18102 
18103 <!-- Used in: style-text-properties-content-strict -->
18104 <!-- Next: style-text-properties-attlist -->
18105 <define name="style-text-properties-attlist" combine="interleave">
18106     <optional>
18107         <attribute name="fo:hyphenation-remain-char-count">
18108             <ref name="positiveInteger"/>
18109         </attribute>
18110     </optional>
18111 </define>
18112 
18113 <!-- Used in: style-text-properties-content-strict -->
18114 <!-- Next: style-text-properties-attlist -->
18115 <define name="style-text-properties-attlist" combine="interleave">
18116     <optional>
18117         <attribute name="fo:hyphenation-push-char-count">
18118             <ref name="positiveInteger"/>
18119         </attribute>
18120     </optional>
18121 </define>
18122 
18123 <!-- Used in: style-text-properties-content-strict -->
18124 <define name="style-text-properties-attlist" combine="interleave">
18125     <choice>
18126         <attribute name="text:display">
18127             <value>true</value>
18128         </attribute>
18129         <attribute name="text:display">
18130             <value>none</value>
18131         </attribute>
18132         <group>
18133             <attribute name="text:display">
18134                 <value>condition</value>
18135             </attribute>
18136             <attribute name="text:condition">
18137                 <value>none</value>
18138             </attribute>
18139         </group>
18140         <empty/>
18141     </choice>
18142 </define>
18143 
18144 <!-- Used in: style-style-content, style-style-content, style-style-content, style-style-content -->
18145 <define name="style-paragraph-properties">
18146     <element name="style:paragraph-properties">
18147         <ref name="style-paragraph-properties-content"/>
18148     </element>
18149 </define>
18150 
18151 
18152 <!-- Used in: style-paragraph-properties -->
18153 <define name="style-paragraph-properties-content">
18154     <ref name="style-properties-content"/>
18155 </define>
18156 
18157 
18158 <define name="style-paragraph-properties-content-strict">
18159     <ref name="style-paragraph-properties-attlist"/>
18160     <ref name="style-paragraph-properties-elements"/>
18161 </define>
18162 
18163 <!-- Used in: style-paragraph-properties-content-strict -->
18164 <!-- Next: style-paragraph-properties-attlist -->
18165 <define name="style-paragraph-properties-attlist" combine="interleave">
18166     <optional>
18167         <attribute name="fo:line-height">
18168             <choice>
18169                 <value>normal</value>
18170                 <ref name="nonNegativeLength"/>
18171                 <ref name="percent"/>
18172             </choice>
18173         </attribute>
18174     </optional>
18175 </define>
18176 
18177 <!-- Used in: style-paragraph-properties-content-strict -->
18178 <!-- Next: style-paragraph-properties-attlist -->
18179 <define name="style-paragraph-properties-attlist" combine="interleave">
18180     <optional>
18181         <attribute name="style:line-height-at-least">
18182             <ref name="nonNegativeLength"/>
18183         </attribute>
18184     </optional>
18185 </define>
18186 
18187 <!-- Used in: style-paragraph-properties-content-strict -->
18188 <!-- Next: style-paragraph-properties-attlist -->
18189 <define name="style-paragraph-properties-attlist" combine="interleave">
18190     <optional>
18191         <attribute name="style:line-spacing">
18192             <ref name="length"/>
18193         </attribute>
18194     </optional>
18195 </define>
18196 
18197 <!-- Used in: style-paragraph-properties-content-strict -->
18198 <!-- Next: style-paragraph-properties-attlist -->
18199 <define name="style-paragraph-properties-attlist" combine="interleave">
18200     <optional>
18201         <attribute name="style:font-independent-line-spacing">
18202             <ref name="boolean"/>
18203         </attribute>
18204     </optional>
18205 </define>
18206 
18207 <!-- Used in: style-paragraph-properties-content-strict -->
18208 <!-- Next: style-paragraph-properties-attlist -->
18209 <define name="style-paragraph-properties-attlist" combine="interleave">
18210     <ref name="common-text-align"/>
18211 </define>
18212 
18213 
18214 <!-- Used in: style-paragraph-properties-attlist, style-list-level-properties-attlist -->
18215 <define name="common-text-align">
18216     <optional>
18217         <attribute name="fo:text-align">
18218             <choice>
18219                 <value>start</value>
18220                 <value>end</value>
18221                 <value>left</value>
18222                 <value>right</value>
18223                 <value>center</value>
18224                 <value>justify</value>
18225             </choice>
18226         </attribute>
18227     </optional>
18228 </define>
18229 
18230 <!-- Used in: style-paragraph-properties-content-strict -->
18231 <!-- Next: style-paragraph-properties-attlist -->
18232 <define name="style-paragraph-properties-attlist" combine="interleave">
18233     <optional>
18234         <attribute name="fo:text-align-last">
18235             <choice>
18236                 <value>start</value>
18237                 <value>center</value>
18238                 <value>justify</value>
18239             </choice>
18240         </attribute>
18241     </optional>
18242 </define>
18243 
18244 <!-- Used in: style-paragraph-properties-content-strict -->
18245 <!-- Next: style-paragraph-properties-attlist -->
18246 <define name="style-paragraph-properties-attlist" combine="interleave">
18247     <optional>
18248         <attribute name="style:justify-single-word">
18249             <ref name="boolean"/>
18250         </attribute>
18251     </optional>
18252 </define>
18253 
18254 <!-- Used in: style-paragraph-properties-content-strict -->
18255 <!-- Next: style-paragraph-properties-attlist -->
18256 <define name="style-paragraph-properties-attlist" combine="interleave">
18257     <optional>
18258         <attribute name="fo:keep-together">
18259             <choice>
18260                 <value>auto</value>
18261                 <value>always</value>
18262             </choice>
18263         </attribute>
18264     </optional>
18265 </define>
18266 
18267 <!-- Used in: style-paragraph-properties-content-strict -->
18268 <!-- Next: style-paragraph-properties-attlist -->
18269 <define name="style-paragraph-properties-attlist" combine="interleave">
18270     <optional>
18271         <attribute name="fo:widows">
18272             <ref name="nonNegativeInteger"/>
18273         </attribute>
18274     </optional>
18275 </define>
18276 
18277 <!-- Used in: style-paragraph-properties-content-strict -->
18278 <!-- Next: style-paragraph-properties-attlist -->
18279 <define name="style-paragraph-properties-attlist" combine="interleave">
18280     <optional>
18281         <attribute name="fo:orphans">
18282             <ref name="nonNegativeInteger"/>
18283         </attribute>
18284     </optional>
18285 </define>
18286 
18287 <!-- Used in: style-paragraph-properties-content-strict -->
18288 <!-- Next: style-paragraph-properties-elements -->
18289 <define name="style-paragraph-properties-elements" combine="interleave">
18290     <ref name="style-tab-stops"/>
18291 </define>
18292 
18293 
18294 <!-- Used in: style-paragraph-properties-elements -->
18295 <define name="style-tab-stops">
18296     <optional>
18297         <element name="style:tab-stops">
18298             <zeroOrMore>
18299                 <ref name="style-tab-stop"/>
18300             </zeroOrMore>
18301         </element>
18302     </optional>
18303 </define>
18304 
18305 
18306 <!-- Used in: style-tab-stops -->
18307 <define name="style-tab-stop">
18308     <element name="style:tab-stop">
18309         <ref name="style-tab-stop-attlist"/>
18310         <empty/>
18311     </element>
18312 </define>
18313 
18314 <!-- Used in: style-tab-stop -->
18315 <!-- Next: style-tab-stop-attlist -->
18316 <define name="style-tab-stop-attlist" combine="interleave">
18317     <attribute name="style:position">
18318         <ref name="nonNegativeLength"/>
18319     </attribute>
18320 </define>
18321 
18322 <!-- Used in: style-tab-stop -->
18323 <!-- Next: style-tab-stop-attlist -->
18324 <define name="style-tab-stop-attlist" combine="interleave">
18325     <choice>
18326         <optional>
18327             <attribute name="style:type" a:defaultValue="left">
18328                 <choice>
18329                     <value>left</value>
18330                     <value>center</value>
18331                     <value>right</value>
18332                 </choice>
18333             </attribute>
18334         </optional>
18335         <group>
18336             <attribute name="style:type">
18337                 <value>char</value>
18338             </attribute>
18339             <ref name="style-tab-stop-char-attlist"/>
18340         </group>
18341     </choice>
18342 </define>
18343 
18344 <!-- Used in: style-tab-stop-attlist -->
18345 <define name="style-tab-stop-char-attlist" combine="interleave">
18346     <attribute name="style:char">
18347         <ref name="character"/>
18348     </attribute>
18349 </define>
18350 
18351 <!-- Used in: style-tab-stop -->
18352 <!-- Next: style-tab-stop-attlist -->
18353 <define name="style-tab-stop-attlist" combine="interleave">
18354     <optional>
18355         <attribute name="style:leader-type">
18356             <ref name="lineType"/>
18357         </attribute>
18358     </optional>
18359 </define>
18360 
18361 <!-- Used in: style-tab-stop -->
18362 <!-- Next: style-tab-stop-attlist -->
18363 <define name="style-tab-stop-attlist" combine="interleave">
18364     <optional>
18365         <attribute name="style:leader-style">
18366             <ref name="lineStyle"/>
18367         </attribute>
18368     </optional>
18369 </define>
18370 
18371 <!-- Used in: style-tab-stop -->
18372 <!-- Next: style-tab-stop-attlist -->
18373 <define name="style-tab-stop-attlist" combine="interleave">
18374     <optional>
18375         <attribute name="style:leader-width">
18376             <ref name="lineWidth"/>
18377         </attribute>
18378     </optional>
18379 </define>
18380 
18381 <!-- Used in: style-tab-stop -->
18382 <!-- Next: style-tab-stop-attlist -->
18383 <define name="style-tab-stop-attlist" combine="interleave">
18384     <optional>
18385         <attribute name="style:leader-color">
18386             <choice>
18387                 <value>font-color</value>
18388                 <ref name="color"/>
18389             </choice>
18390         </attribute>
18391     </optional>
18392 </define>
18393 
18394 <!-- Used in: style-tab-stop -->
18395 <!-- Next: style-tab-stop-attlist -->
18396 <define name="style-tab-stop-attlist" combine="interleave">
18397     <optional>
18398         <attribute name="style:leader-text" a:defaultValue=" ">
18399             <ref name="string"/>
18400         </attribute>
18401     </optional>
18402 </define>
18403 
18404 <!-- Used in: style-tab-stop -->
18405 <define name="style-tab-stop-attlist" combine="interleave">
18406     <optional>
18407         <attribute name="style:leader-text-style">
18408             <ref name="styleNameRef"/>
18409         </attribute>
18410     </optional>
18411 </define>
18412 
18413 <!-- Used in: style-paragraph-properties-content-strict -->
18414 <!-- Next: style-paragraph-properties-attlist -->
18415 <define name="style-paragraph-properties-attlist" combine="interleave">
18416     <optional>
18417         <attribute name="style:tab-stop-distance">
18418             <ref name="nonNegativeLength"/>
18419         </attribute>
18420     </optional>
18421 </define>
18422 
18423 <!-- Used in: style-paragraph-properties-content-strict -->
18424 <!-- Next: style-paragraph-properties-attlist -->
18425 <define name="style-paragraph-properties-attlist" combine="interleave">
18426     <optional>
18427         <attribute name="fo:hyphenation-keep">
18428             <choice>
18429                 <value>auto</value>
18430                 <value>page</value>
18431             </choice>
18432         </attribute>
18433     </optional>
18434 </define>
18435 
18436 <!-- Used in: style-paragraph-properties-content-strict -->
18437 <!-- Next: style-paragraph-properties-attlist -->
18438 <define name="style-paragraph-properties-attlist" combine="interleave">
18439     <optional>
18440         <attribute name="fo:hyphenation-ladder-count">
18441             <choice>
18442                 <value>no-limit</value>
18443                 <ref name="positiveInteger"/>
18444             </choice>
18445         </attribute>
18446     </optional>
18447 </define>
18448 
18449 <!-- Used in: style-paragraph-properties-content-strict -->
18450 <!-- Next: style-paragraph-properties-elements -->
18451 <define name="style-paragraph-properties-elements" combine="interleave">
18452     <ref name="style-drop-cap"/>
18453 </define>
18454 
18455 
18456 <!-- Used in: style-paragraph-properties-elements -->
18457 <define name="style-drop-cap">
18458     <optional>
18459         <element name="style:drop-cap">
18460             <ref name="style-drop-cap-attlist"/>
18461             <empty/>
18462         </element>
18463     </optional>
18464 </define>
18465 
18466 <!-- Used in: style-drop-cap -->
18467 <!-- Next: style-drop-cap-attlist -->
18468 <define name="style-drop-cap-attlist" combine="interleave">
18469     <optional>
18470         <attribute name="style:length" a:defaultValue="1">
18471             <choice>
18472                 <value>word</value>
18473                 <ref name="positiveInteger"/>
18474             </choice>
18475         </attribute>
18476     </optional>
18477 </define>
18478 
18479 <!-- Used in: style-drop-cap -->
18480 <!-- Next: style-drop-cap-attlist -->
18481 <define name="style-drop-cap-attlist" combine="interleave">
18482     <optional>
18483         <attribute name="style:lines" a:defaultValue="1">
18484             <ref name="positiveInteger"/>
18485         </attribute>
18486     </optional>
18487 </define>
18488 
18489 <!-- Used in: style-drop-cap -->
18490 <!-- Next: style-drop-cap-attlist -->
18491 <define name="style-drop-cap-attlist" combine="interleave">
18492     <optional>
18493         <attribute name="style:distance" a:defaultValue="0cm">
18494             <ref name="length"/>
18495         </attribute>
18496     </optional>
18497 </define>
18498 
18499 <!-- Used in: style-drop-cap -->
18500 <define name="style-drop-cap-attlist" combine="interleave">
18501     <optional>
18502         <attribute name="style:style-name">
18503             <ref name="styleNameRef"/>
18504         </attribute>
18505     </optional>
18506 </define>
18507 
18508 <!-- Used in: style-paragraph-properties-content-strict -->
18509 <!-- Next: style-paragraph-properties-attlist -->
18510 <define name="style-paragraph-properties-attlist" combine="interleave">
18511         <optional>
18512             <attribute name="style:register-true">
18513                 <ref name="boolean"/>
18514             </attribute>
18515         </optional>
18516     </define>
18517 
18518 <!-- Used in: style-paragraph-properties-content-strict -->
18519 <!-- Next: style-paragraph-properties-attlist -->
18520 <define name="style-paragraph-properties-attlist" combine="interleave">
18521     <ref name="common-horizontal-margin-attlist"/>
18522 </define>
18523 
18524 
18525 <!-- Used in: style-page-layout-properties-attlist, style-header-footer-properties-attlist, style-paragraph-properties-attlist, style-section-properties-attlist, style-table-properties-attlist, style-graphic-properties-attlist -->
18526 <define name="common-horizontal-margin-attlist">
18527     <optional>
18528         <attribute name="fo:margin-left">
18529             <choice>
18530                 <ref name="length"/>
18531                 <ref name="percent"/>
18532             </choice>
18533         </attribute>
18534     </optional>
18535     <optional>
18536         <attribute name="fo:margin-right">
18537             <choice>
18538                 <ref name="length"/>
18539                 <ref name="percent"/>
18540             </choice>
18541         </attribute>
18542     </optional>
18543 </define>
18544 
18545 <!-- Used in: style-paragraph-properties-content-strict -->
18546 <!-- Next: style-paragraph-properties-attlist -->
18547 <define name="style-paragraph-properties-attlist" combine="interleave">
18548     <optional>
18549         <attribute name="fo:text-indent">
18550             <choice>
18551                 <ref name="length"/>
18552                 <ref name="percent"/>
18553             </choice>
18554         </attribute>
18555     </optional>
18556 </define>
18557 
18558 <!-- Used in: style-paragraph-properties-content-strict -->
18559 <!-- Next: style-paragraph-properties-attlist -->
18560 <define name="style-paragraph-properties-attlist" combine="interleave">
18561     <optional>
18562         <attribute name="style:auto-text-indent">
18563             <ref name="boolean"/>
18564         </attribute>
18565     </optional>
18566 </define>
18567 
18568 <!-- Used in: style-paragraph-properties-content-strict -->
18569 <!-- Next: style-paragraph-properties-attlist -->
18570 <define name="style-paragraph-properties-attlist" combine="interleave">
18571     <ref name="common-vertical-margin-attlist"/>
18572 </define>
18573 
18574 
18575 <!-- Used in: style-page-layout-properties-attlist, style-header-footer-properties-attlist, style-paragraph-properties-attlist, style-table-properties-attlist, style-graphic-properties-attlist -->
18576 <define name="common-vertical-margin-attlist">
18577     <optional>
18578         <attribute name="fo:margin-top">
18579             <choice>
18580                 <ref name="nonNegativeLength"/>
18581                 <ref name="percent"/>
18582             </choice>
18583         </attribute>
18584     </optional>
18585     <optional>
18586         <attribute name="fo:margin-bottom">
18587             <choice>
18588                 <ref name="nonNegativeLength"/>
18589                 <ref name="percent"/>
18590             </choice>
18591         </attribute>
18592     </optional>
18593 </define>
18594 
18595 <!-- Used in: style-paragraph-properties-content-strict -->
18596 <!-- Next: style-paragraph-properties-attlist -->
18597 <define name="style-paragraph-properties-attlist" combine="interleave">
18598     <ref name="common-margin-attlist"/>
18599 </define>
18600 
18601 
18602 <!-- Used in: style-page-layout-properties-attlist, style-header-footer-properties-attlist, style-paragraph-properties-attlist, style-table-properties-attlist, style-graphic-properties-attlist -->
18603 <define name="common-margin-attlist">
18604     <optional>
18605         <attribute name="fo:margin">
18606             <choice>
18607                 <ref name="nonNegativeLength"/>
18608                 <ref name="percent"/>
18609             </choice>
18610         </attribute>
18611     </optional>
18612 </define>
18613 
18614 <!-- Used in: style-paragraph-properties-content-strict -->
18615 <!-- Next: style-paragraph-properties-attlist -->
18616 <define name="style-paragraph-properties-attlist" combine="interleave">
18617     <ref name="common-break-attlist"/>
18618 </define>
18619 
18620 
18621 <!-- Used in: style-paragraph-properties-attlist, style-table-properties-attlist, style-table-column-properties-attlist, style-table-row-properties-attlist -->
18622 <define name="common-break-attlist">
18623     <optional>
18624         <attribute name="fo:break-before">
18625             <choice>
18626                 <value>auto</value>
18627                 <value>column</value>
18628                 <value>page</value>
18629             </choice>
18630         </attribute>
18631     </optional>
18632     <optional>
18633         <attribute name="fo:break-after">
18634             <choice>
18635                 <value>auto</value>
18636                 <value>column</value>
18637                 <value>page</value>
18638             </choice>
18639         </attribute>
18640     </optional>
18641 </define>
18642 
18643 <!-- Used in: style-paragraph-properties-content-strict -->
18644 <!-- Next: style-paragraph-properties-attlist -->
18645 <define name="style-paragraph-properties-attlist" combine="interleave">
18646     <ref name="common-background-color-attlist"/>
18647 </define>
18648 
18649 
18650 <!-- Used in: style-page-layout-properties-attlist, style-header-footer-properties-attlist, style-text-properties-attlist, style-paragraph-properties-attlist, style-section-properties-attlist, style-table-properties-attlist, style-table-row-properties-attlist, style-table-cell-properties-attlist, style-graphic-properties-attlist -->
18651 <define name="common-background-color-attlist">
18652     <optional>
18653         <attribute name="fo:background-color">
18654             <choice>
18655                 <value>transparent</value>
18656                 <ref name="color"/>
18657             </choice>
18658         </attribute>
18659     </optional>
18660 </define>
18661 
18662 <!-- Used in: style-paragraph-properties-content-strict -->
18663 <define name="style-paragraph-properties-elements" combine="interleave">
18664     <ref name="style-background-image"/>
18665 </define>
18666 
18667 
18668 <!-- Used in: style-page-layout-properties-elements, style-header-footer-properties-elements, style-paragraph-properties-elements, style-section-properties-elements, style-table-properties-elements, style-table-row-properties-elements, style-table-cell-properties-elements, style-graphic-properties-elements -->
18669 <define name="style-background-image">
18670     <optional>
18671         <element name="style:background-image">
18672             <ref name="style-background-image-attlist"/>
18673             <choice>
18674                 <ref name="common-draw-data-attlist"/>
18675                 <ref name="office-binary-data"/>
18676                 <empty/>
18677             </choice>
18678         </element>
18679     </optional>
18680 </define>
18681 
18682 <!-- Used in: style-background-image -->
18683 <!-- Next: style-background-image-attlist -->
18684 <define name="style-background-image-attlist" combine="interleave">
18685     <optional>
18686         <attribute name="style:repeat" a:defaultValue="repeat">
18687             <choice>
18688                 <value>no-repeat</value>
18689                 <value>repeat</value>
18690                 <value>stretch</value>
18691             </choice>
18692         </attribute>
18693     </optional>
18694 </define>
18695 
18696 <!-- Used in: style-background-image -->
18697 <!-- Next: style-background-image-attlist -->
18698 <define name="style-background-image-attlist" combine="interleave">
18699     <optional>
18700         <attribute name="style:position" a:defaultValue="center">
18701             <choice>
18702                 <value>left</value>
18703                 <value>center</value>
18704                 <value>right</value>
18705                 <value>top</value>
18706                 <value>bottom</value>
18707                 <list>
18708                     <ref name="horiBackPos"/>
18709                     <ref name="vertBackPos"/>
18710                 </list>
18711                 <list>
18712                     <ref name="vertBackPos"/>
18713                     <ref name="horiBackPos"/>
18714                 </list>
18715             </choice>
18716         </attribute>
18717     </optional>
18718 </define>
18719 
18720 
18721 <!-- Used in: style-background-image-attlist -->
18722 <define name="horiBackPos">
18723     <choice>
18724         <value>left</value>
18725         <value>center</value>
18726         <value>right</value>
18727     </choice>
18728 </define>
18729 
18730 <!-- Used in: style-background-image-attlist -->
18731 <define name="vertBackPos">
18732     <choice>
18733         <value>top</value>
18734         <value>center</value>
18735         <value>bottom</value>
18736     </choice>
18737 </define>
18738 
18739 <!-- Used in: style-background-image -->
18740 <!-- Next: style-background-image-attlist -->
18741 <define name="style-background-image-attlist" combine="interleave">
18742     <optional>
18743         <attribute name="style:filter-name">
18744             <ref name="string"/>
18745         </attribute>
18746     </optional>
18747 </define>
18748 
18749 <!-- Used in: style-background-image -->
18750 <define name="style-background-image-attlist" combine="interleave">
18751     <optional>
18752         <attribute name="draw:opacity">
18753             <ref name="percent"/>
18754         </attribute>
18755     </optional>
18756 </define>
18757 
18758 <!-- Used in: style-paragraph-properties-content-strict -->
18759 <!-- Next: style-paragraph-properties-attlist -->
18760 <define name="style-paragraph-properties-attlist" combine="interleave">
18761     <ref name="common-border-attlist"/>
18762 </define>
18763 
18764 
18765 <!-- Used in: style-page-layout-properties-attlist, style-header-footer-properties-attlist, style-paragraph-properties-attlist, style-table-cell-properties-attlist, style-graphic-properties-attlist -->
18766 <define name="common-border-attlist">
18767     <optional>
18768         <attribute name="fo:border">
18769             <ref name="string"/>
18770         </attribute>
18771     </optional>
18772     <optional>
18773         <attribute name="fo:border-top">
18774             <ref name="string"/>
18775         </attribute>
18776     </optional>
18777     <optional>
18778         <attribute name="fo:border-bottom">
18779             <ref name="string"/>
18780         </attribute>
18781     </optional>
18782     <optional>
18783         <attribute name="fo:border-left">
18784             <ref name="string"/>
18785         </attribute>
18786     </optional>
18787     <optional>
18788         <attribute name="fo:border-right">
18789             <ref name="string"/>
18790         </attribute>
18791     </optional>
18792 </define>
18793 
18794 <!-- Used in: style-paragraph-properties-content-strict -->
18795 <!-- Next: style-paragraph-properties-attlist -->
18796 <define name="style-paragraph-properties-attlist" combine="interleave">
18797     <ref name="common-border-line-width-attlist"/>
18798 </define>
18799 
18800 
18801 <!-- Used in: style-page-layout-properties-attlist, style-header-footer-properties-attlist, style-paragraph-properties-attlist, style-table-cell-properties-attlist, style-graphic-properties-attlist -->
18802 <define name="common-border-line-width-attlist">
18803     <optional>
18804         <attribute name="style:border-line-width">
18805             <ref name="borderWidths"/>
18806         </attribute>
18807     </optional>
18808     <optional>
18809         <attribute name="style:border-line-width-top">
18810             <ref name="borderWidths"/>
18811         </attribute>
18812     </optional>
18813     <optional>
18814         <attribute name="style:border-line-width-bottom">
18815             <ref name="borderWidths"/>
18816         </attribute>
18817     </optional>
18818     <optional>
18819         <attribute name="style:border-line-width-left">
18820             <ref name="borderWidths"/>
18821         </attribute>
18822     </optional>
18823     <optional>
18824         <attribute name="style:border-line-width-right">
18825             <ref name="borderWidths"/>
18826         </attribute>
18827     </optional>
18828 </define>
18829 
18830 
18831 <!-- Used in: common-border-line-width-attlist, style-table-cell-properties-attlist -->
18832 <define name="borderWidths">
18833     <list>
18834         <ref name="positiveLength"/>
18835         <ref name="positiveLength"/>
18836         <ref name="positiveLength"/>
18837     </list>
18838 </define>
18839 
18840 <!-- Used in: style-paragraph-properties-content-strict -->
18841 <!-- Next: style-paragraph-properties-attlist -->
18842 <define name="style-paragraph-properties-attlist" combine="interleave">
18843     <ref name="common-padding-attlist"/>
18844 </define>
18845 
18846 
18847 <!-- Used in: style-page-layout-properties-attlist, style-header-footer-properties-attlist, style-paragraph-properties-attlist, style-table-cell-properties-attlist, style-graphic-properties-attlist -->
18848 <define name="common-padding-attlist">
18849     <optional>
18850         <attribute name="fo:padding">
18851             <ref name="nonNegativeLength"/>
18852         </attribute>
18853     </optional>
18854     <optional>
18855         <attribute name="fo:padding-top">
18856             <ref name="nonNegativeLength"/>
18857         </attribute>
18858     </optional>
18859     <optional>
18860         <attribute name="fo:padding-bottom">
18861             <ref name="nonNegativeLength"/>
18862         </attribute>
18863     </optional>
18864     <optional>
18865         <attribute name="fo:padding-left">
18866             <ref name="nonNegativeLength"/>
18867         </attribute>
18868     </optional>
18869     <optional>
18870         <attribute name="fo:padding-right">
18871             <ref name="nonNegativeLength"/>
18872         </attribute>
18873     </optional>
18874 </define>
18875 
18876 <!-- Used in: style-paragraph-properties-content-strict -->
18877 <!-- Next: style-paragraph-properties-attlist -->
18878 <define name="style-paragraph-properties-attlist" combine="interleave">
18879     <ref name="common-shadow-attlist"/>
18880 </define>
18881 
18882 
18883 <!-- Used in: style-page-layout-properties-attlist, style-header-footer-properties-attlist, style-paragraph-properties-attlist, style-table-properties-attlist, style-table-cell-properties-attlist, style-graphic-properties-attlist -->
18884 <define name="common-shadow-attlist">
18885     <optional>
18886         <attribute name="style:shadow">
18887             <ref name="shadowType"/>
18888         </attribute>
18889     </optional>
18890 </define>
18891 
18892 <!-- Used in: style-paragraph-properties-content-strict -->
18893 <!-- Next: style-paragraph-properties-attlist -->
18894 <define name="style-paragraph-properties-attlist" combine="interleave">
18895     <ref name="common-keep-with-next-attlist"/>
18896 </define>
18897 
18898 
18899 <!-- Used in: style-paragraph-properties-attlist, style-table-properties-attlist -->
18900 <define name="common-keep-with-next-attlist">
18901     <optional>
18902         <attribute name="fo:keep-with-next">
18903             <choice>
18904                 <value>auto</value>
18905                 <value>always</value>
18906             </choice>
18907         </attribute>
18908     </optional>
18909 </define>
18910 
18911 <!-- Used in: style-paragraph-properties-content-strict -->
18912 <!-- Next: style-paragraph-properties-attlist -->
18913 <define name="style-paragraph-properties-attlist" combine="interleave">
18914     <optional>
18915         <attribute name="text:number-lines" a:defaultValue="false">
18916             <ref name="boolean"/>
18917         </attribute>
18918     </optional>
18919 </define>
18920 
18921 <!-- Used in: style-paragraph-properties-content-strict -->
18922 <!-- Next: style-paragraph-properties-attlist -->
18923 <define name="style-paragraph-properties-attlist" combine="interleave">
18924     <optional>
18925         <attribute name="text:line-number">
18926             <ref name="nonNegativeInteger"/>
18927         </attribute>
18928     </optional>
18929 </define>
18930 
18931 <!-- Used in: style-paragraph-properties-content-strict -->
18932 <!-- Next: style-paragraph-properties-attlist -->
18933 <define name="style-paragraph-properties-attlist" combine="interleave">
18934     <optional>
18935         <attribute name="style:text-autospace">
18936             <choice>
18937                 <value>none</value>
18938                 <value>ideograph-alpha</value>
18939             </choice>
18940         </attribute>
18941     </optional>
18942 </define>
18943 
18944 <!-- Used in: style-paragraph-properties-content-strict -->
18945 <!-- Next: style-paragraph-properties-attlist -->
18946 <define name="style-paragraph-properties-attlist" combine="interleave">
18947     <optional>
18948         <attribute name="style:punctuation-wrap">
18949             <choice>
18950                 <value>simple</value>
18951                 <value>hanging</value>
18952             </choice>
18953         </attribute>
18954     </optional>
18955 </define>
18956 
18957 <!-- Used in: style-paragraph-properties-content-strict -->
18958 <!-- Next: style-paragraph-properties-attlist -->
18959 <define name="style-paragraph-properties-attlist" combine="interleave">
18960     <optional>
18961         <attribute name="style:line-break">
18962             <choice>
18963                 <value>normal</value>
18964                 <value>strict</value>
18965             </choice>
18966         </attribute>
18967     </optional>
18968 </define>
18969 
18970 <!-- Used in: style-paragraph-properties-content-strict -->
18971 <!-- Next: style-paragraph-properties-attlist -->
18972 <define name="style-paragraph-properties-attlist" combine="interleave">
18973     <optional>
18974         <attribute name="style:vertical-align" a:defaultValue="auto">
18975             <choice>
18976                 <value>top</value>
18977                 <value>middle</value>
18978                 <value>bottom</value>
18979                 <value>auto</value>
18980             </choice>
18981         </attribute>
18982     </optional>
18983 </define>
18984 
18985 <!-- Used in: style-paragraph-properties-content-strict -->
18986 <!-- Next: style-paragraph-properties-attlist -->
18987 <define name="style-paragraph-properties-attlist" combine="interleave">
18988     <ref name="common-writing-mode-attlist"/>
18989 </define>
18990 
18991 
18992 <!-- Used in: style-page-layout-properties-attlist, style-paragraph-properties-attlist, style-section-properties-attlist, style-table-properties-attlist -->
18993 <define name="common-writing-mode-attlist">
18994     <optional>
18995         <attribute name="style:writing-mode">
18996             <choice>
18997                 <value>lr-tb</value>
18998                 <value>rl-tb</value>
18999                 <value>tb-rl</value>
19000                 <value>tb-lr</value>
19001                 <value>lr</value>
19002                 <value>rl</value>
19003                 <value>tb</value>
19004                 <value>page</value>
19005             </choice>
19006         </attribute>
19007     </optional>
19008 </define>
19009 
19010 <!-- Used in: style-paragraph-properties-content-strict -->
19011 <!-- Next: style-paragraph-properties-attlist -->
19012 <define name="style-paragraph-properties-attlist" combine="interleave">
19013     <optional>
19014         <attribute name="style:writing-mode-automatic">
19015             <ref name="boolean"/>
19016         </attribute>
19017     </optional>
19018 </define>
19019 
19020 <!-- Used in: style-paragraph-properties-content-strict -->
19021 <!-- Next: style-paragraph-properties-attlist -->
19022 <define name="style-paragraph-properties-attlist" combine="interleave">
19023     <optional>
19024         <attribute name="style:snap-to-layout-grid">
19025             <ref name="boolean"/>
19026         </attribute>
19027     </optional>
19028 </define>
19029 
19030 <!-- Used in: style-paragraph-properties-content-strict -->
19031 <!-- Next: style-paragraph-properties-attlist -->
19032 <define name="style-paragraph-properties-attlist" combine="interleave">
19033     <ref name="common-page-number-attlist"/>
19034 </define>
19035 
19036 
19037 <!-- Used in: style-paragraph-properties-attlist, style-table-properties-attlist -->
19038 <define name="common-page-number-attlist">
19039     <optional>
19040         <attribute name="style:page-number">
19041             <ref name="positiveInteger"/>
19042         </attribute>
19043     </optional>
19044 </define>
19045 
19046 <!-- Used in: style-paragraph-properties-content-strict -->
19047 <define name="style-paragraph-properties-attlist" combine="interleave">
19048     <optional>
19049         <attribute name="style:background-transparency">
19050             <ref name="percent"/>
19051         </attribute>
19052     </optional>
19053 </define>
19054 
19055 <!-- Used in: style-style-content -->
19056 <define name="style-ruby-properties">
19057     <element name="style:ruby-properties">
19058         <ref name="style-ruby-properties-content"/>
19059     </element>
19060 </define>
19061 
19062 
19063 <!-- Used in: style-ruby-properties -->
19064 <define name="style-ruby-properties-content">
19065     <ref name="style-properties-content"/>
19066 </define>
19067 
19068 
19069 <define name="style-ruby-properties-content-strict">
19070     <ref name="style-ruby-properties-attlist"/>
19071     <ref name="style-ruby-properties-elements"/>
19072 </define>
19073 
19074 
19075 <!-- Used in: style-ruby-properties-content-strict -->
19076 <define name="style-ruby-properties-elements">
19077     <empty/>
19078 </define>
19079 
19080 <!-- Used in: style-ruby-properties-content-strict -->
19081 <!-- Next: style-ruby-properties-attlist -->
19082 <define name="style-ruby-properties-attlist" combine="interleave">
19083     <optional>
19084         <attribute name="style:ruby-position">
19085             <choice>
19086                 <value>above</value>
19087                 <value>below</value>
19088             </choice>
19089         </attribute>
19090     </optional>
19091 </define>
19092 
19093 <!-- Used in: style-ruby-properties-content-strict -->
19094 <define name="style-ruby-properties-attlist" combine="interleave">
19095     <optional>
19096         <attribute name="style:ruby-align">
19097             <choice>
19098                 <value>left</value>
19099                 <value>center</value>
19100                 <value>right</value>
19101                 <value>distribute-letter</value>
19102                 <value>distribute-space</value>
19103             </choice>
19104         </attribute>
19105     </optional>
19106 </define>
19107 
19108 <!-- Used in: style-style-content -->
19109 <define name="style-section-properties">
19110     <element name="style:section-properties">
19111         <ref name="style-section-properties-content"/>
19112     </element>
19113 </define>
19114 
19115 
19116 <!-- Used in: style-section-properties -->
19117 <define name="style-section-properties-content">
19118     <ref name="style-properties-content"/>
19119 </define>
19120 
19121 
19122 <define name="style-section-properties-content-strict">
19123     <ref name="style-section-properties-attlist"/>
19124     <ref name="style-section-properties-elements"/>
19125 </define>
19126 
19127 <!-- Used in: style-section-properties-content-strict -->
19128 <!-- Next: style-section-properties-attlist -->
19129 <define name="style-section-properties-attlist" combine="interleave">
19130     <ref name="common-background-color-attlist"/>
19131 </define>
19132 
19133 <!-- Used in: style-section-properties-content-strict -->
19134 <!-- Next: style-section-properties-elements -->
19135 <define name="style-section-properties-elements" combine="interleave">
19136     <ref name="style-background-image"/>
19137 </define>
19138 
19139 <!-- Used in: style-section-properties-content-strict -->
19140 <!-- Next: style-section-properties-attlist -->
19141 <define name="style-section-properties-attlist" combine="interleave">
19142     <ref name="common-horizontal-margin-attlist"/>
19143 </define>
19144 
19145 <!-- Used in: style-section-properties-content-strict -->
19146 <!-- Next: style-section-properties-elements -->
19147 <define name="style-section-properties-elements" combine="interleave">
19148     <ref name="style-columns"/>
19149 </define>
19150 
19151 
19152 <!-- Used in: style-page-layout-properties-elements, style-section-properties-elements, style-graphic-properties-elements -->
19153 <define name="style-columns">
19154     <optional>
19155         <element name="style:columns">
19156             <ref name="style-columns-attlist"/>
19157             <optional>
19158                 <ref name="style-column-sep"/>
19159             </optional>
19160             <zeroOrMore>
19161                 <ref name="style-column"/>
19162             </zeroOrMore>
19163         </element>
19164     </optional>
19165 </define>
19166 
19167 <!-- Used in: style-columns -->
19168 <!-- Next: style-columns-attlist -->
19169 <define name="style-columns-attlist" combine="interleave">
19170     <attribute name="fo:column-count">
19171         <ref name="positiveInteger"/>
19172     </attribute>
19173 </define>
19174 
19175 <!-- Used in: style-columns -->
19176 <define name="style-columns-attlist" combine="interleave">
19177     <optional>
19178         <attribute name="fo:column-gap">
19179             <ref name="length"/>
19180         </attribute>
19181     </optional>
19182 </define>
19183 
19184 <!-- Used in: style-columns -->
19185 <define name="style-column">
19186     <element name="style:column">
19187         <ref name="style-column-attlist"/>
19188     </element>
19189 </define>
19190 
19191 <!-- Used in: style-column -->
19192 <!-- Next: style-column-attlist -->
19193 <define name="style-column-attlist" combine="interleave">
19194     <attribute name="style:rel-width">
19195         <ref name="relativeLength"/>
19196     </attribute>
19197 </define>
19198 
19199 <!-- Used in: style-column -->
19200 <!-- Next: style-column-attlist -->
19201 <define name="style-column-attlist" combine="interleave">
19202     <optional>
19203         <attribute name="fo:start-indent" a:defaultValue="0cm">
19204             <ref name="length"/>
19205         </attribute>
19206     </optional>
19207 </define>
19208 
19209 <!-- Used in: style-column -->
19210 <!-- Next: style-column-attlist -->
19211 <define name="style-column-attlist" combine="interleave">
19212     <optional>
19213         <attribute name="fo:end-indent" a:defaultValue="0cm">
19214             <ref name="length"/>
19215         </attribute>
19216     </optional>
19217 </define>
19218 
19219 <!-- Used in: style-column -->
19220 <!-- Next: style-column-attlist -->
19221 <define name="style-column-attlist" combine="interleave">
19222     <optional>
19223         <attribute name="fo:space-before" a:defaultValue="0cm">
19224             <ref name="length"/>
19225         </attribute>
19226     </optional>
19227 </define>
19228 
19229 <!-- Used in: style-column -->
19230 <define name="style-column-attlist" combine="interleave">
19231     <optional>
19232         <attribute name="fo:space-after" a:defaultValue="0cm">
19233             <ref name="length"/>
19234         </attribute>
19235     </optional>
19236 </define>
19237 
19238 <!-- Used in: style-columns -->
19239 <define name="style-column-sep">
19240     <element name="style:column-sep">
19241         <ref name="style-column-sep-attlist"/>
19242     </element>
19243 </define>
19244 
19245 <!-- Used in: style-column-sep -->
19246 <!-- Next: style-column-sep-attlist -->
19247 <define name="style-column-sep-attlist" combine="interleave">
19248     <optional>
19249         <attribute name="style:style" a:defaultValue="solid">
19250             <choice>
19251                 <value>none</value>
19252                 <value>solid</value>
19253                 <value>dotted</value>
19254                 <value>dashed</value>
19255                 <value>dot-dashed</value>
19256             </choice>
19257         </attribute>
19258     </optional>
19259 </define>
19260 
19261 <!-- Used in: style-column-sep -->
19262 <!-- Next: style-column-sep-attlist -->
19263 <define name="style-column-sep-attlist" combine="interleave">
19264     <attribute name="style:width">
19265         <ref name="length"/>
19266     </attribute>
19267 </define>
19268 
19269 <!-- Used in: style-column-sep -->
19270 <!-- Next: style-column-sep-attlist -->
19271 <define name="style-column-sep-attlist" combine="interleave">
19272     <optional>
19273         <attribute name="style:height" a:defaultValue="100%">
19274             <ref name="percent"/>
19275         </attribute>
19276     </optional>
19277 </define>
19278 
19279 <!-- Used in: style-column-sep -->
19280 <!-- Next: style-column-sep-attlist -->
19281 <define name="style-column-sep-attlist" combine="interleave">
19282     <optional>
19283         <attribute name="style:vertical-align" a:defaultValue="top">
19284             <choice>
19285                 <value>top</value>
19286                 <value>middle</value>
19287                 <value>bottom</value>
19288             </choice>
19289         </attribute>
19290     </optional>
19291 </define>
19292 
19293 <!-- Used in: style-column-sep -->
19294 <define name="style-column-sep-attlist" combine="interleave">
19295     <optional>
19296         <attribute name="style:color" a:defaultValue="#000000">
19297             <ref name="color"/>
19298         </attribute>
19299     </optional>
19300 </define>
19301 
19302 <!-- Used in: style-section-properties-content-strict -->
19303 <!-- Next: style-section-properties-attlist -->
19304 <define name="style-section-properties-attlist" combine="interleave">
19305     <optional>
19306         <attribute name="style:protect" a:defaultValue="false">
19307             <ref name="boolean"/>
19308         </attribute>
19309     </optional>
19310 </define>
19311 
19312 <!-- Used in: style-section-properties-content-strict -->
19313 <!-- Next: style-section-properties-attlist -->
19314 <define name="style-section-properties-attlist" combine="interleave">
19315     <optional>
19316         <attribute name="text:dont-balance-text-columns">
19317             <ref name="boolean"/>
19318         </attribute>
19319     </optional>
19320 </define>
19321 
19322 <!-- Used in: style-section-properties-content-strict -->
19323 <define name="style-section-properties-attlist" combine="interleave">
19324     <ref name="common-writing-mode-attlist"/>
19325 </define>
19326 
19327 <!-- Used in: style-section-properties-content-strict -->
19328 <define name="style-section-properties-elements" combine="interleave">
19329     <zeroOrMore>
19330         <ref name="text-notes-configuration"/>
19331     </zeroOrMore>
19332 </define>
19333 
19334 <!-- Used in: style-style-content -->
19335 <define name="style-table-properties">
19336     <element name="style:table-properties">
19337         <ref name="style-table-properties-content"/>
19338     </element>
19339 </define>
19340 
19341 
19342 <!-- Used in: style-table-properties -->
19343 <define name="style-table-properties-content">
19344     <ref name="style-properties-content"/>
19345 </define>
19346 
19347 
19348 <define name="style-table-properties-content-strict">
19349     <ref name="style-table-properties-attlist"/>
19350     <ref name="style-table-properties-elements"/>
19351 </define>
19352 
19353 <!-- Used in: style-table-properties-content-strict -->
19354 <!-- Next: style-table-properties-attlist -->
19355 <define name="style-table-properties-attlist" combine="interleave">
19356     <optional>
19357         <attribute name="style:width">
19358             <ref name="positiveLength"/>
19359         </attribute>
19360     </optional>
19361     <optional>
19362         <attribute name="style:rel-width">
19363             <ref name="percent"/>
19364         </attribute>
19365     </optional>
19366 </define>
19367 
19368 <!-- Used in: style-table-properties-content-strict -->
19369 <!-- Next: style-table-properties-attlist -->
19370 <define name="style-table-properties-attlist" combine="interleave">
19371     <optional>
19372         <attribute name="table:align">
19373             <choice>
19374                 <value>left</value>
19375                 <value>center</value>
19376                 <value>right</value>
19377                 <value>margins</value>
19378             </choice>
19379         </attribute>
19380     </optional>
19381 </define>
19382 
19383 <!-- Used in: style-table-properties-content-strict -->
19384 <!-- Next: style-table-properties-attlist -->
19385 <define name="style-table-properties-attlist" combine="interleave">
19386     <ref name="common-horizontal-margin-attlist"/>
19387 </define>
19388 
19389 <!-- Used in: style-table-properties-content-strict -->
19390 <!-- Next: style-table-properties-attlist -->
19391 <define name="style-table-properties-attlist" combine="interleave">
19392     <ref name="common-vertical-margin-attlist"/>
19393 </define>
19394 
19395 <!-- Used in: style-table-properties-content-strict -->
19396 <!-- Next: style-table-properties-attlist -->
19397 <define name="style-table-properties-attlist" combine="interleave">
19398     <ref name="common-margin-attlist"/>
19399 </define>
19400 
19401 <!-- Used in: style-table-properties-content-strict -->
19402 <!-- Next: style-table-properties-attlist -->
19403 <define name="style-table-properties-attlist" combine="interleave">
19404     <ref name="common-page-number-attlist"/>
19405 </define>
19406 
19407 <!-- Used in: style-table-properties-content-strict -->
19408 <!-- Next: style-table-properties-attlist -->
19409 <define name="style-table-properties-attlist" combine="interleave">
19410     <ref name="common-break-attlist"/>
19411 </define>
19412 
19413 <!-- Used in: style-table-properties-content-strict -->
19414 <!-- Next: style-table-properties-attlist -->
19415 <define name="style-table-properties-attlist" combine="interleave">
19416     <ref name="common-background-color-attlist"/>
19417 </define>
19418 
19419 <!-- Used in: style-table-properties-content-strict -->
19420 <define name="style-table-properties-elements" combine="interleave">
19421     <ref name="style-background-image"/>
19422 </define>
19423 
19424 <!-- Used in: style-table-properties-content-strict -->
19425 <!-- Next: style-table-properties-attlist -->
19426 <define name="style-table-properties-attlist" combine="interleave">
19427     <ref name="common-shadow-attlist"/>
19428 </define>
19429 
19430 <!-- Used in: style-table-properties-content-strict -->
19431 <!-- Next: style-table-properties-attlist -->
19432 <define name="style-table-properties-attlist" combine="interleave">
19433     <ref name="common-keep-with-next-attlist"/>
19434 </define>
19435 
19436 <!-- Used in: style-table-properties-content-strict -->
19437 <!-- Next: style-table-properties-attlist -->
19438 <define name="style-table-properties-attlist" combine="interleave">
19439     <optional>
19440         <attribute name="style:may-break-between-rows">
19441             <ref name="boolean"/>
19442         </attribute>
19443     </optional>
19444 </define>
19445 
19446 <!-- Used in: style-table-properties-content-strict -->
19447 <!-- Next: style-table-properties-attlist -->
19448 <define name="style-table-properties-attlist" combine="interleave">
19449     <optional>
19450         <attribute name="table:border-model">
19451             <choice>
19452                 <value>collapsing</value>
19453                 <value>separating</value>
19454             </choice>
19455         </attribute>
19456     </optional>
19457 </define>
19458 
19459 <!-- Used in: style-table-properties-content-strict -->
19460 <!-- Next: style-table-properties-attlist -->
19461 <define name="style-table-properties-attlist" combine="interleave">
19462     <ref name="common-writing-mode-attlist"/>
19463 </define>
19464 
19465 <!-- Used in: style-table-properties-content-strict -->
19466 <define name="style-table-properties-attlist" combine="interleave">
19467     <optional>
19468         <attribute name="table:display">
19469             <ref name="boolean"/>
19470         </attribute>
19471     </optional>
19472 </define>
19473 
19474 <!-- Used in: style-style-content -->
19475 <define name="style-table-column-properties">
19476     <element name="style:table-column-properties">
19477         <ref name="style-table-column-properties-content"/>
19478     </element>
19479 </define>
19480 
19481 
19482 <!-- Used in: style-table-column-properties -->
19483 <define name="style-table-column-properties-content">
19484     <ref name="style-properties-content"/>
19485 </define>
19486 
19487 
19488 <define name="style-table-column-properties-content-strict">
19489     <ref name="style-table-column-properties-attlist"/>
19490     <ref name="style-table-column-properties-elements"/>
19491 </define>
19492 
19493 
19494 <!-- Used in: style-table-column-properties-content-strict -->
19495 <define name="style-table-column-properties-elements">
19496     <empty/>
19497 </define>
19498 
19499 <!-- Used in: style-table-column-properties-content-strict -->
19500 <!-- Next: style-table-column-properties-attlist -->
19501 <define name="style-table-column-properties-attlist" combine="interleave">
19502     <optional>
19503         <attribute name="style:column-width">
19504             <ref name="positiveLength"/>
19505         </attribute>
19506     </optional>
19507     <optional>
19508         <attribute name="style:rel-column-width">
19509             <ref name="relativeLength"/>
19510         </attribute>
19511     </optional>
19512 </define>
19513 
19514 <!-- Used in: style-table-column-properties-content-strict -->
19515 <!-- Next: style-table-column-properties-attlist -->
19516 <define name="style-table-column-properties-attlist" combine="interleave">
19517     <optional>
19518         <attribute name="style:use-optimal-column-width">
19519             <ref name="boolean"/>
19520         </attribute>
19521     </optional>
19522 </define>
19523 
19524 <!-- Used in: style-table-column-properties-content-strict -->
19525 <define name="style-table-column-properties-attlist" combine="interleave">
19526     <ref name="common-break-attlist"/>
19527 </define>
19528 
19529 <!-- Used in: style-style-content -->
19530 <define name="style-table-row-properties">
19531     <element name="style:table-row-properties">
19532         <ref name="style-table-row-properties-content"/>
19533     </element>
19534 </define>
19535 
19536 
19537 <!-- Used in: style-table-row-properties -->
19538 <define name="style-table-row-properties-content">
19539     <ref name="style-properties-content"/>
19540 </define>
19541 
19542 
19543 <define name="style-table-row-properties-content-strict">
19544     <ref name="style-table-row-properties-attlist"/>
19545     <ref name="style-table-row-properties-elements"/>
19546 </define>
19547 
19548 <!-- Used in: style-table-row-properties-content-strict -->
19549 <!-- Next: style-table-row-properties-attlist -->
19550 <define name="style-table-row-properties-attlist" combine="interleave">
19551     <optional>
19552         <attribute name="style:row-height">
19553             <ref name="positiveLength"/>
19554         </attribute>
19555     </optional>
19556     <optional>
19557         <attribute name="style:min-row-height">
19558             <ref name="nonNegativeLength"/>
19559         </attribute>
19560     </optional>
19561 </define>
19562 
19563 <!-- Used in: style-table-row-properties-content-strict -->
19564 <!-- Next: style-table-row-properties-attlist -->
19565 <define name="style-table-row-properties-attlist" combine="interleave">
19566     <optional>
19567         <attribute name="style:use-optimal-row-height">
19568             <ref name="boolean"/>
19569         </attribute>
19570     </optional>
19571 </define>
19572 
19573 <!-- Used in: style-table-row-properties-content-strict -->
19574 <!-- Next: style-table-row-properties-attlist -->
19575 <define name="style-table-row-properties-attlist" combine="interleave">
19576     <ref name="common-background-color-attlist"/>
19577 </define>
19578 
19579 <!-- Used in: style-table-row-properties-content-strict -->
19580 <define name="style-table-row-properties-elements" combine="interleave">
19581     <ref name="style-background-image"/>
19582 </define>
19583 
19584 <!-- Used in: style-table-row-properties-content-strict -->
19585 <!-- Next: style-table-row-properties-attlist -->
19586 <define name="style-table-row-properties-attlist" combine="interleave">
19587     <ref name="common-break-attlist"/>
19588 </define>
19589 
19590 <!-- Used in: style-table-row-properties-content-strict -->
19591 <define name="style-table-row-properties-attlist" combine="interleave">
19592     <optional>
19593         <attribute name="fo:keep-together">
19594             <choice>
19595                 <value>auto</value>
19596                 <value>always</value>
19597             </choice>
19598         </attribute>
19599     </optional>
19600 </define>
19601 
19602 <!-- Used in: style-style-content -->
19603 <define name="style-table-cell-properties">
19604     <element name="style:table-cell-properties">
19605         <ref name="style-table-cell-properties-content"/>
19606     </element>
19607 </define>
19608 
19609 
19610 <!-- Used in: style-table-cell-properties -->
19611 <define name="style-table-cell-properties-content">
19612     <ref name="style-properties-content"/>
19613 </define>
19614 
19615 
19616 <define name="style-table-cell-properties-content-strict">
19617     <ref name="style-table-cell-properties-attlist"/>
19618     <ref name="style-table-cell-properties-elements"/>
19619 </define>
19620 
19621 <!-- Used in: style-table-cell-properties-content-strict -->
19622 <!-- Next: style-table-cell-properties-attlist -->
19623 <define name="style-table-cell-properties-attlist" combine="interleave">
19624     <optional>
19625         <attribute name="style:vertical-align">
19626             <choice>
19627                 <value>top</value>
19628                 <value>middle</value>
19629                 <value>bottom</value>
19630                 <value>automatic</value>
19631             </choice>
19632             </attribute>
19633     </optional>
19634 </define>
19635 
19636 <!-- Used in: style-table-cell-properties-content-strict -->
19637 <!-- Next: style-table-cell-properties-attlist -->
19638 <define name="style-table-cell-properties-attlist" combine="interleave">
19639     <optional>
19640         <attribute name="style:text-align-source">
19641             <choice>
19642                 <value>fix</value>
19643                 <value>value-type</value>
19644             </choice>
19645         </attribute>
19646     </optional>
19647 </define>
19648 
19649 <!-- Used in: style-table-cell-properties-content-strict -->
19650 <!-- Next: style-table-cell-properties-attlist -->
19651 <define name="style-table-cell-properties-attlist" combine="interleave">
19652     <ref name="common-style-direction-attlist"/>
19653 </define>
19654 
19655 
19656 <!-- Used in: style-table-cell-properties-attlist, style-chart-properties-attlist -->
19657 <define name="common-style-direction-attlist">
19658     <optional>
19659         <attribute name="style:direction">
19660             <choice>
19661                 <value>ltr</value>
19662                 <value>ttb</value>
19663             </choice>
19664         </attribute>
19665     </optional>
19666 </define>
19667 
19668 <!-- Used in: style-table-cell-properties-content-strict -->
19669 <!-- Next: style-table-cell-properties-attlist -->
19670 <define name="style-table-cell-properties-attlist" combine="interleave">
19671     <optional>
19672         <attribute name="style:glyph-orientation-vertical">
19673             <choice>
19674                 <value>auto</value>
19675                 <value>0</value>
19676             </choice>
19677         </attribute>
19678     </optional>
19679 </define>
19680 
19681 <!-- Used in: style-table-cell-properties-content-strict -->
19682 <!-- Next: style-table-cell-properties-attlist -->
19683 <define name="style-table-cell-properties-attlist" combine="interleave">
19684     <ref name="common-shadow-attlist"/>
19685 </define>
19686 
19687 <!-- Used in: style-table-cell-properties-content-strict -->
19688 <!-- Next: style-table-cell-properties-attlist -->
19689 <define name="style-table-cell-properties-attlist" combine="interleave">
19690     <ref name="common-background-color-attlist"/>
19691 </define>
19692 
19693 <!-- Used in: style-table-cell-properties-content-strict -->
19694 <define name="style-table-cell-properties-elements" combine="interleave">
19695     <ref name="style-background-image"/>
19696 </define>
19697 
19698 <!-- Used in: style-table-cell-properties-content-strict -->
19699 <!-- Next: style-table-cell-properties-attlist -->
19700 <define name="style-table-cell-properties-attlist" combine="interleave">
19701     <ref name="common-border-attlist"/>
19702 </define>
19703 
19704 <!-- Used in: style-table-cell-properties-content-strict -->
19705 <!-- Next: style-table-cell-properties-attlist -->
19706 <define name="style-table-cell-properties-attlist" combine="interleave">
19707     <optional>
19708         <attribute name="style:diagonal-tl-br">
19709             <ref name="string"/>
19710         </attribute>
19711     </optional>
19712     <optional>
19713         <attribute name="style:diagonal-tl-br-widths">
19714             <ref name="borderWidths"/>
19715         </attribute>
19716     </optional>
19717     <optional>
19718         <attribute name="style:diagonal-bl-tr">
19719             <ref name="string"/>
19720         </attribute>
19721     </optional>
19722     <optional>
19723         <attribute name="style:diagonal-bl-tr-widths">
19724             <ref name="borderWidths"/>
19725         </attribute>
19726     </optional>
19727 </define>
19728 
19729 <!-- Used in: style-table-cell-properties-content-strict -->
19730 <!-- Next: style-table-cell-properties-attlist -->
19731 <define name="style-table-cell-properties-attlist" combine="interleave">
19732     <ref name="common-border-line-width-attlist"/>
19733 </define>
19734 
19735 <!-- Used in: style-table-cell-properties-content-strict -->
19736 <!-- Next: style-table-cell-properties-attlist -->
19737 <define name="style-table-cell-properties-attlist" combine="interleave">
19738     <ref name="common-padding-attlist"/>
19739 </define>
19740 
19741 <!-- Used in: style-table-cell-properties-content-strict -->
19742 <!-- Next: style-table-cell-properties-attlist -->
19743 <define name="style-table-cell-properties-attlist" combine="interleave">
19744     <optional>
19745         <attribute name="fo:wrap-option">
19746             <choice>
19747                 <value>no-wrap</value>
19748                 <value>wrap</value>
19749             </choice>
19750         </attribute>
19751     </optional>
19752 </define>
19753 
19754 <!-- Used in: style-table-cell-properties-content-strict -->
19755 <!-- Next: style-table-cell-properties-attlist -->
19756 <define name="style-table-cell-properties-attlist" combine="interleave">
19757     <ref name="common-rotation-angle-attlist"/>
19758 </define>
19759 
19760 
19761 <!-- Used in: style-table-cell-properties-attlist, style-chart-properties-attlist -->
19762 <define name="common-rotation-angle-attlist">
19763     <optional>
19764         <attribute name="style:rotation-angle">
19765             <ref name="nonNegativeInteger"/>
19766         </attribute>
19767     </optional>
19768 </define>
19769 
19770 <!-- Used in: style-table-cell-properties-content-strict -->
19771 <!-- Next: style-table-cell-properties-attlist -->
19772 <define name="style-table-cell-properties-attlist" combine="interleave">
19773     <optional>
19774         <attribute name="style:rotation-align">
19775             <choice>
19776                 <value>none</value>
19777                 <value>bottom</value>
19778                 <value>top</value>
19779                 <value>center</value>
19780             </choice>
19781         </attribute>
19782     </optional>
19783 </define>
19784 
19785 <!-- Used in: style-table-cell-properties-content-strict -->
19786 <!-- Next: style-table-cell-properties-attlist -->
19787 <define name="style-table-cell-properties-attlist" combine="interleave">
19788     <optional>
19789         <attribute name="style:cell-protect">
19790             <choice>
19791                 <value>none</value>
19792                 <value>hidden-and-protected</value>
19793                 <list>
19794                     <oneOrMore>
19795                         <choice>
19796                             <value>protected</value>
19797                             <value>formula-hidden</value>
19798                         </choice>
19799                     </oneOrMore>
19800                 </list>
19801             </choice>
19802         </attribute>
19803     </optional>
19804 </define>
19805 
19806 <!-- Used in: style-table-cell-properties-content-strict -->
19807 <!-- Next: style-table-cell-properties-attlist -->
19808 <define name="style-table-cell-properties-attlist" combine="interleave">
19809     <optional>
19810         <attribute name="style:print-content">
19811             <ref name="boolean"/>
19812         </attribute>
19813     </optional>
19814 </define>
19815 
19816 <!-- Used in: style-table-cell-properties-content-strict -->
19817 <!-- Next: style-table-cell-properties-attlist -->
19818 <define name="style-table-cell-properties-attlist" combine="interleave">
19819     <optional>
19820         <attribute name="style:decimal-places">
19821             <ref name="nonNegativeInteger"/>
19822         </attribute>
19823     </optional>
19824 </define>
19825 
19826 <!-- Used in: style-table-cell-properties-content-strict -->
19827 <!-- Next: style-table-cell-properties-attlist -->
19828 <define name="style-table-cell-properties-attlist" combine="interleave">
19829     <optional>
19830         <attribute name="style:repeat-content">
19831             <ref name="boolean"/>
19832         </attribute>
19833     </optional>
19834 </define>
19835 
19836 <!-- Used in: style-table-cell-properties-content-strict -->
19837 <define name="style-table-cell-properties-attlist" combine="interleave">
19838     <optional>
19839         <attribute name="style:shrink-to-fit">
19840             <ref name="boolean"/>
19841         </attribute>
19842     </optional>
19843 </define>
19844 
19845 <!-- Used in: text-list-style-content, text-list-style-content, text-list-style-content, text-outline-level-style -->
19846 <define name="style-list-level-properties">
19847     <element name="style:list-level-properties">
19848         <ref name="style-list-level-properties-content"/>
19849     </element>
19850 </define>
19851 
19852 
19853 <!-- Used in: style-list-level-properties -->
19854 <define name="style-list-level-properties-content">
19855     <ref name="style-properties-content"/>
19856 </define>
19857 
19858 
19859 <define name="style-list-level-properties-content-strict">
19860     <ref name="style-list-level-properties-attlist"/>
19861     <ref name="style-list-level-properties-elements"/>
19862 </define>
19863 
19864 
19865 <!-- Used in: style-list-level-properties-content-strict -->
19866 <define name="style-list-level-properties-elements">
19867     <empty/>
19868 </define>
19869 
19870 <!-- Used in: style-list-level-properties-content-strict -->
19871 <!-- Next: style-list-level-properties-attlist -->
19872 <define name="style-list-level-properties-attlist" combine="interleave">
19873     <ref name="common-text-align"/>
19874 </define>
19875 
19876 <!-- Used in: style-list-level-properties-content-strict -->
19877 <!-- Next: style-list-level-properties-attlist -->
19878 <define name="style-list-level-properties-attlist" combine="interleave">
19879     <optional>
19880         <attribute name="text:space-before">
19881             <ref name="nonNegativeLength"/>
19882         </attribute>
19883     </optional>
19884 </define>
19885 
19886 <!-- Used in: style-list-level-properties-content-strict -->
19887 <!-- Next: style-list-level-properties-attlist -->
19888 <define name="style-list-level-properties-attlist" combine="interleave">
19889     <optional>
19890         <attribute name="text:min-label-width">
19891             <ref name="nonNegativeLength"/>
19892         </attribute>
19893     </optional>
19894 </define>
19895 
19896 <!-- Used in: style-list-level-properties-content-strict -->
19897 <!-- Next: style-list-level-properties-attlist -->
19898 <define name="style-list-level-properties-attlist" combine="interleave">
19899     <optional>
19900         <attribute name="text:min-label-distance">
19901             <ref name="nonNegativeLength"/>
19902         </attribute>
19903     </optional>
19904 </define>
19905 
19906 <!-- Used in: style-list-level-properties-content-strict -->
19907 <!-- Next: style-list-level-properties-attlist -->
19908 <define name="style-list-level-properties-attlist" combine="interleave">
19909     <optional>
19910         <attribute name="style:font-name">
19911             <ref name="string"/>
19912         </attribute>
19913     </optional>
19914 </define>
19915 
19916 <!-- Used in: style-list-level-properties-content-strict -->
19917 <!-- Next: style-list-level-properties-attlist -->
19918 <define name="style-list-level-properties-attlist" combine="interleave">
19919     <optional>
19920         <attribute name="fo:width">
19921             <ref name="positiveLength"/>
19922         </attribute>
19923     </optional>
19924     <optional>
19925         <attribute name="fo:height">
19926             <ref name="positiveLength"/>
19927         </attribute>
19928     </optional>
19929 </define>
19930 
19931 <!-- Used in: style-list-level-properties-content-strict -->
19932 <define name="style-list-level-properties-attlist" combine="interleave">
19933     <ref name="common-vertical-rel-attlist"/>
19934     <ref name="common-vertical-pos-attlist"/>
19935 </define>
19936 
19937 <!-- Used in: style-graphic-properties-content-strict -->
19938 <!-- Next: style-graphic-properties-attlist -->
19939 <define name="style-graphic-properties-attlist" combine="interleave">
19940     <optional>
19941         <attribute name="draw:stroke">
19942             <choice>
19943                 <value>none</value>
19944                 <value>dash</value>
19945                 <value>solid</value>
19946             </choice>
19947         </attribute>
19948     </optional>
19949 </define>
19950 
19951 <!-- Used in: style-graphic-properties-content-strict -->
19952 <!-- Next: style-graphic-properties-attlist -->
19953 <define name="style-graphic-properties-attlist" combine="interleave">
19954     <optional>
19955         <attribute name="draw:stroke-dash">
19956             <ref name="styleNameRef"/>
19957         </attribute>
19958     </optional>
19959 </define>
19960 
19961 <!-- Used in: style-graphic-properties-content-strict -->
19962 <!-- Next: style-graphic-properties-attlist -->
19963 <define name="style-graphic-properties-attlist" combine="interleave">
19964     <optional>
19965         <attribute name="draw:stroke-dash-names">
19966             <ref name="styleNameRefs"/>
19967         </attribute>
19968     </optional>
19969 </define>
19970 
19971 <!-- Used in: style-graphic-properties-content-strict -->
19972 <!-- Next: style-graphic-properties-attlist -->
19973 <define name="style-graphic-properties-attlist" combine="interleave">
19974     <optional>
19975         <attribute name="svg:stroke-width">
19976             <ref name="length"/>
19977         </attribute>
19978     </optional>
19979 </define>
19980 
19981 <!-- Used in: style-graphic-properties-content-strict -->
19982 <!-- Next: style-graphic-properties-attlist -->
19983 <define name="style-graphic-properties-attlist" combine="interleave">
19984     <optional>
19985         <attribute name="svg:stroke-color">
19986             <ref name="color"/>
19987         </attribute>
19988     </optional>
19989 </define>
19990 
19991 <!-- Used in: style-graphic-properties-content-strict -->
19992 <!-- Next: style-graphic-properties-attlist -->
19993 <define name="style-graphic-properties-attlist" combine="interleave">
19994     <optional>
19995         <attribute name="draw:marker-start">
19996             <ref name="styleNameRef"/>
19997         </attribute>
19998     </optional>
19999 </define>
20000 
20001 <!-- Used in: style-graphic-properties-content-strict -->
20002 <!-- Next: style-graphic-properties-attlist -->
20003 <define name="style-graphic-properties-attlist" combine="interleave">
20004     <optional>
20005         <attribute name="draw:marker-end">
20006             <ref name="styleNameRef"/>
20007         </attribute>
20008     </optional>
20009 </define>
20010 
20011 <!-- Used in: style-graphic-properties-content-strict -->
20012 <!-- Next: style-graphic-properties-attlist -->
20013 <define name="style-graphic-properties-attlist" combine="interleave">
20014     <optional>
20015         <attribute name="draw:marker-start-width">
20016             <ref name="length"/>
20017         </attribute>
20018     </optional>
20019 </define>
20020 
20021 <!-- Used in: style-graphic-properties-content-strict -->
20022 <!-- Next: style-graphic-properties-attlist -->
20023 <define name="style-graphic-properties-attlist" combine="interleave">
20024     <optional>
20025         <attribute name="draw:marker-end-width">
20026             <ref name="length"/>
20027         </attribute>
20028     </optional>
20029 </define>
20030 
20031 <!-- Used in: style-graphic-properties-content-strict -->
20032 <!-- Next: style-graphic-properties-attlist -->
20033 <define name="style-graphic-properties-attlist" combine="interleave">
20034     <optional>
20035         <attribute name="draw:marker-start-center">
20036             <ref name="boolean"/>
20037         </attribute>
20038     </optional>
20039 </define>
20040 
20041 <!-- Used in: style-graphic-properties-content-strict -->
20042 <!-- Next: style-graphic-properties-attlist -->
20043 <define name="style-graphic-properties-attlist" combine="interleave">
20044     <optional>
20045         <attribute name="draw:marker-end-center">
20046             <ref name="boolean"/>
20047         </attribute>
20048     </optional>
20049 </define>
20050 
20051 <!-- Used in: style-graphic-properties-content-strict -->
20052 <!-- Next: style-graphic-properties-attlist -->
20053 <define name="style-graphic-properties-attlist" combine="interleave">
20054     <optional>
20055         <attribute name="svg:stroke-opacity">
20056             <choice>
20057                 <data type="double">
20058                     <param name="minInclusive">0</param>
20059                     <param name="maxInclusive">1</param>
20060                 </data>
20061                 <ref name="percent"/>
20062             </choice>
20063         </attribute>
20064     </optional>
20065 </define>
20066 
20067 <!-- Used in: style-graphic-properties-content-strict -->
20068 <!-- Next: style-graphic-properties-attlist -->
20069 <define name="style-graphic-properties-attlist" combine="interleave">
20070     <optional>
20071         <attribute name="draw:stroke-linejoin">
20072             <choice>
20073                 <value>miter</value>
20074                 <value>round</value>
20075                 <value>bevel</value>
20076                 <value>middle</value>
20077                 <value>none</value>
20078                 <value>inherit</value>
20079             </choice>
20080         </attribute>
20081     </optional>
20082 </define>
20083 
20084 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20085 <!-- Next: style-graphic-fill-properties-attlist -->
20086 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20087     <optional>
20088         <attribute name="draw:fill">
20089             <choice>
20090                 <value>none</value>
20091                 <value>solid</value>
20092                 <value>bitmap</value>
20093                 <value>gradient</value>
20094                 <value>hatch</value>
20095             </choice>
20096         </attribute>
20097     </optional>
20098 </define>
20099 
20100 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20101 <!-- Next: style-graphic-fill-properties-attlist -->
20102 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20103     <optional>
20104         <attribute name="draw:fill-color">
20105             <ref name="color"/>
20106         </attribute>
20107     </optional>
20108 </define>
20109 
20110 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20111 <!-- Next: style-graphic-fill-properties-attlist -->
20112 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20113     <optional>
20114         <attribute name="draw:secondary-fill-color">
20115             <ref name="color"/>
20116         </attribute>
20117     </optional>
20118 </define>
20119 
20120 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20121 <!-- Next: style-graphic-fill-properties-attlist -->
20122 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20123     <optional>
20124         <attribute name="draw:fill-gradient-name">
20125             <ref name="styleNameRef"/>
20126         </attribute>
20127     </optional>
20128 </define>
20129 
20130 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20131 <!-- Next: style-graphic-fill-properties-attlist -->
20132 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20133     <optional>
20134         <attribute name="draw:gradient-step-count">
20135             <ref name="nonNegativeInteger"/>
20136         </attribute>
20137     </optional>
20138 </define>
20139 
20140 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20141 <!-- Next: style-graphic-fill-properties-attlist -->
20142 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20143     <optional>
20144         <attribute name="draw:fill-hatch-name">
20145             <ref name="styleNameRef"/>
20146         </attribute>
20147     </optional>
20148 </define>
20149 
20150 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20151 <!-- Next: style-graphic-fill-properties-attlist -->
20152 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20153     <optional>
20154         <attribute name="draw:fill-hatch-solid">
20155             <ref name="boolean"/>
20156         </attribute>
20157     </optional>
20158 </define>
20159 
20160 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20161 <!-- Next: style-graphic-fill-properties-attlist -->
20162 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20163     <optional>
20164         <attribute name="draw:fill-image-name">
20165             <ref name="styleNameRef"/>
20166         </attribute>
20167     </optional>
20168 </define>
20169 
20170 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20171 <!-- Next: style-graphic-fill-properties-attlist -->
20172 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20173     <optional>
20174         <attribute name="style:repeat">
20175             <choice>
20176                 <value>no-repeat</value>
20177                 <value>repeat</value>
20178                 <value>stretch</value>
20179             </choice>
20180         </attribute>
20181     </optional>
20182 </define>
20183 
20184 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20185 <!-- Next: style-graphic-fill-properties-attlist -->
20186 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20187     <optional>
20188         <attribute name="draw:fill-image-width">
20189             <choice>
20190                 <ref name="length"/>
20191                 <ref name="percent"/>
20192             </choice>
20193         </attribute>
20194     </optional>
20195     <optional>
20196         <attribute name="draw:fill-image-height">
20197             <choice>
20198                 <ref name="length"/>
20199                 <ref name="percent"/>
20200             </choice>
20201         </attribute>
20202     </optional>
20203 </define>
20204 
20205 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20206 <!-- Next: style-graphic-fill-properties-attlist -->
20207 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20208     <optional>
20209         <attribute name="draw:fill-image-ref-point-x">
20210             <ref name="percent"/>
20211         </attribute>
20212     </optional>
20213     <optional>
20214         <attribute name="draw:fill-image-ref-point-y">
20215             <ref name="percent"/>
20216         </attribute>
20217     </optional>
20218     <optional>
20219         <attribute name="draw:fill-image-ref-point">
20220             <choice>
20221                 <value>top-left</value>
20222                 <value>top</value>
20223                 <value>top-right</value>
20224                 <value>left</value>
20225                 <value>center</value>
20226                 <value>right</value>
20227                 <value>bottom-left</value>
20228                 <value>bottom</value>
20229                 <value>bottom-right</value>
20230             </choice>
20231         </attribute>
20232     </optional>
20233 </define>
20234 
20235 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20236 <!-- Next: style-graphic-fill-properties-attlist -->
20237 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20238     <optional>
20239         <attribute name="draw:tile-repeat-offset"/>
20240     </optional>
20241 </define>
20242 
20243 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20244 <!-- Next: style-graphic-fill-properties-attlist -->
20245 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20246     <optional>
20247         <attribute name="draw:opacity">
20248             <ref name="percent"/>
20249         </attribute>
20250     </optional>
20251 </define>
20252 
20253 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20254 <!-- Next: style-graphic-fill-properties-attlist -->
20255 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20256     <optional>
20257         <attribute name="draw:opacity-name">
20258             <ref name="styleNameRef"/>
20259         </attribute>
20260     </optional>
20261 </define>
20262 
20263 <!-- Used in: style-graphic-properties-content-strict, style-drawing-page-properties-content-strict -->
20264 <define name="style-graphic-fill-properties-attlist" combine="interleave">
20265     <optional>
20266         <attribute name="svg:fill-rule">
20267             <choice>
20268                 <value>nonzero</value>
20269                 <value>evenodd</value>
20270             </choice>
20271         </attribute>
20272     </optional>
20273 </define>
20274 
20275 <!-- Used in: style-graphic-properties-content-strict -->
20276 <!-- Next: style-graphic-properties-attlist -->
20277 <define name="style-graphic-properties-attlist" combine="interleave">
20278     <optional>
20279         <attribute name="draw:symbol-color">
20280             <ref name="color"/>
20281         </attribute>
20282     </optional>
20283 </define>
20284 
20285 <!-- Used in: style-graphic-properties-content-strict -->
20286 <!-- Next: style-graphic-properties-attlist -->
20287 <define name="style-graphic-properties-attlist" combine="interleave">
20288     <optional>
20289         <attribute name="text:animation">
20290             <choice>
20291                 <value>none</value>
20292                 <value>scroll</value>
20293                 <value>alternate</value>
20294                 <value>slide</value>
20295             </choice>
20296         </attribute>
20297     </optional>
20298 </define>
20299 
20300 <!-- Used in: style-graphic-properties-content-strict -->
20301 <!-- Next: style-graphic-properties-attlist -->
20302 <define name="style-graphic-properties-attlist" combine="interleave">
20303     <optional>
20304         <attribute name="text:animation-direction">
20305             <choice>
20306                 <value>left</value>
20307                 <value>right</value>
20308                 <value>up</value>
20309                 <value>down</value>
20310             </choice>
20311         </attribute>
20312     </optional>
20313 </define>
20314 
20315 <!-- Used in: style-graphic-properties-content-strict -->
20316 <!-- Next: style-graphic-properties-attlist -->
20317 <define name="style-graphic-properties-attlist" combine="interleave">
20318     <optional>
20319         <attribute name="text:animation-start-inside">
20320             <ref name="boolean"/>
20321         </attribute>
20322     </optional>
20323 </define>
20324 
20325 <!-- Used in: style-graphic-properties-content-strict -->
20326 <!-- Next: style-graphic-properties-attlist -->
20327 <define name="style-graphic-properties-attlist" combine="interleave">
20328     <optional>
20329         <attribute name="text:animation-stop-inside">
20330             <ref name="boolean"/>
20331         </attribute>
20332     </optional>
20333 </define>
20334 
20335 <!-- Used in: style-graphic-properties-content-strict -->
20336 <!-- Next: style-graphic-properties-attlist -->
20337 <define name="style-graphic-properties-attlist" combine="interleave">
20338     <optional>
20339         <attribute name="text:animation-repeat">
20340             <ref name="nonNegativeInteger"/>
20341         </attribute>
20342     </optional>
20343 </define>
20344 
20345 <!-- Used in: style-graphic-properties-content-strict -->
20346 <!-- Next: style-graphic-properties-attlist -->
20347 <define name="style-graphic-properties-attlist" combine="interleave">
20348     <optional>
20349         <attribute name="text:animation-delay">
20350             <ref name="duration"/>
20351         </attribute>
20352     </optional>
20353 </define>
20354 
20355 <!-- Used in: style-graphic-properties-content-strict -->
20356 <!-- Next: style-graphic-properties-attlist -->
20357 <define name="style-graphic-properties-attlist" combine="interleave">
20358     <optional>
20359         <attribute name="text:animation-steps">
20360             <ref name="length"/>
20361         </attribute>
20362     </optional>
20363 </define>
20364 
20365 <!-- Used in: style-graphic-properties-content-strict -->
20366 <!-- Next: style-graphic-properties-attlist -->
20367 <define name="style-graphic-properties-attlist" combine="interleave">
20368     <optional>
20369         <attribute name="draw:auto-grow-width">
20370             <ref name="boolean"/>
20371         </attribute>
20372     </optional>
20373     <optional>
20374         <attribute name="draw:auto-grow-height">
20375             <ref name="boolean"/>
20376         </attribute>
20377     </optional>
20378 </define>
20379 
20380 <!-- Used in: style-graphic-properties-content-strict -->
20381 <!-- Next: style-graphic-properties-attlist -->
20382 <define name="style-graphic-properties-attlist" combine="interleave">
20383     <optional>
20384         <attribute name="draw:fit-to-size">
20385             <ref name="boolean"/>
20386         </attribute>
20387     </optional>
20388 </define>
20389 
20390 <!-- Used in: style-graphic-properties-content-strict -->
20391 <!-- Next: style-graphic-properties-attlist -->
20392 <define name="style-graphic-properties-attlist" combine="interleave">
20393     <optional>
20394         <attribute name="draw:fit-to-contour">
20395             <ref name="boolean"/>
20396         </attribute>
20397     </optional>
20398 </define>
20399 
20400 <!-- Used in: style-graphic-properties-content-strict -->
20401 <!-- Next: style-graphic-properties-attlist -->
20402 <define name="style-graphic-properties-attlist" combine="interleave">
20403     <optional>
20404         <attribute name="draw:textarea-vertical-align">
20405             <choice>
20406                 <value>top</value>
20407                 <value>middle</value>
20408                 <value>bottom</value>
20409                 <value>justify</value>
20410             </choice>
20411         </attribute>
20412     </optional>
20413 </define>
20414 
20415 <!-- Used in: style-graphic-properties-content-strict -->
20416 <!-- Next: style-graphic-properties-attlist -->
20417 <define name="style-graphic-properties-attlist" combine="interleave">
20418     <optional>
20419         <attribute name="draw:textarea-horizontal-align">
20420             <choice>
20421                 <value>left</value>
20422                 <value>center</value>
20423                 <value>right</value>
20424                 <value>justify</value>
20425             </choice>
20426         </attribute>
20427     </optional>
20428 </define>
20429 
20430 <!-- Used in: style-graphic-properties-content-strict -->
20431 <!-- Next: style-graphic-properties-attlist -->
20432 <define name="style-graphic-properties-attlist" combine="interleave">
20433     <optional>
20434         <attribute name="fo:wrap-option">
20435             <choice>
20436                 <value>no-wrap</value>
20437                 <value>wrap</value>
20438             </choice>
20439         </attribute>
20440     </optional>
20441 </define>
20442 
20443 <!-- Used in: style-graphic-properties-content-strict -->
20444 <!-- Next: style-graphic-properties-elements -->
20445 <define name="style-graphic-properties-elements" combine="interleave">
20446     <optional>
20447         <ref name="text-list-style"/>
20448     </optional>
20449 </define>
20450 
20451 <!-- Used in: style-graphic-properties-content-strict -->
20452 <!-- Next: style-graphic-properties-attlist -->
20453 <define name="style-graphic-properties-attlist" combine="interleave">
20454     <optional>
20455         <attribute name="draw:color-mode">
20456             <choice>
20457                 <value>greyscale</value>
20458                 <value>mono</value>
20459                 <value>watermark</value>
20460                 <value>standard</value>
20461             </choice>
20462         </attribute>
20463     </optional>
20464 </define>
20465 
20466 <!-- Used in: style-graphic-properties-content-strict -->
20467 <!-- Next: style-graphic-properties-attlist -->
20468 <define name="style-graphic-properties-attlist" combine="interleave">
20469     <optional>
20470         <attribute name="draw:color-inversion">
20471             <ref name="boolean"/>
20472         </attribute>
20473     </optional>
20474 </define>
20475 
20476 <!-- Used in: style-graphic-properties-content-strict -->
20477 <!-- Next: style-graphic-properties-attlist -->
20478 <define name="style-graphic-properties-attlist" combine="interleave">
20479     <optional>
20480         <attribute name="draw:luminance">
20481             <ref name="percent"/>
20482         </attribute>
20483     </optional>
20484 </define>
20485 
20486 <!-- Used in: style-graphic-properties-content-strict -->
20487 <!-- Next: style-graphic-properties-attlist -->
20488 <define name="style-graphic-properties-attlist" combine="interleave">
20489     <optional>
20490         <attribute name="draw:contrast">
20491             <ref name="percent"/>
20492         </attribute>
20493     </optional>
20494 </define>
20495 
20496 <!-- Used in: style-graphic-properties-content-strict -->
20497 <!-- Next: style-graphic-properties-attlist -->
20498 <define name="style-graphic-properties-attlist" combine="interleave">
20499     <optional>
20500         <attribute name="draw:gamma">
20501             <ref name="percent"/>
20502         </attribute>
20503     </optional>
20504 </define>
20505 
20506 <!-- Used in: style-graphic-properties-content-strict -->
20507 <!-- Next: style-graphic-properties-attlist -->
20508 <define name="style-graphic-properties-attlist" combine="interleave">
20509     <optional>
20510         <attribute name="draw:red">
20511             <ref name="percent"/>
20512         </attribute>
20513     </optional>
20514 </define>
20515 
20516 <!-- Used in: style-graphic-properties-content-strict -->
20517 <!-- Next: style-graphic-properties-attlist -->
20518 <define name="style-graphic-properties-attlist" combine="interleave">
20519     <optional>
20520         <attribute name="draw:green">
20521             <ref name="percent"/>
20522         </attribute>
20523     </optional>
20524 </define>
20525 
20526 <!-- Used in: style-graphic-properties-content-strict -->
20527 <!-- Next: style-graphic-properties-attlist -->
20528 <define name="style-graphic-properties-attlist" combine="interleave">
20529     <optional>
20530         <attribute name="draw:blue">
20531             <ref name="percent"/>
20532         </attribute>
20533     </optional>
20534 </define>
20535 
20536 <!-- Used in: style-graphic-properties-content-strict -->
20537 <!-- Next: style-graphic-properties-attlist -->
20538 <define name="style-graphic-properties-attlist" combine="interleave">
20539     <optional>
20540         <attribute name="draw:image-opacity">
20541             <ref name="percent"/>
20542         </attribute>
20543     </optional>
20544 </define>
20545 
20546 <!-- Used in: style-graphic-properties-content-strict -->
20547 <!-- Next: style-graphic-properties-attlist -->
20548 <define name="style-graphic-properties-attlist" combine="interleave">
20549     <optional>
20550         <attribute name="draw:shadow">
20551             <choice>
20552                 <value>visible</value>
20553                 <value>hidden</value>
20554             </choice>
20555         </attribute>
20556     </optional>
20557 </define>
20558 
20559 <!-- Used in: style-graphic-properties-content-strict -->
20560 <!-- Next: style-graphic-properties-attlist -->
20561 <define name="style-graphic-properties-attlist" combine="interleave">
20562     <optional>
20563         <attribute name="draw:shadow-offset-x">
20564             <ref name="length"/>
20565         </attribute>
20566     </optional>
20567     <optional>
20568         <attribute name="draw:shadow-offset-y">
20569             <ref name="length"/>
20570         </attribute>
20571     </optional>
20572 </define>
20573 
20574 <!-- Used in: style-graphic-properties-content-strict -->
20575 <!-- Next: style-graphic-properties-attlist -->
20576 <define name="style-graphic-properties-attlist" combine="interleave">
20577     <optional>
20578         <attribute name="draw:shadow-color">
20579             <ref name="color"/>
20580         </attribute>
20581     </optional>
20582 </define>
20583 
20584 <!-- Used in: style-graphic-properties-content-strict -->
20585 <!-- Next: style-graphic-properties-attlist -->
20586 <define name="style-graphic-properties-attlist" combine="interleave">
20587     <optional>
20588         <attribute name="draw:shadow-opacity">
20589             <ref name="percent"/>
20590         </attribute>
20591     </optional>
20592 </define>
20593 
20594 <!-- Used in: style-graphic-properties-content-strict -->
20595 <!-- Next: style-graphic-properties-attlist -->
20596 <define name="style-graphic-properties-attlist" combine="interleave">
20597     <optional>
20598         <attribute name="draw:start-line-spacing-horizontal">
20599             <ref name="distance"/>
20600         </attribute>
20601     </optional>
20602     <optional>
20603         <attribute name="draw:start-line-spacing-vertical">
20604             <ref name="distance"/>
20605         </attribute>
20606     </optional>
20607 </define>
20608 
20609 <!-- Used in: style-graphic-properties-content-strict -->
20610 <!-- Next: style-graphic-properties-attlist -->
20611 <define name="style-graphic-properties-attlist" combine="interleave">
20612     <optional>
20613         <attribute name="draw:end-line-spacing-horizontal">
20614             <ref name="distance"/>
20615         </attribute>
20616     </optional>
20617     <optional>
20618         <attribute name="draw:end-line-spacing-vertical">
20619             <ref name="distance"/>
20620         </attribute>
20621     </optional>
20622 </define>
20623 
20624 <!-- Used in: style-graphic-properties-content-strict -->
20625 <!-- Next: style-graphic-properties-attlist -->
20626 <define name="style-graphic-properties-attlist" combine="interleave">
20627     <optional>
20628         <attribute name="draw:line-distance">
20629             <ref name="distance"/>
20630         </attribute>
20631     </optional>
20632 </define>
20633 
20634 <!-- Used in: style-graphic-properties-content-strict -->
20635 <!-- Next: style-graphic-properties-attlist -->
20636 <define name="style-graphic-properties-attlist" combine="interleave">
20637     <optional>
20638         <attribute name="draw:guide-overhang">
20639             <ref name="length"/>
20640         </attribute>
20641     </optional>
20642 </define>
20643 
20644 <!-- Used in: style-graphic-properties-content-strict -->
20645 <!-- Next: style-graphic-properties-attlist -->
20646 <define name="style-graphic-properties-attlist" combine="interleave">
20647     <optional>
20648         <attribute name="draw:guide-distance">
20649             <ref name="distance"/>
20650         </attribute>
20651     </optional>
20652 </define>
20653 
20654 <!-- Used in: style-graphic-properties-content-strict -->
20655 <!-- Next: style-graphic-properties-attlist -->
20656 <define name="style-graphic-properties-attlist" combine="interleave">
20657     <optional>
20658         <attribute name="draw:start-guide">
20659             <ref name="length"/>
20660         </attribute>
20661     </optional>
20662 </define>
20663 
20664 <!-- Used in: style-graphic-properties-content-strict -->
20665 <!-- Next: style-graphic-properties-attlist -->
20666 <define name="style-graphic-properties-attlist" combine="interleave">
20667     <optional>
20668         <attribute name="draw:end-guide">
20669             <ref name="length"/>
20670         </attribute>
20671     </optional>
20672 </define>
20673 
20674 <!-- Used in: style-graphic-properties-content-strict -->
20675 <!-- Next: style-graphic-properties-attlist -->
20676 <define name="style-graphic-properties-attlist" combine="interleave">
20677     <optional>
20678         <attribute name="draw:placing">
20679             <choice>
20680                 <value>below</value>
20681                 <value>above</value>
20682             </choice>
20683         </attribute>
20684     </optional>
20685 </define>
20686 
20687 <!-- Used in: style-graphic-properties-content-strict -->
20688 <!-- Next: style-graphic-properties-attlist -->
20689 <define name="style-graphic-properties-attlist" combine="interleave">
20690     <optional>
20691         <attribute name="draw:parallel">
20692             <ref name="boolean"/>
20693         </attribute>
20694     </optional>
20695 </define>
20696 
20697 <!-- Used in: style-graphic-properties-content-strict -->
20698 <!-- Next: style-graphic-properties-attlist -->
20699 <define name="style-graphic-properties-attlist" combine="interleave">
20700     <optional>
20701         <attribute name="draw:measure-align">
20702             <choice>
20703                 <value>automatic</value>
20704                 <value>left-outside</value>
20705                 <value>inside</value>
20706                 <value>right-outside</value>
20707             </choice>
20708         </attribute>
20709     </optional>
20710     <optional>
20711         <attribute name="draw:measure-vertical-align">
20712             <choice>
20713                 <value>automatic</value>
20714                 <value>above</value>
20715                 <value>below</value>
20716                 <value>center</value>
20717             </choice>
20718         </attribute>
20719     </optional>
20720 </define>
20721 
20722 <!-- Used in: style-graphic-properties-content-strict -->
20723 <!-- Next: style-graphic-properties-attlist -->
20724 <define name="style-graphic-properties-attlist" combine="interleave">
20725     <optional>
20726         <attribute name="draw:unit">
20727             <choice>
20728                 <value>automatic</value>
20729                 <value>mm</value>
20730                 <value>cm</value>
20731                 <value>m</value>
20732                 <value>km</value>
20733                 <value>pt</value>
20734                 <value>pc</value>
20735                 <value>inch</value>
20736                 <value>ft</value>
20737                 <value>mi</value>
20738             </choice>
20739         </attribute>
20740     </optional>
20741 </define>
20742 
20743 <!-- Used in: style-graphic-properties-content-strict -->
20744 <!-- Next: style-graphic-properties-attlist -->
20745 <define name="style-graphic-properties-attlist" combine="interleave">
20746     <optional>
20747         <attribute name="draw:show-unit">
20748             <ref name="boolean"/>
20749         </attribute>
20750     </optional>
20751 </define>
20752 
20753 <!-- Used in: style-graphic-properties-content-strict -->
20754 <!-- Next: style-graphic-properties-attlist -->
20755 <define name="style-graphic-properties-attlist" combine="interleave">
20756     <optional>
20757         <attribute name="draw:decimal-places">
20758             <ref name="nonNegativeInteger"/>
20759         </attribute>
20760     </optional>
20761 </define>
20762 
20763 <!-- Used in: style-graphic-properties-content-strict -->
20764 <!-- Next: style-graphic-properties-attlist -->
20765 <define name="style-graphic-properties-attlist" combine="interleave">
20766     <optional>
20767         <attribute name="draw:caption-type">
20768             <choice>
20769                 <value>straight-line</value>
20770                 <value>angled-line</value>
20771                 <value>angled-connector-line</value>
20772             </choice>
20773         </attribute>
20774     </optional>
20775 </define>
20776 
20777 <!-- Used in: style-graphic-properties-content-strict -->
20778 <!-- Next: style-graphic-properties-attlist -->
20779 <define name="style-graphic-properties-attlist" combine="interleave">
20780     <optional>
20781         <attribute name="draw:caption-angle-type">
20782             <choice>
20783                 <value>fixed</value>
20784                 <value>free</value>
20785             </choice>
20786         </attribute>
20787     </optional>
20788 </define>
20789 
20790 <!-- Used in: style-graphic-properties-content-strict -->
20791 <!-- Next: style-graphic-properties-attlist -->
20792 <define name="style-graphic-properties-attlist" combine="interleave">
20793     <optional>
20794         <attribute name="draw:caption-angle">
20795             <ref name="nonNegativeInteger"/>
20796         </attribute>
20797     </optional>
20798 </define>
20799 
20800 <!-- Used in: style-graphic-properties-content-strict -->
20801 <!-- Next: style-graphic-properties-attlist -->
20802 <define name="style-graphic-properties-attlist" combine="interleave">
20803     <optional>
20804         <attribute name="draw:caption-gap">
20805             <ref name="distance"/>
20806         </attribute>
20807     </optional>
20808 </define>
20809 
20810 <!-- Used in: style-graphic-properties-content-strict -->
20811 <!-- Next: style-graphic-properties-attlist -->
20812 <define name="style-graphic-properties-attlist" combine="interleave">
20813     <optional>
20814         <attribute name="draw:caption-escape-direction">
20815             <choice>
20816                 <value>horizontal</value>
20817                 <value>vertical</value>
20818                 <value>auto</value>
20819             </choice>
20820         </attribute>
20821     </optional>
20822 </define>
20823 
20824 <!-- Used in: style-graphic-properties-content-strict -->
20825 <!-- Next: style-graphic-properties-attlist -->
20826 <define name="style-graphic-properties-attlist" combine="interleave">
20827     <optional>
20828         <attribute name="draw:caption-escape">
20829             <choice>
20830                 <ref name="length"/>
20831                 <ref name="percent"/>
20832             </choice>
20833         </attribute>
20834     </optional>
20835 </define>
20836 
20837 <!-- Used in: style-graphic-properties-content-strict -->
20838 <!-- Next: style-graphic-properties-attlist -->
20839 <define name="style-graphic-properties-attlist" combine="interleave">
20840     <optional>
20841         <attribute name="draw:caption-line-length">
20842             <ref name="length"/>
20843         </attribute>
20844     </optional>
20845 </define>
20846 
20847 <!-- Used in: style-graphic-properties-content-strict -->
20848 <!-- Next: style-graphic-properties-attlist -->
20849 <define name="style-graphic-properties-attlist" combine="interleave">
20850     <optional>
20851         <attribute name="draw:caption-fit-line-length">
20852             <ref name="boolean"/>
20853         </attribute>
20854     </optional>
20855 </define>
20856 
20857 <!-- Used in: style-graphic-properties-content-strict -->
20858 <!-- Next: style-graphic-properties-attlist -->
20859 <define name="style-graphic-properties-attlist" combine="interleave">
20860     <optional>
20861         <attribute name="dr3d:horizontal-segments">
20862             <ref name="nonNegativeInteger"/>
20863         </attribute>
20864     </optional>
20865 </define>
20866 
20867 <!-- Used in: style-graphic-properties-content-strict -->
20868 <!-- Next: style-graphic-properties-attlist -->
20869 <define name="style-graphic-properties-attlist" combine="interleave">
20870     <optional>
20871         <attribute name="dr3d:vertical-segments">
20872             <ref name="nonNegativeInteger"/>
20873         </attribute>
20874     </optional>
20875 </define>
20876 
20877 <!-- Used in: style-graphic-properties-content-strict -->
20878 <!-- Next: style-graphic-properties-attlist -->
20879 <define name="style-graphic-properties-attlist" combine="interleave">
20880     <optional>
20881         <attribute name="dr3d:edge-rounding">
20882             <ref name="percent"/>
20883         </attribute>
20884     </optional>
20885 </define>
20886 
20887 <!-- Used in: style-graphic-properties-content-strict -->
20888 <!-- Next: style-graphic-properties-attlist -->
20889 <define name="style-graphic-properties-attlist" combine="interleave">
20890     <optional>
20891         <attribute name="dr3d:edge-rounding-mode">
20892             <choice>
20893                 <value>correct</value>
20894                 <value>attractive</value>
20895             </choice>
20896         </attribute>
20897     </optional>
20898 </define>
20899 
20900 <!-- Used in: style-graphic-properties-content-strict -->
20901 <!-- Next: style-graphic-properties-attlist -->
20902 <define name="style-graphic-properties-attlist" combine="interleave">
20903     <optional>
20904         <attribute name="dr3d:back-scale">
20905             <ref name="percent"/>
20906         </attribute>
20907     </optional>
20908 </define>
20909 
20910 <!-- Used in: style-graphic-properties-content-strict -->
20911 <!-- Next: style-graphic-properties-attlist -->
20912 <define name="style-graphic-properties-attlist" combine="interleave">
20913     <optional>
20914         <attribute name="dr3d:depth">
20915             <ref name="length"/>
20916         </attribute>
20917     </optional>
20918 </define>
20919 
20920 <!-- Used in: style-graphic-properties-content-strict -->
20921 <!-- Next: style-graphic-properties-attlist -->
20922 <define name="style-graphic-properties-attlist" combine="interleave">
20923     <optional>
20924         <attribute name="dr3d:backface-culling">
20925             <choice>
20926                 <value>enabled</value>
20927                 <value>disabled</value>
20928             </choice>
20929         </attribute>
20930     </optional>
20931 </define>
20932 
20933 <!-- Used in: style-graphic-properties-content-strict -->
20934 <!-- Next: style-graphic-properties-attlist -->
20935 <define name="style-graphic-properties-attlist" combine="interleave">
20936     <optional>
20937         <attribute name="dr3d:end-angle">
20938             <ref name="nonNegativeInteger"/>
20939         </attribute>
20940     </optional>
20941 </define>
20942 
20943 <!-- Used in: style-graphic-properties-content-strict -->
20944 <!-- Next: style-graphic-properties-attlist -->
20945 <define name="style-graphic-properties-attlist" combine="interleave">
20946     <optional>
20947         <attribute name="dr3d:close-front">
20948             <ref name="boolean"/>
20949         </attribute>
20950     </optional>
20951 </define>
20952 
20953 <!-- Used in: style-graphic-properties-content-strict -->
20954 <!-- Next: style-graphic-properties-attlist -->
20955 <define name="style-graphic-properties-attlist" combine="interleave">
20956     <optional>
20957         <attribute name="dr3d:close-back">
20958             <ref name="boolean"/>
20959         </attribute>
20960     </optional>
20961 </define>
20962 
20963 <!-- Used in: style-graphic-properties-content-strict -->
20964 <!-- Next: style-graphic-properties-attlist -->
20965 <define name="style-graphic-properties-attlist" combine="interleave">
20966     <optional>
20967         <attribute name="dr3d:lighting-mode">
20968             <choice>
20969                 <value>standard</value>
20970                 <value>double-sided</value>
20971             </choice>
20972         </attribute>
20973     </optional>
20974 </define>
20975 
20976 <!-- Used in: style-graphic-properties-content-strict -->
20977 <!-- Next: style-graphic-properties-attlist -->
20978 <define name="style-graphic-properties-attlist" combine="interleave">
20979     <optional>
20980         <attribute name="dr3d:normals-kind">
20981             <choice>
20982                 <value>object</value>
20983                 <value>flat</value>
20984                 <value>sphere</value>
20985             </choice>
20986         </attribute>
20987     </optional>
20988 </define>
20989 
20990 <!-- Used in: style-graphic-properties-content-strict -->
20991 <!-- Next: style-graphic-properties-attlist -->
20992 <define name="style-graphic-properties-attlist" combine="interleave">
20993     <optional>
20994         <attribute name="dr3d:normals-direction">
20995             <choice>
20996                 <value>normal</value>
20997                 <value>inverse</value>
20998             </choice>
20999         </attribute>
21000     </optional>
21001 </define>
21002 
21003 <!-- Used in: style-graphic-properties-content-strict -->
21004 <!-- Next: style-graphic-properties-attlist -->
21005 <define name="style-graphic-properties-attlist" combine="interleave">
21006     <optional>
21007         <attribute name="dr3d:texture-generation-mode-x">
21008             <choice>
21009                 <value>object</value>
21010                 <value>parallel</value>
21011                 <value>sphere</value>
21012             </choice>
21013         </attribute>
21014     </optional>
21015     <optional>
21016         <attribute name="dr3d:texture-generation-mode-y">
21017             <choice>
21018                 <value>object</value>
21019                 <value>parallel</value>
21020                 <value>sphere</value>
21021             </choice>
21022         </attribute>
21023     </optional>
21024 </define>
21025 
21026 <!-- Used in: style-graphic-properties-content-strict -->
21027 <!-- Next: style-graphic-properties-attlist -->
21028 <define name="style-graphic-properties-attlist" combine="interleave">
21029     <optional>
21030         <attribute name="dr3d:texture-kind">
21031             <choice>
21032                 <value>luminance</value>
21033                 <value>intesity</value>
21034                 <value>color</value>
21035             </choice>
21036         </attribute>
21037     </optional>
21038 </define>
21039 
21040 <!-- Used in: style-graphic-properties-content-strict -->
21041 <!-- Next: style-graphic-properties-attlist -->
21042 <define name="style-graphic-properties-attlist" combine="interleave">
21043     <optional>
21044         <attribute name="dr3d:texture-filter">
21045             <choice>
21046                 <value>enabled</value>
21047                 <value>disabled</value>
21048             </choice>
21049         </attribute>
21050     </optional>
21051 </define>
21052 
21053 <!-- Used in: style-graphic-properties-content-strict -->
21054 <!-- Next: style-graphic-properties-attlist -->
21055 <define name="style-graphic-properties-attlist" combine="interleave">
21056     <optional>
21057         <attribute name="dr3d:texture-mode">
21058             <choice>
21059                 <value>replace</value>
21060                 <value>modulate</value>
21061                 <value>blend</value>
21062             </choice>
21063         </attribute>
21064     </optional>
21065 </define>
21066 
21067 <!-- Used in: style-graphic-properties-content-strict -->
21068 <!-- Next: style-graphic-properties-attlist -->
21069 <define name="style-graphic-properties-attlist" combine="interleave">
21070     <optional>
21071         <attribute name="dr3d:ambient-color">
21072             <ref name="color"/>
21073         </attribute>
21074     </optional>
21075     <optional>
21076         <attribute name="dr3d:emissive-color">
21077             <ref name="color"/>
21078         </attribute>
21079     </optional>
21080     <optional>
21081         <attribute name="dr3d:specular-color">
21082             <ref name="color"/>
21083         </attribute>
21084     </optional>
21085     <optional>
21086         <attribute name="dr3d:diffuse-color">
21087             <ref name="color"/>
21088         </attribute>
21089     </optional>
21090 </define>
21091 
21092 <!-- Used in: style-graphic-properties-content-strict -->
21093 <!-- Next: style-graphic-properties-attlist -->
21094 <define name="style-graphic-properties-attlist" combine="interleave">
21095     <optional>
21096         <attribute name="dr3d:shininess">
21097             <ref name="percent"/>
21098         </attribute>
21099     </optional>
21100 </define>
21101 
21102 <!-- Used in: style-graphic-properties-content-strict -->
21103 <!-- Next: style-graphic-properties-attlist -->
21104 <define name="style-graphic-properties-attlist" combine="interleave">
21105     <optional>
21106         <attribute name="dr3d:shadow">
21107             <choice>
21108                 <value>visible</value>
21109                 <value>hidden</value>
21110             </choice>
21111         </attribute>
21112     </optional>
21113 </define>
21114 
21115 <!-- Used in: style-graphic-properties-content-strict -->
21116 <!-- Next: style-graphic-properties-attlist -->
21117 <define name="style-graphic-properties-attlist" combine="interleave">
21118     <ref name="common-draw-rel-size-attlist"/>
21119     <optional>
21120         <attribute name="fo:min-width">
21121             <choice>
21122                 <ref name="length"/>
21123                 <ref name="percent"/>
21124             </choice>
21125         </attribute>
21126     </optional>
21127 </define>
21128 
21129 <!-- Used in: style-graphic-properties-content-strict -->
21130 <!-- Next: style-graphic-properties-attlist -->
21131 <define name="style-graphic-properties-attlist" combine="interleave">
21132     <optional>
21133         <attribute name="fo:min-height">
21134             <choice>
21135                 <ref name="length"/>
21136                 <ref name="percent"/>
21137             </choice>
21138         </attribute>
21139     </optional>
21140 </define>
21141 
21142 <!-- Used in: style-graphic-properties-content-strict -->
21143 <!-- Next: style-graphic-properties-attlist -->
21144 <define name="style-graphic-properties-attlist" combine="interleave">
21145     <optional>
21146         <attribute name="fo:max-height">
21147             <choice>
21148                 <ref name="length"/>
21149                 <ref name="percent"/>
21150             </choice>
21151         </attribute>
21152     </optional>
21153     <optional>
21154         <attribute name="fo:max-width">
21155             <choice>
21156                 <ref name="length"/>
21157                 <ref name="percent"/>
21158             </choice>
21159         </attribute>
21160     </optional>
21161 </define>
21162 
21163 <!-- Used in: style-graphic-properties-content-strict -->
21164 <!-- Next: style-graphic-properties-attlist -->
21165 <define name="style-graphic-properties-attlist" combine="interleave">
21166     <ref name="common-horizontal-margin-attlist"/>
21167 </define>
21168 
21169 <!-- Used in: style-graphic-properties-content-strict -->
21170 <!-- Next: style-graphic-properties-attlist -->
21171 <define name="style-graphic-properties-attlist" combine="interleave">
21172     <ref name="common-vertical-margin-attlist"/>
21173 </define>
21174 
21175 <!-- Used in: style-graphic-properties-content-strict -->
21176 <!-- Next: style-graphic-properties-attlist -->
21177 <define name="style-graphic-properties-attlist" combine="interleave">
21178     <ref name="common-margin-attlist"/>
21179 </define>
21180 
21181 <!-- Used in: style-graphic-properties-content-strict -->
21182 <!-- Next: style-graphic-properties-attlist -->
21183 <define name="style-graphic-properties-attlist" combine="interleave">
21184     <optional>
21185         <attribute name="style:print-content">
21186             <ref name="boolean"/>
21187         </attribute>
21188     </optional>
21189 </define>
21190 
21191 <!-- Used in: style-graphic-properties-content-strict -->
21192 <!-- Next: style-graphic-properties-attlist -->
21193 <define name="style-graphic-properties-attlist" combine="interleave">
21194     <optional>
21195         <attribute name="style:protect">
21196             <choice>
21197                 <value>none</value>
21198                 <list>
21199                     <oneOrMore>
21200                         <choice>
21201                             <value>content</value>
21202                             <value>position</value>
21203                             <value>size</value>
21204                         </choice>
21205                     </oneOrMore>
21206                 </list>
21207             </choice>
21208         </attribute>
21209     </optional>
21210 </define>
21211 
21212 <!-- Used in: style-graphic-properties-content-strict -->
21213 <!-- Next: style-graphic-properties-attlist -->
21214 <define name="style-graphic-properties-attlist" combine="interleave">
21215     <optional>
21216         <attribute name="style:horizontal-pos">
21217             <choice>
21218                 <value>left</value>
21219                 <value>center</value>
21220                 <value>right</value>
21221                 <value>from-left</value>
21222                 <value>inside</value>
21223                 <value>outside</value>
21224                 <value>from-inside</value>
21225             </choice>
21226         </attribute>
21227     </optional>
21228     <optional>
21229         <attribute name="svg:x">
21230             <ref name="coordinate"/>
21231         </attribute>
21232     </optional>
21233 </define>
21234 
21235 <!-- Used in: style-graphic-properties-content-strict -->
21236 <!-- Next: style-graphic-properties-attlist -->
21237 <define name="style-graphic-properties-attlist" combine="interleave">
21238     <optional>
21239         <attribute name="style:horizontal-rel">
21240             <choice>
21241                     <value>page</value>
21242                 <value>page-content</value>
21243                 <value>page-start-margin</value>
21244                 <value>page-end-margin</value>
21245                 <value>frame</value>
21246                 <value>frame-content</value>
21247                 <value>frame-start-margin</value>
21248                 <value>frame-end-margin</value>
21249                 <value>paragraph</value>
21250                 <value>paragraph-content</value>
21251                 <value>paragraph-start-margin</value>
21252                 <value>paragraph-end-margin</value>
21253                 <value>char</value>
21254             </choice>
21255         </attribute>
21256     </optional>
21257 </define>
21258 
21259 <!-- Used in: style-graphic-properties-content-strict -->
21260 <!-- Next: style-graphic-properties-attlist -->
21261 <define name="style-graphic-properties-attlist" combine="interleave">
21262     <ref name="common-vertical-pos-attlist"/>
21263 </define>
21264 
21265 
21266 <!-- Used in: style-list-level-properties-attlist, style-graphic-properties-attlist -->
21267 <define name="common-vertical-pos-attlist">
21268     <optional>
21269         <attribute name="style:vertical-pos">
21270             <choice>
21271                 <value>top</value>
21272                 <value>middle</value>
21273                 <value>bottom</value>
21274                 <value>from-top</value>
21275                 <value>below</value>
21276             </choice>
21277         </attribute>
21278     </optional>
21279     <optional>
21280         <attribute name="svg:y">
21281             <ref name="coordinate"/>
21282         </attribute>
21283     </optional>
21284 </define>
21285 
21286 <!-- Used in: style-graphic-properties-content-strict -->
21287 <!-- Next: style-graphic-properties-attlist -->
21288 <define name="style-graphic-properties-attlist" combine="interleave">
21289     <ref name="common-vertical-rel-attlist"/>
21290 </define>
21291 
21292 
21293 <!-- Used in: style-list-level-properties-attlist, style-graphic-properties-attlist -->
21294 <define name="common-vertical-rel-attlist">
21295     <optional>
21296         <attribute name="style:vertical-rel">
21297             <choice>
21298                 <value>page</value>
21299                 <value>page-content</value>
21300                 <value>frame</value>
21301                 <value>frame-content</value>
21302                 <value>paragraph</value>
21303                 <value>paragraph-content</value>
21304                 <value>char</value>
21305                 <value>line</value>
21306                 <value>baseline</value>
21307                 <value>text</value>
21308             </choice>
21309         </attribute>
21310     </optional>
21311 </define>
21312 
21313 <!-- Used in: style-graphic-properties-content-strict -->
21314 <!-- Next: style-graphic-properties-attlist -->
21315 <define name="style-graphic-properties-attlist" combine="interleave">
21316     <ref name="common-text-anchor-attlist"/>
21317 </define>
21318 
21319 <!-- Used in: style-graphic-properties-content-strict -->
21320 <!-- Next: style-graphic-properties-attlist -->
21321 <define name="style-graphic-properties-attlist" combine="interleave">
21322     <ref name="common-border-attlist"/>
21323 </define>
21324 
21325 <!-- Used in: style-graphic-properties-content-strict -->
21326 <!-- Next: style-graphic-properties-attlist -->
21327 <define name="style-graphic-properties-attlist" combine="interleave">
21328     <ref name="common-border-line-width-attlist"/>
21329 </define>
21330 
21331 <!-- Used in: style-graphic-properties-content-strict -->
21332 <!-- Next: style-graphic-properties-attlist -->
21333 <define name="style-graphic-properties-attlist" combine="interleave">
21334     <ref name="common-padding-attlist"/>
21335 </define>
21336 
21337 <!-- Used in: style-graphic-properties-content-strict -->
21338 <!-- Next: style-graphic-properties-attlist -->
21339 <define name="style-graphic-properties-attlist" combine="interleave">
21340     <ref name="common-shadow-attlist"/>
21341 </define>
21342 
21343 <!-- Used in: style-graphic-properties-content-strict -->
21344 <!-- Next: style-graphic-properties-attlist -->
21345 <define name="style-graphic-properties-attlist" combine="interleave">
21346     <ref name="common-background-color-attlist"/>
21347 </define>
21348 
21349 <!-- Used in: style-graphic-properties-content-strict -->
21350 <!-- Next: style-graphic-properties-elements -->
21351 <define name="style-graphic-properties-elements" combine="interleave">
21352     <ref name="style-background-image"/>
21353 </define>
21354 
21355 <!-- Used in: style-graphic-properties-content-strict -->
21356 <define name="style-graphic-properties-elements" combine="interleave">
21357     <ref name="style-columns"/>
21358 </define>
21359 
21360 <!-- Used in: style-graphic-properties-content-strict -->
21361 <!-- Next: style-graphic-properties-attlist -->
21362 <define name="style-graphic-properties-attlist" combine="interleave">
21363     <optional>
21364         <attribute name="style:editable">
21365             <ref name="boolean"/>
21366         </attribute>
21367     </optional>
21368 </define>
21369 
21370 <!-- Used in: style-graphic-properties-content-strict -->
21371 <!-- Next: style-graphic-properties-attlist -->
21372 <define name="style-graphic-properties-attlist" combine="interleave">
21373     <optional>
21374         <attribute name="style:wrap">
21375             <choice>
21376                 <value>none</value>
21377                 <value>left</value>
21378                 <value>right</value>
21379                 <value>parallel</value>
21380                 <value>dynamic</value>
21381                 <value>run-through</value>
21382                 <value>biggest</value>
21383             </choice>
21384         </attribute>
21385     </optional>
21386 </define>
21387 
21388 <!-- Used in: style-graphic-properties-content-strict -->
21389 <!-- Next: style-graphic-properties-attlist -->
21390 <define name="style-graphic-properties-attlist" combine="interleave">
21391     <optional>
21392         <attribute name="style:wrap-dynamic-treshold">
21393             <ref name="nonNegativeLength"/>
21394         </attribute>
21395     </optional>
21396 </define>
21397 
21398 <!-- Used in: style-graphic-properties-content-strict -->
21399 <!-- Next: style-graphic-properties-attlist -->
21400 <define name="style-graphic-properties-attlist" combine="interleave">
21401     <optional>
21402         <attribute name="style:number-wrapped-paragraphs">
21403             <choice>
21404                 <value>no-limit</value>
21405                 <ref name="positiveInteger"/>
21406             </choice>
21407         </attribute>
21408     </optional>
21409 </define>
21410 
21411 <!-- Used in: style-graphic-properties-content-strict -->
21412 <!-- Next: style-graphic-properties-attlist -->
21413 <define name="style-graphic-properties-attlist" combine="interleave">
21414     <optional>
21415         <attribute name="style:wrap-contour">
21416             <ref name="boolean"/>
21417         </attribute>
21418     </optional>
21419 </define>
21420 
21421 <!-- Used in: style-graphic-properties-content-strict -->
21422 <!-- Next: style-graphic-properties-attlist -->
21423 <define name="style-graphic-properties-attlist" combine="interleave">
21424     <optional>
21425         <attribute name="style:wrap-contour-mode">
21426             <choice>
21427                 <value>full</value>
21428                 <value>outside</value>
21429             </choice>
21430         </attribute>
21431     </optional>
21432 </define>
21433 
21434 <!-- Used in: style-graphic-properties-content-strict -->
21435 <!-- Next: style-graphic-properties-attlist -->
21436 <define name="style-graphic-properties-attlist" combine="interleave">
21437     <optional>
21438         <attribute name="style:run-through">
21439             <choice>
21440                 <value>foreground</value>
21441                 <value>background</value>
21442             </choice>
21443         </attribute>
21444     </optional>
21445 </define>
21446 
21447 <!-- Used in: style-graphic-properties-content-strict -->
21448 <!-- Next: style-graphic-properties-attlist -->
21449 <define name="style-graphic-properties-attlist" combine="interleave">
21450     <optional>
21451         <attribute name="style:flow-with-text">
21452             <ref name="boolean"/>
21453         </attribute>
21454     </optional>
21455 </define>
21456 
21457 <!-- Used in: style-graphic-properties-content-strict -->
21458 <!-- Next: style-graphic-properties-attlist -->
21459 <define name="style-graphic-properties-attlist" combine="interleave">
21460     <optional>
21461         <attribute name="style:overflow-behavior">
21462             <choice>
21463                 <value>clip</value>
21464                 <value>auto-create-new-frame</value>
21465             </choice>
21466         </attribute>
21467     </optional>
21468 </define>
21469 
21470 <!-- Used in: style-graphic-properties-content-strict -->
21471 <!-- Next: style-graphic-properties-attlist -->
21472 <define name="style-graphic-properties-attlist" combine="interleave">
21473     <optional>
21474         <attribute name="style:mirror">
21475             <choice>
21476                 <value>none</value>
21477                 <value>vertical</value>
21478                 <ref name="horizontal-mirror"/>
21479                 <list>
21480                     <value>vertical</value>
21481                     <ref name="horizontal-mirror"/>
21482                 </list>
21483                 <list>
21484                     <ref name="horizontal-mirror"/>
21485                     <value>vertical</value>
21486                 </list>
21487             </choice>
21488         </attribute>
21489     </optional>
21490 </define>
21491 
21492 
21493 <!-- Used in: style-graphic-properties-attlist -->
21494 <define name="horizontal-mirror">
21495     <choice>
21496         <value>horizontal</value>
21497         <value>horizontal-on-odd</value>
21498         <value>horizontal-on-even</value>
21499     </choice>
21500 </define>
21501 
21502 <!-- Used in: style-graphic-properties-content-strict -->
21503 <!-- Next: style-graphic-properties-attlist -->
21504 <define name="style-graphic-properties-attlist" combine="interleave">
21505     <optional>
21506         <attribute name="fo:clip">
21507             <!-- The attribute value must match the one XSL's clip -->
21508 
21509             <ref name="string"/>
21510         </attribute>
21511     </optional>
21512 </define>
21513 
21514 <!-- Used in: style-graphic-properties-content-strict -->
21515 <!-- Next: style-graphic-properties-attlist -->
21516 <define name="style-graphic-properties-attlist" combine="interleave">
21517     <optional>
21518         <attribute name="draw:wrap-influence-on-position" a:defaultValue="iterative">
21519             <choice>
21520                 <value>iterative</value>
21521                 <value>once-concurrent</value>
21522                 <value>once-successive</value>
21523             </choice>
21524         </attribute>
21525     </optional>
21526 </define>
21527 
21528 <!-- Used in: style-graphic-properties-content-strict -->
21529 <!-- Next: style-graphic-properties-attlist -->
21530 <define name="style-graphic-properties-attlist" combine="interleave">
21531     <optional>
21532         <attribute name="draw:frame-display-scrollbar">
21533             <ref name="boolean"/>
21534         </attribute>
21535     </optional>
21536 </define>
21537 
21538 <!-- Used in: style-graphic-properties-content-strict -->
21539 <!-- Next: style-graphic-properties-attlist -->
21540 <define name="style-graphic-properties-attlist" combine="interleave">
21541     <optional>
21542         <attribute name="draw:frame-display-border">
21543             <ref name="boolean"/>
21544         </attribute>
21545     </optional>
21546 </define>
21547 
21548 <!-- Used in: style-graphic-properties-content-strict -->
21549 <!-- Next: style-graphic-properties-attlist -->
21550 <define name="style-graphic-properties-attlist" combine="interleave">
21551     <optional>
21552         <attribute name="draw:frame-margin-horizontal">
21553             <ref name="nonNegativePixelLength"/>
21554         </attribute>
21555     </optional>
21556     <optional>
21557         <attribute name="draw:frame-margin-vertical">
21558             <ref name="nonNegativePixelLength"/>
21559         </attribute>
21560     </optional>
21561 </define>
21562 
21563 
21564 <!-- Used in: style-graphic-properties-attlist -->
21565 <define name="nonNegativePixelLength">
21566     <data type="string">
21567         <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)(px)</param>
21568     </data>
21569 </define>
21570 
21571 <!-- Used in: style-graphic-properties-content-strict -->
21572 <!-- Next: style-graphic-properties-attlist -->
21573 <define name="style-graphic-properties-attlist" combine="interleave">
21574     <optional>
21575         <attribute name="draw:visible-area-left">
21576             <ref name="nonNegativeLength"/>
21577         </attribute>
21578     </optional>
21579     <optional>
21580         <attribute name="draw:visible-area-top">
21581             <ref name="nonNegativeLength"/>
21582         </attribute>
21583     </optional>
21584     <optional>
21585         <attribute name="draw:visible-area-width">
21586             <ref name="positiveLength"/>
21587         </attribute>
21588     </optional>
21589     <optional>
21590         <attribute name="draw:visible-area-height">
21591             <ref name="positiveLength"/>
21592         </attribute>
21593     </optional>
21594 </define>
21595 
21596 <!-- Used in: style-graphic-properties-content-strict -->
21597 <define name="style-graphic-properties-attlist" combine="interleave">
21598     <optional>
21599         <attribute name="draw:ole-draw-aspect">
21600             <ref name="nonNegativeInteger"/>
21601         </attribute>
21602     </optional>
21603 </define>
21604 
21605 <!-- Used in: style-style-content -->
21606 <define name="style-chart-properties">
21607     <element name="style:chart-properties">
21608         <ref name="style-chart-properties-content"/>
21609     </element>
21610 </define>
21611 
21612 
21613 <!-- Used in: style-chart-properties -->
21614 <define name="style-chart-properties-content">
21615     <ref name="style-properties-content"/>
21616 </define>
21617 
21618 
21619 <define name="style-chart-properties-content-strict">
21620     <ref name="style-chart-properties-attlist"/>
21621     <ref name="style-chart-properties-elements"/>
21622 </define>
21623 
21624 
21625 <!-- Used in: style-chart-properties-content-strict -->
21626 <define name="style-chart-properties-elements">
21627     <empty/>
21628 </define>
21629 
21630 <!-- Used in: style-chart-properties-content-strict -->
21631 <!-- Next: style-chart-properties-attlist -->
21632 <define name="style-chart-properties-attlist" combine="interleave">
21633     <optional>
21634         <attribute name="chart:scale-text" a:defaultValue="true">
21635             <ref name="boolean"/>
21636         </attribute>
21637     </optional>
21638 </define>
21639 
21640 <!-- Used in: style-chart-properties-content-strict -->
21641 <!-- Next: style-chart-properties-attlist -->
21642 <define name="style-chart-properties-attlist" combine="interleave">
21643     <optional>
21644         <attribute name="chart:three-dimensional">
21645             <ref name="boolean"/>
21646         </attribute>
21647     </optional>
21648 </define>
21649 
21650 <!-- Used in: style-chart-properties-content-strict -->
21651 <!-- Next: style-chart-properties-attlist -->
21652 <define name="style-chart-properties-attlist" combine="interleave">
21653     <optional>
21654         <attribute name="chart:deep">
21655             <ref name="boolean"/>
21656         </attribute>
21657     </optional>
21658 </define>
21659 
21660 <!-- Used in: style-chart-properties-content-strict -->
21661 <!-- Next: style-chart-properties-attlist -->
21662 <define name="style-chart-properties-attlist" combine="interleave">
21663     <choice>
21664         <attribute name="chart:symbol-type">
21665             <value>none</value>
21666         </attribute>
21667         <attribute name="chart:symbol-type">
21668             <value>automatic</value>
21669         </attribute>
21670         <group>
21671             <attribute name="chart:symbol-type">
21672                 <value>named-symbol</value>
21673             </attribute>
21674             <attribute name="chart:symbol-name">
21675                 <choice>
21676                     <value>square</value>
21677                     <value>diamond</value>
21678                     <value>arrow-down</value>
21679                     <value>arrow-up</value>
21680                     <value>arrow-right</value>
21681                     <value>arrow-left</value>
21682                     <value>bow-tie</value>
21683                     <value>hourglass</value>
21684                     <value>circle</value>
21685                     <value>star</value>
21686                     <value>x</value>
21687                     <value>plus</value>
21688                     <value>asterisk</value>
21689                     <value>horizontal-bar</value>
21690                     <value>vertical-bar</value>
21691                 </choice>
21692             </attribute>
21693         </group>
21694         <group>
21695             <attribute name="chart:symbol-type">
21696                 <value>image</value>
21697             </attribute>
21698             <element name="chart:symbol-image">
21699                 <attribute name="xlink:href">
21700                     <ref name="anyURI"/>
21701                 </attribute>
21702             </element>
21703         </group>
21704         <empty/>
21705     </choice>
21706 </define>
21707 
21708 <!-- Used in: style-chart-properties-content-strict -->
21709 <!-- Next: style-chart-properties-attlist -->
21710 <define name="style-chart-properties-attlist" combine="interleave">
21711     <optional>
21712         <attribute name="chart:symbol-width">
21713             <ref name="nonNegativeLength"/>
21714         </attribute>
21715     </optional>
21716     <optional>
21717         <attribute name="chart:symbol-height">
21718             <ref name="nonNegativeLength"/>
21719         </attribute>
21720     </optional>
21721 </define>
21722 
21723 <!-- Used in: style-chart-properties-content-strict -->
21724 <!-- Next: style-chart-properties-attlist -->
21725 <define name="style-chart-properties-attlist" combine="interleave">
21726     <optional>
21727         <attribute name="chart:vertical" a:defaultValue="false">
21728             <ref name="boolean"/>
21729         </attribute>
21730     </optional>
21731 </define>
21732 
21733 <!-- Used in: style-chart-properties-content-strict -->
21734 <!-- Next: style-chart-properties-attlist -->
21735 <define name="style-chart-properties-attlist" combine="interleave">
21736     <optional>
21737         <attribute name="chart:connect-bars" a:defaultValue="false">
21738             <ref name="boolean"/>
21739         </attribute>
21740     </optional>
21741 </define>
21742 
21743 <!-- Used in: style-chart-properties-content-strict -->
21744 <!-- Next: style-chart-properties-attlist -->
21745 <define name="style-chart-properties-attlist" combine="interleave">
21746     <optional>
21747         <attribute name="chart:gap-width">
21748             <ref name="integer"/>
21749         </attribute>
21750     </optional>
21751     <optional>
21752         <attribute name="chart:overlap">
21753             <ref name="integer"/>
21754         </attribute>
21755     </optional>
21756 </define>
21757 
21758 <!-- Used in: style-chart-properties-content-strict -->
21759 <!-- Next: style-chart-properties-attlist -->
21760 <define name="style-chart-properties-attlist" combine="interleave">
21761     <optional>
21762         <attribute name="chart:japanese-candle-stick" a:defaultValue="false">
21763             <ref name="boolean"/>
21764         </attribute>
21765     </optional>
21766 </define>
21767 
21768 <!-- Used in: style-chart-properties-content-strict -->
21769 <!-- Next: style-chart-properties-attlist -->
21770 <define name="style-chart-properties-attlist" combine="interleave">
21771     <optional>
21772         <attribute name="chart:interpolation" a:defaultValue="none">
21773             <choice>
21774                 <value>none</value>
21775                 <value>cubic-spline</value>
21776                 <value>b-spline</value>
21777             </choice>
21778         </attribute>
21779     </optional>
21780     <optional>
21781         <attribute name="chart:spline-order" a:defaultValue="2">
21782             <ref name="positiveInteger"/>
21783         </attribute>
21784     </optional>
21785     <optional>
21786         <attribute name="chart:spline-resolution" a:defaultValue="20">
21787             <ref name="positiveInteger"/>
21788         </attribute>
21789     </optional>
21790 </define>
21791 
21792 <!-- Used in: style-chart-properties-content-strict -->
21793 <!-- Next: style-chart-properties-attlist -->
21794 <define name="style-chart-properties-attlist" combine="interleave">
21795     <optional>
21796         <attribute name="chart:pie-offset" a:defaultValue="0">
21797             <ref name="nonNegativeInteger"/>
21798         </attribute>
21799     </optional>
21800 </define>
21801 
21802 <!-- Used in: style-chart-properties-content-strict -->
21803 <!-- Next: style-chart-properties-attlist -->
21804 <define name="style-chart-properties-attlist" combine="interleave">
21805     <optional>
21806         <attribute name="chart:lines" a:defaultValue="false">
21807             <ref name="boolean"/>
21808         </attribute>
21809     </optional>
21810 </define>
21811 
21812 <!-- Used in: style-chart-properties-content-strict -->
21813 <!-- Next: style-chart-properties-attlist -->
21814 <define name="style-chart-properties-attlist" combine="interleave">
21815     <optional>
21816         <attribute name="chart:solid-type" a:defaultValue="cuboid">
21817             <choice>
21818                 <value>cuboid</value>
21819                 <value>cylinder</value>
21820                 <value>cone</value>
21821                 <value>pyramid</value>
21822             </choice>
21823         </attribute>
21824     </optional>
21825 </define>
21826 
21827 <!-- Used in: style-chart-properties-content-strict -->
21828 <!-- Next: style-chart-properties-attlist -->
21829 <define name="style-chart-properties-attlist" combine="interleave">
21830     <optional>
21831         <attribute name="chart:stacked" a:defaultValue="false">
21832             <ref name="boolean"/>
21833         </attribute>
21834     </optional>
21835     <optional>
21836         <attribute name="chart:percentage" a:defaultValue="false">
21837             <ref name="boolean"/>
21838         </attribute>
21839     </optional>
21840 </define>
21841 
21842 <!-- Used in: style-chart-properties-content-strict -->
21843 <!-- Next: style-chart-properties-attlist -->
21844 <define name="style-chart-properties-attlist" combine="interleave">
21845     <optional>
21846         <attribute name="chart:link-data-style-to-source">
21847             <ref name="boolean"/>
21848         </attribute>
21849     </optional>
21850 </define>
21851 
21852 <!-- Used in: style-chart-properties-content-strict -->
21853 <!-- Next: style-chart-properties-attlist -->
21854 <define name="style-chart-properties-attlist" combine="interleave">
21855     <optional>
21856         <attribute name="chart:visible">
21857             <ref name="boolean"/>
21858         </attribute>
21859     </optional>
21860 </define>
21861 
21862 <!-- Used in: style-chart-properties-content-strict -->
21863 <!-- Next: style-chart-properties-attlist -->
21864 <define name="style-chart-properties-attlist" combine="interleave">
21865     <optional>
21866         <attribute name="chart:logarithmic">
21867             <ref name="boolean"/>
21868         </attribute>
21869     </optional>
21870 </define>
21871 
21872 <!-- Used in: style-chart-properties-content-strict -->
21873 <!-- Next: style-chart-properties-attlist -->
21874 <define name="style-chart-properties-attlist" combine="interleave">
21875     <optional>
21876         <attribute name="chart:maximum">
21877             <ref name="double"/>
21878         </attribute>
21879     </optional>
21880     <optional>
21881         <attribute name="chart:minimum">
21882             <ref name="double"/>
21883         </attribute>
21884     </optional>
21885     <optional>
21886         <attribute name="chart:origin">
21887             <ref name="double"/>
21888         </attribute>
21889     </optional>
21890     <optional>
21891         <attribute name="chart:interval-major">
21892             <ref name="double"/>
21893         </attribute>
21894     </optional>
21895     <optional>
21896         <attribute name="chart:interval-minor">
21897             <ref name="positiveInteger"/>
21898         </attribute>
21899     </optional>
21900 </define>
21901 
21902 <!-- Used in: style-chart-properties-content-strict -->
21903 <!-- Next: style-chart-properties-attlist -->
21904 <define name="style-chart-properties-attlist" combine="interleave">
21905     <optional>
21906         <attribute name="chart:tick-marks-major-inner">
21907             <ref name="boolean"/>
21908         </attribute>
21909     </optional>
21910     <optional>
21911         <attribute name="chart:tick-marks-major-outer">
21912             <ref name="boolean"/>
21913         </attribute>
21914     </optional>
21915     <optional>
21916         <attribute name="chart:tick-marks-minor-inner">
21917             <ref name="boolean"/>
21918         </attribute>
21919     </optional>
21920     <optional>
21921         <attribute name="chart:tick-marks-minor-outer">
21922             <ref name="boolean"/>
21923         </attribute>
21924     </optional>
21925 </define>
21926 
21927 <!-- Used in: style-chart-properties-content-strict -->
21928 <!-- Next: style-chart-properties-attlist -->
21929 <define name="style-chart-properties-attlist" combine="interleave">
21930     <optional>
21931         <attribute name="chart:display-label">
21932             <ref name="boolean"/>
21933         </attribute>
21934     </optional>
21935     <optional>
21936         <attribute name="chart:text-overlap">
21937             <ref name="boolean"/>
21938         </attribute>
21939     </optional>
21940     <optional>
21941         <attribute name="text:line-break">
21942             <ref name="boolean"/>
21943         </attribute>
21944     </optional>
21945     <optional>
21946         <attribute name="chart:label-arrangement" a:defaultValue="side-by-side">
21947             <choice>
21948                 <value>side-by-side</value>
21949                 <value>stagger-even</value>
21950                 <value>stagger-odd</value>
21951             </choice>
21952         </attribute>
21953     </optional>
21954 </define>
21955 
21956 <!-- Used in: style-chart-properties-content-strict -->
21957 <!-- Next: style-chart-properties-attlist -->
21958 <define name="style-chart-properties-attlist" combine="interleave">
21959     <ref name="common-style-direction-attlist"/>
21960 </define>
21961 
21962 <!-- Used in: style-chart-properties-content-strict -->
21963 <!-- Next: style-chart-properties-attlist -->
21964 <define name="style-chart-properties-attlist" combine="interleave">
21965     <ref name="common-rotation-angle-attlist"/>
21966 </define>
21967 
21968 <!-- Used in: style-chart-properties-content-strict -->
21969 <!-- Next: style-chart-properties-attlist -->
21970 <define name="style-chart-properties-attlist" combine="interleave">
21971     <optional>
21972         <attribute name="chart:data-label-number">
21973             <choice>
21974                 <value>none</value>
21975                 <value>value</value>
21976                 <value>percentage</value>
21977             </choice>
21978         </attribute>
21979     </optional>
21980 </define>
21981 
21982 <!-- Used in: style-chart-properties-content-strict -->
21983 <!-- Next: style-chart-properties-attlist -->
21984 <define name="style-chart-properties-attlist" combine="interleave">
21985     <optional>
21986         <attribute name="chart:data-label-text">
21987             <ref name="boolean"/>
21988         </attribute>
21989     </optional>
21990 </define>
21991 
21992 <!-- Used in: style-chart-properties-content-strict -->
21993 <!-- Next: style-chart-properties-attlist -->
21994 <define name="style-chart-properties-attlist" combine="interleave">
21995     <optional>
21996         <attribute name="chart:data-label-symbol">
21997             <ref name="boolean"/>
21998         </attribute>
21999     </optional>
22000 </define>
22001 
22002 <!-- Used in: style-chart-properties-content-strict -->
22003 <!-- Next: style-chart-properties-attlist -->
22004 <define name="style-chart-properties-attlist" combine="interleave">
22005     <optional>
22006         <attribute name="chart:mean-value">
22007             <ref name="boolean"/>
22008         </attribute>
22009     </optional>
22010 </define>
22011 
22012 <!-- Used in: style-chart-properties-content-strict -->
22013 <!-- Next: style-chart-properties-attlist -->
22014 <define name="style-chart-properties-attlist" combine="interleave">
22015     <optional>
22016         <attribute name="chart:error-category" a:defaultValue="none">
22017             <choice>
22018                 <value>none</value>
22019                 <value>variance</value>
22020                 <value>standard-deviation</value>
22021                 <value>percentage</value>
22022                 <value>error-margin</value>
22023                 <value>constant</value>
22024             </choice>
22025         </attribute>
22026     </optional>
22027 </define>
22028 
22029 <!-- Used in: style-chart-properties-content-strict -->
22030 <!-- Next: style-chart-properties-attlist -->
22031 <define name="style-chart-properties-attlist" combine="interleave">
22032     <optional>
22033         <attribute name="chart:error-percentage">
22034             <ref name="double"/>
22035         </attribute>
22036     </optional>
22037 </define>
22038 
22039 <!-- Used in: style-chart-properties-content-strict -->
22040 <!-- Next: style-chart-properties-attlist -->
22041 <define name="style-chart-properties-attlist" combine="interleave">
22042     <optional>
22043         <attribute name="chart:error-margin">
22044             <ref name="double"/>
22045         </attribute>
22046     </optional>
22047 </define>
22048 
22049 <!-- Used in: style-chart-properties-content-strict -->
22050 <!-- Next: style-chart-properties-attlist -->
22051 <define name="style-chart-properties-attlist" combine="interleave">
22052     <optional>
22053         <attribute name="chart:error-lower-limit">
22054             <ref name="double"/>
22055         </attribute>
22056     </optional>
22057     <optional>
22058         <attribute name="chart:error-upper-limit">
22059             <ref name="double"/>
22060         </attribute>
22061     </optional>
22062 </define>
22063 
22064 <!-- Used in: style-chart-properties-content-strict -->
22065 <!-- Next: style-chart-properties-attlist -->
22066 <define name="style-chart-properties-attlist" combine="interleave">
22067     <optional>
22068         <attribute name="chart:error-upper-indicator">
22069             <ref name="boolean"/>
22070         </attribute>
22071     </optional>
22072     <optional>
22073         <attribute name="chart:error-lower-indicator">
22074             <ref name="boolean"/>
22075         </attribute>
22076     </optional>
22077 </define>
22078 
22079 <!-- Used in: style-chart-properties-content-strict -->
22080 <!-- Next: style-chart-properties-attlist -->
22081 <define name="style-chart-properties-attlist" combine="interleave">
22082     <optional>
22083         <attribute name="chart:series-source" a:defaultValue="columns">
22084             <choice>
22085                 <value>columns</value>
22086                 <value>rows</value>
22087             </choice>
22088         </attribute>
22089     </optional>
22090 </define>
22091 
22092 <!-- Used in: style-chart-properties-content-strict -->
22093 <define name="style-chart-properties-attlist" combine="interleave">
22094     <optional>
22095         <attribute name="chart:regression-type" a:defaultValue="none">
22096             <choice>
22097                 <value>none</value>
22098                 <value>linear</value>
22099                 <value>logarithmic</value>
22100                 <value>exponential</value>
22101                 <value>power</value>
22102             </choice>
22103         </attribute>
22104     </optional>
22105 </define>
22106 
22107 <!-- Used in: style-drawing-page-properties-content-strict -->
22108 <!-- Next: style-drawing-page-properties-attlist -->
22109 <define name="style-drawing-page-properties-attlist" combine="interleave">
22110     <optional>
22111         <attribute name="presentation:transition-type">
22112             <choice>
22113                 <value>manual</value>
22114                 <value>automatic</value>
22115                 <value>semi-automatic</value>
22116             </choice>
22117         </attribute>
22118     </optional>
22119 </define>
22120 
22121 <!-- Used in: style-drawing-page-properties-content-strict -->
22122 <!-- Next: style-drawing-page-properties-attlist -->
22123 <define name="style-drawing-page-properties-attlist" combine="interleave">
22124     <optional>
22125         <attribute name="presentation:transition-style">
22126             <choice>
22127                 <value>none</value>
22128                 <value>fade-from-left</value>
22129                 <value>fade-from-top</value>
22130                 <value>fade-from-right</value>
22131                 <value>fade-from-bottom</value>
22132                 <value>fade-from-upperleft</value>
22133                 <value>fade-from-upperright</value>
22134                 <value>fade-from-lowerleft</value>
22135                 <value>fade-from-lowerright</value>
22136                 <value>move-from-left</value>
22137                 <value>move-from-top</value>
22138                 <value>move-from-right</value>
22139                 <value>move-from-bottom</value>
22140                 <value>move-from-upperleft</value>
22141                 <value>move-from-upperright</value>
22142                 <value>move-from-lowerleft</value>
22143                 <value>move-from-lowerright</value>
22144                 <value>uncover-to-left</value>
22145                 <value>uncover-to-top</value>
22146                 <value>uncover-to-right</value>    
22147                 <value>uncover-to-bottom</value>
22148                 <value>uncover-to-upperleft</value>
22149                 <value>uncover-to-upperright</value>
22150                 <value>uncover-to-lowerleft</value>
22151                 <value>uncover-to-lowerright</value>
22152                 <value>fade-to-center</value>
22153                 <value>fade-from-center</value>
22154                 <value>vertical-stripes</value>
22155                 <value>horizontal-stripes</value>
22156                 <value>clockwise</value>
22157                 <value>counterclockwise</value>
22158                 <value>open-vertical</value>
22159                 <value>open-horizontal</value>
22160                 <value>close-vertical</value>
22161                 <value>close-horizontal</value>
22162                 <value>wavyline-from-left</value>
22163                 <value>wavyline-from-top</value>
22164                 <value>wavyline-from-right</value>
22165                 <value>wavyline-from-bottom</value>
22166                 <value>spiralin-left</value>
22167                 <value>spiralin-right</value>
22168                 <value>spiralout-left</value>
22169                 <value>spiralout-right</value>
22170                 <value>roll-from-top</value>
22171                 <value>roll-from-left</value>
22172                 <value>roll-from-right</value>
22173                 <value>roll-from-bottom</value>
22174                 <value>stretch-from-left</value>
22175                 <value>stretch-from-top</value>
22176                 <value>stretch-from-right</value>
22177                 <value>stretch-from-bottom</value>
22178 
22179                 <value>vertical-lines</value>
22180                 <value>horizontal-lines</value>
22181                 <value>dissolve</value>
22182                 <value>random</value>
22183                 <value>vertical-checkerboard</value>
22184                 <value>horizontal-checkerboard</value>
22185                 <value>interlocking-horizontal-left</value>
22186                 <value>interlocking-horizontal-right</value>
22187                 <value>interlocking-vertical-top</value>
22188                 <value>interlocking-vertical-bottom</value>
22189                 <value>fly-away</value>
22190                 <value>open</value>
22191                 <value>close</value>
22192                 <value>melt</value>
22193             </choice>
22194         </attribute>
22195     </optional>
22196 </define>
22197 
22198 <!-- Used in: style-drawing-page-properties-content-strict -->
22199 <!-- Next: style-drawing-page-properties-attlist -->
22200 <define name="style-drawing-page-properties-attlist" combine="interleave">
22201     <optional>
22202         <attribute name="presentation:transition-speed">
22203             <ref name="presentationSpeeds"/>
22204         </attribute>
22205     </optional>
22206 </define>
22207 
22208 <define name="style-drawing-page-properties-attlist " combine="interleave">
22209     <optional>
22210         <attribute name="smil:type">
22211             <ref name="string"/>
22212         </attribute>
22213     </optional>
22214 </define>
22215 
22216 <!-- Used in: style-drawing-page-properties-content-strict -->
22217 <!-- Next: style-drawing-page-properties-attlist -->
22218 <define name="style-drawing-page-properties-attlist" combine="interleave">
22219     <optional>
22220         <attribute name="smil:subtype">
22221             <ref name="string"/>
22222         </attribute>
22223     </optional>
22224 </define>
22225 
22226 <!-- Used in: style-drawing-page-properties-content-strict -->
22227 <!-- Next: style-drawing-page-properties-attlist -->
22228 <define name="style-drawing-page-properties-attlist" combine="interleave">
22229     <optional>
22230         <attribute name="smil:direction" a:defaultValue="forward">
22231             <choice>
22232                 <value>forward</value>
22233                 <value>reverse</value>
22234             </choice>
22235         </attribute>
22236     </optional>
22237 </define>
22238 
22239 <!-- Used in: style-drawing-page-properties-content-strict -->
22240 <!-- Next: style-drawing-page-properties-attlist -->
22241 <define name="style-drawing-page-properties-attlist" combine="interleave">
22242     <optional>
22243         <attribute name="smil:fadeColor">
22244             <choice>
22245                 <value>forward</value>
22246                 <value>reverse</value>
22247             </choice>
22248         </attribute>
22249     </optional>
22250 </define>
22251 
22252 <!-- Used in: style-drawing-page-properties-content-strict -->
22253 <!-- Next: style-drawing-page-properties-attlist -->
22254 <define name="style-drawing-page-properties-attlist" combine="interleave">
22255     <optional>
22256         <attribute name="presentation:duration">
22257             <ref name="duration"/>
22258         </attribute>
22259     </optional>
22260 </define>
22261 
22262 <!-- Used in: style-drawing-page-properties-content-strict -->
22263 <!-- Next: style-drawing-page-properties-attlist -->
22264 <define name="style-drawing-page-properties-attlist" combine="interleave">
22265     <optional>
22266         <attribute name="presentation:visibility">
22267             <choice>
22268                 <value>visible</value>
22269                 <value>hidden</value>
22270             </choice>
22271         </attribute>
22272     </optional>
22273 </define>
22274 
22275 <!-- Used in: style-drawing-page-properties-content-strict -->
22276 <define name="style-drawing-page-properties-elements" combine="interleave">
22277     <optional>
22278         <ref name="presentation-sound"/>
22279     </optional>
22280 </define>
22281 
22282 <!-- Used in: style-drawing-page-properties-content-strict -->
22283 <!-- Next: style-drawing-page-properties-attlist -->
22284 <define name="style-drawing-page-properties-attlist" combine="interleave">
22285     <optional>
22286         <attribute name="draw:background-size">
22287             <choice>
22288                 <value>full</value>
22289                 <value>border</value>
22290             </choice>
22291         </attribute>
22292     </optional>
22293 </define>
22294 
22295 <!-- Used in: style-drawing-page-properties-content-strict -->
22296 <!-- Next: style-drawing-page-properties-attlist -->
22297 <define name="style-drawing-page-properties-attlist" combine="interleave">
22298     <optional>
22299         <attribute name="presentation:background-objects-visible">
22300             <ref name="boolean"/>
22301         </attribute>
22302     </optional>
22303 </define>
22304 
22305 <!-- Used in: style-drawing-page-properties-content-strict -->
22306 <!-- Next: style-drawing-page-properties-attlist -->
22307 <define name="style-drawing-page-properties-attlist" combine="interleave">
22308     <optional>
22309         <attribute name="presentation:background-visible">
22310             <ref name="boolean"/>
22311         </attribute>
22312     </optional>
22313 </define>
22314 
22315 <!-- Used in: style-drawing-page-properties-content-strict -->
22316 <!-- Next: style-drawing-page-properties-attlist -->
22317 <define name="style-drawing-page-properties-attlist" combine="interleave">
22318     <optional>
22319         <attribute name="presentation:display-header">
22320             <ref name="boolean"/>
22321         </attribute>
22322     </optional>
22323 </define>
22324 
22325 <!-- Used in: style-drawing-page-properties-content-strict -->
22326 <!-- Next: style-drawing-page-properties-attlist -->
22327 <define name="style-drawing-page-properties-attlist" combine="interleave">
22328     <optional>
22329         <attribute name="presentation:display-footer">
22330             <ref name="boolean"/>
22331         </attribute>
22332     </optional>
22333 </define>
22334 
22335 <!-- Used in: style-drawing-page-properties-content-strict -->
22336 <!-- Next: style-drawing-page-properties-attlist -->
22337 <define name="style-drawing-page-properties-attlist" combine="interleave">
22338     <optional>
22339         <attribute name="presentation:display-page-number">
22340             <ref name="boolean"/>
22341         </attribute>
22342     </optional>
22343 </define>
22344 
22345 <!-- Used in: style-drawing-page-properties-content-strict -->
22346 <define name="style-drawing-page-properties-attlist" combine="interleave">
22347     <optional>
22348         <attribute name="presentation:display-date-time">
22349             <ref name="boolean"/>
22350         </attribute>
22351     </optional>
22352 </define>
22353 
22354 <!-- Used in: office-document-common-attrs, office-document-attrs, config-config-item-set-attlist, config-config-item-attlist, config-config-item-map-indexed-attlist, config-config-item-map-entry-attlist, config-config-item-map-named-attlist, office-script-attlist, office-meta-data, office-meta-data, office-meta-data, office-meta-data, office-meta-data, office-meta-data, dc-creator, office-meta-data, office-meta-data, office-meta-data, text-number, sectionAttr, sectionAttr, text-section-attr, text-section-source-attr, text-section-source-attr, text-a-attlist, paragraph-content, paragraph-content, paragraph-content, paragraph-content, text-page-continuation-attlist, text-sequence-ref-name, paragraph-content, common-field-database-name, common-field-database-table-attlist, text-database-display-attlist, text-conditional-text-attlist, text-conditional-text-attlist, text-hidden-text-attlist, text-common-ref-content, paragraph-content, paragraph-content, paragraph-content, common-value-and-type-attlist, text-id, paragraph-content, paragraph-content, text-index-name, paragraph-content, text-alphabetical-index-mark-attrs, text-alphabetical-index-mark-attrs, paragraph-content, text-illustration-index-source-attrs, text-user-index-source-attr, text-alphabetical-index-source-attrs, table-table-attlist, table-table-cell-attlist, table-table-cell-attlist, table-table-source-attlist, table-linked-source-attlist, table-linked-source-attlist, table-scenario-attlist, table-table-cell-range-source-attlist, office-spreadsheet-attlist, table-validation-attlist, table-validation-attlist, table-help-message, table-error-message, table-named-range-attlist, table-named-expression-attlist, table-database-range-attlist, table-database-source-sql-attlist, table-database-source-sql-attlist, table-database-source-table-attlist, table-database-source-table-attlist, table-database-source-query-attlist, table-database-source-query-attlist, table-sort-attlist, table-sort-by-attlist, table-sort-groups-attlist, table-subtotal-field-attlist, table-filter-condition-attlist, table-filter-condition-attlist, table-filter-condition-attlist, table-data-pilot-table-attlist, table-data-pilot-table-attlist, table-source-service-attlist, table-source-service-attlist, table-source-service-attlist, table-source-service-attlist, table-source-service-attlist, table-data-pilot-field-attlist, table-data-pilot-field-attlist, table-data-pilot-field-attlist, table-data-pilot-field-attlist, table-data-pilot-subtotal-attlist, table-data-pilot-member-attlist, table-data-pilot-display-info-attlist, table-data-pilot-sort-info-attlist, table-data-pilot-field-reference-attlist, table-data-pilot-field-reference-attlist, table-data-pilot-groups-attlist, table-data-pilot-group-attlist, table-data-pilot-group-member-attlist, table-consolidation-attlist, table-dependency, table-cell-content-deletion, table-change-deletion, table-insertion-cut-off-attlist, table-change-track-table-cell-attlist, table-previous, common-table-change-attlist, common-table-change-attlist, draw-layer-attlist, draw-page-attlist, common-presentation-header-footer-attlist, common-presentation-header-footer-attlist, common-presentation-header-footer-attlist, common-draw-name-attlist, common-draw-transform-attlist, draw-frame-attlist, draw-text-box-attlist, draw-image-attlist, draw-object-attlist, draw-floating-frame-attlist, draw-a-attlist, common-draw-area-attlist, draw-custom-shape-attlist, custom-shape-type, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-equation-attlist, draw-equation-attlist, draw-handle-attlist, draw-handle-attlist, draw-handle-attlist, draw-handle-attlist, draw-handle-attlist, draw-handle-attlist, draw-handle-attlist, draw-handle-attlist, common-anim-attlist, common-anim-attlist, common-anim-attlist, presentation-event-listener-attlist, presentation-header-decl-attlist, presentation-footer-decl-attlist, presentation-date-time-decl-attlist, presentation-settings-attlist, presentation-settings-attlist, presentation-show-attlist, chart-chart-attlist, chart-chart-attlist, chart-axis-attlist, chart-series-attlist, form-form-attlist, form-form-attlist, form-form-attlist, form-form-attlist, form-form-attlist, form-form-attlist, form-form-attlist, form-formatted-text-attlist, form-formatted-text-attlist, form-listbox-attlist, form-button-attlist, form-value-range-attlist, form-value-range-attlist, common-form-control-attlist, xforms-bind-attlist, common-value-attlist, common-current-value-attlist, for, label, bound-column, common-data-field-attlist, list-source, form-property-name, form-property-type-and-value-list, meta-date-string, common-num-format-prefix-suffix-attlist, common-num-format-attlist, script-event-listener-attlist, script-event-listener-attlist, script-event-listener-attlist, text-dde-connection-decl-attlist, common-dde-connection-decl-attlist, common-dde-connection-decl-attlist, common-dde-connection-decl-attlist, office-dde-source-attlist, anim-animate-motion-attlist, anim-transition-filter-attlist, anim-transition-filter-attlist, common-anim-named-target-attlist, common-anim-target-attlist, common-anim-values-attlist, common-spline-anim-value-attlist, common-spline-anim-value-attlist, common-anim-values-attlist, common-anim-set-values-attlist, common-anim-values-attlist, common-begin-end-timing-attlist, common-begin-end-timing-attlist, common-dur-timing-attlist, common-repeat-timing-attlist, anin-iterate-attlist, anim-command-attlist, style-style-attlist, style-style-attlist, style-map-attlist, style-master-page-attlist, table-table-template-attlist, style-font-face-attlist, style-font-face-attlist, style-font-face-attlist, style-data-style-attlist, common-data-style-attlist, common-calendar-attlist, text-bibliography-configuration-attlist, text-bibliography-configuration-attlist, text-list-style-attr, common-draw-gradient-attlist, common-svg-gradient-attlist, common-svg-gradient-attlist, draw-hatch-attlist, draw-fill-image-attlist, draw-marker-attlist, draw-stroke-dash-attlist, style-presentation-page-layout, style-page-layout-properties-attlist, style-text-properties-attlist, style-text-properties-attlist, style-text-properties-attlist, style-text-properties-attlist, shadowType, style-tab-stop-attlist, style-background-image-attlist, common-border-attlist, style-table-cell-properties-attlist, style-list-level-properties-attlist, style-graphic-properties-attlist, style-drawing-page-properties-attlist , style-drawing-page-properties-attlist, targetFrameName -->
22355 <define name="string">
22356     <data type="string"/>
22357 </define>
22358 
22359 <!-- Used in: paragraph-content, paragraph-content, table-null-date, form-date-attlist, form-date-attlist, form-date-attlist, form-date-attlist -->
22360 <define name="date">
22361     <data type="date"/>
22362 </define>
22363 
22364 <!-- Used in: paragraph-content, paragraph-content, form-time-attlist, form-time-attlist, form-time-attlist, form-time-attlist -->
22365 <define name="time">
22366     <data type="time"/>
22367 </define>
22368 
22369 <!-- Used in: office-meta-data, dc-date, office-meta-data, office-meta-data -->
22370 <define name="dateTime">
22371     <data type="dateTime"/>
22372 </define>
22373 
22374 <!-- Used in: office-meta-data, office-meta-data, office-meta-data, text-date-attlist, text-time-attlist, paragraph-content, paragraph-content, common-value-and-type-attlist, table-linked-source-attlist, common-presentation-effect-attlist, presentation-settings-attlist, form-value-range-attlist, form-property-type-and-value-list, anin-iterate-attlist, style-graphic-properties-attlist, style-drawing-page-properties-attlist -->
22375 <define name="duration">
22376     <data type="duration"/>
22377 </define>
22378 
22379 <!-- Used in: text-page-number-attlist, text-set-page-variable-attlist, table-data-pilot-field-attlist, table-insertion-attlist, table-insertion-attlist, table-deletion-attlist, table-deletion-attlist, table-deletion-attlist, table-insertion-cut-off-attlist, table-movement-cut-off-attlist, common-table-cell-address-attlist, common-table-cell-range-address-attlist, common-draw-viewbox-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, style-font-face-attlist, number-embedded-text-attlist, number-scientific-number-attlist, number-fraction-attlist, number-fraction-attlist, number-fraction-attlist, number-seconds-attlist, common-decimal-places-attlist, common-number-attlist, common-draw-gradient-attlist, draw-hatch-attlist, draw-stroke-dash-attlist, style-text-properties-attlist, style-chart-properties-attlist -->
22380 <define name="integer">
22381     <data type="integer"/>
22382 </define>
22383 
22384 <!-- Used in: office-meta-data, office-meta-data, heading-attrs, text-list-item-attr, paragraph-content, text-tab-attr, text-chapter-attlist, text-sequence-decl-attlist, text-database-row-select-attlist, paragraph-content, table-operation-attlist, table-sort-by-attlist, table-subtotal-rule-attlist, table-subtotal-field-attlist, table-filter-condition-attlist, table-data-pilot-display-info-attlist, draw-connector-attlist, draw-connector-attlist, common-draw-z-index-attlist, draw-glue-point-attlist, dr3d-scene-attlist, presentation-event-listener-attlist, chart-data-point-attlist, common-maxlength-attlist, size, common-tab-attlist, common-repeat-timing-attlist, text-linenumbering-configuration-attlist, text-linenumbering-separator, text-notes-configuration-content, style-paragraph-properties-attlist, style-paragraph-properties-attlist, style-paragraph-properties-attlist, common-rotation-angle-attlist, style-table-cell-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-chart-properties-attlist -->
22385 <define name="nonNegativeInteger">
22386     <data type="nonNegativeInteger"/>
22387 </define>
22388 
22389 <!-- Used in: heading-attrs, text-numbered-paragraph-attr, text-outline-level, text-table-of-content-source-attlist, text-table-of-content-entry-template-attlist, text-user-index-entry-template-attrs, text-index-source-styles, table-table-row-attlist, table-table-cell-attlist, table-table-cell-attlist-extra, table-table-cell-attlist-extra, table-table-column-attlist, table-table-cell-range-source-attlist, table-calculation-setting-attlist, table-iteration, table-insertion-attlist, table-change-track-table-cell-attlist, draw-regular-polygon-attlist, draw-page-thumbnail-attlist, common-text-anchor-attlist, form-value-range-attlist, form-value-range-attlist, style-style-attlist, text-list-level-style-attr, text-list-level-style-number-attr, text-list-level-style-number-attr, text-outline-level-style-attlist, text-outline-level-style-attlist, text-outline-level-style-attlist, style-page-layout-properties-attlist, style-page-layout-properties-attlist, style-page-layout-properties-attlist, lineWidth, style-text-properties-attlist, style-text-properties-attlist, style-paragraph-properties-attlist, style-drop-cap-attlist, style-drop-cap-attlist, common-page-number-attlist, style-columns-attlist, style-graphic-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist -->
22390 <define name="positiveInteger">
22391     <data type="positiveInteger"/>
22392 </define>
22393 
22394 <!-- Used in: office-meta-data, paragraph-content, common-value-and-type-attlist, table-iteration, table-data-pilot-groups-attlist, table-data-pilot-groups-attlist, table-data-pilot-groups-attlist, common-draw-circle-ellipse-attlist, common-draw-circle-ellipse-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, chart-legend-attlist, form-number-attlist, form-number-attlist, form-number-attlist, form-number-attlist, form-property-type-and-value-list, common-time-manip-attlist, common-time-manip-attlist, anim-audio-attlist, number-number-attlist, svg-stop, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist -->
22395 <define name="double">
22396     <data type="double"/>
22397 </define>
22398 
22399 <!-- Used in: office-meta-data, office-meta-data, text-section-source-attr, text-a-attlist, paragraph-content, text-alphabetical-index-auto-mark-file, table-linked-source-attlist, common-draw-data-attlist, draw-a-attlist, common-draw-area-attlist, presentation-sound, presentation-event-listener-attlist, form-form-attlist, form-form-attlist, form-connection-resource, image-data, target-location, script-event-listener-attlist, anim-audio-attlist, common-svg-font-face-xlink-attlist, draw-fill-image, style-chart-properties-attlist -->
22400 <define name="anyURI">
22401     <data type="anyURI"/>
22402 </define>
22403 
22404 <!-- Used in: office-binary-data -->
22405 <define name="base64Binary">
22406     <data type="base64Binary"/>
22407 </define>
22408 
22409 <!-- Used in: text-changed-region-attr, draw-page-attlist, common-draw-id-attlist, common-control-id-attlist, common-anim-attlist -->
22410 <define name="ID">
22411     <data type="ID"/>
22412 </define>
22413 
22414 <!-- Used in: change-mark-attr, draw-connector-attlist, draw-connector-attlist, draw-control-attlist, common-presentation-effect-attlist, presentation-dim-attlist, presentation-play-attlist, common-anim-attlist, common-anim-target-attlist, anin-iterate-attlist -->
22415 <define name="IDREF">
22416     <data type="IDREF"/>
22417 </define>
22418 
22419 <!-- Used in: office-process-content, office-text-attlist, office-meta-data, heading-attrs, heading-attrs, text-list-attr, sectionAttr, text-tracked-changes-attr, paragraph-content, text-set-page-variable-attlist, text-conditional-text-attlist, text-hidden-text-attlist, text-hidden-paragraph-attlist, common-value-and-type-attlist, common-field-fixed-attlist, text-alphabetical-index-mark-attrs, text-table-of-content-source-attlist, text-table-of-content-source-attlist, text-table-of-content-source-attlist, text-table-of-content-source-attlist, text-relative-tab-stop-position-attr, text-illustration-index-source-attrs, text-object-index-source-attrs, text-object-index-source-attrs, text-object-index-source-attrs, text-object-index-source-attrs, text-object-index-source-attrs, text-user-index-source-attr, text-user-index-source-attr, text-alphabetical-index-source-attrs, text-alphabetical-index-source-attrs, text-alphabetical-index-source-attrs, text-alphabetical-index-source-attrs, text-alphabetical-index-source-attrs, text-alphabetical-index-source-attrs, table-table-attlist, table-table-attlist, table-table-cell-attlist, table-table-column-group-attlist, table-table-row-group-attlist, table-table-attlist, table-scenario-attlist, table-scenario-attlist, table-scenario-attlist, table-scenario-attlist, table-scenario-attlist, table-scenario-attlist, table-highlighted-range-attlist, table-highlighted-range-attlist-invalid, office-spreadsheet-attlist, table-calculation-setting-attlist, table-calculation-setting-attlist, table-calculation-setting-attlist, table-calculation-setting-attlist, table-calculation-setting-attlist, table-validation-attlist, table-help-message, table-error-message, table-error-macro, table-database-range-attlist, table-database-range-attlist, table-database-range-attlist, table-database-range-attlist, table-database-range-attlist, table-database-range-attlist, table-database-range-attlist, table-database-source-sql-attlist, table-sort-attlist, table-sort-attlist, table-subtotal-rules-attlist, table-subtotal-rules-attlist, table-subtotal-rules-attlist, table-filter-attlist, table-data-pilot-table-attlist, table-data-pilot-table-attlist, table-data-pilot-table-attlist, table-data-pilot-table-attlist, table-data-pilot-level-attlist, table-data-pilot-member-attlist, table-data-pilot-member-attlist, table-data-pilot-display-info-attlist, table-data-pilot-layout-info-attlist, table-consolidation-attlist, table-tracked-changes-attlist, table-change-track-table-cell-attlist, draw-layer-attlist, common-text-spreadsheet-shape-attlist, draw-applet-attlist, common-contour-attlist, draw-a-attlist, dr3d-scene-attlist, dr3d-light-attlist, dr3d-light-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-handle-attlist, draw-handle-attlist, draw-handle-attlist, presentation-shape-attlist, presentation-shape-attlist, presentation-sound-attlist, presentation-settings-attlist, presentation-settings-attlist, presentation-settings-attlist, presentation-settings-attlist, presentation-settings-attlist, presentation-settings-attlist, presentation-settings-attlist, presentation-settings-attlist, office-forms-attlist, office-forms-attlist, form-form-attlist, form-form-attlist, form-form-attlist, form-form-attlist, form-form-attlist, form-form-attlist, form-formatted-text-attlist, form-fixed-text-attlist, form-combobox-attlist, form-listbox-attlist, form-button-attlist, form-button-attlist, form-button-attlist, form-checkbox-attlist, current-selected, common-disabled-attlist, dropdown, common-printable-attlist, common-readonly-attlist, selected, common-tab-attlist, common-convert-empty-attlist, form-property-type-and-value-list, office-annotation-attlist, style-num-letter-sync-attlist, common-dde-connection-decl-attlist, common-time-manip-attlist, style-style-attlist, common-style-header-footer-attlist, number-month-attlist, number-month-attlist, number-time-style-attlist, common-data-style-attlist, common-auto-reorder-attlist, common-number-attlist, text-linenumbering-configuration-attlist, text-linenumbering-configuration-attlist, text-linenumbering-configuration-attlist, text-linenumbering-configuration-attlist, text-bibliography-configuration-attlist, text-bibliography-configuration-attlist, text-sort-key-attlist, text-list-style-attr, style-page-layout-properties-attlist, style-page-layout-properties-attlist, style-page-layout-properties-attlist, style-header-footer-attlist, style-text-properties-attlist, style-text-properties-attlist, style-text-properties-attlist, style-text-properties-attlist, style-text-properties-attlist, style-paragraph-properties-attlist, style-paragraph-properties-attlist, style-paragraph-properties-attlist, style-paragraph-properties-attlist, style-paragraph-properties-attlist, style-paragraph-properties-attlist, style-paragraph-properties-attlist, style-section-properties-attlist, style-section-properties-attlist, style-table-properties-attlist, style-table-properties-attlist, style-table-column-properties-attlist, style-table-row-properties-attlist, style-table-cell-properties-attlist, style-table-cell-properties-attlist, style-table-cell-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-chart-properties-attlist, style-drawing-page-properties-attlist, style-drawing-page-properties-attlist, style-drawing-page-properties-attlist, style-drawing-page-properties-attlist, style-drawing-page-properties-attlist, style-drawing-page-properties-attlist -->
22420 <define name="boolean">
22421     <choice>
22422         <value>true</value>
22423         <value>false</value>
22424     </choice>
22425 </define>
22426 
22427 <!-- Used in: office-meta-data, text-date-attlist, paragraph-content, paragraph-content, common-value-and-type-attlist, table-data-pilot-groups-attlist, table-data-pilot-groups-attlist, form-property-type-and-value-list -->
22428 <define name="dateOrDateTime">
22429     <choice>
22430         <data type="date"/>
22431         <data type="dateTime"/>
22432     </choice>
22433 </define>
22434 
22435 <!-- Used in: text-time-attlist, paragraph-content -->
22436 <define name="timeOrDateTime">
22437     <choice>
22438         <data type="time"/>
22439         <data type="dateTime"/>
22440     </choice>
22441 </define>
22442 
22443 <!-- Used in: office-meta-data -->
22444 <define name="language">
22445     <data type="token">
22446         <param name="pattern">[A-Za-z]{1,8}(-[A-Za-z0-9]{1,8})*</param>
22447     </data>
22448 </define>
22449 
22450 <!-- Used in: text-alphabetical-index-source-attrs, table-sort-attlist, number-currency-symbol-attlist, common-data-style-attlist, common-data-style-attlist, common-data-style-attlist, text-bibliography-configuration-attlist, style-text-properties-attlist -->
22451 <define name="countryCode">
22452     <data type="token">
22453         <param name="pattern">[A-Za-z0-9]{1,8}</param>
22454     </data>
22455 </define>
22456 
22457 <!-- Used in: text-alphabetical-index-source-attrs, table-sort-attlist, number-currency-symbol-attlist, common-data-style-attlist, text-bibliography-configuration-attlist, style-text-properties-attlist -->
22458 <define name="languageCode">
22459     <data type="token">
22460         <param name="pattern">[A-Za-z]{1,8}</param>
22461     </data>
22462 </define>
22463 
22464 <!-- Used in: text-sequence-decl-attlist, text-index-entry-tab-stop-attrs, form-password-attlist, text-list-level-style-bullet-attr, style-text-properties-attlist, style-tab-stop-char-attlist -->
22465 <define name="character">
22466     <data type="string">
22467         <param name="length">1</param>
22468     </data>
22469 </define>
22470 
22471 <!-- Used in: text-index-entry-tab-stop-attrs, draw-circle-attlist, draw-ellipse-attlist, draw-connector-attlist, common-draw-size-attlist, draw-text-box-attlist, draw-text-box-attlist, draw-area-rectangle, draw-area-circle, draw-area-polygon, dr3d-scene-attlist, dr3d-scene-attlist, draw-enhanced-geometry-attlist, chart-wall-attlist, chart-floor-attlist, draw-hatch-attlist, draw-fill-image-attlist, draw-stroke-dash-attlist, draw-stroke-dash-attlist, presentation-placeholder, style-page-layout-properties-attlist, style-page-layout-properties-attlist, style-footnote-sep-attlist, style-page-layout-properties-attlist, style-page-layout-properties-attlist, style-header-footer-properties-attlist, style-text-properties-attlist, style-text-properties-attlist, style-paragraph-properties-attlist, style-drop-cap-attlist, common-horizontal-margin-attlist, style-paragraph-properties-attlist, style-columns-attlist, style-column-attlist, style-column-attlist, style-column-attlist, style-column-attlist, style-column-sep-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, coordinate, distance -->
22472 <define name="length">
22473     <data type="string">
22474         <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
22475 
22476     </data>
22477 </define>
22478 
22479 <!-- Used in: draw-rect-attlist, draw-caption-attlist, draw-text-box-attlist, text-linenumbering-configuration-attlist, style-paragraph-properties-attlist, style-paragraph-properties-attlist, style-tab-stop-attlist, style-paragraph-properties-attlist, common-vertical-margin-attlist, common-margin-attlist, common-padding-attlist, style-table-row-properties-attlist, style-list-level-properties-attlist, style-list-level-properties-attlist, style-list-level-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-chart-properties-attlist -->
22480 <define name="nonNegativeLength">
22481     <data type="string">
22482         <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
22483 
22484     </data>
22485 </define>
22486 
22487 <!-- Used in: style-font-face-attlist, style-text-properties-attlist, lineWidth, borderWidths, style-table-properties-attlist, style-table-column-properties-attlist, style-table-row-properties-attlist, style-list-level-properties-attlist, style-graphic-properties-attlist -->
22488 <define name="positiveLength">
22489     <data type="string">
22490         <!-- A zero value is not allowed here -->
22491 
22492         <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
22493 
22494     </data>
22495 </define>
22496 
22497 <!-- Used in: draw-regular-polygon-sharpness-attlist, draw-glue-point-attlist, common-draw-rel-size-attlist, draw-text-box-attlist, draw-text-box-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, common-presentation-effect-attlist, presentation-event-listener-attlist, text-list-level-style-bullet-attr, common-draw-gradient-attlist, draw-gradient-attlist, common-draw-gradient-attlist, svg-linearGradient, svg-radialGradient, svg-stop, draw-opacity-attlist, presentation-placeholder, style-page-layout-properties-attlist, style-footnote-sep-attlist, style-text-properties-attlist, style-text-properties-attlist, lineWidth, style-text-properties-attlist, style-paragraph-properties-attlist, common-horizontal-margin-attlist, style-paragraph-properties-attlist, common-vertical-margin-attlist, common-margin-attlist, style-background-image-attlist, style-paragraph-properties-attlist, style-column-sep-attlist, style-table-properties-attlist, style-graphic-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist -->
22498 <define name="percent">
22499     <data type="string">
22500         <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)%</param>
22501     </data>
22502 </define>
22503 
22504 <!-- Used in: style-column-attlist, style-table-column-properties-attlist -->
22505 <define name="relativeLength">
22506     <data type="string">
22507         <param name="pattern">[0-9]+\*</param>
22508     </data>
22509 </define>
22510 
22511 <!-- Used in: draw-line-attlist, draw-line-attlist, common-draw-circle-ellipse-attlist, draw-connector-attlist, draw-connector-attlist, draw-caption-attlist, draw-measure-attlist, draw-measure-attlist, draw-g-attlist, common-draw-position-attlist, common-text-spreadsheet-shape-attlist, draw-area-rectangle, draw-area-circle, draw-area-polygon, svg-linearGradient, svg-radialGradient, presentation-placeholder, style-graphic-properties-attlist, common-vertical-pos-attlist -->
22512 <define name="coordinate">
22513     <ref name="length"/>
22514 </define>
22515 
22516 <!-- Used in: draw-glue-point-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist -->
22517 <define name="distance">
22518     <ref name="length"/>
22519 </define>
22520 
22521 <!-- Used in: table-scenario-attlist, dr3d-scene-attlist, dr3d-light-attlist, presentation-dim-attlist, draw-gradient-attlist, svg-stop, draw-hatch-attlist, style-footnote-sep-attlist, style-page-layout-properties-attlist, style-text-properties-attlist, style-text-properties-attlist, style-text-properties-attlist, style-tab-stop-attlist, common-background-color-attlist, style-column-sep-attlist, style-graphic-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist -->
22522 <define name="color">
22523     <data type="string">
22524         <param name="pattern">#[0-9a-fA-F]{6}</param>
22525     </data>
22526 </define>
22527 
22528 <!-- Used in: text-index-source-style, style-style-attlist, style-style-attlist, style-page-layout-attlist, style-master-page-attlist, common-data-style-attlist, text-list-style-attr, common-draw-gradient-attlist, common-svg-gradient-attlist, draw-hatch-attlist, draw-fill-image-attlist, draw-marker-attlist, draw-stroke-dash-attlist, style-presentation-page-layout -->
22529 <define name="styleName">
22530     <data type="NCName"/>
22531 </define>
22532 
22533 <!-- Used in: paragraph-attrs, text-page-attlist, text-list-attr, sectionAttr, paragraph-content, text-a-attlist, paragraph-content, common-field-data-style-name-attlist, text-table-of-content-entry-template-attlist, text-illustration-index-entry-template-attrs, text-user-index-entry-template-attrs, text-alphabetical-index-source-attrs, text-alphabetical-index-entry-template-attrs, text-bibliography-entry-template-attrs, text-index-title-template, text-index-entry-chapter, text-index-entry-text, text-index-entry-page-number, text-index-entry-span, text-index-entry-bibliography-attrs, text-index-entry-tab-stop, text-index-entry-link-start, text-index-entry-link-end, table-table-attlist, table-table-row-attlist, table-table-row-attlist, table-table-cell-attlist, table-table-column-attlist, table-table-column-attlist, style-handout-master-attlist, style-handout-master-attlist, style-handout-master-attlist, draw-page-attlist, draw-page-attlist, draw-page-attlist, common-draw-style-name-attlist, common-draw-text-style-name-attlist, presentation-date-time-decl-attlist, chart-chart-attlist, chart-title-attlist, chart-legend-attlist, chart-plot-area-attlist, chart-wall-attlist, chart-floor-attlist, chart-axis-attlist, chart-grid-attlist, chart-series-attlist, chart-data-point-attlist, chart-mean-value-attlist, chart-error-indicator-attlist, chart-regression-curve-attlist, common-stock-marker-attlist, text-style-name, style-style-attlist, style-style-attlist, style-style-attlist, style-style-attlist, style-map-attlist, style-master-page-attlist, style-master-page-attlist, style-master-page-attlist, presentation-notes-attlist, presentation-notes-attlist, common-table-template-attlist, text-linenumbering-configuration-attlist, text-notes-configuration-content, text-notes-configuration-content, text-notes-configuration-content, text-notes-configuration-content, text-list-level-style-number-attr, text-list-level-style-bullet-attr, text-outline-level-style-attlist, style-page-layout-properties-attlist, style-text-properties-attlist, style-tab-stop-attlist, style-drop-cap-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-fill-properties-attlist, style-graphic-fill-properties-attlist -->
22534 <define name="styleNameRef">
22535     <choice>
22536         <data type="NCName"/>
22537         <empty/>
22538     </choice>
22539 </define>
22540 
22541 <!-- Used in: paragraph-attrs, paragraph-content, common-draw-style-name-attlist, style-graphic-properties-attlist -->
22542 <define name="styleNameRefs">
22543     <list>
22544         <zeroOrMore>
22545             <data type="NCName"/>
22546         </zeroOrMore>
22547     </list>
22548 </define>
22549 
22550 <!-- Used in: common-field-name-attlist -->
22551 <define name="variableName">
22552     <data type="string"/>
22553 </define>
22554 
22555 <!-- Used in: text-database-next-attlist, text-database-row-select-attlist, text-conditional-text-attlist, text-hidden-text-attlist, text-hidden-paragraph-attlist, common-field-formula-attlist -->
22556 <define name="formula">
22557     <!-- A formula should start with a namespace prefix, -->
22558 
22559     <!-- but has no restrictions-->
22560 
22561     <data type="string"/>
22562 </define>
22563 
22564 
22565 <!-- Used in: office-meta-data, text-a-attlist, draw-a-attlist, common-draw-area-attlist, form-form-attlist, target-frame -->
22566 <define name="targetFrameName">
22567     <choice>
22568         <value>_self</value>
22569         <value>_blank</value>
22570         <value>_parent</value>
22571         <value>_top</value>
22572         <ref name="string"/>
22573     </choice>
22574 </define>
22575 
22576 
22577 <!-- Used in: common-value-type-attlist, table-null-date -->
22578 <define name="valueType">
22579     <choice>
22580         <value>float</value>
22581         <value>time</value>
22582         <value>date</value>
22583         <value>percentage</value>
22584         <value>currency</value>
22585         <value>boolean</value>
22586         <value>string</value>
22587     </choice>
22588 </define>
22589 
22590 
22591 <!-- Used in: common-draw-points-attlist -->
22592 <define name="points">
22593     <data type="string">
22594         <param name="pattern">-?[0-9]+,-?[0-9]+([ ]+-?[0-9]+,-?[0-9]+)*</param>
22595     </data>
22596 </define>
22597 
22598 <!-- Used in: common-draw-path-data-attlist, anim-animate-motion-attlist -->
22599 <define name="pathData">
22600     <data type="string"/>
22601 </define>
22602 
22603 
22604 <!-- Used in: dr3d-scene-attlist, dr3d-light-attlist, dr3d-cube-attlist, dr3d-sphere-attlist, dr3d-sphere-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist, draw-enhanced-geometry-attlist -->
22605 <define name="vector3D">
22606     <data type="string">
22607         <param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)){2}[ ]*\)</param>
22608 
22609     </data>
22610 </define>
22611 
22612 
22613 <!-- Used in: draw-custom-shape-attlist, chart-chart-attlist, chart-series-attlist, common-form-control-attlist -->
22614 <define name="namespacedToken">
22615     <data type="string">
22616         <param name="pattern">[0-9a-zA-Z_]+:[0-9a-zA-Z._\-]+</param>
22617     </data>
22618 </define>
22619 
22620 <!-- Used in: xforms-model, style-properties-content, anyElements -->
22621 <define name="anyAttListOrElements">
22622     <zeroOrMore>
22623         <attribute>
22624             <anyName/>
22625             <text/>
22626         </attribute>
22627     </zeroOrMore>
22628     <ref name="anyElements"/>
22629 </define>
22630 
22631 <!-- Used in: office-meta-content, office-script, anyAttListOrElements -->
22632 <define name="anyElements">
22633     <zeroOrMore>
22634         <element>
22635             <anyName/>
22636             <mixed>
22637                 <ref name="anyAttListOrElements"/>
22638             </mixed>
22639         </element>
22640     </zeroOrMore>
22641 </define>
22642 </grammar>