00001 <?xml version="1.0" encoding="UTF-8"?>
00002 <!--
00003         Open Document Format for Office Applications (OpenDocument) Version 1.2
00004         OASIS Standard, 29 September 2011
00005     Relax-NG Schema
00006         Source: http://docs.oasis-open.org/office/v1.2/os/
00007         Copyright (c) OASIS Open 2002-2011. All Rights Reserved.
00008
00009     All capitalized terms in the following text have the meanings assigned to them
00010     in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The
00011     full Policy may be found at the OASIS website.
00012
00013     This document and translations of it may be copied and furnished to others, and
00014     derivative works that comment on or otherwise explain it or assist in its
00015     implementation may be prepared, copied, published, and distributed, in whole or
00016     in part, without restriction of any kind, provided that the above copyright
00017     notice and this section are included on all such copies and derivative works.
00018     However, this document itself may not be modified in any way, including by
00019     removing the copyright notice or references to OASIS, except as needed for the
00020     purpose of developing any document or deliverable produced by an OASIS
00021     Technical Committee (in which case the rules applicable to copyrights, as set
00022     forth in the OASIS IPR Policy, must be followed) or as required to translate it
00023     into languages other than English.
00024
00025     The limited permissions granted above are perpetual and will not be revoked by
00026     OASIS or its successors or assigns.
00027
00028     This document and the information contained herein is provided on an "AS IS"
00029     basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
00030     LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
00031     INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
00032     FITNESS FOR A PARTICULAR PURPOSE.
00033 -->
00034 <grammar
00035     xmlns="http://relaxng.org/ns/structure/1.0"
00036
00037     datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
00038
00039     xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
00040     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
00041     xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
00042     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
00043     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
00044     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
00045     xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
00046     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
00047     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
00048     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
00049     xmlns:db="urn:oasis:names:tc:opendocument:xmlns:database:1.0"
00050     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
00051     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
00052     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
00053     xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
00054
00055     xmlns:dc="http://purl.org/dc/elements/1.1/"
00056     xmlns:xlink="http://www.w3.org/1999/xlink"
00057     xmlns:math="http://www.w3.org/1998/Math/MathML"
00058     xmlns:xforms="http://www.w3.org/2002/xforms"
00059     xmlns:grddl="http://www.w3.org/2003/g/data-view#"
00060     xmlns:xhtml="http://www.w3.org/1999/xhtml"
00061
00062     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
00063     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
00064     xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
00065 >
00066     <define name="office-process-content">
00067         <optional>
00068             <attribute name="office:process-content">
00069                 <ref name="boolean"/>
00070             </attribute>
00071         </optional>
00072     </define>
00073     <start>
00074         <choice>
00075             <ref name="office-document"/>
00076             <ref name="office-document-content"/>
00077             <ref name="office-document-styles"/>
00078             <ref name="office-document-meta"/>
00079             <ref name="office-document-settings"/>
00080         </choice>
00081     </start>
00082     <define name="office-document">
00083         <element name="office:document">
00084             <ref name="office-document-attrs"/>
00085             <ref name="office-document-common-attrs"/>
00086             <ref name="office-meta"/>
00087             <ref name="office-settings"/>
00088             <ref name="office-scripts"/>
00089             <ref name="office-font-face-decls"/>
00090             <ref name="office-styles"/>
00091             <ref name="office-automatic-styles"/>
00092             <ref name="office-master-styles"/>
00093             <ref name="office-body"/>
00094         </element>
00095     </define>
00096     <define name="office-document-content">
00097         <element name="office:document-content">
00098             <ref name="office-document-common-attrs"/>
00099             <ref name="office-scripts"/>
00100             <ref name="office-font-face-decls"/>
00101             <ref name="office-automatic-styles"/>
00102             <ref name="office-body"/>
00103         </element>
00104     </define>
00105     <define name="office-document-styles">
00106         <element name="office:document-styles">
00107             <ref name="office-document-common-attrs"/>
00108             <ref name="office-font-face-decls"/>
00109             <ref name="office-styles"/>
00110             <ref name="office-automatic-styles"/>
00111             <ref name="office-master-styles"/>
00112         </element>
00113     </define>
00114     <define name="office-document-meta">
00115         <element name="office:document-meta">
00116             <ref name="office-document-common-attrs"/>
00117             <ref name="office-meta"/>
00118         </element>
00119     </define>
00120     <define name="office-document-settings">
00121         <element name="office:document-settings">
00122             <ref name="office-document-common-attrs"/>
00123             <ref name="office-settings"/>
00124         </element>
00125     </define>
00126     <define name="office-document-common-attrs">
00127         <interleave>
00128             <attribute name="office:version">
00129                 <value>1.2</value>
00130             </attribute>
00131             <optional>
00132                 <attribute name="grddl:transformation">
00133                     <list>
00134                         <zeroOrMore>
00135                             <ref name="anyIRI"/>
00136                         </zeroOrMore>
00137                     </list>
00138                 </attribute>
00139             </optional>
00140         </interleave>
00141     </define>
00142     <define name="office-document-attrs">
00143         <attribute name="office:mimetype">
00144             <ref name="string"/>
00145         </attribute>
00146     </define>
00147     <define name="office-meta">
00148         <optional>
00149             <element name="office:meta">
00150                 <ref name="office-meta-content-strict"/>
00151             </element>
00152         </optional>
00153     </define>
00154     <define name="office-meta-content-strict">
00155         <zeroOrMore>
00156             <ref name="office-meta-data"/>
00157         </zeroOrMore>
00158     </define>
00159     <define name="office-body">
00160         <element name="office:body">
00161             <ref name="office-body-content"/>
00162         </element>
00163     </define>
00164     <define name="office-body-content">
00165         <choice>
00166             <element name="office:text">
00167                 <ref name="office-text-attlist"/>
00168                 <ref name="office-text-content-prelude"/>
00169                 <ref name="office-text-content-main"/>
00170                 <ref name="office-text-content-epilogue"/>
00171             </element>
00172             <element name="office:drawing">
00173                 <ref name="office-drawing-attlist"/>
00174                 <ref name="office-drawing-content-prelude"/>
00175                 <ref name="office-drawing-content-main"/>
00176                 <ref name="office-drawing-content-epilogue"/>
00177             </element>
00178             <element name="office:presentation">
00179                 <ref name="office-presentation-attlist"/>
00180                 <ref name="office-presentation-content-prelude"/>
00181                 <ref name="office-presentation-content-main"/>
00182                 <ref name="office-presentation-content-epilogue"/>
00183             </element>
00184             <element name="office:spreadsheet">
00185                 <ref name="office-spreadsheet-attlist"/>
00186                 <ref name="office-spreadsheet-content-prelude"/>
00187                 <ref name="office-spreadsheet-content-main"/>
00188                 <ref name="office-spreadsheet-content-epilogue"/>
00189             </element>
00190             <element name="office:chart">
00191                 <ref name="office-chart-attlist"/>
00192                 <ref name="office-chart-content-prelude"/>
00193                 <ref name="office-chart-content-main"/>
00194                 <ref name="office-chart-content-epilogue"/>
00195             </element>
00196             <element name="office:image">
00197                 <ref name="office-image-attlist"/>
00198                 <ref name="office-image-content-prelude"/>
00199                 <ref name="office-image-content-main"/>
00200                 <ref name="office-image-content-epilogue"/>
00201             </element>
00202             <ref name="office-database"/>
00203         </choice>
00204     </define>
00205     <define name="office-text-content-prelude">
00206         <ref name="office-forms"/>
00207         <ref name="text-tracked-changes"/>
00208         <ref name="text-decls"/>
00209         <ref name="table-decls"/>
00210     </define>
00211     <define name="office-text-content-main">
00212         <choice>
00213             <zeroOrMore>
00214                 <ref name="text-content"/>
00215             </zeroOrMore>
00216             <group>
00217                 <ref name="text-page-sequence"/>
00218                 <zeroOrMore>
00219                     <choice>
00220                         <ref name="shape"/>
00221                     </choice>
00222                 </zeroOrMore>
00223             </group>
00224         </choice>
00225     </define>
00226     <define name="text-content">
00227         <choice>
00228             <ref name="text-h"/>
00229             <ref name="text-p"/>
00230             <ref name="text-list"/>
00231             <ref name="text-numbered-paragraph"/>
00232             <ref name="table-table"/>
00233             <ref name="text-section"/>
00234             <ref name="text-soft-page-break"/>
00235             <ref name="text-table-of-content"/>
00236             <ref name="text-illustration-index"/>
00237             <ref name="text-table-index"/>
00238             <ref name="text-object-index"/>
00239             <ref name="text-user-index"/>
00240             <ref name="text-alphabetical-index"/>
00241             <ref name="text-bibliography"/>
00242             <ref name="shape"/>
00243             <ref name="change-marks"/>
00244         </choice>
00245     </define>
00246     <define name="office-text-content-epilogue">
00247         <ref name="table-functions"/>
00248     </define>
00249     <define name="office-text-attlist">
00250         <interleave>
00251             <optional>
00252                 <attribute name="text:global">
00253                     <ref name="boolean"/>
00254                 </attribute>
00255             </optional>
00256             <optional>
00257                 <attribute name="text:use-soft-page-breaks">
00258                     <ref name="boolean"/>
00259                 </attribute>
00260             </optional>
00261         </interleave>
00262     </define>
00263     <define name="office-drawing-attlist">
00264         <empty/>
00265     </define>
00266     <define name="office-drawing-content-prelude">
00267         <ref name="text-decls"/>
00268         <ref name="table-decls"/>
00269     </define>
00270     <define name="office-drawing-content-main">
00271         <zeroOrMore>
00272             <ref name="draw-page"/>
00273         </zeroOrMore>
00274     </define>
00275     <define name="office-drawing-content-epilogue">
00276         <ref name="table-functions"/>
00277     </define>
00278     <define name="office-presentation-attlist">
00279         <empty/>
00280     </define>
00281     <define name="office-presentation-content-prelude">
00282         <ref name="text-decls"/>
00283         <ref name="table-decls"/>
00284         <ref name="presentation-decls"/>
00285     </define>
00286     <define name="office-presentation-content-main">
00287         <zeroOrMore>
00288             <ref name="draw-page"/>
00289         </zeroOrMore>
00290     </define>
00291     <define name="office-presentation-content-epilogue">
00292         <ref name="presentation-settings"/>
00293         <ref name="table-functions"/>
00294     </define>
00295     <define name="office-spreadsheet-content-prelude">
00296         <optional>
00297             <ref name="table-tracked-changes"/>
00298         </optional>
00299         <ref name="text-decls"/>
00300         <ref name="table-decls"/>
00301     </define>
00302     <define name="table-decls">
00303         <optional>
00304             <ref name="table-calculation-settings"/>
00305         </optional>
00306         <optional>
00307             <ref name="table-content-validations"/>
00308         </optional>
00309         <optional>
00310             <ref name="table-label-ranges"/>
00311         </optional>
00312     </define>
00313     <define name="office-spreadsheet-content-main">
00314         <zeroOrMore>
00315             <ref name="table-table"/>
00316         </zeroOrMore>
00317     </define>
00318     <define name="office-spreadsheet-content-epilogue">
00319         <ref name="table-functions"/>
00320     </define>
00321     <define name="table-functions">
00322         <optional>
00323             <ref name="table-named-expressions"/>
00324         </optional>
00325         <optional>
00326             <ref name="table-database-ranges"/>
00327         </optional>
00328         <optional>
00329             <ref name="table-data-pilot-tables"/>
00330         </optional>
00331         <optional>
00332             <ref name="table-consolidation"/>
00333         </optional>
00334         <optional>
00335             <ref name="table-dde-links"/>
00336         </optional>
00337     </define>
00338     <define name="office-chart-attlist">
00339         <empty/>
00340     </define>
00341     <define name="office-chart-content-prelude">
00342         <ref name="text-decls"/>
00343         <ref name="table-decls"/>
00344     </define>
00345     <define name="office-chart-content-main">
00346         <ref name="chart-chart"/>
00347     </define>
00348     <define name="office-chart-content-epilogue">
00349         <ref name="table-functions"/>
00350     </define>
00351     <define name="office-image-attlist">
00352         <empty/>
00353     </define>
00354     <define name="office-image-content-prelude">
00355         <empty/>
00356     </define>
00357     <define name="office-image-content-main">
00358         <ref name="draw-frame"/>
00359     </define>
00360     <define name="office-image-content-epilogue">
00361         <empty/>
00362     </define>
00363     <define name="office-settings">
00364         <optional>
00365             <element name="office:settings">
00366                 <oneOrMore>
00367                     <ref name="config-config-item-set"/>
00368                 </oneOrMore>
00369             </element>
00370         </optional>
00371     </define>
00372     <define name="config-config-item-set">
00373         <element name="config:config-item-set">
00374             <ref name="config-config-item-set-attlist"/>
00375             <ref name="config-items"/>
00376         </element>
00377     </define>
00378     <define name="config-items">
00379         <oneOrMore>
00380             <choice>
00381                 <ref name="config-config-item"/>
00382                 <ref name="config-config-item-set"/>
00383                 <ref name="config-config-item-map-named"/>
00384                 <ref name="config-config-item-map-indexed"/>
00385             </choice>
00386         </oneOrMore>
00387     </define>
00388     <define name="config-config-item-set-attlist">
00389         <attribute name="config:name">
00390             <ref name="string"/>
00391         </attribute>
00392     </define>
00393     <define name="config-config-item">
00394         <element name="config:config-item">
00395             <ref name="config-config-item-attlist"/>
00396             <text/>
00397         </element>
00398     </define>
00399     <define name="config-config-item-attlist">
00400         <interleave>
00401             <attribute name="config:name">
00402                 <ref name="string"/>
00403             </attribute>
00404             <attribute name="config:type">
00405                 <choice>
00406                     <value>boolean</value>
00407                     <value>short</value>
00408                     <value>int</value>
00409                     <value>long</value>
00410                     <value>double</value>
00411                     <value>string</value>
00412                     <value>datetime</value>
00413                     <value>base64Binary</value>
00414                 </choice>
00415             </attribute>
00416         </interleave>
00417     </define>
00418     <define name="config-config-item-map-indexed">
00419         <element name="config:config-item-map-indexed">
00420             <ref name="config-config-item-map-indexed-attlist"/>
00421             <oneOrMore>
00422                 <ref name="config-config-item-map-entry"/>
00423             </oneOrMore>
00424         </element>
00425     </define>
00426     <define name="config-config-item-map-indexed-attlist">
00427         <attribute name="config:name">
00428             <ref name="string"/>
00429         </attribute>
00430     </define>
00431     <define name="config-config-item-map-entry">
00432         <element name="config:config-item-map-entry">
00433             <ref name="config-config-item-map-entry-attlist"/>
00434             <ref name="config-items"/>
00435         </element>
00436     </define>
00437     <define name="config-config-item-map-entry-attlist">
00438         <optional>
00439             <attribute name="config:name">
00440                 <ref name="string"/>
00441             </attribute>
00442         </optional>
00443     </define>
00444     <define name="config-config-item-map-named">
00445         <element name="config:config-item-map-named">
00446             <ref name="config-config-item-map-named-attlist"/>
00447             <oneOrMore>
00448                 <ref name="config-config-item-map-entry"/>
00449             </oneOrMore>
00450         </element>
00451     </define>
00452     <define name="config-config-item-map-named-attlist">
00453         <attribute name="config:name">
00454             <ref name="string"/>
00455         </attribute>
00456     </define>
00457     <define name="office-scripts">
00458         <optional>
00459             <element name="office:scripts">
00460                 <zeroOrMore>
00461                     <ref name="office-script"/>
00462                 </zeroOrMore>
00463                 <optional>
00464                     <ref name="office-event-listeners"/>
00465                 </optional>
00466             </element>
00467         </optional>
00468     </define>
00469     <define name="office-script">
00470         <element name="office:script">
00471             <ref name="office-script-attlist"/>
00472             <mixed>
00473                 <ref name="anyElements"/>
00474             </mixed>
00475         </element>
00476     </define>
00477     <define name="office-script-attlist">
00478         <attribute name="script:language">
00479             <ref name="string"/>
00480         </attribute>
00481     </define>
00482     <define name="office-font-face-decls">
00483         <optional>
00484             <element name="office:font-face-decls">
00485                 <zeroOrMore>
00486                     <ref name="style-font-face"/>
00487                 </zeroOrMore>
00488             </element>
00489         </optional>
00490     </define>
00491     <define name="office-styles">
00492         <optional>
00493             <element name="office:styles">
00494                 <interleave>
00495                     <ref name="styles"/>
00496                     <zeroOrMore>
00497                         <ref name="style-default-style"/>
00498                     </zeroOrMore>
00499                     <optional>
00500                         <ref name="style-default-page-layout"/>
00501                     </optional>
00502                     <optional>
00503                         <ref name="text-outline-style"/>
00504                     </optional>
00505                     <zeroOrMore>
00506                         <ref name="text-notes-configuration"/>
00507                     </zeroOrMore>
00508                     <optional>
00509                         <ref name="text-bibliography-configuration"/>
00510                     </optional>
00511                     <optional>
00512                         <ref name="text-linenumbering-configuration"/>
00513                     </optional>
00514                     <zeroOrMore>
00515                         <ref name="draw-gradient"/>
00516                     </zeroOrMore>
00517                     <zeroOrMore>
00518                         <ref name="svg-linearGradient"/>
00519                     </zeroOrMore>
00520                     <zeroOrMore>
00521                         <ref name="svg-radialGradient"/>
00522                     </zeroOrMore>
00523                     <zeroOrMore>
00524                         <ref name="draw-hatch"/>
00525                     </zeroOrMore>
00526                     <zeroOrMore>
00527                         <ref name="draw-fill-image"/>
00528                     </zeroOrMore>
00529                     <zeroOrMore>
00530                         <ref name="draw-marker"/>
00531                     </zeroOrMore>
00532                     <zeroOrMore>
00533                         <ref name="draw-stroke-dash"/>
00534                     </zeroOrMore>
00535                     <zeroOrMore>
00536                         <ref name="draw-opacity"/>
00537                     </zeroOrMore>
00538                     <zeroOrMore>
00539                         <ref name="style-presentation-page-layout"/>
00540                     </zeroOrMore>
00541                     <zeroOrMore>
00542                         <ref name="table-table-template"/>
00543                     </zeroOrMore>
00544                 </interleave>
00545             </element>
00546         </optional>
00547     </define>
00548     <define name="office-automatic-styles">
00549         <optional>
00550             <element name="office:automatic-styles">
00551                 <interleave>
00552                     <ref name="styles"/>
00553                     <zeroOrMore>
00554                         <ref name="style-page-layout"/>
00555                     </zeroOrMore>
00556                 </interleave>
00557             </element>
00558         </optional>
00559     </define>
00560     <define name="office-master-styles">
00561         <optional>
00562             <element name="office:master-styles">
00563                 <interleave>
00564                     <zeroOrMore>
00565                         <ref name="style-master-page"/>
00566                     </zeroOrMore>
00567                     <optional>
00568                         <ref name="style-handout-master"/>
00569                     </optional>
00570                     <optional>
00571                         <ref name="draw-layer-set"/>
00572                     </optional>
00573                 </interleave>
00574             </element>
00575         </optional>
00576     </define>
00577     <define name="styles">
00578         <interleave>
00579             <zeroOrMore>
00580                 <ref name="style-style"/>
00581             </zeroOrMore>
00582             <zeroOrMore>
00583                 <ref name="text-list-style"/>
00584             </zeroOrMore>
00585             <zeroOrMore>
00586                 <ref name="number-number-style"/>
00587             </zeroOrMore>
00588             <zeroOrMore>
00589                 <ref name="number-currency-style"/>
00590             </zeroOrMore>
00591             <zeroOrMore>
00592                 <ref name="number-percentage-style"/>
00593             </zeroOrMore>
00594             <zeroOrMore>
00595                 <ref name="number-date-style"/>
00596             </zeroOrMore>
00597             <zeroOrMore>
00598                 <ref name="number-time-style"/>
00599             </zeroOrMore>
00600             <zeroOrMore>
00601                 <ref name="number-boolean-style"/>
00602             </zeroOrMore>
00603             <zeroOrMore>
00604                 <ref name="number-text-style"/>
00605             </zeroOrMore>
00606         </interleave>
00607     </define>
00608     <define name="office-meta-data">
00609         <choice>
00610             <element name="meta:generator">
00611                 <ref name="string"/>
00612             </element>
00613             <element name="dc:title">
00614                 <ref name="string"/>
00615             </element>
00616             <element name="dc:description">
00617                 <ref name="string"/>
00618             </element>
00619             <element name="dc:subject">
00620                 <ref name="string"/>
00621             </element>
00622             <element name="meta:keyword">
00623                 <ref name="string"/>
00624             </element>
00625             <element name="meta:initial-creator">
00626                 <ref name="string"/>
00627             </element>
00628             <ref name="dc-creator"/>
00629             <element name="meta:printed-by">
00630                 <ref name="string"/>
00631             </element>
00632             <element name="meta:creation-date">
00633                 <ref name="dateTime"/>
00634             </element>
00635             <ref name="dc-date"/>
00636             <element name="meta:print-date">
00637                 <ref name="dateTime"/>
00638             </element>
00639             <element name="meta:template">
00640                 <attribute name="xlink:type">
00641                     <value>simple</value>
00642                 </attribute>
00643                 <attribute name="xlink:href">
00644                     <ref name="anyIRI"/>
00645                 </attribute>
00646                 <optional>
00647                     <attribute name="xlink:actuate">
00648                         <value>onRequest</value>
00649                     </attribute>
00650                 </optional>
00651                 <optional>
00652                     <attribute name="xlink:title">
00653                         <ref name="string"/>
00654                     </attribute>
00655                 </optional>
00656                 <optional>
00657                     <attribute name="meta:date">
00658                         <ref name="dateTime"/>
00659                     </attribute>
00660                 </optional>
00661             </element>
00662             <element name="meta:auto-reload">
00663                 <optional>
00664                     <attribute name="xlink:type">
00665                         <value>simple</value>
00666                     </attribute>
00667                     <attribute name="xlink:href">
00668                         <ref name="anyIRI"/>
00669                     </attribute>
00670                     <optional>
00671                         <attribute name="xlink:show">
00672                             <value>replace</value>
00673                         </attribute>
00674                     </optional>
00675                     <optional>
00676                         <attribute name="xlink:actuate">
00677                             <value>onLoad</value>
00678                         </attribute>
00679                     </optional>
00680                 </optional>
00681                 <optional>
00682                     <attribute name="meta:delay">
00683                         <ref name="duration"/>
00684                     </attribute>
00685                 </optional>
00686             </element>
00687             <element name="meta:hyperlink-behaviour">
00688                 <optional>
00689                     <attribute name="office:target-frame-name">
00690                         <ref name="targetFrameName"/>
00691                     </attribute>
00692                 </optional>
00693                 <optional>
00694                     <attribute name="xlink:show">
00695                         <choice>
00696                             <value>new</value>
00697                             <value>replace</value>
00698                         </choice>
00699                     </attribute>
00700                 </optional>
00701             </element>
00702             <element name="dc:language">
00703                 <ref name="language"/>
00704             </element>
00705             <element name="meta:editing-cycles">
00706                 <ref name="nonNegativeInteger"/>
00707             </element>
00708             <element name="meta:editing-duration">
00709                 <ref name="duration"/>
00710             </element>
00711             <element name="meta:document-statistic">
00712                 <optional>
00713                     <attribute name="meta:page-count">
00714                         <ref name="nonNegativeInteger"/>
00715                     </attribute>
00716                 </optional>
00717                 <optional>
00718                     <attribute name="meta:table-count">
00719                         <ref name="nonNegativeInteger"/>
00720                     </attribute>
00721                 </optional>
00722                 <optional>
00723                     <attribute name="meta:draw-count">
00724                         <ref name="nonNegativeInteger"/>
00725                     </attribute>
00726                 </optional>
00727                 <optional>
00728                     <attribute name="meta:image-count">
00729                         <ref name="nonNegativeInteger"/>
00730                     </attribute>
00731                 </optional>
00732                 <optional>
00733                     <attribute name="meta:ole-object-count">
00734                         <ref name="nonNegativeInteger"/>
00735                     </attribute>
00736                 </optional>
00737                 <optional>
00738                     <attribute name="meta:object-count">
00739                         <ref name="nonNegativeInteger"/>
00740                     </attribute>
00741                 </optional>
00742                 <optional>
00743                     <attribute name="meta:paragraph-count">
00744                         <ref name="nonNegativeInteger"/>
00745                     </attribute>
00746                 </optional>
00747                 <optional>
00748                     <attribute name="meta:word-count">
00749                         <ref name="nonNegativeInteger"/>
00750                     </attribute>
00751                 </optional>
00752                 <optional>
00753                     <attribute name="meta:character-count">
00754                         <ref name="nonNegativeInteger"/>
00755                     </attribute>
00756                 </optional>
00757                 <optional>
00758                     <attribute name="meta:frame-count">
00759                         <ref name="nonNegativeInteger"/>
00760                     </attribute>
00761                 </optional>
00762                 <optional>
00763                     <attribute name="meta:sentence-count">
00764                         <ref name="nonNegativeInteger"/>
00765                     </attribute>
00766                 </optional>
00767                 <optional>
00768                     <attribute name="meta:syllable-count">
00769                         <ref name="nonNegativeInteger"/>
00770                     </attribute>
00771                 </optional>
00772                 <optional>
00773                     <attribute name="meta:non-whitespace-character-count">
00774                         <ref name="nonNegativeInteger"/>
00775                     </attribute>
00776                 </optional>
00777                 <optional>
00778                     <attribute name="meta:row-count">
00779                         <ref name="nonNegativeInteger"/>
00780                     </attribute>
00781                 </optional>
00782                 <optional>
00783                     <attribute name="meta:cell-count">
00784                         <ref name="nonNegativeInteger"/>
00785                     </attribute>
00786                 </optional>
00787             </element>
00788             <element name="meta:user-defined">
00789                 <attribute name="meta:name">
00790                     <ref name="string"/>
00791                 </attribute>
00792                 <choice>
00793                     <group>
00794                         <attribute name="meta:value-type">
00795                             <value>float</value>
00796                         </attribute>
00797                         <ref name="double"/>
00798                     </group>
00799                     <group>
00800                         <attribute name="meta:value-type">
00801                             <value>date</value>
00802                         </attribute>
00803                         <ref name="dateOrDateTime"/>
00804                     </group>
00805                     <group>
00806                         <attribute name="meta:value-type">
00807                             <value>time</value>
00808                         </attribute>
00809                         <ref name="duration"/>
00810                     </group>
00811                     <group>
00812                         <attribute name="meta:value-type">
00813                             <value>boolean</value>
00814                         </attribute>
00815                         <ref name="boolean"/>
00816                     </group>
00817                     <group>
00818                         <attribute name="meta:value-type">
00819                             <value>string</value>
00820                         </attribute>
00821                         <ref name="string"/>
00822                     </group>
00823                     <text/>
00824                 </choice>
00825             </element>
00826         </choice>
00827     </define>
00828     <define name="dc-creator">
00829         <element name="dc:creator">
00830             <ref name="string"/>
00831         </element>
00832     </define>
00833     <define name="dc-date">
00834         <element name="dc:date">
00835             <ref name="dateTime"/>
00836         </element>
00837     </define>
00838     <define name="text-h">
00839         <element name="text:h">
00840             <ref name="heading-attrs"/>
00841             <ref name="paragraph-attrs"/>
00842             <optional>
00843                 <ref name="text-number"/>
00844             </optional>
00845             <zeroOrMore>
00846                 <ref name="paragraph-content-or-hyperlink"/>
00847             </zeroOrMore>
00848         </element>
00849     </define>
00850     <define name="heading-attrs">
00851         <interleave>
00852             <attribute name="text:outline-level">
00853                 <ref name="positiveInteger"/>
00854             </attribute>
00855             <optional>
00856                 <attribute name="text:restart-numbering">
00857                     <ref name="boolean"/>
00858                 </attribute>
00859             </optional>
00860             <optional>
00861                 <attribute name="text:start-value">
00862                     <ref name="nonNegativeInteger"/>
00863                 </attribute>
00864             </optional>
00865             <optional>
00866                 <attribute name="text:is-list-header">
00867                     <ref name="boolean"/>
00868                 </attribute>
00869             </optional>
00870         </interleave>
00871     </define>
00872     <define name="text-number">
00873         <element name="text:number">
00874             <ref name="string"/>
00875         </element>
00876     </define>
00877     <define name="text-p">
00878         <element name="text:p">
00879             <ref name="paragraph-attrs"/>
00880             <zeroOrMore>
00881                 <ref name="paragraph-content-or-hyperlink"/>
00882             </zeroOrMore>
00883         </element>
00884     </define>
00885     <define name="paragraph-attrs">
00886         <interleave>
00887             <optional>
00888                 <attribute name="text:style-name">
00889                     <ref name="styleNameRef"/>
00890                 </attribute>
00891             </optional>
00892             <optional>
00893                 <attribute name="text:class-names">
00894                     <ref name="styleNameRefs"/>
00895                 </attribute>
00896             </optional>
00897             <optional>
00898                 <attribute name="text:cond-style-name">
00899                     <ref name="styleNameRef"/>
00900                 </attribute>
00901             </optional>
00902             <optional>
00903                 <group>
00904                     <ref name="xml-id"/>
00905                     <optional>
00906                         <attribute name="text:id">
00907                             <ref name="NCName"/>
00908                         </attribute>
00909                     </optional>
00910                 </group>
00911             </optional>
00912             <optional>
00913                 <ref name="common-in-content-meta-attlist"/>
00914             </optional>
00915         </interleave>
00916     </define>
00917     <define name="text-page-sequence">
00918         <element name="text:page-sequence">
00919             <oneOrMore>
00920                 <ref name="text-page"/>
00921             </oneOrMore>
00922         </element>
00923     </define>
00924     <define name="text-page">
00925         <element name="text:page">
00926             <ref name="text-page-attlist"/>
00927             <empty/>
00928         </element>
00929     </define>
00930     <define name="text-page-attlist">
00931         <attribute name="text:master-page-name">
00932             <ref name="styleNameRef"/>
00933         </attribute>
00934     </define>
00935     <define name="text-list">
00936         <element name="text:list">
00937             <ref name="text-list-attr"/>
00938             <optional>
00939                 <ref name="text-list-header"/>
00940             </optional>
00941             <zeroOrMore>
00942                 <ref name="text-list-item"/>
00943             </zeroOrMore>
00944         </element>
00945     </define>
00946     <define name="text-list-attr">
00947         <interleave>
00948             <optional>
00949                 <attribute name="text:style-name">
00950                     <ref name="styleNameRef"/>
00951                 </attribute>
00952             </optional>
00953             <optional>
00954                 <attribute name="text:continue-numbering">
00955                     <ref name="boolean"/>
00956                 </attribute>
00957             </optional>
00958             <optional>
00959                 <attribute name="text:continue-list">
00960                     <ref name="IDREF"/>
00961                 </attribute>
00962             </optional>
00963             <optional>
00964                 <ref name="xml-id"/>
00965             </optional>
00966         </interleave>
00967     </define>
00968     <define name="text-list-item">
00969         <element name="text:list-item">
00970             <ref name="text-list-item-attr"/>
00971             <ref name="text-list-item-content"/>
00972         </element>
00973     </define>
00974     <define name="text-list-item-content">
00975         <optional>
00976             <ref name="text-number"/>
00977         </optional>
00978         <zeroOrMore>
00979             <choice>
00980                 <ref name="text-p"/>
00981                 <ref name="text-h"/>
00982                 <ref name="text-list"/>
00983                 <ref name="text-soft-page-break"/>
00984             </choice>
00985         </zeroOrMore>
00986     </define>
00987     <define name="text-list-item-attr">
00988         <interleave>
00989             <optional>
00990                 <attribute name="text:start-value">
00991                     <ref name="nonNegativeInteger"/>
00992                 </attribute>
00993             </optional>
00994             <optional>
00995                 <attribute name="text:style-override">
00996                     <ref name="styleNameRef"/>
00997                 </attribute>
00998             </optional>
00999             <optional>
01000                 <ref name="xml-id"/>
01001             </optional>
01002         </interleave>
01003     </define>
01004     <define name="text-list-header">
01005         <element name="text:list-header">
01006             <ref name="text-list-header-attr"/>
01007             <ref name="text-list-item-content"/>
01008         </element>
01009     </define>
01010     <define name="text-list-header-attr">
01011         <optional>
01012             <ref name="xml-id"/>
01013         </optional>
01014     </define>
01015     <define name="text-numbered-paragraph">
01016         <element name="text:numbered-paragraph">
01017             <ref name="text-numbered-paragraph-attr"/>
01018             <optional>
01019                 <ref name="text-number"/>
01020             </optional>
01021             <choice>
01022                 <ref name="text-p"/>
01023                 <ref name="text-h"/>
01024             </choice>
01025         </element>
01026     </define>
01027     <define name="text-numbered-paragraph-attr">
01028         <interleave>
01029             <attribute name="text:list-id">
01030                 <ref name="NCName"/>
01031             </attribute>
01032             <optional>
01033                 <attribute name="text:level">
01034                     <ref name="positiveInteger"/>
01035                 </attribute>
01036             </optional>
01037             <optional>
01038                 <attribute name="text:style-name">
01039                     <ref name="styleNameRef"/>
01040                 </attribute>
01041                 <attribute name="text:continue-numbering">
01042                     <ref name="boolean"/>
01043                 </attribute>
01044                 <attribute name="text:start-value">
01045                     <ref name="nonNegativeInteger"/>
01046                 </attribute>
01047             </optional>
01048             <optional>
01049                 <ref name="xml-id"/>
01050             </optional>
01051         </interleave>
01052     </define>
01053     <define name="text-section">
01054         <element name="text:section">
01055             <ref name="text-section-attlist"/>
01056             <choice>
01057                 <ref name="text-section-source"/>
01058                 <ref name="text-section-source-dde"/>
01059                 <empty/>
01060             </choice>
01061             <zeroOrMore>
01062                 <ref name="text-content"/>
01063             </zeroOrMore>
01064         </element>
01065     </define>
01066     <define name="text-section-attlist">
01067         <interleave>
01068             <ref name="common-section-attlist"/>
01069             <choice>
01070                 <attribute name="text:display">
01071                     <choice>
01072                         <value>true</value>
01073                         <value>none</value>
01074                     </choice>
01075                 </attribute>
01076                 <group>
01077                     <attribute name="text:display">
01078                         <value>condition</value>
01079                     </attribute>
01080                     <attribute name="text:condition">
01081                         <ref name="string"/>
01082                     </attribute>
01083                 </group>
01084                 <empty/>
01085             </choice>
01086         </interleave>
01087     </define>
01088     <define name="common-section-attlist">
01089         <interleave>
01090             <optional>
01091                 <attribute name="text:style-name">
01092                     <ref name="styleNameRef"/>
01093                 </attribute>
01094             </optional>
01095             <attribute name="text:name">
01096                 <ref name="string"/>
01097             </attribute>
01098             <optional>
01099                 <attribute name="text:protected">
01100                     <ref name="boolean"/>
01101                 </attribute>
01102             </optional>
01103             <optional>
01104                 <attribute name="text:protection-key">
01105                     <ref name="string"/>
01106                 </attribute>
01107             </optional>
01108             <optional>
01109                 <attribute name="text:protection-key-digest-algorithm">
01110                     <ref name="anyIRI"/>
01111                 </attribute>
01112             </optional>
01113             <optional>
01114                 <ref name="xml-id"/>
01115             </optional>
01116         </interleave>
01117     </define>
01118     <define name="text-section-source">
01119         <element name="text:section-source">
01120             <ref name="text-section-source-attr"/>
01121         </element>
01122     </define>
01123     <define name="text-section-source-attr">
01124         <interleave>
01125             <optional>
01126                 <attribute name="xlink:type">
01127                     <value>simple</value>
01128                 </attribute>
01129                 <attribute name="xlink:href">
01130                     <ref name="anyIRI"/>
01131                 </attribute>
01132                 <optional>
01133                     <attribute name="xlink:show">
01134                         <value>embed</value>
01135                     </attribute>
01136                 </optional>
01137             </optional>
01138             <optional>
01139                 <attribute name="text:section-name">
01140                     <ref name="string"/>
01141                 </attribute>
01142             </optional>
01143             <optional>
01144                 <attribute name="text:filter-name">
01145                     <ref name="string"/>
01146                 </attribute>
01147             </optional>
01148         </interleave>
01149     </define>
01150     <define name="text-section-source-dde">
01151         <ref name="office-dde-source"/>
01152     </define>
01153     <define name="text-tracked-changes">
01154         <optional>
01155             <element name="text:tracked-changes">
01156                 <ref name="text-tracked-changes-attr"/>
01157                 <zeroOrMore>
01158                     <ref name="text-changed-region"/>
01159                 </zeroOrMore>
01160             </element>
01161         </optional>
01162     </define>
01163     <define name="text-tracked-changes-attr">
01164         <optional>
01165             <attribute name="text:track-changes">
01166                 <ref name="boolean"/>
01167             </attribute>
01168         </optional>
01169     </define>
01170     <define name="text-changed-region">
01171         <element name="text:changed-region">
01172             <ref name="text-changed-region-attr"/>
01173             <ref name="text-changed-region-content"/>
01174         </element>
01175     </define>
01176     <define name="text-changed-region-attr">
01177         <group>
01178             <ref name="xml-id"/>
01179             <optional>
01180                 <attribute name="text:id">
01181                     <ref name="NCName"/>
01182                 </attribute>
01183             </optional>
01184         </group>
01185     </define>
01186     <define name="text-changed-region-content">
01187         <choice>
01188             <element name="text:insertion">
01189                 <ref name="office-change-info"/>
01190             </element>
01191             <element name="text:deletion">
01192                 <ref name="office-change-info"/>
01193                 <zeroOrMore>
01194                     <ref name="text-content"/>
01195                 </zeroOrMore>
01196             </element>
01197             <element name="text:format-change">
01198                 <ref name="office-change-info"/>
01199             </element>
01200         </choice>
01201     </define>
01202     <define name="change-marks">
01203         <choice>
01204             <element name="text:change">
01205                 <ref name="change-mark-attr"/>
01206             </element>
01207             <element name="text:change-start">
01208                 <ref name="change-mark-attr"/>
01209             </element>
01210             <element name="text:change-end">
01211                 <ref name="change-mark-attr"/>
01212             </element>
01213         </choice>
01214     </define>
01215     <define name="change-mark-attr">
01216         <attribute name="text:change-id">
01217             <ref name="IDREF"/>
01218         </attribute>
01219     </define>
01220     <define name="text-soft-page-break">
01221         <element name="text:soft-page-break">
01222             <empty/>
01223         </element>
01224     </define>
01225     <define name="text-decls">
01226         <optional>
01227             <element name="text:variable-decls">
01228                 <zeroOrMore>
01229                     <ref name="text-variable-decl"/>
01230                 </zeroOrMore>
01231             </element>
01232         </optional>
01233         <optional>
01234             <element name="text:sequence-decls">
01235                 <zeroOrMore>
01236                     <ref name="text-sequence-decl"/>
01237                 </zeroOrMore>
01238             </element>
01239         </optional>
01240         <optional>
01241             <element name="text:user-field-decls">
01242                 <zeroOrMore>
01243                     <ref name="text-user-field-decl"/>
01244                 </zeroOrMore>
01245             </element>
01246         </optional>
01247         <optional>
01248             <element name="text:dde-connection-decls">
01249                 <zeroOrMore>
01250                     <ref name="text-dde-connection-decl"/>
01251                 </zeroOrMore>
01252             </element>
01253         </optional>
01254         <optional>
01255             <ref name="text-alphabetical-index-auto-mark-file"/>
01256         </optional>
01257     </define>
01258     <define name="paragraph-content-or-hyperlink">
01259         <choice>
01260             <ref name="paragraph-content"/>
01261             <ref name="text-a"/>
01262         </choice>
01263     </define>
01264     <define name="paragraph-content">
01265         <choice>
01266             <text/>
01267             <element name="text:s">
01268                 <optional>
01269                     <attribute name="text:c">
01270                         <ref name="nonNegativeInteger"/>
01271                     </attribute>
01272                 </optional>
01273             </element>
01274             <element name="text:tab">
01275                 <ref name="text-tab-attr"/>
01276             </element>
01277             <element name="text:line-break">
01278                 <empty/>
01279             </element>
01280             <ref name="text-soft-page-break"/>
01281             <element name="text:span">
01282                 <optional>
01283                     <attribute name="text:style-name">
01284                         <ref name="styleNameRef"/>
01285                     </attribute>
01286                 </optional>
01287                 <optional>
01288                     <attribute name="text:class-names">
01289                         <ref name="styleNameRefs"/>
01290                     </attribute>
01291                 </optional>
01292                 <zeroOrMore>
01293                     <ref name="paragraph-content-or-hyperlink"/>
01294                 </zeroOrMore>
01295             </element>
01296             <element name="text:meta">
01297                 <ref name="text-meta-attlist"/>
01298                 <zeroOrMore>
01299                     <ref name="paragraph-content-or-hyperlink"/>
01300                 </zeroOrMore>
01301             </element>
01302             <choice>
01303                 <ref name="text-bookmark"/>
01304                 <ref name="text-bookmark-start"/>
01305                 <ref name="text-bookmark-end"/>
01306             </choice>
01307             <element name="text:reference-mark">
01308                 <attribute name="text:name">
01309                     <ref name="string"/>
01310                 </attribute>
01311             </element>
01312             <choice>
01313                 <element name="text:reference-mark-start">
01314                     <attribute name="text:name">
01315                         <ref name="string"/>
01316                     </attribute>
01317                 </element>
01318                 <element name="text:reference-mark-end">
01319                     <attribute name="text:name">
01320                         <ref name="string"/>
01321                     </attribute>
01322                 </element>
01323             </choice>
01324             <element name="text:note">
01325                 <ref name="text-note-class"/>
01326                 <optional>
01327                     <attribute name="text:id">
01328                         <ref name="string"/>
01329                     </attribute>
01330                 </optional>
01331                 <element name="text:note-citation">
01332                     <optional>
01333                         <attribute name="text:label">
01334                             <ref name="string"/>
01335                         </attribute>
01336                     </optional>
01337                     <text/>
01338                 </element>
01339                 <element name="text:note-body">
01340                     <zeroOrMore>
01341                         <ref name="text-content"/>
01342                     </zeroOrMore>
01343                 </element>
01344             </element>
01345             <element name="text:ruby">
01346                 <optional>
01347                     <attribute name="text:style-name">
01348                         <ref name="styleNameRef"/>
01349                     </attribute>
01350                 </optional>
01351                 <element name="text:ruby-base">
01352                     <zeroOrMore>
01353                         <ref name="paragraph-content-or-hyperlink"/>
01354                     </zeroOrMore>
01355                 </element>
01356                 <element name="text:ruby-text">
01357                     <optional>
01358                         <attribute name="text:style-name">
01359                             <ref name="styleNameRef"/>
01360                         </attribute>
01361                     </optional>
01362                     <text/>
01363                 </element>
01364             </element>
01365             <choice>
01366                 <ref name="office-annotation"/>
01367                 <ref name="office-annotation-end"/>
01368             </choice>
01369             <ref name="change-marks"/>
01370             <ref name="shape"/>
01371             <element name="text:date">
01372                 <ref name="text-date-attlist"/>
01373                 <text/>
01374             </element>
01375             <element name="text:time">
01376                 <ref name="text-time-attlist"/>
01377                 <text/>
01378             </element>
01379             <element name="text:page-number">
01380                 <ref name="text-page-number-attlist"/>
01381                 <text/>
01382             </element>
01383             <element name="text:page-continuation">
01384                 <ref name="text-page-continuation-attlist"/>
01385                 <text/>
01386             </element>
01387             <element name="text:sender-firstname">
01388                 <ref name="common-field-fixed-attlist"/>
01389                 <text/>
01390             </element>
01391             <element name="text:sender-lastname">
01392                 <ref name="common-field-fixed-attlist"/>
01393                 <text/>
01394             </element>
01395             <element name="text:sender-initials">
01396                 <ref name="common-field-fixed-attlist"/>
01397                 <text/>
01398             </element>
01399             <element name="text:sender-title">
01400                 <ref name="common-field-fixed-attlist"/>
01401                 <text/>
01402             </element>
01403             <element name="text:sender-position">
01404                 <ref name="common-field-fixed-attlist"/>
01405                 <text/>
01406             </element>
01407             <element name="text:sender-email">
01408                 <ref name="common-field-fixed-attlist"/>
01409                 <text/>
01410             </element>
01411             <element name="text:sender-phone-private">
01412                 <ref name="common-field-fixed-attlist"/>
01413                 <text/>
01414             </element>
01415             <element name="text:sender-fax">
01416                 <ref name="common-field-fixed-attlist"/>
01417                 <text/>
01418             </element>
01419             <element name="text:sender-company">
01420                 <ref name="common-field-fixed-attlist"/>
01421                 <text/>
01422             </element>
01423             <element name="text:sender-phone-work">
01424                 <ref name="common-field-fixed-attlist"/>
01425                 <text/>
01426             </element>
01427             <element name="text:sender-street">
01428                 <ref name="common-field-fixed-attlist"/>
01429                 <text/>
01430             </element>
01431             <element name="text:sender-city">
01432                 <ref name="common-field-fixed-attlist"/>
01433                 <text/>
01434             </element>
01435             <element name="text:sender-postal-code">
01436                 <ref name="common-field-fixed-attlist"/>
01437                 <text/>
01438             </element>
01439             <element name="text:sender-country">
01440                 <ref name="common-field-fixed-attlist"/>
01441                 <text/>
01442             </element>
01443             <element name="text:sender-state-or-province">
01444                 <ref name="common-field-fixed-attlist"/>
01445                 <text/>
01446             </element>
01447             <element name="text:author-name">
01448                 <ref name="common-field-fixed-attlist"/>
01449                 <text/>
01450             </element>
01451             <element name="text:author-initials">
01452                 <ref name="common-field-fixed-attlist"/>
01453                 <text/>
01454             </element>
01455             <element name="text:chapter">
01456                 <ref name="text-chapter-attlist"/>
01457                 <text/>
01458             </element>
01459             <element name="text:file-name">
01460                 <ref name="text-file-name-attlist"/>
01461                 <text/>
01462             </element>
01463             <element name="text:template-name">
01464                 <ref name="text-template-name-attlist"/>
01465                 <text/>
01466             </element>
01467             <element name="text:sheet-name">
01468                 <text/>
01469             </element>
01470             <element name="text:variable-set">
01471                 <interleave>
01472                     <ref name="common-field-name-attlist"/>
01473                     <ref name="common-field-formula-attlist"/>
01474                     <ref name="common-value-and-type-attlist"/>
01475                     <ref name="common-field-display-value-none-attlist"/>
01476                     <ref name="common-field-data-style-name-attlist"/>
01477                 </interleave>
01478                 <text/>
01479             </element>
01480             <element name="text:variable-get">
01481                 <interleave>
01482                     <ref name="common-field-name-attlist"/>
01483                     <ref name="common-field-display-value-formula-attlist"/>
01484                     <ref name="common-field-data-style-name-attlist"/>
01485                 </interleave>
01486                 <text/>
01487             </element>
01488             <element name="text:variable-input">
01489                 <interleave>
01490                     <ref name="common-field-name-attlist"/>
01491                     <ref name="common-field-description-attlist"/>
01492                     <ref name="common-value-type-attlist"/>
01493                     <ref name="common-field-display-value-none-attlist"/>
01494                     <ref name="common-field-data-style-name-attlist"/>
01495                 </interleave>
01496                 <text/>
01497             </element>
01498             <element name="text:user-field-get">
01499                 <interleave>
01500                     <ref name="common-field-name-attlist"/>
01501                     <ref name="common-field-display-value-formula-none-attlist"/>
01502                     <ref name="common-field-data-style-name-attlist"/>
01503                 </interleave>
01504                 <text/>
01505             </element>
01506             <element name="text:user-field-input">
01507                 <interleave>
01508                     <ref name="common-field-name-attlist"/>
01509                     <ref name="common-field-description-attlist"/>
01510                     <ref name="common-field-data-style-name-attlist"/>
01511                 </interleave>
01512                 <text/>
01513             </element>
01514             <element name="text:sequence">
01515                 <interleave>
01516                     <ref name="common-field-name-attlist"/>
01517                     <ref name="common-field-formula-attlist"/>
01518                     <ref name="common-field-num-format-attlist"/>
01519                     <ref name="text-sequence-ref-name"/>
01520                 </interleave>
01521                 <text/>
01522             </element>
01523             <element name="text:expression">
01524                 <interleave>
01525                     <ref name="common-field-formula-attlist"/>
01526                     <optional>
01527                         <ref name="common-value-and-type-attlist"/>
01528                     </optional>
01529                     <ref name="common-field-display-value-formula-attlist"/>
01530                     <ref name="common-field-data-style-name-attlist"/>
01531                 </interleave>
01532                 <text/>
01533             </element>
01534             <element name="text:text-input">
01535                 <ref name="common-field-description-attlist"/>
01536                 <text/>
01537             </element>
01538             <element name="text:initial-creator">
01539                 <ref name="common-field-fixed-attlist"/>
01540                 <text/>
01541             </element>
01542             <element name="text:creation-date">
01543                 <interleave>
01544                     <ref name="common-field-fixed-attlist"/>
01545                     <ref name="common-field-data-style-name-attlist"/>
01546                     <optional>
01547                         <attribute name="text:date-value">
01548                             <ref name="dateOrDateTime"/>
01549                         </attribute>
01550                     </optional>
01551                 </interleave>
01552                 <text/>
01553             </element>
01554             <element name="text:creation-time">
01555                 <interleave>
01556                     <ref name="common-field-fixed-attlist"/>
01557                     <ref name="common-field-data-style-name-attlist"/>
01558                     <optional>
01559                         <attribute name="text:time-value">
01560                             <ref name="timeOrDateTime"/>
01561                         </attribute>
01562                     </optional>
01563                 </interleave>
01564                 <text/>
01565             </element>
01566             <element name="text:description">
01567                 <ref name="common-field-fixed-attlist"/>
01568                 <text/>
01569             </element>
01570             <element name="text:user-defined">
01571                 <interleave>
01572                     <ref name="common-field-fixed-attlist"/>
01573                     <attribute name="text:name">
01574                         <ref name="string"/>
01575                     </attribute>
01576                     <ref name="common-field-data-style-name-attlist"/>
01577                     <optional>
01578                         <attribute name="office:value">
01579                             <ref name="double"/>
01580                         </attribute>
01581                     </optional>
01582                     <optional>
01583                         <attribute name="office:date-value">
01584                             <ref name="dateOrDateTime"/>
01585                         </attribute>
01586                     </optional>
01587                     <optional>
01588                         <attribute name="office:time-value">
01589                             <ref name="duration"/>
01590                         </attribute>
01591                     </optional>
01592                     <optional>
01593                         <attribute name="office:boolean-value">
01594                             <ref name="boolean"/>
01595                         </attribute>
01596                     </optional>
01597                     <optional>
01598                         <attribute name="office:string-value">
01599                             <ref name="string"/>
01600                         </attribute>
01601                     </optional>
01602                 </interleave>
01603                 <text/>
01604             </element>
01605             <element name="text:print-time">
01606                 <interleave>
01607                     <ref name="common-field-fixed-attlist"/>
01608                     <ref name="common-field-data-style-name-attlist"/>
01609                     <optional>
01610                         <attribute name="text:time-value">
01611                             <ref name="time"/>
01612                         </attribute>
01613                     </optional>
01614                 </interleave>
01615                 <text/>
01616             </element>
01617             <element name="text:print-date">
01618                 <interleave>
01619                     <ref name="common-field-fixed-attlist"/>
01620                     <ref name="common-field-data-style-name-attlist"/>
01621                     <optional>
01622                         <attribute name="text:date-value">
01623                             <ref name="date"/>
01624                         </attribute>
01625                     </optional>
01626                 </interleave>
01627                 <text/>
01628             </element>
01629             <element name="text:printed-by">
01630                 <ref name="common-field-fixed-attlist"/>
01631                 <text/>
01632             </element>
01633             <element name="text:title">
01634                 <ref name="common-field-fixed-attlist"/>
01635                 <text/>
01636             </element>
01637             <element name="text:subject">
01638                 <ref name="common-field-fixed-attlist"/>
01639                 <text/>
01640             </element>
01641             <element name="text:keywords">
01642                 <ref name="common-field-fixed-attlist"/>
01643                 <text/>
01644             </element>
01645             <element name="text:editing-cycles">
01646                 <ref name="common-field-fixed-attlist"/>
01647                 <text/>
01648             </element>
01649             <element name="text:editing-duration">
01650                 <interleave>
01651                     <ref name="common-field-fixed-attlist"/>
01652                     <ref name="common-field-data-style-name-attlist"/>
01653                     <optional>
01654                         <attribute name="text:duration">
01655                             <ref name="duration"/>
01656                         </attribute>
01657                     </optional>
01658                 </interleave>
01659                 <text/>
01660             </element>
01661             <element name="text:modification-time">
01662                 <interleave>
01663                     <ref name="common-field-fixed-attlist"/>
01664                     <ref name="common-field-data-style-name-attlist"/>
01665                     <optional>
01666                         <attribute name="text:time-value">
01667                             <ref name="time"/>
01668                         </attribute>
01669                     </optional>
01670                 </interleave>
01671                 <text/>
01672             </element>
01673             <element name="text:modification-date">
01674                 <interleave>
01675                     <ref name="common-field-fixed-attlist"/>
01676                     <ref name="common-field-data-style-name-attlist"/>
01677                     <optional>
01678                         <attribute name="text:date-value">
01679                             <ref name="date"/>
01680                         </attribute>
01681                     </optional>
01682                 </interleave>
01683                 <text/>
01684             </element>
01685             <element name="text:creator">
01686                 <ref name="common-field-fixed-attlist"/>
01687                 <text/>
01688             </element>
01689             <element>
01690                 <choice>
01691                     <name>text:page-count</name>
01692                     <name>text:paragraph-count</name>
01693                     <name>text:word-count</name>
01694                     <name>text:character-count</name>
01695                     <name>text:table-count</name>
01696                     <name>text:image-count</name>
01697                     <name>text:object-count</name>
01698                 </choice>
01699                 <ref name="common-field-num-format-attlist"/>
01700                 <text/>
01701             </element>
01702             <element name="text:database-display">
01703                 <ref name="text-database-display-attlist"/>
01704                 <text/>
01705             </element>
01706             <element name="text:database-next">
01707                 <ref name="text-database-next-attlist"/>
01708             </element>
01709             <element name="text:database-row-select">
01710                 <ref name="text-database-row-select-attlist"/>
01711             </element>
01712             <element name="text:database-row-number">
01713                 <interleave>
01714                     <ref name="common-field-database-table"/>
01715                     <ref name="common-field-num-format-attlist"/>
01716                     <optional>
01717                         <attribute name="text:value">
01718                             <ref name="nonNegativeInteger"/>
01719                         </attribute>
01720                     </optional>
01721                 </interleave>
01722                 <text/>
01723             </element>
01724             <element name="text:database-name">
01725                 <ref name="common-field-database-table"/>
01726                 <text/>
01727             </element>
01728             <element name="text:page-variable-set">
01729                 <ref name="text-set-page-variable-attlist"/>
01730                 <text/>
01731             </element>
01732             <element name="text:page-variable-get">
01733                 <ref name="text-get-page-variable-attlist"/>
01734                 <text/>
01735             </element>
01736             <element name="text:placeholder">
01737                 <ref name="text-placeholder-attlist"/>
01738                 <text/>
01739             </element>
01740             <element name="text:conditional-text">
01741                 <ref name="text-conditional-text-attlist"/>
01742                 <text/>
01743             </element>
01744             <element name="text:hidden-text">
01745                 <ref name="text-hidden-text-attlist"/>
01746                 <text/>
01747             </element>
01748             <element>
01749                 <choice>
01750                     <name>text:reference-ref</name>
01751                     <name>text:bookmark-ref</name>
01752                 </choice>
01753                 <interleave>
01754                     <ref name="text-common-ref-content"/>
01755                     <ref name="text-bookmark-ref-content"/>
01756                 </interleave>
01757             </element>
01758             <element name="text:note-ref">
01759                 <interleave>
01760                     <ref name="text-common-ref-content"/>
01761                     <ref name="text-note-ref-content"/>
01762                 </interleave>
01763             </element>
01764             <element name="text:sequence-ref">
01765                 <interleave>
01766                     <ref name="text-common-ref-content"/>
01767                     <ref name="text-sequence-ref-content"/>
01768                 </interleave>
01769             </element>
01770             <element name="text:script">
01771                 <interleave>
01772                     <choice>
01773                         <group>
01774                             <attribute name="xlink:type">
01775                                 <value>simple</value>
01776                             </attribute>
01777                             <attribute name="xlink:href">
01778                                 <ref name="anyIRI"/>
01779                             </attribute>
01780                         </group>
01781                         <text/>
01782                     </choice>
01783                     <optional>
01784                         <attribute name="script:language">
01785                             <ref name="string"/>
01786                         </attribute>
01787                     </optional>
01788                 </interleave>
01789             </element>
01790             <element name="text:execute-macro">
01791                 <optional>
01792                     <attribute name="text:name">
01793                         <ref name="string"/>
01794                     </attribute>
01795                 </optional>
01796                 <optional>
01797                     <ref name="office-event-listeners"/>
01798                 </optional>
01799                 <text/>
01800             </element>
01801             <element name="text:hidden-paragraph">
01802                 <ref name="text-hidden-paragraph-attlist"/>
01803                 <text/>
01804             </element>
01805             <element name="text:dde-connection">
01806                 <attribute name="text:connection-name">
01807                     <ref name="string"/>
01808                 </attribute>
01809                 <text/>
01810             </element>
01811             <element name="text:measure">
01812                 <attribute name="text:kind">
01813                     <choice>
01814                         <value>value</value>
01815                         <value>unit</value>
01816                         <value>gap</value>
01817                     </choice>
01818                 </attribute>
01819                 <text/>
01820             </element>
01821             <element name="text:table-formula">
01822                 <interleave>
01823                     <ref name="common-field-formula-attlist"/>
01824                     <ref name="common-field-display-value-formula-attlist"/>
01825                     <ref name="common-field-data-style-name-attlist"/>
01826                 </interleave>
01827                 <text/>
01828             </element>
01829             <element name="text:meta-field">
01830                 <ref name="text-meta-field-attlist"/>
01831                 <zeroOrMore>
01832                     <ref name="paragraph-content-or-hyperlink"/>
01833                 </zeroOrMore>
01834             </element>
01835             <element name="text:toc-mark-start">
01836                 <ref name="text-toc-mark-start-attrs"/>
01837             </element>
01838             <element name="text:toc-mark-end">
01839                 <ref name="text-id"/>
01840             </element>
01841             <element name="text:toc-mark">
01842                 <attribute name="text:string-value">
01843                     <ref name="string"/>
01844                 </attribute>
01845                 <ref name="text-outline-level"/>
01846             </element>
01847             <element name="text:user-index-mark-start">
01848                 <ref name="text-id"/>
01849                 <ref name="text-outline-level"/>
01850                 <ref name="text-index-name"/>
01851             </element>
01852             <element name="text:user-index-mark-end">
01853                 <ref name="text-id"/>
01854             </element>
01855             <element name="text:user-index-mark">
01856                 <attribute name="text:string-value">
01857                     <ref name="string"/>
01858                 </attribute>
01859                 <ref name="text-outline-level"/>
01860                 <ref name="text-index-name"/>
01861             </element>
01862             <element name="text:alphabetical-index-mark-start">
01863                 <ref name="text-id"/>
01864                 <ref name="text-alphabetical-index-mark-attrs"/>
01865             </element>
01866             <element name="text:alphabetical-index-mark-end">
01867                 <ref name="text-id"/>
01868             </element>
01869             <element name="text:alphabetical-index-mark">
01870                 <attribute name="text:string-value">
01871                     <ref name="string"/>
01872                 </attribute>
01873                 <ref name="text-alphabetical-index-mark-attrs"/>
01874             </element>
01875             <element name="text:bibliography-mark">
01876                 <attribute name="text:bibliography-type">
01877                     <ref name="text-bibliography-types"/>
01878                 </attribute>
01879                 <zeroOrMore>
01880                     <attribute>
01881                         <choice>
01882                             <name>text:identifier</name>
01883                             <name>text:address</name>
01884                             <name>text:annote</name>
01885                             <name>text:author</name>
01886                             <name>text:booktitle</name>
01887                             <name>text:chapter</name>
01888                             <name>text:edition</name>
01889                             <name>text:editor</name>
01890                             <name>text:howpublished</name>
01891                             <name>text:institution</name>
01892                             <name>text:journal</name>
01893                             <name>text:month</name>
01894                             <name>text:note</name>
01895                             <name>text:number</name>
01896                             <name>text:organizations</name>
01897                             <name>text:pages</name>
01898                             <name>text:publisher</name>
01899                             <name>text:school</name>
01900                             <name>text:series</name>
01901                             <name>text:title</name>
01902                             <name>text:report-type</name>
01903                             <name>text:volume</name>
01904                             <name>text:year</name>
01905                             <name>text:url</name>
01906                             <name>text:custom1</name>
01907                             <name>text:custom2</name>
01908                             <name>text:custom3</name>
01909                             <name>text:custom4</name>
01910                             <name>text:custom5</name>
01911                             <name>text:isbn</name>
01912                             <name>text:issn</name>
01913                         </choice>
01914                         <ref name="string"/>
01915                     </attribute>
01916                 </zeroOrMore>
01917                 <text/>
01918             </element>
01919             <element name="presentation:header">
01920                 <empty/>
01921             </element>
01922             <element name="presentation:footer">
01923                 <empty/>
01924             </element>
01925             <element name="presentation:date-time">
01926                 <empty/>
01927             </element>
01928         </choice>
01929     </define>
01930     <define name="text-tab-attr">
01931         <optional>
01932             <attribute name="text:tab-ref">
01933                 <ref name="nonNegativeInteger"/>
01934             </attribute>
01935         </optional>
01936     </define>
01937     <define name="text-a">
01938         <element name="text:a">
01939             <ref name="text-a-attlist"/>
01940             <optional>
01941                 <ref name="office-event-listeners"/>
01942             </optional>
01943             <zeroOrMore>
01944                 <ref name="paragraph-content"/>
01945             </zeroOrMore>
01946         </element>
01947     </define>
01948     <define name="text-a-attlist">
01949         <interleave>
01950             <optional>
01951                 <attribute name="office:name">
01952                     <ref name="string"/>
01953                 </attribute>
01954             </optional>
01955             <optional>
01956                 <attribute name="office:title">
01957                     <ref name="string"/>
01958                 </attribute>
01959             </optional>
01960             <attribute name="xlink:type">
01961                 <value>simple</value>
01962             </attribute>
01963             <attribute name="xlink:href">
01964                 <ref name="anyIRI"/>
01965             </attribute>
01966             <optional>
01967                 <attribute name="xlink:actuate">
01968                     <value>onRequest</value>
01969                 </attribute>
01970             </optional>
01971             <optional>
01972                 <attribute name="office:target-frame-name">
01973                     <ref name="targetFrameName"/>
01974                 </attribute>
01975             </optional>
01976             <optional>
01977                 <attribute name="xlink:show">
01978                     <choice>
01979                         <value>new</value>
01980                         <value>replace</value>
01981                     </choice>
01982                 </attribute>
01983             </optional>
01984             <optional>
01985                 <attribute name="text:style-name">
01986                     <ref name="styleNameRef"/>
01987                 </attribute>
01988             </optional>
01989             <optional>
01990                 <attribute name="text:visited-style-name">
01991                     <ref name="styleNameRef"/>
01992                 </attribute>
01993             </optional>
01994         </interleave>
01995     </define>
01996     <define name="text-meta-attlist">
01997         <interleave>
01998             <optional>
01999                 <ref name="common-in-content-meta-attlist"/>
02000             </optional>
02001             <optional>
02002                 <ref name="xml-id"/>
02003             </optional>
02004         </interleave>
02005     </define>
02006     <define name="text-bookmark">
02007         <element name="text:bookmark">
02008             <ref name="text-bookmark-attlist"/>
02009             <empty/>
02010         </element>
02011     </define>
02012     <define name="text-bookmark-start">
02013         <element name="text:bookmark-start">
02014             <ref name="text-bookmark-start-attlist"/>
02015             <empty/>
02016         </element>
02017     </define>
02018     <define name="text-bookmark-end">
02019         <element name="text:bookmark-end">
02020             <ref name="text-bookmark-end-attlist"/>
02021             <empty/>
02022         </element>
02023     </define>
02024     <define name="text-bookmark-attlist">
02025         <interleave>
02026             <attribute name="text:name">
02027                 <ref name="string"/>
02028             </attribute>
02029             <optional>
02030                 <ref name="xml-id"/>
02031             </optional>
02032         </interleave>
02033     </define>
02034     <define name="text-bookmark-start-attlist">
02035         <interleave>
02036             <attribute name="text:name">
02037                 <ref name="string"/>
02038             </attribute>
02039             <optional>
02040                 <ref name="xml-id"/>
02041             </optional>
02042             <optional>
02043                 <ref name="common-in-content-meta-attlist"/>
02044             </optional>
02045         </interleave>
02046     </define>
02047     <define name="text-bookmark-end-attlist">
02048         <attribute name="text:name">
02049             <ref name="string"/>
02050         </attribute>
02051     </define>
02052     <define name="text-note-class">
02053         <attribute name="text:note-class">
02054             <choice>
02055                 <value>footnote</value>
02056                 <value>endnote</value>
02057             </choice>
02058         </attribute>
02059     </define>
02060     <define name="text-date-attlist">
02061         <interleave>
02062             <interleave>
02063                 <ref name="common-field-fixed-attlist"/>
02064                 <ref name="common-field-data-style-name-attlist"/>
02065             </interleave>
02066             <optional>
02067                 <attribute name="text:date-value">
02068                     <ref name="dateOrDateTime"/>
02069                 </attribute>
02070             </optional>
02071             <optional>
02072                 <attribute name="text:date-adjust">
02073                     <ref name="duration"/>
02074                 </attribute>
02075             </optional>
02076         </interleave>
02077     </define>
02078     <define name="text-time-attlist">
02079         <interleave>
02080             <interleave>
02081                 <ref name="common-field-fixed-attlist"/>
02082                 <ref name="common-field-data-style-name-attlist"/>
02083             </interleave>
02084             <optional>
02085                 <attribute name="text:time-value">
02086                     <ref name="timeOrDateTime"/>
02087                 </attribute>
02088             </optional>
02089             <optional>
02090                 <attribute name="text:time-adjust">
02091                     <ref name="duration"/>
02092                 </attribute>
02093             </optional>
02094         </interleave>
02095     </define>
02096     <define name="text-page-number-attlist">
02097         <interleave>
02098             <interleave>
02099                 <ref name="common-field-num-format-attlist"/>
02100                 <ref name="common-field-fixed-attlist"/>
02101             </interleave>
02102             <optional>
02103                 <attribute name="text:page-adjust">
02104                     <ref name="integer"/>
02105                 </attribute>
02106             </optional>
02107             <optional>
02108                 <attribute name="text:select-page">
02109                     <choice>
02110                         <value>previous</value>
02111                         <value>current</value>
02112                         <value>next</value>
02113                     </choice>
02114                 </attribute>
02115             </optional>
02116         </interleave>
02117     </define>
02118     <define name="text-page-continuation-attlist">
02119         <interleave>
02120             <attribute name="text:select-page">
02121                 <choice>
02122                     <value>previous</value>
02123                     <value>next</value>
02124                 </choice>
02125             </attribute>
02126             <optional>
02127                 <attribute name="text:string-value">
02128                     <ref name="string"/>
02129                 </attribute>
02130             </optional>
02131         </interleave>
02132     </define>
02133     <define name="text-chapter-attlist">
02134         <interleave>
02135             <attribute name="text:display">
02136                 <choice>
02137                     <value>name</value>
02138                     <value>number</value>
02139                     <value>number-and-name</value>
02140                     <value>plain-number-and-name</value>
02141                     <value>plain-number</value>
02142                 </choice>
02143             </attribute>
02144             <attribute name="text:outline-level">
02145                 <ref name="nonNegativeInteger"/>
02146             </attribute>
02147         </interleave>
02148     </define>
02149     <define name="text-file-name-attlist">
02150         <interleave>
02151             <optional>
02152                 <attribute name="text:display">
02153                     <choice>
02154                         <value>full</value>
02155                         <value>path</value>
02156                         <value>name</value>
02157                         <value>name-and-extension</value>
02158                     </choice>
02159                 </attribute>
02160             </optional>
02161             <ref name="common-field-fixed-attlist"/>
02162         </interleave>
02163     </define>
02164     <define name="text-template-name-attlist">
02165         <optional>
02166             <attribute name="text:display">
02167                 <choice>
02168                     <value>full</value>
02169                     <value>path</value>
02170                     <value>name</value>
02171                     <value>name-and-extension</value>
02172                     <value>area</value>
02173                     <value>title</value>
02174                 </choice>
02175             </attribute>
02176         </optional>
02177     </define>
02178     <define name="text-variable-decl">
02179         <element name="text:variable-decl">
02180             <ref name="common-field-name-attlist"/>
02181             <ref name="common-value-type-attlist"/>
02182         </element>
02183     </define>
02184     <define name="text-user-field-decl">
02185         <element name="text:user-field-decl">
02186             <ref name="common-field-name-attlist"/>
02187             <optional>
02188                 <ref name="common-field-formula-attlist"/>
02189             </optional>
02190             <ref name="common-value-and-type-attlist"/>
02191         </element>
02192     </define>
02193     <define name="text-sequence-decl">
02194         <element name="text:sequence-decl">
02195             <ref name="text-sequence-decl-attlist"/>
02196         </element>
02197     </define>
02198     <define name="text-sequence-decl-attlist">
02199         <interleave>
02200             <ref name="common-field-name-attlist"/>
02201             <attribute name="text:display-outline-level">
02202                 <ref name="nonNegativeInteger"/>
02203             </attribute>
02204             <optional>
02205                 <attribute name="text:separation-character">
02206                     <ref name="character"/>
02207                 </attribute>
02208             </optional>
02209         </interleave>
02210     </define>
02211     <define name="text-sequence-ref-name">
02212         <optional>
02213             <attribute name="text:ref-name">
02214                 <ref name="string"/>
02215             </attribute>
02216         </optional>
02217     </define>
02218     <define name="common-field-database-table">
02219         <ref name="common-field-database-table-attlist"/>
02220         <ref name="common-field-database-name"/>
02221     </define>
02222     <define name="common-field-database-name">
02223         <choice>
02224             <optional>
02225                 <attribute name="text:database-name">
02226                     <ref name="string"/>
02227                 </attribute>
02228             </optional>
02229             <ref name="form-connection-resource"/>
02230         </choice>
02231     </define>
02232     <define name="common-field-database-table-attlist">
02233         <interleave>
02234             <attribute name="text:table-name">
02235                 <ref name="string"/>
02236             </attribute>
02237             <optional>
02238                 <attribute name="text:table-type">
02239                     <choice>
02240                         <value>table</value>
02241                         <value>query</value>
02242                         <value>command</value>
02243                     </choice>
02244                 </attribute>
02245             </optional>
02246         </interleave>
02247     </define>
02248     <define name="text-database-display-attlist">
02249         <interleave>
02250             <ref name="common-field-database-table"/>
02251             <ref name="common-field-data-style-name-attlist"/>
02252             <attribute name="text:column-name">
02253                 <ref name="string"/>
02254             </attribute>
02255         </interleave>
02256     </define>
02257     <define name="text-database-next-attlist">
02258         <interleave>
02259             <ref name="common-field-database-table"/>
02260             <optional>
02261                 <attribute name="text:condition">
02262                     <ref name="string"/>
02263                 </attribute>
02264             </optional>
02265         </interleave>
02266     </define>
02267     <define name="text-database-row-select-attlist">
02268         <interleave>
02269             <ref name="common-field-database-table"/>
02270             <optional>
02271                 <attribute name="text:condition">
02272                     <ref name="string"/>
02273                 </attribute>
02274             </optional>
02275             <optional>
02276                 <attribute name="text:row-number">
02277                     <ref name="nonNegativeInteger"/>
02278                 </attribute>
02279             </optional>
02280         </interleave>
02281     </define>
02282     <define name="text-set-page-variable-attlist">
02283         <interleave>
02284             <optional>
02285                 <attribute name="text:active">
02286                     <ref name="boolean"/>
02287                 </attribute>
02288             </optional>
02289             <optional>
02290                 <attribute name="text:page-adjust">
02291                     <ref name="integer"/>
02292                 </attribute>
02293             </optional>
02294         </interleave>
02295     </define>
02296     <define name="text-get-page-variable-attlist">
02297         <ref name="common-field-num-format-attlist"/>
02298     </define>
02299     <define name="text-placeholder-attlist">
02300         <interleave>
02301             <attribute name="text:placeholder-type">
02302                 <choice>
02303                     <value>text</value>
02304                     <value>table</value>
02305                     <value>text-box</value>
02306                     <value>image</value>
02307                     <value>object</value>
02308                 </choice>
02309             </attribute>
02310             <ref name="common-field-description-attlist"/>
02311         </interleave>
02312     </define>
02313     <define name="text-conditional-text-attlist">
02314         <interleave>
02315             <attribute name="text:condition">
02316                 <ref name="string"/>
02317             </attribute>
02318             <attribute name="text:string-value-if-true">
02319                 <ref name="string"/>
02320             </attribute>
02321             <attribute name="text:string-value-if-false">
02322                 <ref name="string"/>
02323             </attribute>
02324             <optional>
02325                 <attribute name="text:current-value">
02326                     <ref name="boolean"/>
02327                 </attribute>
02328             </optional>
02329         </interleave>
02330     </define>
02331     <define name="text-hidden-text-attlist">
02332         <interleave>
02333             <attribute name="text:condition">
02334                 <ref name="string"/>
02335             </attribute>
02336             <attribute name="text:string-value">
02337                 <ref name="string"/>
02338             </attribute>
02339             <optional>
02340                 <attribute name="text:is-hidden">
02341                     <ref name="boolean"/>
02342                 </attribute>
02343             </optional>
02344         </interleave>
02345     </define>
02346     <define name="text-common-ref-content">
02347         <interleave>
02348             <text/>
02349             <optional>
02350                 <attribute name="text:ref-name">
02351                     <ref name="string"/>
02352                 </attribute>
02353             </optional>
02354         </interleave>
02355     </define>
02356     <define name="text-bookmark-ref-content">
02357         <optional>
02358             <attribute name="text:reference-format">
02359                 <choice>
02360                     <ref name="common-ref-format-values"/>
02361                     <value>number-no-superior</value>
02362                     <value>number-all-superior</value>
02363                     <value>number</value>
02364                 </choice>
02365             </attribute>
02366         </optional>
02367     </define>
02368     <define name="text-note-ref-content">
02369         <interleave>
02370             <optional>
02371                 <attribute name="text:reference-format">
02372                     <choice>
02373                         <ref name="common-ref-format-values"/>
02374                     </choice>
02375                 </attribute>
02376             </optional>
02377             <ref name="text-note-class"/>
02378         </interleave>
02379     </define>
02380     <define name="text-sequence-ref-content">
02381         <optional>
02382             <attribute name="text:reference-format">
02383                 <choice>
02384                     <ref name="common-ref-format-values"/>
02385                     <value>category-and-value</value>
02386                     <value>caption</value>
02387                     <value>value</value>
02388                 </choice>
02389             </attribute>
02390         </optional>
02391     </define>
02392     <define name="common-ref-format-values">
02393         <choice>
02394             <value>page</value>
02395             <value>chapter</value>
02396             <value>direction</value>
02397             <value>text</value>
02398         </choice>
02399     </define>
02400     <define name="text-hidden-paragraph-attlist">
02401         <interleave>
02402             <attribute name="text:condition">
02403                 <ref name="string"/>
02404             </attribute>
02405             <optional>
02406                 <attribute name="text:is-hidden">
02407                     <ref name="boolean"/>
02408                 </attribute>
02409             </optional>
02410         </interleave>
02411     </define>
02412     <define name="text-meta-field-attlist">
02413         <interleave>
02414             <ref name="xml-id"/>
02415             <ref name="common-field-data-style-name-attlist"/>
02416         </interleave>
02417     </define>
02418     <define name="common-value-type-attlist">
02419         <attribute name="office:value-type">
02420             <ref name="valueType"/>
02421         </attribute>
02422     </define>
02423     <define name="common-value-and-type-attlist">
02424         <choice>
02425             <group>
02426                 <attribute name="office:value-type">
02427                     <value>float</value>
02428                 </attribute>
02429                 <attribute name="office:value">
02430                     <ref name="double"/>
02431                 </attribute>
02432             </group>
02433             <group>
02434                 <attribute name="office:value-type">
02435                     <value>percentage</value>
02436                 </attribute>
02437                 <attribute name="office:value">
02438                     <ref name="double"/>
02439                 </attribute>
02440             </group>
02441             <group>
02442                 <attribute name="office:value-type">
02443                     <value>currency</value>
02444                 </attribute>
02445                 <attribute name="office:value">
02446                     <ref name="double"/>
02447                 </attribute>
02448                 <optional>
02449                     <attribute name="office:currency">
02450                         <ref name="string"/>
02451                     </attribute>
02452                 </optional>
02453             </group>
02454             <group>
02455                 <attribute name="office:value-type">
02456                     <value>date</value>
02457                 </attribute>
02458                 <attribute name="office:date-value">
02459                     <ref name="dateOrDateTime"/>
02460                 </attribute>
02461             </group>
02462             <group>
02463                 <attribute name="office:value-type">
02464                     <value>time</value>
02465                 </attribute>
02466                 <attribute name="office:time-value">
02467                     <ref name="duration"/>
02468                 </attribute>
02469             </group>
02470             <group>
02471                 <attribute name="office:value-type">
02472                     <value>boolean</value>
02473                 </attribute>
02474                 <attribute name="office:boolean-value">
02475                     <ref name="boolean"/>
02476                 </attribute>
02477             </group>
02478             <group>
02479                 <attribute name="office:value-type">
02480                     <value>string</value>
02481                 </attribute>
02482                 <optional>
02483                     <attribute name="office:string-value">
02484                         <ref name="string"/>
02485                     </attribute>
02486                 </optional>
02487             </group>
02488         </choice>
02489     </define>
02490     <define name="common-field-fixed-attlist">
02491         <optional>
02492             <attribute name="text:fixed">
02493                 <ref name="boolean"/>
02494             </attribute>
02495         </optional>
02496     </define>
02497     <define name="common-field-name-attlist">
02498         <attribute name="text:name">
02499             <ref name="variableName"/>
02500         </attribute>
02501     </define>
02502     <define name="common-field-description-attlist">
02503         <optional>
02504             <attribute name="text:description">
02505                 <ref name="string"/>
02506             </attribute>
02507         </optional>
02508     </define>
02509     <define name="common-field-display-value-none-attlist">
02510         <optional>
02511             <attribute name="text:display">
02512                 <choice>
02513                     <value>value</value>
02514                     <value>none</value>
02515                 </choice>
02516             </attribute>
02517         </optional>
02518     </define>
02519     <define name="common-field-display-value-formula-none-attlist">
02520         <optional>
02521             <attribute name="text:display">
02522                 <choice>
02523                     <value>value</value>
02524                     <value>formula</value>
02525                     <value>none</value>
02526                 </choice>
02527             </attribute>
02528         </optional>
02529     </define>
02530     <define name="common-field-display-value-formula-attlist">
02531         <optional>
02532             <attribute name="text:display">
02533                 <choice>
02534                     <value>value</value>
02535                     <value>formula</value>
02536                 </choice>
02537             </attribute>
02538         </optional>
02539     </define>
02540     <define name="common-field-formula-attlist">
02541         <optional>
02542             <attribute name="text:formula">
02543                 <ref name="string"/>
02544             </attribute>
02545         </optional>
02546     </define>
02547     <define name="common-field-data-style-name-attlist">
02548         <optional>
02549             <attribute name="style:data-style-name">
02550                 <ref name="styleNameRef"/>
02551             </attribute>
02552         </optional>
02553     </define>
02554     <define name="common-field-num-format-attlist">
02555         <optional>
02556             <ref name="common-num-format-attlist"/>
02557         </optional>
02558     </define>
02559     <define name="text-toc-mark-start-attrs">
02560         <ref name="text-id"/>
02561         <ref name="text-outline-level"/>
02562     </define>
02563     <define name="text-outline-level">
02564         <optional>
02565             <attribute name="text:outline-level">
02566                 <ref name="positiveInteger"/>
02567             </attribute>
02568         </optional>
02569     </define>
02570     <define name="text-id">
02571         <attribute name="text:id">
02572             <ref name="string"/>
02573         </attribute>
02574     </define>
02575     <define name="text-index-name">
02576         <attribute name="text:index-name">
02577             <ref name="string"/>
02578         </attribute>
02579     </define>
02580     <define name="text-alphabetical-index-mark-attrs">
02581         <interleave>
02582             <optional>
02583                 <attribute name="text:key1">
02584                     <ref name="string"/>
02585                 </attribute>
02586             </optional>
02587             <optional>
02588                 <attribute name="text:key2">
02589                     <ref name="string"/>
02590                 </attribute>
02591             </optional>
02592             <optional>
02593                 <attribute name="text:string-value-phonetic">
02594                     <ref name="string"/>
02595                 </attribute>
02596             </optional>
02597             <optional>
02598                 <attribute name="text:key1-phonetic">
02599                     <ref name="string"/>
02600                 </attribute>
02601             </optional>
02602             <optional>
02603                 <attribute name="text:key2-phonetic">
02604                     <ref name="string"/>
02605                 </attribute>
02606             </optional>
02607             <optional>
02608                 <attribute name="text:main-entry">
02609                     <ref name="boolean"/>
02610                 </attribute>
02611             </optional>
02612         </interleave>
02613     </define>
02614     <define name="text-bibliography-types">
02615         <choice>
02616             <value>article</value>
02617             <value>book</value>
02618             <value>booklet</value>
02619             <value>conference</value>
02620             <value>custom1</value>
02621             <value>custom2</value>
02622             <value>custom3</value>
02623             <value>custom4</value>
02624             <value>custom5</value>
02625             <value>email</value>
02626             <value>inbook</value>
02627             <value>incollection</value>
02628             <value>inproceedings</value>
02629             <value>journal</value>
02630             <value>manual</value>
02631             <value>mastersthesis</value>
02632             <value>misc</value>
02633             <value>phdthesis</value>
02634             <value>proceedings</value>
02635             <value>techreport</value>
02636             <value>unpublished</value>
02637             <value>www</value>
02638         </choice>
02639     </define>
02640     <define name="text-index-body">
02641         <element name="text:index-body">
02642             <zeroOrMore>
02643                 <ref name="index-content-main"/>
02644             </zeroOrMore>
02645         </element>
02646     </define>
02647     <define name="index-content-main">
02648         <choice>
02649             <ref name="text-content"/>
02650             <ref name="text-index-title"/>
02651         </choice>
02652     </define>
02653     <define name="text-index-title">
02654         <element name="text:index-title">
02655             <ref name="common-section-attlist"/>
02656             <zeroOrMore>
02657                 <ref name="index-content-main"/>
02658             </zeroOrMore>
02659         </element>
02660     </define>
02661     <define name="text-table-of-content">
02662         <element name="text:table-of-content">
02663             <ref name="common-section-attlist"/>
02664             <ref name="text-table-of-content-source"/>
02665             <ref name="text-index-body"/>
02666         </element>
02667     </define>
02668     <define name="text-table-of-content-source">
02669         <element name="text:table-of-content-source">
02670             <ref name="text-table-of-content-source-attlist"/>
02671             <optional>
02672                 <ref name="text-index-title-template"/>
02673             </optional>
02674             <zeroOrMore>
02675                 <ref name="text-table-of-content-entry-template"/>
02676             </zeroOrMore>
02677             <zeroOrMore>
02678                 <ref name="text-index-source-styles"/>
02679             </zeroOrMore>
02680         </element>
02681     </define>
02682     <define name="text-table-of-content-source-attlist">
02683         <interleave>
02684             <optional>
02685                 <attribute name="text:outline-level">
02686                     <ref name="positiveInteger"/>
02687                 </attribute>
02688             </optional>
02689             <optional>
02690                 <attribute name="text:use-outline-level">
02691                     <ref name="boolean"/>
02692                 </attribute>
02693             </optional>
02694             <optional>
02695                 <attribute name="text:use-index-marks">
02696                     <ref name="boolean"/>
02697                 </attribute>
02698             </optional>
02699             <optional>
02700                 <attribute name="text:use-index-source-styles">
02701                     <ref name="boolean"/>
02702                 </attribute>
02703             </optional>
02704             <optional>
02705                 <attribute name="text:index-scope">
02706                     <choice>
02707                         <value>document</value>
02708                         <value>chapter</value>
02709                     </choice>
02710                 </attribute>
02711             </optional>
02712             <optional>
02713                 <attribute name="text:relative-tab-stop-position">
02714                     <ref name="boolean"/>
02715                 </attribute>
02716             </optional>
02717         </interleave>
02718     </define>
02719     <define name="text-table-of-content-entry-template">
02720         <element name="text:table-of-content-entry-template">
02721             <ref name="text-table-of-content-entry-template-attlist"/>
02722             <zeroOrMore>
02723                 <ref name="text-table-of-content-children"/>
02724             </zeroOrMore>
02725         </element>
02726     </define>
02727     <define name="text-table-of-content-children">
02728         <choice>
02729             <ref name="text-index-entry-chapter"/>
02730             <ref name="text-index-entry-page-number"/>
02731             <ref name="text-index-entry-text"/>
02732             <ref name="text-index-entry-span"/>
02733             <ref name="text-index-entry-tab-stop"/>
02734             <ref name="text-index-entry-link-start"/>
02735             <ref name="text-index-entry-link-end"/>
02736         </choice>
02737     </define>
02738     <define name="text-table-of-content-entry-template-attlist">
02739         <interleave>
02740             <attribute name="text:outline-level">
02741                 <ref name="positiveInteger"/>
02742             </attribute>
02743             <attribute name="text:style-name">
02744                 <ref name="styleNameRef"/>
02745             </attribute>
02746         </interleave>
02747     </define>
02748     <define name="text-illustration-index">
02749         <element name="text:illustration-index">
02750             <ref name="common-section-attlist"/>
02751             <ref name="text-illustration-index-source"/>
02752             <ref name="text-index-body"/>
02753         </element>
02754     </define>
02755     <define name="text-illustration-index-source">
02756         <element name="text:illustration-index-source">
02757             <ref name="text-illustration-index-source-attrs"/>
02758             <optional>
02759                 <ref name="text-index-title-template"/>
02760             </optional>
02761             <optional>
02762                 <ref name="text-illustration-index-entry-template"/>
02763             </optional>
02764         </element>
02765     </define>
02766     <define name="text-illustration-index-source-attrs">
02767         <interleave>
02768             <ref name="text-index-scope-attr"/>
02769             <ref name="text-relative-tab-stop-position-attr"/>
02770             <optional>
02771                 <attribute name="text:use-caption">
02772                     <ref name="boolean"/>
02773                 </attribute>
02774             </optional>
02775             <optional>
02776                 <attribute name="text:caption-sequence-name">
02777                     <ref name="string"/>
02778                 </attribute>
02779             </optional>
02780             <optional>
02781                 <attribute name="text:caption-sequence-format">
02782                     <choice>
02783                         <value>text</value>
02784                         <value>category-and-value</value>
02785                         <value>caption</value>
02786                     </choice>
02787                 </attribute>
02788             </optional>
02789         </interleave>
02790     </define>
02791     <define name="text-index-scope-attr">
02792         <optional>
02793             <attribute name="text:index-scope">
02794                 <choice>
02795                     <value>document</value>
02796                     <value>chapter</value>
02797                 </choice>
02798             </attribute>
02799         </optional>
02800     </define>
02801     <define name="text-relative-tab-stop-position-attr">
02802         <optional>
02803             <attribute name="text:relative-tab-stop-position">
02804                 <ref name="boolean"/>
02805             </attribute>
02806         </optional>
02807     </define>
02808     <define name="text-illustration-index-entry-template">
02809         <element name="text:illustration-index-entry-template">
02810             <ref name="text-illustration-index-entry-content"/>
02811         </element>
02812     </define>
02813     <define name="text-illustration-index-entry-content">
02814         <ref name="text-illustration-index-entry-template-attrs"/>
02815         <zeroOrMore>
02816             <choice>
02817                 <ref name="text-index-entry-chapter"/>
02818                 <ref name="text-index-entry-page-number"/>
02819                 <ref name="text-index-entry-text"/>
02820                 <ref name="text-index-entry-span"/>
02821                 <ref name="text-index-entry-tab-stop"/>
02822             </choice>
02823         </zeroOrMore>
02824     </define>
02825     <define name="text-illustration-index-entry-template-attrs">
02826         <attribute name="text:style-name">
02827             <ref name="styleNameRef"/>
02828         </attribute>
02829     </define>
02830     <define name="text-table-index">
02831         <element name="text:table-index">
02832             <ref name="common-section-attlist"/>
02833             <ref name="text-table-index-source"/>
02834             <ref name="text-index-body"/>
02835         </element>
02836     </define>
02837     <define name="text-table-index-source">
02838         <element name="text:table-index-source">
02839             <ref name="text-illustration-index-source-attrs"/>
02840             <optional>
02841                 <ref name="text-index-title-template"/>
02842             </optional>
02843             <optional>
02844                 <ref name="text-table-index-entry-template"/>
02845             </optional>
02846         </element>
02847     </define>
02848     <define name="text-table-index-entry-template">
02849         <element name="text:table-index-entry-template">
02850             <ref name="text-illustration-index-entry-content"/>
02851         </element>
02852     </define>
02853     <define name="text-object-index">
02854         <element name="text:object-index">
02855             <ref name="common-section-attlist"/>
02856             <ref name="text-object-index-source"/>
02857             <ref name="text-index-body"/>
02858         </element>
02859     </define>
02860     <define name="text-object-index-source">
02861         <element name="text:object-index-source">
02862             <ref name="text-object-index-source-attrs"/>
02863             <optional>
02864                 <ref name="text-index-title-template"/>
02865             </optional>
02866             <optional>
02867                 <ref name="text-object-index-entry-template"/>
02868             </optional>
02869         </element>
02870     </define>
02871     <define name="text-object-index-source-attrs">
02872         <interleave>
02873             <ref name="text-index-scope-attr"/>
02874             <ref name="text-relative-tab-stop-position-attr"/>
02875             <optional>
02876                 <attribute name="text:use-spreadsheet-objects">
02877                     <ref name="boolean"/>
02878                 </attribute>
02879             </optional>
02880             <optional>
02881                 <attribute name="text:use-math-objects">
02882                     <ref name="boolean"/>
02883                 </attribute>
02884             </optional>
02885             <optional>
02886                 <attribute name="text:use-draw-objects">
02887                     <ref name="boolean"/>
02888                 </attribute>
02889             </optional>
02890             <optional>
02891                 <attribute name="text:use-chart-objects">
02892                     <ref name="boolean"/>
02893                 </attribute>
02894             </optional>
02895             <optional>
02896                 <attribute name="text:use-other-objects">
02897                     <ref name="boolean"/>
02898                 </attribute>
02899             </optional>
02900         </interleave>
02901     </define>
02902     <define name="text-object-index-entry-template">
02903         <element name="text:object-index-entry-template">
02904             <ref name="text-illustration-index-entry-content"/>
02905         </element>
02906     </define>
02907     <define name="text-user-index">
02908         <element name="text:user-index">
02909             <ref name="common-section-attlist"/>
02910             <ref name="text-user-index-source"/>
02911             <ref name="text-index-body"/>
02912         </element>
02913     </define>
02914     <define name="text-user-index-source">
02915         <element name="text:user-index-source">
02916             <ref name="text-user-index-source-attr"/>
02917             <optional>
02918                 <ref name="text-index-title-template"/>
02919             </optional>
02920             <zeroOrMore>
02921                 <ref name="text-user-index-entry-template"/>
02922             </zeroOrMore>
02923             <zeroOrMore>
02924                 <ref name="text-index-source-styles"/>
02925             </zeroOrMore>
02926         </element>
02927     </define>
02928     <define name="text-user-index-source-attr">
02929         <interleave>
02930             <ref name="text-index-scope-attr"/>
02931             <ref name="text-relative-tab-stop-position-attr"/>
02932             <optional>
02933                 <attribute name="text:use-index-marks">
02934                     <ref name="boolean"/>
02935                 </attribute>
02936             </optional>
02937             <optional>
02938                 <attribute name="text:use-index-source-styles">
02939                     <ref name="boolean"/>
02940                 </attribute>
02941             </optional>
02942             <optional>
02943                 <attribute name="text:use-graphics">
02944                     <ref name="boolean"/>
02945                 </attribute>
02946             </optional>
02947             <optional>
02948                 <attribute name="text:use-tables">
02949                     <ref name="boolean"/>
02950                 </attribute>
02951             </optional>
02952             <optional>
02953                 <attribute name="text:use-floating-frames">
02954                     <ref name="boolean"/>
02955                 </attribute>
02956             </optional>
02957             <optional>
02958                 <attribute name="text:use-objects">
02959                     <ref name="boolean"/>
02960                 </attribute>
02961             </optional>
02962             <optional>
02963                 <attribute name="text:copy-outline-levels">
02964                     <ref name="boolean"/>
02965                 </attribute>
02966             </optional>
02967             <attribute name="text:index-name">
02968                 <ref name="string"/>
02969             </attribute>
02970         </interleave>
02971     </define>
02972     <define name="text-user-index-entry-template">
02973         <element name="text:user-index-entry-template">
02974             <ref name="text-user-index-entry-template-attrs"/>
02975             <zeroOrMore>
02976                 <choice>
02977                     <ref name="text-index-entry-chapter"/>
02978                     <ref name="text-index-entry-page-number"/>
02979                     <ref name="text-index-entry-text"/>
02980                     <ref name="text-index-entry-span"/>
02981                     <ref name="text-index-entry-tab-stop"/>
02982                 </choice>
02983             </zeroOrMore>
02984         </element>
02985     </define>
02986     <define name="text-user-index-entry-template-attrs">
02987         <interleave>
02988             <attribute name="text:outline-level">
02989                 <ref name="positiveInteger"/>
02990             </attribute>
02991             <attribute name="text:style-name">
02992                 <ref name="styleNameRef"/>
02993             </attribute>
02994         </interleave>
02995     </define>
02996     <define name="text-alphabetical-index">
02997         <element name="text:alphabetical-index">
02998             <ref name="common-section-attlist"/>
02999             <ref name="text-alphabetical-index-source"/>
03000             <ref name="text-index-body"/>
03001         </element>
03002     </define>
03003     <define name="text-alphabetical-index-source">
03004         <element name="text:alphabetical-index-source">
03005             <ref name="text-alphabetical-index-source-attrs"/>
03006             <optional>
03007                 <ref name="text-index-title-template"/>
03008             </optional>
03009             <zeroOrMore>
03010                 <ref name="text-alphabetical-index-entry-template"/>
03011             </zeroOrMore>
03012         </element>
03013     </define>
03014     <define name="text-alphabetical-index-source-attrs">
03015         <interleave>
03016             <ref name="text-index-scope-attr"/>
03017             <ref name="text-relative-tab-stop-position-attr"/>
03018             <optional>
03019                 <attribute name="text:ignore-case">
03020                     <ref name="boolean"/>
03021                 </attribute>
03022             </optional>
03023             <optional>
03024                 <attribute name="text:main-entry-style-name">
03025                     <ref name="styleNameRef"/>
03026                 </attribute>
03027             </optional>
03028             <optional>
03029                 <attribute name="text:alphabetical-separators">
03030                     <ref name="boolean"/>
03031                 </attribute>
03032             </optional>
03033             <optional>
03034                 <attribute name="text:combine-entries">
03035                     <ref name="boolean"/>
03036                 </attribute>
03037             </optional>
03038             <optional>
03039                 <attribute name="text:combine-entries-with-dash">
03040                     <ref name="boolean"/>
03041                 </attribute>
03042             </optional>
03043             <optional>
03044                 <attribute name="text:combine-entries-with-pp">
03045                     <ref name="boolean"/>
03046                 </attribute>
03047             </optional>
03048             <optional>
03049                 <attribute name="text:use-keys-as-entries">
03050                     <ref name="boolean"/>
03051                 </attribute>
03052             </optional>
03053             <optional>
03054                 <attribute name="text:capitalize-entries">
03055                     <ref name="boolean"/>
03056                 </attribute>
03057             </optional>
03058             <optional>
03059                 <attribute name="text:comma-separated">
03060                     <ref name="boolean"/>
03061                 </attribute>
03062             </optional>
03063             <optional>
03064                 <attribute name="fo:language">
03065                     <ref name="languageCode"/>
03066                 </attribute>
03067             </optional>
03068             <optional>
03069                 <attribute name="fo:country">
03070                     <ref name="countryCode"/>
03071                 </attribute>
03072             </optional>
03073             <optional>
03074                 <attribute name="fo:script">
03075                     <ref name="scriptCode"/>
03076                 </attribute>
03077             </optional>
03078             <optional>
03079                 <attribute name="style:rfc-language-tag">
03080                     <ref name="language"/>
03081                 </attribute>
03082             </optional>
03083             <optional>
03084                 <attribute name="text:sort-algorithm">
03085                     <ref name="string"/>
03086                 </attribute>
03087             </optional>
03088         </interleave>
03089     </define>
03090     <define name="text-alphabetical-index-auto-mark-file">
03091         <element name="text:alphabetical-index-auto-mark-file">
03092             <attribute name="xlink:type">
03093                 <value>simple</value>
03094             </attribute>
03095             <attribute name="xlink:href">
03096                 <ref name="anyIRI"/>
03097             </attribute>
03098         </element>
03099     </define>
03100     <define name="text-alphabetical-index-entry-template">
03101         <element name="text:alphabetical-index-entry-template">
03102             <ref name="text-alphabetical-index-entry-template-attrs"/>
03103             <zeroOrMore>
03104                 <choice>
03105                     <ref name="text-index-entry-chapter"/>
03106                     <ref name="text-index-entry-page-number"/>
03107                     <ref name="text-index-entry-text"/>
03108                     <ref name="text-index-entry-span"/>
03109                     <ref name="text-index-entry-tab-stop"/>
03110                 </choice>
03111             </zeroOrMore>
03112         </element>
03113     </define>
03114     <define name="text-alphabetical-index-entry-template-attrs">
03115         <interleave>
03116             <attribute name="text:outline-level">
03117                 <choice>
03118                     <value>1</value>
03119                     <value>2</value>
03120                     <value>3</value>
03121                     <value>separator</value>
03122                 </choice>
03123             </attribute>
03124             <attribute name="text:style-name">
03125                 <ref name="styleNameRef"/>
03126             </attribute>
03127         </interleave>
03128     </define>
03129     <define name="text-bibliography">
03130         <element name="text:bibliography">
03131             <ref name="common-section-attlist"/>
03132             <ref name="text-bibliography-source"/>
03133             <ref name="text-index-body"/>
03134         </element>
03135     </define>
03136     <define name="text-bibliography-source">
03137         <element name="text:bibliography-source">
03138             <optional>
03139                 <ref name="text-index-title-template"/>
03140             </optional>
03141             <zeroOrMore>
03142                 <ref name="text-bibliography-entry-template"/>
03143             </zeroOrMore>
03144         </element>
03145     </define>
03146     <define name="text-bibliography-entry-template">
03147         <element name="text:bibliography-entry-template">
03148             <ref name="text-bibliography-entry-template-attrs"/>
03149             <zeroOrMore>
03150                 <choice>
03151                     <ref name="text-index-entry-span"/>
03152                     <ref name="text-index-entry-tab-stop"/>
03153                     <ref name="text-index-entry-bibliography"/>
03154                 </choice>
03155             </zeroOrMore>
03156         </element>
03157     </define>
03158     <define name="text-bibliography-entry-template-attrs">
03159         <interleave>
03160             <attribute name="text:bibliography-type">
03161                 <ref name="text-bibliography-types"/>
03162             </attribute>
03163             <attribute name="text:style-name">
03164                 <ref name="styleNameRef"/>
03165             </attribute>
03166         </interleave>
03167     </define>
03168     <define name="text-index-source-styles">
03169         <element name="text:index-source-styles">
03170             <attribute name="text:outline-level">
03171                 <ref name="positiveInteger"/>
03172             </attribute>
03173             <zeroOrMore>
03174                 <ref name="text-index-source-style"/>
03175             </zeroOrMore>
03176         </element>
03177     </define>
03178     <define name="text-index-source-style">
03179         <element name="text:index-source-style">
03180             <attribute name="text:style-name">
03181                 <ref name="styleName"/>
03182             </attribute>
03183             <empty/>
03184         </element>
03185     </define>
03186     <define name="text-index-title-template">
03187         <element name="text:index-title-template">
03188             <optional>
03189                 <attribute name="text:style-name">
03190                     <ref name="styleNameRef"/>
03191                 </attribute>
03192             </optional>
03193             <text/>
03194         </element>
03195     </define>
03196     <define name="text-index-entry-chapter">
03197         <element name="text:index-entry-chapter">
03198             <optional>
03199                 <attribute name="text:style-name">
03200                     <ref name="styleNameRef"/>
03201                 </attribute>
03202             </optional>
03203             <ref name="text-index-entry-chapter-attrs"/>
03204         </element>
03205     </define>
03206     <define name="text-index-entry-chapter-attrs">
03207         <interleave>
03208             <optional>
03209                 <attribute name="text:display">
03210                     <choice>
03211                         <value>name</value>
03212                         <value>number</value>
03213                         <value>number-and-name</value>
03214                         <value>plain-number</value>
03215                         <value>plain-number-and-name</value>
03216                     </choice>
03217                 </attribute>
03218             </optional>
03219             <optional>
03220                 <attribute name="text:outline-level">
03221                     <ref name="positiveInteger"/>
03222                 </attribute>
03223             </optional>
03224         </interleave>
03225     </define>
03226     <define name="text-index-entry-text">
03227         <element name="text:index-entry-text">
03228             <optional>
03229                 <attribute name="text:style-name">
03230                     <ref name="styleNameRef"/>
03231                 </attribute>
03232             </optional>
03233         </element>
03234     </define>
03235     <define name="text-index-entry-page-number">
03236         <element name="text:index-entry-page-number">
03237             <optional>
03238                 <attribute name="text:style-name">
03239                     <ref name="styleNameRef"/>
03240                 </attribute>
03241             </optional>
03242         </element>
03243     </define>
03244     <define name="text-index-entry-span">
03245         <element name="text:index-entry-span">
03246             <optional>
03247                 <attribute name="text:style-name">
03248                     <ref name="styleNameRef"/>
03249                 </attribute>
03250             </optional>
03251             <text/>
03252         </element>
03253     </define>
03254     <define name="text-index-entry-bibliography">
03255         <element name="text:index-entry-bibliography">
03256             <ref name="text-index-entry-bibliography-attrs"/>
03257         </element>
03258     </define>
03259     <define name="text-index-entry-bibliography-attrs">
03260         <interleave>
03261             <optional>
03262                 <attribute name="text:style-name">
03263                     <ref name="styleNameRef"/>
03264                 </attribute>
03265             </optional>
03266             <attribute name="text:bibliography-data-field">
03267                 <choice>
03268                     <value>address</value>
03269                     <value>annote</value>
03270                     <value>author</value>
03271                     <value>bibliography-type</value>
03272                     <value>booktitle</value>
03273                     <value>chapter</value>
03274                     <value>custom1</value>
03275                     <value>custom2</value>
03276                     <value>custom3</value>
03277                     <value>custom4</value>
03278                     <value>custom5</value>
03279                     <value>edition</value>
03280                     <value>editor</value>
03281                     <value>howpublished</value>
03282                     <value>identifier</value>
03283                     <value>institution</value>
03284                     <value>isbn</value>
03285                     <value>issn</value>
03286                     <value>journal</value>
03287                     <value>month</value>
03288                     <value>note</value>
03289                     <value>number</value>
03290                     <value>organizations</value>
03291                     <value>pages</value>
03292                     <value>publisher</value>
03293                     <value>report-type</value>
03294                     <value>school</value>
03295                     <value>series</value>
03296                     <value>title</value>
03297                     <value>url</value>
03298                     <value>volume</value>
03299                     <value>year</value>
03300                 </choice>
03301             </attribute>
03302         </interleave>
03303     </define>
03304     <define name="text-index-entry-tab-stop">
03305         <element name="text:index-entry-tab-stop">
03306             <optional>
03307                 <attribute name="text:style-name">
03308                     <ref name="styleNameRef"/>
03309                 </attribute>
03310             </optional>
03311             <ref name="text-index-entry-tab-stop-attrs"/>
03312         </element>
03313     </define>
03314     <define name="text-index-entry-tab-stop-attrs">
03315         <interleave>
03316             <optional>
03317                 <attribute name="style:leader-char">
03318                     <ref name="character"/>
03319                 </attribute>
03320             </optional>
03321             <choice>
03322                 <attribute name="style:type">
03323                     <value>right</value>
03324                 </attribute>
03325                 <group>
03326                     <attribute name="style:type">
03327                         <value>left</value>
03328                     </attribute>
03329                     <attribute name="style:position">
03330                         <ref name="length"/>
03331                     </attribute>
03332                 </group>
03333             </choice>
03334         </interleave>
03335     </define>
03336     <define name="text-index-entry-link-start">
03337         <element name="text:index-entry-link-start">
03338             <optional>
03339                 <attribute name="text:style-name">
03340                     <ref name="styleNameRef"/>
03341                 </attribute>
03342             </optional>
03343         </element>
03344     </define>
03345     <define name="text-index-entry-link-end">
03346         <element name="text:index-entry-link-end">
03347             <optional>
03348                 <attribute name="text:style-name">
03349                     <ref name="styleNameRef"/>
03350                 </attribute>
03351             </optional>
03352         </element>
03353     </define>
03354     <define name="table-table">
03355         <element name="table:table">
03356             <ref name="table-table-attlist"/>
03357             <optional>
03358                 <ref name="table-title"/>
03359             </optional>
03360             <optional>
03361                 <ref name="table-desc"/>
03362             </optional>
03363             <optional>
03364                 <ref name="table-table-source"/>
03365             </optional>
03366             <optional>
03367                 <ref name="office-dde-source"/>
03368             </optional>
03369             <optional>
03370                 <ref name="table-scenario"/>
03371             </optional>
03372             <optional>
03373                 <ref name="office-forms"/>
03374             </optional>
03375             <optional>
03376                 <ref name="table-shapes"/>
03377             </optional>
03378             <ref name="table-columns-and-groups"/>
03379             <ref name="table-rows-and-groups"/>
03380             <optional>
03381                 <ref name="table-named-expressions"/>
03382             </optional>
03383         </element>
03384     </define>
03385     <define name="table-columns-and-groups">
03386         <oneOrMore>
03387             <choice>
03388                 <ref name="table-table-column-group"/>
03389                 <ref name="table-columns-no-group"/>
03390             </choice>
03391         </oneOrMore>
03392     </define>
03393     <define name="table-columns-no-group">
03394         <choice>
03395             <group>
03396                 <ref name="table-columns"/>
03397                 <optional>
03398                     <ref name="table-table-header-columns"/>
03399                     <optional>
03400                         <ref name="table-columns"/>
03401                     </optional>
03402                 </optional>
03403             </group>
03404             <group>
03405                 <ref name="table-table-header-columns"/>
03406                 <optional>
03407                     <ref name="table-columns"/>
03408                 </optional>
03409             </group>
03410         </choice>
03411     </define>
03412     <define name="table-columns">
03413         <choice>
03414             <ref name="table-table-columns"/>
03415             <oneOrMore>
03416                 <ref name="table-table-column"/>
03417             </oneOrMore>
03418         </choice>
03419     </define>
03420     <define name="table-rows-and-groups">
03421         <oneOrMore>
03422             <choice>
03423                 <ref name="table-table-row-group"/>
03424                 <ref name="table-rows-no-group"/>
03425             </choice>
03426         </oneOrMore>
03427     </define>
03428     <define name="table-rows-no-group">
03429         <choice>
03430             <group>
03431                 <ref name="table-rows"/>
03432                 <optional>
03433                     <ref name="table-table-header-rows"/>
03434                     <optional>
03435                         <ref name="table-rows"/>
03436                     </optional>
03437                 </optional>
03438             </group>
03439             <group>
03440                 <ref name="table-table-header-rows"/>
03441                 <optional>
03442                     <ref name="table-rows"/>
03443                 </optional>
03444             </group>
03445         </choice>
03446     </define>
03447     <define name="table-rows">
03448         <choice>
03449             <ref name="table-table-rows"/>
03450             <oneOrMore>
03451                 <optional>
03452                     <ref name="text-soft-page-break"/>
03453                 </optional>
03454                 <ref name="table-table-row"/>
03455             </oneOrMore>
03456         </choice>
03457     </define>
03458     <define name="table-table-attlist">
03459         <interleave>
03460             <optional>
03461                 <attribute name="table:name">
03462                     <ref name="string"/>
03463                 </attribute>
03464             </optional>
03465             <optional>
03466                 <attribute name="table:style-name">
03467                     <ref name="styleNameRef"/>
03468                 </attribute>
03469             </optional>
03470             <optional>
03471                 <attribute name="table:template-name">
03472                     <ref name="string"/>
03473                 </attribute>
03474             </optional>
03475             <optional>
03476                 <attribute name="table:use-first-row-styles">
03477                     <ref name="boolean"/>
03478                 </attribute>
03479             </optional>
03480             <optional>
03481                 <attribute name="table:use-last-row-styles">
03482                     <ref name="boolean"/>
03483                 </attribute>
03484             </optional>
03485             <optional>
03486                 <attribute name="table:use-first-column-styles">
03487                     <ref name="boolean"/>
03488                 </attribute>
03489             </optional>
03490             <optional>
03491                 <attribute name="table:use-last-column-styles">
03492                     <ref name="boolean"/>
03493                 </attribute>
03494             </optional>
03495             <optional>
03496                 <attribute name="table:use-banding-rows-styles">
03497                     <ref name="boolean"/>
03498                 </attribute>
03499             </optional>
03500             <optional>
03501                 <attribute name="table:use-banding-columns-styles">
03502                     <ref name="boolean"/>
03503                 </attribute>
03504             </optional>
03505             <optional>
03506                 <attribute name="table:protected">
03507                     <ref name="boolean"/>
03508                 </attribute>
03509             </optional>
03510             <optional>
03511                 <attribute name="table:protection-key">
03512                     <ref name="string"/>
03513                 </attribute>
03514             </optional>
03515             <optional>
03516                 <attribute name="table:protection-key-digest-algorithm">
03517                     <ref name="anyIRI"/>
03518                 </attribute>
03519             </optional>
03520             <optional>
03521                 <attribute name="table:print">
03522                     <ref name="boolean"/>
03523                 </attribute>
03524             </optional>
03525             <optional>
03526                 <attribute name="table:print-ranges">
03527                     <ref name="cellRangeAddressList"/>
03528                 </attribute>
03529             </optional>
03530             <optional>
03531                 <ref name="xml-id"/>
03532             </optional>
03533             <optional>
03534                 <attribute name="table:is-sub-table">
03535                     <ref name="boolean"/>
03536                 </attribute>
03537             </optional>
03538         </interleave>
03539     </define>
03540     <define name="table-title">
03541         <element name="table:title">
03542             <text/>
03543         </element>
03544     </define>
03545     <define name="table-desc">
03546         <element name="table:desc">
03547             <text/>
03548         </element>
03549     </define>
03550     <define name="table-table-row">
03551         <element name="table:table-row">
03552             <ref name="table-table-row-attlist"/>
03553             <oneOrMore>
03554                 <choice>
03555                     <ref name="table-table-cell"/>
03556                     <ref name="table-covered-table-cell"/>
03557                 </choice>
03558             </oneOrMore>
03559         </element>
03560     </define>
03561     <define name="table-table-row-attlist">
03562         <interleave>
03563             <optional>
03564                 <attribute name="table:number-rows-repeated">
03565                     <ref name="positiveInteger"/>
03566                 </attribute>
03567             </optional>
03568             <optional>
03569                 <attribute name="table:style-name">
03570                     <ref name="styleNameRef"/>
03571                 </attribute>
03572             </optional>
03573             <optional>
03574                 <attribute name="table:default-cell-style-name">
03575                     <ref name="styleNameRef"/>
03576                 </attribute>
03577             </optional>
03578             <optional>
03579                 <attribute name="table:visibility">
03580                     <ref name="table-visibility-value"/>
03581                 </attribute>
03582             </optional>
03583             <optional>
03584                 <ref name="xml-id"/>
03585             </optional>
03586         </interleave>
03587     </define>
03588     <define name="table-visibility-value">
03589         <choice>
03590             <value>visible</value>
03591             <value>collapse</value>
03592             <value>filter</value>
03593         </choice>
03594     </define>
03595     <define name="table-table-cell">
03596         <element name="table:table-cell">
03597             <ref name="table-table-cell-attlist"/>
03598             <ref name="table-table-cell-attlist-extra"/>
03599             <ref name="table-table-cell-content"/>
03600         </element>
03601     </define>
03602     <define name="table-covered-table-cell">
03603         <element name="table:covered-table-cell">
03604             <ref name="table-table-cell-attlist"/>
03605             <ref name="table-table-cell-content"/>
03606         </element>
03607     </define>
03608     <define name="table-table-cell-content">
03609         <optional>
03610             <ref name="table-cell-range-source"/>
03611         </optional>
03612         <optional>
03613             <ref name="office-annotation"/>
03614         </optional>
03615         <optional>
03616             <ref name="table-detective"/>
03617         </optional>
03618         <zeroOrMore>
03619             <ref name="text-content"/>
03620         </zeroOrMore>
03621     </define>
03622     <define name="table-table-cell-attlist">
03623         <interleave>
03624             <optional>
03625                 <attribute name="table:number-columns-repeated">
03626                     <ref name="positiveInteger"/>
03627                 </attribute>
03628             </optional>
03629             <optional>
03630                 <attribute name="table:style-name">
03631                     <ref name="styleNameRef"/>
03632                 </attribute>
03633             </optional>
03634             <optional>
03635                 <attribute name="table:content-validation-name">
03636                     <ref name="string"/>
03637                 </attribute>
03638             </optional>
03639             <optional>
03640                 <attribute name="table:formula">
03641                     <ref name="string"/>
03642                 </attribute>
03643             </optional>
03644             <optional>
03645                 <ref name="common-value-and-type-attlist"/>
03646             </optional>
03647             <optional>
03648                 <attribute name="table:protect">
03649                     <ref name="boolean"/>
03650                 </attribute>
03651             </optional>
03652             <optional>
03653                 <attribute name="table:protected">
03654                     <ref name="boolean"/>
03655                 </attribute>
03656             </optional>
03657             <optional>
03658                 <ref name="xml-id"/>
03659             </optional>
03660             <optional>
03661                 <ref name="common-in-content-meta-attlist"/>
03662             </optional>
03663         </interleave>
03664     </define>
03665     <define name="table-table-cell-attlist-extra">
03666         <interleave>
03667             <optional>
03668                 <attribute name="table:number-columns-spanned">
03669                     <ref name="positiveInteger"/>
03670                 </attribute>
03671             </optional>
03672             <optional>
03673                 <attribute name="table:number-rows-spanned">
03674                     <ref name="positiveInteger"/>
03675                 </attribute>
03676             </optional>
03677             <optional>
03678                 <attribute name="table:number-matrix-columns-spanned">
03679                     <ref name="positiveInteger"/>
03680                 </attribute>
03681             </optional>
03682             <optional>
03683                 <attribute name="table:number-matrix-rows-spanned">
03684                     <ref name="positiveInteger"/>
03685                 </attribute>
03686             </optional>
03687         </interleave>
03688     </define>
03689     <define name="table-table-column">
03690         <element name="table:table-column">
03691             <ref name="table-table-column-attlist"/>
03692             <empty/>
03693         </element>
03694     </define>
03695     <define name="table-table-column-attlist">
03696         <interleave>
03697             <optional>
03698                 <attribute name="table:number-columns-repeated">
03699                     <ref name="positiveInteger"/>
03700                 </attribute>
03701             </optional>
03702             <optional>
03703                 <attribute name="table:style-name">
03704                     <ref name="styleNameRef"/>
03705                 </attribute>
03706             </optional>
03707             <optional>
03708                 <attribute name="table:visibility">
03709                     <ref name="table-visibility-value"/>
03710                 </attribute>
03711             </optional>
03712             <optional>
03713                 <attribute name="table:default-cell-style-name">
03714                     <ref name="styleNameRef"/>
03715                 </attribute>
03716             </optional>
03717             <optional>
03718                 <ref name="xml-id"/>
03719             </optional>
03720         </interleave>
03721     </define>
03722     <define name="table-table-header-columns">
03723         <element name="table:table-header-columns">
03724             <oneOrMore>
03725                 <ref name="table-table-column"/>
03726             </oneOrMore>
03727         </element>
03728     </define>
03729     <define name="table-table-columns">
03730         <element name="table:table-columns">
03731             <oneOrMore>
03732                 <ref name="table-table-column"/>
03733             </oneOrMore>
03734         </element>
03735     </define>
03736     <define name="table-table-column-group">
03737         <element name="table:table-column-group">
03738             <ref name="table-table-column-group-attlist"/>
03739             <ref name="table-columns-and-groups"/>
03740         </element>
03741     </define>
03742     <define name="table-table-column-group-attlist">
03743         <optional>
03744             <attribute name="table:display">
03745                 <ref name="boolean"/>
03746             </attribute>
03747         </optional>
03748     </define>
03749     <define name="table-table-header-rows">
03750         <element name="table:table-header-rows">
03751             <oneOrMore>
03752                 <optional>
03753                     <ref name="text-soft-page-break"/>
03754                 </optional>
03755                 <ref name="table-table-row"/>
03756             </oneOrMore>
03757         </element>
03758     </define>
03759     <define name="table-table-rows">
03760         <element name="table:table-rows">
03761             <oneOrMore>
03762                 <optional>
03763                     <ref name="text-soft-page-break"/>
03764                 </optional>
03765                 <ref name="table-table-row"/>
03766             </oneOrMore>
03767         </element>
03768     </define>
03769     <define name="table-table-row-group">
03770         <element name="table:table-row-group">
03771             <ref name="table-table-row-group-attlist"/>
03772             <ref name="table-rows-and-groups"/>
03773         </element>
03774     </define>
03775     <define name="table-table-row-group-attlist">
03776         <optional>
03777             <attribute name="table:display">
03778                 <ref name="boolean"/>
03779             </attribute>
03780         </optional>
03781     </define>
03782     <define name="cellAddress">
03783         <data type="string">
03784             <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+</param>
03785         </data>
03786     </define>
03787     <define name="cellRangeAddress">
03788         <choice>
03789             <data type="string">
03790                 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+)?</param>
03791             </data>
03792             <data type="string">
03793                 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[0-9]+:($?([^\. ']+|'([^']|'')+'))?\.$?[0-9]+</param>
03794             </data>
03795             <data type="string">
03796                 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+</param>
03797             </data>
03798         </choice>
03799     </define>
03800     <define name="cellRangeAddressList">
03801         <data type="string"/>
03802         <dc:description>Value is a space separated list of "cellRangeAddress" patterns</dc:description>
03803     </define>
03804     <define name="table-table-source">
03805         <element name="table:table-source">
03806             <ref name="table-table-source-attlist"/>
03807             <ref name="table-linked-source-attlist"/>
03808             <empty/>
03809         </element>
03810     </define>
03811     <define name="table-table-source-attlist">
03812         <interleave>
03813             <optional>
03814                 <attribute name="table:mode">
03815                     <choice>
03816                         <value>copy-all</value>
03817                         <value>copy-results-only</value>
03818                     </choice>
03819                 </attribute>
03820             </optional>
03821             <optional>
03822                 <attribute name="table:table-name">
03823                     <ref name="string"/>
03824                 </attribute>
03825             </optional>
03826         </interleave>
03827     </define>
03828     <define name="table-linked-source-attlist">
03829         <interleave>
03830             <attribute name="xlink:type">
03831                 <value>simple</value>
03832             </attribute>
03833             <attribute name="xlink:href">
03834                 <ref name="anyIRI"/>
03835             </attribute>
03836             <optional>
03837                 <attribute name="xlink:actuate">
03838                     <value>onRequest</value>
03839                 </attribute>
03840             </optional>
03841             <optional>
03842                 <attribute name="table:filter-name">
03843                     <ref name="string"/>
03844                 </attribute>
03845             </optional>
03846             <optional>
03847                 <attribute name="table:filter-options">
03848                     <ref name="string"/>
03849                 </attribute>
03850             </optional>
03851             <optional>
03852                 <attribute name="table:refresh-delay">
03853                     <ref name="duration"/>
03854                 </attribute>
03855             </optional>
03856         </interleave>
03857     </define>
03858     <define name="table-scenario">
03859         <element name="table:scenario">
03860             <ref name="table-scenario-attlist"/>
03861             <empty/>
03862         </element>
03863     </define>
03864     <define name="table-scenario-attlist">
03865         <interleave>
03866             <attribute name="table:scenario-ranges">
03867                 <ref name="cellRangeAddressList"/>
03868             </attribute>
03869             <attribute name="table:is-active">
03870                 <ref name="boolean"/>
03871             </attribute>
03872             <optional>
03873                 <attribute name="table:display-border">
03874                     <ref name="boolean"/>
03875                 </attribute>
03876             </optional>
03877             <optional>
03878                 <attribute name="table:border-color">
03879                     <ref name="color"/>
03880                 </attribute>
03881             </optional>
03882             <optional>
03883                 <attribute name="table:copy-back">
03884                     <ref name="boolean"/>
03885                 </attribute>
03886             </optional>
03887             <optional>
03888                 <attribute name="table:copy-styles">
03889                     <ref name="boolean"/>
03890                 </attribute>
03891             </optional>
03892             <optional>
03893                 <attribute name="table:copy-formulas">
03894                     <ref name="boolean"/>
03895                 </attribute>
03896             </optional>
03897             <optional>
03898                 <attribute name="table:comment">
03899                     <ref name="string"/>
03900                 </attribute>
03901             </optional>
03902             <optional>
03903                 <attribute name="table:protected">
03904                     <ref name="boolean"/>
03905                 </attribute>
03906             </optional>
03907         </interleave>
03908     </define>
03909     <define name="table-shapes">
03910         <element name="table:shapes">
03911             <oneOrMore>
03912                 <ref name="shape"/>
03913             </oneOrMore>
03914         </element>
03915     </define>
03916     <define name="table-cell-range-source">
03917         <element name="table:cell-range-source">
03918             <ref name="table-table-cell-range-source-attlist"/>
03919             <ref name="table-linked-source-attlist"/>
03920             <empty/>
03921         </element>
03922     </define>
03923     <define name="table-table-cell-range-source-attlist">
03924         <interleave>
03925             <attribute name="table:name">
03926                 <ref name="string"/>
03927             </attribute>
03928             <attribute name="table:last-column-spanned">
03929                 <ref name="positiveInteger"/>
03930             </attribute>
03931             <attribute name="table:last-row-spanned">
03932                 <ref name="positiveInteger"/>
03933             </attribute>
03934         </interleave>
03935     </define>
03936     <define name="table-detective">
03937         <element name="table:detective">
03938             <zeroOrMore>
03939                 <ref name="table-highlighted-range"/>
03940             </zeroOrMore>
03941             <zeroOrMore>
03942                 <ref name="table-operation"/>
03943             </zeroOrMore>
03944         </element>
03945     </define>
03946     <define name="table-operation">
03947         <element name="table:operation">
03948             <ref name="table-operation-attlist"/>
03949             <empty/>
03950         </element>
03951     </define>
03952     <define name="table-operation-attlist">
03953         <interleave>
03954             <attribute name="table:name">
03955                 <choice>
03956                     <value>trace-dependents</value>
03957                     <value>remove-dependents</value>
03958                     <value>trace-precedents</value>
03959                     <value>remove-precedents</value>
03960                     <value>trace-errors</value>
03961                 </choice>
03962             </attribute>
03963             <attribute name="table:index">
03964                 <ref name="nonNegativeInteger"/>
03965             </attribute>
03966         </interleave>
03967     </define>
03968     <define name="table-highlighted-range">
03969         <element name="table:highlighted-range">
03970             <choice>
03971                 <group>
03972                     <ref name="table-highlighted-range-attlist"/>
03973                 </group>
03974                 <group>
03975                     <ref name="table-highlighted-range-attlist-invalid"/>
03976                 </group>
03977             </choice>
03978             <empty/>
03979         </element>
03980     </define>
03981     <define name="table-highlighted-range-attlist">
03982         <interleave>
03983             <optional>
03984                 <attribute name="table:cell-range-address">
03985                     <ref name="cellRangeAddress"/>
03986                 </attribute>
03987             </optional>
03988             <attribute name="table:direction">
03989                 <choice>
03990                     <value>from-another-table</value>
03991                     <value>to-another-table</value>
03992                     <value>from-same-table</value>
03993                 </choice>
03994             </attribute>
03995             <optional>
03996                 <attribute name="table:contains-error">
03997                     <ref name="boolean"/>
03998                 </attribute>
03999             </optional>
04000         </interleave>
04001     </define>
04002     <define name="table-highlighted-range-attlist-invalid">
04003         <attribute name="table:marked-invalid">
04004             <ref name="boolean"/>
04005         </attribute>
04006     </define>
04007     <define name="office-spreadsheet-attlist">
04008         <optional>
04009             <attribute name="table:structure-protected">
04010                 <ref name="boolean"/>
04011             </attribute>
04012         </optional>
04013         <optional>
04014             <attribute name="table:protection-key">
04015                 <ref name="string"/>
04016             </attribute>
04017         </optional>
04018         <optional>
04019             <attribute name="table:protection-key-digest-algorithm">
04020                 <ref name="anyIRI"/>
04021             </attribute>
04022         </optional>
04023     </define>
04024     <define name="table-calculation-settings">
04025         <element name="table:calculation-settings">
04026             <ref name="table-calculation-setting-attlist"/>
04027             <optional>
04028                 <ref name="table-null-date"/>
04029             </optional>
04030             <optional>
04031                 <ref name="table-iteration"/>
04032             </optional>
04033         </element>
04034     </define>
04035     <define name="table-calculation-setting-attlist">
04036         <interleave>
04037             <optional>
04038                 <attribute name="table:case-sensitive">
04039                     <ref name="boolean"/>
04040                 </attribute>
04041             </optional>
04042             <optional>
04043                 <attribute name="table:precision-as-shown">
04044                     <ref name="boolean"/>
04045                 </attribute>
04046             </optional>
04047             <optional>
04048                 <attribute name="table:search-criteria-must-apply-to-whole-cell">
04049                     <ref name="boolean"/>
04050                 </attribute>
04051             </optional>
04052             <optional>
04053                 <attribute name="table:automatic-find-labels">
04054                     <ref name="boolean"/>
04055                 </attribute>
04056             </optional>
04057             <optional>
04058                 <attribute name="table:use-regular-expressions">
04059                     <ref name="boolean"/>
04060                 </attribute>
04061             </optional>
04062             <optional>
04063                 <attribute name="table:use-wildcards">
04064                     <ref name="boolean"/>
04065                 </attribute>
04066             </optional>
04067             <optional>
04068                 <attribute name="table:null-year">
04069                     <ref name="positiveInteger"/>
04070                 </attribute>
04071             </optional>
04072         </interleave>
04073     </define>
04074     <define name="table-null-date">
04075         <element name="table:null-date">
04076             <optional>
04077                 <attribute name="table:value-type">
04078                     <value>date</value>
04079                 </attribute>
04080             </optional>
04081             <optional>
04082                 <attribute name="table:date-value">
04083                     <ref name="date"/>
04084                 </attribute>
04085             </optional>
04086             <empty/>
04087         </element>
04088     </define>
04089     <define name="table-iteration">
04090         <element name="table:iteration">
04091             <optional>
04092                 <attribute name="table:status">
04093                     <choice>
04094                         <value>enable</value>
04095                         <value>disable</value>
04096                     </choice>
04097                 </attribute>
04098             </optional>
04099             <optional>
04100                 <attribute name="table:steps">
04101                     <ref name="positiveInteger"/>
04102                 </attribute>
04103             </optional>
04104             <optional>
04105                 <attribute name="table:maximum-difference">
04106                     <ref name="double"/>
04107                 </attribute>
04108             </optional>
04109             <empty/>
04110         </element>
04111     </define>
04112     <define name="table-content-validations">
04113         <element name="table:content-validations">
04114             <oneOrMore>
04115                 <ref name="table-content-validation"/>
04116             </oneOrMore>
04117         </element>
04118     </define>
04119     <define name="table-content-validation">
04120         <element name="table:content-validation">
04121             <ref name="table-validation-attlist"/>
04122             <optional>
04123                 <ref name="table-help-message"/>
04124             </optional>
04125             <optional>
04126                 <choice>
04127                     <ref name="table-error-message"/>
04128                     <group>
04129                         <ref name="table-error-macro"/>
04130                         <ref name="office-event-listeners"/>
04131                     </group>
04132                 </choice>
04133             </optional>
04134         </element>
04135     </define>
04136     <define name="table-validation-attlist">
04137         <interleave>
04138             <attribute name="table:name">
04139                 <ref name="string"/>
04140             </attribute>
04141             <optional>
04142                 <attribute name="table:condition">
04143                     <ref name="string"/>
04144                 </attribute>
04145             </optional>
04146             <optional>
04147                 <attribute name="table:base-cell-address">
04148                     <ref name="cellAddress"/>
04149                 </attribute>
04150             </optional>
04151             <optional>
04152                 <attribute name="table:allow-empty-cell">
04153                     <ref name="boolean"/>
04154                 </attribute>
04155             </optional>
04156             <optional>
04157                 <attribute name="table:display-list">
04158                     <choice>
04159                         <value>none</value>
04160                         <value>unsorted</value>
04161                         <value>sort-ascending</value>
04162                     </choice>
04163                 </attribute>
04164             </optional>
04165         </interleave>
04166     </define>
04167     <define name="table-help-message">
04168         <element name="table:help-message">
04169             <optional>
04170                 <attribute name="table:title">
04171                     <ref name="string"/>
04172                 </attribute>
04173             </optional>
04174             <optional>
04175                 <attribute name="table:display">
04176                     <ref name="boolean"/>
04177                 </attribute>
04178             </optional>
04179             <zeroOrMore>
04180                 <ref name="text-p"/>
04181             </zeroOrMore>
04182         </element>
04183     </define>
04184     <define name="table-error-message">
04185         <element name="table:error-message">
04186             <optional>
04187                 <attribute name="table:title">
04188                     <ref name="string"/>
04189                 </attribute>
04190             </optional>
04191             <optional>
04192                 <attribute name="table:display">
04193                     <ref name="boolean"/>
04194                 </attribute>
04195             </optional>
04196             <optional>
04197                 <attribute name="table:message-type">
04198                     <choice>
04199                         <value>stop</value>
04200                         <value>warning</value>
04201                         <value>information</value>
04202                     </choice>
04203                 </attribute>
04204             </optional>
04205             <zeroOrMore>
04206                 <ref name="text-p"/>
04207             </zeroOrMore>
04208         </element>
04209     </define>
04210     <define name="table-error-macro">
04211         <element name="table:error-macro">
04212             <optional>
04213                 <attribute name="table:execute">
04214                     <ref name="boolean"/>
04215                 </attribute>
04216             </optional>
04217         </element>
04218     </define>
04219     <define name="table-label-ranges">
04220         <element name="table:label-ranges">
04221             <zeroOrMore>
04222                 <ref name="table-label-range"/>
04223             </zeroOrMore>
04224         </element>
04225     </define>
04226     <define name="table-label-range">
04227         <element name="table:label-range">
04228             <ref name="table-label-range-attlist"/>
04229             <empty/>
04230         </element>
04231     </define>
04232     <define name="table-label-range-attlist">
04233         <interleave>
04234             <attribute name="table:label-cell-range-address">
04235                 <ref name="cellRangeAddress"/>
04236             </attribute>
04237             <attribute name="table:data-cell-range-address">
04238                 <ref name="cellRangeAddress"/>
04239             </attribute>
04240             <attribute name="table:orientation">
04241                 <choice>
04242                     <value>column</value>
04243                     <value>row</value>
04244                 </choice>
04245             </attribute>
04246         </interleave>
04247     </define>
04248     <define name="table-named-expressions">
04249         <element name="table:named-expressions">
04250             <zeroOrMore>
04251                 <choice>
04252                     <ref name="table-named-range"/>
04253                     <ref name="table-named-expression"/>
04254                 </choice>
04255             </zeroOrMore>
04256         </element>
04257     </define>
04258     <define name="table-named-range">
04259         <element name="table:named-range">
04260             <ref name="table-named-range-attlist"/>
04261             <empty/>
04262         </element>
04263     </define>
04264     <define name="table-named-range-attlist">
04265         <attribute name="table:name">
04266             <ref name="string"/>
04267         </attribute>
04268         <attribute name="table:cell-range-address">
04269             <ref name="cellRangeAddress"/>
04270         </attribute>
04271         <optional>
04272             <attribute name="table:base-cell-address">
04273                 <ref name="cellAddress"/>
04274             </attribute>
04275         </optional>
04276         <optional>
04277             <attribute name="table:range-usable-as">
04278                 <choice>
04279                     <value>none</value>
04280                     <list>
04281                         <oneOrMore>
04282                             <choice>
04283                                 <value>print-range</value>
04284                                 <value>filter</value>
04285                                 <value>repeat-row</value>
04286                                 <value>repeat-column</value>
04287                             </choice>
04288                         </oneOrMore>
04289                     </list>
04290                 </choice>
04291             </attribute>
04292         </optional>
04293     </define>
04294     <define name="table-named-expression">
04295         <element name="table:named-expression">
04296             <ref name="table-named-expression-attlist"/>
04297             <empty/>
04298         </element>
04299     </define>
04300     <define name="table-named-expression-attlist">
04301         <attribute name="table:name">
04302             <ref name="string"/>
04303         </attribute>
04304         <attribute name="table:expression">
04305             <ref name="string"/>
04306         </attribute>
04307         <optional>
04308             <attribute name="table:base-cell-address">
04309                 <ref name="cellAddress"/>
04310             </attribute>
04311         </optional>
04312     </define>
04313     <define name="table-database-ranges">
04314         <element name="table:database-ranges">
04315             <zeroOrMore>
04316                 <ref name="table-database-range"/>
04317             </zeroOrMore>
04318         </element>
04319     </define>
04320     <define name="table-database-range">
04321         <element name="table:database-range">
04322             <ref name="table-database-range-attlist"/>
04323             <optional>
04324                 <choice>
04325                     <ref name="table-database-source-sql"/>
04326                     <ref name="table-database-source-table"/>
04327                     <ref name="table-database-source-query"/>
04328                 </choice>
04329             </optional>
04330             <optional>
04331                 <ref name="table-filter"/>
04332             </optional>
04333             <optional>
04334                 <ref name="table-sort"/>
04335             </optional>
04336             <optional>
04337                 <ref name="table-subtotal-rules"/>
04338             </optional>
04339         </element>
04340     </define>
04341     <define name="table-database-range-attlist">
04342         <interleave>
04343             <optional>
04344                 <attribute name="table:name">
04345                     <ref name="string"/>
04346                 </attribute>
04347             </optional>
04348             <optional>
04349                 <attribute name="table:is-selection">
04350                     <ref name="boolean"/>
04351                 </attribute>
04352             </optional>
04353             <optional>
04354                 <attribute name="table:on-update-keep-styles">
04355                     <ref name="boolean"/>
04356                 </attribute>
04357             </optional>
04358             <optional>
04359                 <attribute name="table:on-update-keep-size">
04360                     <ref name="boolean"/>
04361                 </attribute>
04362             </optional>
04363             <optional>
04364                 <attribute name="table:has-persistent-data">
04365                     <ref name="boolean"/>
04366                 </attribute>
04367             </optional>
04368             <optional>
04369                 <attribute name="table:orientation">
04370                     <choice>
04371                         <value>column</value>
04372                         <value>row</value>
04373                     </choice>
04374                 </attribute>
04375             </optional>
04376             <optional>
04377                 <attribute name="table:contains-header">
04378                     <ref name="boolean"/>
04379                 </attribute>
04380             </optional>
04381             <optional>
04382                 <attribute name="table:display-filter-buttons">
04383                     <ref name="boolean"/>
04384                 </attribute>
04385             </optional>
04386             <attribute name="table:target-range-address">
04387                 <ref name="cellRangeAddress"/>
04388             </attribute>
04389             <optional>
04390                 <attribute name="table:refresh-delay">
04391                     <ref name="boolean"/>
04392                 </attribute>
04393             </optional>
04394         </interleave>
04395     </define>
04396     <define name="table-database-source-sql">
04397         <element name="table:database-source-sql">
04398             <ref name="table-database-source-sql-attlist"/>
04399             <empty/>
04400         </element>
04401     </define>
04402     <define name="table-database-source-sql-attlist">
04403         <interleave>
04404             <attribute name="table:database-name">
04405                 <ref name="string"/>
04406             </attribute>
04407             <attribute name="table:sql-statement">
04408                 <ref name="string"/>
04409             </attribute>
04410             <optional>
04411                 <attribute name="table:parse-sql-statement">
04412                     <ref name="boolean"/>
04413                 </attribute>
04414             </optional>
04415         </interleave>
04416     </define>
04417     <define name="table-database-source-query">
04418         <element name="table:database-source-table">
04419             <ref name="table-database-source-table-attlist"/>
04420             <empty/>
04421         </element>
04422     </define>
04423     <define name="table-database-source-table-attlist">
04424         <interleave>
04425             <attribute name="table:database-name">
04426                 <ref name="string"/>
04427             </attribute>
04428             <attribute name="table:database-table-name">
04429                 <ref name="string"/>
04430             </attribute>
04431         </interleave>
04432     </define>
04433     <define name="table-database-source-table">
04434         <element name="table:database-source-query">
04435             <ref name="table-database-source-query-attlist"/>
04436             <empty/>
04437         </element>
04438     </define>
04439     <define name="table-database-source-query-attlist">
04440         <interleave>
04441             <attribute name="table:database-name">
04442                 <ref name="string"/>
04443             </attribute>
04444             <attribute name="table:query-name">
04445                 <ref name="string"/>
04446             </attribute>
04447         </interleave>
04448     </define>
04449     <define name="table-sort">
04450         <element name="table:sort">
04451             <ref name="table-sort-attlist"/>
04452             <oneOrMore>
04453                 <ref name="table-sort-by"/>
04454             </oneOrMore>
04455         </element>
04456     </define>
04457     <define name="table-sort-attlist">
04458         <interleave>
04459             <optional>
04460                 <attribute name="table:bind-styles-to-content">
04461                     <ref name="boolean"/>
04462                 </attribute>
04463             </optional>
04464             <optional>
04465                 <attribute name="table:target-range-address">
04466                     <ref name="cellRangeAddress"/>
04467                 </attribute>
04468             </optional>
04469             <optional>
04470                 <attribute name="table:case-sensitive">
04471                     <ref name="boolean"/>
04472                 </attribute>
04473             </optional>
04474             <optional>
04475                 <attribute name="table:language">
04476                     <ref name="languageCode"/>
04477                 </attribute>
04478             </optional>
04479             <optional>
04480                 <attribute name="table:country">
04481                     <ref name="countryCode"/>
04482                 </attribute>
04483             </optional>
04484             <optional>
04485                 <attribute name="table:script">
04486                     <ref name="scriptCode"/>
04487                 </attribute>
04488             </optional>
04489             <optional>
04490                 <attribute name="table:rfc-language-tag">
04491                     <ref name="language"/>
04492                 </attribute>
04493             </optional>
04494             <optional>
04495                 <attribute name="table:algorithm">
04496                     <ref name="string"/>
04497                 </attribute>
04498             </optional>
04499             <optional>
04500                 <attribute name="table:embedded-number-behavior">
04501                     <choice>
04502                         <value>alpha-numeric</value>
04503                         <value>integer</value>
04504                         <value>double</value>
04505                     </choice>
04506                 </attribute>
04507             </optional>
04508         </interleave>
04509     </define>
04510     <define name="table-sort-by">
04511         <element name="table:sort-by">
04512             <ref name="table-sort-by-attlist"/>
04513             <empty/>
04514         </element>
04515     </define>
04516     <define name="table-sort-by-attlist">
04517         <interleave>
04518             <attribute name="table:field-number">
04519                 <ref name="nonNegativeInteger"/>
04520             </attribute>
04521             <optional>
04522                 <attribute name="table:data-type">
04523                     <choice>
04524                         <value>text</value>
04525                         <value>number</value>
04526                         <value>automatic</value>
04527                         <ref name="string"/>
04528                     </choice>
04529                 </attribute>
04530             </optional>
04531             <optional>
04532                 <attribute name="table:order">
04533                     <choice>
04534                         <value>ascending</value>
04535                         <value>descending</value>
04536                     </choice>
04537                 </attribute>
04538             </optional>
04539         </interleave>
04540     </define>
04541     <define name="table-subtotal-rules">
04542         <element name="table:subtotal-rules">
04543             <ref name="table-subtotal-rules-attlist"/>
04544             <optional>
04545                 <ref name="table-sort-groups"/>
04546             </optional>
04547             <zeroOrMore>
04548                 <ref name="table-subtotal-rule"/>
04549             </zeroOrMore>
04550         </element>
04551     </define>
04552     <define name="table-subtotal-rules-attlist">
04553         <interleave>
04554             <optional>
04555                 <attribute name="table:bind-styles-to-content">
04556                     <ref name="boolean"/>
04557                 </attribute>
04558             </optional>
04559             <optional>
04560                 <attribute name="table:case-sensitive">
04561                     <ref name="boolean"/>
04562                 </attribute>
04563             </optional>
04564             <optional>
04565                 <attribute name="table:page-breaks-on-group-change">
04566                     <ref name="boolean"/>
04567                 </attribute>
04568             </optional>
04569         </interleave>
04570     </define>
04571     <define name="table-sort-groups">
04572         <element name="table:sort-groups">
04573             <ref name="table-sort-groups-attlist"/>
04574             <empty/>
04575         </element>
04576     </define>
04577     <define name="table-sort-groups-attlist">
04578         <interleave>
04579             <optional>
04580                 <attribute name="table:data-type">
04581                     <choice>
04582                         <value>text</value>
04583                         <value>number</value>
04584                         <value>automatic</value>
04585                         <ref name="string"/>
04586                     </choice>
04587                 </attribute>
04588             </optional>
04589             <optional>
04590                 <attribute name="table:order">
04591                     <choice>
04592                         <value>ascending</value>
04593                         <value>descending</value>
04594                     </choice>
04595                 </attribute>
04596             </optional>
04597         </interleave>
04598     </define>
04599     <define name="table-subtotal-rule">
04600         <element name="table:subtotal-rule">
04601             <ref name="table-subtotal-rule-attlist"/>
04602             <zeroOrMore>
04603                 <ref name="table-subtotal-field"/>
04604             </zeroOrMore>
04605         </element>
04606     </define>
04607     <define name="table-subtotal-rule-attlist">
04608         <attribute name="table:group-by-field-number">
04609             <ref name="nonNegativeInteger"/>
04610         </attribute>
04611     </define>
04612     <define name="table-subtotal-field">
04613         <element name="table:subtotal-field">
04614             <ref name="table-subtotal-field-attlist"/>
04615             <empty/>
04616         </element>
04617     </define>
04618     <define name="table-subtotal-field-attlist">
04619         <interleave>
04620             <attribute name="table:field-number">
04621                 <ref name="nonNegativeInteger"/>
04622             </attribute>
04623             <attribute name="table:function">
04624                 <choice>
04625                     <value>average</value>
04626                     <value>count</value>
04627                     <value>countnums</value>
04628                     <value>max</value>
04629                     <value>min</value>
04630                     <value>product</value>
04631                     <value>stdev</value>
04632                     <value>stdevp</value>
04633                     <value>sum</value>
04634                     <value>var</value>
04635                     <value>varp</value>
04636                     <ref name="string"/>
04637                 </choice>
04638             </attribute>
04639         </interleave>
04640     </define>
04641     <define name="table-filter">
04642         <element name="table:filter">
04643             <ref name="table-filter-attlist"/>
04644             <choice>
04645                 <ref name="table-filter-condition"/>
04646                 <ref name="table-filter-and"/>
04647                 <ref name="table-filter-or"/>
04648             </choice>
04649         </element>
04650     </define>
04651     <define name="table-filter-attlist">
04652         <interleave>
04653             <optional>
04654                 <attribute name="table:target-range-address">
04655                     <ref name="cellRangeAddress"/>
04656                 </attribute>
04657             </optional>
04658             <optional>
04659                 <attribute name="table:condition-source">
04660                     <choice>
04661                         <value>self</value>
04662                         <value>cell-range</value>
04663                     </choice>
04664                 </attribute>
04665             </optional>
04666             <optional>
04667                 <attribute name="table:condition-source-range-address">
04668                     <ref name="cellRangeAddress"/>
04669                 </attribute>
04670             </optional>
04671             <optional>
04672                 <attribute name="table:display-duplicates">
04673                     <ref name="boolean"/>
04674                 </attribute>
04675             </optional>
04676         </interleave>
04677     </define>
04678     <define name="table-filter-and">
04679         <element name="table:filter-and">
04680             <oneOrMore>
04681                 <choice>
04682                     <ref name="table-filter-or"/>
04683                     <ref name="table-filter-condition"/>
04684                 </choice>
04685             </oneOrMore>
04686         </element>
04687     </define>
04688     <define name="table-filter-or">
04689         <element name="table:filter-or">
04690             <oneOrMore>
04691                 <choice>
04692                     <ref name="table-filter-and"/>
04693                     <ref name="table-filter-condition"/>
04694                 </choice>
04695             </oneOrMore>
04696         </element>
04697     </define>
04698     <define name="table-filter-condition">
04699         <element name="table:filter-condition">
04700             <ref name="table-filter-condition-attlist"/>
04701             <zeroOrMore>
04702                 <ref name="table-filter-set-item"/>
04703             </zeroOrMore>
04704         </element>
04705     </define>
04706     <define name="table-filter-condition-attlist">
04707         <interleave>
04708             <attribute name="table:field-number">
04709                 <ref name="nonNegativeInteger"/>
04710             </attribute>
04711             <attribute name="table:value">
04712                 <choice>
04713                     <ref name="string"/>
04714                     <ref name="double"/>
04715                 </choice>
04716             </attribute>
04717             <attribute name="table:operator">
04718                 <ref name="string"/>
04719             </attribute>
04720             <optional>
04721                 <attribute name="table:case-sensitive">
04722                     <ref name="string"/>
04723                 </attribute>
04724             </optional>
04725             <optional>
04726                 <attribute name="table:data-type">
04727                     <choice>
04728                         <value>text</value>
04729                         <value>number</value>
04730                     </choice>
04731                 </attribute>
04732             </optional>
04733         </interleave>
04734     </define>
04735     <define name="table-filter-set-item">
04736         <element name="table:filter-set-item">
04737             <attribute name="table:value">
04738                 <ref name="string"/>
04739             </attribute>
04740             <empty/>
04741         </element>
04742     </define>
04743     <define name="table-data-pilot-tables">
04744         <element name="table:data-pilot-tables">
04745             <zeroOrMore>
04746                 <ref name="table-data-pilot-table"/>
04747             </zeroOrMore>
04748         </element>
04749     </define>
04750     <define name="table-data-pilot-table">
04751         <element name="table:data-pilot-table">
04752             <ref name="table-data-pilot-table-attlist"/>
04753             <optional>
04754                 <choice>
04755                     <ref name="table-database-source-sql"/>
04756                     <ref name="table-database-source-table"/>
04757                     <ref name="table-database-source-query"/>
04758                     <ref name="table-source-service"/>
04759                     <ref name="table-source-cell-range"/>
04760                 </choice>
04761             </optional>
04762             <oneOrMore>
04763                 <ref name="table-data-pilot-field"/>
04764             </oneOrMore>
04765         </element>
04766     </define>
04767     <define name="table-data-pilot-table-attlist">
04768         <interleave>
04769             <attribute name="table:name">
04770                 <ref name="string"/>
04771             </attribute>
04772             <optional>
04773                 <attribute name="table:application-data">
04774                     <ref name="string"/>
04775                 </attribute>
04776             </optional>
04777             <optional>
04778                 <attribute name="table:grand-total">
04779                     <choice>
04780                         <value>none</value>
04781                         <value>row</value>
04782                         <value>column</value>
04783                         <value>both</value>
04784                     </choice>
04785                 </attribute>
04786             </optional>
04787             <optional>
04788                 <attribute name="table:ignore-empty-rows">
04789                     <ref name="boolean"/>
04790                 </attribute>
04791             </optional>
04792             <optional>
04793                 <attribute name="table:identify-categories">
04794                     <ref name="boolean"/>
04795                 </attribute>
04796             </optional>
04797             <attribute name="table:target-range-address">
04798                 <ref name="cellRangeAddress"/>
04799             </attribute>
04800             <optional>
04801                 <attribute name="table:buttons">
04802                     <ref name="cellRangeAddressList"/>
04803                 </attribute>
04804             </optional>
04805             <optional>
04806                 <attribute name="table:show-filter-button">
04807                     <ref name="boolean"/>
04808                 </attribute>
04809             </optional>
04810             <optional>
04811                 <attribute name="table:drill-down-on-double-click">
04812                     <ref name="boolean"/>
04813                 </attribute>
04814             </optional>
04815         </interleave>
04816     </define>
04817     <define name="table-source-cell-range">
04818         <element name="table:source-cell-range">
04819             <ref name="table-source-cell-range-attlist"/>
04820             <optional>
04821                 <ref name="table-filter"/>
04822             </optional>
04823         </element>
04824     </define>
04825     <define name="table-source-cell-range-attlist">
04826         <attribute name="table:cell-range-address">
04827             <ref name="cellRangeAddress"/>
04828         </attribute>
04829     </define>
04830     <define name="table-source-service">
04831         <element name="table:source-service">
04832             <ref name="table-source-service-attlist"/>
04833             <empty/>
04834         </element>
04835     </define>
04836     <define name="table-source-service-attlist">
04837         <interleave>
04838             <attribute name="table:name">
04839                 <ref name="string"/>
04840             </attribute>
04841             <attribute name="table:source-name">
04842                 <ref name="string"/>
04843             </attribute>
04844             <attribute name="table:object-name">
04845                 <ref name="string"/>
04846             </attribute>
04847             <optional>
04848                 <attribute name="table:user-name">
04849                     <ref name="string"/>
04850                 </attribute>
04851             </optional>
04852             <optional>
04853                 <attribute name="table:password">
04854                     <ref name="string"/>
04855                 </attribute>
04856             </optional>
04857         </interleave>
04858     </define>
04859     <define name="table-data-pilot-field">
04860         <element name="table:data-pilot-field">
04861             <ref name="table-data-pilot-field-attlist"/>
04862             <optional>
04863                 <ref name="table-data-pilot-level"/>
04864             </optional>
04865             <optional>
04866                 <ref name="table-data-pilot-field-reference"/>
04867             </optional>
04868             <optional>
04869                 <ref name="table-data-pilot-groups"/>
04870             </optional>
04871         </element>
04872     </define>
04873     <define name="table-data-pilot-field-attlist">
04874         <interleave>
04875             <attribute name="table:source-field-name">
04876                 <ref name="string"/>
04877             </attribute>
04878             <choice>
04879                 <attribute name="table:orientation">
04880                     <choice>
04881                         <value>row</value>
04882                         <value>column</value>
04883                         <value>data</value>
04884                         <value>hidden</value>
04885                     </choice>
04886                 </attribute>
04887                 <group>
04888                     <attribute name="table:orientation">
04889                         <value>page</value>
04890                     </attribute>
04891                     <attribute name="table:selected-page">
04892                         <ref name="string"/>
04893                     </attribute>
04894                 </group>
04895             </choice>
04896             <optional>
04897                 <attribute name="table:is-data-layout-field">
04898                     <ref name="string"/>
04899                 </attribute>
04900             </optional>
04901             <optional>
04902                 <attribute name="table:function">
04903                     <choice>
04904                         <value>auto</value>
04905                         <value>average</value>
04906                         <value>count</value>
04907                         <value>countnums</value>
04908                         <value>max</value>
04909                         <value>min</value>
04910                         <value>product</value>
04911                         <value>stdev</value>
04912                         <value>stdevp</value>
04913                         <value>sum</value>
04914                         <value>var</value>
04915                         <value>varp</value>
04916                         <ref name="string"/>
04917                     </choice>
04918                 </attribute>
04919             </optional>
04920             <optional>
04921                 <attribute name="table:used-hierarchy">
04922                     <ref name="integer"/>
04923                 </attribute>
04924             </optional>
04925         </interleave>
04926     </define>
04927     <define name="table-data-pilot-level">
04928         <element name="table:data-pilot-level">
04929             <ref name="table-data-pilot-level-attlist"/>
04930             <optional>
04931                 <ref name="table-data-pilot-subtotals"/>
04932             </optional>
04933             <optional>
04934                 <ref name="table-data-pilot-members"/>
04935             </optional>
04936             <optional>
04937                 <ref name="table-data-pilot-display-info"/>
04938             </optional>
04939             <optional>
04940                 <ref name="table-data-pilot-sort-info"/>
04941             </optional>
04942             <optional>
04943                 <ref name="table-data-pilot-layout-info"/>
04944             </optional>
04945         </element>
04946     </define>
04947     <define name="table-data-pilot-level-attlist">
04948         <optional>
04949             <attribute name="table:show-empty">
04950                 <ref name="boolean"/>
04951             </attribute>
04952         </optional>
04953     </define>
04954     <define name="table-data-pilot-subtotals">
04955         <element name="table:data-pilot-subtotals">
04956             <zeroOrMore>
04957                 <ref name="table-data-pilot-subtotal"/>
04958             </zeroOrMore>
04959         </element>
04960     </define>
04961     <define name="table-data-pilot-subtotal">
04962         <element name="table:data-pilot-subtotal">
04963             <ref name="table-data-pilot-subtotal-attlist"/>
04964             <empty/>
04965         </element>
04966     </define>
04967     <define name="table-data-pilot-subtotal-attlist">
04968         <attribute name="table:function">
04969             <choice>
04970                 <value>auto</value>
04971                 <value>average</value>
04972                 <value>count</value>
04973                 <value>countnums</value>
04974                 <value>max</value>
04975                 <value>min</value>
04976                 <value>product</value>
04977                 <value>stdev</value>
04978                 <value>stdevp</value>
04979                 <value>sum</value>
04980                 <value>var</value>
04981                 <value>varp</value>
04982                 <ref name="string"/>
04983             </choice>
04984         </attribute>
04985     </define>
04986     <define name="table-data-pilot-members">
04987         <element name="table:data-pilot-members">
04988             <zeroOrMore>
04989                 <ref name="table-data-pilot-member"/>
04990             </zeroOrMore>
04991         </element>
04992     </define>
04993     <define name="table-data-pilot-member">
04994         <element name="table:data-pilot-member">
04995             <ref name="table-data-pilot-member-attlist"/>
04996             <empty/>
04997         </element>
04998     </define>
04999     <define name="table-data-pilot-member-attlist">
05000         <interleave>
05001             <attribute name="table:name">
05002                 <ref name="string"/>
05003             </attribute>
05004             <optional>
05005                 <attribute name="table:display">
05006                     <ref name="boolean"/>
05007                 </attribute>
05008             </optional>
05009             <optional>
05010                 <attribute name="table:show-details">
05011                     <ref name="boolean"/>
05012                 </attribute>
05013             </optional>
05014         </interleave>
05015     </define>
05016     <define name="table-data-pilot-display-info">
05017         <element name="table:data-pilot-display-info">
05018             <ref name="table-data-pilot-display-info-attlist"/>
05019             <empty/>
05020         </element>
05021     </define>
05022     <define name="table-data-pilot-display-info-attlist">
05023         <interleave>
05024             <attribute name="table:enabled">
05025                 <ref name="boolean"/>
05026             </attribute>
05027             <attribute name="table:data-field">
05028                 <ref name="string"/>
05029             </attribute>
05030             <attribute name="table:member-count">
05031                 <ref name="nonNegativeInteger"/>
05032             </attribute>
05033             <attribute name="table:display-member-mode">
05034                 <choice>
05035                     <value>from-top</value>
05036                     <value>from-bottom</value>
05037                 </choice>
05038             </attribute>
05039         </interleave>
05040     </define>
05041     <define name="table-data-pilot-sort-info">
05042         <element name="table:data-pilot-sort-info">
05043             <ref name="table-data-pilot-sort-info-attlist"/>
05044             <empty/>
05045         </element>
05046     </define>
05047     <define name="table-data-pilot-sort-info-attlist">
05048         <interleave>
05049             <choice>
05050                 <group>
05051                     <attribute name="table:sort-mode">
05052                         <value>data</value>
05053                     </attribute>
05054                     <attribute name="table:data-field">
05055                         <ref name="string"/>
05056                     </attribute>
05057                 </group>
05058                 <attribute name="table:sort-mode">
05059                     <choice>
05060                         <value>none</value>
05061                         <value>manual</value>
05062                         <value>name</value>
05063                     </choice>
05064                 </attribute>
05065             </choice>
05066             <attribute name="table:order">
05067                 <choice>
05068                     <value>ascending</value>
05069                     <value>descending</value>
05070                 </choice>
05071             </attribute>
05072         </interleave>
05073     </define>
05074     <define name="table-data-pilot-layout-info">
05075         <element name="table:data-pilot-layout-info">
05076             <ref name="table-data-pilot-layout-info-attlist"/>
05077             <empty/>
05078         </element>
05079     </define>
05080     <define name="table-data-pilot-layout-info-attlist">
05081         <interleave>
05082             <attribute name="table:layout-mode">
05083                 <choice>
05084                     <value>tabular-layout</value>
05085                     <value>outline-subtotals-top</value>
05086                     <value>outline-subtotals-bottom</value>
05087                 </choice>
05088             </attribute>
05089             <attribute name="table:add-empty-lines">
05090                 <ref name="boolean"/>
05091             </attribute>
05092         </interleave>
05093     </define>
05094     <define name="table-data-pilot-field-reference">
05095         <element name="table:data-pilot-field-reference">
05096             <ref name="table-data-pilot-field-reference-attlist"/>
05097         </element>
05098     </define>
05099     <define name="table-data-pilot-field-reference-attlist">
05100         <interleave>
05101             <attribute name="table:field-name">
05102                 <ref name="string"/>
05103             </attribute>
05104             <choice>
05105                 <group>
05106                     <attribute name="table:member-type">
05107                         <value>named</value>
05108                     </attribute>
05109                     <attribute name="table:member-name">
05110                         <ref name="string"/>
05111                     </attribute>
05112                 </group>
05113                 <attribute name="table:member-type">
05114                     <choice>
05115                         <value>previous</value>
05116                         <value>next</value>
05117                     </choice>
05118                 </attribute>
05119             </choice>
05120             <attribute name="table:type">
05121                 <choice>
05122                     <value>none</value>
05123                     <value>member-difference</value>
05124                     <value>member-percentage</value>
05125                     <value>member-percentage-difference</value>
05126                     <value>running-total</value>
05127                     <value>row-percentage</value>
05128                     <value>column-percentage</value>
05129                     <value>total-percentage</value>
05130                     <value>index</value>
05131                 </choice>
05132             </attribute>
05133         </interleave>
05134     </define>
05135     <define name="table-data-pilot-groups">
05136         <element name="table:data-pilot-groups">
05137             <ref name="table-data-pilot-groups-attlist"/>
05138             <oneOrMore>
05139                 <ref name="table-data-pilot-group"/>
05140             </oneOrMore>
05141         </element>
05142     </define>
05143     <define name="table-data-pilot-groups-attlist">
05144         <interleave>
05145             <attribute name="table:source-field-name">
05146                 <ref name="string"/>
05147             </attribute>
05148             <choice>
05149                 <attribute name="table:date-start">
05150                     <choice>
05151                         <ref name="dateOrDateTime"/>
05152                         <value>auto</value>
05153                     </choice>
05154                 </attribute>
05155                 <attribute name="table:start">
05156                     <choice>
05157                         <ref name="double"/>
05158                         <value>auto</value>
05159                     </choice>
05160                 </attribute>
05161             </choice>
05162             <choice>
05163                 <attribute name="table:date-end">
05164                     <choice>
05165                         <ref name="dateOrDateTime"/>
05166                         <value>auto</value>
05167                     </choice>
05168                 </attribute>
05169                 <attribute name="table:end">
05170                     <choice>
05171                         <ref name="double"/>
05172                         <value>auto</value>
05173                     </choice>
05174                 </attribute>
05175             </choice>
05176             <attribute name="table:step">
05177                 <ref name="double"/>
05178             </attribute>
05179             <attribute name="table:grouped-by">
05180                 <choice>
05181                     <value>seconds</value>
05182                     <value>minutes</value>
05183                     <value>hours</value>
05184                     <value>days</value>
05185                     <value>months</value>
05186                     <value>quarters</value>
05187                     <value>years</value>
05188                 </choice>
05189             </attribute>
05190         </interleave>
05191     </define>
05192     <define name="table-data-pilot-group">
05193         <element name="table:data-pilot-group">
05194             <ref name="table-data-pilot-group-attlist"/>
05195             <oneOrMore>
05196                 <ref name="table-data-pilot-group-member"/>
05197             </oneOrMore>
05198         </element>
05199     </define>
05200     <define name="table-data-pilot-group-attlist">
05201         <attribute name="table:name">
05202             <ref name="string"/>
05203         </attribute>
05204     </define>
05205     <define name="table-data-pilot-group-member">
05206         <element name="table:data-pilot-group-member">
05207             <ref name="table-data-pilot-group-member-attlist"/>
05208         </element>
05209     </define>
05210     <define name="table-data-pilot-group-member-attlist">
05211         <attribute name="table:name">
05212             <ref name="string"/>
05213         </attribute>
05214     </define>
05215     <define name="table-consolidation">
05216         <element name="table:consolidation">
05217             <ref name="table-consolidation-attlist"/>
05218             <empty/>
05219         </element>
05220     </define>
05221     <define name="table-consolidation-attlist">
05222         <interleave>
05223             <attribute name="table:function">
05224                 <choice>
05225                     <value>average</value>
05226                     <value>count</value>
05227                     <value>countnums</value>
05228                     <value>max</value>
05229                     <value>min</value>
05230                     <value>product</value>
05231                     <value>stdev</value>
05232                     <value>stdevp</value>
05233                     <value>sum</value>
05234                     <value>var</value>
05235                     <value>varp</value>
05236                     <ref name="string"/>
05237                 </choice>
05238             </attribute>
05239             <attribute name="table:source-cell-range-addresses">
05240                 <ref name="cellRangeAddressList"/>
05241             </attribute>
05242             <attribute name="table:target-cell-address">
05243                 <ref name="cellAddress"/>
05244             </attribute>
05245             <optional>
05246                 <attribute name="table:use-labels">
05247                     <choice>
05248                         <value>none</value>
05249                         <value>row</value>
05250                         <value>column</value>
05251                         <value>both</value>
05252                     </choice>
05253                 </attribute>
05254             </optional>
05255             <optional>
05256                 <attribute name="table:link-to-source-data">
05257                     <ref name="boolean"/>
05258                 </attribute>
05259             </optional>
05260         </interleave>
05261     </define>
05262     <define name="table-dde-links">
05263         <element name="table:dde-links">
05264             <oneOrMore>
05265                 <ref name="table-dde-link"/>
05266             </oneOrMore>
05267         </element>
05268     </define>
05269     <define name="table-tracked-changes">
05270         <element name="table:tracked-changes">
05271             <ref name="table-tracked-changes-attlist"/>
05272             <zeroOrMore>
05273                 <choice>
05274                     <ref name="table-cell-content-change"/>
05275                     <ref name="table-insertion"/>
05276                     <ref name="table-deletion"/>
05277                     <ref name="table-movement"/>
05278                 </choice>
05279             </zeroOrMore>
05280         </element>
05281     </define>
05282     <define name="table-tracked-changes-attlist">
05283         <optional>
05284             <attribute name="table:track-changes">
05285                 <ref name="boolean"/>
05286             </attribute>
05287         </optional>
05288     </define>
05289     <define name="table-insertion">
05290         <element name="table:insertion">
05291             <ref name="table-insertion-attlist"/>
05292             <ref name="common-table-change-attlist"/>
05293             <ref name="office-change-info"/>
05294             <optional>
05295                 <ref name="table-dependencies"/>
05296             </optional>
05297             <optional>
05298                 <ref name="table-deletions"/>
05299             </optional>
05300         </element>
05301     </define>
05302     <define name="table-insertion-attlist">
05303         <interleave>
05304             <attribute name="table:type">
05305                 <choice>
05306                     <value>row</value>
05307                     <value>column</value>
05308                     <value>table</value>
05309                 </choice>
05310             </attribute>
05311             <attribute name="table:position">
05312                 <ref name="integer"/>
05313             </attribute>
05314             <optional>
05315                 <attribute name="table:count">
05316                     <ref name="positiveInteger"/>
05317                 </attribute>
05318             </optional>
05319             <optional>
05320                 <attribute name="table:table">
05321                     <ref name="integer"/>
05322                 </attribute>
05323             </optional>
05324         </interleave>
05325     </define>
05326     <define name="table-dependencies">
05327         <element name="table:dependencies">
05328             <oneOrMore>
05329                 <ref name="table-dependency"/>
05330             </oneOrMore>
05331         </element>
05332     </define>
05333     <define name="table-dependency">
05334         <element name="table:dependency">
05335             <attribute name="table:id">
05336                 <ref name="string"/>
05337             </attribute>
05338             <empty/>
05339         </element>
05340     </define>
05341     <define name="table-deletions">
05342         <element name="table:deletions">
05343             <oneOrMore>
05344                 <choice>
05345                     <ref name="table-cell-content-deletion"/>
05346                     <ref name="table-change-deletion"/>
05347                 </choice>
05348             </oneOrMore>
05349         </element>
05350     </define>
05351     <define name="table-cell-content-deletion">
05352         <element name="table:cell-content-deletion">
05353             <optional>
05354                 <attribute name="table:id">
05355                     <ref name="string"/>
05356                 </attribute>
05357             </optional>
05358             <optional>
05359                 <ref name="table-cell-address"/>
05360             </optional>
05361             <optional>
05362                 <ref name="table-change-track-table-cell"/>
05363             </optional>
05364         </element>
05365     </define>
05366     <define name="table-change-deletion">
05367         <element name="table:change-deletion">
05368             <optional>
05369                 <attribute name="table:id">
05370                     <ref name="string"/>
05371                 </attribute>
05372             </optional>
05373             <empty/>
05374         </element>
05375     </define>
05376     <define name="table-deletion">
05377         <element name="table:deletion">
05378             <ref name="table-deletion-attlist"/>
05379             <ref name="common-table-change-attlist"/>
05380             <ref name="office-change-info"/>
05381             <optional>
05382                 <ref name="table-dependencies"/>
05383             </optional>
05384             <optional>
05385                 <ref name="table-deletions"/>
05386             </optional>
05387             <optional>
05388                 <ref name="table-cut-offs"/>
05389             </optional>
05390         </element>
05391     </define>
05392     <define name="table-deletion-attlist">
05393         <interleave>
05394             <attribute name="table:type">
05395                 <choice>
05396                     <value>row</value>
05397                     <value>column</value>
05398                     <value>table</value>
05399                 </choice>
05400             </attribute>
05401             <attribute name="table:position">
05402                 <ref name="integer"/>
05403             </attribute>
05404             <optional>
05405                 <attribute name="table:table">
05406                     <ref name="integer"/>
05407                 </attribute>
05408             </optional>
05409             <optional>
05410                 <attribute name="table:multi-deletion-spanned">
05411                     <ref name="integer"/>
05412                 </attribute>
05413             </optional>
05414         </interleave>
05415     </define>
05416     <define name="table-cut-offs">
05417         <element name="table:cut-offs">
05418             <choice>
05419                 <oneOrMore>
05420                     <ref name="table-movement-cut-off"/>
05421                 </oneOrMore>
05422                 <group>
05423                     <ref name="table-insertion-cut-off"/>
05424                     <zeroOrMore>
05425                         <ref name="table-movement-cut-off"/>
05426                     </zeroOrMore>
05427                 </group>
05428             </choice>
05429         </element>
05430     </define>
05431     <define name="table-insertion-cut-off">
05432         <element name="table:insertion-cut-off">
05433             <ref name="table-insertion-cut-off-attlist"/>
05434             <empty/>
05435         </element>
05436     </define>
05437     <define name="table-insertion-cut-off-attlist">
05438         <interleave>
05439             <attribute name="table:id">
05440                 <ref name="string"/>
05441             </attribute>
05442             <attribute name="table:position">
05443                 <ref name="integer"/>
05444             </attribute>
05445         </interleave>
05446     </define>
05447     <define name="table-movement-cut-off">
05448         <element name="table:movement-cut-off">
05449             <ref name="table-movement-cut-off-attlist"/>
05450             <empty/>
05451         </element>
05452     </define>
05453     <define name="table-movement-cut-off-attlist">
05454         <choice>
05455             <attribute name="table:position">
05456                 <ref name="integer"/>
05457             </attribute>
05458             <group>
05459                 <attribute name="table:start-position">
05460                     <ref name="integer"/>
05461                 </attribute>
05462                 <attribute name="table:end-position">
05463                     <ref name="integer"/>
05464                 </attribute>
05465             </group>
05466         </choice>
05467     </define>
05468     <define name="table-movement">
05469         <element name="table:movement">
05470             <ref name="common-table-change-attlist"/>
05471             <ref name="table-source-range-address"/>
05472             <ref name="table-target-range-address"/>
05473             <ref name="office-change-info"/>
05474             <optional>
05475                 <ref name="table-dependencies"/>
05476             </optional>
05477             <optional>
05478                 <ref name="table-deletions"/>
05479             </optional>
05480         </element>
05481     </define>
05482     <define name="table-source-range-address">
05483         <element name="table:source-range-address">
05484             <ref name="common-table-range-attlist"/>
05485             <empty/>
05486         </element>
05487     </define>
05488     <define name="table-target-range-address">
05489         <element name="table:target-range-address">
05490             <ref name="common-table-range-attlist"/>
05491             <empty/>
05492         </element>
05493     </define>
05494     <define name="common-table-range-attlist">
05495         <choice>
05496             <group>
05497                 <ref name="common-table-cell-address-attlist"/>
05498             </group>
05499             <group>
05500                 <ref name="common-table-cell-range-address-attlist"/>
05501             </group>
05502         </choice>
05503     </define>
05504     <define name="common-table-cell-address-attlist">
05505         <attribute name="table:column">
05506             <ref name="integer"/>
05507         </attribute>
05508         <attribute name="table:row">
05509             <ref name="integer"/>
05510         </attribute>
05511         <attribute name="table:table">
05512             <ref name="integer"/>
05513         </attribute>
05514     </define>
05515     <define name="common-table-cell-range-address-attlist">
05516         <attribute name="table:start-column">
05517             <ref name="integer"/>
05518         </attribute>
05519         <attribute name="table:start-row">
05520             <ref name="integer"/>
05521         </attribute>
05522         <attribute name="table:start-table">
05523             <ref name="integer"/>
05524         </attribute>
05525         <attribute name="table:end-column">
05526             <ref name="integer"/>
05527         </attribute>
05528         <attribute name="table:end-row">
05529             <ref name="integer"/>
05530         </attribute>
05531         <attribute name="table:end-table">
05532             <ref name="integer"/>
05533         </attribute>
05534     </define>
05535     <define name="table-change-track-table-cell">
05536         <element name="table:change-track-table-cell">
05537             <ref name="table-change-track-table-cell-attlist"/>
05538             <zeroOrMore>
05539                 <ref name="text-p"/>
05540             </zeroOrMore>
05541         </element>
05542     </define>
05543     <define name="table-change-track-table-cell-attlist">
05544         <interleave>
05545             <optional>
05546                 <attribute name="table:cell-address">
05547                     <ref name="cellAddress"/>
05548                 </attribute>
05549             </optional>
05550             <optional>
05551                 <attribute name="table:matrix-covered">
05552                     <ref name="boolean"/>
05553                 </attribute>
05554             </optional>
05555             <optional>
05556                 <attribute name="table:formula">
05557                     <ref name="string"/>
05558                 </attribute>
05559             </optional>
05560             <optional>
05561                 <attribute name="table:number-matrix-columns-spanned">
05562                     <ref name="positiveInteger"/>
05563                 </attribute>
05564             </optional>
05565             <optional>
05566                 <attribute name="table:number-matrix-rows-spanned">
05567                     <ref name="positiveInteger"/>
05568                 </attribute>
05569             </optional>
05570             <optional>
05571                 <ref name="common-value-and-type-attlist"/>
05572             </optional>
05573         </interleave>
05574     </define>
05575     <define name="table-cell-content-change">
05576         <element name="table:cell-content-change">
05577             <ref name="common-table-change-attlist"/>
05578             <ref name="table-cell-address"/>
05579             <ref name="office-change-info"/>
05580             <optional>
05581                 <ref name="table-dependencies"/>
05582             </optional>
05583             <optional>
05584                 <ref name="table-deletions"/>
05585             </optional>
05586             <ref name="table-previous"/>
05587         </element>
05588     </define>
05589     <define name="table-cell-address">
05590         <element name="table:cell-address">
05591             <ref name="common-table-cell-address-attlist"/>
05592             <empty/>
05593         </element>
05594     </define>
05595     <define name="table-previous">
05596         <element name="table:previous">
05597             <optional>
05598                 <attribute name="table:id">
05599                     <ref name="string"/>
05600                 </attribute>
05601             </optional>
05602             <ref name="table-change-track-table-cell"/>
05603         </element>
05604     </define>
05605     <define name="common-table-change-attlist">
05606         <interleave>
05607             <attribute name="table:id">
05608                 <ref name="string"/>
05609             </attribute>
05610             <optional>
05611                 <attribute name="table:acceptance-state">
05612                     <choice>
05613                         <value>accepted</value>
05614                         <value>rejected</value>
05615                         <value>pending</value>
05616                     </choice>
05617                 </attribute>
05618             </optional>
05619             <optional>
05620                 <attribute name="table:rejecting-change-id">
05621                     <ref name="string"/>
05622                 </attribute>
05623             </optional>
05624         </interleave>
05625     </define>
05626     <define name="style-handout-master">
05627         <element name="style:handout-master">
05628             <ref name="common-presentation-header-footer-attlist"/>
05629             <ref name="style-handout-master-attlist"/>
05630             <zeroOrMore>
05631                 <ref name="shape"/>
05632             </zeroOrMore>
05633         </element>
05634     </define>
05635     <define name="style-handout-master-attlist">
05636         <interleave>
05637             <optional>
05638                 <attribute name="presentation:presentation-page-layout-name">
05639                     <ref name="styleNameRef"/>
05640                 </attribute>
05641             </optional>
05642             <attribute name="style:page-layout-name">
05643                 <ref name="styleNameRef"/>
05644             </attribute>
05645             <optional>
05646                 <attribute name="draw:style-name">
05647                     <ref name="styleNameRef"/>
05648                 </attribute>
05649             </optional>
05650         </interleave>
05651     </define>
05652     <define name="draw-layer-set">
05653         <element name="draw:layer-set">
05654             <zeroOrMore>
05655                 <ref name="draw-layer"/>
05656             </zeroOrMore>
05657         </element>
05658     </define>
05659     <define name="draw-layer">
05660         <element name="draw:layer">
05661             <ref name="draw-layer-attlist"/>
05662             <optional>
05663                 <ref name="svg-title"/>
05664             </optional>
05665             <optional>
05666                 <ref name="svg-desc"/>
05667             </optional>
05668         </element>
05669     </define>
05670     <define name="draw-layer-attlist">
05671         <interleave>
05672             <attribute name="draw:name">
05673                 <ref name="string"/>
05674             </attribute>
05675             <optional>
05676                 <attribute name="draw:protected">
05677                     <ref name="boolean"/>
05678                 </attribute>
05679             </optional>
05680             <optional>
05681                 <attribute name="draw:display">
05682                     <choice>
05683                         <value>always</value>
05684                         <value>screen</value>
05685                         <value>printer</value>
05686                         <value>none</value>
05687                     </choice>
05688                 </attribute>
05689             </optional>
05690         </interleave>
05691     </define>
05692     <define name="draw-page">
05693         <element name="draw:page">
05694             <ref name="common-presentation-header-footer-attlist"/>
05695             <ref name="draw-page-attlist"/>
05696             <optional>
05697                 <ref name="svg-title"/>
05698             </optional>
05699             <optional>
05700                 <ref name="svg-desc"/>
05701             </optional>
05702             <optional>
05703                 <ref name="draw-layer-set"/>
05704             </optional>
05705             <optional>
05706                 <ref name="office-forms"/>
05707             </optional>
05708             <zeroOrMore>
05709                 <ref name="shape"/>
05710             </zeroOrMore>
05711             <optional>
05712                 <choice>
05713                     <ref name="presentation-animations"/>
05714                     <ref name="animation-element"/>
05715                 </choice>
05716             </optional>
05717             <optional>
05718                 <ref name="presentation-notes"/>
05719             </optional>
05720         </element>
05721     </define>
05722     <define name="draw-page-attlist">
05723         <interleave>
05724             <optional>
05725                 <attribute name="draw:name">
05726                     <ref name="string"/>
05727                 </attribute>
05728             </optional>
05729             <optional>
05730                 <attribute name="draw:style-name">
05731                     <ref name="styleNameRef"/>
05732                 </attribute>
05733             </optional>
05734             <attribute name="draw:master-page-name">
05735                 <ref name="styleNameRef"/>
05736             </attribute>
05737             <optional>
05738                 <attribute name="presentation:presentation-page-layout-name">
05739                     <ref name="styleNameRef"/>
05740                 </attribute>
05741             </optional>
05742             <optional>
05743                 <group>
05744                     <ref name="xml-id"/>
05745                     <optional>
05746                         <attribute name="draw:id">
05747                             <ref name="NCName"/>
05748                         </attribute>
05749                     </optional>
05750                 </group>
05751             </optional>
05752             <optional>
05753                 <attribute name="draw:nav-order">
05754                     <ref name="IDREFS"/>
05755                 </attribute>
05756             </optional>
05757         </interleave>
05758     </define>
05759     <define name="common-presentation-header-footer-attlist">
05760         <interleave>
05761             <optional>
05762                 <attribute name="presentation:use-header-name">
05763                     <ref name="string"/>
05764                 </attribute>
05765             </optional>
05766             <optional>
05767                 <attribute name="presentation:use-footer-name">
05768                     <ref name="string"/>
05769                 </attribute>
05770             </optional>
05771             <optional>
05772                 <attribute name="presentation:use-date-time-name">
05773                     <ref name="string"/>
05774                 </attribute>
05775             </optional>
05776         </interleave>
05777     </define>
05778     <define name="shape">
05779         <choice>
05780             <ref name="shape-instance"/>
05781             <ref name="draw-a"/>
05782         </choice>
05783     </define>
05784     <define name="shape-instance">
05785         <choice>
05786             <ref name="draw-rect"/>
05787             <ref name="draw-line"/>
05788             <ref name="draw-polyline"/>
05789             <ref name="draw-polygon"/>
05790             <ref name="draw-regular-polygon"/>
05791             <ref name="draw-path"/>
05792             <ref name="draw-circle"/>
05793             <ref name="draw-ellipse"/>
05794             <ref name="draw-g"/>
05795             <ref name="draw-page-thumbnail"/>
05796             <ref name="draw-frame"/>
05797             <ref name="draw-measure"/>
05798             <ref name="draw-caption"/>
05799             <ref name="draw-connector"/>
05800             <ref name="draw-control"/>
05801             <ref name="dr3d-scene"/>
05802             <ref name="draw-custom-shape"/>
05803         </choice>
05804     </define>
05805     <define name="draw-rect">
05806         <element name="draw:rect">
05807             <ref name="draw-rect-attlist"/>
05808             <ref name="common-draw-position-attlist"/>
05809             <ref name="common-draw-size-attlist"/>
05810             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
05811             <ref name="common-draw-caption-id-attlist"/>
05812             <optional>
05813                 <ref name="svg-title"/>
05814             </optional>
05815             <optional>
05816                 <ref name="svg-desc"/>
05817             </optional>
05818             <optional>
05819                 <ref name="office-event-listeners"/>
05820             </optional>
05821             <zeroOrMore>
05822                 <ref name="draw-glue-point"/>
05823             </zeroOrMore>
05824             <ref name="draw-text"/>
05825         </element>
05826     </define>
05827     <define name="draw-rect-attlist">
05828         <choice>
05829             <optional>
05830                 <attribute name="draw:corner-radius">
05831                     <ref name="nonNegativeLength"/>
05832                 </attribute>
05833             </optional>
05834             <group>
05835                 <optional>
05836                     <attribute name="svg:rx">
05837                         <ref name="nonNegativeLength"/>
05838                     </attribute>
05839                 </optional>
05840                 <optional>
05841                     <attribute name="svg:ry">
05842                         <ref name="nonNegativeLength"/>
05843                     </attribute>
05844                 </optional>
05845             </group>
05846         </choice>
05847     </define>
05848     <define name="draw-line">
05849         <element name="draw:line">
05850             <ref name="draw-line-attlist"/>
05851             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
05852             <ref name="common-draw-caption-id-attlist"/>
05853             <optional>
05854                 <ref name="svg-title"/>
05855             </optional>
05856             <optional>
05857                 <ref name="svg-desc"/>
05858             </optional>
05859             <optional>
05860                 <ref name="office-event-listeners"/>
05861             </optional>
05862             <zeroOrMore>
05863                 <ref name="draw-glue-point"/>
05864             </zeroOrMore>
05865             <ref name="draw-text"/>
05866         </element>
05867     </define>
05868     <define name="draw-line-attlist">
05869         <interleave>
05870             <attribute name="svg:x1">
05871                 <ref name="coordinate"/>
05872             </attribute>
05873             <attribute name="svg:y1">
05874                 <ref name="coordinate"/>
05875             </attribute>
05876             <attribute name="svg:x2">
05877                 <ref name="coordinate"/>
05878             </attribute>
05879             <attribute name="svg:y2">
05880                 <ref name="coordinate"/>
05881             </attribute>
05882         </interleave>
05883     </define>
05884     <define name="draw-polyline">
05885         <element name="draw:polyline">
05886             <ref name="common-draw-points-attlist"/>
05887             <ref name="common-draw-position-attlist"/>
05888             <ref name="common-draw-size-attlist"/>
05889             <ref name="common-draw-viewbox-attlist"/>
05890             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
05891             <ref name="common-draw-caption-id-attlist"/>
05892             <optional>
05893                 <ref name="svg-title"/>
05894             </optional>
05895             <optional>
05896                 <ref name="svg-desc"/>
05897             </optional>
05898             <optional>
05899                 <ref name="office-event-listeners"/>
05900             </optional>
05901             <zeroOrMore>
05902                 <ref name="draw-glue-point"/>
05903             </zeroOrMore>
05904             <ref name="draw-text"/>
05905         </element>
05906     </define>
05907     <define name="common-draw-points-attlist">
05908         <attribute name="draw:points">
05909             <ref name="points"/>
05910         </attribute>
05911     </define>
05912     <define name="draw-polygon">
05913         <element name="draw:polygon">
05914             <ref name="common-draw-points-attlist"/>
05915             <ref name="common-draw-position-attlist"/>
05916             <ref name="common-draw-size-attlist"/>
05917             <ref name="common-draw-viewbox-attlist"/>
05918             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
05919             <ref name="common-draw-caption-id-attlist"/>
05920             <optional>
05921                 <ref name="svg-title"/>
05922             </optional>
05923             <optional>
05924                 <ref name="svg-desc"/>
05925             </optional>
05926             <optional>
05927                 <ref name="office-event-listeners"/>
05928             </optional>
05929             <zeroOrMore>
05930                 <ref name="draw-glue-point"/>
05931             </zeroOrMore>
05932             <ref name="draw-text"/>
05933         </element>
05934     </define>
05935     <define name="draw-regular-polygon">
05936         <element name="draw:regular-polygon">
05937             <ref name="draw-regular-polygon-attlist"/>
05938             <ref name="common-draw-position-attlist"/>
05939             <ref name="common-draw-size-attlist"/>
05940             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
05941             <ref name="common-draw-caption-id-attlist"/>
05942             <optional>
05943                 <ref name="svg-title"/>
05944             </optional>
05945             <optional>
05946                 <ref name="svg-desc"/>
05947             </optional>
05948             <optional>
05949                 <ref name="office-event-listeners"/>
05950             </optional>
05951             <zeroOrMore>
05952                 <ref name="draw-glue-point"/>
05953             </zeroOrMore>
05954             <ref name="draw-text"/>
05955         </element>
05956     </define>
05957     <define name="draw-regular-polygon-attlist">
05958         <interleave>
05959             <choice>
05960                 <attribute name="draw:concave">
05961                     <value>false</value>
05962                 </attribute>
05963                 <group>
05964                     <attribute name="draw:concave">
05965                         <value>true</value>
05966                     </attribute>
05967                     <ref name="draw-regular-polygon-sharpness-attlist"/>
05968                 </group>
05969             </choice>
05970             <attribute name="draw:corners">
05971                 <ref name="positiveInteger"/>
05972             </attribute>
05973         </interleave>
05974     </define>
05975     <define name="draw-regular-polygon-sharpness-attlist">
05976         <attribute name="draw:sharpness">
05977             <ref name="percent"/>
05978         </attribute>
05979     </define>
05980     <define name="draw-path">
05981         <element name="draw:path">
05982             <ref name="common-draw-path-data-attlist"/>
05983             <ref name="common-draw-position-attlist"/>
05984             <ref name="common-draw-size-attlist"/>
05985             <ref name="common-draw-viewbox-attlist"/>
05986             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
05987             <ref name="common-draw-caption-id-attlist"/>
05988             <optional>
05989                 <ref name="svg-title"/>
05990             </optional>
05991             <optional>
05992                 <ref name="svg-desc"/>
05993             </optional>
05994             <optional>
05995                 <ref name="office-event-listeners"/>
05996             </optional>
05997             <zeroOrMore>
05998                 <ref name="draw-glue-point"/>
05999             </zeroOrMore>
06000             <ref name="draw-text"/>
06001         </element>
06002     </define>
06003     <define name="common-draw-path-data-attlist">
06004         <attribute name="svg:d">
06005             <ref name="pathData"/>
06006         </attribute>
06007     </define>
06008     <define name="draw-circle">
06009         <element name="draw:circle">
06010             <choice>
06011                 <group>
06012                     <ref name="draw-circle-attlist"/>
06013                     <ref name="common-draw-circle-ellipse-pos-attlist"/>
06014                 </group>
06015                 <group>
06016                     <ref name="common-draw-position-attlist"/>
06017                     <ref name="common-draw-size-attlist"/>
06018                 </group>
06019             </choice>
06020             <ref name="common-draw-circle-ellipse-attlist"/>
06021             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
06022             <ref name="common-draw-caption-id-attlist"/>
06023             <optional>
06024                 <ref name="svg-title"/>
06025             </optional>
06026             <optional>
06027                 <ref name="svg-desc"/>
06028             </optional>
06029             <optional>
06030                 <ref name="office-event-listeners"/>
06031             </optional>
06032             <zeroOrMore>
06033                 <ref name="draw-glue-point"/>
06034             </zeroOrMore>
06035             <ref name="draw-text"/>
06036         </element>
06037     </define>
06038     <define name="common-draw-circle-ellipse-pos-attlist">
06039         <attribute name="svg:cx">
06040             <ref name="coordinate"/>
06041         </attribute>
06042         <attribute name="svg:cy">
06043             <ref name="coordinate"/>
06044         </attribute>
06045     </define>
06046     <define name="draw-circle-attlist">
06047         <attribute name="svg:r">
06048             <ref name="length"/>
06049         </attribute>
06050     </define>
06051     <define name="common-draw-circle-ellipse-attlist">
06052         <interleave>
06053             <optional>
06054                 <attribute name="draw:kind">
06055                     <choice>
06056                         <value>full</value>
06057                         <value>section</value>
06058                         <value>cut</value>
06059                         <value>arc</value>
06060                     </choice>
06061                 </attribute>
06062             </optional>
06063             <optional>
06064                 <attribute name="draw:start-angle">
06065                     <ref name="angle"/>
06066                 </attribute>
06067             </optional>
06068             <optional>
06069                 <attribute name="draw:end-angle">
06070                     <ref name="angle"/>
06071                 </attribute>
06072             </optional>
06073         </interleave>
06074     </define>
06075     <define name="draw-ellipse">
06076         <element name="draw:ellipse">
06077             <choice>
06078                 <group>
06079                     <ref name="draw-ellipse-attlist"/>
06080                     <ref name="common-draw-circle-ellipse-pos-attlist"/>
06081                 </group>
06082                 <group>
06083                     <ref name="common-draw-position-attlist"/>
06084                     <ref name="common-draw-size-attlist"/>
06085                 </group>
06086             </choice>
06087             <ref name="common-draw-circle-ellipse-attlist"/>
06088             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
06089             <ref name="common-draw-caption-id-attlist"/>
06090             <optional>
06091                 <ref name="svg-title"/>
06092             </optional>
06093             <optional>
06094                 <ref name="svg-desc"/>
06095             </optional>
06096             <optional>
06097                 <ref name="office-event-listeners"/>
06098             </optional>
06099             <zeroOrMore>
06100                 <ref name="draw-glue-point"/>
06101             </zeroOrMore>
06102             <ref name="draw-text"/>
06103         </element>
06104     </define>
06105     <define name="draw-ellipse-attlist">
06106         <attribute name="svg:rx">
06107             <ref name="length"/>
06108         </attribute>
06109         <attribute name="svg:ry">
06110             <ref name="length"/>
06111         </attribute>
06112     </define>
06113     <define name="draw-connector">
06114         <element name="draw:connector">
06115             <ref name="draw-connector-attlist"/>
06116             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
06117             <ref name="common-draw-caption-id-attlist"/>
06118             <ref name="common-draw-viewbox-attlist"/>
06119             <optional>
06120                 <ref name="svg-title"/>
06121             </optional>
06122             <optional>
06123                 <ref name="svg-desc"/>
06124             </optional>
06125             <optional>
06126                 <ref name="office-event-listeners"/>
06127             </optional>
06128             <zeroOrMore>
06129                 <ref name="draw-glue-point"/>
06130             </zeroOrMore>
06131             <ref name="draw-text"/>
06132         </element>
06133     </define>
06134     <define name="draw-connector-attlist">
06135         <interleave>
06136             <optional>
06137                 <attribute name="draw:type">
06138                     <choice>
06139                         <value>standard</value>
06140                         <value>lines</value>
06141                         <value>line</value>
06142                         <value>curve</value>
06143                     </choice>
06144                 </attribute>
06145             </optional>
06146             <optional>
06147                 <attribute name="svg:x1">
06148                     <ref name="coordinate"/>
06149                 </attribute>
06150                 <attribute name="svg:y1">
06151                     <ref name="coordinate"/>
06152                 </attribute>
06153             </optional>
06154             <optional>
06155                 <attribute name="draw:start-shape">
06156                     <ref name="IDREF"/>
06157                 </attribute>
06158             </optional>
06159             <optional>
06160                 <attribute name="draw:start-glue-point">
06161                     <ref name="nonNegativeInteger"/>
06162                 </attribute>
06163             </optional>
06164             <optional>
06165                 <attribute name="svg:x2">
06166                     <ref name="coordinate"/>
06167                 </attribute>
06168                 <attribute name="svg:y2">
06169                     <ref name="coordinate"/>
06170                 </attribute>
06171             </optional>
06172             <optional>
06173                 <attribute name="draw:end-shape">
06174                     <ref name="IDREF"/>
06175                 </attribute>
06176             </optional>
06177             <optional>
06178                 <attribute name="draw:end-glue-point">
06179                     <ref name="nonNegativeInteger"/>
06180                 </attribute>
06181             </optional>
06182             <optional>
06183                 <attribute name="draw:line-skew">
06184                     <list>
06185                         <ref name="length"/>
06186                         <optional>
06187                             <ref name="length"/>
06188                             <optional>
06189                                 <ref name="length"/>
06190                             </optional>
06191                         </optional>
06192                     </list>
06193                 </attribute>
06194             </optional>
06195             <optional>
06196                 <attribute name="svg:d">
06197                     <ref name="pathData"/>
06198                 </attribute>
06199             </optional>
06200         </interleave>
06201     </define>
06202     <define name="draw-caption">
06203         <element name="draw:caption">
06204             <ref name="draw-caption-attlist"/>
06205             <ref name="common-draw-position-attlist"/>
06206             <ref name="common-draw-size-attlist"/>
06207             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
06208             <ref name="common-draw-caption-id-attlist"/>
06209             <optional>
06210                 <ref name="svg-title"/>
06211             </optional>
06212             <optional>
06213                 <ref name="svg-desc"/>
06214             </optional>
06215             <optional>
06216                 <ref name="office-event-listeners"/>
06217             </optional>
06218             <zeroOrMore>
06219                 <ref name="draw-glue-point"/>
06220             </zeroOrMore>
06221             <ref name="draw-text"/>
06222         </element>
06223     </define>
06224     <define name="draw-caption-attlist">
06225         <interleave>
06226             <optional>
06227                 <attribute name="draw:caption-point-x">
06228                     <ref name="coordinate"/>
06229                 </attribute>
06230                 <attribute name="draw:caption-point-y">
06231                     <ref name="coordinate"/>
06232                 </attribute>
06233             </optional>
06234             <optional>
06235                 <attribute name="draw:corner-radius">
06236                     <ref name="nonNegativeLength"/>
06237                 </attribute>
06238             </optional>
06239         </interleave>
06240     </define>
06241     <define name="draw-measure">
06242         <element name="draw:measure">
06243             <ref name="draw-measure-attlist"/>
06244             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
06245             <ref name="common-draw-caption-id-attlist"/>
06246             <optional>
06247                 <ref name="svg-title"/>
06248             </optional>
06249             <optional>
06250                 <ref name="svg-desc"/>
06251             </optional>
06252             <optional>
06253                 <ref name="office-event-listeners"/>
06254             </optional>
06255             <zeroOrMore>
06256                 <ref name="draw-glue-point"/>
06257             </zeroOrMore>
06258             <ref name="draw-text"/>
06259         </element>
06260     </define>
06261     <define name="draw-measure-attlist">
06262         <interleave>
06263             <attribute name="svg:x1">
06264                 <ref name="coordinate"/>
06265             </attribute>
06266             <attribute name="svg:y1">
06267                 <ref name="coordinate"/>
06268             </attribute>
06269             <attribute name="svg:x2">
06270                 <ref name="coordinate"/>
06271             </attribute>
06272             <attribute name="svg:y2">
06273                 <ref name="coordinate"/>
06274             </attribute>
06275         </interleave>
06276     </define>
06277     <define name="draw-control">
06278         <element name="draw:control">
06279             <ref name="draw-control-attlist"/>
06280             <ref name="common-draw-position-attlist"/>
06281             <ref name="common-draw-size-attlist"/>
06282             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
06283             <ref name="common-draw-caption-id-attlist"/>
06284             <optional>
06285                 <ref name="svg-title"/>
06286             </optional>
06287             <optional>
06288                 <ref name="svg-desc"/>
06289             </optional>
06290             <zeroOrMore>
06291                 <ref name="draw-glue-point"/>
06292             </zeroOrMore>
06293         </element>
06294     </define>
06295     <define name="draw-control-attlist">
06296         <attribute name="draw:control">
06297             <ref name="IDREF"/>
06298         </attribute>
06299     </define>
06300     <define name="draw-page-thumbnail">
06301         <element name="draw:page-thumbnail">
06302             <ref name="draw-page-thumbnail-attlist"/>
06303             <ref name="common-draw-position-attlist"/>
06304             <ref name="common-draw-size-attlist"/>
06305             <ref name="presentation-shape-attlist"/>
06306             <ref name="common-draw-shape-with-styles-attlist"/>
06307             <ref name="common-draw-caption-id-attlist"/>
06308             <optional>
06309                 <ref name="svg-title"/>
06310             </optional>
06311             <optional>
06312                 <ref name="svg-desc"/>
06313             </optional>
06314         </element>
06315     </define>
06316     <define name="draw-page-thumbnail-attlist">
06317         <optional>
06318             <attribute name="draw:page-number">
06319                 <ref name="positiveInteger"/>
06320             </attribute>
06321         </optional>
06322     </define>
06323     <define name="draw-g">
06324         <element name="draw:g">
06325             <ref name="draw-g-attlist"/>
06326             <ref name="common-draw-z-index-attlist"/>
06327             <ref name="common-draw-name-attlist"/>
06328             <ref name="common-draw-id-attlist"/>
06329             <ref name="common-draw-style-name-attlist"/>
06330             <ref name="common-text-spreadsheet-shape-attlist"/>
06331             <ref name="common-draw-caption-id-attlist"/>
06332             <optional>
06333                 <ref name="svg-title"/>
06334             </optional>
06335             <optional>
06336                 <ref name="svg-desc"/>
06337             </optional>
06338             <optional>
06339                 <ref name="office-event-listeners"/>
06340             </optional>
06341             <zeroOrMore>
06342                 <ref name="draw-glue-point"/>
06343             </zeroOrMore>
06344             <zeroOrMore>
06345                 <ref name="shape"/>
06346             </zeroOrMore>
06347         </element>
06348     </define>
06349     <define name="draw-g-attlist">
06350         <optional>
06351             <attribute name="svg:y">
06352                 <ref name="coordinate"/>
06353             </attribute>
06354         </optional>
06355     </define>
06356     <define name="common-draw-name-attlist">
06357         <optional>
06358             <attribute name="draw:name">
06359                 <ref name="string"/>
06360             </attribute>
06361         </optional>
06362     </define>
06363     <define name="common-draw-caption-id-attlist">
06364         <optional>
06365             <attribute name="draw:caption-id">
06366                 <ref name="IDREF"/>
06367             </attribute>
06368         </optional>
06369     </define>
06370     <define name="common-draw-position-attlist">
06371         <optional>
06372             <attribute name="svg:x">
06373                 <ref name="coordinate"/>
06374             </attribute>
06375         </optional>
06376         <optional>
06377             <attribute name="svg:y">
06378                 <ref name="coordinate"/>
06379             </attribute>
06380         </optional>
06381     </define>
06382     <define name="common-draw-size-attlist">
06383         <optional>
06384             <attribute name="svg:width">
06385                 <ref name="length"/>
06386             </attribute>
06387         </optional>
06388         <optional>
06389             <attribute name="svg:height">
06390                 <ref name="length"/>
06391             </attribute>
06392         </optional>
06393     </define>
06394     <define name="common-draw-transform-attlist">
06395         <optional>
06396             <attribute name="draw:transform">
06397                 <ref name="string"/>
06398             </attribute>
06399         </optional>
06400     </define>
06401     <define name="common-draw-viewbox-attlist">
06402         <attribute name="svg:viewBox">
06403             <list>
06404                 <ref name="integer"/>
06405                 <ref name="integer"/>
06406                 <ref name="integer"/>
06407                 <ref name="integer"/>
06408             </list>
06409         </attribute>
06410     </define>
06411     <define name="common-draw-style-name-attlist">
06412         <choice>
06413             <group>
06414                 <optional>
06415                     <attribute name="draw:style-name">
06416                         <ref name="styleNameRef"/>
06417                     </attribute>
06418                 </optional>
06419                 <optional>
06420                     <attribute name="draw:class-names">
06421                         <ref name="styleNameRefs"/>
06422                     </attribute>
06423                 </optional>
06424             </group>
06425             <group>
06426                 <optional>
06427                     <attribute name="presentation:style-name">
06428                         <ref name="styleNameRef"/>
06429                     </attribute>
06430                 </optional>
06431                 <optional>
06432                     <attribute name="presentation:class-names">
06433                         <ref name="styleNameRefs"/>
06434                     </attribute>
06435                 </optional>
06436             </group>
06437         </choice>
06438     </define>
06439     <define name="common-draw-text-style-name-attlist">
06440         <optional>
06441             <attribute name="draw:text-style-name">
06442                 <ref name="styleNameRef"/>
06443             </attribute>
06444         </optional>
06445     </define>
06446     <define name="common-draw-layer-name-attlist">
06447         <optional>
06448             <attribute name="draw:layer">
06449                 <ref name="string"/>
06450             </attribute>
06451         </optional>
06452     </define>
06453     <define name="common-draw-id-attlist">
06454         <optional>
06455             <group>
06456                 <ref name="xml-id"/>
06457                 <optional>
06458                     <attribute name="draw:id">
06459                         <ref name="NCName"/>
06460                     </attribute>
06461                 </optional>
06462             </group>
06463         </optional>
06464     </define>
06465     <define name="common-draw-z-index-attlist">
06466         <optional>
06467             <attribute name="draw:z-index">
06468                 <ref name="nonNegativeInteger"/>
06469             </attribute>
06470         </optional>
06471     </define>
06472     <define name="common-text-spreadsheet-shape-attlist">
06473         <interleave>
06474             <optional>
06475                 <attribute name="table:end-cell-address">
06476                     <ref name="cellAddress"/>
06477                 </attribute>
06478             </optional>
06479             <optional>
06480                 <attribute name="table:end-x">
06481                     <ref name="coordinate"/>
06482                 </attribute>
06483             </optional>
06484             <optional>
06485                 <attribute name="table:end-y">
06486                     <ref name="coordinate"/>
06487                 </attribute>
06488             </optional>
06489             <optional>
06490                 <attribute name="table:table-background">
06491                     <ref name="boolean"/>
06492                 </attribute>
06493             </optional>
06494             <ref name="common-text-anchor-attlist"/>
06495         </interleave>
06496     </define>
06497     <define name="common-text-anchor-attlist">
06498         <interleave>
06499             <optional>
06500                 <attribute name="text:anchor-type">
06501                     <choice>
06502                         <value>page</value>
06503                         <value>frame</value>
06504                         <value>paragraph</value>
06505                         <value>char</value>
06506                         <value>as-char</value>
06507                     </choice>
06508                 </attribute>
06509             </optional>
06510             <optional>
06511                 <attribute name="text:anchor-page-number">
06512                     <ref name="positiveInteger"/>
06513                 </attribute>
06514             </optional>
06515         </interleave>
06516     </define>
06517     <define name="draw-text">
06518         <zeroOrMore>
06519             <choice>
06520                 <ref name="text-p"/>
06521                 <ref name="text-list"/>
06522             </choice>
06523         </zeroOrMore>
06524     </define>
06525     <define name="common-draw-shape-with-styles-attlist">
06526         <ref name="common-draw-z-index-attlist"/>
06527         <ref name="common-draw-id-attlist"/>
06528         <ref name="common-draw-layer-name-attlist"/>
06529         <ref name="common-draw-style-name-attlist"/>
06530         <ref name="common-draw-transform-attlist"/>
06531         <ref name="common-draw-name-attlist"/>
06532         <ref name="common-text-spreadsheet-shape-attlist"/>
06533     </define>
06534     <define name="common-draw-shape-with-text-and-styles-attlist">
06535         <ref name="common-draw-shape-with-styles-attlist"/>
06536         <ref name="common-draw-text-style-name-attlist"/>
06537     </define>
06538     <define name="draw-glue-point">
06539         <element name="draw:glue-point">
06540             <ref name="draw-glue-point-attlist"/>
06541             <empty/>
06542         </element>
06543     </define>
06544     <define name="draw-glue-point-attlist">
06545         <interleave>
06546             <attribute name="draw:id">
06547                 <ref name="nonNegativeInteger"/>
06548             </attribute>
06549             <attribute name="svg:x">
06550                 <choice>
06551                     <ref name="distance"/>
06552                     <ref name="percent"/>
06553                 </choice>
06554             </attribute>
06555             <attribute name="svg:y">
06556                 <choice>
06557                     <ref name="distance"/>
06558                     <ref name="percent"/>
06559                 </choice>
06560             </attribute>
06561             <optional>
06562                 <attribute name="draw:align">
06563                     <choice>
06564                         <value>top-left</value>
06565                         <value>top</value>
06566                         <value>top-right</value>
06567                         <value>left</value>
06568                         <value>center</value>
06569                         <value>right</value>
06570                         <value>bottom-left</value>
06571                         <value>bottom-right</value>
06572                     </choice>
06573                 </attribute>
06574             </optional>
06575             <attribute name="draw:escape-direction">
06576                 <choice>
06577                     <value>auto</value>
06578                     <value>left</value>
06579                     <value>right</value>
06580                     <value>up</value>
06581                     <value>down</value>
06582                     <value>horizontal</value>
06583                     <value>vertical</value>
06584                 </choice>
06585             </attribute>
06586         </interleave>
06587     </define>
06588     <define name="svg-title">
06589         <element name="svg:title">
06590             <text/>
06591         </element>
06592     </define>
06593     <define name="svg-desc">
06594         <element name="svg:desc">
06595             <text/>
06596         </element>
06597     </define>
06598     <define name="draw-frame">
06599         <element name="draw:frame">
06600             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
06601             <ref name="common-draw-position-attlist"/>
06602             <ref name="common-draw-rel-size-attlist"/>
06603             <ref name="common-draw-caption-id-attlist"/>
06604             <ref name="presentation-shape-attlist"/>
06605             <ref name="draw-frame-attlist"/>
06606             <zeroOrMore>
06607                 <choice>
06608                     <ref name="draw-text-box"/>
06609                     <ref name="draw-image"/>
06610                     <ref name="draw-object"/>
06611                     <ref name="draw-object-ole"/>
06612                     <ref name="draw-applet"/>
06613                     <ref name="draw-floating-frame"/>
06614                     <ref name="draw-plugin"/>
06615                     <ref name="table-table"/>
06616                 </choice>
06617             </zeroOrMore>
06618             <optional>
06619                 <ref name="office-event-listeners"/>
06620             </optional>
06621             <zeroOrMore>
06622                 <ref name="draw-glue-point"/>
06623             </zeroOrMore>
06624             <optional>
06625                 <ref name="draw-image-map"/>
06626             </optional>
06627             <optional>
06628                 <ref name="svg-title"/>
06629             </optional>
06630             <optional>
06631                 <ref name="svg-desc"/>
06632             </optional>
06633             <optional>
06634                 <choice>
06635                     <ref name="draw-contour-polygon"/>
06636                     <ref name="draw-contour-path"/>
06637                 </choice>
06638             </optional>
06639         </element>
06640     </define>
06641     <define name="common-draw-rel-size-attlist">
06642         <ref name="common-draw-size-attlist"/>
06643         <optional>
06644             <attribute name="style:rel-width">
06645                 <choice>
06646                     <ref name="percent"/>
06647                     <value>scale</value>
06648                     <value>scale-min</value>
06649                 </choice>
06650             </attribute>
06651         </optional>
06652         <optional>
06653             <attribute name="style:rel-height">
06654                 <choice>
06655                     <ref name="percent"/>
06656                     <value>scale</value>
06657                     <value>scale-min</value>
06658                 </choice>
06659             </attribute>
06660         </optional>
06661     </define>
06662     <define name="draw-frame-attlist">
06663         <optional>
06664             <attribute name="draw:copy-of">
06665                 <ref name="string"/>
06666             </attribute>
06667         </optional>
06668     </define>
06669     <define name="draw-text-box">
06670         <element name="draw:text-box">
06671             <ref name="draw-text-box-attlist"/>
06672             <zeroOrMore>
06673                 <ref name="text-content"/>
06674             </zeroOrMore>
06675         </element>
06676     </define>
06677     <define name="draw-text-box-attlist">
06678         <interleave>
06679             <optional>
06680                 <attribute name="draw:chain-next-name">
06681                     <ref name="string"/>
06682                 </attribute>
06683             </optional>
06684             <optional>
06685                 <attribute name="draw:corner-radius">
06686                     <ref name="nonNegativeLength"/>
06687                 </attribute>
06688             </optional>
06689             <optional>
06690                 <attribute name="fo:min-height">
06691                     <choice>
06692                         <ref name="length"/>
06693                         <ref name="percent"/>
06694                     </choice>
06695                 </attribute>
06696             </optional>
06697             <optional>
06698                 <attribute name="fo:min-width">
06699                     <choice>
06700                         <ref name="length"/>
06701                         <ref name="percent"/>
06702                     </choice>
06703                 </attribute>
06704             </optional>
06705             <optional>
06706                 <attribute name="fo:max-height">
06707                     <choice>
06708                         <ref name="length"/>
06709                         <ref name="percent"/>
06710                     </choice>
06711                 </attribute>
06712             </optional>
06713             <optional>
06714                 <attribute name="fo:max-width">
06715                     <choice>
06716                         <ref name="length"/>
06717                         <ref name="percent"/>
06718                     </choice>
06719                 </attribute>
06720             </optional>
06721             <optional>
06722                 <group>
06723                     <ref name="xml-id"/>
06724                     <optional>
06725                         <attribute name="text:id">
06726                             <ref name="NCName"/>
06727                         </attribute>
06728                     </optional>
06729                 </group>
06730             </optional>
06731         </interleave>
06732     </define>
06733     <define name="draw-image">
06734         <element name="draw:image">
06735             <ref name="draw-image-attlist"/>
06736             <choice>
06737                 <ref name="common-draw-data-attlist"/>
06738                 <ref name="office-binary-data"/>
06739             </choice>
06740             <ref name="draw-text"/>
06741         </element>
06742     </define>
06743     <define name="common-draw-data-attlist">
06744         <group>
06745             <attribute name="xlink:type">
06746                 <value>simple</value>
06747             </attribute>
06748             <attribute name="xlink:href">
06749                 <ref name="anyIRI"/>
06750             </attribute>
06751             <optional>
06752                 <attribute name="xlink:show">
06753                     <value>embed</value>
06754                 </attribute>
06755             </optional>
06756             <optional>
06757                 <attribute name="xlink:actuate">
06758                     <value>onLoad</value>
06759                 </attribute>
06760             </optional>
06761         </group>
06762     </define>
06763     <define name="office-binary-data">
06764         <element name="office:binary-data">
06765             <ref name="base64Binary"/>
06766         </element>
06767     </define>
06768     <define name="draw-image-attlist">
06769         <interleave>
06770             <optional>
06771                 <attribute name="draw:filter-name">
06772                     <ref name="string"/>
06773                 </attribute>
06774             </optional>
06775             <optional>
06776                 <ref name="xml-id"/>
06777             </optional>
06778         </interleave>
06779     </define>
06780     <define name="draw-object">
06781         <element name="draw:object">
06782             <ref name="draw-object-attlist"/>
06783             <choice>
06784                 <ref name="common-draw-data-attlist"/>
06785                 <ref name="office-document"/>
06786                 <ref name="math-math"/>
06787             </choice>
06788         </element>
06789     </define>
06790     <define name="draw-object-ole">
06791         <element name="draw:object-ole">
06792             <ref name="draw-object-ole-attlist"/>
06793             <choice>
06794                 <ref name="common-draw-data-attlist"/>
06795                 <ref name="office-binary-data"/>
06796             </choice>
06797         </element>
06798     </define>
06799     <define name="draw-object-attlist">
06800         <interleave>
06801             <optional>
06802                 <attribute name="draw:notify-on-update-of-ranges">
06803                     <choice>
06804                         <ref name="cellRangeAddressList"/>
06805                         <ref name="string"/>
06806                     </choice>
06807                 </attribute>
06808             </optional>
06809             <optional>
06810                 <ref name="xml-id"/>
06811             </optional>
06812         </interleave>
06813     </define>
06814     <define name="draw-object-ole-attlist">
06815         <interleave>
06816             <optional>
06817                 <attribute name="draw:class-id">
06818                     <ref name="string"/>
06819                 </attribute>
06820             </optional>
06821             <optional>
06822                 <ref name="xml-id"/>
06823             </optional>
06824         </interleave>
06825     </define>
06826     <define name="draw-applet">
06827         <element name="draw:applet">
06828             <ref name="draw-applet-attlist"/>
06829             <optional>
06830                 <ref name="common-draw-data-attlist"/>
06831             </optional>
06832             <zeroOrMore>
06833                 <ref name="draw-param"/>
06834             </zeroOrMore>
06835         </element>
06836     </define>
06837     <define name="draw-applet-attlist">
06838         <interleave>
06839             <optional>
06840                 <attribute name="draw:code">
06841                     <ref name="string"/>
06842                 </attribute>
06843             </optional>
06844             <optional>
06845                 <attribute name="draw:object">
06846                     <ref name="string"/>
06847                 </attribute>
06848             </optional>
06849             <optional>
06850                 <attribute name="draw:archive">
06851                     <ref name="string"/>
06852                 </attribute>
06853             </optional>
06854             <optional>
06855                 <attribute name="draw:may-script">
06856                     <ref name="boolean"/>
06857                 </attribute>
06858             </optional>
06859             <optional>
06860                 <ref name="xml-id"/>
06861             </optional>
06862         </interleave>
06863     </define>
06864     <define name="draw-plugin">
06865         <element name="draw:plugin">
06866             <ref name="draw-plugin-attlist"/>
06867             <ref name="common-draw-data-attlist"/>
06868             <zeroOrMore>
06869                 <ref name="draw-param"/>
06870             </zeroOrMore>
06871         </element>
06872     </define>
06873     <define name="draw-plugin-attlist">
06874         <interleave>
06875             <optional>
06876                 <attribute name="draw:mime-type">
06877                     <ref name="string"/>
06878                 </attribute>
06879             </optional>
06880             <optional>
06881                 <ref name="xml-id"/>
06882             </optional>
06883         </interleave>
06884     </define>
06885     <define name="draw-param">
06886         <element name="draw:param">
06887             <ref name="draw-param-attlist"/>
06888             <empty/>
06889         </element>
06890     </define>
06891     <define name="draw-param-attlist">
06892         <interleave>
06893             <optional>
06894                 <attribute name="draw:name">
06895                     <ref name="string"/>
06896                 </attribute>
06897             </optional>
06898             <optional>
06899                 <attribute name="draw:value">
06900                     <ref name="string"/>
06901                 </attribute>
06902             </optional>
06903         </interleave>
06904     </define>
06905     <define name="draw-floating-frame">
06906         <element name="draw:floating-frame">
06907             <ref name="draw-floating-frame-attlist"/>
06908             <ref name="common-draw-data-attlist"/>
06909         </element>
06910     </define>
06911     <define name="draw-floating-frame-attlist">
06912         <interleave>
06913             <optional>
06914                 <attribute name="draw:frame-name">
06915                     <ref name="string"/>
06916                 </attribute>
06917             </optional>
06918             <optional>
06919                 <ref name="xml-id"/>
06920             </optional>
06921         </interleave>
06922     </define>
06923     <define name="draw-contour-polygon">
06924         <element name="draw:contour-polygon">
06925             <ref name="common-contour-attlist"/>
06926             <ref name="common-draw-size-attlist"/>
06927             <ref name="common-draw-viewbox-attlist"/>
06928             <ref name="common-draw-points-attlist"/>
06929             <empty/>
06930         </element>
06931     </define>
06932     <define name="draw-contour-path">
06933         <element name="draw:contour-path">
06934             <ref name="common-contour-attlist"/>
06935             <ref name="common-draw-size-attlist"/>
06936             <ref name="common-draw-viewbox-attlist"/>
06937             <ref name="common-draw-path-data-attlist"/>
06938             <empty/>
06939         </element>
06940     </define>
06941     <define name="common-contour-attlist">
06942         <attribute name="draw:recreate-on-edit">
06943             <ref name="boolean"/>
06944         </attribute>
06945     </define>
06946     <define name="draw-a">
06947         <element name="draw:a">
06948             <ref name="draw-a-attlist"/>
06949             <ref name="shape-instance"/>
06950         </element>
06951     </define>
06952     <define name="draw-a-attlist">
06953         <interleave>
06954             <attribute name="xlink:type">
06955                 <value>simple</value>
06956             </attribute>
06957             <attribute name="xlink:href">
06958                 <ref name="anyIRI"/>
06959             </attribute>
06960             <optional>
06961                 <attribute name="xlink:actuate">
06962                     <value>onRequest</value>
06963                 </attribute>
06964             </optional>
06965             <optional>
06966                 <attribute name="office:target-frame-name">
06967                     <ref name="targetFrameName"/>
06968                 </attribute>
06969             </optional>
06970             <optional>
06971                 <attribute name="xlink:show">
06972                     <choice>
06973                         <value>new</value>
06974                         <value>replace</value>
06975                     </choice>
06976                 </attribute>
06977             </optional>
06978             <optional>
06979                 <attribute name="office:name">
06980                     <ref name="string"/>
06981                 </attribute>
06982             </optional>
06983             <optional>
06984                 <attribute name="office:title">
06985                     <ref name="string"/>
06986                 </attribute>
06987             </optional>
06988             <optional>
06989                 <attribute name="office:server-map">
06990                     <ref name="boolean"/>
06991                 </attribute>
06992             </optional>
06993             <optional>
06994                 <ref name="xml-id"/>
06995             </optional>
06996         </interleave>
06997     </define>
06998     <define name="draw-image-map">
06999         <element name="draw:image-map">
07000             <zeroOrMore>
07001                 <choice>
07002                     <ref name="draw-area-rectangle"/>
07003                     <ref name="draw-area-circle"/>
07004                     <ref name="draw-area-polygon"/>
07005                 </choice>
07006             </zeroOrMore>
07007         </element>
07008     </define>
07009     <define name="draw-area-rectangle">
07010         <element name="draw:area-rectangle">
07011             <ref name="common-draw-area-attlist"/>
07012             <attribute name="svg:x">
07013                 <ref name="coordinate"/>
07014             </attribute>
07015             <attribute name="svg:y">
07016                 <ref name="coordinate"/>
07017             </attribute>
07018             <attribute name="svg:width">
07019                 <ref name="length"/>
07020             </attribute>
07021             <attribute name="svg:height">
07022                 <ref name="length"/>
07023             </attribute>
07024             <optional>
07025                 <ref name="svg-title"/>
07026             </optional>
07027             <optional>
07028                 <ref name="svg-desc"/>
07029             </optional>
07030             <optional>
07031                 <ref name="office-event-listeners"/>
07032             </optional>
07033         </element>
07034     </define>
07035     <define name="draw-area-circle">
07036         <element name="draw:area-circle">
07037             <ref name="common-draw-area-attlist"/>
07038             <attribute name="svg:cx">
07039                 <ref name="coordinate"/>
07040             </attribute>
07041             <attribute name="svg:cy">
07042                 <ref name="coordinate"/>
07043             </attribute>
07044             <attribute name="svg:r">
07045                 <ref name="length"/>
07046             </attribute>
07047             <optional>
07048                 <ref name="svg-title"/>
07049             </optional>
07050             <optional>
07051                 <ref name="svg-desc"/>
07052             </optional>
07053             <optional>
07054                 <ref name="office-event-listeners"/>
07055             </optional>
07056         </element>
07057     </define>
07058     <define name="draw-area-polygon">
07059         <element name="draw:area-polygon">
07060             <ref name="common-draw-area-attlist"/>
07061             <attribute name="svg:x">
07062                 <ref name="coordinate"/>
07063             </attribute>
07064             <attribute name="svg:y">
07065                 <ref name="coordinate"/>
07066             </attribute>
07067             <attribute name="svg:width">
07068                 <ref name="length"/>
07069             </attribute>
07070             <attribute name="svg:height">
07071                 <ref name="length"/>
07072             </attribute>
07073             <ref name="common-draw-viewbox-attlist"/>
07074             <ref name="common-draw-points-attlist"/>
07075             <optional>
07076                 <ref name="svg-title"/>
07077             </optional>
07078             <optional>
07079                 <ref name="svg-desc"/>
07080             </optional>
07081             <optional>
07082                 <ref name="office-event-listeners"/>
07083             </optional>
07084         </element>
07085     </define>
07086     <define name="common-draw-area-attlist">
07087         <interleave>
07088             <optional>
07089                 <attribute name="xlink:type">
07090                     <value>simple</value>
07091                 </attribute>
07092                 <attribute name="xlink:href">
07093                     <ref name="anyIRI"/>
07094                 </attribute>
07095                 <optional>
07096                     <attribute name="office:target-frame-name">
07097                         <ref name="targetFrameName"/>
07098                     </attribute>
07099                 </optional>
07100                 <optional>
07101                     <attribute name="xlink:show">
07102                         <choice>
07103                             <value>new</value>
07104                             <value>replace</value>
07105                         </choice>
07106                     </attribute>
07107                 </optional>
07108             </optional>
07109             <optional>
07110                 <attribute name="office:name">
07111                     <ref name="string"/>
07112                 </attribute>
07113             </optional>
07114             <optional>
07115                 <attribute name="draw:nohref">
07116                     <value>nohref</value>
07117                 </attribute>
07118             </optional>
07119         </interleave>
07120     </define>
07121     <define name="dr3d-scene">
07122         <element name="dr3d:scene">
07123             <ref name="dr3d-scene-attlist"/>
07124             <ref name="common-draw-position-attlist"/>
07125             <ref name="common-draw-size-attlist"/>
07126             <ref name="common-draw-style-name-attlist"/>
07127             <ref name="common-draw-z-index-attlist"/>
07128             <ref name="common-draw-id-attlist"/>
07129             <ref name="common-draw-layer-name-attlist"/>
07130             <ref name="common-text-spreadsheet-shape-attlist"/>
07131             <ref name="common-dr3d-transform-attlist"/>
07132             <ref name="common-draw-caption-id-attlist"/>
07133             <optional>
07134                 <ref name="svg-title"/>
07135             </optional>
07136             <optional>
07137                 <ref name="svg-desc"/>
07138             </optional>
07139             <zeroOrMore>
07140                 <ref name="dr3d-light"/>
07141             </zeroOrMore>
07142             <zeroOrMore>
07143                 <ref name="shapes3d"/>
07144             </zeroOrMore>
07145             <zeroOrMore>
07146                 <ref name="draw-glue-point"/>
07147             </zeroOrMore>
07148         </element>
07149     </define>
07150     <define name="shapes3d">
07151         <choice>
07152             <ref name="dr3d-scene"/>
07153             <ref name="dr3d-extrude"/>
07154             <ref name="dr3d-sphere"/>
07155             <ref name="dr3d-rotate"/>
07156             <ref name="dr3d-cube"/>
07157         </choice>
07158     </define>
07159     <define name="dr3d-scene-attlist">
07160         <interleave>
07161             <optional>
07162                 <attribute name="dr3d:vrp">
07163                     <ref name="vector3D"/>
07164                 </attribute>
07165             </optional>
07166             <optional>
07167                 <attribute name="dr3d:vpn">
07168                     <ref name="vector3D"/>
07169                 </attribute>
07170             </optional>
07171             <optional>
07172                 <attribute name="dr3d:vup">
07173                     <ref name="vector3D"/>
07174                 </attribute>
07175             </optional>
07176             <optional>
07177                 <attribute name="dr3d:projection">
07178                     <choice>
07179                         <value>parallel</value>
07180                         <value>perspective</value>
07181                     </choice>
07182                 </attribute>
07183             </optional>
07184             <optional>
07185                 <attribute name="dr3d:distance">
07186                     <ref name="length"/>
07187                 </attribute>
07188             </optional>
07189             <optional>
07190                 <attribute name="dr3d:focal-length">
07191                     <ref name="length"/>
07192                 </attribute>
07193             </optional>
07194             <optional>
07195                 <attribute name="dr3d:shadow-slant">
07196                     <ref name="angle"/>
07197                 </attribute>
07198             </optional>
07199             <optional>
07200                 <attribute name="dr3d:shade-mode">
07201                     <choice>
07202                         <value>flat</value>
07203                         <value>phong</value>
07204                         <value>gouraud</value>
07205                         <value>draft</value>
07206                     </choice>
07207                 </attribute>
07208             </optional>
07209             <optional>
07210                 <attribute name="dr3d:ambient-color">
07211                     <ref name="color"/>
07212                 </attribute>
07213             </optional>
07214             <optional>
07215                 <attribute name="dr3d:lighting-mode">
07216                     <ref name="boolean"/>
07217                 </attribute>
07218             </optional>
07219         </interleave>
07220     </define>
07221     <define name="common-dr3d-transform-attlist">
07222         <optional>
07223             <attribute name="dr3d:transform">
07224                 <ref name="string"/>
07225             </attribute>
07226         </optional>
07227     </define>
07228     <define name="dr3d-light">
07229         <element name="dr3d:light">
07230             <ref name="dr3d-light-attlist"/>
07231             <empty/>
07232         </element>
07233     </define>
07234     <define name="dr3d-light-attlist">
07235         <interleave>
07236             <optional>
07237                 <attribute name="dr3d:diffuse-color">
07238                     <ref name="color"/>
07239                 </attribute>
07240             </optional>
07241             <attribute name="dr3d:direction">
07242                 <ref name="vector3D"/>
07243             </attribute>
07244             <optional>
07245                 <attribute name="dr3d:enabled">
07246                     <ref name="boolean"/>
07247                 </attribute>
07248             </optional>
07249             <optional>
07250                 <attribute name="dr3d:specular">
07251                     <ref name="boolean"/>
07252                 </attribute>
07253             </optional>
07254         </interleave>
07255     </define>
07256     <define name="dr3d-cube">
07257         <element name="dr3d:cube">
07258             <ref name="dr3d-cube-attlist"/>
07259             <ref name="common-draw-z-index-attlist"/>
07260             <ref name="common-draw-id-attlist"/>
07261             <ref name="common-draw-layer-name-attlist"/>
07262             <ref name="common-draw-style-name-attlist"/>
07263             <ref name="common-dr3d-transform-attlist"/>
07264             <empty/>
07265         </element>
07266     </define>
07267     <define name="dr3d-cube-attlist">
07268         <optional>
07269             <attribute name="dr3d:min-edge">
07270                 <ref name="vector3D"/>
07271             </attribute>
07272         </optional>
07273         <optional>
07274             <attribute name="dr3d:max-edge">
07275                 <ref name="vector3D"/>
07276             </attribute>
07277         </optional>
07278     </define>
07279     <define name="dr3d-sphere">
07280         <element name="dr3d:sphere">
07281             <ref name="dr3d-sphere-attlist"/>
07282             <ref name="common-draw-z-index-attlist"/>
07283             <ref name="common-draw-id-attlist"/>
07284             <ref name="common-draw-layer-name-attlist"/>
07285             <ref name="common-draw-style-name-attlist"/>
07286             <ref name="common-dr3d-transform-attlist"/>
07287             <empty/>
07288         </element>
07289     </define>
07290     <define name="dr3d-sphere-attlist">
07291         <interleave>
07292             <optional>
07293                 <attribute name="dr3d:center">
07294                     <ref name="vector3D"/>
07295                 </attribute>
07296             </optional>
07297             <optional>
07298                 <attribute name="dr3d:size">
07299                     <ref name="vector3D"/>
07300                 </attribute>
07301             </optional>
07302         </interleave>
07303     </define>
07304     <define name="dr3d-extrude">
07305         <element name="dr3d:extrude">
07306             <ref name="common-draw-path-data-attlist"/>
07307             <ref name="common-draw-viewbox-attlist"/>
07308             <ref name="common-draw-id-attlist"/>
07309             <ref name="common-draw-z-index-attlist"/>
07310             <ref name="common-draw-layer-name-attlist"/>
07311             <ref name="common-draw-style-name-attlist"/>
07312             <ref name="common-dr3d-transform-attlist"/>
07313             <empty/>
07314         </element>
07315     </define>
07316     <define name="dr3d-rotate">
07317         <element name="dr3d:rotate">
07318             <ref name="common-draw-viewbox-attlist"/>
07319             <ref name="common-draw-path-data-attlist"/>
07320             <ref name="common-draw-z-index-attlist"/>
07321             <ref name="common-draw-id-attlist"/>
07322             <ref name="common-draw-layer-name-attlist"/>
07323             <ref name="common-draw-style-name-attlist"/>
07324             <ref name="common-dr3d-transform-attlist"/>
07325             <empty/>
07326         </element>
07327     </define>
07328     <define name="draw-custom-shape">
07329         <element name="draw:custom-shape">
07330             <ref name="draw-custom-shape-attlist"/>
07331             <ref name="common-draw-position-attlist"/>
07332             <ref name="common-draw-size-attlist"/>
07333             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
07334             <ref name="common-draw-caption-id-attlist"/>
07335             <optional>
07336                 <ref name="svg-title"/>
07337             </optional>
07338             <optional>
07339                 <ref name="svg-desc"/>
07340             </optional>
07341             <optional>
07342                 <ref name="office-event-listeners"/>
07343             </optional>
07344             <zeroOrMore>
07345                 <ref name="draw-glue-point"/>
07346             </zeroOrMore>
07347             <ref name="draw-text"/>
07348             <optional>
07349                 <ref name="draw-enhanced-geometry"/>
07350             </optional>
07351         </element>
07352     </define>
07353     <define name="draw-custom-shape-attlist">
07354         <interleave>
07355             <optional>
07356                 <attribute name="draw:engine">
07357                     <ref name="namespacedToken"/>
07358                 </attribute>
07359             </optional>
07360             <optional>
07361                 <attribute name="draw:data">
07362                     <ref name="string"/>
07363                 </attribute>
07364             </optional>
07365         </interleave>
07366     </define>
07367     <define name="draw-enhanced-geometry">
07368         <element name="draw:enhanced-geometry">
07369             <ref name="draw-enhanced-geometry-attlist"/>
07370             <zeroOrMore>
07371                 <ref name="draw-equation"/>
07372             </zeroOrMore>
07373             <zeroOrMore>
07374                 <ref name="draw-handle"/>
07375             </zeroOrMore>
07376         </element>
07377     </define>
07378     <define name="draw-enhanced-geometry-attlist">
07379         <interleave>
07380             <optional>
07381                 <attribute name="draw:type">
07382                     <ref name="custom-shape-type"/>
07383                 </attribute>
07384             </optional>
07385             <optional>
07386                 <attribute name="svg:viewBox">
07387                     <list>
07388                         <ref name="integer"/>
07389                         <ref name="integer"/>
07390                         <ref name="integer"/>
07391                         <ref name="integer"/>
07392                     </list>
07393                 </attribute>
07394             </optional>
07395             <optional>
07396                 <attribute name="draw:mirror-vertical">
07397                     <ref name="boolean"/>
07398                 </attribute>
07399             </optional>
07400             <optional>
07401                 <attribute name="draw:mirror-horizontal">
07402                     <ref name="boolean"/>
07403                 </attribute>
07404             </optional>
07405             <optional>
07406                 <attribute name="draw:text-rotate-angle">
07407                     <ref name="angle"/>
07408                 </attribute>
07409             </optional>
07410             <optional>
07411                 <attribute name="draw:extrusion-allowed">
07412                     <ref name="boolean"/>
07413                 </attribute>
07414             </optional>
07415             <optional>
07416                 <attribute name="draw:text-path-allowed">
07417                     <ref name="boolean"/>
07418                 </attribute>
07419             </optional>
07420             <optional>
07421                 <attribute name="draw:concentric-gradient-fill-allowed">
07422                     <ref name="boolean"/>
07423                 </attribute>
07424             </optional>
07425             <optional>
07426                 <attribute name="draw:extrusion">
07427                     <ref name="boolean"/>
07428                 </attribute>
07429             </optional>
07430             <optional>
07431                 <attribute name="draw:extrusion-brightness">
07432                     <ref name="zeroToHundredPercent"/>
07433                 </attribute>
07434             </optional>
07435             <optional>
07436                 <attribute name="draw:extrusion-depth">
07437                     <list>
07438                         <ref name="length"/>
07439                         <ref name="double"/>
07440                     </list>
07441                 </attribute>
07442             </optional>
07443             <optional>
07444                 <attribute name="draw:extrusion-diffusion">
07445                     <ref name="percent"/>
07446                 </attribute>
07447             </optional>
07448             <optional>
07449                 <attribute name="draw:extrusion-number-of-line-segments">
07450                     <ref name="integer"/>
07451                 </attribute>
07452             </optional>
07453             <optional>
07454                 <attribute name="draw:extrusion-light-face">
07455                     <ref name="boolean"/>
07456                 </attribute>
07457             </optional>
07458             <optional>
07459                 <attribute name="draw:extrusion-first-light-harsh">
07460                     <ref name="boolean"/>
07461                 </attribute>
07462             </optional>
07463             <optional>
07464                 <attribute name="draw:extrusion-second-light-harsh">
07465                     <ref name="boolean"/>
07466                 </attribute>
07467             </optional>
07468             <optional>
07469                 <attribute name="draw:extrusion-first-light-level">
07470                     <ref name="zeroToHundredPercent"/>
07471                 </attribute>
07472             </optional>
07473             <optional>
07474                 <attribute name="draw:extrusion-second-light-level">
07475                     <ref name="zeroToHundredPercent"/>
07476                 </attribute>
07477             </optional>
07478             <optional>
07479                 <attribute name="draw:extrusion-first-light-direction">
07480                     <ref name="vector3D"/>
07481                 </attribute>
07482             </optional>
07483             <optional>
07484                 <attribute name="draw:extrusion-second-light-direction">
07485                     <ref name="vector3D"/>
07486                 </attribute>
07487             </optional>
07488             <optional>
07489                 <attribute name="draw:extrusion-metal">
07490                     <ref name="boolean"/>
07491                 </attribute>
07492             </optional>
07493             <optional>
07494                 <attribute name="dr3d:shade-mode">
07495                     <choice>
07496                         <value>flat</value>
07497                         <value>phong</value>
07498                         <value>gouraud</value>
07499                         <value>draft</value>
07500                     </choice>
07501                 </attribute>
07502             </optional>
07503             <optional>
07504                 <attribute name="draw:extrusion-rotation-angle">
07505                     <list>
07506                         <ref name="angle"/>
07507                         <ref name="angle"/>
07508                     </list>
07509                 </attribute>
07510             </optional>
07511             <optional>
07512                 <attribute name="draw:extrusion-rotation-center">
07513                     <ref name="vector3D"/>
07514                 </attribute>
07515             </optional>
07516             <optional>
07517                 <attribute name="draw:extrusion-shininess">
07518                     <ref name="zeroToHundredPercent"/>
07519                 </attribute>
07520             </optional>
07521             <optional>
07522                 <attribute name="draw:extrusion-skew">
07523                     <list>
07524                         <ref name="double"/>
07525                         <ref name="angle"/>
07526                     </list>
07527                 </attribute>
07528             </optional>
07529             <optional>
07530                 <attribute name="draw:extrusion-specularity">
07531                     <ref name="zeroToHundredPercent"/>
07532                 </attribute>
07533             </optional>
07534             <optional>
07535                 <attribute name="dr3d:projection">
07536                     <choice>
07537                         <value>parallel</value>
07538                         <value>perspective</value>
07539                     </choice>
07540                 </attribute>
07541             </optional>
07542             <optional>
07543                 <attribute name="draw:extrusion-viewpoint">
07544                     <ref name="point3D"/>
07545                 </attribute>
07546             </optional>
07547             <optional>
07548                 <attribute name="draw:extrusion-origin">
07549                     <list>
07550                         <ref name="extrusionOrigin"/>
07551                         <ref name="extrusionOrigin"/>
07552                     </list>
07553                 </attribute>
07554             </optional>
07555             <optional>
07556                 <attribute name="draw:extrusion-color">
07557                     <ref name="boolean"/>
07558                 </attribute>
07559             </optional>
07560             <optional>
07561                 <attribute name="draw:enhanced-path">
07562                     <ref name="string"/>
07563                 </attribute>
07564             </optional>
07565             <optional>
07566                 <attribute name="draw:path-stretchpoint-x">
07567                     <ref name="double"/>
07568                 </attribute>
07569             </optional>
07570             <optional>
07571                 <attribute name="draw:path-stretchpoint-y">
07572                     <ref name="double"/>
07573                 </attribute>
07574             </optional>
07575             <optional>
07576                 <attribute name="draw:text-areas">
07577                     <ref name="string"/>
07578                 </attribute>
07579             </optional>
07580             <optional>
07581                 <attribute name="draw:glue-points">
07582                     <ref name="string"/>
07583                 </attribute>
07584             </optional>
07585             <optional>
07586                 <attribute name="draw:glue-point-type">
07587                     <choice>
07588                         <value>none</value>
07589                         <value>segments</value>
07590                         <value>rectangle</value>
07591                     </choice>
07592                 </attribute>
07593             </optional>
07594             <optional>
07595                 <attribute name="draw:glue-point-leaving-directions">
07596                     <ref name="string"/>
07597                 </attribute>
07598             </optional>
07599             <optional>
07600                 <attribute name="draw:text-path">
07601                     <ref name="boolean"/>
07602                 </attribute>
07603             </optional>
07604             <optional>
07605                 <attribute name="draw:text-path-mode">
07606                     <choice>
07607                         <value>normal</value>
07608                         <value>path</value>
07609                         <value>shape</value>
07610                     </choice>
07611                 </attribute>
07612             </optional>
07613             <optional>
07614                 <attribute name="draw:text-path-scale">
07615                     <choice>
07616                         <value>path</value>
07617                         <value>shape</value>
07618                     </choice>
07619                 </attribute>
07620             </optional>
07621             <optional>
07622                 <attribute name="draw:text-path-same-letter-heights">
07623                     <ref name="boolean"/>
07624                 </attribute>
07625             </optional>
07626             <optional>
07627                 <attribute name="draw:modifiers">
07628                     <ref name="string"/>
07629                 </attribute>
07630             </optional>
07631         </interleave>
07632     </define>
07633     <define name="custom-shape-type">
07634         <choice>
07635             <value>non-primitive</value>
07636             <ref name="string"/>
07637         </choice>
07638     </define>
07639     <define name="point3D">
07640         <data type="string">
07641             <param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc))([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc))){2}[ ]*\)</param>
07642         </data>
07643     </define>
07644     <define name="extrusionOrigin">
07645         <data type="double">
07646             <param name="minInclusive">-0.5</param>
07647             <param name="maxInclusive">0.5</param>
07648         </data>
07649     </define>
07650     <define name="draw-equation">
07651         <element name="draw:equation">
07652             <ref name="draw-equation-attlist"/>
07653             <empty/>
07654         </element>
07655     </define>
07656     <define name="draw-equation-attlist">
07657         <interleave>
07658             <optional>
07659                 <attribute name="draw:name">
07660                     <ref name="string"/>
07661                 </attribute>
07662             </optional>
07663             <optional>
07664                 <attribute name="draw:formula">
07665                     <ref name="string"/>
07666                 </attribute>
07667             </optional>
07668         </interleave>
07669     </define>
07670     <define name="draw-handle">
07671         <element name="draw:handle">
07672             <ref name="draw-handle-attlist"/>
07673             <empty/>
07674         </element>
07675     </define>
07676     <define name="draw-handle-attlist">
07677         <interleave>
07678             <optional>
07679                 <attribute name="draw:handle-mirror-vertical">
07680                     <ref name="boolean"/>
07681                 </attribute>
07682             </optional>
07683             <optional>
07684                 <attribute name="draw:handle-mirror-horizontal">
07685                     <ref name="boolean"/>
07686                 </attribute>
07687             </optional>
07688             <optional>
07689                 <attribute name="draw:handle-switched">
07690                     <ref name="boolean"/>
07691                 </attribute>
07692             </optional>
07693             <attribute name="draw:handle-position">
07694                 <ref name="string"/>
07695             </attribute>
07696             <optional>
07697                 <attribute name="draw:handle-range-x-minimum">
07698                     <ref name="string"/>
07699                 </attribute>
07700             </optional>
07701             <optional>
07702                 <attribute name="draw:handle-range-x-maximum">
07703                     <ref name="string"/>
07704                 </attribute>
07705             </optional>
07706             <optional>
07707                 <attribute name="draw:handle-range-y-minimum">
07708                     <ref name="string"/>
07709                 </attribute>
07710             </optional>
07711             <optional>
07712                 <attribute name="draw:handle-range-y-maximum">
07713                     <ref name="string"/>
07714                 </attribute>
07715             </optional>
07716             <optional>
07717                 <attribute name="draw:handle-polar">
07718                     <ref name="string"/>
07719                 </attribute>
07720             </optional>
07721             <optional>
07722                 <attribute name="draw:handle-radius-range-minimum">
07723                     <ref name="string"/>
07724                 </attribute>
07725             </optional>
07726             <optional>
07727                 <attribute name="draw:handle-radius-range-maximum">
07728                     <ref name="string"/>
07729                 </attribute>
07730             </optional>
07731         </interleave>
07732     </define>
07733     <define name="presentation-shape-attlist">
07734         <interleave>
07735             <optional>
07736                 <attribute name="presentation:class">
07737                     <ref name="presentation-classes"/>
07738                 </attribute>
07739             </optional>
07740             <optional>
07741                 <attribute name="presentation:placeholder">
07742                     <ref name="boolean"/>
07743                 </attribute>
07744             </optional>
07745             <optional>
07746                 <attribute name="presentation:user-transformed">
07747                     <ref name="boolean"/>
07748                 </attribute>
07749             </optional>
07750         </interleave>
07751     </define>
07752     <define name="presentation-classes">
07753         <choice>
07754             <value>title</value>
07755             <value>outline</value>
07756             <value>subtitle</value>
07757             <value>text</value>
07758             <value>graphic</value>
07759             <value>object</value>
07760             <value>chart</value>
07761             <value>table</value>
07762             <value>orgchart</value>
07763             <value>page</value>
07764             <value>notes</value>
07765             <value>handout</value>
07766             <value>header</value>
07767             <value>footer</value>
07768             <value>date-time</value>
07769             <value>page-number</value>
07770         </choice>
07771     </define>
07772     <define name="presentation-animations">
07773         <element name="presentation:animations">
07774             <zeroOrMore>
07775                 <choice>
07776                     <ref name="presentation-animation-elements"/>
07777                     <ref name="presentation-animation-group"/>
07778                 </choice>
07779             </zeroOrMore>
07780         </element>
07781     </define>
07782     <define name="presentation-animation-elements">
07783         <choice>
07784             <ref name="presentation-show-shape"/>
07785             <ref name="presentation-show-text"/>
07786             <ref name="presentation-hide-shape"/>
07787             <ref name="presentation-hide-text"/>
07788             <ref name="presentation-dim"/>
07789             <ref name="presentation-play"/>
07790         </choice>
07791     </define>
07792     <define name="presentation-sound">
07793         <element name="presentation:sound">
07794             <ref name="presentation-sound-attlist"/>
07795             <attribute name="xlink:type">
07796                 <value>simple</value>
07797             </attribute>
07798             <attribute name="xlink:href">
07799                 <ref name="anyIRI"/>
07800             </attribute>
07801             <optional>
07802                 <attribute name="xlink:actuate">
07803                     <value>onRequest</value>
07804                 </attribute>
07805             </optional>
07806             <optional>
07807                 <attribute name="xlink:show">
07808                     <choice>
07809                         <value>new</value>
07810                         <value>replace</value>
07811                     </choice>
07812                 </attribute>
07813             </optional>
07814             <empty/>
07815         </element>
07816     </define>
07817     <define name="presentation-sound-attlist">
07818         <interleave>
07819             <optional>
07820                 <attribute name="presentation:play-full">
07821                     <ref name="boolean"/>
07822                 </attribute>
07823             </optional>
07824             <optional>
07825                 <ref name="xml-id"/>
07826             </optional>
07827         </interleave>
07828     </define>
07829     <define name="presentation-show-shape">
07830         <element name="presentation:show-shape">
07831             <ref name="common-presentation-effect-attlist"/>
07832             <optional>
07833                 <ref name="presentation-sound"/>
07834             </optional>
07835         </element>
07836     </define>
07837     <define name="common-presentation-effect-attlist">
07838         <interleave>
07839             <attribute name="draw:shape-id">
07840                 <ref name="IDREF"/>
07841             </attribute>
07842             <optional>
07843                 <attribute name="presentation:effect">
07844                     <ref name="presentationEffects"/>
07845                 </attribute>
07846             </optional>
07847             <optional>
07848                 <attribute name="presentation:direction">
07849                     <ref name="presentationEffectDirections"/>
07850                 </attribute>
07851             </optional>
07852             <optional>
07853                 <attribute name="presentation:speed">
07854                     <ref name="presentationSpeeds"/>
07855                 </attribute>
07856             </optional>
07857             <optional>
07858                 <attribute name="presentation:delay">
07859                     <ref name="duration"/>
07860                 </attribute>
07861             </optional>
07862             <optional>
07863                 <attribute name="presentation:start-scale">
07864                     <ref name="percent"/>
07865                 </attribute>
07866             </optional>
07867             <optional>
07868                 <attribute name="presentation:path-id">
07869                     <ref name="string"/>
07870                 </attribute>
07871             </optional>
07872         </interleave>
07873     </define>
07874     <define name="presentationEffects">
07875         <choice>
07876             <value>none</value>
07877             <value>fade</value>
07878             <value>move</value>
07879             <value>stripes</value>
07880             <value>open</value>
07881             <value>close</value>
07882             <value>dissolve</value>
07883             <value>wavyline</value>
07884             <value>random</value>
07885             <value>lines</value>
07886             <value>laser</value>
07887             <value>appear</value>
07888             <value>hide</value>
07889             <value>move-short</value>
07890             <value>checkerboard</value>
07891             <value>rotate</value>
07892             <value>stretch</value>
07893         </choice>
07894     </define>
07895     <define name="presentationEffectDirections">
07896         <choice>
07897             <value>none</value>
07898             <value>from-left</value>
07899             <value>from-top</value>
07900             <value>from-right</value>
07901             <value>from-bottom</value>
07902             <value>from-center</value>
07903             <value>from-upper-left</value>
07904             <value>from-upper-right</value>
07905             <value>from-lower-left</value>
07906             <value>from-lower-right</value>
07907             <value>to-left</value>
07908             <value>to-top</value>
07909             <value>to-right</value>
07910             <value>to-bottom</value>
07911             <value>to-upper-left</value>
07912             <value>to-upper-right</value>
07913             <value>to-lower-right</value>
07914             <value>to-lower-left</value>
07915             <value>path</value>
07916             <value>spiral-inward-left</value>
07917             <value>spiral-inward-right</value>
07918             <value>spiral-outward-left</value>
07919             <value>spiral-outward-right</value>
07920             <value>vertical</value>
07921             <value>horizontal</value>
07922             <value>to-center</value>
07923             <value>clockwise</value>
07924             <value>counter-clockwise</value>
07925         </choice>
07926     </define>
07927     <define name="presentationSpeeds">
07928         <choice>
07929             <value>slow</value>
07930             <value>medium</value>
07931             <value>fast</value>
07932         </choice>
07933     </define>
07934     <define name="presentation-show-text">
07935         <element name="presentation:show-text">
07936             <ref name="common-presentation-effect-attlist"/>
07937             <optional>
07938                 <ref name="presentation-sound"/>
07939             </optional>
07940         </element>
07941     </define>
07942     <define name="presentation-hide-shape">
07943         <element name="presentation:hide-shape">
07944             <ref name="common-presentation-effect-attlist"/>
07945             <optional>
07946                 <ref name="presentation-sound"/>
07947             </optional>
07948         </element>
07949     </define>
07950     <define name="presentation-hide-text">
07951         <element name="presentation:hide-text">
07952             <ref name="common-presentation-effect-attlist"/>
07953             <optional>
07954                 <ref name="presentation-sound"/>
07955             </optional>
07956         </element>
07957     </define>
07958     <define name="presentation-dim">
07959         <element name="presentation:dim">
07960             <ref name="presentation-dim-attlist"/>
07961             <optional>
07962                 <ref name="presentation-sound"/>
07963             </optional>
07964         </element>
07965     </define>
07966     <define name="presentation-dim-attlist">
07967         <interleave>
07968             <attribute name="draw:shape-id">
07969                 <ref name="IDREF"/>
07970             </attribute>
07971             <attribute name="draw:color">
07972                 <ref name="color"/>
07973             </attribute>
07974         </interleave>
07975     </define>
07976     <define name="presentation-play">
07977         <element name="presentation:play">
07978             <ref name="presentation-play-attlist"/>
07979             <empty/>
07980         </element>
07981     </define>
07982     <define name="presentation-play-attlist">
07983         <attribute name="draw:shape-id">
07984             <ref name="IDREF"/>
07985         </attribute>
07986         <optional>
07987             <attribute name="presentation:speed">
07988                 <ref name="presentationSpeeds"/>
07989             </attribute>
07990         </optional>
07991     </define>
07992     <define name="presentation-animation-group">
07993         <element name="presentation:animation-group">
07994             <zeroOrMore>
07995                 <ref name="presentation-animation-elements"/>
07996             </zeroOrMore>
07997         </element>
07998     </define>
07999     <define name="common-anim-attlist">
08000         <interleave>
08001             <optional>
08002                 <attribute name="presentation:node-type">
08003                     <choice>
08004                         <value>default</value>
08005                         <value>on-click</value>
08006                         <value>with-previous</value>
08007                         <value>after-previous</value>
08008                         <value>timing-root</value>
08009                         <value>main-sequence</value>
08010                         <value>interactive-sequence</value>
08011                     </choice>
08012                 </attribute>
08013             </optional>
08014             <optional>
08015                 <attribute name="presentation:preset-id">
08016                     <ref name="string"/>
08017                 </attribute>
08018             </optional>
08019             <optional>
08020                 <attribute name="presentation:preset-sub-type">
08021                     <ref name="string"/>
08022                 </attribute>
08023             </optional>
08024             <optional>
08025                 <attribute name="presentation:preset-class">
08026                     <choice>
08027                         <value>custom</value>
08028                         <value>entrance</value>
08029                         <value>exit</value>
08030                         <value>emphasis</value>
08031                         <value>motion-path</value>
08032                         <value>ole-action</value>
08033                         <value>media-call</value>
08034                     </choice>
08035                 </attribute>
08036             </optional>
08037             <optional>
08038                 <attribute name="presentation:master-element">
08039                     <ref name="IDREF"/>
08040                 </attribute>
08041             </optional>
08042             <optional>
08043                 <attribute name="presentation:group-id">
08044                     <ref name="string"/>
08045                 </attribute>
08046             </optional>
08047             <optional>
08048                 <group>
08049                     <ref name="xml-id"/>
08050                     <optional>
08051                         <attribute name="anim:id">
08052                             <ref name="NCName"/>
08053                         </attribute>
08054                     </optional>
08055                 </group>
08056             </optional>
08057         </interleave>
08058     </define>
08059     <define name="presentation-event-listener">
08060         <element name="presentation:event-listener">
08061             <ref name="presentation-event-listener-attlist"/>
08062             <optional>
08063                 <ref name="presentation-sound"/>
08064             </optional>
08065         </element>
08066     </define>
08067     <define name="presentation-event-listener-attlist">
08068         <interleave>
08069             <attribute name="script:event-name">
08070                 <ref name="string"/>
08071             </attribute>
08072             <attribute name="presentation:action">
08073                 <choice>
08074                     <value>none</value>
08075                     <value>previous-page</value>
08076                     <value>next-page</value>
08077                     <value>first-page</value>
08078                     <value>last-page</value>
08079                     <value>hide</value>
08080                     <value>stop</value>
08081                     <value>execute</value>
08082                     <value>show</value>
08083                     <value>verb</value>
08084                     <value>fade-out</value>
08085                     <value>sound</value>
08086                     <value>last-visited-page</value>
08087                 </choice>
08088             </attribute>
08089             <optional>
08090                 <attribute name="presentation:effect">
08091                     <ref name="presentationEffects"/>
08092                 </attribute>
08093             </optional>
08094             <optional>
08095                 <attribute name="presentation:direction">
08096                     <ref name="presentationEffectDirections"/>
08097                 </attribute>
08098             </optional>
08099             <optional>
08100                 <attribute name="presentation:speed">
08101                     <ref name="presentationSpeeds"/>
08102                 </attribute>
08103             </optional>
08104             <optional>
08105                 <attribute name="presentation:start-scale">
08106                     <ref name="percent"/>
08107                 </attribute>
08108             </optional>
08109             <optional>
08110                 <attribute name="xlink:type">
08111                     <value>simple</value>
08112                 </attribute>
08113                 <attribute name="xlink:href">
08114                     <ref name="anyIRI"/>
08115                 </attribute>
08116                 <optional>
08117                     <attribute name="xlink:show">
08118                         <value>embed</value>
08119                     </attribute>
08120                 </optional>
08121                 <optional>
08122                     <attribute name="xlink:actuate">
08123                         <value>onRequest</value>
08124                     </attribute>
08125                 </optional>
08126             </optional>
08127             <optional>
08128                 <attribute name="presentation:verb">
08129                     <ref name="nonNegativeInteger"/>
08130                 </attribute>
08131             </optional>
08132         </interleave>
08133     </define>
08134     <define name="presentation-decls">
08135         <zeroOrMore>
08136             <ref name="presentation-decl"/>
08137         </zeroOrMore>
08138     </define>
08139     <define name="presentation-decl">
08140         <choice>
08141             <element name="presentation:header-decl">
08142                 <ref name="presentation-header-decl-attlist"/>
08143                 <text/>
08144             </element>
08145             <element name="presentation:footer-decl">
08146                 <ref name="presentation-footer-decl-attlist"/>
08147                 <text/>
08148             </element>
08149             <element name="presentation:date-time-decl">
08150                 <ref name="presentation-date-time-decl-attlist"/>
08151                 <text/>
08152             </element>
08153         </choice>
08154     </define>
08155     <define name="presentation-header-decl-attlist">
08156         <attribute name="presentation:name">
08157             <ref name="string"/>
08158         </attribute>
08159     </define>
08160     <define name="presentation-footer-decl-attlist">
08161         <attribute name="presentation:name">
08162             <ref name="string"/>
08163         </attribute>
08164     </define>
08165     <define name="presentation-date-time-decl-attlist">
08166         <interleave>
08167             <attribute name="presentation:name">
08168                 <ref name="string"/>
08169             </attribute>
08170             <attribute name="presentation:source">
08171                 <choice>
08172                     <value>fixed</value>
08173                     <value>current-date</value>
08174                 </choice>
08175             </attribute>
08176             <optional>
08177                 <attribute name="style:data-style-name">
08178                     <ref name="styleNameRef"/>
08179                 </attribute>
08180             </optional>
08181         </interleave>
08182     </define>
08183     <define name="presentation-settings">
08184         <optional>
08185             <element name="presentation:settings">
08186                 <ref name="presentation-settings-attlist"/>
08187                 <zeroOrMore>
08188                     <ref name="presentation-show"/>
08189                 </zeroOrMore>
08190             </element>
08191         </optional>
08192     </define>
08193     <define name="presentation-settings-attlist">
08194         <interleave>
08195             <optional>
08196                 <attribute name="presentation:start-page">
08197                     <ref name="string"/>
08198                 </attribute>
08199             </optional>
08200             <optional>
08201                 <attribute name="presentation:show">
08202                     <ref name="string"/>
08203                 </attribute>
08204             </optional>
08205             <optional>
08206                 <attribute name="presentation:full-screen">
08207                     <ref name="boolean"/>
08208                 </attribute>
08209             </optional>
08210             <optional>
08211                 <attribute name="presentation:endless">
08212                     <ref name="boolean"/>
08213                 </attribute>
08214             </optional>
08215             <optional>
08216                 <attribute name="presentation:pause">
08217                     <ref name="duration"/>
08218                 </attribute>
08219             </optional>
08220             <optional>
08221                 <attribute name="presentation:show-logo">
08222                     <ref name="boolean"/>
08223                 </attribute>
08224             </optional>
08225             <optional>
08226                 <attribute name="presentation:force-manual">
08227                     <ref name="boolean"/>
08228                 </attribute>
08229             </optional>
08230             <optional>
08231                 <attribute name="presentation:mouse-visible">
08232                     <ref name="boolean"/>
08233                 </attribute>
08234             </optional>
08235             <optional>
08236                 <attribute name="presentation:mouse-as-pen">
08237                     <ref name="boolean"/>
08238                 </attribute>
08239             </optional>
08240             <optional>
08241                 <attribute name="presentation:start-with-navigator">
08242                     <ref name="boolean"/>
08243                 </attribute>
08244             </optional>
08245             <optional>
08246                 <attribute name="presentation:animations">
08247                     <choice>
08248                         <value>enabled</value>
08249                         <value>disabled</value>
08250                     </choice>
08251                 </attribute>
08252             </optional>
08253             <optional>
08254                 <attribute name="presentation:transition-on-click">
08255                     <choice>
08256                         <value>enabled</value>
08257                         <value>disabled</value>
08258                     </choice>
08259                 </attribute>
08260             </optional>
08261             <optional>
08262                 <attribute name="presentation:stay-on-top">
08263                     <ref name="boolean"/>
08264                 </attribute>
08265             </optional>
08266             <optional>
08267                 <attribute name="presentation:show-end-of-presentation-slide">
08268                     <ref name="boolean"/>
08269                 </attribute>
08270             </optional>
08271         </interleave>
08272     </define>
08273     <define name="presentation-show">
08274         <element name="presentation:show">
08275             <ref name="presentation-show-attlist"/>
08276             <empty/>
08277         </element>
08278     </define>
08279     <define name="presentation-show-attlist">
08280         <interleave>
08281             <attribute name="presentation:name">
08282                 <ref name="string"/>
08283             </attribute>
08284             <attribute name="presentation:pages">
08285                 <ref name="string"/>
08286             </attribute>
08287         </interleave>
08288     </define>
08289     <define name="chart-chart">
08290         <element name="chart:chart">
08291             <ref name="chart-chart-attlist"/>
08292             <optional>
08293                 <ref name="chart-title"/>
08294             </optional>
08295             <optional>
08296                 <ref name="chart-subtitle"/>
08297             </optional>
08298             <optional>
08299                 <ref name="chart-footer"/>
08300             </optional>
08301             <optional>
08302                 <ref name="chart-legend"/>
08303             </optional>
08304             <ref name="chart-plot-area"/>
08305             <optional>
08306                 <ref name="table-table"/>
08307             </optional>
08308         </element>
08309     </define>
08310     <define name="chart-chart-attlist">
08311         <interleave>
08312             <attribute name="chart:class">
08313                 <ref name="namespacedToken"/>
08314             </attribute>
08315             <ref name="common-draw-size-attlist"/>
08316             <optional>
08317                 <attribute name="chart:column-mapping">
08318                     <ref name="string"/>
08319                 </attribute>
08320             </optional>
08321             <optional>
08322                 <attribute name="chart:row-mapping">
08323                     <ref name="string"/>
08324                 </attribute>
08325             </optional>
08326             <optional>
08327                 <attribute name="chart:style-name">
08328                     <ref name="styleNameRef"/>
08329                 </attribute>
08330             </optional>
08331             <optional>
08332                 <group>
08333                     <attribute name="xlink:type">
08334                         <value>simple</value>
08335                     </attribute>
08336                     <attribute name="xlink:href">
08337                         <ref name="anyIRI"/>
08338                     </attribute>
08339                 </group>
08340             </optional>
08341             <optional>
08342                 <ref name="xml-id"/>
08343             </optional>
08344         </interleave>
08345     </define>
08346     <define name="chart-title">
08347         <element name="chart:title">
08348             <ref name="chart-title-attlist"/>
08349             <optional>
08350                 <ref name="text-p"/>
08351             </optional>
08352         </element>
08353     </define>
08354     <define name="chart-title-attlist">
08355         <interleave>
08356             <optional>
08357                 <attribute name="table:cell-range">
08358                     <ref name="cellRangeAddressList"/>
08359                 </attribute>
08360             </optional>
08361             <ref name="common-draw-position-attlist"/>
08362             <optional>
08363                 <attribute name="chart:style-name">
08364                     <ref name="styleNameRef"/>
08365                 </attribute>
08366             </optional>
08367         </interleave>
08368     </define>
08369     <define name="chart-subtitle">
08370         <element name="chart:subtitle">
08371             <ref name="chart-title-attlist"/>
08372             <optional>
08373                 <ref name="text-p"/>
08374             </optional>
08375         </element>
08376     </define>
08377     <define name="chart-footer">
08378         <element name="chart:footer">
08379             <ref name="chart-title-attlist"/>
08380             <optional>
08381                 <ref name="text-p"/>
08382             </optional>
08383         </element>
08384     </define>
08385     <define name="chart-legend">
08386         <element name="chart:legend">
08387             <ref name="chart-legend-attlist"/>
08388             <optional>
08389                 <ref name="text-p"/>
08390             </optional>
08391         </element>
08392     </define>
08393     <define name="chart-legend-attlist">
08394         <interleave>
08395             <choice>
08396                 <group>
08397                     <attribute name="chart:legend-position">
08398                         <choice>
08399                             <value>start</value>
08400                             <value>end</value>
08401                             <value>top</value>
08402                             <value>bottom</value>
08403                         </choice>
08404                     </attribute>
08405                     <optional>
08406                         <attribute name="chart:legend-align">
08407                             <choice>
08408                                 <value>start</value>
08409                                 <value>center</value>
08410                                 <value>end</value>
08411                             </choice>
08412                         </attribute>
08413                     </optional>
08414                 </group>
08415                 <attribute name="chart:legend-position">
08416                     <choice>
08417                         <value>top-start</value>
08418                         <value>bottom-start</value>
08419                         <value>top-end</value>
08420                         <value>bottom-end</value>
08421                     </choice>
08422                 </attribute>
08423                 <empty/>
08424             </choice>
08425             <ref name="common-draw-position-attlist"/>
08426             <choice>
08427                 <attribute name="style:legend-expansion">
08428                     <choice>
08429                         <value>wide</value>
08430                         <value>high</value>
08431                         <value>balanced</value>
08432                     </choice>
08433                 </attribute>
08434                 <group>
08435                     <attribute name="style:legend-expansion">
08436                         <value>custom</value>
08437                     </attribute>
08438                     <attribute name="style:legend-expansion-aspect-ratio">
08439                         <ref name="double"/>
08440                     </attribute>
08441                 </group>
08442                 <empty/>
08443             </choice>
08444             <optional>
08445                 <attribute name="chart:style-name">
08446                     <ref name="styleNameRef"/>
08447                 </attribute>
08448             </optional>
08449         </interleave>
08450     </define>
08451     <define name="chart-plot-area">
08452         <element name="chart:plot-area">
08453             <ref name="chart-plot-area-attlist"/>
08454             <zeroOrMore>
08455                 <ref name="dr3d-light"/>
08456             </zeroOrMore>
08457             <zeroOrMore>
08458                 <ref name="chart-axis"/>
08459             </zeroOrMore>
08460             <zeroOrMore>
08461                 <ref name="chart-series"/>
08462             </zeroOrMore>
08463             <optional>
08464                 <ref name="chart-stock-gain-marker"/>
08465             </optional>
08466             <optional>
08467                 <ref name="chart-stock-loss-marker"/>
08468             </optional>
08469             <optional>
08470                 <ref name="chart-stock-range-line"/>
08471             </optional>
08472             <optional>
08473                 <ref name="chart-wall"/>
08474             </optional>
08475             <optional>
08476                 <ref name="chart-floor"/>
08477             </optional>
08478         </element>
08479     </define>
08480     <define name="chart-plot-area-attlist">
08481         <interleave>
08482             <ref name="common-draw-position-attlist"/>
08483             <ref name="common-draw-size-attlist"/>
08484             <optional>
08485                 <attribute name="chart:style-name">
08486                     <ref name="styleNameRef"/>
08487                 </attribute>
08488             </optional>
08489             <optional>
08490                 <attribute name="table:cell-range-address">
08491                     <ref name="cellRangeAddressList"/>
08492                 </attribute>
08493             </optional>
08494             <optional>
08495                 <attribute name="chart:data-source-has-labels">
08496                     <choice>
08497                         <value>none</value>
08498                         <value>row</value>
08499                         <value>column</value>
08500                         <value>both</value>
08501                     </choice>
08502                 </attribute>
08503             </optional>
08504             <ref name="dr3d-scene-attlist"/>
08505             <ref name="common-dr3d-transform-attlist"/>
08506             <optional>
08507                 <ref name="xml-id"/>
08508             </optional>
08509         </interleave>
08510     </define>
08511     <define name="chart-wall">
08512         <element name="chart:wall">
08513             <ref name="chart-wall-attlist"/>
08514             <empty/>
08515         </element>
08516     </define>
08517     <define name="chart-wall-attlist">
08518         <interleave>
08519             <optional>
08520                 <attribute name="svg:width">
08521                     <ref name="length"/>
08522                 </attribute>
08523             </optional>
08524             <optional>
08525                 <attribute name="chart:style-name">
08526                     <ref name="styleNameRef"/>
08527                 </attribute>
08528             </optional>
08529         </interleave>
08530     </define>
08531     <define name="chart-floor">
08532         <element name="chart:floor">
08533             <ref name="chart-floor-attlist"/>
08534             <empty/>
08535         </element>
08536     </define>
08537     <define name="chart-floor-attlist">
08538         <interleave>
08539             <optional>
08540                 <attribute name="svg:width">
08541                     <ref name="length"/>
08542                 </attribute>
08543             </optional>
08544             <optional>
08545                 <attribute name="chart:style-name">
08546                     <ref name="styleNameRef"/>
08547                 </attribute>
08548             </optional>
08549         </interleave>
08550     </define>
08551     <define name="chart-axis">
08552         <element name="chart:axis">
08553             <ref name="chart-axis-attlist"/>
08554             <optional>
08555                 <ref name="chart-title"/>
08556             </optional>
08557             <optional>
08558                 <ref name="chart-categories"/>
08559             </optional>
08560             <zeroOrMore>
08561                 <ref name="chart-grid"/>
08562             </zeroOrMore>
08563         </element>
08564     </define>
08565     <define name="chart-axis-attlist">
08566         <interleave>
08567             <attribute name="chart:dimension">
08568                 <ref name="chart-dimension"/>
08569             </attribute>
08570             <optional>
08571                 <attribute name="chart:name">
08572                     <ref name="string"/>
08573                 </attribute>
08574             </optional>
08575             <optional>
08576                 <attribute name="chart:style-name">
08577                     <ref name="styleNameRef"/>
08578                 </attribute>
08579             </optional>
08580         </interleave>
08581     </define>
08582     <define name="chart-dimension">
08583         <choice>
08584             <value>x</value>
08585             <value>y</value>
08586             <value>z</value>
08587         </choice>
08588     </define>
08589     <define name="chart-categories">
08590         <element name="chart:categories">
08591             <optional>
08592                 <attribute name="table:cell-range-address">
08593                     <ref name="cellRangeAddressList"/>
08594                 </attribute>
08595             </optional>
08596         </element>
08597     </define>
08598     <define name="chart-grid">
08599         <element name="chart:grid">
08600             <ref name="chart-grid-attlist"/>
08601         </element>
08602     </define>
08603     <define name="chart-grid-attlist">
08604         <interleave>
08605             <optional>
08606                 <attribute name="chart:class">
08607                     <choice>
08608                         <value>major</value>
08609                         <value>minor</value>
08610                     </choice>
08611                 </attribute>
08612             </optional>
08613             <optional>
08614                 <attribute name="chart:style-name">
08615                     <ref name="styleNameRef"/>
08616                 </attribute>
08617             </optional>
08618         </interleave>
08619     </define>
08620     <define name="chart-series">
08621         <element name="chart:series">
08622             <ref name="chart-series-attlist"/>
08623             <zeroOrMore>
08624                 <ref name="chart-domain"/>
08625             </zeroOrMore>
08626             <optional>
08627                 <ref name="chart-mean-value"/>
08628             </optional>
08629             <zeroOrMore>
08630                 <ref name="chart-regression-curve"/>
08631             </zeroOrMore>
08632             <zeroOrMore>
08633                 <ref name="chart-error-indicator"/>
08634             </zeroOrMore>
08635             <zeroOrMore>
08636                 <ref name="chart-data-point"/>
08637             </zeroOrMore>
08638             <optional>
08639                 <ref name="chart-data-label"/>
08640             </optional>
08641         </element>
08642     </define>
08643     <define name="chart-series-attlist">
08644         <interleave>
08645             <optional>
08646                 <attribute name="chart:values-cell-range-address">
08647                     <ref name="cellRangeAddressList"/>
08648                 </attribute>
08649             </optional>
08650             <optional>
08651                 <attribute name="chart:label-cell-address">
08652                     <ref name="cellRangeAddressList"/>
08653                 </attribute>
08654             </optional>
08655             <optional>
08656                 <attribute name="chart:class">
08657                     <ref name="namespacedToken"/>
08658                 </attribute>
08659             </optional>
08660             <optional>
08661                 <attribute name="chart:attached-axis">
08662                     <ref name="string"/>
08663                 </attribute>
08664             </optional>
08665             <optional>
08666                 <attribute name="chart:style-name">
08667                     <ref name="styleNameRef"/>
08668                 </attribute>
08669             </optional>
08670             <optional>
08671                 <ref name="xml-id"/>
08672             </optional>
08673         </interleave>
08674     </define>
08675     <define name="chart-domain">
08676         <element name="chart:domain">
08677             <optional>
08678                 <attribute name="table:cell-range-address">
08679                     <ref name="cellRangeAddressList"/>
08680                 </attribute>
08681             </optional>
08682         </element>
08683     </define>
08684     <define name="chart-data-point">
08685         <element name="chart:data-point">
08686             <ref name="chart-data-point-attlist"/>
08687             <optional>
08688                 <ref name="chart-data-label"/>
08689             </optional>
08690         </element>
08691     </define>
08692     <define name="chart-data-point-attlist">
08693         <interleave>
08694             <optional>
08695                 <attribute name="chart:repeated">
08696                     <ref name="positiveInteger"/>
08697                 </attribute>
08698             </optional>
08699             <optional>
08700                 <attribute name="chart:style-name">
08701                     <ref name="styleNameRef"/>
08702                 </attribute>
08703             </optional>
08704             <optional>
08705                 <ref name="xml-id"/>
08706             </optional>
08707         </interleave>
08708     </define>
08709     <define name="chart-data-label">
08710         <element name="chart:data-label">
08711             <ref name="chart-data-label-attlist"/>
08712             <optional>
08713                 <ref name="text-p"/>
08714             </optional>
08715         </element>
08716     </define>
08717     <define name="chart-data-label-attlist">
08718         <interleave>
08719             <ref name="common-draw-position-attlist"/>
08720             <optional>
08721                 <attribute name="chart:style-name">
08722                     <ref name="styleNameRef"/>
08723                 </attribute>
08724             </optional>
08725         </interleave>
08726     </define>
08727     <define name="chart-mean-value">
08728         <element name="chart:mean-value">
08729             <ref name="chart-mean-value-attlist"/>
08730             <empty/>
08731         </element>
08732     </define>
08733     <define name="chart-mean-value-attlist">
08734         <optional>
08735             <attribute name="chart:style-name">
08736                 <ref name="styleNameRef"/>
08737             </attribute>
08738         </optional>
08739     </define>
08740     <define name="chart-error-indicator">
08741         <element name="chart:error-indicator">
08742             <ref name="chart-error-indicator-attlist"/>
08743             <empty/>
08744         </element>
08745     </define>
08746     <define name="chart-error-indicator-attlist">
08747         <interleave>
08748             <optional>
08749                 <attribute name="chart:style-name">
08750                     <ref name="styleNameRef"/>
08751                 </attribute>
08752             </optional>
08753             <attribute name="chart:dimension">
08754                 <ref name="chart-dimension"/>
08755             </attribute>
08756         </interleave>
08757     </define>
08758     <define name="chart-regression-curve">
08759         <element name="chart:regression-curve">
08760             <ref name="chart-regression-curve-attlist"/>
08761             <optional>
08762                 <ref name="chart-equation"/>
08763             </optional>
08764         </element>
08765     </define>
08766     <define name="chart-regression-curve-attlist">
08767         <optional>
08768             <attribute name="chart:style-name">
08769                 <ref name="styleNameRef"/>
08770             </attribute>
08771         </optional>
08772     </define>
08773     <define name="chart-equation">
08774         <element name="chart:equation">
08775             <ref name="chart-equation-attlist"/>
08776             <optional>
08777                 <ref name="text-p"/>
08778             </optional>
08779         </element>
08780     </define>
08781     <define name="chart-equation-attlist">
08782         <interleave>
08783             <optional>
08784                 <attribute name="chart:automatic-content">
08785                     <ref name="boolean"/>
08786                 </attribute>
08787             </optional>
08788             <optional>
08789                 <attribute name="chart:display-r-square">
08790                     <ref name="boolean"/>
08791                 </attribute>
08792             </optional>
08793             <optional>
08794                 <attribute name="chart:display-equation">
08795                     <ref name="boolean"/>
08796                 </attribute>
08797             </optional>
08798             <ref name="common-draw-position-attlist"/>
08799             <optional>
08800                 <attribute name="chart:style-name">
08801                     <ref name="styleNameRef"/>
08802                 </attribute>
08803             </optional>
08804         </interleave>
08805     </define>
08806     <define name="chart-stock-gain-marker">
08807         <element name="chart:stock-gain-marker">
08808             <ref name="common-stock-marker-attlist"/>
08809         </element>
08810     </define>
08811     <define name="chart-stock-loss-marker">
08812         <element name="chart:stock-loss-marker">
08813             <ref name="common-stock-marker-attlist"/>
08814         </element>
08815     </define>
08816     <define name="chart-stock-range-line">
08817         <element name="chart:stock-range-line">
08818             <ref name="common-stock-marker-attlist"/>
08819         </element>
08820     </define>
08821     <define name="common-stock-marker-attlist">
08822         <optional>
08823             <attribute name="chart:style-name">
08824                 <ref name="styleNameRef"/>
08825             </attribute>
08826         </optional>
08827     </define>
08828     <define name="office-database">
08829         <element name="office:database">
08830             <ref name="db-data-source"/>
08831             <optional>
08832                 <ref name="db-forms"/>
08833             </optional>
08834             <optional>
08835                 <ref name="db-reports"/>
08836             </optional>
08837             <optional>
08838                 <ref name="db-queries"/>
08839             </optional>
08840             <optional>
08841                 <ref name="db-table-presentations"/>
08842             </optional>
08843             <optional>
08844                 <ref name="db-schema-definition"/>
08845             </optional>
08846         </element>
08847     </define>
08848     <define name="db-data-source">
08849         <element name="db:data-source">
08850             <ref name="db-data-source-attlist"/>
08851             <ref name="db-connection-data"/>
08852             <optional>
08853                 <ref name="db-driver-settings"/>
08854             </optional>
08855             <optional>
08856                 <ref name="db-application-connection-settings"/>
08857             </optional>
08858         </element>
08859     </define>
08860     <define name="db-data-source-attlist">
08861         <empty/>
08862     </define>
08863     <define name="db-connection-data">
08864         <element name="db:connection-data">
08865             <ref name="db-connection-data-attlist"/>
08866             <choice>
08867                 <ref name="db-database-description"/>
08868                 <ref name="db-connection-resource"/>
08869             </choice>
08870             <optional>
08871                 <ref name="db-login"/>
08872             </optional>
08873         </element>
08874     </define>
08875     <define name="db-connection-data-attlist">
08876         <empty/>
08877     </define>
08878     <define name="db-database-description">
08879         <element name="db:database-description">
08880             <ref name="db-database-description-attlist"/>
08881             <choice>
08882                 <ref name="db-file-based-database"/>
08883                 <ref name="db-server-database"/>
08884             </choice>
08885         </element>
08886     </define>
08887     <define name="db-database-description-attlist">
08888         <empty/>
08889     </define>
08890     <define name="db-file-based-database">
08891         <element name="db:file-based-database">
08892             <ref name="db-file-based-database-attlist"/>
08893         </element>
08894     </define>
08895     <define name="db-file-based-database-attlist">
08896         <interleave>
08897             <attribute name="xlink:type">
08898                 <value>simple</value>
08899             </attribute>
08900             <attribute name="xlink:href">
08901                 <ref name="anyIRI"/>
08902             </attribute>
08903             <attribute name="db:media-type">
08904                 <ref name="string"/>
08905             </attribute>
08906             <optional>
08907                 <attribute name="db:extension">
08908                     <ref name="string"/>
08909                 </attribute>
08910             </optional>
08911         </interleave>
08912     </define>
08913     <define name="db-server-database">
08914         <element name="db:server-database">
08915             <ref name="db-server-database-attlist"/>
08916             <empty/>
08917         </element>
08918     </define>
08919     <define name="db-server-database-attlist">
08920         <interleave>
08921             <attribute name="db:type">
08922                 <ref name="namespacedToken"/>
08923             </attribute>
08924             <choice>
08925                 <ref name="db-host-and-port"/>
08926                 <ref name="db-local-socket-name"/>
08927             </choice>
08928             <optional>
08929                 <attribute name="db:database-name">
08930                     <ref name="string"/>
08931                 </attribute>
08932             </optional>
08933         </interleave>
08934     </define>
08935     <define name="db-host-and-port">
08936         <attribute name="db:hostname">
08937             <ref name="string"/>
08938         </attribute>
08939         <optional>
08940             <attribute name="db:port">
08941                 <ref name="positiveInteger"/>
08942             </attribute>
08943         </optional>
08944     </define>
08945     <define name="db-local-socket-name">
08946         <optional>
08947             <attribute name="db:local-socket">
08948                 <ref name="string"/>
08949             </attribute>
08950         </optional>
08951     </define>
08952     <define name="db-connection-resource">
08953         <element name="db:connection-resource">
08954             <ref name="db-connection-resource-attlist"/>
08955             <empty/>
08956         </element>
08957     </define>
08958     <define name="db-connection-resource-attlist">
08959         <attribute name="xlink:type">
08960             <value>simple</value>
08961         </attribute>
08962         <attribute name="xlink:href">
08963             <ref name="anyIRI"/>
08964         </attribute>
08965         <optional>
08966             <attribute name="xlink:show">
08967                 <value>none</value>
08968             </attribute>
08969         </optional>
08970         <optional>
08971             <attribute name="xlink:actuate">
08972                 <value>onRequest</value>
08973             </attribute>
08974         </optional>
08975     </define>
08976     <define name="db-login">
08977         <element name="db:login">
08978             <ref name="db-login-attlist"/>
08979             <empty/>
08980         </element>
08981     </define>
08982     <define name="db-login-attlist">
08983         <interleave>
08984             <optional>
08985                 <choice>
08986                     <attribute name="db:user-name">
08987                         <ref name="string"/>
08988                     </attribute>
08989                     <attribute name="db:use-system-user">
08990                         <ref name="boolean"/>
08991                     </attribute>
08992                 </choice>
08993             </optional>
08994             <optional>
08995                 <attribute name="db:is-password-required">
08996                     <ref name="boolean"/>
08997                 </attribute>
08998             </optional>
08999             <optional>
09000                 <attribute name="db:login-timeout">
09001                     <ref name="positiveInteger"/>
09002                 </attribute>
09003             </optional>
09004         </interleave>
09005     </define>
09006     <define name="db-driver-settings">
09007         <element name="db:driver-settings">
09008             <ref name="db-driver-settings-attlist"/>
09009             <optional>
09010                 <ref name="db-auto-increment"/>
09011             </optional>
09012             <optional>
09013                 <ref name="db-delimiter"/>
09014             </optional>
09015             <optional>
09016                 <ref name="db-character-set"/>
09017             </optional>
09018             <optional>
09019                 <ref name="db-table-settings"/>
09020             </optional>
09021         </element>
09022     </define>
09023     <define name="db-driver-settings-attlist">
09024         <interleave>
09025             <ref name="db-show-deleted"/>
09026             <optional>
09027                 <attribute name="db:system-driver-settings">
09028                     <ref name="string"/>
09029                 </attribute>
09030             </optional>
09031             <optional>
09032                 <attribute name="db:base-dn">
09033                     <ref name="string"/>
09034                 </attribute>
09035             </optional>
09036             <ref name="db-is-first-row-header-line"/>
09037             <optional>
09038                 <attribute name="db:parameter-name-substitution">
09039                     <ref name="boolean"/>
09040                 </attribute>
09041             </optional>
09042         </interleave>
09043     </define>
09044     <define name="db-show-deleted">
09045         <optional>
09046             <attribute name="db:show-deleted">
09047                 <ref name="boolean"/>
09048             </attribute>
09049         </optional>
09050     </define>
09051     <define name="db-is-first-row-header-line">
09052         <optional>
09053             <attribute name="db:is-first-row-header-line">
09054                 <ref name="boolean"/>
09055             </attribute>
09056         </optional>
09057     </define>
09058     <define name="db-auto-increment">
09059         <element name="db:auto-increment">
09060             <ref name="db-auto-increment-attlist"/>
09061             <empty/>
09062         </element>
09063     </define>
09064     <define name="db-auto-increment-attlist">
09065         <interleave>
09066             <optional>
09067                 <attribute name="db:additional-column-statement">
09068                     <ref name="string"/>
09069                 </attribute>
09070             </optional>
09071             <optional>
09072                 <attribute name="db:row-retrieving-statement">
09073                     <ref name="string"/>
09074                 </attribute>
09075             </optional>
09076         </interleave>
09077     </define>
09078     <define name="db-delimiter">
09079         <element name="db:delimiter">
09080             <ref name="db-delimiter-attlist"/>
09081             <empty/>
09082         </element>
09083     </define>
09084     <define name="db-delimiter-attlist">
09085         <interleave>
09086             <optional>
09087                 <attribute name="db:field">
09088                     <ref name="string"/>
09089                 </attribute>
09090             </optional>
09091             <optional>
09092                 <attribute name="db:string">
09093                     <ref name="string"/>
09094                 </attribute>
09095             </optional>
09096             <optional>
09097                 <attribute name="db:decimal">
09098                     <ref name="string"/>
09099                 </attribute>
09100             </optional>
09101             <optional>
09102                 <attribute name="db:thousand">
09103                     <ref name="string"/>
09104                 </attribute>
09105             </optional>
09106         </interleave>
09107     </define>
09108     <define name="db-character-set">
09109         <element name="db:character-set">
09110             <ref name="db-character-set-attlist"/>
09111             <empty/>
09112         </element>
09113     </define>
09114     <define name="db-character-set-attlist">
09115         <optional>
09116             <attribute name="db:encoding">
09117                 <ref name="textEncoding"/>
09118             </attribute>
09119         </optional>
09120     </define>
09121     <define name="db-table-settings">
09122         <element name="db:table-settings">
09123             <zeroOrMore>
09124                 <ref name="db-table-setting"/>
09125             </zeroOrMore>
09126         </element>
09127     </define>
09128     <define name="db-table-setting">
09129         <element name="db:table-setting">
09130             <ref name="db-table-setting-attlist"/>
09131             <optional>
09132                 <ref name="db-delimiter"/>
09133             </optional>
09134             <optional>
09135                 <ref name="db-character-set"/>
09136             </optional>
09137             <empty/>
09138         </element>
09139     </define>
09140     <define name="db-table-setting-attlist">
09141         <ref name="db-is-first-row-header-line"/>
09142         <ref name="db-show-deleted"/>
09143     </define>
09144     <define name="db-application-connection-settings">
09145         <element name="db:application-connection-settings">
09146             <ref name="db-application-connection-settings-attlist"/>
09147             <optional>
09148                 <ref name="db-table-filter"/>
09149             </optional>
09150             <optional>
09151                 <ref name="db-table-type-filter"/>
09152             </optional>
09153             <optional>
09154                 <ref name="db-data-source-settings"/>
09155             </optional>
09156         </element>
09157     </define>
09158     <define name="db-application-connection-settings-attlist">
09159         <interleave>
09160             <optional>
09161                 <attribute name="db:is-table-name-length-limited">
09162                     <ref name="boolean"/>
09163                 </attribute>
09164             </optional>
09165             <optional>
09166                 <attribute name="db:enable-sql92-check">
09167                     <ref name="boolean"/>
09168                 </attribute>
09169             </optional>
09170             <optional>
09171                 <attribute name="db:append-table-alias-name">
09172                     <ref name="boolean"/>
09173                 </attribute>
09174             </optional>
09175             <optional>
09176                 <attribute name="db:ignore-driver-privileges">
09177                     <ref name="boolean"/>
09178                 </attribute>
09179             </optional>
09180             <optional>
09181                 <attribute name="db:boolean-comparison-mode">
09182                     <choice>
09183                         <value>equal-integer</value>
09184                         <value>is-boolean</value>
09185                         <value>equal-boolean</value>
09186                         <value>equal-use-only-zero</value>
09187                     </choice>
09188                 </attribute>
09189             </optional>
09190             <optional>
09191                 <attribute name="db:use-catalog">
09192                     <ref name="boolean"/>
09193                 </attribute>
09194             </optional>
09195             <optional>
09196                 <attribute name="db:max-row-count">
09197                     <ref name="integer"/>
09198                 </attribute>
09199             </optional>
09200             <optional>
09201                 <attribute name="db:suppress-version-columns">
09202                     <ref name="boolean"/>
09203                 </attribute>
09204             </optional>
09205         </interleave>
09206     </define>
09207     <define name="db-table-filter">
09208         <element name="db:table-filter">
09209             <ref name="db-table-filter-attlist"/>
09210             <optional>
09211                 <ref name="db-table-include-filter"/>
09212             </optional>
09213             <optional>
09214                 <ref name="db-table-exclude-filter"/>
09215             </optional>
09216         </element>
09217     </define>
09218     <define name="db-table-filter-attlist">
09219         <empty/>
09220     </define>
09221     <define name="db-table-include-filter">
09222         <element name="db:table-include-filter">
09223             <ref name="db-table-include-filter-attlist"/>
09224             <oneOrMore>
09225                 <ref name="db-table-filter-pattern"/>
09226             </oneOrMore>
09227         </element>
09228     </define>
09229     <define name="db-table-include-filter-attlist">
09230         <empty/>
09231     </define>
09232     <define name="db-table-exclude-filter">
09233         <element name="db:table-exclude-filter">
09234             <ref name="db-table-exclude-filter-attlist"/>
09235             <oneOrMore>
09236                 <ref name="db-table-filter-pattern"/>
09237             </oneOrMore>
09238         </element>
09239     </define>
09240     <define name="db-table-exclude-filter-attlist">
09241         <empty/>
09242     </define>
09243     <define name="db-table-filter-pattern">
09244         <element name="db:table-filter-pattern">
09245             <ref name="db-table-filter-pattern-attlist"/>
09246             <ref name="string"/>
09247         </element>
09248     </define>
09249     <define name="db-table-filter-pattern-attlist">
09250         <empty/>
09251     </define>
09252     <define name="db-table-type-filter">
09253         <element name="db:table-type-filter">
09254             <ref name="db-table-type-filter-attlist"/>
09255             <zeroOrMore>
09256                 <ref name="db-table-type"/>
09257             </zeroOrMore>
09258         </element>
09259     </define>
09260     <define name="db-table-type-filter-attlist">
09261         <empty/>
09262     </define>
09263     <define name="db-table-type">
09264         <element name="db:table-type">
09265             <ref name="db-table-type-attlist"/>
09266             <ref name="string"/>
09267         </element>
09268     </define>
09269     <define name="db-table-type-attlist">
09270         <empty/>
09271     </define>
09272     <define name="db-data-source-settings">
09273         <element name="db:data-source-settings">
09274             <ref name="db-data-source-settings-attlist"/>
09275             <oneOrMore>
09276                 <ref name="db-data-source-setting"/>
09277             </oneOrMore>
09278         </element>
09279     </define>
09280     <define name="db-data-source-settings-attlist">
09281         <empty/>
09282     </define>
09283     <define name="db-data-source-setting">
09284         <element name="db:data-source-setting">
09285             <ref name="db-data-source-setting-attlist"/>
09286             <oneOrMore>
09287                 <ref name="db-data-source-setting-value"/>
09288             </oneOrMore>
09289         </element>
09290     </define>
09291     <define name="db-data-source-setting-attlist">
09292         <interleave>
09293             <optional>
09294                 <attribute name="db:data-source-setting-is-list">
09295                     <ref name="boolean"/>
09296                 </attribute>
09297             </optional>
09298             <attribute name="db:data-source-setting-name">
09299                 <ref name="string"/>
09300             </attribute>
09301             <attribute name="db:data-source-setting-type">
09302                 <ref name="db-data-source-setting-types"/>
09303             </attribute>
09304         </interleave>
09305     </define>
09306     <define name="db-data-source-setting-types">
09307         <choice>
09308             <value>boolean</value>
09309             <value>short</value>
09310             <value>int</value>
09311             <value>long</value>
09312             <value>double</value>
09313             <value>string</value>
09314         </choice>
09315     </define>
09316     <define name="db-data-source-setting-value">
09317         <element name="db:data-source-setting-value">
09318             <ref name="db-data-source-setting-value-attlist"/>
09319             <ref name="string"/>
09320         </element>
09321     </define>
09322     <define name="db-data-source-setting-value-attlist">
09323         <empty/>
09324     </define>
09325     <define name="db-forms">
09326         <element name="db:forms">
09327             <ref name="db-forms-attlist"/>
09328             <zeroOrMore>
09329                 <choice>
09330                     <ref name="db-component"/>
09331                     <ref name="db-component-collection"/>
09332                 </choice>
09333             </zeroOrMore>
09334         </element>
09335     </define>
09336     <define name="db-forms-attlist">
09337         <empty/>
09338     </define>
09339     <define name="db-reports">
09340         <element name="db:reports">
09341             <ref name="db-reports-attlist"/>
09342             <zeroOrMore>
09343                 <choice>
09344                     <ref name="db-component"/>
09345                     <ref name="db-component-collection"/>
09346                 </choice>
09347             </zeroOrMore>
09348         </element>
09349     </define>
09350     <define name="db-reports-attlist">
09351         <empty/>
09352     </define>
09353     <define name="db-component-collection">
09354         <element name="db:component-collection">
09355             <ref name="db-component-collection-attlist"/>
09356             <ref name="common-db-object-name"/>
09357             <ref name="common-db-object-title"/>
09358             <ref name="common-db-object-description"/>
09359             <zeroOrMore>
09360                 <choice>
09361                     <ref name="db-component"/>
09362                     <ref name="db-component-collection"/>
09363                 </choice>
09364             </zeroOrMore>
09365         </element>
09366     </define>
09367     <define name="db-component-collection-attlist">
09368         <empty/>
09369     </define>
09370     <define name="db-component">
09371         <element name="db:component">
09372             <ref name="db-component-attlist"/>
09373             <ref name="common-db-object-name"/>
09374             <ref name="common-db-object-title"/>
09375             <ref name="common-db-object-description"/>
09376             <optional>
09377                 <choice>
09378                     <ref name="office-document"/>
09379                     <ref name="math-math"/>
09380                 </choice>
09381             </optional>
09382         </element>
09383     </define>
09384     <define name="db-component-attlist">
09385         <interleave>
09386             <optional>
09387                 <attribute name="xlink:type">
09388                     <value>simple</value>
09389                 </attribute>
09390                 <attribute name="xlink:href">
09391                     <ref name="anyIRI"/>
09392                 </attribute>
09393                 <optional>
09394                     <attribute name="xlink:show">
09395                         <value>none</value>
09396                     </attribute>
09397                 </optional>
09398                 <optional>
09399                     <attribute name="xlink:actuate">
09400                         <value>onRequest</value>
09401                     </attribute>
09402                 </optional>
09403             </optional>
09404             <optional>
09405                 <attribute name="db:as-template">
09406                     <ref name="boolean"/>
09407                 </attribute>
09408             </optional>
09409         </interleave>
09410     </define>
09411     <define name="db-queries">
09412         <element name="db:queries">
09413             <ref name="db-queries-attlist"/>
09414             <zeroOrMore>
09415                 <choice>
09416                     <ref name="db-query"/>
09417                     <ref name="db-query-collection"/>
09418                 </choice>
09419             </zeroOrMore>
09420         </element>
09421     </define>
09422     <define name="db-queries-attlist">
09423         <empty/>
09424     </define>
09425     <define name="db-query-collection">
09426         <element name="db:query-collection">
09427             <ref name="db-query-collection-attlist"/>
09428             <ref name="common-db-object-name"/>
09429             <ref name="common-db-object-title"/>
09430             <ref name="common-db-object-description"/>
09431             <zeroOrMore>
09432                 <choice>
09433                     <ref name="db-query"/>
09434                     <ref name="db-query-collection"/>
09435                 </choice>
09436             </zeroOrMore>
09437         </element>
09438     </define>
09439     <define name="db-query-collection-attlist">
09440         <empty/>
09441     </define>
09442     <define name="db-query">
09443         <element name="db:query">
09444             <ref name="db-query-attlist"/>
09445             <ref name="common-db-object-name"/>
09446             <ref name="common-db-object-title"/>
09447             <ref name="common-db-object-description"/>
09448             <ref name="common-db-table-style-name"/>
09449             <optional>
09450                 <ref name="db-order-statement"/>
09451             </optional>
09452             <optional>
09453                 <ref name="db-filter-statement"/>
09454             </optional>
09455             <optional>
09456                 <ref name="db-columns"/>
09457             </optional>
09458             <optional>
09459                 <ref name="db-update-table"/>
09460             </optional>
09461         </element>
09462     </define>
09463     <define name="db-query-attlist">
09464         <interleave>
09465             <attribute name="db:command">
09466                 <ref name="string"/>
09467             </attribute>
09468             <optional>
09469                 <attribute name="db:escape-processing">
09470                     <ref name="boolean"/>
09471                 </attribute>
09472             </optional>
09473         </interleave>
09474     </define>
09475     <define name="db-order-statement">
09476         <element name="db:order-statement">
09477             <ref name="db-command"/>
09478             <ref name="db-apply-command"/>
09479             <empty/>
09480         </element>
09481     </define>
09482     <define name="db-filter-statement">
09483         <element name="db:filter-statement">
09484             <ref name="db-command"/>
09485             <ref name="db-apply-command"/>
09486             <empty/>
09487         </element>
09488     </define>
09489     <define name="db-update-table">
09490         <element name="db:update-table">
09491             <ref name="common-db-table-name-attlist"/>
09492         </element>
09493     </define>
09494     <define name="db-table-presentations">
09495         <element name="db:table-representations">
09496             <ref name="db-table-presentations-attlist"/>
09497             <zeroOrMore>
09498                 <ref name="db-table-presentation"/>
09499             </zeroOrMore>
09500         </element>
09501     </define>
09502     <define name="db-table-presentations-attlist">
09503         <empty/>
09504     </define>
09505     <define name="db-table-presentation">
09506         <element name="db:table-representation">
09507             <ref name="db-table-presentation-attlist"/>
09508             <ref name="common-db-table-name-attlist"/>
09509             <ref name="common-db-object-title"/>
09510             <ref name="common-db-object-description"/>
09511             <ref name="common-db-table-style-name"/>
09512             <optional>
09513                 <ref name="db-order-statement"/>
09514             </optional>
09515             <optional>
09516                 <ref name="db-filter-statement"/>
09517             </optional>
09518             <optional>
09519                 <ref name="db-columns"/>
09520             </optional>
09521         </element>
09522     </define>
09523     <define name="db-table-presentation-attlist">
09524         <empty/>
09525     </define>
09526     <define name="db-columns">
09527         <element name="db:columns">
09528             <ref name="db-columns-attlist"/>
09529             <oneOrMore>
09530                 <ref name="db-column"/>
09531             </oneOrMore>
09532         </element>
09533     </define>
09534     <define name="db-columns-attlist">
09535         <empty/>
09536     </define>
09537     <define name="db-column">
09538         <element name="db:column">
09539             <ref name="db-column-attlist"/>
09540             <ref name="common-db-object-name"/>
09541             <ref name="common-db-object-title"/>
09542             <ref name="common-db-object-description"/>
09543             <ref name="common-db-default-value"/>
09544         </element>
09545     </define>
09546     <define name="db-column-attlist">
09547         <interleave>
09548             <optional>
09549                 <attribute name="db:visible">
09550                     <ref name="boolean"/>
09551                 </attribute>
09552             </optional>
09553
09554             <optional>
09555                 <attribute name="db:style-name">
09556                     <ref name="styleNameRef"/>
09557                 </attribute>
09558             </optional>
09559             <optional>
09560                 <attribute name="db:default-cell-style-name">
09561                     <ref name="styleNameRef"/>
09562                 </attribute>
09563             </optional>
09564         </interleave>
09565     </define>
09566     <define name="db-command">
09567         <attribute name="db:command">
09568             <ref name="string"/>
09569         </attribute>
09570     </define>
09571     <define name="db-apply-command">
09572         <optional>
09573             <attribute name="db:apply-command">
09574                 <ref name="boolean"/>
09575             </attribute>
09576         </optional>
09577     </define>
09578     <define name="common-db-table-name-attlist">
09579         <interleave>
09580             <attribute name="db:name">
09581                 <ref name="string"/>
09582             </attribute>
09583             <optional>
09584                 <attribute name="db:catalog-name">
09585                     <ref name="string"/>
09586                 </attribute>
09587             </optional>
09588             <optional>
09589                 <attribute name="db:schema-name">
09590                     <ref name="string"/>
09591                 </attribute>
09592             </optional>
09593         </interleave>
09594     </define>
09595     <define name="common-db-object-name">
09596         <attribute name="db:name">
09597             <ref name="string"/>
09598         </attribute>
09599     </define>
09600     <define name="common-db-object-title">
09601         <optional>
09602             <attribute name="db:title">
09603                 <ref name="string"/>
09604             </attribute>
09605         </optional>
09606     </define>
09607     <define name="common-db-object-description">
09608         <optional>
09609             <attribute name="db:description">
09610                 <ref name="string"/>
09611             </attribute>
09612         </optional>
09613     </define>
09614     <define name="common-db-table-style-name">
09615         <interleave>
09616             <optional>
09617                 <attribute name="db:style-name">
09618                     <ref name="styleNameRef"/>
09619                 </attribute>
09620             </optional>
09621             <optional>
09622                 <attribute name="db:default-row-style-name">
09623                     <ref name="styleNameRef"/>
09624                 </attribute>
09625             </optional>
09626         </interleave>
09627     </define>
09628     <define name="common-db-default-value">
09629         <optional>
09630             <ref name="common-value-and-type-attlist"/>
09631         </optional>
09632     </define>
09633     <define name="db-schema-definition">
09634         <element name="db:schema-definition">
09635             <ref name="db-schema-definition-attlist"/>
09636             <ref name="db-table-definitions"/>
09637         </element>
09638     </define>
09639     <define name="db-schema-definition-attlist">
09640         <empty/>
09641     </define>
09642     <define name="db-table-definitions">
09643         <element name="db:table-definitions">
09644             <ref name="db-table-definitions-attlist"/>
09645             <zeroOrMore>
09646                 <ref name="db-table-definition"/>
09647             </zeroOrMore>
09648         </element>
09649     </define>
09650     <define name="db-table-definitions-attlist">
09651         <empty/>
09652     </define>
09653     <define name="db-table-definition">
09654         <element name="db:table-definition">
09655             <ref name="common-db-table-name-attlist"/>
09656             <ref name="db-table-definition-attlist"/>
09657             <ref name="db-column-definitions"/>
09658             <optional>
09659                 <ref name="db-keys"/>
09660             </optional>
09661             <optional>
09662                 <ref name="db-indices"/>
09663             </optional>
09664         </element>
09665     </define>
09666     <define name="db-table-definition-attlist">
09667         <optional>
09668             <attribute name="db:type">
09669                 <ref name="string"/>
09670             </attribute>
09671         </optional>
09672     </define>
09673     <define name="db-column-definitions">
09674         <element name="db:column-definitions">
09675             <ref name="db-column-definitions-attlist"/>
09676             <oneOrMore>
09677                 <ref name="db-column-definition"/>
09678             </oneOrMore>
09679         </element>
09680     </define>
09681     <define name="db-column-definitions-attlist">
09682         <empty/>
09683     </define>
09684     <define name="db-column-definition">
09685         <element name="db:column-definition">
09686             <ref name="db-column-definition-attlist"/>
09687             <ref name="common-db-default-value"/>
09688         </element>
09689     </define>
09690     <define name="db-column-definition-attlist">
09691         <interleave>
09692             <attribute name="db:name">
09693                 <ref name="string"/>
09694             </attribute>
09695
09696             <optional>
09697                 <attribute name="db:data-type">
09698                     <ref name="db-data-types"/>
09699                 </attribute>
09700             </optional>
09701
09702             <optional>
09703                 <attribute name="db:type-name">
09704                     <ref name="string"/>
09705                 </attribute>
09706             </optional>
09707
09708             <optional>
09709                 <attribute name="db:precision">
09710                     <ref name="positiveInteger"/>
09711                 </attribute>
09712             </optional>
09713
09714             <optional>
09715                 <attribute name="db:scale">
09716                     <ref name="positiveInteger"/>
09717                 </attribute>
09718             </optional>
09719
09720             <optional>
09721                 <attribute name="db:is-nullable">
09722                     <choice>
09723                         <value>no-nulls</value>
09724                         <value>nullable</value>
09725                     </choice>
09726                 </attribute>
09727             </optional>
09728
09729             <optional>
09730                 <attribute name="db:is-empty-allowed">
09731                     <ref name="boolean"/>
09732                 </attribute>
09733             </optional>
09734
09735             <optional>
09736                 <attribute name="db:is-autoincrement">
09737                     <ref name="boolean"/>
09738                 </attribute>
09739             </optional>
09740         </interleave>
09741     </define>
09742     <define name="db-data-types">
09743         <choice>
09744             <value>bit</value>
09745             <value>boolean</value>
09746             <value>tinyint</value>
09747             <value>smallint</value>
09748             <value>integer</value>
09749             <value>bigint</value>
09750             <value>float</value>
09751             <value>real</value>
09752             <value>double</value>
09753             <value>numeric</value>
09754             <value>decimal</value>
09755             <value>char</value>
09756             <value>varchar</value>
09757             <value>longvarchar</value>
09758             <value>date</value>
09759             <value>time</value>
09760             <value>timestmp</value>
09761             <value>binary</value>
09762             <value>varbinary</value>
09763             <value>longvarbinary</value>
09764             <value>sqlnull</value>
09765             <value>other</value>
09766             <value>object</value>
09767             <value>distinct</value>
09768             <value>struct</value>
09769             <value>array</value>
09770             <value>blob</value>
09771             <value>clob</value>
09772             <value>ref</value>
09773         </choice>
09774     </define>
09775     <define name="db-keys">
09776         <element name="db:keys">
09777             <ref name="db-keys-attlist"/>
09778             <oneOrMore>
09779                 <ref name="db-key"/>
09780             </oneOrMore>
09781         </element>
09782     </define>
09783     <define name="db-keys-attlist">
09784         <empty/>
09785     </define>
09786     <define name="db-key">
09787         <element name="db:key">
09788             <ref name="db-key-attlist"/>
09789             <oneOrMore>
09790                 <ref name="db-key-columns"/>
09791             </oneOrMore>
09792         </element>
09793     </define>
09794     <define name="db-key-attlist">
09795         <interleave>
09796             <optional>
09797                 <attribute name="db:name">
09798                     <ref name="string"/>
09799                 </attribute>
09800             </optional>
09801
09802             <attribute name="db:type">
09803                 <choice>
09804                     <value>primary</value>
09805                     <value>unique</value>
09806                     <value>foreign</value>
09807                 </choice>
09808             </attribute>
09809
09810             <optional>
09811                 <attribute name="db:referenced-table-name">
09812                     <ref name="string"/>
09813                 </attribute>
09814             </optional>
09815
09816             <optional>
09817                 <attribute name="db:update-rule">
09818                     <choice>
09819                         <value>cascade</value>
09820                         <value>restrict</value>
09821                         <value>set-null</value>
09822                         <value>no-action</value>
09823                         <value>set-default</value>
09824                     </choice>
09825                 </attribute>
09826             </optional>
09827
09828             <optional>
09829                 <attribute name="db:delete-rule">
09830                     <choice>
09831                         <value>cascade</value>
09832                         <value>restrict</value>
09833                         <value>set-null</value>
09834                         <value>no-action</value>
09835                         <value>set-default</value>
09836                     </choice>
09837                 </attribute>
09838             </optional>
09839         </interleave>
09840     </define>
09841     <define name="db-key-columns">
09842         <element name="db:key-columns">
09843             <ref name="db-key-columns-attlist"/>
09844             <oneOrMore>
09845                 <ref name="db-key-column"/>
09846             </oneOrMore>
09847         </element>
09848     </define>
09849     <define name="db-key-columns-attlist">
09850         <empty/>
09851     </define>
09852     <define name="db-key-column">
09853         <element name="db:key-column">
09854             <ref name="db-key-column-attlist"/>
09855             <empty/>
09856         </element>
09857     </define>
09858     <define name="db-key-column-attlist">
09859         <interleave>
09860             <optional>
09861                 <attribute name="db:name">
09862                     <ref name="string"/>
09863                 </attribute>
09864             </optional>
09865
09866             <optional>
09867                 <attribute name="db:related-column-name">
09868                     <ref name="string"/>
09869                 </attribute>
09870             </optional>
09871         </interleave>
09872     </define>
09873     <define name="db-indices">
09874         <element name="db:indices">
09875             <ref name="db-indices-attlist"/>
09876             <oneOrMore>
09877                 <ref name="db-index"/>
09878             </oneOrMore>
09879         </element>
09880     </define>
09881     <define name="db-indices-attlist">
09882         <empty/>
09883     </define>
09884     <define name="db-index">
09885         <element name="db:index">
09886             <ref name="db-index-attlist"/>
09887             <oneOrMore>
09888                 <ref name="db-index-columns"/>
09889             </oneOrMore>
09890         </element>
09891     </define>
09892     <define name="db-index-attlist">
09893         <interleave>
09894             <attribute name="db:name">
09895                 <ref name="string"/>
09896             </attribute>
09897
09898             <optional>
09899                 <attribute name="db:catalog-name">
09900                     <ref name="string"/>
09901                 </attribute>
09902             </optional>
09903
09904             <optional>
09905                 <attribute name="db:is-unique">
09906                     <ref name="boolean"/>
09907                 </attribute>
09908             </optional>
09909
09910             <optional>
09911                 <attribute name="db:is-clustered">
09912                     <ref name="boolean"/>
09913                 </attribute>
09914             </optional>
09915         </interleave>
09916     </define>
09917     <define name="db-index-columns">
09918         <element name="db:index-columns">
09919             <oneOrMore>
09920                 <ref name="db-index-column"/>
09921             </oneOrMore>
09922         </element>
09923     </define>
09924     <define name="db-index-column">
09925         <element name="db:index-column">
09926             <ref name="db-index-column-attlist"/>
09927             <empty/>
09928         </element>
09929     </define>
09930     <define name="db-index-column-attlist">
09931         <interleave>
09932             <attribute name="db:name">
09933                 <ref name="string"/>
09934             </attribute>
09935
09936             <optional>
09937                 <attribute name="db:is-ascending">
09938                     <ref name="boolean"/>
09939                 </attribute>
09940             </optional>
09941         </interleave>
09942     </define>
09943     <define name="office-forms">
09944         <optional>
09945             <element name="office:forms">
09946                 <ref name="office-forms-attlist"/>
09947                 <zeroOrMore>
09948                     <choice>
09949                         <ref name="form-form"/>
09950                         <ref name="xforms-model"/>
09951                     </choice>
09952                 </zeroOrMore>
09953             </element>
09954         </optional>
09955     </define>
09956     <define name="office-forms-attlist">
09957         <interleave>
09958             <optional>
09959                 <attribute name="form:automatic-focus">
09960                     <ref name="boolean"/>
09961                 </attribute>
09962             </optional>
09963             <optional>
09964                 <attribute name="form:apply-design-mode">
09965                     <ref name="boolean"/>
09966                 </attribute>
09967             </optional>
09968         </interleave>
09969     </define>
09970     <define name="form-form">
09971         <element name="form:form">
09972             <ref name="common-form-control-attlist"/>
09973             <ref name="form-form-attlist"/>
09974             <optional>
09975                 <ref name="form-properties"/>
09976             </optional>
09977             <optional>
09978                 <ref name="office-event-listeners"/>
09979             </optional>
09980             <zeroOrMore>
09981                 <choice>
09982                     <ref name="controls"/>
09983                     <ref name="form-form"/>
09984                 </choice>
09985             </zeroOrMore>
09986             <optional>
09987                 <ref name="form-connection-resource"/>
09988             </optional>
09989         </element>
09990     </define>
09991     <define name="form-form-attlist">
09992         <interleave>
09993             <optional>
09994                 <attribute name="xlink:type">
09995                     <value>simple</value>
09996                 </attribute>
09997                 <attribute name="xlink:href">
09998                     <ref name="anyIRI"/>
09999                 </attribute>
10000                 <optional>
10001                     <attribute name="xlink:actuate">
10002                         <value>onRequest</value>
10003                     </attribute>
10004                 </optional>
10005             </optional>
10006             <optional>
10007                 <attribute name="office:target-frame">
10008                     <ref name="targetFrameName"/>
10009                 </attribute>
10010             </optional>
10011             <optional>
10012                 <attribute name="form:method">
10013                     <choice>
10014                         <value>get</value>
10015                         <value>post</value>
10016                         <ref name="string"/>
10017                     </choice>
10018                 </attribute>
10019             </optional>
10020             <optional>
10021                 <attribute name="form:enctype">
10022                     <ref name="string"/>
10023                 </attribute>
10024             </optional>
10025             <optional>
10026                 <attribute name="form:allow-deletes">
10027                     <ref name="boolean"/>
10028                 </attribute>
10029             </optional>
10030             <optional>
10031                 <attribute name="form:allow-inserts">
10032                     <ref name="boolean"/>
10033                 </attribute>
10034             </optional>
10035             <optional>
10036                 <attribute name="form:allow-updates">
10037                     <ref name="boolean"/>
10038                 </attribute>
10039             </optional>
10040             <optional>
10041                 <attribute name="form:apply-filter">
10042                     <ref name="boolean"/>
10043                 </attribute>
10044             </optional>
10045             <optional>
10046                 <attribute name="form:command-type">
10047                     <choice>
10048                         <value>table</value>
10049                         <value>query</value>
10050                         <value>command</value>
10051                     </choice>
10052                 </attribute>
10053             </optional>
10054             <optional>
10055                 <attribute name="form:command">
10056                     <ref name="string"/>
10057                 </attribute>
10058             </optional>
10059             <optional>
10060                 <attribute name="form:datasource">
10061                     <choice>
10062                         <ref name="anyIRI"/>
10063                         <ref name="string"/>
10064                     </choice>
10065                 </attribute>
10066             </optional>
10067             <optional>
10068                 <attribute name="form:master-fields">
10069                     <ref name="string"/>
10070                 </attribute>
10071             </optional>
10072             <optional>
10073                 <attribute name="form:detail-fields">
10074                     <ref name="string"/>
10075                 </attribute>
10076             </optional>
10077             <optional>
10078                 <attribute name="form:escape-processing">
10079                     <ref name="boolean"/>
10080                 </attribute>
10081             </optional>
10082             <optional>
10083                 <attribute name="form:filter">
10084                     <ref name="string"/>
10085                 </attribute>
10086             </optional>
10087             <optional>
10088                 <attribute name="form:ignore-result">
10089                     <ref name="boolean"/>
10090                 </attribute>
10091             </optional>
10092             <optional>
10093                 <attribute name="form:navigation-mode">
10094                     <ref name="navigation"/>
10095                 </attribute>
10096             </optional>
10097             <optional>
10098                 <attribute name="form:order">
10099                     <ref name="string"/>
10100                 </attribute>
10101             </optional>
10102             <optional>
10103                 <attribute name="form:tab-cycle">
10104                     <ref name="tab-cycles"/>
10105                 </attribute>
10106             </optional>
10107         </interleave>
10108     </define>
10109     <define name="navigation">
10110         <choice>
10111             <value>none</value>
10112             <value>current</value>
10113             <value>parent</value>
10114         </choice>
10115     </define>
10116     <define name="tab-cycles">
10117         <choice>
10118             <value>records</value>
10119             <value>current</value>
10120             <value>page</value>
10121         </choice>
10122     </define>
10123     <define name="form-connection-resource">
10124         <element name="form:connection-resource">
10125             <attribute name="xlink:href">
10126                 <ref name="anyIRI"/>
10127             </attribute>
10128             <empty/>
10129         </element>
10130     </define>
10131     <define name="xforms-model">
10132         <element name="xforms:model">
10133             <ref name="anyAttListOrElements"/>
10134         </element>
10135     </define>
10136     <define name="column-controls">
10137         <choice>
10138             <element name="form:text">
10139                 <ref name="form-text-attlist"/>
10140                 <ref name="common-form-control-content"/>
10141             </element>
10142             <element name="form:textarea">
10143                 <ref name="form-textarea-attlist"/>
10144                 <ref name="common-form-control-content"/>
10145                 <zeroOrMore>
10146                     <ref name="text-p"/>
10147                 </zeroOrMore>
10148             </element>
10149             <element name="form:formatted-text">
10150                 <ref name="form-formatted-text-attlist"/>
10151                 <ref name="common-form-control-content"/>
10152             </element>
10153             <element name="form:number">
10154                 <ref name="form-number-attlist"/>
10155                 <ref name="common-numeric-control-attlist"/>
10156                 <ref name="common-form-control-content"/>
10157                 <ref name="common-linked-cell"/>
10158                 <ref name="common-spin-button"/>
10159                 <ref name="common-repeat"/>
10160                 <ref name="common-delay-for-repeat"/>
10161             </element>
10162             <element name="form:date">
10163                 <ref name="form-date-attlist"/>
10164                 <ref name="common-numeric-control-attlist"/>
10165                 <ref name="common-form-control-content"/>
10166                 <ref name="common-linked-cell"/>
10167                 <ref name="common-spin-button"/>
10168                 <ref name="common-repeat"/>
10169                 <ref name="common-delay-for-repeat"/>
10170             </element>
10171             <element name="form:time">
10172                 <ref name="form-time-attlist"/>
10173                 <ref name="common-numeric-control-attlist"/>
10174                 <ref name="common-form-control-content"/>
10175                 <ref name="common-linked-cell"/>
10176                 <ref name="common-spin-button"/>
10177                 <ref name="common-repeat"/>
10178                 <ref name="common-delay-for-repeat"/>
10179             </element>
10180             <element name="form:combobox">
10181                 <ref name="form-combobox-attlist"/>
10182                 <ref name="common-form-control-content"/>
10183                 <zeroOrMore>
10184                     <ref name="form-item"/>
10185                 </zeroOrMore>
10186             </element>
10187             <element name="form:listbox">
10188                 <ref name="form-listbox-attlist"/>
10189                 <ref name="common-form-control-content"/>
10190                 <zeroOrMore>
10191                     <ref name="form-option"/>
10192                 </zeroOrMore>
10193             </element>
10194             <element name="form:checkbox">
10195                 <ref name="form-checkbox-attlist"/>
10196                 <ref name="common-form-control-content"/>
10197             </element>
10198         </choice>
10199     </define>
10200     <define name="controls">
10201         <choice>
10202             <ref name="column-controls"/>
10203             <element name="form:password">
10204                 <ref name="form-password-attlist"/>
10205                 <ref name="common-form-control-content"/>
10206             </element>
10207             <element name="form:file">
10208                 <ref name="form-file-attlist"/>
10209                 <ref name="common-form-control-content"/>
10210             </element>
10211             <element name="form:fixed-text">
10212                 <ref name="form-fixed-text-attlist"/>
10213                 <ref name="common-form-control-content"/>
10214             </element>
10215             <element name="form:button">
10216                 <ref name="form-button-attlist"/>
10217                 <ref name="common-form-control-content"/>
10218             </element>
10219             <element name="form:image">
10220                 <ref name="form-image-attlist"/>
10221                 <ref name="common-form-control-content"/>
10222             </element>
10223             <element name="form:radio">
10224                 <ref name="form-radio-attlist"/>
10225                 <ref name="common-form-control-content"/>
10226             </element>
10227             <element name="form:frame">
10228                 <ref name="form-frame-attlist"/>
10229                 <ref name="common-form-control-content"/>
10230             </element>
10231             <element name="form:image-frame">
10232                 <ref name="form-image-frame-attlist"/>
10233                 <ref name="common-form-control-content"/>
10234             </element>
10235             <element name="form:hidden">
10236                 <ref name="form-hidden-attlist"/>
10237                 <ref name="common-form-control-content"/>
10238             </element>
10239             <element name="form:grid">
10240                 <ref name="form-grid-attlist"/>
10241                 <ref name="common-form-control-content"/>
10242                 <zeroOrMore>
10243                     <ref name="form-column"/>
10244                 </zeroOrMore>
10245             </element>
10246             <element name="form:value-range">
10247                 <ref name="form-value-range-attlist"/>
10248                 <ref name="common-form-control-content"/>
10249             </element>
10250             <element name="form:generic-control">
10251                 <ref name="form-generic-control-attlist"/>
10252                 <ref name="common-form-control-content"/>
10253             </element>
10254         </choice>
10255     </define>
10256     <define name="form-text-attlist">
10257         <ref name="form-control-attlist"/>
10258         <ref name="common-current-value-attlist"/>
10259         <ref name="common-disabled-attlist"/>
10260         <ref name="common-maxlength-attlist"/>
10261         <ref name="common-printable-attlist"/>
10262         <ref name="common-readonly-attlist"/>
10263         <ref name="common-tab-attlist"/>
10264         <ref name="common-title-attlist"/>
10265         <ref name="common-value-attlist"/>
10266         <ref name="common-convert-empty-attlist"/>
10267         <ref name="common-data-field-attlist"/>
10268         <ref name="common-linked-cell"/>
10269     </define>
10270     <define name="form-control-attlist">
10271         <ref name="common-form-control-attlist"/>
10272         <ref name="common-control-id-attlist"/>
10273         <ref name="xforms-bind-attlist"/>
10274     </define>
10275     <define name="common-form-control-content">
10276         <optional>
10277             <ref name="form-properties"/>
10278         </optional>
10279         <optional>
10280             <ref name="office-event-listeners"/>
10281         </optional>
10282     </define>
10283     <define name="form-textarea-attlist">
10284         <ref name="form-control-attlist"/>
10285         <ref name="common-current-value-attlist"/>
10286         <ref name="common-disabled-attlist"/>
10287         <ref name="common-maxlength-attlist"/>
10288         <ref name="common-printable-attlist"/>
10289         <ref name="common-readonly-attlist"/>
10290         <ref name="common-tab-attlist"/>
10291         <ref name="common-title-attlist"/>
10292         <ref name="common-value-attlist"/>
10293         <ref name="common-convert-empty-attlist"/>
10294         <ref name="common-data-field-attlist"/>
10295         <ref name="common-linked-cell"/>
10296     </define>
10297     <define name="form-password-attlist">
10298         <interleave>
10299             <ref name="form-control-attlist"/>
10300             <ref name="common-disabled-attlist"/>
10301             <ref name="common-maxlength-attlist"/>
10302             <ref name="common-printable-attlist"/>
10303             <ref name="common-tab-attlist"/>
10304             <ref name="common-title-attlist"/>
10305             <ref name="common-value-attlist"/>
10306             <ref name="common-convert-empty-attlist"/>
10307             <ref name="common-linked-cell"/>
10308             <optional>
10309                 <attribute name="form:echo-char">
10310                     <ref name="character"/>
10311                 </attribute>
10312             </optional>
10313         </interleave>
10314     </define>
10315     <define name="form-file-attlist">
10316         <ref name="form-control-attlist"/>
10317         <ref name="common-current-value-attlist"/>
10318         <ref name="common-disabled-attlist"/>
10319         <ref name="common-maxlength-attlist"/>
10320         <ref name="common-printable-attlist"/>
10321         <ref name="common-readonly-attlist"/>
10322         <ref name="common-tab-attlist"/>
10323         <ref name="common-title-attlist"/>
10324         <ref name="common-value-attlist"/>
10325         <ref name="common-linked-cell"/>
10326     </define>
10327     <define name="form-formatted-text-attlist">
10328         <interleave>
10329             <ref name="form-control-attlist"/>
10330             <ref name="common-current-value-attlist"/>
10331             <ref name="common-disabled-attlist"/>
10332             <ref name="common-maxlength-attlist"/>
10333             <ref name="common-printable-attlist"/>
10334             <ref name="common-readonly-attlist"/>
10335             <ref name="common-tab-attlist"/>
10336             <ref name="common-title-attlist"/>
10337             <ref name="common-value-attlist"/>
10338             <ref name="common-convert-empty-attlist"/>
10339             <ref name="common-data-field-attlist"/>
10340             <ref name="common-linked-cell"/>
10341             <ref name="common-spin-button"/>
10342             <ref name="common-repeat"/>
10343             <ref name="common-delay-for-repeat"/>
10344             <optional>
10345                 <attribute name="form:max-value">
10346                     <ref name="string"/>
10347                 </attribute>
10348             </optional>
10349             <optional>
10350                 <attribute name="form:min-value">
10351                     <ref name="string"/>
10352                 </attribute>
10353             </optional>
10354             <optional>
10355                 <attribute name="form:validation">
10356                     <ref name="boolean"/>
10357                 </attribute>
10358             </optional>
10359         </interleave>
10360     </define>
10361     <define name="common-numeric-control-attlist">
10362         <ref name="form-control-attlist"/>
10363         <ref name="common-disabled-attlist"/>
10364         <ref name="common-maxlength-attlist"/>
10365         <ref name="common-printable-attlist"/>
10366         <ref name="common-readonly-attlist"/>
10367         <ref name="common-tab-attlist"/>
10368         <ref name="common-title-attlist"/>
10369         <ref name="common-convert-empty-attlist"/>
10370         <ref name="common-data-field-attlist"/>
10371     </define>
10372     <define name="form-number-attlist">
10373         <interleave>
10374             <optional>
10375                 <attribute name="form:value">
10376                     <ref name="double"/>
10377                 </attribute>
10378             </optional>
10379             <optional>
10380                 <attribute name="form:current-value">
10381                     <ref name="double"/>
10382                 </attribute>
10383             </optional>
10384             <optional>
10385                 <attribute name="form:min-value">
10386                     <ref name="double"/>
10387                 </attribute>
10388             </optional>
10389             <optional>
10390                 <attribute name="form:max-value">
10391                     <ref name="double"/>
10392                 </attribute>
10393             </optional>
10394         </interleave>
10395     </define>
10396     <define name="form-date-attlist">
10397         <interleave>
10398             <optional>
10399                 <attribute name="form:value">
10400                     <ref name="date"/>
10401                 </attribute>
10402             </optional>
10403             <optional>
10404                 <attribute name="form:current-value">
10405                     <ref name="date"/>
10406                 </attribute>
10407             </optional>
10408             <optional>
10409                 <attribute name="form:min-value">
10410                     <ref name="date"/>
10411                 </attribute>
10412             </optional>
10413             <optional>
10414                 <attribute name="form:max-value">
10415                     <ref name="date"/>
10416                 </attribute>
10417             </optional>
10418         </interleave>
10419     </define>
10420     <define name="form-time-attlist">
10421         <interleave>
10422             <optional>
10423                 <attribute name="form:value">
10424                     <ref name="time"/>
10425                 </attribute>
10426             </optional>
10427             <optional>
10428                 <attribute name="form:current-value">
10429                     <ref name="time"/>
10430                 </attribute>
10431             </optional>
10432             <optional>
10433                 <attribute name="form:min-value">
10434                     <ref name="time"/>
10435                 </attribute>
10436             </optional>
10437             <optional>
10438                 <attribute name="form:max-value">
10439                     <ref name="time"/>
10440                 </attribute>
10441             </optional>
10442         </interleave>
10443     </define>
10444     <define name="form-fixed-text-attlist">
10445         <interleave>
10446             <ref name="form-control-attlist"/>
10447             <ref name="for"/>
10448             <ref name="common-disabled-attlist"/>
10449             <ref name="label"/>
10450             <ref name="common-printable-attlist"/>
10451             <ref name="common-title-attlist"/>
10452             <optional>
10453                 <attribute name="form:multi-line">
10454                     <ref name="boolean"/>
10455                 </attribute>
10456             </optional>
10457         </interleave>
10458     </define>
10459     <define name="form-combobox-attlist">
10460         <interleave>
10461             <ref name="form-control-attlist"/>
10462             <ref name="common-current-value-attlist"/>
10463             <ref name="common-disabled-attlist"/>
10464             <ref name="dropdown"/>
10465             <ref name="common-maxlength-attlist"/>
10466             <ref name="common-printable-attlist"/>
10467             <ref name="common-readonly-attlist"/>
10468             <ref name="size"/>
10469             <ref name="common-tab-attlist"/>
10470             <ref name="common-title-attlist"/>
10471             <ref name="common-value-attlist"/>
10472             <ref name="common-convert-empty-attlist"/>
10473             <ref name="common-data-field-attlist"/>
10474             <ref name="list-source"/>
10475             <ref name="list-source-type"/>
10476             <ref name="common-linked-cell"/>
10477             <ref name="common-source-cell-range"/>
10478             <optional>
10479                 <attribute name="form:auto-complete">
10480                     <ref name="boolean"/>
10481                 </attribute>
10482             </optional>
10483         </interleave>
10484     </define>
10485     <define name="form-item">
10486         <element name="form:item">
10487             <ref name="form-item-attlist"/>
10488             <text/>
10489         </element>
10490     </define>
10491     <define name="form-item-attlist">
10492         <ref name="label"/>
10493     </define>
10494     <define name="form-listbox-attlist">
10495         <interleave>
10496             <ref name="form-control-attlist"/>
10497             <ref name="common-disabled-attlist"/>
10498             <ref name="dropdown"/>
10499             <ref name="common-printable-attlist"/>
10500             <ref name="size"/>
10501             <ref name="common-tab-attlist"/>
10502             <ref name="common-title-attlist"/>
10503             <ref name="bound-column"/>
10504             <ref name="common-data-field-attlist"/>
10505             <ref name="list-source"/>
10506             <ref name="list-source-type"/>
10507             <ref name="common-linked-cell"/>
10508             <ref name="list-linkage-type"/>
10509             <ref name="common-source-cell-range"/>
10510             <optional>
10511                 <attribute name="form:multiple">
10512                     <ref name="boolean"/>
10513                 </attribute>
10514             </optional>
10515             <optional>
10516                 <attribute name="form:xforms-list-source">
10517                     <ref name="string"/>
10518                 </attribute>
10519             </optional>
10520         </interleave>
10521     </define>
10522     <define name="list-linkage-type">
10523         <optional>
10524             <attribute name="form:list-linkage-type">
10525                 <choice>
10526                     <value>selection</value>
10527                     <value>selection-indices</value>
10528                 </choice>
10529             </attribute>
10530         </optional>
10531     </define>
10532     <define name="form-option">
10533         <element name="form:option">
10534             <ref name="form-option-attlist"/>
10535             <text/>
10536         </element>
10537     </define>
10538     <define name="form-option-attlist">
10539         <ref name="current-selected"/>
10540         <ref name="selected"/>
10541         <ref name="label"/>
10542         <ref name="common-value-attlist"/>
10543     </define>
10544     <define name="form-button-attlist">
10545         <interleave>
10546             <ref name="form-control-attlist"/>
10547             <ref name="button-type"/>
10548             <ref name="common-disabled-attlist"/>
10549             <ref name="label"/>
10550             <ref name="image-data"/>
10551             <ref name="common-printable-attlist"/>
10552             <ref name="common-tab-attlist"/>
10553             <ref name="target-frame"/>
10554             <ref name="target-location"/>
10555             <ref name="common-title-attlist"/>
10556             <ref name="common-value-attlist"/>
10557             <ref name="common-form-relative-image-position-attlist"/>
10558             <ref name="common-repeat"/>
10559             <ref name="common-delay-for-repeat"/>
10560             <optional>
10561                 <attribute name="form:default-button">
10562                     <ref name="boolean"/>
10563                 </attribute>
10564             </optional>
10565             <optional>
10566                 <attribute name="form:toggle">
10567                     <ref name="boolean"/>
10568                 </attribute>
10569             </optional>
10570             <optional>
10571                 <attribute name="form:focus-on-click">
10572                     <ref name="boolean"/>
10573                 </attribute>
10574             </optional>
10575             <optional>
10576                 <attribute name="form:xforms-submission">
10577                     <ref name="string"/>
10578                 </attribute>
10579             </optional>
10580         </interleave>
10581     </define>
10582     <define name="form-image-attlist">
10583         <ref name="form-control-attlist"/>
10584         <ref name="button-type"/>
10585         <ref name="common-disabled-attlist"/>
10586         <ref name="image-data"/>
10587         <ref name="common-printable-attlist"/>
10588         <ref name="common-tab-attlist"/>
10589         <ref name="target-frame"/>
10590         <ref name="target-location"/>
10591         <ref name="common-title-attlist"/>
10592         <ref name="common-value-attlist"/>
10593     </define>
10594     <define name="form-checkbox-attlist">
10595         <interleave>
10596             <ref name="form-control-attlist"/>
10597             <ref name="common-disabled-attlist"/>
10598             <ref name="label"/>
10599             <ref name="common-printable-attlist"/>
10600             <ref name="common-tab-attlist"/>
10601             <ref name="common-title-attlist"/>
10602             <ref name="common-value-attlist"/>
10603             <ref name="common-data-field-attlist"/>
10604             <ref name="common-form-visual-effect-attlist"/>
10605             <ref name="common-form-relative-image-position-attlist"/>
10606             <ref name="common-linked-cell"/>
10607             <optional>
10608                 <attribute name="form:current-state">
10609                     <ref name="states"/>
10610                 </attribute>
10611             </optional>
10612             <optional>
10613                 <attribute name="form:is-tristate">
10614                     <ref name="boolean"/>
10615                 </attribute>
10616             </optional>
10617             <optional>
10618                 <attribute name="form:state">
10619                     <ref name="states"/>
10620                 </attribute>
10621             </optional>
10622         </interleave>
10623     </define>
10624     <define name="states">
10625         <choice>
10626             <value>unchecked</value>
10627             <value>checked</value>
10628             <value>unknown</value>
10629         </choice>
10630     </define>
10631     <define name="form-radio-attlist">
10632         <ref name="form-control-attlist"/>
10633         <ref name="current-selected"/>
10634         <ref name="common-disabled-attlist"/>
10635         <ref name="label"/>
10636         <ref name="common-printable-attlist"/>
10637         <ref name="selected"/>
10638         <ref name="common-tab-attlist"/>
10639         <ref name="common-title-attlist"/>
10640         <ref name="common-value-attlist"/>
10641         <ref name="common-data-field-attlist"/>
10642         <ref name="common-form-visual-effect-attlist"/>
10643         <ref name="common-form-relative-image-position-attlist"/>
10644         <ref name="common-linked-cell"/>
10645     </define>
10646     <define name="form-frame-attlist">
10647         <ref name="form-control-attlist"/>
10648         <ref name="common-disabled-attlist"/>
10649         <ref name="for"/>
10650         <ref name="label"/>
10651         <ref name="common-printable-attlist"/>
10652         <ref name="common-title-attlist"/>
10653     </define>
10654     <define name="form-image-frame-attlist">
10655         <ref name="form-control-attlist"/>
10656         <ref name="common-disabled-attlist"/>
10657         <ref name="image-data"/>
10658         <ref name="common-printable-attlist"/>
10659         <ref name="common-readonly-attlist"/>
10660         <ref name="common-title-attlist"/>
10661         <ref name="common-data-field-attlist"/>
10662     </define>
10663     <define name="form-hidden-attlist">
10664         <ref name="form-control-attlist"/>
10665         <ref name="common-value-attlist"/>
10666     </define>
10667     <define name="form-grid-attlist">
10668         <ref name="form-control-attlist"/>
10669         <ref name="common-disabled-attlist"/>
10670         <ref name="common-printable-attlist"/>
10671         <ref name="common-tab-attlist"/>
10672         <ref name="common-title-attlist"/>
10673     </define>
10674     <define name="form-column">
10675         <element name="form:column">
10676             <ref name="form-column-attlist"/>
10677             <oneOrMore>
10678                 <ref name="column-controls"/>
10679             </oneOrMore>
10680         </element>
10681     </define>
10682     <define name="form-column-attlist">
10683         <ref name="common-form-control-attlist"/>
10684         <ref name="label"/>
10685         <ref name="text-style-name"/>
10686     </define>
10687     <define name="text-style-name">
10688         <optional>
10689             <attribute name="form:text-style-name">
10690                 <ref name="styleNameRef"/>
10691             </attribute>
10692         </optional>
10693     </define>
10694     <define name="form-value-range-attlist">
10695         <interleave>
10696             <ref name="form-control-attlist"/>
10697             <ref name="common-disabled-attlist"/>
10698             <ref name="common-printable-attlist"/>
10699             <ref name="common-tab-attlist"/>
10700             <ref name="common-title-attlist"/>
10701             <ref name="common-value-attlist"/>
10702             <ref name="common-linked-cell"/>
10703             <ref name="common-repeat"/>
10704             <ref name="common-delay-for-repeat"/>
10705             <optional>
10706                 <attribute name="form:max-value">
10707                     <ref name="integer"/>
10708                 </attribute>
10709             </optional>
10710             <optional>
10711                 <attribute name="form:min-value">
10712                     <ref name="integer"/>
10713                 </attribute>
10714             </optional>
10715             <optional>
10716                 <attribute name="form:step-size">
10717                     <ref name="positiveInteger"/>
10718                 </attribute>
10719             </optional>
10720             <optional>
10721                 <attribute name="form:page-step-size">
10722                     <ref name="positiveInteger"/>
10723                 </attribute>
10724             </optional>
10725             <optional>
10726                 <attribute name="form:orientation">
10727                     <choice>
10728                         <value>horizontal</value>
10729                         <value>vertical</value>
10730                     </choice>
10731                 </attribute>
10732             </optional>
10733         </interleave>
10734     </define>
10735     <define name="form-generic-control-attlist">
10736         <ref name="form-control-attlist"/>
10737     </define>
10738     <define name="common-form-control-attlist">
10739         <interleave>
10740             <optional>
10741                 <attribute name="form:name">
10742                     <ref name="string"/>
10743                 </attribute>
10744             </optional>
10745             <optional>
10746                 <attribute name="form:control-implementation">
10747                     <ref name="namespacedToken"/>
10748                 </attribute>
10749             </optional>
10750         </interleave>
10751     </define>
10752     <define name="xforms-bind-attlist">
10753         <optional>
10754             <attribute name="xforms:bind">
10755                 <ref name="string"/>
10756             </attribute>
10757         </optional>
10758     </define>
10759     <define name="types">
10760         <choice>
10761             <value>submit</value>
10762             <value>reset</value>
10763             <value>push</value>
10764             <value>url</value>
10765         </choice>
10766     </define>
10767     <define name="button-type">
10768         <optional>
10769             <attribute name="form:button-type">
10770                 <ref name="types"/>
10771             </attribute>
10772         </optional>
10773     </define>
10774     <define name="common-control-id-attlist">
10775         <group>
10776             <ref name="xml-id"/>
10777             <optional>
10778                 <attribute name="form:id">
10779                     <ref name="NCName"/>
10780                 </attribute>
10781             </optional>
10782         </group>
10783     </define>
10784     <define name="current-selected">
10785         <optional>
10786             <attribute name="form:current-selected">
10787                 <ref name="boolean"/>
10788             </attribute>
10789         </optional>
10790     </define>
10791     <define name="common-value-attlist">
10792         <optional>
10793             <attribute name="form:value">
10794                 <ref name="string"/>
10795             </attribute>
10796         </optional>
10797     </define>
10798     <define name="common-current-value-attlist">
10799         <optional>
10800             <attribute name="form:current-value">
10801                 <ref name="string"/>
10802             </attribute>
10803         </optional>
10804     </define>
10805     <define name="common-disabled-attlist">
10806         <optional>
10807             <attribute name="form:disabled">
10808                 <ref name="boolean"/>
10809             </attribute>
10810         </optional>
10811     </define>
10812     <define name="dropdown">
10813         <optional>
10814             <attribute name="form:dropdown">
10815                 <ref name="boolean"/>
10816             </attribute>
10817         </optional>
10818     </define>
10819     <define name="for">
10820         <optional>
10821             <attribute name="form:for">
10822                 <ref name="string"/>
10823             </attribute>
10824         </optional>
10825     </define>
10826     <define name="image-data">
10827         <optional>
10828             <attribute name="form:image-data">
10829                 <ref name="anyIRI"/>
10830             </attribute>
10831         </optional>
10832     </define>
10833     <define name="label">
10834         <optional>
10835             <attribute name="form:label">
10836                 <ref name="string"/>
10837             </attribute>
10838         </optional>
10839     </define>
10840     <define name="common-maxlength-attlist">
10841         <optional>
10842             <attribute name="form:max-length">
10843                 <ref name="nonNegativeInteger"/>
10844             </attribute>
10845         </optional>
10846     </define>
10847     <define name="common-printable-attlist">
10848         <optional>
10849             <attribute name="form:printable">
10850                 <ref name="boolean"/>
10851             </attribute>
10852         </optional>
10853     </define>
10854     <define name="common-readonly-attlist">
10855         <optional>
10856             <attribute name="form:readonly">
10857                 <ref name="boolean"/>
10858             </attribute>
10859         </optional>
10860     </define>
10861     <define name="selected">
10862         <optional>
10863             <attribute name="form:selected">
10864                 <ref name="boolean"/>
10865             </attribute>
10866         </optional>
10867     </define>
10868     <define name="size">
10869         <optional>
10870             <attribute name="form:size">
10871                 <ref name="nonNegativeInteger"/>
10872             </attribute>
10873         </optional>
10874     </define>
10875     <define name="common-tab-attlist">
10876         <interleave>
10877             <optional>
10878                 <attribute name="form:tab-index">
10879                     <ref name="nonNegativeInteger"/>
10880                 </attribute>
10881             </optional>
10882             <optional>
10883                 <attribute name="form:tab-stop">
10884                     <ref name="boolean"/>
10885                 </attribute>
10886             </optional>
10887         </interleave>
10888     </define>
10889     <define name="target-frame">
10890         <optional>
10891             <attribute name="office:target-frame">
10892                 <ref name="targetFrameName"/>
10893             </attribute>
10894         </optional>
10895     </define>
10896     <define name="target-location">
10897         <optional>
10898             <attribute name="xlink:href">
10899                 <ref name="anyIRI"/>
10900             </attribute>
10901         </optional>
10902     </define>
10903     <define name="common-title-attlist">
10904         <optional>
10905             <attribute name="form:title">
10906                 <ref name="string"/>
10907             </attribute>
10908         </optional>
10909     </define>
10910     <define name="common-form-visual-effect-attlist">
10911         <optional>
10912             <attribute name="form:visual-effect">
10913                 <choice>
10914                     <value>flat</value>
10915                     <value>3d</value>
10916                 </choice>
10917             </attribute>
10918         </optional>
10919     </define>
10920     <define name="common-form-relative-image-position-attlist">
10921         <choice>
10922             <optional>
10923                 <attribute name="form:image-position">
10924                     <value>center</value>
10925                 </attribute>
10926             </optional>
10927             <group>
10928                 <attribute name="form:image-position">
10929                     <choice>
10930                         <value>start</value>
10931                         <value>end</value>
10932                         <value>top</value>
10933                         <value>bottom</value>
10934                     </choice>
10935                 </attribute>
10936                 <optional>
10937                     <attribute name="form:image-align">
10938                         <choice>
10939                             <value>start</value>
10940                             <value>center</value>
10941                             <value>end</value>
10942                         </choice>
10943                     </attribute>
10944                 </optional>
10945             </group>
10946         </choice>
10947     </define>
10948     <define name="bound-column">
10949         <optional>
10950             <attribute name="form:bound-column">
10951                 <ref name="string"/>
10952             </attribute>
10953         </optional>
10954     </define>
10955     <define name="common-convert-empty-attlist">
10956         <optional>
10957             <attribute name="form:convert-empty-to-null">
10958                 <ref name="boolean"/>
10959             </attribute>
10960         </optional>
10961     </define>
10962     <define name="common-data-field-attlist">
10963         <optional>
10964             <attribute name="form:data-field">
10965                 <ref name="string"/>
10966             </attribute>
10967         </optional>
10968     </define>
10969     <define name="list-source">
10970         <optional>
10971             <attribute name="form:list-source">
10972                 <ref name="string"/>
10973             </attribute>
10974         </optional>
10975     </define>
10976     <define name="list-source-type">
10977         <optional>
10978             <attribute name="form:list-source-type">
10979                 <choice>
10980                     <value>table</value>
10981                     <value>query</value>
10982                     <value>sql</value>
10983                     <value>sql-pass-through</value>
10984                     <value>value-list</value>
10985                     <value>table-fields</value>
10986                 </choice>
10987             </attribute>
10988         </optional>
10989     </define>
10990     <define name="common-linked-cell">
10991         <optional>
10992             <attribute name="form:linked-cell">
10993                 <choice>
10994                     <ref name="cellAddress"/>
10995                     <ref name="string"/>
10996                 </choice>
10997             </attribute>
10998         </optional>
10999     </define>
11000     <define name="common-source-cell-range">
11001         <optional>
11002             <attribute name="form:source-cell-range">
11003                 <choice>
11004                     <ref name="cellRangeAddress"/>
11005                     <ref name="string"/>
11006                 </choice>
11007             </attribute>
11008         </optional>
11009     </define>
11010     <define name="common-spin-button">
11011         <optional>
11012             <attribute name="form:spin-button">
11013                 <ref name="boolean"/>
11014             </attribute>
11015         </optional>
11016     </define>
11017     <define name="common-repeat">
11018         <optional>
11019             <attribute name="form:repeat">
11020                 <ref name="boolean"/>
11021             </attribute>
11022         </optional>
11023     </define>
11024     <define name="common-delay-for-repeat">
11025         <optional>
11026             <attribute name="form:delay-for-repeat">
11027                 <ref name="duration"/>
11028             </attribute>
11029         </optional>
11030     </define>
11031     <define name="form-properties">
11032         <element name="form:properties">
11033             <oneOrMore>
11034                 <ref name="form-property"/>
11035             </oneOrMore>
11036         </element>
11037     </define>
11038     <define name="form-property">
11039         <choice>
11040             <element name="form:property">
11041                 <ref name="form-property-name"/>
11042                 <ref name="form-property-value-and-type-attlist"/>
11043             </element>
11044             <element name="form:list-property">
11045                 <ref name="form-property-name"/>
11046                 <ref name="form-property-type-and-value-list"/>
11047             </element>
11048         </choice>
11049     </define>
11050     <define name="form-property-name">
11051         <attribute name="form:property-name">
11052             <ref name="string"/>
11053         </attribute>
11054     </define>
11055     <define name="form-property-value-and-type-attlist">
11056         <choice>
11057             <ref name="common-value-and-type-attlist"/>
11058             <attribute name="office:value-type">
11059                 <value>void</value>
11060             </attribute>
11061         </choice>
11062     </define>
11063     <define name="form-property-type-and-value-list">
11064         <choice>
11065             <group>
11066                 <attribute name="office:value-type">
11067                     <value>float</value>
11068                 </attribute>
11069                 <zeroOrMore>
11070                     <element name="form:list-value">
11071                         <attribute name="office:value">
11072                             <ref name="double"/>
11073                         </attribute>
11074                     </element>
11075                 </zeroOrMore>
11076             </group>
11077             <group>
11078                 <attribute name="office:value-type">
11079                     <value>percentage</value>
11080                 </attribute>
11081                 <zeroOrMore>
11082                     <element name="form:list-value">
11083                         <attribute name="office:value">
11084                             <ref name="double"/>
11085                         </attribute>
11086                     </element>
11087                 </zeroOrMore>
11088             </group>
11089             <group>
11090                 <attribute name="office:value-type">
11091                     <value>currency</value>
11092                 </attribute>
11093                 <zeroOrMore>
11094                     <element name="form:list-value">
11095                         <attribute name="office:value">
11096                             <ref name="double"/>
11097                         </attribute>
11098                         <optional>
11099                             <attribute name="office:currency">
11100                                 <ref name="string"/>
11101                             </attribute>
11102                         </optional>
11103                     </element>
11104                 </zeroOrMore>
11105             </group>
11106             <group>
11107                 <attribute name="office:value-type">
11108                     <value>date</value>
11109                 </attribute>
11110                 <zeroOrMore>
11111                     <element name="form:list-value">
11112                         <attribute name="office:date-value">
11113                             <ref name="dateOrDateTime"/>
11114                         </attribute>
11115                     </element>
11116                 </zeroOrMore>
11117             </group>
11118             <group>
11119                 <attribute name="office:value-type">
11120                     <value>time</value>
11121                 </attribute>
11122                 <zeroOrMore>
11123                     <element name="form:list-value">
11124                         <attribute name="office:time-value">
11125                             <ref name="duration"/>
11126                         </attribute>
11127                     </element>
11128                 </zeroOrMore>
11129             </group>
11130             <group>
11131                 <attribute name="office:value-type">
11132                     <value>boolean</value>
11133                 </attribute>
11134                 <zeroOrMore>
11135                     <element name="form:list-value">
11136                         <attribute name="office:boolean-value">
11137                             <ref name="boolean"/>
11138                         </attribute>
11139                     </element>
11140                 </zeroOrMore>
11141             </group>
11142             <group>
11143                 <attribute name="office:value-type">
11144                     <value>string</value>
11145                 </attribute>
11146                 <zeroOrMore>
11147                     <element name="form:list-value">
11148                         <attribute name="office:string-value">
11149                             <ref name="string"/>
11150                         </attribute>
11151                     </element>
11152                 </zeroOrMore>
11153             </group>
11154             <attribute name="office:value-type">
11155                 <value>void</value>
11156             </attribute>
11157         </choice>
11158     </define>
11159     <define name="office-annotation">
11160         <element name="office:annotation">
11161             <ref name="office-annotation-attlist"/>
11162             <ref name="draw-caption-attlist"/>
11163             <ref name="common-draw-position-attlist"/>
11164             <ref name="common-draw-size-attlist"/>
11165             <ref name="common-draw-shape-with-text-and-styles-attlist"/>
11166             <optional>
11167                 <ref name="dc-creator"/>
11168             </optional>
11169             <optional>
11170                 <ref name="dc-date"/>
11171             </optional>
11172             <optional>
11173                 <ref name="meta-date-string"/>
11174             </optional>
11175             <zeroOrMore>
11176                 <choice>
11177                     <ref name="text-p"/>
11178                     <ref name="text-list"/>
11179                 </choice>
11180             </zeroOrMore>
11181         </element>
11182     </define>
11183     <define name="office-annotation-end">
11184         <element name="office:annotation-end">
11185             <ref name="office-annotation-end-attlist"/>
11186         </element>
11187     </define>
11188     <define name="office-annotation-attlist">
11189         <interleave>
11190             <optional>
11191                 <attribute name="office:display">
11192                     <ref name="boolean"/>
11193                 </attribute>
11194             </optional>
11195             <optional>
11196                 <ref name="common-office-annotation-name-attlist"/>
11197             </optional>
11198         </interleave>
11199     </define>
11200     <define name="office-annotation-end-attlist">
11201         <ref name="common-office-annotation-name-attlist"/>
11202     </define>
11203     <define name="common-office-annotation-name-attlist">
11204         <attribute name="office:name">
11205             <ref name="string"/>
11206         </attribute>
11207     </define>
11208     <define name="meta-date-string">
11209         <element name="meta:date-string">
11210             <ref name="string"/>
11211         </element>
11212     </define>
11213     <define name="common-num-format-prefix-suffix-attlist">
11214         <optional>
11215             <attribute name="style:num-prefix">
11216                 <ref name="string"/>
11217             </attribute>
11218         </optional>
11219         <optional>
11220             <attribute name="style:num-suffix">
11221                 <ref name="string"/>
11222             </attribute>
11223         </optional>
11224     </define>
11225     <define name="common-num-format-attlist">
11226         <choice>
11227             <attribute name="style:num-format">
11228                 <choice>
11229                     <value>1</value>
11230                     <value>i</value>
11231                     <value>I</value>
11232                     <ref name="string"/>
11233                     <empty/>
11234                 </choice>
11235             </attribute>
11236             <group>
11237                 <attribute name="style:num-format">
11238                     <choice>
11239                         <value>a</value>
11240                         <value>A</value>
11241                     </choice>
11242                 </attribute>
11243                 <ref name="style-num-letter-sync-attlist"/>
11244             </group>
11245             <empty/>
11246         </choice>
11247     </define>
11248     <define name="style-num-letter-sync-attlist">
11249         <optional>
11250             <attribute name="style:num-letter-sync">
11251                 <ref name="boolean"/>
11252             </attribute>
11253         </optional>
11254     </define>
11255     <define name="office-change-info">
11256         <element name="office:change-info">
11257             <ref name="dc-creator"/>
11258             <ref name="dc-date"/>
11259             <zeroOrMore>
11260                 <ref name="text-p"/>
11261             </zeroOrMore>
11262         </element>
11263     </define>
11264     <define name="office-event-listeners">
11265         <element name="office:event-listeners">
11266             <zeroOrMore>
11267                 <choice>
11268                     <ref name="script-event-listener"/>
11269                     <ref name="presentation-event-listener"/>
11270                 </choice>
11271             </zeroOrMore>
11272         </element>
11273     </define>
11274     <define name="script-event-listener">
11275         <element name="script:event-listener">
11276             <ref name="script-event-listener-attlist"/>
11277             <empty/>
11278         </element>
11279     </define>
11280     <define name="script-event-listener-attlist">
11281         <interleave>
11282             <attribute name="script:event-name">
11283                 <ref name="string"/>
11284             </attribute>
11285             <attribute name="script:language">
11286                 <ref name="string"/>
11287             </attribute>
11288             <choice>
11289                 <attribute name="script:macro-name">
11290                     <ref name="string"/>
11291                 </attribute>
11292                 <group>
11293                     <attribute name="xlink:type">
11294                         <value>simple</value>
11295                     </attribute>
11296                     <attribute name="xlink:href">
11297                         <ref name="anyIRI"/>
11298                     </attribute>
11299                     <optional>
11300                         <attribute name="xlink:actuate">
11301                             <value>onRequest</value>
11302                         </attribute>
11303                     </optional>
11304                 </group>
11305             </choice>
11306         </interleave>
11307     </define>
11308     <define name="math-math">
11309         <element name="math:math">
11310             <ref name="mathMarkup"/>
11311         </element>
11312     </define>
11313     <define name="mathMarkup">
11314         <dc:description>To avoid inclusion of the complete MathML schema, anything is allowed within a math:math top-level element</dc:description>
11315         <zeroOrMore>
11316             <choice>
11317                 <attribute>
11318                     <anyName/>
11319                 </attribute>
11320                 <text/>
11321                 <element>
11322                     <anyName/>
11323                     <ref name="mathMarkup"/>
11324                 </element>
11325             </choice>
11326         </zeroOrMore>
11327     </define>
11328     <define name="text-dde-connection-decl">
11329         <element name="text:dde-connection-decl">
11330             <ref name="text-dde-connection-decl-attlist"/>
11331             <ref name="common-dde-connection-decl-attlist"/>
11332         </element>
11333     </define>
11334     <define name="text-dde-connection-decl-attlist">
11335         <attribute name="office:name">
11336             <ref name="string"/>
11337         </attribute>
11338     </define>
11339     <define name="common-dde-connection-decl-attlist">
11340         <interleave>
11341             <attribute name="office:dde-application">
11342                 <ref name="string"/>
11343             </attribute>
11344             <attribute name="office:dde-topic">
11345                 <ref name="string"/>
11346             </attribute>
11347             <attribute name="office:dde-item">
11348                 <ref name="string"/>
11349             </attribute>
11350             <optional>
11351                 <attribute name="office:automatic-update">
11352                     <ref name="boolean"/>
11353                 </attribute>
11354             </optional>
11355         </interleave>
11356     </define>
11357     <define name="table-dde-link">
11358         <element name="table:dde-link">
11359             <ref name="office-dde-source"/>
11360             <ref name="table-table"/>
11361         </element>
11362     </define>
11363     <define name="office-dde-source">
11364         <element name="office:dde-source">
11365             <ref name="office-dde-source-attlist"/>
11366             <ref name="common-dde-connection-decl-attlist"/>
11367         </element>
11368     </define>
11369     <define name="office-dde-source-attlist">
11370         <interleave>
11371             <optional>
11372                 <attribute name="office:name">
11373                     <ref name="string"/>
11374                 </attribute>
11375             </optional>
11376             <optional>
11377                 <attribute name="office:conversion-mode">
11378                     <choice>
11379                         <value>into-default-style-data-style</value>
11380                         <value>into-english-number</value>
11381                         <value>keep-text</value>
11382                     </choice>
11383                 </attribute>
11384             </optional>
11385         </interleave>
11386     </define>
11387     <define name="animation-element">
11388         <choice>
11389             <element name="anim:animate">
11390                 <ref name="common-anim-target-attlist"/>
11391                 <ref name="common-anim-named-target-attlist"/>
11392                 <ref name="common-anim-values-attlist"/>
11393                 <ref name="common-anim-spline-mode-attlist"/>
11394                 <ref name="common-spline-anim-value-attlist"/>
11395                 <ref name="common-timing-attlist"/>
11396                 <ref name="common-anim-add-accum-attlist"/>
11397             </element>
11398             <element name="anim:set">
11399                 <ref name="common-anim-target-attlist"/>
11400                 <ref name="common-anim-named-target-attlist"/>
11401                 <ref name="common-anim-set-values-attlist"/>
11402                 <ref name="common-timing-attlist"/>
11403                 <ref name="common-anim-add-accum-attlist"/>
11404             </element>
11405             <element name="anim:animateMotion">
11406                 <ref name="anim-animate-motion-attlist"/>
11407                 <ref name="common-anim-target-attlist"/>
11408                 <ref name="common-anim-named-target-attlist"/>
11409                 <ref name="common-anim-add-accum-attlist"/>
11410                 <ref name="common-anim-values-attlist"/>
11411                 <ref name="common-timing-attlist"/>
11412                 <ref name="common-spline-anim-value-attlist"/>
11413             </element>
11414             <element name="anim:animateColor">
11415                 <ref name="common-anim-target-attlist"/>
11416                 <ref name="common-anim-named-target-attlist"/>
11417                 <ref name="common-anim-add-accum-attlist"/>
11418                 <ref name="common-anim-values-attlist"/>
11419                 <ref name="common-anim-spline-mode-attlist"/>
11420                 <ref name="common-spline-anim-value-attlist"/>
11421                 <ref name="anim-animate-color-attlist"/>
11422                 <ref name="common-timing-attlist"/>
11423             </element>
11424             <element name="anim:animateTransform">
11425                 <ref name="common-anim-target-attlist"/>
11426                 <ref name="common-anim-named-target-attlist"/>
11427                 <ref name="common-anim-add-accum-attlist"/>
11428                 <ref name="common-anim-values-attlist"/>
11429                 <ref name="anim-animate-transform-attlist"/>
11430                 <ref name="common-timing-attlist"/>
11431             </element>
11432             <element name="anim:transitionFilter">
11433                 <ref name="common-anim-target-attlist"/>
11434                 <ref name="common-anim-add-accum-attlist"/>
11435                 <ref name="common-anim-values-attlist"/>
11436                 <ref name="common-anim-spline-mode-attlist"/>
11437                 <ref name="anim-transition-filter-attlist"/>
11438                 <ref name="common-timing-attlist"/>
11439             </element>
11440             <element name="anim:par">
11441                 <ref name="common-anim-attlist"/>
11442                 <ref name="common-timing-attlist"/>
11443                 <ref name="common-endsync-timing-attlist"/>
11444                 <zeroOrMore>
11445                     <ref name="animation-element"/>
11446                 </zeroOrMore>
11447             </element>
11448             <element name="anim:seq">
11449                 <ref name="common-anim-attlist"/>
11450                 <ref name="common-endsync-timing-attlist"/>
11451                 <ref name="common-timing-attlist"/>
11452                 <zeroOrMore>
11453                     <ref name="animation-element"/>
11454                 </zeroOrMore>
11455             </element>
11456             <element name="anim:iterate">
11457                 <ref name="common-anim-attlist"/>
11458                 <ref name="anim-iterate-attlist"/>
11459                 <ref name="common-timing-attlist"/>
11460                 <ref name="common-endsync-timing-attlist"/>
11461                 <zeroOrMore>
11462                     <ref name="animation-element"/>
11463                 </zeroOrMore>
11464             </element>
11465             <element name="anim:audio">
11466                 <ref name="common-anim-attlist"/>
11467                 <ref name="anim-audio-attlist"/>
11468                 <ref name="common-basic-timing-attlist"/>
11469             </element>
11470             <element name="anim:command">
11471                 <ref name="common-anim-attlist"/>
11472                 <ref name="anim-command-attlist"/>
11473                 <ref name="common-begin-end-timing-attlist"/>
11474                 <ref name="common-anim-target-attlist"/>
11475                 <zeroOrMore>
11476                     <element name="anim:param">
11477                         <attribute name="anim:name">
11478                             <ref name="string"/>
11479                         </attribute>
11480                         <attribute name="anim:value">
11481                             <ref name="string"/>
11482                         </attribute>
11483                     </element>
11484                 </zeroOrMore>
11485             </element>
11486         </choice>
11487     </define>
11488     <define name="anim-animate-motion-attlist">
11489         <interleave>
11490             <optional>
11491                 <attribute name="svg:path">
11492                     <ref name="pathData"/>
11493                 </attribute>
11494             </optional>
11495             <optional>
11496                 <attribute name="svg:origin">
11497                     <ref name="string"/>
11498                 </attribute>
11499             </optional>
11500             <optional>
11501                 <attribute name="smil:calcMode">
11502                     <choice>
11503                         <value>discrete</value>
11504                         <value>linear</value>
11505                         <value>paced</value>
11506                         <value>spline</value>
11507                     </choice>
11508                 </attribute>
11509             </optional>
11510         </interleave>
11511     </define>
11512     <define name="anim-animate-color-attlist">
11513         <interleave>
11514             <optional>
11515                 <attribute name="anim:color-interpolation">
11516                     <choice>
11517                         <value>rgb</value>
11518                         <value>hsl</value>
11519                     </choice>
11520                 </attribute>
11521             </optional>
11522             <optional>
11523                 <attribute name="anim:color-interpolation-direction">
11524                     <choice>
11525                         <value>clockwise</value>
11526                         <value>counter-clockwise</value>
11527                     </choice>
11528                 </attribute>
11529             </optional>
11530         </interleave>
11531     </define>
11532     <define name="anim-animate-transform-attlist">
11533         <attribute name="svg:type">
11534             <choice>
11535                 <value>translate</value>
11536                 <value>scale</value>
11537                 <value>rotate</value>
11538                 <value>skewX</value>
11539                 <value>skewY</value>
11540             </choice>
11541         </attribute>
11542     </define>
11543     <define name="anim-transition-filter-attlist">
11544         <interleave>
11545             <attribute name="smil:type">
11546                 <ref name="string"/>
11547             </attribute>
11548             <optional>
11549                 <attribute name="smil:subtype">
11550                     <ref name="string"/>
11551                 </attribute>
11552             </optional>
11553             <optional>
11554                 <attribute name="smil:direction">
11555                     <choice>
11556                         <value>forward</value>
11557                         <value>reverse</value>
11558                     </choice>
11559                 </attribute>
11560             </optional>
11561             <optional>
11562                 <attribute name="smil:fadeColor">
11563                     <ref name="color"/>
11564                 </attribute>
11565             </optional>
11566             <optional>
11567                 <attribute name="smil:mode">
11568                     <choice>
11569                         <value>in</value>
11570                         <value>out</value>
11571                     </choice>
11572                 </attribute>
11573             </optional>
11574         </interleave>
11575     </define>
11576     <define name="common-anim-target-attlist">
11577         <interleave>
11578             <optional>
11579                 <attribute name="smil:targetElement">
11580                     <ref name="IDREF"/>
11581                 </attribute>
11582             </optional>
11583             <optional>
11584                 <attribute name="anim:sub-item">
11585                     <ref name="string"/>
11586                 </attribute>
11587             </optional>
11588         </interleave>
11589     </define>
11590     <define name="common-anim-named-target-attlist">
11591         <attribute name="smil:attributeName">
11592             <ref name="string"/>
11593         </attribute>
11594     </define>
11595     <define name="common-anim-values-attlist">
11596         <interleave>
11597             <optional>
11598                 <attribute name="smil:values">
11599                     <ref name="string"/>
11600                 </attribute>
11601             </optional>
11602             <optional>
11603                 <attribute name="anim:formula">
11604                     <ref name="string"/>
11605                 </attribute>
11606             </optional>
11607             <ref name="common-anim-set-values-attlist"/>
11608             <optional>
11609                 <attribute name="smil:from">
11610                     <ref name="string"/>
11611                 </attribute>
11612             </optional>
11613             <optional>
11614                 <attribute name="smil:by">
11615                     <ref name="string"/>
11616                 </attribute>
11617             </optional>
11618         </interleave>
11619     </define>
11620     <define name="common-anim-spline-mode-attlist">
11621         <optional>
11622             <attribute name="smil:calcMode">
11623                 <choice>
11624                     <value>discrete</value>
11625                     <value>linear</value>
11626                     <value>paced</value>
11627                     <value>spline</value>
11628                 </choice>
11629             </attribute>
11630         </optional>
11631     </define>
11632     <define name="common-spline-anim-value-attlist">
11633         <interleave>
11634             <optional>
11635                 <attribute name="smil:keyTimes">
11636                     <ref name="string"/>
11637                 </attribute>
11638             </optional>
11639             <optional>
11640                 <attribute name="smil:keySplines">
11641                     <ref name="string"/>
11642                 </attribute>
11643             </optional>
11644         </interleave>
11645     </define>
11646     <define name="common-anim-add-accum-attlist">
11647         <interleave>
11648             <optional>
11649                 <attribute name="smil:accumulate">
11650                     <choice>
11651                         <value>none</value>
11652                         <value>sum</value>
11653                     </choice>
11654                 </attribute>
11655             </optional>
11656             <optional>
11657                 <attribute name="smil:additive">
11658                     <choice>
11659                         <value>replace</value>
11660                         <value>sum</value>
11661                     </choice>
11662                 </attribute>
11663             </optional>
11664         </interleave>
11665     </define>
11666     <define name="common-anim-set-values-attlist">
11667         <optional>
11668             <attribute name="smil:to">
11669                 <ref name="string"/>
11670             </attribute>
11671         </optional>
11672     </define>
11673     <define name="common-begin-end-timing-attlist">
11674         <interleave>
11675             <optional>
11676                 <attribute name="smil:begin">
11677                     <ref name="string"/>
11678                 </attribute>
11679             </optional>
11680             <optional>
11681                 <attribute name="smil:end">
11682                     <ref name="string"/>
11683                 </attribute>
11684             </optional>
11685         </interleave>
11686     </define>
11687     <define name="common-dur-timing-attlist">
11688         <optional>
11689             <attribute name="smil:dur">
11690                 <ref name="string"/>
11691             </attribute>
11692         </optional>
11693     </define>
11694     <define name="common-endsync-timing-attlist">
11695         <optional>
11696             <attribute name="smil:endsync">
11697                 <choice>
11698                     <value>first</value>
11699                     <value>last</value>
11700                     <value>all</value>
11701                     <value>media</value>
11702                     <ref name="IDREF"/>
11703                 </choice>
11704             </attribute>
11705         </optional>
11706     </define>
11707     <define name="common-repeat-timing-attlist">
11708         <optional>
11709             <attribute name="smil:repeatDur">
11710                 <ref name="string"/>
11711             </attribute>
11712         </optional>
11713         <optional>
11714             <attribute name="smil:repeatCount">
11715                 <choice>
11716                     <ref name="nonNegativeDecimal"/>
11717                     <value>indefinite</value>
11718                 </choice>
11719             </attribute>
11720         </optional>
11721     </define>
11722     <define name="nonNegativeDecimal">
11723         <data type="decimal">
11724             <param name="minInclusive">0.0</param>
11725         </data>
11726     </define>
11727     <define name="common-fill-timing-attlist">
11728         <optional>
11729             <attribute name="smil:fill">
11730                 <choice>
11731                     <value>remove</value>
11732                     <value>freeze</value>
11733                     <value>hold</value>
11734                     <value>auto</value>
11735                     <value>default</value>
11736                     <value>transition</value>
11737                 </choice>
11738             </attribute>
11739         </optional>
11740     </define>
11741     <define name="common-fill-default-attlist">
11742         <optional>
11743             <attribute name="smil:fillDefault">
11744                 <choice>
11745                     <value>remove</value>
11746                     <value>freeze</value>
11747                     <value>hold</value>
11748                     <value>transition</value>
11749                     <value>auto</value>
11750                     <value>inherit</value>
11751                 </choice>
11752             </attribute>
11753         </optional>
11754     </define>
11755     <define name="common-restart-timing-attlist">
11756         <optional>
11757             <attribute name="smil:restart">
11758                 <choice>
11759                     <value>never</value>
11760                     <value>always</value>
11761                     <value>whenNotActive</value>
11762                     <value>default</value>
11763                 </choice>
11764             </attribute>
11765         </optional>
11766     </define>
11767     <define name="common-restart-default-attlist">
11768         <optional>
11769             <attribute name="smil:restartDefault">
11770                 <choice>
11771                     <value>never</value>
11772                     <value>always</value>
11773                     <value>whenNotActive</value>
11774                     <value>inherit</value>
11775                 </choice>
11776             </attribute>
11777         </optional>
11778     </define>
11779     <define name="common-time-manip-attlist">
11780         <interleave>
11781             <optional>
11782                 <attribute name="smil:accelerate">
11783                     <ref name="zeroToOneDecimal"/>
11784                 </attribute>
11785             </optional>
11786             <optional>
11787                 <attribute name="smil:decelerate">
11788                     <ref name="zeroToOneDecimal"/>
11789                 </attribute>
11790             </optional>
11791             <optional>
11792                 <attribute name="smil:autoReverse">
11793                     <ref name="boolean"/>
11794                 </attribute>
11795             </optional>
11796         </interleave>
11797     </define>
11798     <define name="zeroToOneDecimal">
11799         <data type="decimal">
11800             <param name="minInclusive">0</param>
11801             <param name="maxInclusive">1</param>
11802         </data>
11803     </define>
11804     <define name="common-basic-timing-attlist">
11805         <ref name="common-begin-end-timing-attlist"/>
11806         <ref name="common-dur-timing-attlist"/>
11807         <ref name="common-repeat-timing-attlist"/>
11808         <ref name="common-restart-timing-attlist"/>
11809         <ref name="common-restart-default-attlist"/>
11810         <ref name="common-fill-timing-attlist"/>
11811         <ref name="common-fill-default-attlist"/>
11812     </define>
11813     <define name="common-timing-attlist">
11814         <ref name="common-basic-timing-attlist"/>
11815         <ref name="common-time-manip-attlist"/>
11816     </define>
11817     <define name="anim-iterate-attlist">
11818         <interleave>
11819             <ref name="common-anim-target-attlist"/>
11820             <optional>
11821                 <attribute name="anim:iterate-type">
11822                     <ref name="string"/>
11823                 </attribute>
11824             </optional>
11825             <optional>
11826                 <attribute name="anim:iterate-interval">
11827                     <ref name="duration"/>
11828                 </attribute>
11829             </optional>
11830         </interleave>
11831     </define>
11832     <define name="anim-audio-attlist">
11833         <interleave>
11834             <optional>
11835                 <attribute name="xlink:href">
11836                     <ref name="anyIRI"/>
11837                 </attribute>
11838             </optional>
11839             <optional>
11840                 <attribute name="anim:audio-level">
11841                     <ref name="double"/>
11842                 </attribute>
11843             </optional>
11844         </interleave>
11845     </define>
11846     <define name="anim-command-attlist">
11847         <attribute name="anim:command">
11848             <ref name="string"/>
11849         </attribute>
11850     </define>
11851     <define name="style-style">
11852         <element name="style:style">
11853             <ref name="style-style-attlist"/>
11854             <ref name="style-style-content"/>
11855             <zeroOrMore>
11856                 <ref name="style-map"/>
11857             </zeroOrMore>
11858         </element>
11859     </define>
11860     <define name="common-in-content-meta-attlist">
11861         <attribute name="xhtml:about">
11862             <ref name="URIorSafeCURIE"/>
11863         </attribute>
11864         <attribute name="xhtml:property">
11865             <ref name="CURIEs"/>
11866         </attribute>
11867         <ref name="common-meta-literal-attlist"/>
11868     </define>
11869     <define name="common-meta-literal-attlist">
11870         <optional>
11871             <attribute name="xhtml:datatype">
11872                 <ref name="CURIE"/>
11873             </attribute>
11874         </optional>
11875         <optional>
11876             <attribute name="xhtml:content">
11877                 <ref name="string"/>
11878             </attribute>
11879         </optional>
11880     </define>
11881     <define name="xml-id">
11882         <attribute name="xml:id">
11883             <ref name="ID"/>
11884         </attribute>
11885     </define>
11886     <define name="style-style-attlist">
11887         <interleave>
11888             <attribute name="style:name">
11889                 <ref name="styleName"/>
11890             </attribute>
11891             <optional>
11892                 <attribute name="style:display-name">
11893                     <ref name="string"/>
11894                 </attribute>
11895             </optional>
11896             <optional>
11897                 <attribute name="style:parent-style-name">
11898                     <ref name="styleNameRef"/>
11899                 </attribute>
11900             </optional>
11901             <optional>
11902                 <attribute name="style:next-style-name">
11903                     <ref name="styleNameRef"/>
11904                 </attribute>
11905             </optional>
11906             <optional>
11907                 <attribute name="style:list-level">
11908                     <choice>
11909                         <ref name="positiveInteger"/>
11910                         <empty/>
11911                     </choice>
11912                 </attribute>
11913             </optional>
11914             <optional>
11915                 <attribute name="style:list-style-name">
11916                     <choice>
11917                         <ref name="styleName"/>
11918                         <empty/>
11919                     </choice>
11920                 </attribute>
11921             </optional>
11922             <optional>
11923                 <attribute name="style:master-page-name">
11924                     <ref name="styleNameRef"/>
11925                 </attribute>
11926             </optional>
11927             <optional>
11928                 <attribute name="style:auto-update">
11929                     <ref name="boolean"/>
11930                 </attribute>
11931             </optional>
11932             <optional>
11933                 <attribute name="style:data-style-name">
11934                     <ref name="styleNameRef"/>
11935                 </attribute>
11936             </optional>
11937             <optional>
11938                 <attribute name="style:percentage-data-style-name">
11939                     <ref name="styleNameRef"/>
11940                 </attribute>
11941             </optional>
11942             <optional>
11943                 <attribute name="style:class">
11944                     <ref name="string"/>
11945                 </attribute>
11946             </optional>
11947             <optional>
11948                 <attribute name="style:default-outline-level">
11949                     <choice>
11950                         <ref name="positiveInteger"/>
11951                         <empty/>
11952                     </choice>
11953                 </attribute>
11954             </optional>
11955         </interleave>
11956     </define>
11957     <define name="style-map">
11958         <element name="style:map">
11959             <ref name="style-map-attlist"/>
11960             <empty/>
11961         </element>
11962     </define>
11963     <define name="style-map-attlist">
11964         <interleave>
11965             <attribute name="style:condition">
11966                 <ref name="string"/>
11967             </attribute>
11968             <attribute name="style:apply-style-name">
11969                 <ref name="styleNameRef"/>
11970             </attribute>
11971             <optional>
11972                 <attribute name="style:base-cell-address">
11973                     <ref name="cellAddress"/>
11974                 </attribute>
11975             </optional>
11976         </interleave>
11977     </define>
11978     <define name="style-default-style">
11979         <element name="style:default-style">
11980             <ref name="style-style-content"/>
11981         </element>
11982     </define>
11983     <define name="style-page-layout">
11984         <element name="style:page-layout">
11985             <ref name="style-page-layout-attlist"/>
11986             <ref name="style-page-layout-content"/>
11987         </element>
11988     </define>
11989     <define name="style-page-layout-content">
11990         <optional>
11991             <ref name="style-page-layout-properties"/>
11992         </optional>
11993         <optional>
11994             <ref name="style-header-style"/>
11995         </optional>
11996         <optional>
11997             <ref name="style-footer-style"/>
11998         </optional>
11999     </define>
12000     <define name="style-page-layout-attlist">
12001         <interleave>
12002             <attribute name="style:name">
12003                 <ref name="styleName"/>
12004             </attribute>
12005             <optional>
12006                 <attribute name="style:page-usage">
12007                     <choice>
12008                         <value>all</value>
12009                         <value>left</value>
12010                         <value>right</value>
12011                         <value>mirrored</value>
12012                     </choice>
12013                 </attribute>
12014             </optional>
12015         </interleave>
12016     </define>
12017     <define name="style-header-style">
12018         <element name="style:header-style">
12019             <optional>
12020                 <ref name="style-header-footer-properties"/>
12021             </optional>
12022         </element>
12023     </define>
12024     <define name="style-footer-style">
12025         <element name="style:footer-style">
12026             <optional>
12027                 <ref name="style-header-footer-properties"/>
12028             </optional>
12029         </element>
12030     </define>
12031     <define name="style-default-page-layout">
12032         <element name="style:default-page-layout">
12033             <ref name="style-page-layout-content"/>
12034         </element>
12035     </define>
12036     <define name="style-master-page">
12037         <element name="style:master-page">
12038             <ref name="style-master-page-attlist"/>
12039             <optional>
12040                 <ref name="style-header"/>
12041                 <optional>
12042                     <ref name="style-header-left"/>
12043                 </optional>
12044             </optional>
12045             <optional>
12046                 <ref name="style-footer"/>
12047                 <optional>
12048                     <ref name="style-footer-left"/>
12049                 </optional>
12050             </optional>
12051             <optional>
12052                 <ref name="draw-layer-set"/>
12053             </optional>
12054             <optional>
12055                 <ref name="office-forms"/>
12056             </optional>
12057             <zeroOrMore>
12058                 <ref name="shape"/>
12059             </zeroOrMore>
12060             <optional>
12061                 <ref name="animation-element"/>
12062             </optional>
12063             <optional>
12064                 <ref name="presentation-notes"/>
12065             </optional>
12066         </element>
12067     </define>
12068     <define name="style-master-page-attlist">
12069         <interleave>
12070             <attribute name="style:name">
12071                 <ref name="styleName"/>
12072             </attribute>
12073             <optional>
12074                 <attribute name="style:display-name">
12075                     <ref name="string"/>
12076                 </attribute>
12077             </optional>
12078             <attribute name="style:page-layout-name">
12079                 <ref name="styleNameRef"/>
12080             </attribute>
12081             <optional>
12082                 <attribute name="draw:style-name">
12083                     <ref name="styleNameRef"/>
12084                 </attribute>
12085             </optional>
12086             <optional>
12087                 <attribute name="style:next-style-name">
12088                     <ref name="styleNameRef"/>
12089                 </attribute>
12090             </optional>
12091         </interleave>
12092     </define>
12093     <define name="style-header">
12094         <element name="style:header">
12095             <ref name="common-style-header-footer-attlist"/>
12096             <ref name="header-footer-content"/>
12097         </element>
12098     </define>
12099     <define name="style-footer">
12100         <element name="style:footer">
12101             <ref name="common-style-header-footer-attlist"/>
12102             <ref name="header-footer-content"/>
12103         </element>
12104     </define>
12105     <define name="style-header-left">
12106         <element name="style:header-left">
12107             <ref name="common-style-header-footer-attlist"/>
12108             <ref name="header-footer-content"/>
12109         </element>
12110     </define>
12111     <define name="style-footer-left">
12112         <element name="style:footer-left">
12113             <ref name="common-style-header-footer-attlist"/>
12114             <ref name="header-footer-content"/>
12115         </element>
12116     </define>
12117     <define name="header-footer-content">
12118         <choice>
12119             <group>
12120                 <ref name="text-tracked-changes"/>
12121                 <ref name="text-decls"/>
12122                 <zeroOrMore>
12123                     <choice>
12124                         <ref name="text-h"/>
12125                         <ref name="text-p"/>
12126                         <ref name="text-list"/>
12127                         <ref name="table-table"/>
12128                         <ref name="text-section"/>
12129                         <ref name="text-table-of-content"/>
12130                         <ref name="text-illustration-index"/>
12131                         <ref name="text-table-index"/>
12132                         <ref name="text-object-index"/>
12133                         <ref name="text-user-index"/>
12134                         <ref name="text-alphabetical-index"/>
12135                         <ref name="text-bibliography"/>
12136                         <ref name="text-index-title"/>
12137                         <ref name="change-marks"/>
12138                     </choice>
12139                 </zeroOrMore>
12140             </group>
12141             <group>
12142                 <optional>
12143                     <ref name="style-region-left"/>
12144                 </optional>
12145                 <optional>
12146                     <ref name="style-region-center"/>
12147                 </optional>
12148                 <optional>
12149                     <ref name="style-region-right"/>
12150                 </optional>
12151             </group>
12152         </choice>
12153     </define>
12154     <define name="common-style-header-footer-attlist">
12155         <optional>
12156             <attribute name="style:display">
12157                 <ref name="boolean"/>
12158             </attribute>
12159         </optional>
12160     </define>
12161     <define name="style-region-left">
12162         <element name="style:region-left">
12163             <ref name="region-content"/>
12164         </element>
12165     </define>
12166     <define name="style-region-center">
12167         <element name="style:region-center">
12168             <ref name="region-content"/>
12169         </element>
12170     </define>
12171     <define name="style-region-right">
12172         <element name="style:region-right">
12173             <ref name="region-content"/>
12174         </element>
12175     </define>
12176     <define name="region-content">
12177         <zeroOrMore>
12178             <ref name="text-p"/>
12179         </zeroOrMore>
12180     </define>
12181     <define name="presentation-notes">
12182         <element name="presentation:notes">
12183             <ref name="common-presentation-header-footer-attlist"/>
12184             <ref name="presentation-notes-attlist"/>
12185             <ref name="office-forms"/>
12186             <zeroOrMore>
12187                 <ref name="shape"/>
12188             </zeroOrMore>
12189         </element>
12190     </define>
12191     <define name="presentation-notes-attlist">
12192         <interleave>
12193             <optional>
12194                 <attribute name="style:page-layout-name">
12195                     <ref name="styleNameRef"/>
12196                 </attribute>
12197             </optional>
12198             <optional>
12199                 <attribute name="draw:style-name">
12200                     <ref name="styleNameRef"/>
12201                 </attribute>
12202             </optional>
12203         </interleave>
12204     </define>
12205     <define name="table-table-template">
12206         <element name="table:table-template">
12207             <ref name="table-table-template-attlist"/>
12208             <optional>
12209                 <ref name="table-first-row"/>
12210             </optional>
12211             <optional>
12212                 <ref name="table-last-row"/>
12213             </optional>
12214             <optional>
12215                 <ref name="table-first-column"/>
12216             </optional>
12217             <optional>
12218                 <ref name="table-last-column"/>
12219             </optional>
12220             <ref name="table-body"/>
12221             <optional>
12222                 <ref name="table-even-rows"/>
12223             </optional>
12224             <optional>
12225                 <ref name="table-odd-rows"/>
12226             </optional>
12227             <optional>
12228                 <ref name="table-even-columns"/>
12229             </optional>
12230             <optional>
12231                 <ref name="table-odd-columns"/>
12232             </optional>
12233             <optional>
12234                 <ref name="table-background"/>
12235             </optional>
12236         </element>
12237     </define>
12238     <define name="table-table-template-attlist">
12239         <interleave>
12240             <attribute name="table:name">
12241                 <ref name="string"/>
12242             </attribute>
12243             <attribute name="table:first-row-start-column">
12244                 <ref name="rowOrCol"/>
12245             </attribute>
12246             <attribute name="table:first-row-end-column">
12247                 <ref name="rowOrCol"/>
12248             </attribute>
12249             <attribute name="table:last-row-start-column">
12250                 <ref name="rowOrCol"/>
12251             </attribute>
12252             <attribute name="table:last-row-end-column">
12253                 <ref name="rowOrCol"/>
12254             </attribute>
12255         </interleave>
12256     </define>
12257     <define name="rowOrCol">
12258         <choice>
12259             <value>row</value>
12260             <value>column</value>
12261         </choice>
12262     </define>
12263     <define name="table-first-row">
12264         <element name="table:first-row">
12265             <ref name="common-table-template-attlist"/>
12266             <empty/>
12267         </element>
12268     </define>
12269     <define name="table-last-row">
12270         <element name="table:last-row">
12271             <ref name="common-table-template-attlist"/>
12272             <empty/>
12273         </element>
12274     </define>
12275     <define name="table-first-column">
12276         <element name="table:first-column">
12277             <ref name="common-table-template-attlist"/>
12278             <empty/>
12279         </element>
12280     </define>
12281     <define name="table-last-column">
12282         <element name="table:last-column">
12283             <ref name="common-table-template-attlist"/>
12284             <empty/>
12285         </element>
12286     </define>
12287     <define name="table-body">
12288         <element name="table:body">
12289             <ref name="common-table-template-attlist"/>
12290             <empty/>
12291         </element>
12292     </define>
12293     <define name="table-even-rows">
12294         <element name="table:even-rows">
12295             <ref name="common-table-template-attlist"/>
12296             <empty/>
12297         </element>
12298     </define>
12299     <define name="table-odd-rows">
12300         <element name="table:odd-rows">
12301             <ref name="common-table-template-attlist"/>
12302             <empty/>
12303         </element>
12304     </define>
12305     <define name="table-even-columns">
12306         <element name="table:even-columns">
12307             <ref name="common-table-template-attlist"/>
12308             <empty/>
12309         </element>
12310     </define>
12311     <define name="table-odd-columns">
12312         <element name="table:odd-columns">
12313             <ref name="common-table-template-attlist"/>
12314             <empty/>
12315         </element>
12316     </define>
12317     <define name="common-table-template-attlist">
12318         <attribute name="table:style-name">
12319             <ref name="styleNameRef"/>
12320         </attribute>
12321         <optional>
12322             <attribute name="table:paragraph-style-name">
12323                 <ref name="styleNameRef"/>
12324             </attribute>
12325         </optional>
12326     </define>
12327     <define name="table-background">
12328         <element name="table:background">
12329             <ref name="table-background-attlist"/>
12330             <empty/>
12331         </element>
12332     </define>
12333     <define name="table-background-attlist">
12334         <attribute name="table:style-name">
12335             <ref name="styleNameRef"/>
12336         </attribute>
12337     </define>
12338     <define name="style-font-face">
12339         <element name="style:font-face">
12340             <ref name="style-font-face-attlist"/>
12341             <optional>
12342                 <ref name="svg-font-face-src"/>
12343             </optional>
12344             <optional>
12345                 <ref name="svg-definition-src"/>
12346             </optional>
12347         </element>
12348     </define>
12349     <define name="style-font-face-attlist">
12350         <interleave>
12351             <optional>
12352                 <attribute name="svg:font-family">
12353                     <ref name="string"/>
12354                 </attribute>
12355             </optional>
12356             <optional>
12357                 <attribute name="svg:font-style">
12358                     <ref name="fontStyle"/>
12359                 </attribute>
12360             </optional>
12361             <optional>
12362                 <attribute name="svg:font-variant">
12363                     <ref name="fontVariant"/>
12364                 </attribute>
12365             </optional>
12366             <optional>
12367                 <attribute name="svg:font-weight">
12368                     <ref name="fontWeight"/>
12369                 </attribute>
12370             </optional>
12371             <optional>
12372                 <attribute name="svg:font-stretch">
12373                     <choice>
12374                         <value>normal</value>
12375                         <value>ultra-condensed</value>
12376                         <value>extra-condensed</value>
12377                         <value>condensed</value>
12378                         <value>semi-condensed</value>
12379                         <value>semi-expanded</value>
12380                         <value>expanded</value>
12381                         <value>extra-expanded</value>
12382                         <value>ultra-expanded</value>
12383                     </choice>
12384                 </attribute>
12385             </optional>
12386             <optional>
12387                 <attribute name="svg:font-size">
12388                     <ref name="positiveLength"/>
12389                 </attribute>
12390             </optional>
12391             <optional>
12392                 <attribute name="svg:unicode-range">
12393                     <ref name="string"/>
12394                 </attribute>
12395             </optional>
12396             <optional>
12397                 <attribute name="svg:units-per-em">
12398                     <ref name="integer"/>
12399                 </attribute>
12400             </optional>
12401             <optional>
12402                 <attribute name="svg:panose-1">
12403                     <ref name="string"/>
12404                 </attribute>
12405             </optional>
12406             <optional>
12407                 <attribute name="svg:stemv">
12408                     <ref name="integer"/>
12409                 </attribute>
12410             </optional>
12411             <optional>
12412                 <attribute name="svg:stemh">
12413                     <ref name="integer"/>
12414                 </attribute>
12415             </optional>
12416             <optional>
12417                 <attribute name="svg:slope">
12418                     <ref name="integer"/>
12419                 </attribute>
12420             </optional>
12421             <optional>
12422                 <attribute name="svg:cap-height">
12423                     <ref name="integer"/>
12424                 </attribute>
12425             </optional>
12426             <optional>
12427                 <attribute name="svg:x-height">
12428                     <ref name="integer"/>
12429                 </attribute>
12430             </optional>
12431             <optional>
12432                 <attribute name="svg:accent-height">
12433                     <ref name="integer"/>
12434                 </attribute>
12435             </optional>
12436             <optional>
12437                 <attribute name="svg:ascent">
12438                     <ref name="integer"/>
12439                 </attribute>
12440             </optional>
12441             <optional>
12442                 <attribute name="svg:descent">
12443                     <ref name="integer"/>
12444                 </attribute>
12445             </optional>
12446             <optional>
12447                 <attribute name="svg:widths">
12448                     <ref name="string"/>
12449                 </attribute>
12450             </optional>
12451             <optional>
12452                 <attribute name="svg:bbox">
12453                     <ref name="string"/>
12454                 </attribute>
12455             </optional>
12456             <optional>
12457                 <attribute name="svg:ideographic">
12458                     <ref name="integer"/>
12459                 </attribute>
12460             </optional>
12461             <optional>
12462                 <attribute name="svg:alphabetic">
12463                     <ref name="integer"/>
12464                 </attribute>
12465             </optional>
12466             <optional>
12467                 <attribute name="svg:mathematical">
12468                     <ref name="integer"/>
12469                 </attribute>
12470             </optional>
12471             <optional>
12472                 <attribute name="svg:hanging">
12473                     <ref name="integer"/>
12474                 </attribute>
12475             </optional>
12476             <optional>
12477                 <attribute name="svg:v-ideographic">
12478                     <ref name="integer"/>
12479                 </attribute>
12480             </optional>
12481             <optional>
12482                 <attribute name="svg:v-alphabetic">
12483                     <ref name="integer"/>
12484                 </attribute>
12485             </optional>
12486             <optional>
12487                 <attribute name="svg:v-mathematical">
12488                     <ref name="integer"/>
12489                 </attribute>
12490             </optional>
12491             <optional>
12492                 <attribute name="svg:v-hanging">
12493                     <ref name="integer"/>
12494                 </attribute>
12495             </optional>
12496             <optional>
12497                 <attribute name="svg:underline-position">
12498                     <ref name="integer"/>
12499                 </attribute>
12500             </optional>
12501             <optional>
12502                 <attribute name="svg:underline-thickness">
12503                     <ref name="integer"/>
12504                 </attribute>
12505             </optional>
12506             <optional>
12507                 <attribute name="svg:strikethrough-position">
12508                     <ref name="integer"/>
12509                 </attribute>
12510             </optional>
12511             <optional>
12512                 <attribute name="svg:strikethrough-thickness">
12513                     <ref name="integer"/>
12514                 </attribute>
12515             </optional>
12516             <optional>
12517                 <attribute name="svg:overline-position">
12518                     <ref name="integer"/>
12519                 </attribute>
12520             </optional>
12521             <optional>
12522                 <attribute name="svg:overline-thickness">
12523                     <ref name="integer"/>
12524                 </attribute>
12525             </optional>
12526             <attribute name="style:name">
12527                 <ref name="string"/>
12528             </attribute>
12529             <optional>
12530                 <attribute name="style:font-adornments">
12531                     <ref name="string"/>
12532                 </attribute>
12533             </optional>
12534             <optional>
12535                 <attribute name="style:font-family-generic">
12536                     <ref name="fontFamilyGeneric"/>
12537                 </attribute>
12538             </optional>
12539             <optional>
12540                 <attribute name="style:font-pitch">
12541                     <ref name="fontPitch"/>
12542                 </attribute>
12543             </optional>
12544             <optional>
12545                 <attribute name="style:font-charset">
12546                     <ref name="textEncoding"/>
12547                 </attribute>
12548             </optional>
12549         </interleave>
12550     </define>
12551     <define name="svg-font-face-src">
12552         <element name="svg:font-face-src">
12553             <oneOrMore>
12554                 <choice>
12555                     <ref name="svg-font-face-uri"/>
12556                     <ref name="svg-font-face-name"/>
12557                 </choice>
12558             </oneOrMore>
12559         </element>
12560     </define>
12561     <define name="svg-font-face-uri">
12562         <element name="svg:font-face-uri">
12563             <ref name="common-svg-font-face-xlink-attlist"/>
12564             <zeroOrMore>
12565                 <ref name="svg-font-face-format"/>
12566             </zeroOrMore>
12567         </element>
12568     </define>
12569     <define name="svg-font-face-format">
12570         <element name="svg:font-face-format">
12571             <optional>
12572                 <attribute name="svg:string">
12573                     <ref name="string"/>
12574                 </attribute>
12575             </optional>
12576             <empty/>
12577         </element>
12578     </define>
12579     <define name="svg-font-face-name">
12580         <element name="svg:font-face-name">
12581             <optional>
12582                 <attribute name="svg:name">
12583                     <ref name="string"/>
12584                 </attribute>
12585             </optional>
12586             <empty/>
12587         </element>
12588     </define>
12589     <define name="svg-definition-src">
12590         <element name="svg:definition-src">
12591             <ref name="common-svg-font-face-xlink-attlist"/>
12592             <empty/>
12593         </element>
12594     </define>
12595     <define name="common-svg-font-face-xlink-attlist">
12596         <attribute name="xlink:type">
12597             <value>simple</value>
12598         </attribute>
12599         <attribute name="xlink:href">
12600             <ref name="anyIRI"/>
12601         </attribute>
12602         <optional>
12603             <attribute name="xlink:actuate">
12604                 <value>onRequest</value>
12605             </attribute>
12606         </optional>
12607     </define>
12608     <define name="number-number-style">
12609         <element name="number:number-style">
12610             <ref name="common-data-style-attlist"/>
12611             <optional>
12612                 <ref name="style-text-properties"/>
12613             </optional>
12614             <optional>
12615                 <ref name="number-text"/>
12616             </optional>
12617             <optional>
12618                 <ref name="any-number"/>
12619                 <optional>
12620                     <ref name="number-text"/>
12621                 </optional>
12622             </optional>
12623             <zeroOrMore>
12624                 <ref name="style-map"/>
12625             </zeroOrMore>
12626         </element>
12627     </define>
12628     <define name="any-number">
12629         <choice>
12630             <ref name="number-number"/>
12631             <ref name="number-scientific-number"/>
12632             <ref name="number-fraction"/>
12633         </choice>
12634     </define>
12635     <define name="number-number">
12636         <element name="number:number">
12637             <ref name="number-number-attlist"/>
12638             <ref name="common-decimal-places-attlist"/>
12639             <ref name="common-number-attlist"/>
12640             <zeroOrMore>
12641                 <ref name="number-embedded-text"/>
12642             </zeroOrMore>
12643         </element>
12644     </define>
12645     <define name="number-number-attlist">
12646         <interleave>
12647             <optional>
12648                 <attribute name="number:decimal-replacement">
12649                     <ref name="string"/>
12650                 </attribute>
12651             </optional>
12652             <optional>
12653                 <attribute name="number:display-factor">
12654                     <ref name="double"/>
12655                 </attribute>
12656             </optional>
12657         </interleave>
12658     </define>
12659     <define name="number-embedded-text">
12660         <element name="number:embedded-text">
12661             <ref name="number-embedded-text-attlist"/>
12662             <text/>
12663         </element>
12664     </define>
12665     <define name="number-embedded-text-attlist">
12666         <attribute name="number:position">
12667             <ref name="integer"/>
12668         </attribute>
12669     </define>
12670     <define name="number-scientific-number">
12671         <element name="number:scientific-number">
12672             <ref name="number-scientific-number-attlist"/>
12673             <ref name="common-decimal-places-attlist"/>
12674             <ref name="common-number-attlist"/>
12675             <empty/>
12676         </element>
12677     </define>
12678     <define name="number-scientific-number-attlist">
12679         <optional>
12680             <attribute name="number:min-exponent-digits">
12681                 <ref name="integer"/>
12682             </attribute>
12683         </optional>
12684     </define>
12685     <define name="number-fraction">
12686         <element name="number:fraction">
12687             <ref name="number-fraction-attlist"/>
12688             <ref name="common-number-attlist"/>
12689             <empty/>
12690         </element>
12691     </define>
12692     <define name="number-fraction-attlist">
12693         <interleave>
12694             <optional>
12695                 <attribute name="number:min-numerator-digits">
12696                     <ref name="integer"/>
12697                 </attribute>
12698             </optional>
12699             <optional>
12700                 <attribute name="number:min-denominator-digits">
12701                     <ref name="integer"/>
12702                 </attribute>
12703             </optional>
12704             <optional>
12705                 <attribute name="number:denominator-value">
12706                     <ref name="integer"/>
12707                 </attribute>
12708             </optional>
12709         </interleave>
12710     </define>
12711     <define name="number-currency-style">
12712         <element name="number:currency-style">
12713             <ref name="common-data-style-attlist"/>
12714             <ref name="common-auto-reorder-attlist"/>
12715             <optional>
12716                 <ref name="style-text-properties"/>
12717             </optional>
12718             <optional>
12719                 <ref name="number-text"/>
12720             </optional>
12721             <optional>
12722                 <choice>
12723                     <group>
12724                         <ref name="number-and-text"/>
12725                         <optional>
12726                             <ref name="currency-symbol-and-text"/>
12727                         </optional>
12728                     </group>
12729                     <group>
12730                         <ref name="currency-symbol-and-text"/>
12731                         <optional>
12732                             <ref name="number-and-text"/>
12733                         </optional>
12734                     </group>
12735                 </choice>
12736             </optional>
12737             <zeroOrMore>
12738                 <ref name="style-map"/>
12739             </zeroOrMore>
12740         </element>
12741     </define>
12742     <define name="currency-symbol-and-text">
12743         <ref name="number-currency-symbol"/>
12744         <optional>
12745             <ref name="number-text"/>
12746         </optional>
12747     </define>
12748     <define name="number-and-text">
12749         <ref name="number-number"/>
12750         <optional>
12751             <ref name="number-text"/>
12752         </optional>
12753     </define>
12754     <define name="number-currency-symbol">
12755         <element name="number:currency-symbol">
12756             <ref name="number-currency-symbol-attlist"/>
12757             <text/>
12758         </element>
12759     </define>
12760     <define name="number-currency-symbol-attlist">
12761         <optional>
12762             <attribute name="number:language">
12763                 <ref name="languageCode"/>
12764             </attribute>
12765         </optional>
12766         <optional>
12767             <attribute name="number:country">
12768                 <ref name="countryCode"/>
12769             </attribute>
12770         </optional>
12771         <optional>
12772             <attribute name="number:script">
12773                 <ref name="scriptCode"/>
12774             </attribute>
12775         </optional>
12776         <optional>
12777             <attribute name="number:rfc-language-tag">
12778                 <ref name="language"/>
12779             </attribute>
12780         </optional>
12781     </define>
12782     <define name="number-percentage-style">
12783         <element name="number:percentage-style">
12784             <ref name="common-data-style-attlist"/>
12785             <optional>
12786                 <ref name="style-text-properties"/>
12787             </optional>
12788             <optional>
12789                 <ref name="number-text"/>
12790             </optional>
12791             <optional>
12792                 <ref name="number-and-text"/>
12793             </optional>
12794             <zeroOrMore>
12795                 <ref name="style-map"/>
12796             </zeroOrMore>
12797         </element>
12798     </define>
12799     <define name="number-date-style">
12800         <element name="number:date-style">
12801             <ref name="common-data-style-attlist"/>
12802             <ref name="common-auto-reorder-attlist"/>
12803             <ref name="common-format-source-attlist"/>
12804             <optional>
12805                 <ref name="style-text-properties"/>
12806             </optional>
12807             <optional>
12808                 <ref name="number-text"/>
12809             </optional>
12810             <oneOrMore>
12811                 <ref name="any-date"/>
12812                 <optional>
12813                     <ref name="number-text"/>
12814                 </optional>
12815             </oneOrMore>
12816             <zeroOrMore>
12817                 <ref name="style-map"/>
12818             </zeroOrMore>
12819         </element>
12820     </define>
12821     <define name="any-date">
12822         <choice>
12823             <ref name="number-day"/>
12824             <ref name="number-month"/>
12825             <ref name="number-year"/>
12826             <ref name="number-era"/>
12827             <ref name="number-day-of-week"/>
12828             <ref name="number-week-of-year"/>
12829             <ref name="number-quarter"/>
12830             <ref name="number-hours"/>
12831             <ref name="number-am-pm"/>
12832             <ref name="number-minutes"/>
12833             <ref name="number-seconds"/>
12834         </choice>
12835     </define>
12836     <define name="number-day">
12837         <element name="number:day">
12838             <ref name="number-day-attlist"/>
12839             <ref name="common-calendar-attlist"/>
12840             <empty/>
12841         </element>
12842     </define>
12843     <define name="number-day-attlist">
12844         <optional>
12845             <attribute name="number:style">
12846                 <choice>
12847                     <value>short</value>
12848                     <value>long</value>
12849                 </choice>
12850             </attribute>
12851         </optional>
12852     </define>
12853     <define name="number-month">
12854         <element name="number:month">
12855             <ref name="number-month-attlist"/>
12856             <ref name="common-calendar-attlist"/>
12857             <empty/>
12858         </element>
12859     </define>
12860     <define name="number-month-attlist">
12861         <interleave>
12862             <optional>
12863                 <attribute name="number:textual">
12864                     <ref name="boolean"/>
12865                 </attribute>
12866             </optional>
12867             <optional>
12868                 <attribute name="number:possessive-form">
12869                     <ref name="boolean"/>
12870                 </attribute>
12871             </optional>
12872             <optional>
12873                 <attribute name="number:style">
12874                     <choice>
12875                         <value>short</value>
12876                         <value>long</value>
12877                     </choice>
12878                 </attribute>
12879             </optional>
12880         </interleave>
12881     </define>
12882     <define name="number-year">
12883         <element name="number:year">
12884             <ref name="number-year-attlist"/>
12885             <ref name="common-calendar-attlist"/>
12886             <empty/>
12887         </element>
12888     </define>
12889     <define name="number-year-attlist">
12890         <optional>
12891             <attribute name="number:style">
12892                 <choice>
12893                     <value>short</value>
12894                     <value>long</value>
12895                 </choice>
12896             </attribute>
12897         </optional>
12898     </define>
12899     <define name="number-era">
12900         <element name="number:era">
12901             <ref name="number-era-attlist"/>
12902             <ref name="common-calendar-attlist"/>
12903             <empty/>
12904         </element>
12905     </define>
12906     <define name="number-era-attlist">
12907         <optional>
12908             <attribute name="number:style">
12909                 <choice>
12910                     <value>short</value>
12911                     <value>long</value>
12912                 </choice>
12913             </attribute>
12914         </optional>
12915     </define>
12916     <define name="number-day-of-week">
12917         <element name="number:day-of-week">
12918             <ref name="number-day-of-week-attlist"/>
12919             <ref name="common-calendar-attlist"/>
12920             <empty/>
12921         </element>
12922     </define>
12923     <define name="number-day-of-week-attlist">
12924         <optional>
12925             <attribute name="number:style">
12926                 <choice>
12927                     <value>short</value>
12928                     <value>long</value>
12929                 </choice>
12930             </attribute>
12931         </optional>
12932     </define>
12933     <define name="number-week-of-year">
12934         <element name="number:week-of-year">
12935             <ref name="common-calendar-attlist"/>
12936             <empty/>
12937         </element>
12938     </define>
12939     <define name="number-quarter">
12940         <element name="number:quarter">
12941             <ref name="number-quarter-attlist"/>
12942             <ref name="common-calendar-attlist"/>
12943             <empty/>
12944         </element>
12945     </define>
12946     <define name="number-quarter-attlist">
12947         <optional>
12948             <attribute name="number:style">
12949                 <choice>
12950                     <value>short</value>
12951                     <value>long</value>
12952                 </choice>
12953             </attribute>
12954         </optional>
12955     </define>
12956     <define name="number-time-style">
12957         <element name="number:time-style">
12958             <ref name="number-time-style-attlist"/>
12959             <ref name="common-data-style-attlist"/>
12960             <ref name="common-format-source-attlist"/>
12961             <optional>
12962                 <ref name="style-text-properties"/>
12963             </optional>
12964             <optional>
12965                 <ref name="number-text"/>
12966             </optional>
12967             <oneOrMore>
12968                 <ref name="any-time"/>
12969                 <optional>
12970                     <ref name="number-text"/>
12971                 </optional>
12972             </oneOrMore>
12973             <zeroOrMore>
12974                 <ref name="style-map"/>
12975             </zeroOrMore>
12976         </element>
12977     </define>
12978     <define name="any-time">
12979         <choice>
12980             <ref name="number-hours"/>
12981             <ref name="number-am-pm"/>
12982             <ref name="number-minutes"/>
12983             <ref name="number-seconds"/>
12984         </choice>
12985     </define>
12986     <define name="number-time-style-attlist">
12987         <optional>
12988             <attribute name="number:truncate-on-overflow">
12989                 <ref name="boolean"/>
12990             </attribute>
12991         </optional>
12992     </define>
12993     <define name="number-hours">
12994         <element name="number:hours">
12995             <ref name="number-hours-attlist"/>
12996             <empty/>
12997         </element>
12998     </define>
12999     <define name="number-hours-attlist">
13000         <optional>
13001             <attribute name="number:style">
13002                 <choice>
13003                     <value>short</value>
13004                     <value>long</value>
13005                 </choice>
13006             </attribute>
13007         </optional>
13008     </define>
13009     <define name="number-minutes">
13010         <element name="number:minutes">
13011             <ref name="number-minutes-attlist"/>
13012             <empty/>
13013         </element>
13014     </define>
13015     <define name="number-minutes-attlist">
13016         <optional>
13017             <attribute name="number:style">
13018                 <choice>
13019                     <value>short</value>
13020                     <value>long</value>
13021                 </choice>
13022             </attribute>
13023         </optional>
13024     </define>
13025     <define name="number-seconds">
13026         <element name="number:seconds">
13027             <ref name="number-seconds-attlist"/>
13028             <empty/>
13029         </element>
13030     </define>
13031     <define name="number-seconds-attlist">
13032         <interleave>
13033             <optional>
13034                 <attribute name="number:style">
13035                     <choice>
13036                         <value>short</value>
13037                         <value>long</value>
13038                     </choice>
13039                 </attribute>
13040             </optional>
13041             <optional>
13042                 <attribute name="number:decimal-places">
13043                     <ref name="integer"/>
13044                 </attribute>
13045             </optional>
13046         </interleave>
13047     </define>
13048     <define name="number-am-pm">
13049         <element name="number:am-pm">
13050             <empty/>
13051         </element>
13052     </define>
13053     <define name="number-boolean-style">
13054         <element name="number:boolean-style">
13055             <ref name="common-data-style-attlist"/>
13056             <optional>
13057                 <ref name="style-text-properties"/>
13058             </optional>
13059             <optional>
13060                 <ref name="number-text"/>
13061             </optional>
13062             <optional>
13063                 <ref name="number-boolean"/>
13064                 <optional>
13065                     <ref name="number-text"/>
13066                 </optional>
13067             </optional>
13068             <zeroOrMore>
13069                 <ref name="style-map"/>
13070             </zeroOrMore>
13071         </element>
13072     </define>
13073     <define name="number-boolean">
13074         <element name="number:boolean">
13075             <empty/>
13076         </element>
13077     </define>
13078     <define name="number-text-style">
13079         <element name="number:text-style">
13080             <ref name="common-data-style-attlist"/>
13081             <optional>
13082                 <ref name="style-text-properties"/>
13083             </optional>
13084             <optional>
13085                 <ref name="number-text"/>
13086             </optional>
13087             <zeroOrMore>
13088                 <ref name="number-text-content"/>
13089                 <optional>
13090                     <ref name="number-text"/>
13091                 </optional>
13092             </zeroOrMore>
13093             <zeroOrMore>
13094                 <ref name="style-map"/>
13095             </zeroOrMore>
13096         </element>
13097     </define>
13098     <define name="number-text">
13099         <element name="number:text">
13100             <text/>
13101         </element>
13102     </define>
13103     <define name="number-text-content">
13104         <element name="number:text-content">
13105             <empty/>
13106         </element>
13107     </define>
13108     <define name="common-data-style-attlist">
13109         <interleave>
13110             <attribute name="style:name">
13111                 <ref name="styleName"/>
13112             </attribute>
13113             <optional>
13114                 <attribute name="style:display-name">
13115                     <ref name="string"/>
13116                 </attribute>
13117             </optional>
13118             <optional>
13119                 <attribute name="number:language">
13120                     <ref name="languageCode"/>
13121                 </attribute>
13122             </optional>
13123             <optional>
13124                 <attribute name="number:country">
13125                     <ref name="countryCode"/>
13126                 </attribute>
13127             </optional>
13128             <optional>
13129                 <attribute name="number:script">
13130                     <ref name="scriptCode"/>
13131                 </attribute>
13132             </optional>
13133             <optional>
13134                 <attribute name="number:rfc-language-tag">
13135                     <ref name="language"/>
13136                 </attribute>
13137             </optional>
13138             <optional>
13139                 <attribute name="number:title">
13140                     <ref name="string"/>
13141                 </attribute>
13142             </optional>
13143             <optional>
13144                 <attribute name="style:volatile">
13145                     <ref name="boolean"/>
13146                 </attribute>
13147             </optional>
13148             <optional>
13149                 <attribute name="number:transliteration-format">
13150                     <ref name="string"/>
13151                 </attribute>
13152             </optional>
13153             <optional>
13154                 <attribute name="number:transliteration-language">
13155                     <ref name="countryCode"/>
13156                 </attribute>
13157             </optional>
13158             <optional>
13159                 <attribute name="number:transliteration-country">
13160                     <ref name="countryCode"/>
13161                 </attribute>
13162             </optional>
13163             <optional>
13164                 <attribute name="number:transliteration-style">
13165                     <choice>
13166                         <value>short</value>
13167                         <value>medium</value>
13168                         <value>long</value>
13169                     </choice>
13170                 </attribute>
13171             </optional>
13172         </interleave>
13173     </define>
13174     <define name="common-auto-reorder-attlist">
13175         <optional>
13176             <attribute name="number:automatic-order">
13177                 <ref name="boolean"/>
13178             </attribute>
13179         </optional>
13180     </define>
13181     <define name="common-format-source-attlist">
13182         <optional>
13183             <attribute name="number:format-source">
13184                 <choice>
13185                     <value>fixed</value>
13186                     <value>language</value>
13187                 </choice>
13188             </attribute>
13189         </optional>
13190     </define>
13191     <define name="common-decimal-places-attlist">
13192         <optional>
13193             <attribute name="number:decimal-places">
13194                 <ref name="integer"/>
13195             </attribute>
13196         </optional>
13197     </define>
13198     <define name="common-number-attlist">
13199         <interleave>
13200             <optional>
13201                 <attribute name="number:min-integer-digits">
13202                     <ref name="integer"/>
13203                 </attribute>
13204             </optional>
13205             <optional>
13206                 <attribute name="number:grouping">
13207                     <ref name="boolean"/>
13208                 </attribute>
13209             </optional>
13210         </interleave>
13211     </define>
13212     <define name="common-calendar-attlist">
13213         <optional>
13214             <attribute name="number:calendar">
13215                 <choice>
13216                     <value>gregorian</value>
13217                     <value>gengou</value>
13218                     <value>ROC</value>
13219                     <value>hanja_yoil</value>
13220                     <value>hanja</value>
13221                     <value>hijri</value>
13222                     <value>jewish</value>
13223                     <value>buddhist</value>
13224                     <ref name="string"/>
13225                 </choice>
13226             </attribute>
13227         </optional>
13228     </define>
13229     <define name="style-style-content">
13230         <choice>
13231             <group>
13232                 <attribute name="style:family">
13233                     <value>text</value>
13234                 </attribute>
13235                 <optional>
13236                     <ref name="style-text-properties"/>
13237                 </optional>
13238             </group>
13239             <group>
13240                 <attribute name="style:family">
13241                     <value>paragraph</value>
13242                 </attribute>
13243                 <optional>
13244                     <ref name="style-paragraph-properties"/>
13245                 </optional>
13246                 <optional>
13247                     <ref name="style-text-properties"/>
13248                 </optional>
13249             </group>
13250             <group>
13251                 <attribute name="style:family">
13252                     <value>section</value>
13253                 </attribute>
13254                 <optional>
13255                     <ref name="style-section-properties"/>
13256                 </optional>
13257             </group>
13258             <group>
13259                 <attribute name="style:family">
13260                     <value>ruby</value>
13261                 </attribute>
13262                 <optional>
13263                     <ref name="style-ruby-properties"/>
13264                 </optional>
13265             </group>
13266             <group>
13267                 <attribute name="style:family">
13268                     <value>table</value>
13269                 </attribute>
13270                 <optional>
13271                     <ref name="style-table-properties"/>
13272                 </optional>
13273             </group>
13274             <group>
13275                 <attribute name="style:family">
13276                     <value>table-column</value>
13277                 </attribute>
13278                 <optional>
13279                     <ref name="style-table-column-properties"/>
13280                 </optional>
13281             </group>
13282             <group>
13283                 <attribute name="style:family">
13284                     <value>table-row</value>
13285                 </attribute>
13286                 <optional>
13287                     <ref name="style-table-row-properties"/>
13288                 </optional>
13289             </group>
13290             <group>
13291                 <attribute name="style:family">
13292                     <value>table-cell</value>
13293                 </attribute>
13294                 <optional>
13295                     <ref name="style-table-cell-properties"/>
13296                 </optional>
13297                 <optional>
13298                     <ref name="style-paragraph-properties"/>
13299                 </optional>
13300                 <optional>
13301                     <ref name="style-text-properties"/>
13302                 </optional>
13303             </group>
13304             <group>
13305                 <attribute name="style:family">
13306                     <choice>
13307                         <value>graphic</value>
13308                         <value>presentation</value>
13309                     </choice>
13310                 </attribute>
13311                 <optional>
13312                     <ref name="style-graphic-properties"/>
13313                 </optional>
13314                 <optional>
13315                     <ref name="style-paragraph-properties"/>
13316                 </optional>
13317                 <optional>
13318                     <ref name="style-text-properties"/>
13319                 </optional>
13320             </group>
13321             <group>
13322                 <attribute name="style:family">
13323                     <value>drawing-page</value>
13324                 </attribute>
13325                 <optional>
13326                     <ref name="style-drawing-page-properties"/>
13327                 </optional>
13328             </group>
13329             <group>
13330                 <attribute name="style:family">
13331                     <value>chart</value>
13332                 </attribute>
13333                 <optional>
13334                     <ref name="style-chart-properties"/>
13335                 </optional>
13336                 <optional>
13337                     <ref name="style-graphic-properties"/>
13338                 </optional>
13339                 <optional>
13340                     <ref name="style-paragraph-properties"/>
13341                 </optional>
13342                 <optional>
13343                     <ref name="style-text-properties"/>
13344                 </optional>
13345             </group>
13346         </choice>
13347     </define>
13348     <define name="text-linenumbering-configuration">
13349         <element name="text:linenumbering-configuration">
13350             <ref name="text-linenumbering-configuration-attlist"/>
13351             <optional>
13352                 <ref name="text-linenumbering-separator"/>
13353             </optional>
13354         </element>
13355     </define>
13356     <define name="text-linenumbering-configuration-attlist">
13357         <interleave>
13358             <optional>
13359                 <attribute name="text:number-lines">
13360                     <ref name="boolean"/>
13361                 </attribute>
13362             </optional>
13363             <optional>
13364                 <ref name="common-num-format-attlist"/>
13365             </optional>
13366             <optional>
13367                 <attribute name="text:style-name">
13368                     <ref name="styleNameRef"/>
13369                 </attribute>
13370             </optional>
13371             <optional>
13372                 <attribute name="text:increment">
13373                     <ref name="nonNegativeInteger"/>
13374                 </attribute>
13375             </optional>
13376             <optional>
13377                 <attribute name="text:number-position">
13378                     <choice>
13379                         <value>left</value>
13380                         <value>right</value>
13381                         <value>inner</value>
13382                         <value>outer</value>
13383                     </choice>
13384                 </attribute>
13385             </optional>
13386             <optional>
13387                 <attribute name="text:offset">
13388                     <ref name="nonNegativeLength"/>
13389                 </attribute>
13390             </optional>
13391             <optional>
13392                 <attribute name="text:count-empty-lines">
13393                     <ref name="boolean"/>
13394                 </attribute>
13395             </optional>
13396             <optional>
13397                 <attribute name="text:count-in-text-boxes">
13398                     <ref name="boolean"/>
13399                 </attribute>
13400             </optional>
13401             <optional>
13402                 <attribute name="text:restart-on-page">
13403                     <ref name="boolean"/>
13404                 </attribute>
13405             </optional>
13406         </interleave>
13407     </define>
13408     <define name="text-linenumbering-separator">
13409         <element name="text:linenumbering-separator">
13410             <optional>
13411                 <attribute name="text:increment">
13412                     <ref name="nonNegativeInteger"/>
13413                 </attribute>
13414             </optional>
13415             <text/>
13416         </element>
13417     </define>
13418     <define name="text-notes-configuration">
13419         <element name="text:notes-configuration">
13420             <ref name="text-notes-configuration-content"/>
13421         </element>
13422     </define>
13423     <define name="text-notes-configuration-content">
13424         <interleave>
13425             <ref name="text-note-class"/>
13426             <optional>
13427                 <attribute name="text:citation-style-name">
13428                     <ref name="styleNameRef"/>
13429                 </attribute>
13430             </optional>
13431             <optional>
13432                 <attribute name="text:citation-body-style-name">
13433                     <ref name="styleNameRef"/>
13434                 </attribute>
13435             </optional>
13436             <optional>
13437                 <attribute name="text:default-style-name">
13438                     <ref name="styleNameRef"/>
13439                 </attribute>
13440             </optional>
13441             <optional>
13442                 <attribute name="text:master-page-name">
13443                     <ref name="styleNameRef"/>
13444                 </attribute>
13445             </optional>
13446             <optional>
13447                 <attribute name="text:start-value">
13448                     <ref name="nonNegativeInteger"/>
13449                 </attribute>
13450             </optional>
13451             <ref name="common-num-format-prefix-suffix-attlist"/>
13452             <optional>
13453                 <ref name="common-num-format-attlist"/>
13454             </optional>
13455             <optional>
13456                 <attribute name="text:start-numbering-at">
13457                     <choice>
13458                         <value>document</value>
13459                         <value>chapter</value>
13460                         <value>page</value>
13461                     </choice>
13462                 </attribute>
13463             </optional>
13464             <optional>
13465                 <attribute name="text:footnotes-position">
13466                     <choice>
13467                         <value>text</value>
13468                         <value>page</value>
13469                         <value>section</value>
13470                         <value>document</value>
13471                     </choice>
13472                 </attribute>
13473             </optional>
13474             <optional>
13475                 <element name="text:note-continuation-notice-forward">
13476                     <text/>
13477                 </element>
13478             </optional>
13479             <optional>
13480                 <element name="text:note-continuation-notice-backward">
13481                     <text/>
13482                 </element>
13483             </optional>
13484         </interleave>
13485     </define>
13486     <define name="text-bibliography-configuration">
13487         <element name="text:bibliography-configuration">
13488             <ref name="text-bibliography-configuration-attlist"/>
13489             <zeroOrMore>
13490                 <ref name="text-sort-key"/>
13491             </zeroOrMore>
13492         </element>
13493     </define>
13494     <define name="text-bibliography-configuration-attlist">
13495         <interleave>
13496             <optional>
13497                 <attribute name="text:prefix">
13498                     <ref name="string"/>
13499                 </attribute>
13500             </optional>
13501             <optional>
13502                 <attribute name="text:suffix">
13503                     <ref name="string"/>
13504                 </attribute>
13505             </optional>
13506             <optional>
13507                 <attribute name="text:numbered-entries">
13508                     <ref name="boolean"/>
13509                 </attribute>
13510             </optional>
13511             <optional>
13512                 <attribute name="text:sort-by-position">
13513                     <ref name="boolean"/>
13514                 </attribute>
13515             </optional>
13516             <optional>
13517                 <attribute name="fo:language">
13518                     <ref name="languageCode"/>
13519                 </attribute>
13520             </optional>
13521             <optional>
13522                 <attribute name="fo:country">
13523                     <ref name="countryCode"/>
13524                 </attribute>
13525             </optional>
13526             <optional>
13527                 <attribute name="fo:script">
13528                     <ref name="scriptCode"/>
13529                 </attribute>
13530             </optional>
13531             <optional>
13532                 <attribute name="style:rfc-language-tag">
13533                     <ref name="language"/>
13534                 </attribute>
13535             </optional>
13536             <optional>
13537                 <attribute name="text:sort-algorithm">
13538                     <ref name="string"/>
13539                 </attribute>
13540             </optional>
13541         </interleave>
13542     </define>
13543     <define name="text-sort-key">
13544         <element name="text:sort-key">
13545             <ref name="text-sort-key-attlist"/>
13546             <empty/>
13547         </element>
13548     </define>
13549     <define name="text-sort-key-attlist">
13550         <attribute name="text:key">
13551             <choice>
13552                 <value>address</value>
13553                 <value>annote</value>
13554                 <value>author</value>
13555                 <value>bibliography-type</value>
13556                 <value>booktitle</value>
13557                 <value>chapter</value>
13558                 <value>custom1</value>
13559                 <value>custom2</value>
13560                 <value>custom3</value>
13561                 <value>custom4</value>
13562                 <value>custom5</value>
13563                 <value>edition</value>
13564                 <value>editor</value>
13565                 <value>howpublished</value>
13566                 <value>identifier</value>
13567                 <value>institution</value>
13568                 <value>isbn</value>
13569                 <value>issn</value>
13570                 <value>journal</value>
13571                 <value>month</value>
13572                 <value>note</value>
13573                 <value>number</value>
13574                 <value>organizations</value>
13575                 <value>pages</value>
13576                 <value>publisher</value>
13577                 <value>report-type</value>
13578                 <value>school</value>
13579                 <value>series</value>
13580                 <value>title</value>
13581                 <value>url</value>
13582                 <value>volume</value>
13583                 <value>year</value>
13584             </choice>
13585         </attribute>
13586         <optional>
13587             <attribute name="text:sort-ascending">
13588                 <ref name="boolean"/>
13589             </attribute>
13590         </optional>
13591     </define>
13592     <define name="text-list-style">
13593         <element name="text:list-style">
13594             <ref name="text-list-style-attr"/>
13595             <zeroOrMore>
13596                 <ref name="text-list-style-content"/>
13597             </zeroOrMore>
13598         </element>
13599     </define>
13600     <define name="text-list-style-attr">
13601         <interleave>
13602             <attribute name="style:name">
13603                 <ref name="styleName"/>
13604             </attribute>
13605             <optional>
13606                 <attribute name="style:display-name">
13607                     <ref name="string"/>
13608                 </attribute>
13609             </optional>
13610             <optional>
13611                 <attribute name="text:consecutive-numbering">
13612                     <ref name="boolean"/>
13613                 </attribute>
13614             </optional>
13615         </interleave>
13616     </define>
13617     <define name="text-list-style-content">
13618         <choice>
13619             <element name="text:list-level-style-number">
13620                 <ref name="text-list-level-style-attr"/>
13621                 <ref name="text-list-level-style-number-attr"/>
13622                 <optional>
13623                     <ref name="style-list-level-properties"/>
13624                 </optional>
13625                 <optional>
13626                     <ref name="style-text-properties"/>
13627                 </optional>
13628             </element>
13629             <element name="text:list-level-style-bullet">
13630                 <ref name="text-list-level-style-attr"/>
13631                 <ref name="text-list-level-style-bullet-attr"/>
13632                 <optional>
13633                     <ref name="style-list-level-properties"/>
13634                 </optional>
13635                 <optional>
13636                     <ref name="style-text-properties"/>
13637                 </optional>
13638             </element>
13639             <element name="text:list-level-style-image">
13640                 <ref name="text-list-level-style-attr"/>
13641                 <ref name="text-list-level-style-image-attr"/>
13642                 <optional>
13643                     <ref name="style-list-level-properties"/>
13644                 </optional>
13645             </element>
13646         </choice>
13647     </define>
13648     <define name="text-list-level-style-number-attr">
13649         <interleave>
13650             <optional>
13651                 <attribute name="text:style-name">
13652                     <ref name="styleNameRef"/>
13653                 </attribute>
13654             </optional>
13655             <ref name="common-num-format-attlist"/>
13656             <ref name="common-num-format-prefix-suffix-attlist"/>
13657             <optional>
13658                 <attribute name="text:display-levels">
13659                     <ref name="positiveInteger"/>
13660                 </attribute>
13661             </optional>
13662             <optional>
13663                 <attribute name="text:start-value">
13664                     <ref name="positiveInteger"/>
13665                 </attribute>
13666             </optional>
13667         </interleave>
13668     </define>
13669     <define name="text-list-level-style-bullet-attr">
13670         <interleave>
13671             <optional>
13672                 <attribute name="text:style-name">
13673                     <ref name="styleNameRef"/>
13674                 </attribute>
13675             </optional>
13676             <attribute name="text:bullet-char">
13677                 <ref name="character"/>
13678             </attribute>
13679             <ref name="common-num-format-prefix-suffix-attlist"/>
13680             <optional>
13681                 <attribute name="text:bullet-relative-size">
13682                     <ref name="percent"/>
13683                 </attribute>
13684             </optional>
13685         </interleave>
13686     </define>
13687     <define name="text-list-level-style-image-attr">
13688         <choice>
13689             <ref name="common-draw-data-attlist"/>
13690             <ref name="office-binary-data"/>
13691         </choice>
13692     </define>
13693     <define name="text-list-level-style-attr">
13694         <attribute name="text:level">
13695             <ref name="positiveInteger"/>
13696         </attribute>
13697     </define>
13698     <define name="text-outline-style">
13699         <element name="text:outline-style">
13700             <ref name="text-outline-style-attr"/>
13701             <oneOrMore>
13702                 <ref name="text-outline-level-style"/>
13703             </oneOrMore>
13704         </element>
13705     </define>
13706     <define name="text-outline-style-attr">
13707         <attribute name="style:name">
13708             <ref name="styleName"/>
13709         </attribute>
13710     </define>
13711     <define name="text-outline-level-style">
13712         <element name="text:outline-level-style">
13713             <ref name="text-outline-level-style-attlist"/>
13714             <optional>
13715                 <ref name="style-list-level-properties"/>
13716             </optional>
13717             <optional>
13718                 <ref name="style-text-properties"/>
13719             </optional>
13720         </element>
13721     </define>
13722     <define name="text-outline-level-style-attlist">
13723         <interleave>
13724             <attribute name="text:level">
13725                 <ref name="positiveInteger"/>
13726             </attribute>
13727             <optional>
13728                 <attribute name="text:style-name">
13729                     <ref name="styleNameRef"/>
13730                 </attribute>
13731             </optional>
13732             <ref name="common-num-format-attlist"/>
13733             <ref name="common-num-format-prefix-suffix-attlist"/>
13734             <optional>
13735                 <attribute name="text:display-levels">
13736                     <ref name="positiveInteger"/>
13737                 </attribute>
13738             </optional>
13739             <optional>
13740                 <attribute name="text:start-value">
13741                     <ref name="positiveInteger"/>
13742                 </attribute>
13743             </optional>
13744         </interleave>
13745     </define>
13746     <define name="style-graphic-properties">
13747         <element name="style:graphic-properties">
13748             <ref name="style-graphic-properties-content-strict"/>
13749         </element>
13750     </define>
13751     <define name="style-graphic-properties-content-strict">
13752         <ref name="style-graphic-properties-attlist"/>
13753         <ref name="style-graphic-fill-properties-attlist"/>
13754         <ref name="style-graphic-properties-elements"/>
13755     </define>
13756     <define name="style-drawing-page-properties">
13757         <element name="style:drawing-page-properties">
13758             <ref name="style-drawing-page-properties-content-strict"/>
13759         </element>
13760     </define>
13761     <define name="style-drawing-page-properties-content-strict">
13762         <ref name="style-graphic-fill-properties-attlist"/>
13763         <ref name="style-drawing-page-properties-attlist"/>
13764         <ref name="style-drawing-page-properties-elements"/>
13765     </define>
13766     <define name="draw-gradient">
13767         <element name="draw:gradient">
13768             <ref name="common-draw-gradient-attlist"/>
13769             <ref name="draw-gradient-attlist"/>
13770             <empty/>
13771         </element>
13772     </define>
13773     <define name="common-draw-gradient-attlist">
13774         <interleave>
13775             <optional>
13776                 <attribute name="draw:name">
13777                     <ref name="styleName"/>
13778                 </attribute>
13779             </optional>
13780             <optional>
13781                 <attribute name="draw:display-name">
13782                     <ref name="string"/>
13783                 </attribute>
13784             </optional>
13785             <attribute name="draw:style">
13786                 <ref name="gradient-style"/>
13787             </attribute>
13788             <optional>
13789                 <attribute name="draw:cx">
13790                     <ref name="percent"/>
13791                 </attribute>
13792             </optional>
13793             <optional>
13794                 <attribute name="draw:cy">
13795                     <ref name="percent"/>
13796                 </attribute>
13797             </optional>
13798             <optional>
13799                 <attribute name="draw:angle">
13800                     <ref name="angle"/>
13801                 </attribute>
13802             </optional>
13803             <optional>
13804                 <attribute name="draw:border">
13805                     <ref name="percent"/>
13806                 </attribute>
13807             </optional>
13808         </interleave>
13809     </define>
13810     <define name="gradient-style">
13811         <choice>
13812             <value>linear</value>
13813             <value>axial</value>
13814             <value>radial</value>
13815             <value>ellipsoid</value>
13816             <value>square</value>
13817             <value>rectangular</value>
13818         </choice>
13819     </define>
13820     <define name="draw-gradient-attlist">
13821         <interleave>
13822             <optional>
13823                 <attribute name="draw:start-color">
13824                     <ref name="color"/>
13825                 </attribute>
13826             </optional>
13827             <optional>
13828                 <attribute name="draw:end-color">
13829                     <ref name="color"/>
13830                 </attribute>
13831             </optional>
13832             <optional>
13833                 <attribute name="draw:start-intensity">
13834                     <ref name="zeroToHundredPercent"/>
13835                 </attribute>
13836             </optional>
13837             <optional>
13838                 <attribute name="draw:end-intensity">
13839                     <ref name="zeroToHundredPercent"/>
13840                 </attribute>
13841             </optional>
13842         </interleave>
13843     </define>
13844     <define name="svg-linearGradient">
13845         <element name="svg:linearGradient">
13846             <ref name="common-svg-gradient-attlist"/>
13847             <optional>
13848                 <attribute name="svg:x1">
13849                     <choice>
13850                         <ref name="coordinate"/>
13851                         <ref name="percent"/>
13852                     </choice>
13853                 </attribute>
13854             </optional>
13855             <optional>
13856                 <attribute name="svg:y1">
13857                     <choice>
13858                         <ref name="coordinate"/>
13859                         <ref name="percent"/>
13860                     </choice>
13861                 </attribute>
13862             </optional>
13863             <optional>
13864                 <attribute name="svg:x2">
13865                     <choice>
13866                         <ref name="coordinate"/>
13867                         <ref name="percent"/>
13868                     </choice>
13869                 </attribute>
13870             </optional>
13871             <optional>
13872                 <attribute name="svg:y2">
13873                     <choice>
13874                         <ref name="coordinate"/>
13875                         <ref name="percent"/>
13876                     </choice>
13877                 </attribute>
13878             </optional>
13879             <zeroOrMore>
13880                 <ref name="svg-stop"/>
13881             </zeroOrMore>
13882         </element>
13883     </define>
13884     <define name="svg-radialGradient">
13885         <element name="svg:radialGradient">
13886             <ref name="common-svg-gradient-attlist"/>
13887             <optional>
13888                 <attribute name="svg:cx">
13889                     <choice>
13890                         <ref name="coordinate"/>
13891                         <ref name="percent"/>
13892                     </choice>
13893                 </attribute>
13894             </optional>
13895             <optional>
13896                 <attribute name="svg:cy">
13897                     <choice>
13898                         <ref name="coordinate"/>
13899                         <ref name="percent"/>
13900                     </choice>
13901                 </attribute>
13902             </optional>
13903             <optional>
13904                 <attribute name="svg:r">
13905                     <choice>
13906                         <ref name="coordinate"/>
13907                         <ref name="percent"/>
13908                     </choice>
13909                 </attribute>
13910             </optional>
13911             <optional>
13912                 <attribute name="svg:fx">
13913                     <choice>
13914                         <ref name="coordinate"/>
13915                         <ref name="percent"/>
13916                     </choice>
13917                 </attribute>
13918             </optional>
13919             <optional>
13920                 <attribute name="svg:fy">
13921                     <choice>
13922                         <ref name="coordinate"/>
13923                         <ref name="percent"/>
13924                     </choice>
13925                 </attribute>
13926             </optional>
13927             <zeroOrMore>
13928                 <ref name="svg-stop"/>
13929             </zeroOrMore>
13930         </element>
13931     </define>
13932     <define name="svg-stop">
13933         <element name="svg:stop">
13934             <attribute name="svg:offset">
13935                 <choice>
13936                     <ref name="double"/>
13937                     <ref name="percent"/>
13938                 </choice>
13939             </attribute>
13940             <optional>
13941                 <attribute name="svg:stop-color">
13942                     <ref name="color"/>
13943                 </attribute>
13944             </optional>
13945             <optional>
13946                 <attribute name="svg:stop-opacity">
13947                     <ref name="double"/>
13948                 </attribute>
13949             </optional>
13950         </element>
13951     </define>
13952     <define name="common-svg-gradient-attlist">
13953         <interleave>
13954             <optional>
13955                 <attribute name="svg:gradientUnits">
13956                     <value>objectBoundingBox</value>
13957                 </attribute>
13958             </optional>
13959             <optional>
13960                 <attribute name="svg:gradientTransform">
13961                     <ref name="string"/>
13962                 </attribute>
13963             </optional>
13964             <optional>
13965                 <attribute name="svg:spreadMethod">
13966                     <choice>
13967                         <value>pad</value>
13968                         <value>reflect</value>
13969                         <value>repeat</value>
13970                     </choice>
13971                 </attribute>
13972             </optional>
13973             <attribute name="draw:name">
13974                 <ref name="styleName"/>
13975             </attribute>
13976             <optional>
13977                 <attribute name="draw:display-name">
13978                     <ref name="string"/>
13979                 </attribute>
13980             </optional>
13981         </interleave>
13982     </define>
13983     <define name="draw-hatch">
13984         <element name="draw:hatch">
13985             <ref name="draw-hatch-attlist"/>
13986             <empty/>
13987         </element>
13988     </define>
13989     <define name="draw-hatch-attlist">
13990         <interleave>
13991             <attribute name="draw:name">
13992                 <ref name="styleName"/>
13993             </attribute>
13994             <optional>
13995                 <attribute name="draw:display-name">
13996                     <ref name="string"/>
13997                 </attribute>
13998             </optional>
13999             <attribute name="draw:style">
14000                 <choice>
14001                     <value>single</value>
14002                     <value>double</value>
14003                     <value>triple</value>
14004                 </choice>
14005             </attribute>
14006             <optional>
14007                 <attribute name="draw:color">
14008                     <ref name="color"/>
14009                 </attribute>
14010             </optional>
14011             <optional>
14012                 <attribute name="draw:distance">
14013                     <ref name="length"/>
14014                 </attribute>
14015             </optional>
14016             <optional>
14017                 <attribute name="draw:rotation">
14018                     <ref name="angle"/>
14019                 </attribute>
14020             </optional>
14021         </interleave>
14022     </define>
14023     <define name="draw-fill-image">
14024         <element name="draw:fill-image">
14025             <ref name="draw-fill-image-attlist"/>
14026             <attribute name="xlink:type">
14027                 <value>simple</value>
14028             </attribute>
14029             <attribute name="xlink:href">
14030                 <ref name="anyIRI"/>
14031             </attribute>
14032             <optional>
14033                 <attribute name="xlink:show">
14034                     <value>embed</value>
14035                 </attribute>
14036             </optional>
14037             <optional>
14038                 <attribute name="xlink:actuate">
14039                     <value>onLoad</value>
14040                 </attribute>
14041             </optional>
14042             <empty/>
14043         </element>
14044     </define>
14045     <define name="draw-fill-image-attlist">
14046         <interleave>
14047             <attribute name="draw:name">
14048                 <ref name="styleName"/>
14049             </attribute>
14050             <optional>
14051                 <attribute name="draw:display-name">
14052                     <ref name="string"/>
14053                 </attribute>
14054             </optional>
14055             <optional>
14056                 <attribute name="svg:width">
14057                     <ref name="length"/>
14058                 </attribute>
14059             </optional>
14060             <optional>
14061                 <attribute name="svg:height">
14062                     <ref name="length"/>
14063                 </attribute>
14064             </optional>
14065         </interleave>
14066     </define>
14067     <define name="draw-opacity">
14068         <element name="draw:opacity">
14069             <ref name="common-draw-gradient-attlist"/>
14070             <ref name="draw-opacity-attlist"/>
14071             <empty/>
14072         </element>
14073     </define>
14074     <define name="draw-opacity-attlist">
14075         <optional>
14076             <attribute name="draw:start">
14077                 <ref name="zeroToHundredPercent"/>
14078             </attribute>
14079         </optional>
14080         <optional>
14081             <attribute name="draw:end">
14082                 <ref name="zeroToHundredPercent"/>
14083             </attribute>
14084         </optional>
14085     </define>
14086     <define name="draw-marker">
14087         <element name="draw:marker">
14088             <ref name="draw-marker-attlist"/>
14089             <ref name="common-draw-viewbox-attlist"/>
14090             <ref name="common-draw-path-data-attlist"/>
14091             <empty/>
14092         </element>
14093     </define>
14094     <define name="draw-marker-attlist">
14095         <interleave>
14096             <attribute name="draw:name">
14097                 <ref name="styleName"/>
14098             </attribute>
14099             <optional>
14100                 <attribute name="draw:display-name">
14101                     <ref name="string"/>
14102                 </attribute>
14103             </optional>
14104         </interleave>
14105     </define>
14106     <define name="draw-stroke-dash">
14107         <element name="draw:stroke-dash">
14108             <ref name="draw-stroke-dash-attlist"/>
14109             <empty/>
14110         </element>
14111     </define>
14112     <define name="draw-stroke-dash-attlist">
14113         <interleave>
14114             <attribute name="draw:name">
14115                 <ref name="styleName"/>
14116             </attribute>
14117             <optional>
14118                 <attribute name="draw:display-name">
14119                     <ref name="string"/>
14120                 </attribute>
14121             </optional>
14122             <optional>
14123                 <attribute name="draw:style">
14124                     <choice>
14125                         <value>rect</value>
14126                         <value>round</value>
14127                     </choice>
14128                 </attribute>
14129             </optional>
14130             <optional>
14131                 <attribute name="draw:dots1">
14132                     <ref name="integer"/>
14133                 </attribute>
14134             </optional>
14135             <optional>
14136                 <attribute name="draw:dots1-length">
14137                     <choice>
14138                         <ref name="length"/>
14139                         <ref name="percent"/>
14140                     </choice>
14141                 </attribute>
14142             </optional>
14143             <optional>
14144                 <attribute name="draw:dots2">
14145                     <ref name="integer"/>
14146                 </attribute>
14147             </optional>
14148             <optional>
14149                 <attribute name="draw:dots2-length">
14150                     <choice>
14151                         <ref name="length"/>
14152                         <ref name="percent"/>
14153                     </choice>
14154                 </attribute>
14155             </optional>
14156             <optional>
14157                 <attribute name="draw:distance">
14158                     <choice>
14159                         <ref name="length"/>
14160                         <ref name="percent"/>
14161                     </choice>
14162                 </attribute>
14163             </optional>
14164         </interleave>
14165     </define>
14166     <define name="style-presentation-page-layout">
14167         <element name="style:presentation-page-layout">
14168             <attribute name="style:name">
14169                 <ref name="styleName"/>
14170             </attribute>
14171             <optional>
14172                 <attribute name="style:display-name">
14173                     <ref name="string"/>
14174                 </attribute>
14175             </optional>
14176             <zeroOrMore>
14177                 <ref name="presentation-placeholder"/>
14178             </zeroOrMore>
14179         </element>
14180     </define>
14181     <define name="presentation-placeholder">
14182         <element name="presentation:placeholder">
14183             <attribute name="presentation:object">
14184                 <ref name="presentation-classes"/>
14185             </attribute>
14186             <attribute name="svg:x">
14187                 <choice>
14188                     <ref name="coordinate"/>
14189                     <ref name="percent"/>
14190                 </choice>
14191             </attribute>
14192             <attribute name="svg:y">
14193                 <choice>
14194                     <ref name="coordinate"/>
14195                     <ref name="percent"/>
14196                 </choice>
14197             </attribute>
14198             <attribute name="svg:width">
14199                 <choice>
14200                     <ref name="length"/>
14201                     <ref name="percent"/>
14202                 </choice>
14203             </attribute>
14204             <attribute name="svg:height">
14205                 <choice>
14206                     <ref name="length"/>
14207                     <ref name="percent"/>
14208                 </choice>
14209             </attribute>
14210             <empty/>
14211         </element>
14212     </define>
14213     <define name="style-page-layout-properties">
14214         <element name="style:page-layout-properties">
14215             <ref name="style-page-layout-properties-content-strict"/>
14216         </element>
14217     </define>
14218     <define name="style-page-layout-properties-content-strict">
14219         <ref name="style-page-layout-properties-attlist"/>
14220         <ref name="style-page-layout-properties-elements"/>
14221     </define>
14222     <define name="style-page-layout-properties-attlist">
14223         <interleave>
14224             <optional>
14225                 <attribute name="fo:page-width">
14226                     <ref name="length"/>
14227                 </attribute>
14228             </optional>
14229             <optional>
14230                 <attribute name="fo:page-height">
14231                     <ref name="length"/>
14232                 </attribute>
14233             </optional>
14234             <optional>
14235                 <ref name="common-num-format-attlist"/>
14236             </optional>
14237             <ref name="common-num-format-prefix-suffix-attlist"/>
14238             <optional>
14239                 <attribute name="style:paper-tray-name">
14240                     <choice>
14241                         <value>default</value>
14242                         <ref name="string"/>
14243                     </choice>
14244                 </attribute>
14245             </optional>
14246             <optional>
14247                 <attribute name="style:print-orientation">
14248                     <choice>
14249                         <value>portrait</value>
14250                         <value>landscape</value>
14251                     </choice>
14252                 </attribute>
14253             </optional>
14254             <ref name="common-horizontal-margin-attlist"/>
14255             <ref name="common-vertical-margin-attlist"/>
14256             <ref name="common-margin-attlist"/>
14257             <ref name="common-border-attlist"/>
14258             <ref name="common-border-line-width-attlist"/>
14259             <ref name="common-padding-attlist"/>
14260             <ref name="common-shadow-attlist"/>
14261             <ref name="common-background-color-attlist"/>
14262             <optional>
14263                 <attribute name="style:register-truth-ref-style-name">
14264                     <ref name="styleNameRef"/>
14265                 </attribute>
14266             </optional>
14267             <optional>
14268                 <attribute name="style:print">
14269                     <list>
14270                         <zeroOrMore>
14271                             <choice>
14272                                 <value>headers</value>
14273                                 <value>grid</value>
14274                                 <value>annotations</value>
14275                                 <value>objects</value>
14276                                 <value>charts</value>
14277                                 <value>drawings</value>
14278                                 <value>formulas</value>
14279                                 <value>zero-values</value>
14280                             </choice>
14281                         </zeroOrMore>
14282                     </list>
14283                 </attribute>
14284             </optional>
14285             <optional>
14286                 <attribute name="style:print-page-order">
14287                     <choice>
14288                         <value>ttb</value>
14289                         <value>ltr</value>
14290                     </choice>
14291                 </attribute>
14292             </optional>
14293             <optional>
14294                 <attribute name="style:first-page-number">
14295                     <choice>
14296                         <ref name="positiveInteger"/>
14297                         <value>continue</value>
14298                     </choice>
14299                 </attribute>
14300             </optional>
14301             <optional>
14302                 <attribute name="style:scale-to">
14303                     <ref name="percent"/>
14304                 </attribute>
14305             </optional>
14306             <optional>
14307                 <attribute name="style:scale-to-pages">
14308                     <ref name="positiveInteger"/>
14309                 </attribute>
14310             </optional>
14311             <optional>
14312                 <attribute name="style:table-centering">
14313                     <choice>
14314                         <value>horizontal</value>
14315                         <value>vertical</value>
14316                         <value>both</value>
14317                         <value>none</value>
14318                     </choice>
14319                 </attribute>
14320             </optional>
14321             <optional>
14322                 <attribute name="style:footnote-max-height">
14323                     <ref name="length"/>
14324                 </attribute>
14325             </optional>
14326             <ref name="common-writing-mode-attlist"/>
14327             <optional>
14328                 <attribute name="style:layout-grid-mode">
14329                     <choice>
14330                         <value>none</value>
14331                         <value>line</value>
14332                         <value>both</value>
14333                     </choice>
14334                 </attribute>
14335             </optional>
14336             <optional>
14337                 <attribute name="style:layout-grid-standard-mode">
14338                     <ref name="boolean"/>
14339                 </attribute>
14340             </optional>
14341             <optional>
14342                 <attribute name="style:layout-grid-base-height">
14343                     <ref name="length"/>
14344                 </attribute>
14345             </optional>
14346             <optional>
14347                 <attribute name="style:layout-grid-ruby-height">
14348                     <ref name="length"/>
14349                 </attribute>
14350             </optional>
14351             <optional>
14352                 <attribute name="style:layout-grid-lines">
14353                     <ref name="positiveInteger"/>
14354                 </attribute>
14355             </optional>
14356             <optional>
14357                 <attribute name="style:layout-grid-base-width">
14358                     <ref name="length"/>
14359                 </attribute>
14360             </optional>
14361             <optional>
14362                 <attribute name="style:layout-grid-color">
14363                     <ref name="color"/>
14364                 </attribute>
14365             </optional>
14366             <optional>
14367                 <attribute name="style:layout-grid-ruby-below">
14368                     <ref name="boolean"/>
14369                 </attribute>
14370             </optional>
14371             <optional>
14372                 <attribute name="style:layout-grid-print">
14373                     <ref name="boolean"/>
14374                 </attribute>
14375             </optional>
14376             <optional>
14377                 <attribute name="style:layout-grid-display">
14378                     <ref name="boolean"/>
14379                 </attribute>
14380             </optional>
14381             <optional>
14382                 <attribute name="style:layout-grid-snap-to">
14383                     <ref name="boolean"/>
14384                 </attribute>
14385             </optional>
14386         </interleave>
14387     </define>
14388     <define name="style-page-layout-properties-elements">
14389         <interleave>
14390             <ref name="style-background-image"/>
14391             <ref name="style-columns"/>
14392             <ref name="style-footnote-sep"/>
14393         </interleave>
14394     </define>
14395     <define name="style-footnote-sep">
14396         <optional>
14397             <element name="style:footnote-sep">
14398                 <ref name="style-footnote-sep-attlist"/>
14399                 <empty/>
14400             </element>
14401         </optional>
14402     </define>
14403     <define name="style-footnote-sep-attlist">
14404         <optional>
14405             <attribute name="style:width">
14406                 <ref name="length"/>
14407             </attribute>
14408         </optional>
14409         <optional>
14410             <attribute name="style:rel-width">
14411                 <ref name="percent"/>
14412             </attribute>
14413         </optional>
14414         <optional>
14415             <attribute name="style:color">
14416                 <ref name="color"/>
14417             </attribute>
14418         </optional>
14419         <optional>
14420             <attribute name="style:line-style">
14421                 <ref name="lineStyle"/>
14422             </attribute>
14423         </optional>
14424         <optional>
14425             <attribute name="style:adjustment">
14426                 <choice>
14427                     <value>left</value>
14428                     <value>center</value>
14429                     <value>right</value>
14430                 </choice>
14431             </attribute>
14432         </optional>
14433         <optional>
14434             <attribute name="style:distance-before-sep">
14435                 <ref name="length"/>
14436             </attribute>
14437         </optional>
14438         <optional>
14439             <attribute name="style:distance-after-sep">
14440                 <ref name="length"/>
14441             </attribute>
14442         </optional>
14443     </define>
14444     <define name="style-header-footer-properties">
14445         <element name="style:header-footer-properties">
14446             <ref name="style-header-footer-properties-content-strict"/>
14447         </element>
14448     </define>
14449     <define name="style-header-footer-properties-content-strict">
14450         <ref name="style-header-footer-properties-attlist"/>
14451         <ref name="style-header-footer-properties-elements"/>
14452     </define>
14453     <define name="style-header-footer-properties-attlist">
14454         <interleave>
14455             <optional>
14456                 <attribute name="svg:height">
14457                     <ref name="length"/>
14458                 </attribute>
14459             </optional>
14460             <optional>
14461                 <attribute name="fo:min-height">
14462                     <ref name="length"/>
14463                 </attribute>
14464             </optional>
14465             <ref name="common-horizontal-margin-attlist"/>
14466             <ref name="common-vertical-margin-attlist"/>
14467             <ref name="common-margin-attlist"/>
14468             <ref name="common-border-attlist"/>
14469             <ref name="common-border-line-width-attlist"/>
14470             <ref name="common-padding-attlist"/>
14471             <ref name="common-background-color-attlist"/>
14472             <ref name="common-shadow-attlist"/>
14473             <optional>
14474                 <attribute name="style:dynamic-spacing">
14475                     <ref name="boolean"/>
14476                 </attribute>
14477             </optional>
14478         </interleave>
14479     </define>
14480     <define name="style-header-footer-properties-elements">
14481         <ref name="style-background-image"/>
14482     </define>
14483     <define name="style-text-properties">
14484         <element name="style:text-properties">
14485             <ref name="style-text-properties-content-strict"/>
14486         </element>
14487     </define>
14488     <define name="style-text-properties-content-strict">
14489         <ref name="style-text-properties-attlist"/>
14490         <ref name="style-text-properties-elements"/>
14491     </define>
14492     <define name="style-text-properties-elements">
14493         <empty/>
14494     </define>
14495     <define name="style-text-properties-attlist">
14496         <interleave>
14497             <optional>
14498                 <attribute name="fo:font-variant">
14499                     <ref name="fontVariant"/>
14500                 </attribute>
14501             </optional>
14502             <optional>
14503                 <attribute name="fo:text-transform">
14504                     <choice>
14505                         <value>none</value>
14506                         <value>lowercase</value>
14507                         <value>uppercase</value>
14508                         <value>capitalize</value>
14509                     </choice>
14510                 </attribute>
14511             </optional>
14512             <optional>
14513                 <attribute name="fo:color">
14514                     <ref name="color"/>
14515                 </attribute>
14516             </optional>
14517             <optional>
14518                 <attribute name="style:use-window-font-color">
14519                     <ref name="boolean"/>
14520                 </attribute>
14521             </optional>
14522             <optional>
14523                 <attribute name="style:text-outline">
14524                     <ref name="boolean"/>
14525                 </attribute>
14526             </optional>
14527             <optional>
14528                 <attribute name="style:text-line-through-type">
14529                     <ref name="lineType"/>
14530                 </attribute>
14531             </optional>
14532             <optional>
14533                 <attribute name="style:text-line-through-style">
14534                     <ref name="lineStyle"/>
14535                 </attribute>
14536             </optional>
14537             <optional>
14538                 <attribute name="style:text-line-through-width">
14539                     <ref name="lineWidth"/>
14540                 </attribute>
14541             </optional>
14542             <optional>
14543                 <attribute name="style:text-line-through-color">
14544                     <choice>
14545                         <value>font-color</value>
14546                         <ref name="color"/>
14547                     </choice>
14548                 </attribute>
14549             </optional>
14550             <optional>
14551                 <attribute name="style:text-line-through-text">
14552                     <ref name="string"/>
14553                 </attribute>
14554             </optional>
14555             <optional>
14556                 <attribute name="style:text-line-through-text-style">
14557                     <ref name="styleNameRef"/>
14558                 </attribute>
14559             </optional>
14560             <optional>
14561                 <attribute name="style:text-position">
14562                     <list>
14563                         <choice>
14564                             <ref name="percent"/>
14565                             <value>super</value>
14566                             <value>sub</value>
14567                         </choice>
14568                         <optional>
14569                             <ref name="percent"/>
14570                         </optional>
14571                     </list>
14572                 </attribute>
14573             </optional>
14574             <optional>
14575                 <attribute name="style:font-name">
14576                     <ref name="string"/>
14577                 </attribute>
14578             </optional>
14579             <optional>
14580                 <attribute name="style:font-name-asian">
14581                     <ref name="string"/>
14582                 </attribute>
14583             </optional>
14584             <optional>
14585                 <attribute name="style:font-name-complex">
14586                     <ref name="string"/>
14587                 </attribute>
14588             </optional>
14589             <optional>
14590                 <attribute name="fo:font-family">
14591                     <ref name="string"/>
14592                 </attribute>
14593             </optional>
14594             <optional>
14595                 <attribute name="style:font-family-asian">
14596                     <ref name="string"/>
14597                 </attribute>
14598             </optional>
14599             <optional>
14600                 <attribute name="style:font-family-complex">
14601                     <ref name="string"/>
14602                 </attribute>
14603             </optional>
14604             <optional>
14605                 <attribute name="style:font-family-generic">
14606                     <ref name="fontFamilyGeneric"/>
14607                 </attribute>
14608             </optional>
14609             <optional>
14610                 <attribute name="style:font-family-generic-asian">
14611                     <ref name="fontFamilyGeneric"/>
14612                 </attribute>
14613             </optional>
14614             <optional>
14615                 <attribute name="style:font-family-generic-complex">
14616                     <ref name="fontFamilyGeneric"/>
14617                 </attribute>
14618             </optional>
14619             <optional>
14620                 <attribute name="style:font-style-name">
14621                     <ref name="string"/>
14622                 </attribute>
14623             </optional>
14624             <optional>
14625                 <attribute name="style:font-style-name-asian">
14626                     <ref name="string"/>
14627                 </attribute>
14628             </optional>
14629             <optional>
14630                 <attribute name="style:font-style-name-complex">
14631                     <ref name="string"/>
14632                 </attribute>
14633             </optional>
14634             <optional>
14635                 <attribute name="style:font-pitch">
14636                     <ref name="fontPitch"/>
14637                 </attribute>
14638             </optional>
14639             <optional>
14640                 <attribute name="style:font-pitch-asian">
14641                     <ref name="fontPitch"/>
14642                 </attribute>
14643             </optional>
14644             <optional>
14645                 <attribute name="style:font-pitch-complex">
14646                     <ref name="fontPitch"/>
14647                 </attribute>
14648             </optional>
14649             <optional>
14650                 <attribute name="style:font-charset">
14651                     <ref name="textEncoding"/>
14652                 </attribute>
14653             </optional>
14654             <optional>
14655                 <attribute name="style:font-charset-asian">
14656                     <ref name="textEncoding"/>
14657                 </attribute>
14658             </optional>
14659             <optional>
14660                 <attribute name="style:font-charset-complex">
14661                     <ref name="textEncoding"/>
14662                 </attribute>
14663             </optional>
14664             <optional>
14665                 <attribute name="fo:font-size">
14666                     <choice>
14667                         <ref name="positiveLength"/>
14668                         <ref name="percent"/>
14669                     </choice>
14670                 </attribute>
14671             </optional>
14672             <optional>
14673                 <attribute name="style:font-size-asian">
14674                     <choice>
14675                         <ref name="positiveLength"/>
14676                         <ref name="percent"/>
14677                     </choice>
14678                 </attribute>
14679             </optional>
14680             <optional>
14681                 <attribute name="style:font-size-complex">
14682                     <choice>
14683                         <ref name="positiveLength"/>
14684                         <ref name="percent"/>
14685                     </choice>
14686                 </attribute>
14687             </optional>
14688             <optional>
14689                 <attribute name="style:font-size-rel">
14690                     <ref name="length"/>
14691                 </attribute>
14692             </optional>
14693             <optional>
14694                 <attribute name="style:font-size-rel-asian">
14695                     <ref name="length"/>
14696                 </attribute>
14697             </optional>
14698             <optional>
14699                 <attribute name="style:font-size-rel-complex">
14700                     <ref name="length"/>
14701                 </attribute>
14702             </optional>
14703             <optional>
14704                 <attribute name="style:script-type">
14705                     <choice>
14706                         <value>latin</value>
14707                         <value>asian</value>
14708                         <value>complex</value>
14709                         <value>ignore</value>
14710                     </choice>
14711                 </attribute>
14712             </optional>
14713             <optional>
14714                 <attribute name="fo:letter-spacing">
14715                     <choice>
14716                         <ref name="length"/>
14717                         <value>normal</value>
14718                     </choice>
14719                 </attribute>
14720             </optional>
14721             <optional>
14722                 <attribute name="fo:language">
14723                     <ref name="languageCode"/>
14724                 </attribute>
14725             </optional>
14726             <optional>
14727                 <attribute name="style:language-asian">
14728                     <ref name="languageCode"/>
14729                 </attribute>
14730             </optional>
14731             <optional>
14732                 <attribute name="style:language-complex">
14733                     <ref name="languageCode"/>
14734                 </attribute>
14735             </optional>
14736             <optional>
14737                 <attribute name="fo:country">
14738                     <ref name="countryCode"/>
14739                 </attribute>
14740             </optional>
14741             <optional>
14742                 <attribute name="style:country-asian">
14743                     <ref name="countryCode"/>
14744                 </attribute>
14745             </optional>
14746             <optional>
14747                 <attribute name="style:country-complex">
14748                     <ref name="countryCode"/>
14749                 </attribute>
14750             </optional>
14751             <optional>
14752                 <attribute name="fo:script">
14753                     <ref name="scriptCode"/>
14754                 </attribute>
14755             </optional>
14756             <optional>
14757                 <attribute name="style:script-asian">
14758                     <ref name="scriptCode"/>
14759                 </attribute>
14760             </optional>
14761             <optional>
14762                 <attribute name="style:script-complex">
14763                     <ref name="scriptCode"/>
14764                 </attribute>
14765             </optional>
14766             <optional>
14767                 <attribute name="style:rfc-language-tag">
14768                     <ref name="language"/>
14769                 </attribute>
14770             </optional>
14771             <optional>
14772                 <attribute name="style:rfc-language-tag-asian">
14773                     <ref name="language"/>
14774                 </attribute>
14775             </optional>
14776             <optional>
14777                 <attribute name="style:rfc-language-tag-complex">
14778                     <ref name="language"/>
14779                 </attribute>
14780             </optional>
14781             <optional>
14782                 <attribute name="fo:font-style">
14783                     <ref name="fontStyle"/>
14784                 </attribute>
14785             </optional>
14786             <optional>
14787                 <attribute name="style:font-style-asian">
14788                     <ref name="fontStyle"/>
14789                 </attribute>
14790             </optional>
14791             <optional>
14792                 <attribute name="style:font-style-complex">
14793                     <ref name="fontStyle"/>
14794                 </attribute>
14795             </optional>
14796             <optional>
14797                 <attribute name="style:font-relief">
14798                     <choice>
14799                         <value>none</value>
14800                         <value>embossed</value>
14801                         <value>engraved</value>
14802                     </choice>
14803                 </attribute>
14804             </optional>
14805             <optional>
14806                 <attribute name="fo:text-shadow">
14807                     <ref name="shadowType"/>
14808                 </attribute>
14809             </optional>
14810             <optional>
14811                 <attribute name="style:text-underline-type">
14812                     <ref name="lineType"/>
14813                 </attribute>
14814             </optional>
14815             <optional>
14816                 <attribute name="style:text-underline-style">
14817                     <ref name="lineStyle"/>
14818                 </attribute>
14819             </optional>
14820             <optional>
14821                 <attribute name="style:text-underline-width">
14822                     <ref name="lineWidth"/>
14823                 </attribute>
14824             </optional>
14825             <optional>
14826                 <attribute name="style:text-underline-color">
14827                     <choice>
14828                         <value>font-color</value>
14829                         <ref name="color"/>
14830                     </choice>
14831                 </attribute>
14832             </optional>
14833             <optional>
14834                 <attribute name="style:text-overline-type">
14835                     <ref name="lineType"/>
14836                 </attribute>
14837             </optional>
14838             <optional>
14839                 <attribute name="style:text-overline-style">
14840                     <ref name="lineStyle"/>
14841                 </attribute>
14842             </optional>
14843             <optional>
14844                 <attribute name="style:text-overline-width">
14845                     <ref name="lineWidth"/>
14846                 </attribute>
14847             </optional>
14848             <optional>
14849                 <attribute name="style:text-overline-color">
14850                     <choice>
14851                         <value>font-color</value>
14852                         <ref name="color"/>
14853                     </choice>
14854                 </attribute>
14855             </optional>
14856             <optional>
14857                 <attribute name="style:text-overline-mode">
14858                     <ref name="lineMode"/>
14859                 </attribute>
14860             </optional>
14861             <optional>
14862                 <attribute name="fo:font-weight">
14863                     <ref name="fontWeight"/>
14864                 </attribute>
14865             </optional>
14866             <optional>
14867                 <attribute name="style:font-weight-asian">
14868                     <ref name="fontWeight"/>
14869                 </attribute>
14870             </optional>
14871             <optional>
14872                 <attribute name="style:font-weight-complex">
14873                     <ref name="fontWeight"/>
14874                 </attribute>
14875             </optional>
14876             <optional>
14877                 <attribute name="style:text-underline-mode">
14878                     <ref name="lineMode"/>
14879                 </attribute>
14880             </optional>
14881             <optional>
14882                 <attribute name="style:text-line-through-mode">
14883                     <ref name="lineMode"/>
14884                 </attribute>
14885             </optional>
14886             <optional>
14887                 <attribute name="style:letter-kerning">
14888                     <ref name="boolean"/>
14889                 </attribute>
14890             </optional>
14891             <optional>
14892                 <attribute name="style:text-blinking">
14893                     <ref name="boolean"/>
14894                 </attribute>
14895             </optional>
14896             <ref name="common-background-color-attlist"/>
14897             <optional>
14898                 <attribute name="style:text-combine">
14899                     <choice>
14900                         <value>none</value>
14901                         <value>letters</value>
14902                         <value>lines</value>
14903                     </choice>
14904                 </attribute>
14905             </optional>
14906             <optional>
14907                 <attribute name="style:text-combine-start-char">
14908                     <ref name="character"/>
14909                 </attribute>
14910             </optional>
14911             <optional>
14912                 <attribute name="style:text-combine-end-char">
14913                     <ref name="character"/>
14914                 </attribute>
14915             </optional>
14916             <optional>
14917                 <attribute name="style:text-emphasize">
14918                     <choice>
14919                         <value>none</value>
14920                         <list>
14921                             <choice>
14922                                 <value>none</value>
14923                                 <value>accent</value>
14924                                 <value>dot</value>
14925                                 <value>circle</value>
14926                                 <value>disc</value>
14927                             </choice>
14928                             <choice>
14929                                 <value>above</value>
14930                                 <value>below</value>
14931                             </choice>
14932                         </list>
14933                     </choice>
14934                 </attribute>
14935             </optional>
14936             <optional>
14937                 <attribute name="style:text-scale">
14938                     <ref name="percent"/>
14939                 </attribute>
14940             </optional>
14941             <optional>
14942                 <attribute name="style:text-rotation-angle">
14943                     <ref name="angle"/>
14944                 </attribute>
14945             </optional>
14946             <optional>
14947                 <attribute name="style:text-rotation-scale">
14948                     <choice>
14949                         <value>fixed</value>
14950                         <value>line-height</value>
14951                     </choice>
14952                 </attribute>
14953             </optional>
14954             <optional>
14955                 <attribute name="fo:hyphenate">
14956                     <ref name="boolean"/>
14957                 </attribute>
14958             </optional>
14959             <optional>
14960                 <attribute name="fo:hyphenation-remain-char-count">
14961                     <ref name="positiveInteger"/>
14962                 </attribute>
14963             </optional>
14964             <optional>
14965                 <attribute name="fo:hyphenation-push-char-count">
14966                     <ref name="positiveInteger"/>
14967                 </attribute>
14968             </optional>
14969             <choice>
14970                 <attribute name="text:display">
14971                     <value>true</value>
14972                 </attribute>
14973                 <attribute name="text:display">
14974                     <value>none</value>
14975                 </attribute>
14976                 <group>
14977                     <attribute name="text:display">
14978                         <value>condition</value>
14979                     </attribute>
14980                     <attribute name="text:condition">
14981                         <value>none</value>
14982                     </attribute>
14983                 </group>
14984                 <empty/>
14985             </choice>
14986         </interleave>
14987     </define>
14988     <define name="fontVariant">
14989         <choice>
14990             <value>normal</value>
14991             <value>small-caps</value>
14992         </choice>
14993     </define>
14994     <define name="fontFamilyGeneric">
14995         <choice>
14996             <value>roman</value>
14997             <value>swiss</value>
14998             <value>modern</value>
14999             <value>decorative</value>
15000             <value>script</value>
15001             <value>system</value>
15002         </choice>
15003     </define>
15004     <define name="fontPitch">
15005         <choice>
15006             <value>fixed</value>
15007             <value>variable</value>
15008         </choice>
15009     </define>
15010     <define name="textEncoding">
15011         <data type="string">
15012             <param name="pattern">[A-Za-z][A-Za-z0-9._\-]*</param>
15013         </data>
15014     </define>
15015     <define name="fontStyle">
15016         <choice>
15017             <value>normal</value>
15018             <value>italic</value>
15019             <value>oblique</value>
15020         </choice>
15021     </define>
15022     <define name="shadowType">
15023         <choice>
15024             <value>none</value>
15025             <ref name="string"/>
15026         </choice>
15027     </define>
15028     <define name="lineType">
15029         <choice>
15030             <value>none</value>
15031             <value>single</value>
15032             <value>double</value>
15033         </choice>
15034     </define>
15035     <define name="lineStyle">
15036         <choice>
15037             <value>none</value>
15038             <value>solid</value>
15039             <value>dotted</value>
15040             <value>dash</value>
15041             <value>long-dash</value>
15042             <value>dot-dash</value>
15043             <value>dot-dot-dash</value>
15044             <value>wave</value>
15045         </choice>
15046     </define>
15047     <define name="lineWidth">
15048         <choice>
15049             <value>auto</value>
15050             <value>normal</value>
15051             <value>bold</value>
15052             <value>thin</value>
15053             <value>medium</value>
15054             <value>thick</value>
15055             <ref name="positiveInteger"/>
15056             <ref name="percent"/>
15057             <ref name="positiveLength"/>
15058         </choice>
15059     </define>
15060     <define name="fontWeight">
15061         <choice>
15062             <value>normal</value>
15063             <value>bold</value>
15064             <value>100</value>
15065             <value>200</value>
15066             <value>300</value>
15067             <value>400</value>
15068             <value>500</value>
15069             <value>600</value>
15070             <value>700</value>
15071             <value>800</value>
15072             <value>900</value>
15073         </choice>
15074     </define>
15075     <define name="lineMode">
15076         <choice>
15077             <value>continuous</value>
15078             <value>skip-white-space</value>
15079         </choice>
15080     </define>
15081     <define name="style-paragraph-properties">
15082         <element name="style:paragraph-properties">
15083             <ref name="style-paragraph-properties-content-strict"/>
15084         </element>
15085     </define>
15086     <define name="style-paragraph-properties-content-strict">
15087         <ref name="style-paragraph-properties-attlist"/>
15088         <ref name="style-paragraph-properties-elements"/>
15089     </define>
15090     <define name="style-paragraph-properties-attlist">
15091         <interleave>
15092             <optional>
15093                 <attribute name="fo:line-height">
15094                     <choice>
15095                         <value>normal</value>
15096                         <ref name="nonNegativeLength"/>
15097                         <ref name="percent"/>
15098                     </choice>
15099                 </attribute>
15100             </optional>
15101             <optional>
15102                 <attribute name="style:line-height-at-least">
15103                     <ref name="nonNegativeLength"/>
15104                 </attribute>
15105             </optional>
15106             <optional>
15107                 <attribute name="style:line-spacing">
15108                     <ref name="length"/>
15109                 </attribute>
15110             </optional>
15111             <optional>
15112                 <attribute name="style:font-independent-line-spacing">
15113                     <ref name="boolean"/>
15114                 </attribute>
15115             </optional>
15116             <ref name="common-text-align"/>
15117             <optional>
15118                 <attribute name="fo:text-align-last">
15119                     <choice>
15120                         <value>start</value>
15121                         <value>center</value>
15122                         <value>justify</value>
15123                     </choice>
15124                 </attribute>
15125             </optional>
15126             <optional>
15127                 <attribute name="style:justify-single-word">
15128                     <ref name="boolean"/>
15129                 </attribute>
15130             </optional>
15131             <optional>
15132                 <attribute name="fo:keep-together">
15133                     <choice>
15134                         <value>auto</value>
15135                         <value>always</value>
15136                     </choice>
15137                 </attribute>
15138             </optional>
15139             <optional>
15140                 <attribute name="fo:widows">
15141                     <ref name="nonNegativeInteger"/>
15142                 </attribute>
15143             </optional>
15144             <optional>
15145                 <attribute name="fo:orphans">
15146                     <ref name="nonNegativeInteger"/>
15147                 </attribute>
15148             </optional>
15149             <optional>
15150                 <attribute name="style:tab-stop-distance">
15151                     <ref name="nonNegativeLength"/>
15152                 </attribute>
15153             </optional>
15154             <optional>
15155                 <attribute name="fo:hyphenation-keep">
15156                     <choice>
15157                         <value>auto</value>
15158                         <value>page</value>
15159                     </choice>
15160                 </attribute>
15161             </optional>
15162             <optional>
15163                 <attribute name="fo:hyphenation-ladder-count">
15164                     <choice>
15165                         <value>no-limit</value>
15166                         <ref name="positiveInteger"/>
15167                     </choice>
15168                 </attribute>
15169             </optional>
15170             <optional>
15171                 <attribute name="style:register-true">
15172                     <ref name="boolean"/>
15173                 </attribute>
15174             </optional>
15175
15176             <ref name="common-horizontal-margin-attlist"/>
15177             <optional>
15178                 <attribute name="fo:text-indent">
15179                     <choice>
15180                         <ref name="length"/>
15181                         <ref name="percent"/>
15182                     </choice>
15183                 </attribute>
15184             </optional>
15185             <optional>
15186                 <attribute name="style:auto-text-indent">
15187                     <ref name="boolean"/>
15188                 </attribute>
15189             </optional>
15190             <ref name="common-vertical-margin-attlist"/>
15191             <ref name="common-margin-attlist"/>
15192             <ref name="common-break-attlist"/>
15193             <ref name="common-background-color-attlist"/>
15194             <ref name="common-border-attlist"/>
15195             <ref name="common-border-line-width-attlist"/>
15196             <optional>
15197                 <attribute name="style:join-border">
15198                     <ref name="boolean"/>
15199                 </attribute>
15200             </optional>
15201             <ref name="common-padding-attlist"/>
15202             <ref name="common-shadow-attlist"/>
15203             <ref name="common-keep-with-next-attlist"/>
15204             <optional>
15205                 <attribute name="text:number-lines">
15206                     <ref name="boolean"/>
15207                 </attribute>
15208             </optional>
15209             <optional>
15210                 <attribute name="text:line-number">
15211                     <ref name="nonNegativeInteger"/>
15212                 </attribute>
15213             </optional>
15214             <optional>
15215                 <attribute name="style:text-autospace">
15216                     <choice>
15217                         <value>none</value>
15218                         <value>ideograph-alpha</value>
15219                     </choice>
15220                 </attribute>
15221             </optional>
15222             <optional>
15223                 <attribute name="style:punctuation-wrap">
15224                     <choice>
15225                         <value>simple</value>
15226                         <value>hanging</value>
15227                     </choice>
15228                 </attribute>
15229             </optional>
15230             <optional>
15231                 <attribute name="style:line-break">
15232                     <choice>
15233                         <value>normal</value>
15234                         <value>strict</value>
15235                     </choice>
15236                 </attribute>
15237             </optional>
15238             <optional>
15239                 <attribute name="style:vertical-align">
15240                     <choice>
15241                         <value>top</value>
15242                         <value>middle</value>
15243                         <value>bottom</value>
15244                         <value>auto</value>
15245                         <value>baseline</value>
15246                     </choice>
15247                 </attribute>
15248             </optional>
15249             <ref name="common-writing-mode-attlist"/>
15250             <optional>
15251                 <attribute name="style:writing-mode-automatic">
15252                     <ref name="boolean"/>
15253                 </attribute>
15254             </optional>
15255             <optional>
15256                 <attribute name="style:snap-to-layout-grid">
15257                     <ref name="boolean"/>
15258                 </attribute>
15259             </optional>
15260             <ref name="common-page-number-attlist"/>
15261             <ref name="common-background-transparency-attlist"/>
15262         </interleave>
15263     </define>
15264     <define name="common-text-align">
15265         <optional>
15266             <attribute name="fo:text-align">
15267                 <choice>
15268                     <value>start</value>
15269                     <value>end</value>
15270                     <value>left</value>
15271                     <value>right</value>
15272                     <value>center</value>
15273                     <value>justify</value>
15274                 </choice>
15275             </attribute>
15276         </optional>
15277     </define>
15278     <define name="style-paragraph-properties-elements">
15279         <interleave>
15280             <ref name="style-tab-stops"/>
15281             <ref name="style-drop-cap"/>
15282             <ref name="style-background-image"/>
15283         </interleave>
15284     </define>
15285     <define name="style-tab-stops">
15286         <optional>
15287             <element name="style:tab-stops">
15288                 <zeroOrMore>
15289                     <ref name="style-tab-stop"/>
15290                 </zeroOrMore>
15291             </element>
15292         </optional>
15293     </define>
15294     <define name="style-tab-stop">
15295         <element name="style:tab-stop">
15296             <ref name="style-tab-stop-attlist"/>
15297             <empty/>
15298         </element>
15299     </define>
15300     <define name="style-tab-stop-attlist">
15301         <interleave>
15302             <attribute name="style:position">
15303                 <ref name="length"/>
15304             </attribute>
15305             <choice>
15306                 <optional>
15307                     <attribute name="style:type">
15308                         <choice>
15309                             <value>left</value>
15310                             <value>center</value>
15311                             <value>right</value>
15312                         </choice>
15313                     </attribute>
15314                 </optional>
15315                 <group>
15316                     <attribute name="style:type">
15317                         <value>char</value>
15318                     </attribute>
15319                     <ref name="style-tab-stop-char-attlist"/>
15320                 </group>
15321             </choice>
15322             <optional>
15323                 <attribute name="style:leader-type">
15324                     <ref name="lineType"/>
15325                 </attribute>
15326             </optional>
15327             <optional>
15328                 <attribute name="style:leader-style">
15329                     <ref name="lineStyle"/>
15330                 </attribute>
15331             </optional>
15332             <optional>
15333                 <attribute name="style:leader-width">
15334                     <ref name="lineWidth"/>
15335                 </attribute>
15336             </optional>
15337             <optional>
15338                 <attribute name="style:leader-color">
15339                     <choice>
15340                         <value>font-color</value>
15341                         <ref name="color"/>
15342                     </choice>
15343                 </attribute>
15344             </optional>
15345             <optional>
15346                 <attribute name="style:leader-text">
15347                     <ref name="character"/>
15348                 </attribute>
15349             </optional>
15350             <optional>
15351                 <attribute name="style:leader-text-style">
15352                     <ref name="styleNameRef"/>
15353                 </attribute>
15354             </optional>
15355         </interleave>
15356     </define>
15357     <define name="style-tab-stop-char-attlist">
15358         <attribute name="style:char">
15359             <ref name="character"/>
15360         </attribute>
15361     </define>
15362     <define name="style-drop-cap">
15363         <optional>
15364             <element name="style:drop-cap">
15365                 <ref name="style-drop-cap-attlist"/>
15366                 <empty/>
15367             </element>
15368         </optional>
15369     </define>
15370     <define name="style-drop-cap-attlist">
15371         <interleave>
15372             <optional>
15373                 <attribute name="style:length">
15374                     <choice>
15375                         <value>word</value>
15376                         <ref name="positiveInteger"/>
15377                     </choice>
15378                 </attribute>
15379             </optional>
15380             <optional>
15381                 <attribute name="style:lines">
15382                     <ref name="positiveInteger"/>
15383                 </attribute>
15384             </optional>
15385             <optional>
15386                 <attribute name="style:distance">
15387                     <ref name="length"/>
15388                 </attribute>
15389             </optional>
15390             <optional>
15391                 <attribute name="style:style-name">
15392                     <ref name="styleNameRef"/>
15393                 </attribute>
15394             </optional>
15395         </interleave>
15396     </define>
15397     <define name="common-horizontal-margin-attlist">
15398         <optional>
15399             <attribute name="fo:margin-left">
15400                 <choice>
15401                     <ref name="length"/>
15402                     <ref name="percent"/>
15403                 </choice>
15404             </attribute>
15405         </optional>
15406         <optional>
15407             <attribute name="fo:margin-right">
15408                 <choice>
15409                     <ref name="length"/>
15410                     <ref name="percent"/>
15411                 </choice>
15412             </attribute>
15413         </optional>
15414     </define>
15415     <define name="common-vertical-margin-attlist">
15416         <optional>
15417             <attribute name="fo:margin-top">
15418                 <choice>
15419                     <ref name="nonNegativeLength"/>
15420                     <ref name="percent"/>
15421                 </choice>
15422             </attribute>
15423         </optional>
15424         <optional>
15425             <attribute name="fo:margin-bottom">
15426                 <choice>
15427                     <ref name="nonNegativeLength"/>
15428                     <ref name="percent"/>
15429                 </choice>
15430             </attribute>
15431         </optional>
15432     </define>
15433     <define name="common-margin-attlist">
15434         <optional>
15435             <attribute name="fo:margin">
15436                 <choice>
15437                     <ref name="nonNegativeLength"/>
15438                     <ref name="percent"/>
15439                 </choice>
15440             </attribute>
15441         </optional>
15442     </define>
15443     <define name="common-break-attlist">
15444         <optional>
15445             <attribute name="fo:break-before">
15446                 <choice>
15447                     <value>auto</value>
15448                     <value>column</value>
15449                     <value>page</value>
15450                 </choice>
15451             </attribute>
15452         </optional>
15453         <optional>
15454             <attribute name="fo:break-after">
15455                 <choice>
15456                     <value>auto</value>
15457                     <value>column</value>
15458                     <value>page</value>
15459                 </choice>
15460             </attribute>
15461         </optional>
15462     </define>
15463     <define name="common-background-color-attlist">
15464         <optional>
15465             <attribute name="fo:background-color">
15466                 <choice>
15467                     <value>transparent</value>
15468                     <ref name="color"/>
15469                 </choice>
15470             </attribute>
15471         </optional>
15472     </define>
15473     <define name="style-background-image">
15474         <optional>
15475             <element name="style:background-image">
15476                 <ref name="style-background-image-attlist"/>
15477                 <choice>
15478                     <ref name="common-draw-data-attlist"/>
15479                     <ref name="office-binary-data"/>
15480                     <empty/>
15481                 </choice>
15482             </element>
15483         </optional>
15484     </define>
15485     <define name="style-background-image-attlist">
15486         <interleave>
15487             <optional>
15488                 <attribute name="style:repeat">
15489                     <choice>
15490                         <value>no-repeat</value>
15491                         <value>repeat</value>
15492                         <value>stretch</value>
15493                     </choice>
15494                 </attribute>
15495             </optional>
15496             <optional>
15497                 <attribute name="style:position">
15498                     <choice>
15499                         <value>left</value>
15500                         <value>center</value>
15501                         <value>right</value>
15502                         <value>top</value>
15503                         <value>bottom</value>
15504                         <list>
15505                             <ref name="horiBackPos"/>
15506                             <ref name="vertBackPos"/>
15507                         </list>
15508                         <list>
15509                             <ref name="vertBackPos"/>
15510                             <ref name="horiBackPos"/>
15511                         </list>
15512                     </choice>
15513                 </attribute>
15514             </optional>
15515             <optional>
15516                 <attribute name="style:filter-name">
15517                     <ref name="string"/>
15518                 </attribute>
15519             </optional>
15520             <optional>
15521                 <attribute name="draw:opacity">
15522                     <ref name="zeroToHundredPercent"/>
15523                 </attribute>
15524             </optional>
15525         </interleave>
15526     </define>
15527     <define name="horiBackPos">
15528         <choice>
15529             <value>left</value>
15530             <value>center</value>
15531             <value>right</value>
15532         </choice>
15533     </define>
15534     <define name="vertBackPos">
15535         <choice>
15536             <value>top</value>
15537             <value>center</value>
15538             <value>bottom</value>
15539         </choice>
15540     </define>
15541     <define name="common-border-attlist">
15542         <optional>
15543             <attribute name="fo:border">
15544                 <ref name="string"/>
15545             </attribute>
15546         </optional>
15547         <optional>
15548             <attribute name="fo:border-top">
15549                 <ref name="string"/>
15550             </attribute>
15551         </optional>
15552         <optional>
15553             <attribute name="fo:border-bottom">
15554                 <ref name="string"/>
15555             </attribute>
15556         </optional>
15557         <optional>
15558             <attribute name="fo:border-left">
15559                 <ref name="string"/>
15560             </attribute>
15561         </optional>
15562         <optional>
15563             <attribute name="fo:border-right">
15564                 <ref name="string"/>
15565             </attribute>
15566         </optional>
15567     </define>
15568     <define name="common-border-line-width-attlist">
15569         <optional>
15570             <attribute name="style:border-line-width">
15571                 <ref name="borderWidths"/>
15572             </attribute>
15573         </optional>
15574         <optional>
15575             <attribute name="style:border-line-width-top">
15576                 <ref name="borderWidths"/>
15577             </attribute>
15578         </optional>
15579         <optional>
15580             <attribute name="style:border-line-width-bottom">
15581                 <ref name="borderWidths"/>
15582             </attribute>
15583         </optional>
15584         <optional>
15585             <attribute name="style:border-line-width-left">
15586                 <ref name="borderWidths"/>
15587             </attribute>
15588         </optional>
15589         <optional>
15590             <attribute name="style:border-line-width-right">
15591                 <ref name="borderWidths"/>
15592             </attribute>
15593         </optional>
15594     </define>
15595     <define name="borderWidths">
15596         <list>
15597             <ref name="positiveLength"/>
15598             <ref name="positiveLength"/>
15599             <ref name="positiveLength"/>
15600         </list>
15601     </define>
15602     <define name="common-padding-attlist">
15603         <optional>
15604             <attribute name="fo:padding">
15605                 <ref name="nonNegativeLength"/>
15606             </attribute>
15607         </optional>
15608         <optional>
15609             <attribute name="fo:padding-top">
15610                 <ref name="nonNegativeLength"/>
15611             </attribute>
15612         </optional>
15613         <optional>
15614             <attribute name="fo:padding-bottom">
15615                 <ref name="nonNegativeLength"/>
15616             </attribute>
15617         </optional>
15618         <optional>
15619             <attribute name="fo:padding-left">
15620                 <ref name="nonNegativeLength"/>
15621             </attribute>
15622         </optional>
15623         <optional>
15624             <attribute name="fo:padding-right">
15625                 <ref name="nonNegativeLength"/>
15626             </attribute>
15627         </optional>
15628     </define>
15629     <define name="common-shadow-attlist">
15630         <optional>
15631             <attribute name="style:shadow">
15632                 <ref name="shadowType"/>
15633             </attribute>
15634         </optional>
15635     </define>
15636     <define name="common-keep-with-next-attlist">
15637         <optional>
15638             <attribute name="fo:keep-with-next">
15639                 <choice>
15640                     <value>auto</value>
15641                     <value>always</value>
15642                 </choice>
15643             </attribute>
15644         </optional>
15645     </define>
15646     <define name="common-writing-mode-attlist">
15647         <optional>
15648             <attribute name="style:writing-mode">
15649                 <choice>
15650                     <value>lr-tb</value>
15651                     <value>rl-tb</value>
15652                     <value>tb-rl</value>
15653                     <value>tb-lr</value>
15654                     <value>lr</value>
15655                     <value>rl</value>
15656                     <value>tb</value>
15657                     <value>page</value>
15658                 </choice>
15659             </attribute>
15660         </optional>
15661     </define>
15662     <define name="common-page-number-attlist">
15663         <optional>
15664             <attribute name="style:page-number">
15665                 <choice>
15666                     <ref name="positiveInteger"/>
15667                     <value>auto</value>
15668                 </choice>
15669             </attribute>
15670         </optional>
15671     </define>
15672     <define name="common-background-transparency-attlist">
15673         <optional>
15674             <attribute name="style:background-transparency">
15675                 <ref name="zeroToHundredPercent"/>
15676             </attribute>
15677         </optional>
15678     </define>
15679     <define name="style-ruby-properties">
15680         <element name="style:ruby-properties">
15681             <ref name="style-ruby-properties-content-strict"/>
15682         </element>
15683     </define>
15684     <define name="style-ruby-properties-content-strict">
15685         <ref name="style-ruby-properties-attlist"/>
15686         <ref name="style-ruby-properties-elements"/>
15687     </define>
15688     <define name="style-ruby-properties-elements">
15689         <empty/>
15690     </define>
15691     <define name="style-ruby-properties-attlist">
15692         <interleave>
15693             <optional>
15694                 <attribute name="style:ruby-position">
15695                     <choice>
15696                         <value>above</value>
15697                         <value>below</value>
15698                     </choice>
15699                 </attribute>
15700             </optional>
15701             <optional>
15702                 <attribute name="style:ruby-align">
15703                     <choice>
15704                         <value>left</value>
15705                         <value>center</value>
15706                         <value>right</value>
15707                         <value>distribute-letter</value>
15708                         <value>distribute-space</value>
15709                     </choice>
15710                 </attribute>
15711             </optional>
15712         </interleave>
15713     </define>
15714     <define name="style-section-properties">
15715         <element name="style:section-properties">
15716             <ref name="style-section-properties-content-strict"/>
15717         </element>
15718     </define>
15719     <define name="style-section-properties-content-strict">
15720         <ref name="style-section-properties-attlist"/>
15721         <ref name="style-section-properties-elements"/>
15722     </define>
15723     <define name="style-section-properties-attlist">
15724         <interleave>
15725             <ref name="common-background-color-attlist"/>
15726             <ref name="common-horizontal-margin-attlist"/>
15727             <optional>
15728                 <attribute name="style:protect">
15729                     <ref name="boolean"/>
15730                 </attribute>
15731             </optional>
15732             <ref name="common-editable-attlist"/>
15733             <optional>
15734                 <attribute name="text:dont-balance-text-columns">
15735                     <ref name="boolean"/>
15736                 </attribute>
15737             </optional>
15738             <ref name="common-writing-mode-attlist"/>
15739         </interleave>
15740     </define>
15741     <define name="style-section-properties-elements">
15742         <interleave>
15743             <ref name="style-background-image"/>
15744             <ref name="style-columns"/>
15745             <zeroOrMore>
15746                 <ref name="text-notes-configuration"/>
15747             </zeroOrMore>
15748         </interleave>
15749     </define>
15750     <define name="style-columns">
15751         <optional>
15752             <element name="style:columns">
15753                 <ref name="style-columns-attlist"/>
15754                 <optional>
15755                     <ref name="style-column-sep"/>
15756                 </optional>
15757                 <zeroOrMore>
15758                     <ref name="style-column"/>
15759                 </zeroOrMore>
15760             </element>
15761         </optional>
15762     </define>
15763     <define name="style-columns-attlist">
15764         <interleave>
15765             <attribute name="fo:column-count">
15766                 <ref name="positiveInteger"/>
15767             </attribute>
15768             <optional>
15769                 <attribute name="fo:column-gap">
15770                     <ref name="length"/>
15771                 </attribute>
15772             </optional>
15773         </interleave>
15774     </define>
15775     <define name="style-column">
15776         <element name="style:column">
15777             <ref name="style-column-attlist"/>
15778         </element>
15779     </define>
15780     <define name="style-column-attlist">
15781         <interleave>
15782             <attribute name="style:rel-width">
15783                 <ref name="relativeLength"/>
15784             </attribute>
15785             <optional>
15786                 <attribute name="fo:start-indent">
15787                     <ref name="length"/>
15788                 </attribute>
15789             </optional>
15790             <optional>
15791                 <attribute name="fo:end-indent">
15792                     <ref name="length"/>
15793                 </attribute>
15794             </optional>
15795             <optional>
15796                 <attribute name="fo:space-before">
15797                     <ref name="length"/>
15798                 </attribute>
15799             </optional>
15800             <optional>
15801                 <attribute name="fo:space-after">
15802                     <ref name="length"/>
15803                 </attribute>
15804             </optional>
15805         </interleave>
15806     </define>
15807     <define name="style-column-sep">
15808         <element name="style:column-sep">
15809             <ref name="style-column-sep-attlist"/>
15810         </element>
15811     </define>
15812     <define name="style-column-sep-attlist">
15813         <interleave>
15814             <optional>
15815                 <attribute name="style:style">
15816                     <choice>
15817                         <value>none</value>
15818                         <value>solid</value>
15819                         <value>dotted</value>
15820                         <value>dashed</value>
15821                         <value>dot-dashed</value>
15822                     </choice>
15823                 </attribute>
15824             </optional>
15825             <attribute name="style:width">
15826                 <ref name="length"/>
15827             </attribute>
15828             <optional>
15829                 <attribute name="style:height">
15830                     <ref name="zeroToHundredPercent"/>
15831                 </attribute>
15832             </optional>
15833             <optional>
15834                 <attribute name="style:vertical-align">
15835                     <choice>
15836                         <value>top</value>
15837                         <value>middle</value>
15838                         <value>bottom</value>
15839                     </choice>
15840                 </attribute>
15841             </optional>
15842             <optional>
15843                 <attribute name="style:color">
15844                     <ref name="color"/>
15845                 </attribute>
15846             </optional>
15847         </interleave>
15848     </define>
15849     <define name="style-table-properties">
15850         <element name="style:table-properties">
15851             <ref name="style-table-properties-content-strict"/>
15852         </element>
15853     </define>
15854     <define name="style-table-properties-content-strict">
15855         <ref name="style-table-properties-attlist"/>
15856         <ref name="style-table-properties-elements"/>
15857     </define>
15858     <define name="style-table-properties-attlist">
15859         <interleave>
15860             <optional>
15861                 <attribute name="style:width">
15862                     <ref name="positiveLength"/>
15863                 </attribute>
15864             </optional>
15865             <optional>
15866                 <attribute name="style:rel-width">
15867                     <ref name="percent"/>
15868                 </attribute>
15869             </optional>
15870             <optional>
15871                 <attribute name="table:align">
15872                     <choice>
15873                         <value>left</value>
15874                         <value>center</value>
15875                         <value>right</value>
15876                         <value>margins</value>
15877                     </choice>
15878                 </attribute>
15879             </optional>
15880             <ref name="common-horizontal-margin-attlist"/>
15881             <ref name="common-vertical-margin-attlist"/>
15882             <ref name="common-margin-attlist"/>
15883             <ref name="common-page-number-attlist"/>
15884             <ref name="common-break-attlist"/>
15885             <ref name="common-background-color-attlist"/>
15886             <ref name="common-shadow-attlist"/>
15887             <ref name="common-keep-with-next-attlist"/>
15888             <optional>
15889                 <attribute name="style:may-break-between-rows">
15890                     <ref name="boolean"/>
15891                 </attribute>
15892             </optional>
15893             <optional>
15894                 <attribute name="table:border-model">
15895                     <choice>
15896                         <value>collapsing</value>
15897                         <value>separating</value>
15898                     </choice>
15899                 </attribute>
15900             </optional>
15901             <ref name="common-writing-mode-attlist"/>
15902             <optional>
15903                 <attribute name="table:display">
15904                     <ref name="boolean"/>
15905                 </attribute>
15906             </optional>
15907         </interleave>
15908     </define>
15909     <define name="style-table-properties-elements">
15910         <ref name="style-background-image"/>
15911     </define>
15912     <define name="style-table-column-properties">
15913         <element name="style:table-column-properties">
15914             <ref name="style-table-column-properties-content-strict"/>
15915         </element>
15916     </define>
15917     <define name="style-table-column-properties-content-strict">
15918         <ref name="style-table-column-properties-attlist"/>
15919         <ref name="style-table-column-properties-elements"/>
15920     </define>
15921     <define name="style-table-column-properties-elements">
15922         <empty/>
15923     </define>
15924     <define name="style-table-column-properties-attlist">
15925         <interleave>
15926             <optional>
15927                 <attribute name="style:column-width">
15928                     <ref name="positiveLength"/>
15929                 </attribute>
15930             </optional>
15931             <optional>
15932                 <attribute name="style:rel-column-width">
15933                     <ref name="relativeLength"/>
15934                 </attribute>
15935             </optional>
15936             <optional>
15937                 <attribute name="style:use-optimal-column-width">
15938                     <ref name="boolean"/>
15939                 </attribute>
15940             </optional>
15941             <ref name="common-break-attlist"/>
15942         </interleave>
15943     </define>
15944     <define name="style-table-row-properties">
15945         <element name="style:table-row-properties">
15946             <ref name="style-table-row-properties-content-strict"/>
15947         </element>
15948     </define>
15949     <define name="style-table-row-properties-content-strict">
15950         <ref name="style-table-row-properties-attlist"/>
15951         <ref name="style-table-row-properties-elements"/>
15952     </define>
15953     <define name="style-table-row-properties-attlist">
15954         <interleave>
15955             <optional>
15956                 <attribute name="style:row-height">
15957                     <ref name="positiveLength"/>
15958                 </attribute>
15959             </optional>
15960             <optional>
15961                 <attribute name="style:min-row-height">
15962                     <ref name="nonNegativeLength"/>
15963                 </attribute>
15964             </optional>
15965             <optional>
15966                 <attribute name="style:use-optimal-row-height">
15967                     <ref name="boolean"/>
15968                 </attribute>
15969             </optional>
15970             <ref name="common-background-color-attlist"/>
15971             <ref name="common-break-attlist"/>
15972             <optional>
15973                 <attribute name="fo:keep-together">
15974                     <choice>
15975                         <value>auto</value>
15976                         <value>always</value>
15977                     </choice>
15978                 </attribute>
15979             </optional>
15980         </interleave>
15981     </define>
15982     <define name="style-table-row-properties-elements">
15983         <ref name="style-background-image"/>
15984     </define>
15985     <define name="style-table-cell-properties">
15986         <element name="style:table-cell-properties">
15987             <ref name="style-table-cell-properties-content-strict"/>
15988         </element>
15989     </define>
15990     <define name="style-table-cell-properties-content-strict">
15991         <ref name="style-table-cell-properties-attlist"/>
15992         <ref name="style-table-cell-properties-elements"/>
15993     </define>
15994     <define name="style-table-cell-properties-attlist">
15995         <interleave>
15996             <optional>
15997                 <attribute name="style:vertical-align">
15998                     <choice>
15999                         <value>top</value>
16000                         <value>middle</value>
16001                         <value>bottom</value>
16002                         <value>automatic</value>
16003                     </choice>
16004                 </attribute>
16005             </optional>
16006             <optional>
16007                 <attribute name="style:text-align-source">
16008                     <choice>
16009                         <value>fix</value>
16010                         <value>value-type</value>
16011                     </choice>
16012                 </attribute>
16013             </optional>
16014             <ref name="common-style-direction-attlist"/>
16015             <optional>
16016                 <attribute name="style:glyph-orientation-vertical">
16017                     <choice>
16018                         <value>auto</value>
16019                         <value>0</value>
16020                         <value>0deg</value>
16021                         <value>0rad</value>
16022                         <value>0grad</value>
16023                     </choice>
16024                 </attribute>
16025             </optional>
16026             <ref name="common-writing-mode-attlist"/>
16027             <ref name="common-shadow-attlist"/>
16028             <ref name="common-background-color-attlist"/>
16029             <ref name="common-border-attlist"/>
16030             <optional>
16031                 <attribute name="style:diagonal-tl-br">
16032                     <ref name="string"/>
16033                 </attribute>
16034             </optional>
16035             <optional>
16036                 <attribute name="style:diagonal-tl-br-widths">
16037                     <ref name="borderWidths"/>
16038                 </attribute>
16039             </optional>
16040             <optional>
16041                 <attribute name="style:diagonal-bl-tr">
16042                     <ref name="string"/>
16043                 </attribute>
16044             </optional>
16045             <optional>
16046                 <attribute name="style:diagonal-bl-tr-widths">
16047                     <ref name="borderWidths"/>
16048                 </attribute>
16049             </optional>
16050             <ref name="common-border-line-width-attlist"/>
16051             <ref name="common-padding-attlist"/>
16052             <optional>
16053                 <attribute name="fo:wrap-option">
16054                     <choice>
16055                         <value>no-wrap</value>
16056                         <value>wrap</value>
16057                     </choice>
16058                 </attribute>
16059             </optional>
16060             <ref name="common-rotation-angle-attlist"/>
16061             <optional>
16062                 <attribute name="style:rotation-align">
16063                     <choice>
16064                         <value>none</value>
16065                         <value>bottom</value>
16066                         <value>top</value>
16067                         <value>center</value>
16068                     </choice>
16069                 </attribute>
16070             </optional>
16071             <optional>
16072                 <attribute name="style:cell-protect">
16073                     <choice>
16074                         <value>none</value>
16075                         <value>hidden-and-protected</value>
16076                         <list>
16077                             <oneOrMore>
16078                                 <choice>
16079                                     <value>protected</value>
16080                                     <value>formula-hidden</value>
16081                                 </choice>
16082                             </oneOrMore>
16083                         </list>
16084                     </choice>
16085                 </attribute>
16086             </optional>
16087             <optional>
16088                 <attribute name="style:print-content">
16089                     <ref name="boolean"/>
16090                 </attribute>
16091             </optional>
16092             <optional>
16093                 <attribute name="style:decimal-places">
16094                     <ref name="nonNegativeInteger"/>
16095                 </attribute>
16096             </optional>
16097             <optional>
16098                 <attribute name="style:repeat-content">
16099                     <ref name="boolean"/>
16100                 </attribute>
16101             </optional>
16102             <optional>
16103                 <attribute name="style:shrink-to-fit">
16104                     <ref name="boolean"/>
16105                 </attribute>
16106             </optional>
16107         </interleave>
16108     </define>
16109     <define name="common-style-direction-attlist">
16110         <optional>
16111             <attribute name="style:direction">
16112                 <choice>
16113                     <value>ltr</value>
16114                     <value>ttb</value>
16115                 </choice>
16116             </attribute>
16117         </optional>
16118     </define>
16119     <define name="style-table-cell-properties-elements">
16120         <ref name="style-background-image"/>
16121     </define>
16122     <define name="common-rotation-angle-attlist">
16123         <optional>
16124             <attribute name="style:rotation-angle">
16125                 <ref name="angle"/>
16126             </attribute>
16127         </optional>
16128     </define>
16129     <define name="style-list-level-properties">
16130         <element name="style:list-level-properties">
16131             <ref name="style-list-level-properties-content-strict"/>
16132         </element>
16133     </define>
16134     <define name="style-list-level-properties-content-strict">
16135         <ref name="style-list-level-properties-attlist"/>
16136         <ref name="style-list-level-properties-elements"/>
16137     </define>
16138     <define name="style-list-level-properties-attlist">
16139         <interleave>
16140             <ref name="common-text-align"/>
16141             <optional>
16142                 <attribute name="text:space-before">
16143                     <ref name="length"/>
16144                 </attribute>
16145             </optional>
16146             <optional>
16147                 <attribute name="text:min-label-width">
16148                     <ref name="nonNegativeLength"/>
16149                 </attribute>
16150             </optional>
16151             <optional>
16152                 <attribute name="text:min-label-distance">
16153                     <ref name="nonNegativeLength"/>
16154                 </attribute>
16155             </optional>
16156             <optional>
16157                 <attribute name="style:font-name">
16158                     <ref name="string"/>
16159                 </attribute>
16160             </optional>
16161             <optional>
16162                 <attribute name="fo:width">
16163                     <ref name="positiveLength"/>
16164                 </attribute>
16165             </optional>
16166             <optional>
16167                 <attribute name="fo:height">
16168                     <ref name="positiveLength"/>
16169                 </attribute>
16170             </optional>
16171             <ref name="common-vertical-rel-attlist"/>
16172             <ref name="common-vertical-pos-attlist"/>
16173             <optional>
16174                 <attribute name="text:list-level-position-and-space-mode">
16175                     <choice>
16176                         <value>label-width-and-position</value>
16177                         <value>label-alignment</value>
16178                     </choice>
16179                 </attribute>
16180             </optional>
16181         </interleave>
16182     </define>
16183     <define name="style-list-level-properties-elements">
16184         <ref name="style-list-level-label-alignment"/>
16185     </define>
16186     <define name="style-list-level-label-alignment">
16187         <optional>
16188             <element name="style:list-level-label-alignment">
16189                 <ref name="style-list-level-label-alignment-attlist"/>
16190                 <empty/>
16191             </element>
16192         </optional>
16193     </define>
16194     <define name="style-list-level-label-alignment-attlist">
16195         <interleave>
16196             <attribute name="text:label-followed-by">
16197                 <choice>
16198                     <value>listtab</value>
16199                     <value>space</value>
16200                     <value>nothing</value>
16201                 </choice>
16202             </attribute>
16203             <optional>
16204                 <attribute name="text:list-tab-stop-position">
16205                     <ref name="length"/>
16206                 </attribute>
16207             </optional>
16208             <optional>
16209                 <attribute name="fo:text-indent">
16210                     <ref name="length"/>
16211                 </attribute>
16212             </optional>
16213             <optional>
16214                 <attribute name="fo:margin-left">
16215                     <ref name="length"/>
16216                 </attribute>
16217             </optional>
16218         </interleave>
16219     </define>
16220     <define name="style-graphic-properties-attlist">
16221         <interleave>
16222             <optional>
16223                 <attribute name="draw:stroke">
16224                     <choice>
16225                         <value>none</value>
16226                         <value>dash</value>
16227                         <value>solid</value>
16228                     </choice>
16229                 </attribute>
16230             </optional>
16231             <optional>
16232                 <attribute name="draw:stroke-dash">
16233                     <ref name="styleNameRef"/>
16234                 </attribute>
16235             </optional>
16236             <optional>
16237                 <attribute name="draw:stroke-dash-names">
16238                     <ref name="styleNameRefs"/>
16239                 </attribute>
16240             </optional>
16241             <optional>
16242                 <attribute name="svg:stroke-width">
16243                     <ref name="length"/>
16244                 </attribute>
16245             </optional>
16246             <optional>
16247                 <attribute name="svg:stroke-color">
16248                     <ref name="color"/>
16249                 </attribute>
16250             </optional>
16251             <optional>
16252                 <attribute name="draw:marker-start">
16253                     <ref name="styleNameRef"/>
16254                 </attribute>
16255             </optional>
16256             <optional>
16257                 <attribute name="draw:marker-end">
16258                     <ref name="styleNameRef"/>
16259                 </attribute>
16260             </optional>
16261             <optional>
16262                 <attribute name="draw:marker-start-width">
16263                     <ref name="length"/>
16264                 </attribute>
16265             </optional>
16266             <optional>
16267                 <attribute name="draw:marker-end-width">
16268                     <ref name="length"/>
16269                 </attribute>
16270             </optional>
16271             <optional>
16272                 <attribute name="draw:marker-start-center">
16273                     <ref name="boolean"/>
16274                 </attribute>
16275             </optional>
16276             <optional>
16277                 <attribute name="draw:marker-end-center">
16278                     <ref name="boolean"/>
16279                 </attribute>
16280             </optional>
16281             <optional>
16282                 <attribute name="svg:stroke-opacity">
16283                     <choice>
16284                         <data type="double">
16285                             <param name="minInclusive">0</param>
16286                             <param name="maxInclusive">1</param>
16287                         </data>
16288                         <ref name="zeroToHundredPercent"/>
16289                     </choice>
16290                 </attribute>
16291             </optional>
16292             <optional>
16293                 <attribute name="draw:stroke-linejoin">
16294                     <choice>
16295                         <value>miter</value>
16296                         <value>round</value>
16297                         <value>bevel</value>
16298                         <value>middle</value>
16299                         <value>none</value>
16300                     </choice>
16301                 </attribute>
16302             </optional>
16303             <optional>
16304                 <attribute name="svg:stroke-linecap">
16305                     <choice>
16306                         <value>butt</value>
16307                         <value>square</value>
16308                         <value>round</value>
16309                     </choice>
16310                 </attribute>
16311             </optional>
16312             <optional>
16313                 <attribute name="draw:symbol-color">
16314                     <ref name="color"/>
16315                 </attribute>
16316             </optional>
16317             <optional>
16318                 <attribute name="text:animation">
16319                     <choice>
16320                         <value>none</value>
16321                         <value>scroll</value>
16322                         <value>alternate</value>
16323                         <value>slide</value>
16324                     </choice>
16325                 </attribute>
16326             </optional>
16327             <optional>
16328                 <attribute name="text:animation-direction">
16329                     <choice>
16330                         <value>left</value>
16331                         <value>right</value>
16332                         <value>up</value>
16333                         <value>down</value>
16334                     </choice>
16335                 </attribute>
16336             </optional>
16337             <optional>
16338                 <attribute name="text:animation-start-inside">
16339                     <ref name="boolean"/>
16340                 </attribute>
16341             </optional>
16342             <optional>
16343                 <attribute name="text:animation-stop-inside">
16344                     <ref name="boolean"/>
16345                 </attribute>
16346             </optional>
16347             <optional>
16348                 <attribute name="text:animation-repeat">
16349                     <ref name="nonNegativeInteger"/>
16350                 </attribute>
16351             </optional>
16352             <optional>
16353                 <attribute name="text:animation-delay">
16354                     <ref name="duration"/>
16355                 </attribute>
16356             </optional>
16357             <optional>
16358                 <attribute name="text:animation-steps">
16359                     <ref name="length"/>
16360                 </attribute>
16361             </optional>
16362             <optional>
16363                 <attribute name="draw:auto-grow-width">
16364                     <ref name="boolean"/>
16365                 </attribute>
16366             </optional>
16367             <optional>
16368                 <attribute name="draw:auto-grow-height">
16369                     <ref name="boolean"/>
16370                 </attribute>
16371             </optional>
16372             <optional>
16373                 <attribute name="draw:fit-to-size">
16374                     <ref name="boolean"/>
16375                 </attribute>
16376             </optional>
16377             <optional>
16378                 <attribute name="draw:fit-to-contour">
16379                     <ref name="boolean"/>
16380                 </attribute>
16381             </optional>
16382             <optional>
16383                 <attribute name="draw:textarea-vertical-align">
16384                     <choice>
16385                         <value>top</value>
16386                         <value>middle</value>
16387                         <value>bottom</value>
16388                         <value>justify</value>
16389                     </choice>
16390                 </attribute>
16391             </optional>
16392             <optional>
16393                 <attribute name="draw:textarea-horizontal-align">
16394                     <choice>
16395                         <value>left</value>
16396                         <value>center</value>
16397                         <value>right</value>
16398                         <value>justify</value>
16399                     </choice>
16400                 </attribute>
16401             </optional>
16402             <optional>
16403                 <attribute name="fo:wrap-option">
16404                     <choice>
16405                         <value>no-wrap</value>
16406                         <value>wrap</value>
16407                     </choice>
16408                 </attribute>
16409             </optional>
16410             <optional>
16411                 <attribute name="style:shrink-to-fit">
16412                     <ref name="boolean"/>
16413                 </attribute>
16414             </optional>
16415             <optional>
16416                 <attribute name="draw:color-mode">
16417                     <choice>
16418                         <value>greyscale</value>
16419                         <value>mono</value>
16420                         <value>watermark</value>
16421                         <value>standard</value>
16422                     </choice>
16423                 </attribute>
16424             </optional>
16425             <optional>
16426                 <attribute name="draw:color-inversion">
16427                     <ref name="boolean"/>
16428                 </attribute>
16429             </optional>
16430             <optional>
16431                 <attribute name="draw:luminance">
16432                     <ref name="zeroToHundredPercent"/>
16433                 </attribute>
16434             </optional>
16435             <optional>
16436                 <attribute name="draw:contrast">
16437                     <ref name="percent"/>
16438                 </attribute>
16439             </optional>
16440             <optional>
16441                 <attribute name="draw:gamma">
16442                     <ref name="percent"/>
16443                 </attribute>
16444             </optional>
16445             <optional>
16446                 <attribute name="draw:red">
16447                     <ref name="signedZeroToHundredPercent"/>
16448                 </attribute>
16449             </optional>
16450             <optional>
16451                 <attribute name="draw:green">
16452                     <ref name="signedZeroToHundredPercent"/>
16453                 </attribute>
16454             </optional>
16455             <optional>
16456                 <attribute name="draw:blue">
16457                     <ref name="signedZeroToHundredPercent"/>
16458                 </attribute>
16459             </optional>
16460             <optional>
16461                 <attribute name="draw:image-opacity">
16462                     <ref name="zeroToHundredPercent"/>
16463                 </attribute>
16464             </optional>
16465             <optional>
16466                 <attribute name="draw:shadow">
16467                     <choice>
16468                         <value>visible</value>
16469                         <value>hidden</value>
16470                     </choice>
16471                 </attribute>
16472             </optional>
16473             <optional>
16474                 <attribute name="draw:shadow-offset-x">
16475                     <ref name="length"/>
16476                 </attribute>
16477             </optional>
16478             <optional>
16479                 <attribute name="draw:shadow-offset-y">
16480                     <ref name="length"/>
16481                 </attribute>
16482             </optional>
16483             <optional>
16484                 <attribute name="draw:shadow-color">
16485                     <ref name="color"/>
16486                 </attribute>
16487             </optional>
16488             <optional>
16489                 <attribute name="draw:shadow-opacity">
16490                     <ref name="zeroToHundredPercent"/>
16491                 </attribute>
16492             </optional>
16493             <optional>
16494                 <attribute name="draw:start-line-spacing-horizontal">
16495                     <ref name="distance"/>
16496                 </attribute>
16497             </optional>
16498             <optional>
16499                 <attribute name="draw:start-line-spacing-vertical">
16500                     <ref name="distance"/>
16501                 </attribute>
16502             </optional>
16503             <optional>
16504                 <attribute name="draw:end-line-spacing-horizontal">
16505                     <ref name="distance"/>
16506                 </attribute>
16507             </optional>
16508             <optional>
16509                 <attribute name="draw:end-line-spacing-vertical">
16510                     <ref name="distance"/>
16511                 </attribute>
16512             </optional>
16513             <optional>
16514                 <attribute name="draw:line-distance">
16515                     <ref name="distance"/>
16516                 </attribute>
16517             </optional>
16518             <optional>
16519                 <attribute name="draw:guide-overhang">
16520                     <ref name="length"/>
16521                 </attribute>
16522             </optional>
16523             <optional>
16524                 <attribute name="draw:guide-distance">
16525                     <ref name="distance"/>
16526                 </attribute>
16527             </optional>
16528             <optional>
16529                 <attribute name="draw:start-guide">
16530                     <ref name="length"/>
16531                 </attribute>
16532             </optional>
16533             <optional>
16534                 <attribute name="draw:end-guide">
16535                     <ref name="length"/>
16536                 </attribute>
16537             </optional>
16538             <optional>
16539                 <attribute name="draw:placing">
16540                     <choice>
16541                         <value>below</value>
16542                         <value>above</value>
16543                     </choice>
16544                 </attribute>
16545             </optional>
16546             <optional>
16547                 <attribute name="draw:parallel">
16548                     <ref name="boolean"/>
16549                 </attribute>
16550             </optional>
16551             <optional>
16552                 <attribute name="draw:measure-align">
16553                     <choice>
16554                         <value>automatic</value>
16555                         <value>left-outside</value>
16556                         <value>inside</value>
16557                         <value>right-outside</value>
16558                     </choice>
16559                 </attribute>
16560             </optional>
16561             <optional>
16562                 <attribute name="draw:measure-vertical-align">
16563                     <choice>
16564                         <value>automatic</value>
16565                         <value>above</value>
16566                         <value>below</value>
16567                         <value>center</value>
16568                     </choice>
16569                 </attribute>
16570             </optional>
16571             <optional>
16572                 <attribute name="draw:unit">
16573                     <choice>
16574                         <value>automatic</value>
16575                         <value>mm</value>
16576                         <value>cm</value>
16577                         <value>m</value>
16578                         <value>km</value>
16579                         <value>pt</value>
16580                         <value>pc</value>
16581                         <value>inch</value>
16582                         <value>ft</value>
16583                         <value>mi</value>
16584                     </choice>
16585                 </attribute>
16586             </optional>
16587             <optional>
16588                 <attribute name="draw:show-unit">
16589                     <ref name="boolean"/>
16590                 </attribute>
16591             </optional>
16592             <optional>
16593                 <attribute name="draw:decimal-places">
16594                     <ref name="nonNegativeInteger"/>
16595                 </attribute>
16596             </optional>
16597             <optional>
16598                 <attribute name="draw:caption-type">
16599                     <choice>
16600                         <value>straight-line</value>
16601                         <value>angled-line</value>
16602                         <value>angled-connector-line</value>
16603                     </choice>
16604                 </attribute>
16605             </optional>
16606             <optional>
16607                 <attribute name="draw:caption-angle-type">
16608                     <choice>
16609                         <value>fixed</value>
16610                         <value>free</value>
16611                     </choice>
16612                 </attribute>
16613             </optional>
16614             <optional>
16615                 <attribute name="draw:caption-angle">
16616                     <ref name="angle"/>
16617                 </attribute>
16618             </optional>
16619             <optional>
16620                 <attribute name="draw:caption-gap">
16621                     <ref name="distance"/>
16622                 </attribute>
16623             </optional>
16624             <optional>
16625                 <attribute name="draw:caption-escape-direction">
16626                     <choice>
16627                         <value>horizontal</value>
16628                         <value>vertical</value>
16629                         <value>auto</value>
16630                     </choice>
16631                 </attribute>
16632             </optional>
16633             <optional>
16634                 <attribute name="draw:caption-escape">
16635                     <choice>
16636                         <ref name="length"/>
16637                         <ref name="percent"/>
16638                     </choice>
16639                 </attribute>
16640             </optional>
16641             <optional>
16642                 <attribute name="draw:caption-line-length">
16643                     <ref name="length"/>
16644                 </attribute>
16645             </optional>
16646             <optional>
16647                 <attribute name="draw:caption-fit-line-length">
16648                     <ref name="boolean"/>
16649                 </attribute>
16650             </optional>
16651             <optional>
16652                 <attribute name="dr3d:horizontal-segments">
16653                     <ref name="nonNegativeInteger"/>
16654                 </attribute>
16655             </optional>
16656             <optional>
16657                 <attribute name="dr3d:vertical-segments">
16658                     <ref name="nonNegativeInteger"/>
16659                 </attribute>
16660             </optional>
16661             <optional>
16662                 <attribute name="dr3d:edge-rounding">
16663                     <ref name="percent"/>
16664                 </attribute>
16665             </optional>
16666             <optional>
16667                 <attribute name="dr3d:edge-rounding-mode">
16668                     <choice>
16669                         <value>correct</value>
16670                         <value>attractive</value>
16671                     </choice>
16672                 </attribute>
16673             </optional>
16674             <optional>
16675                 <attribute name="dr3d:back-scale">
16676                     <ref name="percent"/>
16677                 </attribute>
16678             </optional>
16679             <optional>
16680                 <attribute name="dr3d:depth">
16681                     <ref name="length"/>
16682                 </attribute>
16683             </optional>
16684             <optional>
16685                 <attribute name="dr3d:backface-culling">
16686                     <choice>
16687                         <value>enabled</value>
16688                         <value>disabled</value>
16689                     </choice>
16690                 </attribute>
16691             </optional>
16692             <optional>
16693                 <attribute name="dr3d:end-angle">
16694                     <ref name="angle"/>
16695                 </attribute>
16696             </optional>
16697             <optional>
16698                 <attribute name="dr3d:close-front">
16699                     <ref name="boolean"/>
16700                 </attribute>
16701             </optional>
16702             <optional>
16703                 <attribute name="dr3d:close-back">
16704                     <ref name="boolean"/>
16705                 </attribute>
16706             </optional>
16707             <optional>
16708                 <attribute name="dr3d:lighting-mode">
16709                     <choice>
16710                         <value>standard</value>
16711                         <value>double-sided</value>
16712                     </choice>
16713                 </attribute>
16714             </optional>
16715             <optional>
16716                 <attribute name="dr3d:normals-kind">
16717                     <choice>
16718                         <value>object</value>
16719                         <value>flat</value>
16720                         <value>sphere</value>
16721                     </choice>
16722                 </attribute>
16723             </optional>
16724             <optional>
16725                 <attribute name="dr3d:normals-direction">
16726                     <choice>
16727                         <value>normal</value>
16728                         <value>inverse</value>
16729                     </choice>
16730                 </attribute>
16731             </optional>
16732             <optional>
16733                 <attribute name="dr3d:texture-generation-mode-x">
16734                     <choice>
16735                         <value>object</value>
16736                         <value>parallel</value>
16737                         <value>sphere</value>
16738                     </choice>
16739                 </attribute>
16740             </optional>
16741             <optional>
16742                 <attribute name="dr3d:texture-generation-mode-y">
16743                     <choice>
16744                         <value>object</value>
16745                         <value>parallel</value>
16746                         <value>sphere</value>
16747                     </choice>
16748                 </attribute>
16749             </optional>
16750             <optional>
16751                 <attribute name="dr3d:texture-kind">
16752                     <choice>
16753                         <value>luminance</value>
16754                         <value>intensity</value>
16755                         <value>color</value>
16756                     </choice>
16757                 </attribute>
16758             </optional>
16759             <optional>
16760                 <attribute name="dr3d:texture-filter">
16761                     <choice>
16762                         <value>enabled</value>
16763                         <value>disabled</value>
16764                     </choice>
16765                 </attribute>
16766             </optional>
16767             <optional>
16768                 <attribute name="dr3d:texture-mode">
16769                     <choice>
16770                         <value>replace</value>
16771                         <value>modulate</value>
16772                         <value>blend</value>
16773                     </choice>
16774                 </attribute>
16775             </optional>
16776             <optional>
16777                 <attribute name="dr3d:ambient-color">
16778                     <ref name="color"/>
16779                 </attribute>
16780             </optional>
16781             <optional>
16782                 <attribute name="dr3d:emissive-color">
16783                     <ref name="color"/>
16784                 </attribute>
16785             </optional>
16786             <optional>
16787                 <attribute name="dr3d:specular-color">
16788                     <ref name="color"/>
16789                 </attribute>
16790             </optional>
16791             <optional>
16792                 <attribute name="dr3d:diffuse-color">
16793                     <ref name="color"/>
16794                 </attribute>
16795             </optional>
16796             <optional>
16797                 <attribute name="dr3d:shininess">
16798                     <ref name="percent"/>
16799                 </attribute>
16800             </optional>
16801             <optional>
16802                 <attribute name="dr3d:shadow">
16803                     <choice>
16804                         <value>visible</value>
16805                         <value>hidden</value>
16806                     </choice>
16807                 </attribute>
16808             </optional>
16809             <ref name="common-draw-rel-size-attlist"/>
16810             <optional>
16811                 <attribute name="fo:min-width">
16812                     <choice>
16813                         <ref name="length"/>
16814                         <ref name="percent"/>
16815                     </choice>
16816                 </attribute>
16817             </optional>
16818             <optional>
16819                 <attribute name="fo:min-height">
16820                     <choice>
16821                         <ref name="length"/>
16822                         <ref name="percent"/>
16823                     </choice>
16824                 </attribute>
16825             </optional>
16826             <optional>
16827                 <attribute name="fo:max-height">
16828                     <choice>
16829                         <ref name="length"/>
16830                         <ref name="percent"/>
16831                     </choice>
16832                 </attribute>
16833             </optional>
16834             <optional>
16835                 <attribute name="fo:max-width">
16836                     <choice>
16837                         <ref name="length"/>
16838                         <ref name="percent"/>
16839                     </choice>
16840                 </attribute>
16841             </optional>
16842             <ref name="common-horizontal-margin-attlist"/>
16843             <ref name="common-vertical-margin-attlist"/>
16844             <ref name="common-margin-attlist"/>
16845             <optional>
16846                 <attribute name="style:print-content">
16847                     <ref name="boolean"/>
16848                 </attribute>
16849             </optional>
16850             <optional>
16851                 <attribute name="style:protect">
16852                     <choice>
16853                         <value>none</value>
16854                         <list>
16855                             <oneOrMore>
16856                                 <choice>
16857                                     <value>content</value>
16858                                     <value>position</value>
16859                                     <value>size</value>
16860                                 </choice>
16861                             </oneOrMore>
16862                         </list>
16863                     </choice>
16864                 </attribute>
16865             </optional>
16866             <optional>
16867                 <attribute name="style:horizontal-pos">
16868                     <choice>
16869                         <value>left</value>
16870                         <value>center</value>
16871                         <value>right</value>
16872                         <value>from-left</value>
16873                         <value>inside</value>
16874                         <value>outside</value>
16875                         <value>from-inside</value>
16876                     </choice>
16877                 </attribute>
16878             </optional>
16879             <optional>
16880                 <attribute name="svg:x">
16881                     <ref name="coordinate"/>
16882                 </attribute>
16883             </optional>
16884             <optional>
16885                 <attribute name="style:horizontal-rel">
16886                     <choice>
16887                         <value>page</value>
16888                         <value>page-content</value>
16889                         <value>page-start-margin</value>
16890                         <value>page-end-margin</value>
16891                         <value>frame</value>
16892                         <value>frame-content</value>
16893                         <value>frame-start-margin</value>
16894                         <value>frame-end-margin</value>
16895                         <value>paragraph</value>
16896                         <value>paragraph-content</value>
16897                         <value>paragraph-start-margin</value>
16898                         <value>paragraph-end-margin</value>
16899                         <value>char</value>
16900                     </choice>
16901                 </attribute>
16902             </optional>
16903             <ref name="common-vertical-pos-attlist"/>
16904             <ref name="common-vertical-rel-attlist"/>
16905             <ref name="common-text-anchor-attlist"/>
16906             <ref name="common-border-attlist"/>
16907             <ref name="common-border-line-width-attlist"/>
16908             <ref name="common-padding-attlist"/>
16909             <ref name="common-shadow-attlist"/>
16910             <ref name="common-background-color-attlist"/>
16911             <ref name="common-background-transparency-attlist"/>
16912             <ref name="common-editable-attlist"/>
16913             <optional>
16914                 <attribute name="style:wrap">
16915                     <choice>
16916                         <value>none</value>
16917                         <value>left</value>
16918                         <value>right</value>
16919                         <value>parallel</value>
16920                         <value>dynamic</value>
16921                         <value>run-through</value>
16922                         <value>biggest</value>
16923                     </choice>
16924                 </attribute>
16925             </optional>
16926             <optional>
16927                 <attribute name="style:wrap-dynamic-threshold">
16928                     <ref name="nonNegativeLength"/>
16929                 </attribute>
16930             </optional>
16931             <optional>
16932                 <attribute name="style:number-wrapped-paragraphs">
16933                     <choice>
16934                         <value>no-limit</value>
16935                         <ref name="positiveInteger"/>
16936                     </choice>
16937                 </attribute>
16938             </optional>
16939             <optional>
16940                 <attribute name="style:wrap-contour">
16941                     <ref name="boolean"/>
16942                 </attribute>
16943             </optional>
16944             <optional>
16945                 <attribute name="style:wrap-contour-mode">
16946                     <choice>
16947                         <value>full</value>
16948                         <value>outside</value>
16949                     </choice>
16950                 </attribute>
16951             </optional>
16952             <optional>
16953                 <attribute name="style:run-through">
16954                     <choice>
16955                         <value>foreground</value>
16956                         <value>background</value>
16957                     </choice>
16958                 </attribute>
16959             </optional>
16960             <optional>
16961                 <attribute name="style:flow-with-text">
16962                     <ref name="boolean"/>
16963                 </attribute>
16964             </optional>
16965             <optional>
16966                 <attribute name="style:overflow-behavior">
16967                     <choice>
16968                         <value>clip</value>
16969                         <value>auto-create-new-frame</value>
16970                     </choice>
16971                 </attribute>
16972             </optional>
16973             <optional>
16974                 <attribute name="style:mirror">
16975                     <choice>
16976                         <value>none</value>
16977                         <value>vertical</value>
16978                         <ref name="horizontal-mirror"/>
16979                         <list>
16980                             <value>vertical</value>
16981                             <ref name="horizontal-mirror"/>
16982                         </list>
16983                         <list>
16984                             <ref name="horizontal-mirror"/>
16985                             <value>vertical</value>
16986                         </list>
16987                     </choice>
16988                 </attribute>
16989             </optional>
16990             <optional>
16991                 <attribute name="fo:clip">
16992                     <choice>
16993                         <value>auto</value>
16994                         <ref name="clipShape"/>
16995                     </choice>
16996                 </attribute>
16997             </optional>
16998             <optional>
16999                 <attribute name="draw:wrap-influence-on-position">
17000                     <choice>
17001                         <value>iterative</value>
17002                         <value>once-concurrent</value>
17003                         <value>once-successive</value>
17004                     </choice>
17005                 </attribute>
17006             </optional>
17007             <ref name="common-writing-mode-attlist"/>
17008             <optional>
17009                 <attribute name="draw:frame-display-scrollbar">
17010                     <ref name="boolean"/>
17011                 </attribute>
17012             </optional>
17013             <optional>
17014                 <attribute name="draw:frame-display-border">
17015                     <ref name="boolean"/>
17016                 </attribute>
17017             </optional>
17018             <optional>
17019                 <attribute name="draw:frame-margin-horizontal">
17020                     <ref name="nonNegativePixelLength"/>
17021                 </attribute>
17022             </optional>
17023             <optional>
17024                 <attribute name="draw:frame-margin-vertical">
17025                     <ref name="nonNegativePixelLength"/>
17026                 </attribute>
17027             </optional>
17028             <optional>
17029                 <attribute name="draw:visible-area-left">
17030                     <ref name="nonNegativeLength"/>
17031                 </attribute>
17032             </optional>
17033             <optional>
17034                 <attribute name="draw:visible-area-top">
17035                     <ref name="nonNegativeLength"/>
17036                 </attribute>
17037             </optional>
17038             <optional>
17039                 <attribute name="draw:visible-area-width">
17040                     <ref name="positiveLength"/>
17041                 </attribute>
17042             </optional>
17043             <optional>
17044                 <attribute name="draw:visible-area-height">
17045                     <ref name="positiveLength"/>
17046                 </attribute>
17047             </optional>
17048             <optional>
17049                 <attribute name="draw:draw-aspect">
17050                     <choice>
17051                         <value>content</value>
17052                         <value>thumbnail</value>
17053                         <value>icon</value>
17054                         <value>print-view</value>
17055                     </choice>
17056                 </attribute>
17057             </optional>
17058             <optional>
17059                 <attribute name="draw:ole-draw-aspect">
17060                     <ref name="nonNegativeInteger"/>
17061                 </attribute>
17062             </optional>
17063         </interleave>
17064     </define>
17065     <define name="style-graphic-fill-properties-attlist">
17066         <interleave>
17067             <optional>
17068                 <attribute name="draw:fill">
17069                     <choice>
17070                         <value>none</value>
17071                         <value>solid</value>
17072                         <value>bitmap</value>
17073                         <value>gradient</value>
17074                         <value>hatch</value>
17075                     </choice>
17076                 </attribute>
17077             </optional>
17078             <optional>
17079                 <attribute name="draw:fill-color">
17080                     <ref name="color"/>
17081                 </attribute>
17082             </optional>
17083             <optional>
17084                 <attribute name="draw:secondary-fill-color">
17085                     <ref name="color"/>
17086                 </attribute>
17087             </optional>
17088             <optional>
17089                 <attribute name="draw:fill-gradient-name">
17090                     <ref name="styleNameRef"/>
17091                 </attribute>
17092             </optional>
17093             <optional>
17094                 <attribute name="draw:gradient-step-count">
17095                     <ref name="nonNegativeInteger"/>
17096                 </attribute>
17097             </optional>
17098             <optional>
17099                 <attribute name="draw:fill-hatch-name">
17100                     <ref name="styleNameRef"/>
17101                 </attribute>
17102             </optional>
17103             <optional>
17104                 <attribute name="draw:fill-hatch-solid">
17105                     <ref name="boolean"/>
17106                 </attribute>
17107             </optional>
17108             <optional>
17109                 <attribute name="draw:fill-image-name">
17110                     <ref name="styleNameRef"/>
17111                 </attribute>
17112             </optional>
17113             <optional>
17114                 <attribute name="style:repeat">
17115                     <choice>
17116                         <value>no-repeat</value>
17117                         <value>repeat</value>
17118                         <value>stretch</value>
17119                     </choice>
17120                 </attribute>
17121             </optional>
17122             <optional>
17123                 <attribute name="draw:fill-image-width">
17124                     <choice>
17125                         <ref name="length"/>
17126                         <ref name="percent"/>
17127                     </choice>
17128                 </attribute>
17129             </optional>
17130             <optional>
17131                 <attribute name="draw:fill-image-height">
17132                     <choice>
17133                         <ref name="length"/>
17134                         <ref name="percent"/>
17135                     </choice>
17136                 </attribute>
17137             </optional>
17138             <optional>
17139                 <attribute name="draw:fill-image-ref-point-x">
17140                     <ref name="percent"/>
17141                 </attribute>
17142             </optional>
17143             <optional>
17144                 <attribute name="draw:fill-image-ref-point-y">
17145                     <ref name="percent"/>
17146                 </attribute>
17147             </optional>
17148             <optional>
17149                 <attribute name="draw:fill-image-ref-point">
17150                     <choice>
17151                         <value>top-left</value>
17152                         <value>top</value>
17153                         <value>top-right</value>
17154                         <value>left</value>
17155                         <value>center</value>
17156                         <value>right</value>
17157                         <value>bottom-left</value>
17158                         <value>bottom</value>
17159                         <value>bottom-right</value>
17160                     </choice>
17161                 </attribute>
17162             </optional>
17163             <optional>
17164                 <attribute name="draw:tile-repeat-offset">
17165                     <list>
17166                         <ref name="zeroToHundredPercent"/>
17167                         <choice>
17168                             <value>horizontal</value>
17169                             <value>vertical</value>
17170                         </choice>
17171                     </list>
17172                 </attribute>
17173             </optional>
17174             <optional>
17175                 <attribute name="draw:opacity">
17176                     <ref name="zeroToHundredPercent"/>
17177                 </attribute>
17178             </optional>
17179             <optional>
17180                 <attribute name="draw:opacity-name">
17181                     <ref name="styleNameRef"/>
17182                 </attribute>
17183             </optional>
17184             <optional>
17185                 <attribute name="svg:fill-rule">
17186                     <choice>
17187                         <value>nonzero</value>
17188                         <value>evenodd</value>
17189                     </choice>
17190                 </attribute>
17191             </optional>
17192         </interleave>
17193     </define>
17194     <define name="style-graphic-properties-elements">
17195         <interleave>
17196             <optional>
17197                 <ref name="text-list-style"/>
17198             </optional>
17199             <ref name="style-background-image"/>
17200             <ref name="style-columns"/>
17201         </interleave>
17202     </define>
17203     <define name="common-vertical-pos-attlist">
17204         <optional>
17205             <attribute name="style:vertical-pos">
17206                 <choice>
17207                     <value>top</value>
17208                     <value>middle</value>
17209                     <value>bottom</value>
17210                     <value>from-top</value>
17211                     <value>below</value>
17212                 </choice>
17213             </attribute>
17214         </optional>
17215         <optional>
17216             <attribute name="svg:y">
17217                 <ref name="coordinate"/>
17218             </attribute>
17219         </optional>
17220     </define>
17221     <define name="common-vertical-rel-attlist">
17222         <optional>
17223             <attribute name="style:vertical-rel">
17224                 <choice>
17225                     <value>page</value>
17226                     <value>page-content</value>
17227                     <value>frame</value>
17228                     <value>frame-content</value>
17229                     <value>paragraph</value>
17230                     <value>paragraph-content</value>
17231                     <value>char</value>
17232                     <value>line</value>
17233                     <value>baseline</value>
17234                     <value>text</value>
17235                 </choice>
17236             </attribute>
17237         </optional>
17238     </define>
17239     <define name="common-editable-attlist">
17240         <optional>
17241             <attribute name="style:editable">
17242                 <ref name="boolean"/>
17243             </attribute>
17244         </optional>
17245     </define>
17246     <define name="horizontal-mirror">
17247         <choice>
17248             <value>horizontal</value>
17249             <value>horizontal-on-odd</value>
17250             <value>horizontal-on-even</value>
17251         </choice>
17252     </define>
17253     <define name="clipShape">
17254         <data type="string">
17255             <param name="pattern">rect\([ ]*((-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)))|(auto))([ ]*,[ ]*((-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc))))|(auto)){3}[ ]*\)</para
17256         </data>
17257     </define>
17258     <define name="nonNegativePixelLength">
17259         <data type="string">
17260             <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)(px)</param>
17261         </data>
17262     </define>
17263     <define name="style-chart-properties">
17264         <element name="style:chart-properties">
17265             <ref name="style-chart-properties-content-strict"/>
17266         </element>
17267     </define>
17268     <define name="style-chart-properties-content-strict">
17269         <ref name="style-chart-properties-attlist"/>
17270         <ref name="style-chart-properties-elements"/>
17271     </define>
17272     <define name="style-chart-properties-elements">
17273         <empty/>
17274     </define>
17275     <define name="style-chart-properties-attlist">
17276         <interleave>
17277             <optional>
17278                 <attribute name="chart:scale-text">
17279                     <ref name="boolean"/>
17280                 </attribute>
17281             </optional>
17282             <optional>
17283                 <attribute name="chart:three-dimensional">
17284                     <ref name="boolean"/>
17285                 </attribute>
17286             </optional>
17287             <optional>
17288                 <attribute name="chart:deep">
17289                     <ref name="boolean"/>
17290                 </attribute>
17291             </optional>
17292             <optional>
17293                 <attribute name="chart:right-angled-axes">
17294                     <ref name="boolean"/>
17295                 </attribute>
17296             </optional>
17297             <choice>
17298                 <attribute name="chart:symbol-type">
17299                     <value>none</value>
17300                 </attribute>
17301                 <attribute name="chart:symbol-type">
17302                     <value>automatic</value>
17303                 </attribute>
17304                 <group>
17305                     <attribute name="chart:symbol-type">
17306                         <value>named-symbol</value>
17307                     </attribute>
17308                     <attribute name="chart:symbol-name">
17309                         <choice>
17310                             <value>square</value>
17311                             <value>diamond</value>
17312                             <value>arrow-down</value>
17313                             <value>arrow-up</value>
17314                             <value>arrow-right</value>
17315                             <value>arrow-left</value>
17316                             <value>bow-tie</value>
17317                             <value>hourglass</value>
17318                             <value>circle</value>
17319                             <value>star</value>
17320                             <value>x</value>
17321                             <value>plus</value>
17322                             <value>asterisk</value>
17323                             <value>horizontal-bar</value>
17324                             <value>vertical-bar</value>
17325                         </choice>
17326                     </attribute>
17327                 </group>
17328                 <group>
17329                     <attribute name="chart:symbol-type">
17330                         <value>image</value>
17331                     </attribute>
17332                     <element name="chart:symbol-image">
17333                         <attribute name="xlink:href">
17334                             <ref name="anyIRI"/>
17335                         </attribute>
17336                     </element>
17337                 </group>
17338                 <empty/>
17339             </choice>
17340             <optional>
17341                 <attribute name="chart:symbol-width">
17342                     <ref name="nonNegativeLength"/>
17343                 </attribute>
17344             </optional>
17345             <optional>
17346                 <attribute name="chart:symbol-height">
17347                     <ref name="nonNegativeLength"/>
17348                 </attribute>
17349             </optional>
17350             <optional>
17351                 <attribute name="chart:sort-by-x-values">
17352                     <ref name="boolean"/>
17353                 </attribute>
17354             </optional>
17355             <optional>
17356                 <attribute name="chart:vertical">
17357                     <ref name="boolean"/>
17358                 </attribute>
17359             </optional>
17360             <optional>
17361                 <attribute name="chart:connect-bars">
17362                     <ref name="boolean"/>
17363                 </attribute>
17364             </optional>
17365             <optional>
17366                 <attribute name="chart:gap-width">
17367                     <ref name="integer"/>
17368                 </attribute>
17369             </optional>
17370             <optional>
17371                 <attribute name="chart:overlap">
17372                     <ref name="integer"/>
17373                 </attribute>
17374             </optional>
17375             <optional>
17376                 <attribute name="chart:group-bars-per-axis">
17377                     <ref name="boolean"/>
17378                 </attribute>
17379             </optional>
17380             <optional>
17381                 <attribute name="chart:japanese-candle-stick">
17382                     <ref name="boolean"/>
17383                 </attribute>
17384             </optional>
17385             <optional>
17386                 <attribute name="chart:interpolation">
17387                     <choice>
17388                         <value>none</value>
17389                         <value>cubic-spline</value>
17390                         <value>b-spline</value>
17391                     </choice>
17392                 </attribute>
17393             </optional>
17394             <optional>
17395                 <attribute name="chart:spline-order">
17396                     <ref name="positiveInteger"/>
17397                 </attribute>
17398             </optional>
17399             <optional>
17400                 <attribute name="chart:spline-resolution">
17401                     <ref name="positiveInteger"/>
17402                 </attribute>
17403             </optional>
17404             <optional>
17405                 <attribute name="chart:pie-offset">
17406                     <ref name="nonNegativeInteger"/>
17407                 </attribute>
17408             </optional>
17409             <optional>
17410                 <attribute name="chart:angle-offset">
17411                     <ref name="angle"/>
17412                 </attribute>
17413             </optional>
17414             <optional>
17415                 <attribute name="chart:hole-size">
17416                     <ref name="percent"/>
17417                 </attribute>
17418             </optional>
17419             <optional>
17420                 <attribute name="chart:lines">
17421                     <ref name="boolean"/>
17422                 </attribute>
17423             </optional>
17424             <optional>
17425                 <attribute name="chart:solid-type">
17426                     <choice>
17427                         <value>cuboid</value>
17428                         <value>cylinder</value>
17429                         <value>cone</value>
17430                         <value>pyramid</value>
17431                     </choice>
17432                 </attribute>
17433             </optional>
17434             <optional>
17435                 <attribute name="chart:stacked">
17436                     <ref name="boolean"/>
17437                 </attribute>
17438             </optional>
17439             <optional>
17440                 <attribute name="chart:percentage">
17441                     <ref name="boolean"/>
17442                 </attribute>
17443             </optional>
17444             <optional>
17445                 <attribute name="chart:treat-empty-cells">
17446                     <choice>
17447                         <value>use-zero</value>
17448                         <value>leave-gap</value>
17449                         <value>ignore</value>
17450                     </choice>
17451                 </attribute>
17452             </optional>
17453             <optional>
17454                 <attribute name="chart:link-data-style-to-source">
17455                     <ref name="boolean"/>
17456                 </attribute>
17457             </optional>
17458             <optional>
17459                 <attribute name="chart:logarithmic">
17460                     <ref name="boolean"/>
17461                 </attribute>
17462             </optional>
17463             <optional>
17464                 <attribute name="chart:maximum">
17465                     <ref name="double"/>
17466                 </attribute>
17467             </optional>
17468             <optional>
17469                 <attribute name="chart:minimum">
17470                     <ref name="double"/>
17471                 </attribute>
17472             </optional>
17473             <optional>
17474                 <attribute name="chart:origin">
17475                     <ref name="double"/>
17476                 </attribute>
17477             </optional>
17478             <optional>
17479                 <attribute name="chart:interval-major">
17480                     <ref name="double"/>
17481                 </attribute>
17482             </optional>
17483             <optional>
17484                 <attribute name="chart:interval-minor-divisor">
17485                     <ref name="positiveInteger"/>
17486                 </attribute>
17487             </optional>
17488             <optional>
17489                 <attribute name="chart:tick-marks-major-inner">
17490                     <ref name="boolean"/>
17491                 </attribute>
17492             </optional>
17493             <optional>
17494                 <attribute name="chart:tick-marks-major-outer">
17495                     <ref name="boolean"/>
17496                 </attribute>
17497             </optional>
17498             <optional>
17499                 <attribute name="chart:tick-marks-minor-inner">
17500                     <ref name="boolean"/>
17501                 </attribute>
17502             </optional>
17503             <optional>
17504                 <attribute name="chart:tick-marks-minor-outer">
17505                     <ref name="boolean"/>
17506                 </attribute>
17507             </optional>
17508             <optional>
17509                 <attribute name="chart:reverse-direction">
17510                     <ref name="boolean"/>
17511                 </attribute>
17512             </optional>
17513             <optional>
17514                 <attribute name="chart:display-label">
17515                     <ref name="boolean"/>
17516                 </attribute>
17517             </optional>
17518             <optional>
17519                 <attribute name="chart:text-overlap">
17520                     <ref name="boolean"/>
17521                 </attribute>
17522             </optional>
17523             <optional>
17524                 <attribute name="text:line-break">
17525                     <ref name="boolean"/>
17526                 </attribute>
17527             </optional>
17528             <optional>
17529                 <attribute name="chart:label-arrangement">
17530                     <choice>
17531                         <value>side-by-side</value>
17532                         <value>stagger-even</value>
17533                         <value>stagger-odd</value>
17534                     </choice>
17535                 </attribute>
17536             </optional>
17537             <ref name="common-style-direction-attlist"/>
17538             <ref name="common-rotation-angle-attlist"/>
17539             <optional>
17540                 <attribute name="chart:data-label-number">
17541                     <choice>
17542                         <value>none</value>
17543                         <value>value</value>
17544                         <value>percentage</value>
17545                         <value>value-and-percentage</value>
17546                     </choice>
17547                 </attribute>
17548             </optional>
17549             <optional>
17550                 <attribute name="chart:data-label-text">
17551                     <ref name="boolean"/>
17552                 </attribute>
17553             </optional>
17554             <optional>
17555                 <attribute name="chart:data-label-symbol">
17556                     <ref name="boolean"/>
17557                 </attribute>
17558             </optional>
17559             <optional>
17560                 <element name="chart:label-separator">
17561                     <ref name="text-p"/>
17562                 </element>
17563             </optional>
17564             <optional>
17565                 <attribute name="chart:label-position">
17566                     <ref name="labelPositions"/>
17567                 </attribute>
17568             </optional>
17569             <optional>
17570                 <attribute name="chart:label-position-negative">
17571                     <ref name="labelPositions"/>
17572                 </attribute>
17573             </optional>
17574             <optional>
17575                 <attribute name="chart:visible">
17576                     <ref name="boolean"/>
17577                 </attribute>
17578             </optional>
17579             <optional>
17580                 <attribute name="chart:auto-position">
17581                     <ref name="boolean"/>
17582                 </attribute>
17583             </optional>
17584             <optional>
17585                 <attribute name="chart:auto-size">
17586                     <ref name="boolean"/>
17587                 </attribute>
17588             </optional>
17589             <optional>
17590                 <attribute name="chart:mean-value">
17591                     <ref name="boolean"/>
17592                 </attribute>
17593             </optional>
17594             <optional>
17595                 <attribute name="chart:error-category">
17596                     <choice>
17597                         <value>none</value>
17598                         <value>variance</value>
17599                         <value>standard-deviation</value>
17600                         <value>percentage</value>
17601                         <value>error-margin</value>
17602                         <value>constant</value>
17603                         <value>standard-error</value>
17604                         <value>cell-range</value>
17605                     </choice>
17606                 </attribute>
17607             </optional>
17608             <optional>
17609                 <attribute name="chart:error-percentage">
17610                     <ref name="double"/>
17611                 </attribute>
17612             </optional>
17613             <optional>
17614                 <attribute name="chart:error-margin">
17615                     <ref name="double"/>
17616                 </attribute>
17617             </optional>
17618             <optional>
17619                 <attribute name="chart:error-lower-limit">
17620                     <ref name="double"/>
17621                 </attribute>
17622             </optional>
17623             <optional>
17624                 <attribute name="chart:error-upper-limit">
17625                     <ref name="double"/>
17626                 </attribute>
17627             </optional>
17628             <optional>
17629                 <attribute name="chart:error-upper-indicator">
17630                     <ref name="boolean"/>
17631                 </attribute>
17632             </optional>
17633             <optional>
17634                 <attribute name="chart:error-lower-indicator">
17635                     <ref name="boolean"/>
17636                 </attribute>
17637             </optional>
17638             <optional>
17639                 <attribute name="chart:error-lower-range">
17640                     <ref name="cellRangeAddressList"/>
17641                 </attribute>
17642             </optional>
17643             <optional>
17644                 <attribute name="chart:error-upper-range">
17645                     <ref name="cellRangeAddressList"/>
17646                 </attribute>
17647             </optional>
17648             <optional>
17649                 <attribute name="chart:series-source">
17650                     <choice>
17651                         <value>columns</value>
17652                         <value>rows</value>
17653                     </choice>
17654                 </attribute>
17655             </optional>
17656             <optional>
17657                 <attribute name="chart:regression-type">
17658                     <choice>
17659                         <value>none</value>
17660                         <value>linear</value>
17661                         <value>logarithmic</value>
17662                         <value>exponential</value>
17663                         <value>power</value>
17664                     </choice>
17665                 </attribute>
17666             </optional>
17667             <optional>
17668                 <attribute name="chart:axis-position">
17669                     <choice>
17670                         <value>start</value>
17671                         <value>end</value>
17672                         <ref name="double"/>
17673                     </choice>
17674                 </attribute>
17675             </optional>
17676             <optional>
17677                 <attribute name="chart:axis-label-position">
17678                     <choice>
17679                         <value>near-axis</value>
17680                         <value>near-axis-other-side</value>
17681                         <value>outside-start</value>
17682                         <value>outside-end</value>
17683                     </choice>
17684                 </attribute>
17685             </optional>
17686             <optional>
17687                 <attribute name="chart:tick-mark-position">
17688                     <choice>
17689                         <value>at-labels</value>
17690                         <value>at-axis</value>
17691                         <value>at-labels-and-axis</value>
17692                     </choice>
17693                 </attribute>
17694             </optional>
17695             <optional>
17696                 <attribute name="chart:include-hidden-cells">
17697                     <ref name="boolean"/>
17698                 </attribute>
17699             </optional>
17700         </interleave>
17701     </define>
17702     <define name="labelPositions">
17703         <choice>
17704             <value>avoid-overlap</value>
17705             <value>center</value>
17706             <value>top</value>
17707             <value>top-right</value>
17708             <value>right</value>
17709             <value>bottom-right</value>
17710             <value>bottom</value>
17711             <value>bottom-left</value>
17712             <value>left</value>
17713             <value>top-left</value>
17714             <value>inside</value>
17715             <value>outside</value>
17716             <value>near-origin</value>
17717         </choice>
17718     </define>
17719     <define name="style-drawing-page-properties-attlist">
17720         <interleave>
17721             <optional>
17722                 <attribute name="presentation:transition-type">
17723                     <choice>
17724                         <value>manual</value>
17725                         <value>automatic</value>
17726                         <value>semi-automatic</value>
17727                     </choice>
17728                 </attribute>
17729             </optional>
17730             <optional>
17731                 <attribute name="presentation:transition-style">
17732                     <choice>
17733                         <value>none</value>
17734                         <value>fade-from-left</value>
17735                         <value>fade-from-top</value>
17736                         <value>fade-from-right</value>
17737                         <value>fade-from-bottom</value>
17738                         <value>fade-from-upperleft</value>
17739                         <value>fade-from-upperright</value>
17740                         <value>fade-from-lowerleft</value>
17741                         <value>fade-from-lowerright</value>
17742                         <value>move-from-left</value>
17743                         <value>move-from-top</value>
17744                         <value>move-from-right</value>
17745                         <value>move-from-bottom</value>
17746                         <value>move-from-upperleft</value>
17747                         <value>move-from-upperright</value>
17748                         <value>move-from-lowerleft</value>
17749                         <value>move-from-lowerright</value>
17750                         <value>uncover-to-left</value>
17751                         <value>uncover-to-top</value>
17752                         <value>uncover-to-right</value>
17753                         <value>uncover-to-bottom</value>
17754                         <value>uncover-to-upperleft</value>
17755                         <value>uncover-to-upperright</value>
17756                         <value>uncover-to-lowerleft</value>
17757                         <value>uncover-to-lowerright</value>
17758                         <value>fade-to-center</value>
17759                         <value>fade-from-center</value>
17760                         <value>vertical-stripes</value>
17761                         <value>horizontal-stripes</value>
17762                         <value>clockwise</value>
17763                         <value>counterclockwise</value>
17764                         <value>open-vertical</value>
17765                         <value>open-horizontal</value>
17766                         <value>close-vertical</value>
17767                         <value>close-horizontal</value>
17768                         <value>wavyline-from-left</value>
17769                         <value>wavyline-from-top</value>
17770                         <value>wavyline-from-right</value>
17771                         <value>wavyline-from-bottom</value>
17772                         <value>spiralin-left</value>
17773                         <value>spiralin-right</value>
17774                         <value>spiralout-left</value>
17775                         <value>spiralout-right</value>
17776                         <value>roll-from-top</value>
17777                         <value>roll-from-left</value>
17778                         <value>roll-from-right</value>
17779                         <value>roll-from-bottom</value>
17780                         <value>stretch-from-left</value>
17781                         <value>stretch-from-top</value>
17782                         <value>stretch-from-right</value>
17783                         <value>stretch-from-bottom</value>
17784                         <value>vertical-lines</value>
17785                         <value>horizontal-lines</value>
17786                         <value>dissolve</value>
17787                         <value>random</value>
17788                         <value>vertical-checkerboard</value>
17789                         <value>horizontal-checkerboard</value>
17790                         <value>interlocking-horizontal-left</value>
17791                         <value>interlocking-horizontal-right</value>
17792                         <value>interlocking-vertical-top</value>
17793                         <value>interlocking-vertical-bottom</value>
17794                         <value>fly-away</value>
17795                         <value>open</value>
17796                         <value>close</value>
17797                         <value>melt</value>
17798                     </choice>
17799                 </attribute>
17800             </optional>
17801             <optional>
17802                 <attribute name="presentation:transition-speed">
17803                     <ref name="presentationSpeeds"/>
17804                 </attribute>
17805             </optional>
17806             <optional>
17807                 <attribute name="smil:type">
17808                     <ref name="string"/>
17809                 </attribute>
17810             </optional>
17811             <optional>
17812                 <attribute name="smil:subtype">
17813                     <ref name="string"/>
17814                 </attribute>
17815             </optional>
17816             <optional>
17817                 <attribute name="smil:direction">
17818                     <choice>
17819                         <value>forward</value>
17820                         <value>reverse</value>
17821                     </choice>
17822                 </attribute>
17823             </optional>
17824             <optional>
17825                 <attribute name="smil:fadeColor">
17826                     <ref name="color"/>
17827                 </attribute>
17828             </optional>
17829             <optional>
17830                 <attribute name="presentation:duration">
17831                     <ref name="duration"/>
17832                 </attribute>
17833             </optional>
17834             <optional>
17835                 <attribute name="presentation:visibility">
17836                     <choice>
17837                         <value>visible</value>
17838                         <value>hidden</value>
17839                     </choice>
17840                 </attribute>
17841             </optional>
17842             <optional>
17843                 <attribute name="draw:background-size">
17844                     <choice>
17845                         <value>full</value>
17846                         <value>border</value>
17847                     </choice>
17848                 </attribute>
17849             </optional>
17850             <optional>
17851                 <attribute name="presentation:background-objects-visible">
17852                     <ref name="boolean"/>
17853                 </attribute>
17854             </optional>
17855             <optional>
17856                 <attribute name="presentation:background-visible">
17857                     <ref name="boolean"/>
17858                 </attribute>
17859             </optional>
17860             <optional>
17861                 <attribute name="presentation:display-header">
17862                     <ref name="boolean"/>
17863                 </attribute>
17864             </optional>
17865             <optional>
17866                 <attribute name="presentation:display-footer">
17867                     <ref name="boolean"/>
17868                 </attribute>
17869             </optional>
17870             <optional>
17871                 <attribute name="presentation:display-page-number">
17872                     <ref name="boolean"/>
17873                 </attribute>
17874             </optional>
17875             <optional>
17876                 <attribute name="presentation:display-date-time">
17877                     <ref name="boolean"/>
17878                 </attribute>
17879             </optional>
17880         </interleave>
17881     </define>
17882     <define name="style-drawing-page-properties-elements">
17883         <optional>
17884             <ref name="presentation-sound"/>
17885         </optional>
17886     </define>
17887     <define name="string">
17888         <data type="string"/>
17889     </define>
17890     <define name="date">
17891         <data type="date"/>
17892     </define>
17893     <define name="time">
17894         <data type="time"/>
17895     </define>
17896     <define name="dateTime">
17897         <data type="dateTime"/>
17898     </define>
17899     <define name="duration">
17900         <data type="duration"/>
17901     </define>
17902     <define name="integer">
17903         <data type="integer"/>
17904     </define>
17905     <define name="nonNegativeInteger">
17906         <data type="nonNegativeInteger"/>
17907     </define>
17908     <define name="positiveInteger">
17909         <data type="positiveInteger"/>
17910     </define>
17911     <define name="double">
17912         <data type="double"/>
17913     </define>
17914     <define name="anyURI">
17915         <data type="anyURI"/>
17916     </define>
17917     <define name="base64Binary">
17918         <data type="base64Binary"/>
17919     </define>
17920     <define name="ID">
17921         <data type="ID"/>
17922     </define>
17923     <define name="IDREF">
17924         <data type="IDREF"/>
17925     </define>
17926     <define name="IDREFS">
17927         <data type="IDREFS"/>
17928     </define>
17929     <define name="NCName">
17930         <data type="NCName"/>
17931     </define>
17932     <define name="boolean">
17933         <choice>
17934             <value>true</value>
17935             <value>false</value>
17936         </choice>
17937     </define>
17938     <define name="dateOrDateTime">
17939         <choice>
17940             <data type="date"/>
17941             <data type="dateTime"/>
17942         </choice>
17943     </define>
17944     <define name="timeOrDateTime">
17945         <choice>
17946             <data type="time"/>
17947             <data type="dateTime"/>
17948         </choice>
17949     </define>
17950     <define name="language">
17951         <data type="language"/>
17952     </define>
17953     <define name="countryCode">
17954         <data type="token">
17955             <param name="pattern">[A-Za-z0-9]{1,8}</param>
17956         </data>
17957     </define>
17958     <define name="languageCode">
17959         <data type="token">
17960             <param name="pattern">[A-Za-z]{1,8}</param>
17961         </data>
17962     </define>
17963     <define name="scriptCode">
17964         <data type="token">
17965             <param name="pattern">[A-Za-z0-9]{1,8}</param>
17966         </data>
17967     </define>
17968     <define name="character">
17969         <data type="string">
17970             <param name="length">1</param>
17971         </data>
17972     </define>
17973     <define name="length">
17974         <data type="string">
17975             <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
17976         </data>
17977     </define>
17978     <define name="nonNegativeLength">
17979         <data type="string">
17980             <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
17981         </data>
17982     </define>
17983     <define name="positiveLength">
17984         <data type="string">
17985             <param name="pattern">([0-9]*[1-9][0-9]*(\.[0-9]*)?|0+\.[0-9]*[1-9][0-9]*|\.[0-9]*[1-9][0-9]*)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
17986         </data>
17987     </define>
17988     <define name="percent">
17989         <data type="string">
17990             <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)%</param>
17991         </data>
17992     </define>
17993     <define name="zeroToHundredPercent">
17994         <data type="string">
17995             <param name="pattern">([0-9]?[0-9](\.[0-9]*)?|100(\.0*)?|\.[0-9]+)%</param>
17996         </data>
17997     </define>
17998     <define name="signedZeroToHundredPercent">
17999         <data type="string">
18000             <param name="pattern">-?([0-9]?[0-9](\.[0-9]*)?|100(\.0*)?|\.[0-9]+)%</param>
18001         </data>
18002     </define>
18003     <define name="relativeLength">
18004         <data type="string">
18005             <param name="pattern">[0-9]+\*</param>
18006         </data>
18007     </define>
18008     <define name="coordinate">
18009         <ref name="length"/>
18010     </define>
18011     <define name="distance">
18012         <ref name="length"/>
18013     </define>
18014     <define name="color">
18015         <data type="string">
18016             <param name="pattern">#[0-9a-fA-F]{6}</param>
18017         </data>
18018     </define>
18019     <define name="angle">
18020         <data type="string"/>
18021     </define>
18022     <define name="CURIE">
18023         <data type="string">
18024             <param name="pattern">(([\i-[:]][\c-[:]]*)?:)?.+</param>
18025             <param name="minLength">1</param>
18026         </data>
18027     </define>
18028     <define name="CURIEs">
18029         <list>
18030             <oneOrMore>
18031                 <ref name="CURIE"/>
18032             </oneOrMore>
18033         </list>
18034     </define>
18035     <define name="SafeCURIE">
18036         <data type="string">
18037             <param name="pattern">\[(([\i-[:]][\c-[:]]*)?:)?.+\]</param>
18038             <param name="minLength">3</param>
18039         </data>
18040     </define>
18041     <define name="URIorSafeCURIE">
18042         <choice>
18043             <ref name="anyURI"/>
18044             <ref name="SafeCURIE"/>
18045         </choice>
18046     </define>
18047     <define name="styleName">
18048         <data type="NCName"/>
18049     </define>
18050     <define name="styleNameRef">
18051         <choice>
18052             <data type="NCName"/>
18053             <empty/>
18054         </choice>
18055     </define>
18056     <define name="styleNameRefs">
18057         <list>
18058             <zeroOrMore>
18059                 <data type="NCName"/>
18060             </zeroOrMore>
18061         </list>
18062     </define>
18063     <define name="variableName">
18064         <data type="string"/>
18065     </define>
18066     <define name="targetFrameName">
18067         <choice>
18068             <value>_self</value>
18069             <value>_blank</value>
18070             <value>_parent</value>
18071             <value>_top</value>
18072             <ref name="string"/>
18073         </choice>
18074     </define>
18075     <define name="valueType">
18076         <choice>
18077             <value>float</value>
18078             <value>time</value>
18079             <value>date</value>
18080             <value>percentage</value>
18081             <value>currency</value>
18082             <value>boolean</value>
18083             <value>string</value>
18084         </choice>
18085     </define>
18086     <define name="points">
18087         <data type="string">
18088             <param name="pattern">-?[0-9]+,-?[0-9]+([ ]+-?[0-9]+,-?[0-9]+)*</param>
18089         </data>
18090     </define>
18091     <define name="pathData">
18092         <data type="string"/>
18093     </define>
18094     <define name="vector3D">
18095         <data type="string">
18096             <param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)){2}[ ]*\)</param>
18097         </data>
18098     </define>
18099     <define name="namespacedToken">
18100         <data type="QName">
18101             <param name="pattern">[^:]+:[^:]+</param>
18102         </data>
18103     </define>
18104     <define name="anyIRI">
18105         <data type="anyURI"/>
18106         <dc:description>An IRI-reference as defined in [RFC3987]. See ODF 1.2 Part 1 section 18.3.</dc:description>
18107     </define>
18108     <define name="anyAttListOrElements">
18109         <zeroOrMore>
18110             <attribute>
18111                 <anyName/>
18112                 <text/>
18113             </attribute>
18114         </zeroOrMore>
18115         <ref name="anyElements"/>
18116     </define>
18117     <define name="anyElements">
18118         <zeroOrMore>
18119             <element>
18120                 <anyName/>
18121                 <mixed>
18122                     <ref name="anyAttListOrElements"/>
18123                 </mixed>
18124             </element>
18125         </zeroOrMore>
18126     </define>
18127 </grammar>