Warning, /office/calligra/devtools/scripts/OpenDocument-v1.2-cs01-schema-calligra.rng is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!--
0003         Open Document Format for Office Applications (OpenDocument) Version 1.2
0004         Committee Specification (CS) 01, 17 March 2011
0005         Relax-NG Schema
0006 
0007         Copyright (c) OASIS Open 2002-2011. All Rights Reserved.
0008 
0009         All capitalized terms in the following text have the meanings assigned to them
0010         in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The
0011         full Policy may be found at the OASIS website.
0012 
0013         This document and translations of it may be copied and furnished to others, and
0014         derivative works that comment on or otherwise explain it or assist in its
0015         implementation may be prepared, copied, published, and distributed, in whole or
0016         in part, without restriction of any kind, provided that the above copyright
0017         notice and this section are included on all such copies and derivative works.
0018         However, this document itself may not be modified in any way, including by
0019         removing the copyright notice or references to OASIS, except as needed for the
0020         purpose of developing any document or deliverable produced by an OASIS
0021         Technical Committee (in which case the rules applicable to copyrights, as set
0022         forth in the OASIS IPR Policy, must be followed) or as required to translate it
0023         into languages other than English.
0024 
0025         The limited permissions granted above are perpetual and will not be revoked by
0026         OASIS or its successors or assigns.
0027 
0028         This document and the information contained herein is provided on an "AS IS"
0029         basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
0030         LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
0031         INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
0032         FITNESS FOR A PARTICULAR PURPOSE. 
0033 -->
0034 <grammar
0035         xmlns="http://relaxng.org/ns/structure/1.0"
0036 
0037         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
0038 
0039         xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
0040         xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
0041         xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
0042         xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
0043         xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
0044         xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
0045         xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
0046         xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
0047         xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
0048         xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
0049         xmlns:db="urn:oasis:names:tc:opendocument:xmlns:database:1.0"
0050         xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
0051         xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
0052         xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
0053         xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
0054 
0055         xmlns:dc="http://purl.org/dc/elements/1.1/"
0056         xmlns:xlink="http://www.w3.org/1999/xlink"
0057         xmlns:math="http://www.w3.org/1998/Math/MathML"
0058         xmlns:xforms="http://www.w3.org/2002/xforms"
0059         xmlns:grddl="http://www.w3.org/2003/g/data-view#"
0060         xmlns:xhtml="http://www.w3.org/1999/xhtml"
0061 
0062         xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
0063         xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
0064         xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
0065 
0066         xmlns:calligra="http://www.calligra.org/2005/"
0067 >
0068         <define name="office-process-content">
0069                 <optional>
0070                         <attribute name="office:process-content">
0071                                 <ref name="boolean"/>
0072                         </attribute>
0073                 </optional>
0074         </define>
0075         <start>
0076                 <choice>
0077                         <ref name="office-document"/>
0078                         <ref name="office-document-content"/>
0079                         <ref name="office-document-styles"/>
0080                         <ref name="office-document-meta"/>
0081                         <ref name="office-document-settings"/>
0082                 </choice>
0083         </start>
0084         <define name="office-document">
0085                 <element name="office:document">
0086                         <ref name="office-document-attrs"/>
0087                         <ref name="office-document-common-attrs"/>
0088                         <ref name="office-meta"/>
0089                         <ref name="office-settings"/>
0090                         <ref name="office-scripts"/>
0091                         <ref name="office-font-face-decls"/>
0092                         <ref name="office-styles"/>
0093                         <ref name="office-automatic-styles"/>
0094                         <ref name="office-master-styles"/>
0095                         <ref name="office-body"/>
0096                 </element>
0097         </define>
0098         <define name="office-document-content">
0099                 <element name="office:document-content">
0100                         <ref name="office-document-common-attrs"/>
0101                         <ref name="office-scripts"/>
0102                         <ref name="office-font-face-decls"/>
0103                         <ref name="office-automatic-styles"/>
0104                         <ref name="office-body"/>
0105                 </element>
0106         </define>
0107         <define name="office-document-styles">
0108                 <element name="office:document-styles">
0109                         <ref name="office-document-common-attrs"/>
0110                         <ref name="office-font-face-decls"/>
0111                         <ref name="office-styles"/>
0112                         <ref name="office-automatic-styles"/>
0113                         <ref name="office-master-styles"/>
0114                 </element>
0115         </define>
0116         <define name="office-document-meta">
0117                 <element name="office:document-meta">
0118                         <ref name="office-document-common-attrs"/>
0119                         <ref name="office-meta"/>
0120                 </element>
0121         </define>
0122         <define name="office-document-settings">
0123                 <element name="office:document-settings">
0124                         <ref name="office-document-common-attrs"/>
0125                         <ref name="office-settings"/>
0126                 </element>
0127         </define>
0128         <define name="office-document-common-attrs">
0129                 <interleave>
0130                         <attribute name="office:version">
0131                                 <value>1.2</value>
0132                         </attribute>
0133                         <optional>
0134                                 <attribute name="grddl:transformation">
0135                                         <list>
0136                                                 <zeroOrMore>
0137                                                         <ref name="anyIRI"/>
0138                                                 </zeroOrMore>
0139                                         </list>
0140                                 </attribute>
0141                         </optional>
0142                 </interleave>
0143         </define>
0144         <define name="office-document-attrs">
0145                 <attribute name="office:mimetype">
0146                         <ref name="string"/>
0147                 </attribute>
0148         </define>
0149         <define name="office-meta">
0150                 <optional>
0151                         <element name="office:meta">
0152                                 <ref name="office-meta-content-strict"/>
0153                         </element>
0154                 </optional>
0155         </define>
0156         <define name="office-meta-content-strict">
0157                 <zeroOrMore>
0158                         <ref name="office-meta-data"/>
0159                 </zeroOrMore>
0160         </define>
0161         <define name="office-body">
0162                 <element name="office:body">
0163                         <ref name="office-body-content"/>
0164                 </element>
0165         </define>
0166         <define name="office-body-content">
0167                 <choice>
0168                         <element name="office:text">
0169                                 <ref name="office-text-attlist"/>
0170                                 <ref name="office-text-content-prelude"/>
0171                                 <ref name="office-text-content-main"/>
0172                                 <ref name="office-text-content-epilogue"/>
0173                         </element>
0174                         <element name="office:drawing">
0175                                 <ref name="office-drawing-attlist"/>
0176                                 <ref name="office-drawing-content-prelude"/>
0177                                 <ref name="office-drawing-content-main"/>
0178                                 <ref name="office-drawing-content-epilogue"/>
0179                         </element>
0180                         <element name="office:presentation">
0181                                 <ref name="office-presentation-attlist"/>
0182                                 <ref name="office-presentation-content-prelude"/>
0183                                 <ref name="office-presentation-content-main"/>
0184                                 <ref name="office-presentation-content-epilogue"/>
0185                         </element>
0186                         <element name="office:spreadsheet">
0187                                 <ref name="office-spreadsheet-attlist"/>
0188                                 <ref name="office-spreadsheet-content-prelude"/>
0189                                 <ref name="office-spreadsheet-content-main"/>
0190                                 <ref name="office-spreadsheet-content-epilogue"/>
0191                         </element>
0192                         <element name="office:chart">
0193                                 <ref name="office-chart-attlist"/>
0194                                 <ref name="office-chart-content-prelude"/>
0195                                 <ref name="office-chart-content-main"/>
0196                                 <ref name="office-chart-content-epilogue"/>
0197                         </element>
0198                         <element name="office:image">
0199                                 <ref name="office-image-attlist"/>
0200                                 <ref name="office-image-content-prelude"/>
0201                                 <ref name="office-image-content-main"/>
0202                                 <ref name="office-image-content-epilogue"/>
0203                         </element>
0204                         <ref name="office-database"/>
0205                 </choice>
0206         </define>
0207         <define name="office-text-content-prelude">
0208                 <ref name="office-forms"/>
0209                 <ref name="text-tracked-changes"/>
0210                 <ref name="text-decls"/>
0211                 <ref name="table-decls"/>
0212         </define>
0213         <define name="office-text-content-main">
0214                 <choice>
0215                         <zeroOrMore>
0216                                 <ref name="text-content"/>
0217                         </zeroOrMore>
0218                         <group>
0219                                 <ref name="text-page-sequence"/>
0220                                 <zeroOrMore>
0221                                         <choice>
0222                                                 <ref name="shape"/>
0223                                         </choice>
0224                                 </zeroOrMore>
0225                         </group>
0226                 </choice>
0227         </define>
0228         <define name="text-content">
0229                 <choice>
0230                         <ref name="text-h"/>
0231                         <ref name="text-p"/>
0232                         <ref name="text-list"/>
0233                         <ref name="text-numbered-paragraph"/>
0234                         <ref name="table-table"/>
0235                         <ref name="text-section"/>
0236                         <ref name="text-soft-page-break"/>
0237                         <ref name="text-table-of-content"/>
0238                         <ref name="text-illustration-index"/>
0239                         <ref name="text-table-index"/>
0240                         <ref name="text-object-index"/>
0241                         <ref name="text-user-index"/>
0242                         <ref name="text-alphabetical-index"/>
0243                         <ref name="text-bibliography"/>
0244                         <ref name="shape"/>
0245                         <ref name="change-marks"/>
0246                 </choice>
0247         </define>
0248         <define name="office-text-content-epilogue">
0249                 <ref name="table-functions"/>
0250         </define>
0251         <define name="office-text-attlist">
0252                 <interleave>
0253                         <optional>
0254                                 <attribute name="text:global">
0255                                         <ref name="boolean"/>
0256                                 </attribute>
0257                         </optional>
0258                         <optional>
0259                                 <attribute name="text:use-soft-page-breaks">
0260                                         <ref name="boolean"/>
0261                                 </attribute>
0262                         </optional>
0263                 </interleave>
0264         </define>
0265         <define name="office-drawing-attlist">
0266                 <empty/>
0267         </define>
0268         <define name="office-drawing-content-prelude">
0269                 <ref name="text-decls"/>
0270                 <ref name="table-decls"/>
0271         </define>
0272         <define name="office-drawing-content-main">
0273                 <zeroOrMore>
0274                         <ref name="draw-page"/>
0275                 </zeroOrMore>
0276         </define>
0277         <define name="office-drawing-content-epilogue">
0278                 <ref name="table-functions"/>
0279         </define>
0280         <define name="office-presentation-attlist">
0281                 <empty/>
0282         </define>
0283         <define name="office-presentation-content-prelude">
0284                 <ref name="text-decls"/>
0285                 <ref name="table-decls"/>
0286                 <ref name="presentation-decls"/>
0287         </define>
0288         <define name="office-presentation-content-main">
0289                 <zeroOrMore>
0290                         <ref name="draw-page"/>
0291                 </zeroOrMore>
0292         </define>
0293         <define name="office-presentation-content-epilogue">
0294                 <ref name="presentation-settings"/>
0295                 <ref name="table-functions"/>
0296         </define>
0297         <define name="office-spreadsheet-content-prelude">
0298                 <optional>
0299                         <ref name="table-tracked-changes"/>
0300                 </optional>
0301                 <ref name="text-decls"/>
0302                 <ref name="table-decls"/>
0303         </define>
0304         <define name="table-decls">
0305                 <optional>
0306                         <ref name="table-calculation-settings"/>
0307                 </optional>
0308                 <optional>
0309                         <ref name="table-content-validations"/>
0310                 </optional>
0311                 <optional>
0312                         <ref name="table-label-ranges"/>
0313                 </optional>
0314         </define>
0315         <define name="office-spreadsheet-content-main">
0316                 <zeroOrMore>
0317                         <ref name="table-table"/>
0318                 </zeroOrMore>
0319         </define>
0320         <define name="office-spreadsheet-content-epilogue">
0321                 <ref name="table-functions"/>
0322         </define>
0323         <define name="table-functions">
0324                 <optional>
0325                         <ref name="table-named-expressions"/>
0326                 </optional>
0327                 <optional>
0328                         <ref name="table-database-ranges"/>
0329                 </optional>
0330                 <optional>
0331                         <ref name="table-data-pilot-tables"/>
0332                 </optional>
0333                 <optional>
0334                         <ref name="table-consolidation"/>
0335                 </optional>
0336                 <optional>
0337                         <ref name="table-dde-links"/>
0338                 </optional>
0339         </define>
0340         <define name="office-chart-attlist">
0341                 <empty/>
0342         </define>
0343         <define name="office-chart-content-prelude">
0344                 <ref name="text-decls"/>
0345                 <ref name="table-decls"/>
0346         </define>
0347         <define name="office-chart-content-main">
0348                 <ref name="chart-chart"/>
0349         </define>
0350         <define name="office-chart-content-epilogue">
0351                 <ref name="table-functions"/>
0352         </define>
0353         <define name="office-image-attlist">
0354                 <empty/>
0355         </define>
0356         <define name="office-image-content-prelude">
0357                 <empty/>
0358         </define>
0359         <define name="office-image-content-main">
0360                 <ref name="draw-frame"/>
0361         </define>
0362         <define name="office-image-content-epilogue">
0363                 <empty/>
0364         </define>
0365         <define name="office-settings">
0366                 <optional>
0367                         <element name="office:settings">
0368                                 <oneOrMore>
0369                                         <ref name="config-config-item-set"/>
0370                                 </oneOrMore>
0371                         </element>
0372                 </optional>
0373         </define>
0374         <define name="config-config-item-set">
0375                 <element name="config:config-item-set">
0376                         <ref name="config-config-item-set-attlist"/>
0377                         <ref name="config-items"/>
0378                 </element>
0379         </define>
0380         <define name="config-items">
0381                 <oneOrMore>
0382                         <choice>
0383                                 <ref name="config-config-item"/>
0384                                 <ref name="config-config-item-set"/>
0385                                 <ref name="config-config-item-map-named"/>
0386                                 <ref name="config-config-item-map-indexed"/>
0387                         </choice>
0388                 </oneOrMore>
0389         </define>
0390         <define name="config-config-item-set-attlist">
0391                 <attribute name="config:name">
0392                         <ref name="string"/>
0393                 </attribute>
0394         </define>
0395         <define name="config-config-item">
0396                 <element name="config:config-item">
0397                         <ref name="config-config-item-attlist"/>
0398                         <text/>
0399                 </element>
0400         </define>
0401         <define name="config-config-item-attlist">
0402                 <interleave>
0403                         <attribute name="config:name">
0404                                 <ref name="string"/>
0405                         </attribute>
0406                         <attribute name="config:type">
0407                                 <choice>
0408                                         <value>boolean</value>
0409                                         <value>short</value>
0410                                         <value>int</value>
0411                                         <value>long</value>
0412                                         <value>double</value>
0413                                         <value>string</value>
0414                                         <value>datetime</value>
0415                                         <value>base64Binary</value>
0416                                 </choice>
0417                         </attribute>
0418                 </interleave>
0419         </define>
0420         <define name="config-config-item-map-indexed">
0421                 <element name="config:config-item-map-indexed">
0422                         <ref name="config-config-item-map-indexed-attlist"/>
0423                         <oneOrMore>
0424                                 <ref name="config-config-item-map-entry"/>
0425                         </oneOrMore>
0426                 </element>
0427         </define>
0428         <define name="config-config-item-map-indexed-attlist">
0429                 <attribute name="config:name">
0430                         <ref name="string"/>
0431                 </attribute>
0432         </define>
0433         <define name="config-config-item-map-entry">
0434                 <element name="config:config-item-map-entry">
0435                         <ref name="config-config-item-map-entry-attlist"/>
0436                         <ref name="config-items"/>
0437                 </element>
0438         </define>
0439         <define name="config-config-item-map-entry-attlist">
0440                 <optional>
0441                         <attribute name="config:name">
0442                                 <ref name="string"/>
0443                         </attribute>
0444                 </optional>
0445         </define>
0446         <define name="config-config-item-map-named">
0447                 <element name="config:config-item-map-named">
0448                         <ref name="config-config-item-map-named-attlist"/>
0449                         <oneOrMore>
0450                                 <ref name="config-config-item-map-entry"/>
0451                         </oneOrMore>
0452                 </element>
0453         </define>
0454         <define name="config-config-item-map-named-attlist">
0455                 <attribute name="config:name">
0456                         <ref name="string"/>
0457                 </attribute>
0458         </define>
0459         <define name="office-scripts">
0460                 <optional>
0461                         <element name="office:scripts">
0462                                 <zeroOrMore>
0463                                         <ref name="office-script"/>
0464                                 </zeroOrMore>
0465                                 <optional>
0466                                         <ref name="office-event-listeners"/>
0467                                 </optional>
0468                         </element>
0469                 </optional>
0470         </define>
0471         <define name="office-script">
0472                 <element name="office:script">
0473                         <ref name="office-script-attlist"/>
0474                         <mixed>
0475                                 <ref name="anyElements"/>
0476                         </mixed>
0477                 </element>
0478         </define>
0479         <define name="office-script-attlist">
0480                 <attribute name="script:language">
0481                         <ref name="string"/>
0482                 </attribute>
0483         </define>
0484         <define name="office-font-face-decls">
0485                 <optional>
0486                         <element name="office:font-face-decls">
0487                                 <zeroOrMore>
0488                                         <ref name="style-font-face"/>
0489                                 </zeroOrMore>
0490                         </element>
0491                 </optional>
0492         </define>
0493         <define name="office-styles">
0494                 <optional>
0495                         <element name="office:styles">
0496                                 <interleave>
0497                                         <ref name="styles"/>
0498                                         <zeroOrMore>
0499                                                 <ref name="style-default-style"/>
0500                                         </zeroOrMore>
0501                                         <optional>
0502                                                 <ref name="style-default-page-layout"/>
0503                                         </optional>
0504                                         <optional>
0505                                                 <ref name="text-outline-style"/>
0506                                         </optional>
0507                                         <zeroOrMore>
0508                                                 <ref name="text-notes-configuration"/>
0509                                         </zeroOrMore>
0510                                         <optional>
0511                                                 <ref name="text-bibliography-configuration"/>
0512                                         </optional>
0513                                         <optional>
0514                                                 <ref name="text-linenumbering-configuration"/>
0515                                         </optional>
0516                                         <zeroOrMore>
0517                                                 <ref name="draw-gradient"/>
0518                                         </zeroOrMore>
0519                                         <zeroOrMore>
0520                                                 <ref name="svg-linearGradient"/>
0521                                         </zeroOrMore>
0522                                         <zeroOrMore>
0523                                                 <ref name="svg-radialGradient"/>
0524                                         </zeroOrMore>
0525                                         <zeroOrMore>
0526                                                 <ref name="draw-hatch"/>
0527                                         </zeroOrMore>
0528                                         <zeroOrMore>
0529                                                 <ref name="draw-fill-image"/>
0530                                         </zeroOrMore>
0531                                         <zeroOrMore>
0532                                                 <ref name="draw-marker"/>
0533                                         </zeroOrMore>
0534                                         <zeroOrMore>
0535                                                 <ref name="draw-stroke-dash"/>
0536                                         </zeroOrMore>
0537                                         <zeroOrMore>
0538                                                 <ref name="draw-opacity"/>
0539                                         </zeroOrMore>
0540                                         <zeroOrMore>
0541                                                 <ref name="style-presentation-page-layout"/>
0542                                         </zeroOrMore>
0543                                         <zeroOrMore>
0544                                                 <ref name="table-table-template"/>
0545                                         </zeroOrMore>
0546                                 </interleave>
0547                         </element>
0548                 </optional>
0549         </define>
0550         <define name="office-automatic-styles">
0551                 <optional>
0552                         <element name="office:automatic-styles">
0553                                 <interleave>
0554                                         <ref name="styles"/>
0555                                         <zeroOrMore>
0556                                                 <ref name="style-page-layout"/>
0557                                         </zeroOrMore>
0558                                 </interleave>
0559                         </element>
0560                 </optional>
0561         </define>
0562         <define name="office-master-styles">
0563                 <optional>
0564                         <element name="office:master-styles">
0565                                 <interleave>
0566                                         <zeroOrMore>
0567                                                 <ref name="style-master-page"/>
0568                                         </zeroOrMore>
0569                                         <optional>
0570                                                 <ref name="style-handout-master"/>
0571                                         </optional>
0572                                         <optional>
0573                                                 <ref name="draw-layer-set"/>
0574                                         </optional>
0575                                 </interleave>
0576                         </element>
0577                 </optional>
0578         </define>
0579         <define name="styles">
0580                 <interleave>
0581                         <zeroOrMore>
0582                                 <ref name="style-style"/>
0583                         </zeroOrMore>
0584                         <zeroOrMore>
0585                                 <ref name="text-list-style"/>
0586                         </zeroOrMore>
0587                         <zeroOrMore>
0588                                 <ref name="number-number-style"/>
0589                         </zeroOrMore>
0590                         <zeroOrMore>
0591                                 <ref name="number-currency-style"/>
0592                         </zeroOrMore>
0593                         <zeroOrMore>
0594                                 <ref name="number-percentage-style"/>
0595                         </zeroOrMore>
0596                         <zeroOrMore>
0597                                 <ref name="number-date-style"/>
0598                         </zeroOrMore>
0599                         <zeroOrMore>
0600                                 <ref name="number-time-style"/>
0601                         </zeroOrMore>
0602                         <zeroOrMore>
0603                                 <ref name="number-boolean-style"/>
0604                         </zeroOrMore>
0605                         <zeroOrMore>
0606                                 <ref name="number-text-style"/>
0607                         </zeroOrMore>
0608                 </interleave>
0609         </define>
0610         <define name="office-meta-data">
0611                 <choice>
0612                         <element name="meta:generator">
0613                                 <ref name="string"/>
0614                         </element>
0615                         <element name="dc:title">
0616                                 <ref name="string"/>
0617                         </element>
0618                         <element name="dc:description">
0619                                 <ref name="string"/>
0620                         </element>
0621                         <element name="dc:subject">
0622                                 <ref name="string"/>
0623                         </element>
0624                         <element name="meta:keyword">
0625                                 <ref name="string"/>
0626                         </element>
0627                         <element name="meta:initial-creator">
0628                                 <ref name="string"/>
0629                         </element>
0630                         <ref name="dc-creator"/>
0631                         <element name="meta:printed-by">
0632                                 <ref name="string"/>
0633                         </element>
0634                         <element name="meta:creation-date">
0635                                 <ref name="dateTime"/>
0636                         </element>
0637                         <ref name="dc-date"/>
0638                         <element name="meta:print-date">
0639                                 <ref name="dateTime"/>
0640                         </element>
0641                         <element name="meta:template">
0642                                 <attribute name="xlink:type">
0643                                         <value>simple</value>
0644                                 </attribute>
0645                                 <attribute name="xlink:href">
0646                                         <ref name="anyIRI"/>
0647                                 </attribute>
0648                                 <optional>
0649                                         <attribute name="xlink:actuate">
0650                                                 <value>onRequest</value>
0651                                         </attribute>
0652                                 </optional>
0653                                 <optional>
0654                                         <attribute name="xlink:title">
0655                                                 <ref name="string"/>
0656                                         </attribute>
0657                                 </optional>
0658                                 <optional>
0659                                         <attribute name="meta:date">
0660                                                 <ref name="dateTime"/>
0661                                         </attribute>
0662                                 </optional>
0663                         </element>
0664                         <element name="meta:auto-reload">
0665                                 <optional>
0666                                         <attribute name="xlink:type">
0667                                                 <value>simple</value>
0668                                         </attribute>
0669                                         <attribute name="xlink:href">
0670                                                 <ref name="anyIRI"/>
0671                                         </attribute>
0672                                         <optional>
0673                                                 <attribute name="xlink:show">
0674                                                         <value>replace</value>
0675                                                 </attribute>
0676                                         </optional>
0677                                         <optional>
0678                                                 <attribute name="xlink:actuate">
0679                                                         <value>onLoad</value>
0680                                                 </attribute>
0681                                         </optional>
0682                                 </optional>
0683                                 <optional>
0684                                         <attribute name="meta:delay">
0685                                                 <ref name="duration"/>
0686                                         </attribute>
0687                                 </optional>
0688                         </element>
0689                         <element name="meta:hyperlink-behaviour">
0690                                 <optional>
0691                                         <attribute name="office:target-frame-name">
0692                                                 <ref name="targetFrameName"/>
0693                                         </attribute>
0694                                 </optional>
0695                                 <optional>
0696                                         <attribute name="xlink:show">
0697                                                 <choice>
0698                                                         <value>new</value>
0699                                                         <value>replace</value>
0700                                                 </choice>
0701                                         </attribute>
0702                                 </optional>
0703                         </element>
0704                         <element name="dc:language">
0705                                 <ref name="language"/>
0706                         </element>
0707                         <element name="meta:editing-cycles">
0708                                 <ref name="nonNegativeInteger"/>
0709                         </element>
0710                         <element name="meta:editing-duration">
0711                                 <ref name="duration"/>
0712                         </element>
0713                         <element name="meta:document-statistic">
0714                                 <optional>
0715                                         <attribute name="meta:page-count">
0716                                                 <ref name="nonNegativeInteger"/>
0717                                         </attribute>
0718                                 </optional>
0719                                 <optional>
0720                                         <attribute name="meta:table-count">
0721                                                 <ref name="nonNegativeInteger"/>
0722                                         </attribute>
0723                                 </optional>
0724                                 <optional>
0725                                         <attribute name="meta:draw-count">
0726                                                 <ref name="nonNegativeInteger"/>
0727                                         </attribute>
0728                                 </optional>
0729                                 <optional>
0730                                         <attribute name="meta:image-count">
0731                                                 <ref name="nonNegativeInteger"/>
0732                                         </attribute>
0733                                 </optional>
0734                                 <optional>
0735                                         <attribute name="meta:ole-object-count">
0736                                                 <ref name="nonNegativeInteger"/>
0737                                         </attribute>
0738                                 </optional>
0739                                 <optional>
0740                                         <attribute name="meta:object-count">
0741                                                 <ref name="nonNegativeInteger"/>
0742                                         </attribute>
0743                                 </optional>
0744                                 <optional>
0745                                         <attribute name="meta:paragraph-count">
0746                                                 <ref name="nonNegativeInteger"/>
0747                                         </attribute>
0748                                 </optional>
0749                                 <optional>
0750                                         <attribute name="meta:word-count">
0751                                                 <ref name="nonNegativeInteger"/>
0752                                         </attribute>
0753                                 </optional>
0754                                 <optional>
0755                                         <attribute name="meta:character-count">
0756                                                 <ref name="nonNegativeInteger"/>
0757                                         </attribute>
0758                                 </optional>
0759                                 <optional>
0760                                         <attribute name="meta:frame-count">
0761                                                 <ref name="nonNegativeInteger"/>
0762                                         </attribute>
0763                                 </optional>
0764                                 <optional>
0765                                         <attribute name="meta:sentence-count">
0766                                                 <ref name="nonNegativeInteger"/>
0767                                         </attribute>
0768                                 </optional>
0769                                 <optional>
0770                                         <attribute name="meta:syllable-count">
0771                                                 <ref name="nonNegativeInteger"/>
0772                                         </attribute>
0773                                 </optional>
0774                                 <optional>
0775                                         <attribute name="meta:non-whitespace-character-count">
0776                                                 <ref name="nonNegativeInteger"/>
0777                                         </attribute>
0778                                 </optional>
0779                                 <optional>
0780                                         <attribute name="meta:row-count">
0781                                                 <ref name="nonNegativeInteger"/>
0782                                         </attribute>
0783                                 </optional>
0784                                 <optional>
0785                                         <attribute name="meta:cell-count">
0786                                                 <ref name="nonNegativeInteger"/>
0787                                         </attribute>
0788                                 </optional>
0789                         </element>
0790                         <element name="meta:user-defined">
0791                                 <attribute name="meta:name">
0792                                         <ref name="string"/>
0793                                 </attribute>
0794                                 <choice>
0795                                         <group>
0796                                                 <attribute name="meta:value-type">
0797                                                         <value>float</value>
0798                                                 </attribute>
0799                                                 <ref name="double"/>
0800                                         </group>
0801                                         <group>
0802                                                 <attribute name="meta:value-type">
0803                                                         <value>date</value>
0804                                                 </attribute>
0805                                                 <ref name="dateOrDateTime"/>
0806                                         </group>
0807                                         <group>
0808                                                 <attribute name="meta:value-type">
0809                                                         <value>time</value>
0810                                                 </attribute>
0811                                                 <ref name="duration"/>
0812                                         </group>
0813                                         <group>
0814                                                 <attribute name="meta:value-type">
0815                                                         <value>boolean</value>
0816                                                 </attribute>
0817                                                 <ref name="boolean"/>
0818                                         </group>
0819                                         <group>
0820                                                 <attribute name="meta:value-type">
0821                                                         <value>string</value>
0822                                                 </attribute>
0823                                                 <ref name="string"/>
0824                                         </group>
0825                                         <text/>
0826                                 </choice>
0827                         </element>
0828                 </choice>
0829         </define>
0830         <define name="dc-creator">
0831                 <element name="dc:creator">
0832                         <ref name="string"/>
0833                 </element>
0834         </define>
0835         <define name="dc-date">
0836                 <element name="dc:date">
0837                         <ref name="dateTime"/>
0838                 </element>
0839         </define>
0840         <define name="text-h">
0841                 <element name="text:h">
0842                         <ref name="heading-attrs"/>
0843                         <ref name="paragraph-attrs"/>
0844                         <optional>
0845                                 <ref name="text-number"/>
0846                         </optional>
0847                         <zeroOrMore>
0848                                 <ref name="paragraph-content-or-hyperlink"/>
0849                         </zeroOrMore>
0850                 </element>
0851         </define>
0852         <define name="heading-attrs">
0853                 <interleave>
0854                         <attribute name="text:outline-level">
0855                                 <ref name="positiveInteger"/>
0856                         </attribute>
0857                         <optional>
0858                                 <attribute name="text:restart-numbering">
0859                                         <ref name="boolean"/>
0860                                 </attribute>
0861                         </optional>
0862                         <optional>
0863                                 <attribute name="text:start-value">
0864                                         <ref name="nonNegativeInteger"/>
0865                                 </attribute>
0866                         </optional>
0867                         <optional>
0868                                 <attribute name="text:is-list-header">
0869                                         <ref name="boolean"/>
0870                                 </attribute>
0871                         </optional>
0872                 </interleave>
0873         </define>
0874         <define name="text-number">
0875                 <element name="text:number">
0876                         <ref name="string"/>
0877                 </element>
0878         </define>
0879         <define name="text-p">
0880                 <element name="text:p">
0881                         <ref name="paragraph-attrs"/>
0882                         <zeroOrMore>
0883                                 <ref name="paragraph-content-or-hyperlink"/>
0884                         </zeroOrMore>
0885                 </element>
0886         </define>
0887         <define name="paragraph-attrs">
0888                 <interleave>
0889                         <optional>
0890                                 <attribute name="text:style-name">
0891                                         <ref name="styleNameRef"/>
0892                                 </attribute>
0893                         </optional>
0894                         <optional>
0895                                 <attribute name="text:class-names">
0896                                         <ref name="styleNameRefs"/>
0897                                 </attribute>
0898                         </optional>
0899                         <optional>
0900                                 <attribute name="text:cond-style-name">
0901                                         <ref name="styleNameRef"/>
0902                                 </attribute>
0903                         </optional>
0904                         <optional>
0905                                 <group>
0906                                         <ref name="xml-id"/>
0907                                         <optional>
0908                                                 <attribute name="text:id">
0909                                                         <ref name="NCName"/>
0910                                                 </attribute>
0911                                         </optional>
0912                                 </group>
0913                         </optional>
0914                         <optional>
0915                                 <ref name="common-in-content-meta-attlist"/>
0916                         </optional>
0917                 </interleave>
0918         </define>
0919         <define name="text-page-sequence">
0920                 <element name="text:page-sequence">
0921                         <oneOrMore>
0922                                 <ref name="text-page"/>
0923                         </oneOrMore>
0924                 </element>
0925         </define>
0926         <define name="text-page">
0927                 <element name="text:page">
0928                         <ref name="text-page-attlist"/>
0929                         <empty/>
0930                 </element>
0931         </define>
0932         <define name="text-page-attlist">
0933                 <attribute name="text:master-page-name">
0934                         <ref name="styleNameRef"/>
0935                 </attribute>
0936         </define>
0937         <define name="text-list">
0938                 <element name="text:list">
0939                         <ref name="text-list-attr"/>
0940                         <optional>
0941                                 <ref name="text-list-header"/>
0942                         </optional>
0943                         <zeroOrMore>
0944                                 <ref name="text-list-item"/>
0945                         </zeroOrMore>
0946                 </element>
0947         </define>
0948         <define name="text-list-attr">
0949                 <interleave>
0950                         <optional>
0951                                 <attribute name="text:style-name">
0952                                         <ref name="styleNameRef"/>
0953                                 </attribute>
0954                         </optional>
0955                         <optional>
0956                                 <attribute name="text:continue-numbering">
0957                                         <ref name="boolean"/>
0958                                 </attribute>
0959                         </optional>
0960                         <optional>
0961                                 <attribute name="text:continue-list">
0962                                         <ref name="IDREF"/>
0963                                 </attribute>
0964                         </optional>
0965                         <optional>
0966                                 <ref name="xml-id"/>
0967                         </optional>
0968                 </interleave>
0969         </define>
0970         <define name="text-list-item">
0971                 <element name="text:list-item">
0972                         <ref name="text-list-item-attr"/>
0973                         <ref name="text-list-item-content"/>
0974                 </element>
0975         </define>
0976         <define name="text-list-item-content">
0977                 <optional>
0978                         <ref name="text-number"/>
0979                 </optional>
0980                 <zeroOrMore>
0981                         <choice>
0982                                 <ref name="text-p"/>
0983                                 <ref name="text-h"/>
0984                                 <ref name="text-list"/>
0985                                 <ref name="text-soft-page-break"/>
0986                         </choice>
0987                 </zeroOrMore>
0988         </define>
0989         <define name="text-list-item-attr">
0990                 <interleave>
0991                         <optional>
0992                                 <attribute name="text:start-value">
0993                                         <ref name="nonNegativeInteger"/>
0994                                 </attribute>
0995                         </optional>
0996                         <optional>
0997                                 <attribute name="text:style-override">
0998                                         <ref name="styleNameRef"/>
0999                                 </attribute>
1000                         </optional>
1001                         <optional>
1002                                 <ref name="xml-id"/>
1003                         </optional>
1004                 </interleave>
1005         </define>
1006         <define name="text-list-header">
1007                 <element name="text:list-header">
1008                         <ref name="text-list-header-attr"/>
1009                         <ref name="text-list-item-content"/>
1010                 </element>
1011         </define>
1012         <define name="text-list-header-attr">
1013                 <optional>
1014                         <ref name="xml-id"/>
1015                 </optional>
1016         </define>
1017         <define name="text-numbered-paragraph">
1018                 <element name="text:numbered-paragraph">
1019                         <ref name="text-numbered-paragraph-attr"/>
1020                         <optional>
1021                                 <ref name="text-number"/>
1022                         </optional>
1023                         <choice>
1024                                 <ref name="text-p"/>
1025                                 <ref name="text-h"/>
1026                         </choice>
1027                 </element>
1028         </define>
1029         <define name="text-numbered-paragraph-attr">
1030                 <interleave>
1031                         <attribute name="text:list-id">
1032                                 <ref name="NCName"/>
1033                         </attribute>
1034                         <optional>
1035                                 <attribute name="text:level">
1036                                         <ref name="positiveInteger"/>
1037                                 </attribute>
1038                         </optional>
1039                         <optional>
1040                                 <attribute name="text:style-name">
1041                                         <ref name="styleNameRef"/>
1042                                 </attribute>
1043                                 <attribute name="text:continue-numbering">
1044                                         <ref name="boolean"/>
1045                                 </attribute>
1046                                 <attribute name="text:start-value">
1047                                         <ref name="nonNegativeInteger"/>
1048                                 </attribute>
1049                         </optional>
1050                         <optional>
1051                                 <ref name="xml-id"/>
1052                         </optional>
1053                 </interleave>
1054         </define>
1055         <define name="text-section">
1056                 <element name="text:section">
1057                         <ref name="text-section-attlist"/>
1058                         <choice>
1059                                 <ref name="text-section-source"/>
1060                                 <ref name="text-section-source-dde"/>
1061                                 <empty/>
1062                         </choice>
1063                         <zeroOrMore>
1064                                 <ref name="text-content"/>
1065                         </zeroOrMore>
1066                 </element>
1067         </define>
1068         <define name="text-section-attlist">
1069                 <interleave>
1070                         <ref name="common-section-attlist"/>
1071                         <choice>
1072                                 <attribute name="text:display">
1073                                         <choice>
1074                                                 <value>true</value>
1075                                                 <value>none</value>
1076                                         </choice>
1077                                 </attribute>
1078                                 <group>
1079                                         <attribute name="text:display">
1080                                                 <value>condition</value>
1081                                         </attribute>
1082                                         <attribute name="text:condition">
1083                                                 <ref name="string"/>
1084                                         </attribute>
1085                                 </group>
1086                                 <empty/>
1087                         </choice>
1088                 </interleave>
1089         </define>
1090         <define name="common-section-attlist">
1091                 <interleave>
1092                         <optional>
1093                                 <attribute name="text:style-name">
1094                                         <ref name="styleNameRef"/>
1095                                 </attribute>
1096                         </optional>
1097                         <attribute name="text:name">
1098                                 <ref name="string"/>
1099                         </attribute>
1100                         <optional>
1101                                 <attribute name="text:protected">
1102                                         <ref name="boolean"/>
1103                                 </attribute>
1104                         </optional>
1105                         <optional>
1106                                 <attribute name="text:protection-key">
1107                                         <ref name="string"/>
1108                                 </attribute>
1109                         </optional>
1110                         <optional>
1111                                 <attribute name="text:protection-key-digest-algorithm">
1112                                         <ref name="anyIRI"/>
1113                                 </attribute>
1114                         </optional>
1115                         <optional>
1116                                 <ref name="xml-id"/>
1117                         </optional>
1118                 </interleave>
1119         </define>
1120         <define name="text-section-source">
1121                 <element name="text:section-source">
1122                         <ref name="text-section-source-attr"/>
1123                 </element>
1124         </define>
1125         <define name="text-section-source-attr">
1126                 <interleave>
1127                         <optional>
1128                                 <attribute name="xlink:type">
1129                                         <value>simple</value>
1130                                 </attribute>
1131                                 <attribute name="xlink:href">
1132                                         <ref name="anyIRI"/>
1133                                 </attribute>
1134                                 <optional>
1135                                         <attribute name="xlink:show">
1136                                                 <value>embed</value>
1137                                         </attribute>
1138                                 </optional>
1139                         </optional>
1140                         <optional>
1141                                 <attribute name="text:section-name">
1142                                         <ref name="string"/>
1143                                 </attribute>
1144                         </optional>
1145                         <optional>
1146                                 <attribute name="text:filter-name">
1147                                         <ref name="string"/>
1148                                 </attribute>
1149                         </optional>
1150                 </interleave>
1151         </define>
1152         <define name="text-section-source-dde">
1153                 <ref name="office-dde-source"/>
1154         </define>
1155         <define name="text-tracked-changes">
1156                 <optional>
1157                         <element name="text:tracked-changes">
1158                                 <ref name="text-tracked-changes-attr"/>
1159                                 <zeroOrMore>
1160                                         <ref name="text-changed-region"/>
1161                                 </zeroOrMore>
1162                         </element>
1163                 </optional>
1164         </define>
1165         <define name="text-tracked-changes-attr">
1166                 <optional>
1167                         <attribute name="text:track-changes">
1168                                 <ref name="boolean"/>
1169                         </attribute>
1170                 </optional>
1171         </define>
1172         <define name="text-changed-region">
1173                 <element name="text:changed-region">
1174                         <ref name="text-changed-region-attr"/>
1175                         <ref name="text-changed-region-content"/>
1176                 </element>
1177         </define>
1178         <define name="text-changed-region-attr">
1179                 <group>
1180                         <ref name="xml-id"/>
1181                         <optional>
1182                                 <attribute name="text:id">
1183                                         <ref name="NCName"/>
1184                                 </attribute>
1185                         </optional>
1186                 </group>
1187         </define>
1188         <define name="text-changed-region-content">
1189                 <choice>
1190                         <element name="text:insertion">
1191                                 <ref name="office-change-info"/>
1192                         </element>
1193                         <element name="text:deletion">
1194                                 <ref name="office-change-info"/>
1195                                 <zeroOrMore>
1196                                         <ref name="text-content"/>
1197                                 </zeroOrMore>
1198                         </element>
1199                         <element name="text:format-change">
1200                                 <ref name="office-change-info"/>
1201                         </element>
1202                 </choice>
1203         </define>
1204         <define name="change-marks">
1205                 <choice>
1206                         <element name="text:change">
1207                                 <ref name="change-mark-attr"/>
1208                         </element>
1209                         <element name="text:change-start">
1210                                 <ref name="change-mark-attr"/>
1211                         </element>
1212                         <element name="text:change-end">
1213                                 <ref name="change-mark-attr"/>
1214                         </element>
1215                 </choice>
1216         </define>
1217         <define name="change-mark-attr">
1218                 <attribute name="text:change-id">
1219                         <ref name="IDREF"/>
1220                 </attribute>
1221         </define>
1222         <define name="text-soft-page-break">
1223                 <element name="text:soft-page-break">
1224                         <empty/>
1225                 </element>
1226         </define>
1227         <define name="text-decls">
1228                 <optional>
1229                         <element name="text:variable-decls">
1230                                 <zeroOrMore>
1231                                         <ref name="text-variable-decl"/>
1232                                 </zeroOrMore>
1233                         </element>
1234                 </optional>
1235                 <optional>
1236                         <element name="text:sequence-decls">
1237                                 <zeroOrMore>
1238                                         <ref name="text-sequence-decl"/>
1239                                 </zeroOrMore>
1240                         </element>
1241                 </optional>
1242                 <optional>
1243                         <element name="text:user-field-decls">
1244                                 <zeroOrMore>
1245                                         <ref name="text-user-field-decl"/>
1246                                 </zeroOrMore>
1247                         </element>
1248                 </optional>
1249                 <optional>
1250                         <element name="text:dde-connection-decls">
1251                                 <zeroOrMore>
1252                                         <ref name="text-dde-connection-decl"/>
1253                                 </zeroOrMore>
1254                         </element>
1255                 </optional>
1256                 <optional>
1257                         <ref name="text-alphabetical-index-auto-mark-file"/>
1258                 </optional>
1259         </define>
1260         <define name="paragraph-content-or-hyperlink">
1261                 <choice>
1262                         <ref name="paragraph-content"/>
1263                         <ref name="text-a"/>
1264                 </choice>
1265         </define>
1266         <define name="paragraph-content">
1267                 <choice>
1268                         <text/>
1269                         <element name="text:s">
1270                                 <optional>
1271                                         <attribute name="text:c">
1272                                                 <ref name="nonNegativeInteger"/>
1273                                         </attribute>
1274                                 </optional>
1275                         </element>
1276                         <element name="text:tab">
1277                                 <ref name="text-tab-attr"/>
1278                         </element>
1279                         <element name="text:line-break">
1280                                 <empty/>
1281                         </element>
1282                         <ref name="text-soft-page-break"/>
1283                         <element name="text:span">
1284                                 <optional>
1285                                         <attribute name="text:style-name">
1286                                                 <ref name="styleNameRef"/>
1287                                         </attribute>
1288                                 </optional>
1289                                 <optional>
1290                                         <attribute name="text:class-names">
1291                                                 <ref name="styleNameRefs"/>
1292                                         </attribute>
1293                                 </optional>
1294                                 <zeroOrMore>
1295                                         <ref name="paragraph-content-or-hyperlink"/>
1296                                 </zeroOrMore>
1297                         </element>
1298                         <element name="text:meta">
1299                                 <ref name="text-meta-attlist"/>
1300                                 <zeroOrMore>
1301                                         <ref name="paragraph-content-or-hyperlink"/>
1302                                 </zeroOrMore>
1303                         </element>
1304                         <choice>
1305                                 <ref name="text-bookmark"/>
1306                                 <ref name="text-bookmark-start"/>
1307                                 <ref name="text-bookmark-end"/>
1308                         </choice>
1309                         <element name="text:reference-mark">
1310                                 <attribute name="text:name">
1311                                         <ref name="string"/>
1312                                 </attribute>
1313                         </element>
1314                         <choice>
1315                                 <element name="text:reference-mark-start">
1316                                         <attribute name="text:name">
1317                                                 <ref name="string"/>
1318                                         </attribute>
1319                                 </element>
1320                                 <element name="text:reference-mark-end">
1321                                         <attribute name="text:name">
1322                                                 <ref name="string"/>
1323                                         </attribute>
1324                                 </element>
1325                         </choice>
1326                         <element name="text:note">
1327                                 <ref name="text-note-class"/>
1328                                 <optional>
1329                                         <attribute name="text:id">
1330                                                 <ref name="string"/>
1331                                         </attribute>
1332                                 </optional>
1333                                 <element name="text:note-citation">
1334                                         <optional>
1335                                                 <attribute name="text:label">
1336                                                         <ref name="string"/>
1337                                                 </attribute>
1338                                         </optional>
1339                                         <text/>
1340                                 </element>
1341                                 <element name="text:note-body">
1342                                         <zeroOrMore>
1343                                                 <ref name="text-content"/>
1344                                         </zeroOrMore>
1345                                 </element>
1346                         </element>
1347                         <element name="text:ruby">
1348                                 <optional>
1349                                         <attribute name="text:style-name">
1350                                                 <ref name="styleNameRef"/>
1351                                         </attribute>
1352                                 </optional>
1353                                 <element name="text:ruby-base">
1354                                         <zeroOrMore>
1355                                                 <ref name="paragraph-content-or-hyperlink"/>
1356                                         </zeroOrMore>
1357                                 </element>
1358                                 <element name="text:ruby-text">
1359                                         <optional>
1360                                                 <attribute name="text:style-name">
1361                                                         <ref name="styleNameRef"/>
1362                                                 </attribute>
1363                                         </optional>
1364                                         <text/>
1365                                 </element>
1366                         </element>
1367                         <choice>
1368                                 <ref name="office-annotation"/>
1369                                 <ref name="office-annotation-end"/>
1370                         </choice>
1371                         <ref name="change-marks"/>
1372                         <ref name="shape"/>
1373                         <element name="text:date">
1374                                 <ref name="text-date-attlist"/>
1375                                 <text/>
1376                         </element>
1377                         <element name="text:time">
1378                                 <ref name="text-time-attlist"/>
1379                                 <text/>
1380                         </element>
1381                         <element name="text:page-number">
1382                                 <ref name="text-page-number-attlist"/>
1383                                 <text/>
1384                         </element>
1385                         <element name="text:page-continuation">
1386                                 <ref name="text-page-continuation-attlist"/>
1387                                 <text/>
1388                         </element>
1389                         <element name="text:sender-firstname">
1390                                 <ref name="common-field-fixed-attlist"/>
1391                                 <text/>
1392                         </element>
1393                         <element name="text:sender-lastname">
1394                                 <ref name="common-field-fixed-attlist"/>
1395                                 <text/>
1396                         </element>
1397                         <element name="text:sender-initials">
1398                                 <ref name="common-field-fixed-attlist"/>
1399                                 <text/>
1400                         </element>
1401                         <element name="text:sender-title">
1402                                 <ref name="common-field-fixed-attlist"/>
1403                                 <text/>
1404                         </element>
1405                         <element name="text:sender-position">
1406                                 <ref name="common-field-fixed-attlist"/>
1407                                 <text/>
1408                         </element>
1409                         <element name="text:sender-email">
1410                                 <ref name="common-field-fixed-attlist"/>
1411                                 <text/>
1412                         </element>
1413                         <element name="text:sender-phone-private">
1414                                 <ref name="common-field-fixed-attlist"/>
1415                                 <text/>
1416                         </element>
1417                         <element name="text:sender-fax">
1418                                 <ref name="common-field-fixed-attlist"/>
1419                                 <text/>
1420                         </element>
1421                         <element name="text:sender-company">
1422                                 <ref name="common-field-fixed-attlist"/>
1423                                 <text/>
1424                         </element>
1425                         <element name="text:sender-phone-work">
1426                                 <ref name="common-field-fixed-attlist"/>
1427                                 <text/>
1428                         </element>
1429                         <element name="text:sender-street">
1430                                 <ref name="common-field-fixed-attlist"/>
1431                                 <text/>
1432                         </element>
1433                         <element name="text:sender-city">
1434                                 <ref name="common-field-fixed-attlist"/>
1435                                 <text/>
1436                         </element>
1437                         <element name="text:sender-postal-code">
1438                                 <ref name="common-field-fixed-attlist"/>
1439                                 <text/>
1440                         </element>
1441                         <element name="text:sender-country">
1442                                 <ref name="common-field-fixed-attlist"/>
1443                                 <text/>
1444                         </element>
1445                         <element name="text:sender-state-or-province">
1446                                 <ref name="common-field-fixed-attlist"/>
1447                                 <text/>
1448                         </element>
1449                         <element name="text:author-name">
1450                                 <ref name="common-field-fixed-attlist"/>
1451                                 <text/>
1452                         </element>
1453                         <element name="text:author-initials">
1454                                 <ref name="common-field-fixed-attlist"/>
1455                                 <text/>
1456                         </element>
1457                         <element name="text:chapter">
1458                                 <ref name="text-chapter-attlist"/>
1459                                 <text/>
1460                         </element>
1461                         <element name="text:file-name">
1462                                 <ref name="text-file-name-attlist"/>
1463                                 <text/>
1464                         </element>
1465                         <element name="text:template-name">
1466                                 <ref name="text-template-name-attlist"/>
1467                                 <text/>
1468                         </element>
1469                         <element name="text:sheet-name">
1470                                 <text/>
1471                         </element>
1472                         <element name="text:variable-set">
1473                                 <interleave>
1474                                         <ref name="common-field-name-attlist"/>
1475                                         <ref name="common-field-formula-attlist"/>
1476                                         <ref name="common-value-and-type-attlist"/>
1477                                         <ref name="common-field-display-value-none-attlist"/>
1478                                         <ref name="common-field-data-style-name-attlist"/>
1479                                 </interleave>
1480                                 <text/>
1481                         </element>
1482                         <element name="text:variable-get">
1483                                 <interleave>
1484                                         <ref name="common-field-name-attlist"/>
1485                                         <ref name="common-field-display-value-formula-attlist"/>
1486                                         <ref name="common-field-data-style-name-attlist"/>
1487                                 </interleave>
1488                                 <text/>
1489                         </element>
1490                         <element name="text:variable-input">
1491                                 <interleave>
1492                                         <ref name="common-field-name-attlist"/>
1493                                         <ref name="common-field-description-attlist"/>
1494                                         <ref name="common-value-type-attlist"/>
1495                                         <ref name="common-field-display-value-none-attlist"/>
1496                                         <ref name="common-field-data-style-name-attlist"/>
1497                                 </interleave>
1498                                 <text/>
1499                         </element>
1500                         <element name="text:user-field-get">
1501                                 <interleave>
1502                                         <ref name="common-field-name-attlist"/>
1503                                         <ref name="common-field-display-value-formula-none-attlist"/>
1504                                         <ref name="common-field-data-style-name-attlist"/>
1505                                 </interleave>
1506                                 <text/>
1507                         </element>
1508                         <element name="text:user-field-input">
1509                                 <interleave>
1510                                         <ref name="common-field-name-attlist"/>
1511                                         <ref name="common-field-description-attlist"/>
1512                                         <ref name="common-field-data-style-name-attlist"/>
1513                                 </interleave>
1514                                 <text/>
1515                         </element>
1516                         <element name="text:sequence">
1517                                 <interleave>
1518                                         <ref name="common-field-name-attlist"/>
1519                                         <ref name="common-field-formula-attlist"/>
1520                                         <ref name="common-field-num-format-attlist"/>
1521                                         <ref name="text-sequence-ref-name"/>
1522                                 </interleave>
1523                                 <text/>
1524                         </element>
1525                         <element name="text:expression">
1526                                 <interleave>
1527                                         <ref name="common-field-formula-attlist"/>
1528                                         <optional>
1529                                                 <ref name="common-value-and-type-attlist"/>
1530                                         </optional>
1531                                         <ref name="common-field-display-value-formula-attlist"/>
1532                                         <ref name="common-field-data-style-name-attlist"/>
1533                                 </interleave>
1534                                 <text/>
1535                         </element>
1536                         <element name="text:text-input">
1537                                 <ref name="common-field-description-attlist"/>
1538                                 <text/>
1539                         </element>
1540                         <element name="text:initial-creator">
1541                                 <ref name="common-field-fixed-attlist"/>
1542                                 <text/>
1543                         </element>
1544                         <element name="text:creation-date">
1545                                 <interleave>
1546                                         <ref name="common-field-fixed-attlist"/>
1547                                         <ref name="common-field-data-style-name-attlist"/>
1548                                         <optional>
1549                                                 <attribute name="text:date-value">
1550                                                         <ref name="dateOrDateTime"/>
1551                                                 </attribute>
1552                                         </optional>
1553                                 </interleave>
1554                                 <text/>
1555                         </element>
1556                         <element name="text:creation-time">
1557                                 <interleave>
1558                                         <ref name="common-field-fixed-attlist"/>
1559                                         <ref name="common-field-data-style-name-attlist"/>
1560                                         <optional>
1561                                                 <attribute name="text:time-value">
1562                                                         <ref name="timeOrDateTime"/>
1563                                                 </attribute>
1564                                         </optional>
1565                                 </interleave>
1566                                 <text/>
1567                         </element>
1568                         <element name="text:description">
1569                                 <ref name="common-field-fixed-attlist"/>
1570                                 <text/>
1571                         </element>
1572                         <element name="text:user-defined">
1573                                 <interleave>
1574                                         <ref name="common-field-fixed-attlist"/>
1575                                         <attribute name="text:name">
1576                                                 <ref name="string"/>
1577                                         </attribute>
1578                                         <ref name="common-field-data-style-name-attlist"/>
1579                                         <optional>
1580                                                 <attribute name="office:value">
1581                                                         <ref name="double"/>
1582                                                 </attribute>
1583                                         </optional>
1584                                         <optional>
1585                                                 <attribute name="office:date-value">
1586                                                         <ref name="dateOrDateTime"/>
1587                                                 </attribute>
1588                                         </optional>
1589                                         <optional>
1590                                                 <attribute name="office:time-value">
1591                                                         <ref name="duration"/>
1592                                                 </attribute>
1593                                         </optional>
1594                                         <optional>
1595                                                 <attribute name="office:boolean-value">
1596                                                         <ref name="boolean"/>
1597                                                 </attribute>
1598                                         </optional>
1599                                         <optional>
1600                                                 <attribute name="office:string-value">
1601                                                         <ref name="string"/>
1602                                                 </attribute>
1603                                         </optional>
1604                                 </interleave>
1605                                 <text/>
1606                         </element>
1607                         <element name="text:print-time">
1608                                 <interleave>
1609                                         <ref name="common-field-fixed-attlist"/>
1610                                         <ref name="common-field-data-style-name-attlist"/>
1611                                         <optional>
1612                                                 <attribute name="text:time-value">
1613                                                         <ref name="time"/>
1614                                                 </attribute>
1615                                         </optional>
1616                                 </interleave>
1617                                 <text/>
1618                         </element>
1619                         <element name="text:print-date">
1620                                 <interleave>
1621                                         <ref name="common-field-fixed-attlist"/>
1622                                         <ref name="common-field-data-style-name-attlist"/>
1623                                         <optional>
1624                                                 <attribute name="text:date-value">
1625                                                         <ref name="date"/>
1626                                                 </attribute>
1627                                         </optional>
1628                                 </interleave>
1629                                 <text/>
1630                         </element>
1631                         <element name="text:printed-by">
1632                                 <ref name="common-field-fixed-attlist"/>
1633                                 <text/>
1634                         </element>
1635                         <element name="text:title">
1636                                 <ref name="common-field-fixed-attlist"/>
1637                                 <text/>
1638                         </element>
1639                         <element name="text:subject">
1640                                 <ref name="common-field-fixed-attlist"/>
1641                                 <text/>
1642                         </element>
1643                         <element name="text:keywords">
1644                                 <ref name="common-field-fixed-attlist"/>
1645                                 <text/>
1646                         </element>
1647                         <element name="text:editing-cycles">
1648                                 <ref name="common-field-fixed-attlist"/>
1649                                 <text/>
1650                         </element>
1651                         <element name="text:editing-duration">
1652                                 <interleave>
1653                                         <ref name="common-field-fixed-attlist"/>
1654                                         <ref name="common-field-data-style-name-attlist"/>
1655                                         <optional>
1656                                                 <attribute name="text:duration">
1657                                                         <ref name="duration"/>
1658                                                 </attribute>
1659                                         </optional>
1660                                 </interleave>
1661                                 <text/>
1662                         </element>
1663                         <element name="text:modification-time">
1664                                 <interleave>
1665                                         <ref name="common-field-fixed-attlist"/>
1666                                         <ref name="common-field-data-style-name-attlist"/>
1667                                         <optional>
1668                                                 <attribute name="text:time-value">
1669                                                         <ref name="time"/>
1670                                                 </attribute>
1671                                         </optional>
1672                                 </interleave>
1673                                 <text/>
1674                         </element>
1675                         <element name="text:modification-date">
1676                                 <interleave>
1677                                         <ref name="common-field-fixed-attlist"/>
1678                                         <ref name="common-field-data-style-name-attlist"/>
1679                                         <optional>
1680                                                 <attribute name="text:date-value">
1681                                                         <ref name="date"/>
1682                                                 </attribute>
1683                                         </optional>
1684                                 </interleave>
1685                                 <text/>
1686                         </element>
1687                         <element name="text:creator">
1688                                 <ref name="common-field-fixed-attlist"/>
1689                                 <text/>
1690                         </element>
1691                         <element>
1692                                 <choice>
1693                                         <name>text:page-count</name>
1694                                         <name>text:paragraph-count</name>
1695                                         <name>text:word-count</name>
1696                                         <name>text:character-count</name>
1697                                         <name>text:table-count</name>
1698                                         <name>text:image-count</name>
1699                                         <name>text:object-count</name>
1700                                 </choice>
1701                                 <ref name="common-field-num-format-attlist"/>
1702                                 <text/>
1703                         </element>
1704                         <element name="text:database-display">
1705                                 <ref name="text-database-display-attlist"/>
1706                                 <text/>
1707                         </element>
1708                         <element name="text:database-next">
1709                                 <ref name="text-database-next-attlist"/>
1710                         </element>
1711                         <element name="text:database-row-select">
1712                                 <ref name="text-database-row-select-attlist"/>
1713                         </element>
1714                         <element name="text:database-row-number">
1715                                 <interleave>
1716                                         <ref name="common-field-database-table"/>
1717                                         <ref name="common-field-num-format-attlist"/>
1718                                         <optional>
1719                                                 <attribute name="text:value">
1720                                                         <ref name="nonNegativeInteger"/>
1721                                                 </attribute>
1722                                         </optional>
1723                                 </interleave>
1724                                 <text/>
1725                         </element>
1726                         <element name="text:database-name">
1727                                 <ref name="common-field-database-table"/>
1728                                 <text/>
1729                         </element>
1730                         <element name="text:page-variable-set">
1731                                 <ref name="text-set-page-variable-attlist"/>
1732                                 <text/>
1733                         </element>
1734                         <element name="text:page-variable-get">
1735                                 <ref name="text-get-page-variable-attlist"/>
1736                                 <text/>
1737                         </element>
1738                         <element name="text:placeholder">
1739                                 <ref name="text-placeholder-attlist"/>
1740                                 <text/>
1741                         </element>
1742                         <element name="text:conditional-text">
1743                                 <ref name="text-conditional-text-attlist"/>
1744                                 <text/>
1745                         </element>
1746                         <element name="text:hidden-text">
1747                                 <ref name="text-hidden-text-attlist"/>
1748                                 <text/>
1749                         </element>
1750                         <element>
1751                                 <choice>
1752                                         <name>text:reference-ref</name>
1753                                         <name>text:bookmark-ref</name>
1754                                 </choice>
1755                                 <interleave>
1756                                         <ref name="text-common-ref-content"/>
1757                                         <ref name="text-bookmark-ref-content"/>
1758                                 </interleave>
1759                         </element>
1760                         <element name="text:note-ref">
1761                                 <interleave>
1762                                         <ref name="text-common-ref-content"/>
1763                                         <ref name="text-note-ref-content"/>
1764                                 </interleave>
1765                         </element>
1766                         <element name="text:sequence-ref">
1767                                 <interleave>
1768                                         <ref name="text-common-ref-content"/>
1769                                         <ref name="text-sequence-ref-content"/>
1770                                 </interleave>
1771                         </element>
1772                         <element name="text:script">
1773                                 <interleave>
1774                                         <choice>
1775                                                 <group>
1776                                                         <attribute name="xlink:type">
1777                                                                 <value>simple</value>
1778                                                         </attribute>
1779                                                         <attribute name="xlink:href">
1780                                                                 <ref name="anyIRI"/>
1781                                                         </attribute>
1782                                                 </group>
1783                                                 <text/>
1784                                         </choice>
1785                                         <optional>
1786                                                 <attribute name="script:language">
1787                                                         <ref name="string"/>
1788                                                 </attribute>
1789                                         </optional>
1790                                 </interleave>
1791                         </element>
1792                         <element name="text:execute-macro">
1793                                 <optional>
1794                                         <attribute name="text:name">
1795                                                 <ref name="string"/>
1796                                         </attribute>
1797                                 </optional>
1798                                 <optional>
1799                                         <ref name="office-event-listeners"/>
1800                                 </optional>
1801                                 <text/>
1802                         </element>
1803                         <element name="text:hidden-paragraph">
1804                                 <ref name="text-hidden-paragraph-attlist"/>
1805                                 <text/>
1806                         </element>
1807                         <element name="text:dde-connection">
1808                                 <attribute name="text:connection-name">
1809                                         <ref name="string"/>
1810                                 </attribute>
1811                                 <text/>
1812                         </element>
1813                         <element name="text:measure">
1814                                 <attribute name="text:kind">
1815                                         <choice>
1816                                                 <value>value</value>
1817                                                 <value>unit</value>
1818                                                 <value>gap</value>
1819                                         </choice>
1820                                 </attribute>
1821                                 <text/>
1822                         </element>
1823                         <element name="text:table-formula">
1824                                 <interleave>
1825                                         <ref name="common-field-formula-attlist"/>
1826                                         <ref name="common-field-display-value-formula-attlist"/>
1827                                         <ref name="common-field-data-style-name-attlist"/>
1828                                 </interleave>
1829                                 <text/>
1830                         </element>
1831                         <element name="text:meta-field">
1832                                 <ref name="text-meta-field-attlist"/>
1833                                 <zeroOrMore>
1834                                         <ref name="paragraph-content-or-hyperlink"/>
1835                                 </zeroOrMore>
1836                         </element>
1837                         <element name="text:toc-mark-start">
1838                                 <ref name="text-toc-mark-start-attrs"/>
1839                         </element>
1840                         <element name="text:toc-mark-end">
1841                                 <ref name="text-id"/>
1842                         </element>
1843                         <element name="text:toc-mark">
1844                                 <attribute name="text:string-value">
1845                                         <ref name="string"/>
1846                                 </attribute>
1847                                 <ref name="text-outline-level"/>
1848                         </element>
1849                         <element name="text:user-index-mark-start">
1850                                 <ref name="text-id"/>
1851                                 <ref name="text-outline-level"/>
1852                                 <ref name="text-index-name"/>
1853                         </element>
1854                         <element name="text:user-index-mark-end">
1855                                 <ref name="text-id"/>
1856                         </element>
1857                         <element name="text:user-index-mark">
1858                                 <attribute name="text:string-value">
1859                                         <ref name="string"/>
1860                                 </attribute>
1861                                 <ref name="text-outline-level"/>
1862                                 <ref name="text-index-name"/>
1863                         </element>
1864                         <element name="text:alphabetical-index-mark-start">
1865                                 <ref name="text-id"/>
1866                                 <ref name="text-alphabetical-index-mark-attrs"/>
1867                         </element>
1868                         <element name="text:alphabetical-index-mark-end">
1869                                 <ref name="text-id"/>
1870                         </element>
1871                         <element name="text:alphabetical-index-mark">
1872                                 <attribute name="text:string-value">
1873                                         <ref name="string"/>
1874                                 </attribute>
1875                                 <ref name="text-alphabetical-index-mark-attrs"/>
1876                         </element>
1877                         <element name="text:bibliography-mark">
1878                                 <attribute name="text:bibliography-type">
1879                                         <ref name="text-bibliography-types"/>
1880                                 </attribute>
1881                                 <zeroOrMore>
1882                                         <attribute>
1883                                                 <choice>
1884                                                         <name>text:identifier</name>
1885                                                         <name>text:address</name>
1886                                                         <name>text:annote</name>
1887                                                         <name>text:author</name>
1888                                                         <name>text:booktitle</name>
1889                                                         <name>text:chapter</name>
1890                                                         <name>text:edition</name>
1891                                                         <name>text:editor</name>
1892                                                         <name>text:howpublished</name>
1893                                                         <name>text:institution</name>
1894                                                         <name>text:journal</name>
1895                                                         <name>text:month</name>
1896                                                         <name>text:note</name>
1897                                                         <name>text:number</name>
1898                                                         <name>text:organizations</name>
1899                                                         <name>text:pages</name>
1900                                                         <name>text:publisher</name>
1901                                                         <name>text:school</name>
1902                                                         <name>text:series</name>
1903                                                         <name>text:title</name>
1904                                                         <name>text:report-type</name>
1905                                                         <name>text:volume</name>
1906                                                         <name>text:year</name>
1907                                                         <name>text:url</name>
1908                                                         <name>text:custom1</name>
1909                                                         <name>text:custom2</name>
1910                                                         <name>text:custom3</name>
1911                                                         <name>text:custom4</name>
1912                                                         <name>text:custom5</name>
1913                                                         <name>text:isbn</name>
1914                                                         <name>text:issn</name>
1915                                                 </choice>
1916                                                 <ref name="string"/>
1917                                         </attribute>
1918                                 </zeroOrMore>
1919                                 <text/>
1920                         </element>
1921                         <element name="presentation:header">
1922                                 <empty/>
1923                         </element>
1924                         <element name="presentation:footer">
1925                                 <empty/>
1926                         </element>
1927                         <element name="presentation:date-time">
1928                                 <empty/>
1929                         </element>
1930                 </choice>
1931         </define>
1932         <define name="text-tab-attr">
1933                 <optional>
1934                         <attribute name="text:tab-ref">
1935                                 <ref name="nonNegativeInteger"/>
1936                         </attribute>
1937                 </optional>
1938         </define>
1939         <define name="text-a">
1940                 <element name="text:a">
1941                         <ref name="text-a-attlist"/>
1942                         <optional>
1943                                 <ref name="office-event-listeners"/>
1944                         </optional>
1945                         <zeroOrMore>
1946                                 <ref name="paragraph-content"/>
1947                         </zeroOrMore>
1948                 </element>
1949         </define>
1950         <define name="text-a-attlist">
1951                 <interleave>
1952                         <optional>
1953                                 <attribute name="office:name">
1954                                         <ref name="string"/>
1955                                 </attribute>
1956                         </optional>
1957                         <optional>
1958                                 <attribute name="office:title">
1959                                         <ref name="string"/>
1960                                 </attribute>
1961                         </optional>
1962                         <attribute name="xlink:type">
1963                                 <value>simple</value>
1964                         </attribute>
1965                         <attribute name="xlink:href">
1966                                 <ref name="anyIRI"/>
1967                         </attribute>
1968                         <optional>
1969                                 <attribute name="xlink:actuate">
1970                                         <value>onRequest</value>
1971                                 </attribute>
1972                         </optional>
1973                         <optional>
1974                                 <attribute name="office:target-frame-name">
1975                                         <ref name="targetFrameName"/>
1976                                 </attribute>
1977                         </optional>
1978                         <optional>
1979                                 <attribute name="xlink:show">
1980                                         <choice>
1981                                                 <value>new</value>
1982                                                 <value>replace</value>
1983                                         </choice>
1984                                 </attribute>
1985                         </optional>
1986                         <optional>
1987                                 <attribute name="text:style-name">
1988                                         <ref name="styleNameRef"/>
1989                                 </attribute>
1990                         </optional>
1991                         <optional>
1992                                 <attribute name="text:visited-style-name">
1993                                         <ref name="styleNameRef"/>
1994                                 </attribute>
1995                         </optional>
1996                 </interleave>
1997         </define>
1998         <define name="text-meta-attlist">
1999                 <interleave>
2000                         <optional>
2001                                 <ref name="common-in-content-meta-attlist"/>
2002                         </optional>
2003                         <optional>
2004                                 <ref name="xml-id"/>
2005                         </optional>
2006                 </interleave>
2007         </define>
2008         <define name="text-bookmark">
2009                 <element name="text:bookmark">
2010                         <ref name="text-bookmark-attlist"/>
2011                         <empty/>
2012                 </element>
2013         </define>
2014         <define name="text-bookmark-start">
2015                 <element name="text:bookmark-start">
2016                         <ref name="text-bookmark-start-attlist"/>
2017                         <empty/>
2018                 </element>
2019         </define>
2020         <define name="text-bookmark-end">
2021                 <element name="text:bookmark-end">
2022                         <ref name="text-bookmark-end-attlist"/>
2023                         <empty/>
2024                 </element>
2025         </define>
2026         <define name="text-bookmark-attlist">
2027                 <interleave>
2028                         <attribute name="text:name">
2029                                 <ref name="string"/>
2030                         </attribute>
2031                         <optional>
2032                                 <ref name="xml-id"/>
2033                         </optional>
2034                 </interleave>
2035         </define>
2036         <define name="text-bookmark-start-attlist">
2037                 <interleave>
2038                         <attribute name="text:name">
2039                                 <ref name="string"/>
2040                         </attribute>
2041                         <optional>
2042                                 <ref name="xml-id"/>
2043                         </optional>
2044                         <optional>
2045                                 <ref name="common-in-content-meta-attlist"/>
2046                         </optional>
2047                 </interleave>
2048         </define>
2049         <define name="text-bookmark-end-attlist">
2050                 <attribute name="text:name">
2051                         <ref name="string"/>
2052                 </attribute>
2053         </define>
2054         <define name="text-note-class">
2055                 <attribute name="text:note-class">
2056                         <choice>
2057                                 <value>footnote</value>
2058                                 <value>endnote</value>
2059                         </choice>
2060                 </attribute>
2061         </define>
2062         <define name="text-date-attlist">
2063                 <interleave>
2064                         <interleave>
2065                                 <ref name="common-field-fixed-attlist"/>
2066                                 <ref name="common-field-data-style-name-attlist"/>
2067                         </interleave>
2068                         <optional>
2069                                 <attribute name="text:date-value">
2070                                         <ref name="dateOrDateTime"/>
2071                                 </attribute>
2072                         </optional>
2073                         <optional>
2074                                 <attribute name="text:date-adjust">
2075                                         <ref name="duration"/>
2076                                 </attribute>
2077                         </optional>
2078                 </interleave>
2079         </define>
2080         <define name="text-time-attlist">
2081                 <interleave>
2082                         <interleave>
2083                                 <ref name="common-field-fixed-attlist"/>
2084                                 <ref name="common-field-data-style-name-attlist"/>
2085                         </interleave>
2086                         <optional>
2087                                 <attribute name="text:time-value">
2088                                         <ref name="timeOrDateTime"/>
2089                                 </attribute>
2090                         </optional>
2091                         <optional>
2092                                 <attribute name="text:time-adjust">
2093                                         <ref name="duration"/>
2094                                 </attribute>
2095                         </optional>
2096                 </interleave>
2097         </define>
2098         <define name="text-page-number-attlist">
2099                 <interleave>
2100                         <interleave>
2101                                 <ref name="common-field-num-format-attlist"/>
2102                                 <ref name="common-field-fixed-attlist"/>
2103                         </interleave>
2104                         <optional>
2105                                 <attribute name="text:page-adjust">
2106                                         <ref name="integer"/>
2107                                 </attribute>
2108                         </optional>
2109                         <optional>
2110                                 <attribute name="text:select-page">
2111                                         <choice>
2112                                                 <value>previous</value>
2113                                                 <value>current</value>
2114                                                 <value>next</value>
2115                                         </choice>
2116                                 </attribute>
2117                         </optional>
2118                 </interleave>
2119         </define>
2120         <define name="text-page-continuation-attlist">
2121                 <interleave>
2122                         <attribute name="text:select-page">
2123                                 <choice>
2124                                         <value>previous</value>
2125                                         <value>next</value>
2126                                 </choice>
2127                         </attribute>
2128                         <optional>
2129                                 <attribute name="text:string-value">
2130                                         <ref name="string"/>
2131                                 </attribute>
2132                         </optional>
2133                 </interleave>
2134         </define>
2135         <define name="text-chapter-attlist">
2136                 <interleave>
2137                         <attribute name="text:display">
2138                                 <choice>
2139                                         <value>name</value>
2140                                         <value>number</value>
2141                                         <value>number-and-name</value>
2142                                         <value>plain-number-and-name</value>
2143                                         <value>plain-number</value>
2144                                 </choice>
2145                         </attribute>
2146                         <attribute name="text:outline-level">
2147                                 <ref name="nonNegativeInteger"/>
2148                         </attribute>
2149                 </interleave>
2150         </define>
2151         <define name="text-file-name-attlist">
2152                 <interleave>
2153                         <optional>
2154                                 <attribute name="text:display">
2155                                         <choice>
2156                                                 <value>full</value>
2157                                                 <value>path</value>
2158                                                 <value>name</value>
2159                                                 <value>name-and-extension</value>
2160                                         </choice>
2161                                 </attribute>
2162                         </optional>
2163                         <ref name="common-field-fixed-attlist"/>
2164                 </interleave>
2165         </define>
2166         <define name="text-template-name-attlist">
2167                 <optional>
2168                         <attribute name="text:display">
2169                                 <choice>
2170                                         <value>full</value>
2171                                         <value>path</value>
2172                                         <value>name</value>
2173                                         <value>name-and-extension</value>
2174                                         <value>area</value>
2175                                         <value>title</value>
2176                                 </choice>
2177                         </attribute>
2178                 </optional>
2179         </define>
2180         <define name="text-variable-decl">
2181                 <element name="text:variable-decl">
2182                         <ref name="common-field-name-attlist"/>
2183                         <ref name="common-value-type-attlist"/>
2184                 </element>
2185         </define>
2186         <define name="text-user-field-decl">
2187                 <element name="text:user-field-decl">
2188                         <ref name="common-field-name-attlist"/>
2189                         <optional>
2190                                 <ref name="common-field-formula-attlist"/>
2191                         </optional>
2192                         <ref name="common-value-and-type-attlist"/>
2193                 </element>
2194         </define>
2195         <define name="text-sequence-decl">
2196                 <element name="text:sequence-decl">
2197                         <ref name="text-sequence-decl-attlist"/>
2198                 </element>
2199         </define>
2200         <define name="text-sequence-decl-attlist">
2201                 <interleave>
2202                         <ref name="common-field-name-attlist"/>
2203                         <attribute name="text:display-outline-level">
2204                                 <ref name="nonNegativeInteger"/>
2205                         </attribute>
2206                         <optional>
2207                                 <attribute name="text:separation-character">
2208                                         <ref name="character"/>
2209                                 </attribute>
2210                         </optional>
2211                 </interleave>
2212         </define>
2213         <define name="text-sequence-ref-name">
2214                 <optional>
2215                         <attribute name="text:ref-name">
2216                                 <ref name="string"/>
2217                         </attribute>
2218                 </optional>
2219         </define>
2220         <define name="common-field-database-table">
2221                 <ref name="common-field-database-table-attlist"/>
2222                 <ref name="common-field-database-name"/>
2223         </define>
2224         <define name="common-field-database-name">
2225                 <choice>
2226                         <optional>
2227                                 <attribute name="text:database-name">
2228                                         <ref name="string"/>
2229                                 </attribute>
2230                         </optional>
2231                         <ref name="form-connection-resource"/>
2232                 </choice>
2233         </define>
2234         <define name="common-field-database-table-attlist">
2235                 <interleave>
2236                         <attribute name="text:table-name">
2237                                 <ref name="string"/>
2238                         </attribute>
2239                         <optional>
2240                                 <attribute name="text:table-type">
2241                                         <choice>
2242                                                 <value>table</value>
2243                                                 <value>query</value>
2244                                                 <value>command</value>
2245                                         </choice>
2246                                 </attribute>
2247                         </optional>
2248                 </interleave>
2249         </define>
2250         <define name="text-database-display-attlist">
2251                 <interleave>
2252                         <ref name="common-field-database-table"/>
2253                         <ref name="common-field-data-style-name-attlist"/>
2254                         <attribute name="text:column-name">
2255                                 <ref name="string"/>
2256                         </attribute>
2257                 </interleave>
2258         </define>
2259         <define name="text-database-next-attlist">
2260                 <interleave>
2261                         <ref name="common-field-database-table"/>
2262                         <optional>
2263                                 <attribute name="text:condition">
2264                                         <ref name="string"/>
2265                                 </attribute>
2266                         </optional>
2267                 </interleave>
2268         </define>
2269         <define name="text-database-row-select-attlist">
2270                 <interleave>
2271                         <ref name="common-field-database-table"/>
2272                         <optional>
2273                                 <attribute name="text:condition">
2274                                         <ref name="string"/>
2275                                 </attribute>
2276                         </optional>
2277                         <optional>
2278                                 <attribute name="text:row-number">
2279                                         <ref name="nonNegativeInteger"/>
2280                                 </attribute>
2281                         </optional>
2282                 </interleave>
2283         </define>
2284         <define name="text-set-page-variable-attlist">
2285                 <interleave>
2286                         <optional>
2287                                 <attribute name="text:active">
2288                                         <ref name="boolean"/>
2289                                 </attribute>
2290                         </optional>
2291                         <optional>
2292                                 <attribute name="text:page-adjust">
2293                                         <ref name="integer"/>
2294                                 </attribute>
2295                         </optional>
2296                 </interleave>
2297         </define>
2298         <define name="text-get-page-variable-attlist">
2299                 <ref name="common-field-num-format-attlist"/>
2300         </define>
2301         <define name="text-placeholder-attlist">
2302                 <interleave>
2303                         <attribute name="text:placeholder-type">
2304                                 <choice>
2305                                         <value>text</value>
2306                                         <value>table</value>
2307                                         <value>text-box</value>
2308                                         <value>image</value>
2309                                         <value>object</value>
2310                                 </choice>
2311                         </attribute>
2312                         <ref name="common-field-description-attlist"/>
2313                 </interleave>
2314         </define>
2315         <define name="text-conditional-text-attlist">
2316                 <interleave>
2317                         <attribute name="text:condition">
2318                                 <ref name="string"/>
2319                         </attribute>
2320                         <attribute name="text:string-value-if-true">
2321                                 <ref name="string"/>
2322                         </attribute>
2323                         <attribute name="text:string-value-if-false">
2324                                 <ref name="string"/>
2325                         </attribute>
2326                         <optional>
2327                                 <attribute name="text:current-value">
2328                                         <ref name="boolean"/>
2329                                 </attribute>
2330                         </optional>
2331                 </interleave>
2332         </define>
2333         <define name="text-hidden-text-attlist">
2334                 <interleave>
2335                         <attribute name="text:condition">
2336                                 <ref name="string"/>
2337                         </attribute>
2338                         <attribute name="text:string-value">
2339                                 <ref name="string"/>
2340                         </attribute>
2341                         <optional>
2342                                 <attribute name="text:is-hidden">
2343                                         <ref name="boolean"/>
2344                                 </attribute>
2345                         </optional>
2346                 </interleave>
2347         </define>
2348         <define name="text-common-ref-content">
2349                 <interleave>
2350                         <text/>
2351                         <optional>
2352                                 <attribute name="text:ref-name">
2353                                         <ref name="string"/>
2354                                 </attribute>
2355                         </optional>
2356                 </interleave>
2357         </define>
2358         <define name="text-bookmark-ref-content">
2359                 <optional>
2360                         <attribute name="text:reference-format">
2361                                 <choice>
2362                                         <ref name="common-ref-format-values"/>
2363                                         <value>number-no-superior</value>
2364                                         <value>number-all-superior</value>
2365                                         <value>number</value>
2366                                 </choice>
2367                         </attribute>
2368                 </optional>
2369         </define>
2370         <define name="text-note-ref-content">
2371                 <interleave>
2372                         <optional>
2373                                 <attribute name="text:reference-format">
2374                                         <choice>
2375                                                 <ref name="common-ref-format-values"/>
2376                                         </choice>
2377                                 </attribute>
2378                         </optional>
2379                         <ref name="text-note-class"/>
2380                 </interleave>
2381         </define>
2382         <define name="text-sequence-ref-content">
2383                 <optional>
2384                         <attribute name="text:reference-format">
2385                                 <choice>
2386                                         <ref name="common-ref-format-values"/>
2387                                         <value>category-and-value</value>
2388                                         <value>caption</value>
2389                                         <value>value</value>
2390                                 </choice>
2391                         </attribute>
2392                 </optional>
2393         </define>
2394         <define name="common-ref-format-values">
2395                 <choice>
2396                         <value>page</value>
2397                         <value>chapter</value>
2398                         <value>direction</value>
2399                         <value>text</value>
2400                 </choice>
2401         </define>
2402         <define name="text-hidden-paragraph-attlist">
2403                 <interleave>
2404                         <attribute name="text:condition">
2405                                 <ref name="string"/>
2406                         </attribute>
2407                         <optional>
2408                                 <attribute name="text:is-hidden">
2409                                         <ref name="boolean"/>
2410                                 </attribute>
2411                         </optional>
2412                 </interleave>
2413         </define>
2414         <define name="text-meta-field-attlist">
2415                 <interleave>
2416                         <ref name="xml-id"/>
2417                         <ref name="common-field-data-style-name-attlist"/>
2418                 </interleave>
2419         </define>
2420         <define name="common-value-type-attlist">
2421                 <attribute name="office:value-type">
2422                         <ref name="valueType"/>
2423                 </attribute>
2424         </define>
2425         <define name="common-value-and-type-attlist">
2426                 <choice>
2427                         <group>
2428                                 <attribute name="office:value-type">
2429                                         <value>float</value>
2430                                 </attribute>
2431                                 <attribute name="office:value">
2432                                         <ref name="double"/>
2433                                 </attribute>
2434                         </group>
2435                         <group>
2436                                 <attribute name="office:value-type">
2437                                         <value>percentage</value>
2438                                 </attribute>
2439                                 <attribute name="office:value">
2440                                         <ref name="double"/>
2441                                 </attribute>
2442                         </group>
2443                         <group>
2444                                 <attribute name="office:value-type">
2445                                         <value>currency</value>
2446                                 </attribute>
2447                                 <attribute name="office:value">
2448                                         <ref name="double"/>
2449                                 </attribute>
2450                                 <optional>
2451                                         <attribute name="office:currency">
2452                                                 <ref name="string"/>
2453                                         </attribute>
2454                                 </optional>
2455                         </group>
2456                         <group>
2457                                 <attribute name="office:value-type">
2458                                         <value>date</value>
2459                                 </attribute>
2460                                 <attribute name="office:date-value">
2461                                         <ref name="dateOrDateTime"/>
2462                                 </attribute>
2463                         </group>
2464                         <group>
2465                                 <attribute name="office:value-type">
2466                                         <value>time</value>
2467                                 </attribute>
2468                                 <attribute name="office:time-value">
2469                                         <ref name="duration"/>
2470                                 </attribute>
2471                         </group>
2472                         <group>
2473                                 <attribute name="office:value-type">
2474                                         <value>boolean</value>
2475                                 </attribute>
2476                                 <attribute name="office:boolean-value">
2477                                         <ref name="boolean"/>
2478                                 </attribute>
2479                         </group>
2480                         <group>
2481                                 <attribute name="office:value-type">
2482                                         <value>string</value>
2483                                 </attribute>
2484                                 <optional>
2485                                         <attribute name="office:string-value">
2486                                                 <ref name="string"/>
2487                                         </attribute>
2488                                 </optional>
2489                         </group>
2490                 </choice>
2491         </define>
2492         <define name="common-field-fixed-attlist">
2493                 <optional>
2494                         <attribute name="text:fixed">
2495                                 <ref name="boolean"/>
2496                         </attribute>
2497                 </optional>
2498         </define>
2499         <define name="common-field-name-attlist">
2500                 <attribute name="text:name">
2501                         <ref name="variableName"/>
2502                 </attribute>
2503         </define>
2504         <define name="common-field-description-attlist">
2505                 <optional>
2506                         <attribute name="text:description">
2507                                 <ref name="string"/>
2508                         </attribute>
2509                 </optional>
2510         </define>
2511         <define name="common-field-display-value-none-attlist">
2512                 <optional>
2513                         <attribute name="text:display">
2514                                 <choice>
2515                                         <value>value</value>
2516                                         <value>none</value>
2517                                 </choice>
2518                         </attribute>
2519                 </optional>
2520         </define>
2521         <define name="common-field-display-value-formula-none-attlist">
2522                 <optional>
2523                         <attribute name="text:display">
2524                                 <choice>
2525                                         <value>value</value>
2526                                         <value>formula</value>
2527                                         <value>none</value>
2528                                 </choice>
2529                         </attribute>
2530                 </optional>
2531         </define>
2532         <define name="common-field-display-value-formula-attlist">
2533                 <optional>
2534                         <attribute name="text:display">
2535                                 <choice>
2536                                         <value>value</value>
2537                                         <value>formula</value>
2538                                 </choice>
2539                         </attribute>
2540                 </optional>
2541         </define>
2542         <define name="common-field-formula-attlist">
2543                 <optional>
2544                         <attribute name="text:formula">
2545                                 <ref name="string"/>
2546                         </attribute>
2547                 </optional>
2548         </define>
2549         <define name="common-field-data-style-name-attlist">
2550                 <optional>
2551                         <attribute name="style:data-style-name">
2552                                 <ref name="styleNameRef"/>
2553                         </attribute>
2554                 </optional>
2555         </define>
2556         <define name="common-field-num-format-attlist">
2557                 <optional>
2558                         <ref name="common-num-format-attlist"/>
2559                 </optional>
2560         </define>
2561         <define name="text-toc-mark-start-attrs">
2562                 <ref name="text-id"/>
2563                 <ref name="text-outline-level"/>
2564         </define>
2565         <define name="text-outline-level">
2566                 <optional>
2567                         <attribute name="text:outline-level">
2568                                 <ref name="positiveInteger"/>
2569                         </attribute>
2570                 </optional>
2571         </define>
2572         <define name="text-id">
2573                 <attribute name="text:id">
2574                         <ref name="string"/>
2575                 </attribute>
2576         </define>
2577         <define name="text-index-name">
2578                 <attribute name="text:index-name">
2579                         <ref name="string"/>
2580                 </attribute>
2581         </define>
2582         <define name="text-alphabetical-index-mark-attrs">
2583                 <interleave>
2584                         <optional>
2585                                 <attribute name="text:key1">
2586                                         <ref name="string"/>
2587                                 </attribute>
2588                         </optional>
2589                         <optional>
2590                                 <attribute name="text:key2">
2591                                         <ref name="string"/>
2592                                 </attribute>
2593                         </optional>
2594                         <optional>
2595                                 <attribute name="text:string-value-phonetic">
2596                                         <ref name="string"/>
2597                                 </attribute>
2598                         </optional>
2599                         <optional>
2600                                 <attribute name="text:key1-phonetic">
2601                                         <ref name="string"/>
2602                                 </attribute>
2603                         </optional>
2604                         <optional>
2605                                 <attribute name="text:key2-phonetic">
2606                                         <ref name="string"/>
2607                                 </attribute>
2608                         </optional>
2609                         <optional>
2610                                 <attribute name="text:main-entry">
2611                                         <ref name="boolean"/>
2612                                 </attribute>
2613                         </optional>
2614                 </interleave>
2615         </define>
2616         <define name="text-bibliography-types">
2617                 <choice>
2618                         <value>article</value>
2619                         <value>book</value>
2620                         <value>booklet</value>
2621                         <value>conference</value>
2622                         <value>custom1</value>
2623                         <value>custom2</value>
2624                         <value>custom3</value>
2625                         <value>custom4</value>
2626                         <value>custom5</value>
2627                         <value>email</value>
2628                         <value>inbook</value>
2629                         <value>incollection</value>
2630                         <value>inproceedings</value>
2631                         <value>journal</value>
2632                         <value>manual</value>
2633                         <value>mastersthesis</value>
2634                         <value>misc</value>
2635                         <value>phdthesis</value>
2636                         <value>proceedings</value>
2637                         <value>techreport</value>
2638                         <value>unpublished</value>
2639                         <value>www</value>
2640                 </choice>
2641         </define>
2642         <define name="text-index-body">
2643                 <element name="text:index-body">
2644                         <zeroOrMore>
2645                                 <ref name="index-content-main"/>
2646                         </zeroOrMore>
2647                 </element>
2648         </define>
2649         <define name="index-content-main">
2650                 <choice>
2651                         <ref name="text-content"/>
2652                         <ref name="text-index-title"/>
2653                 </choice>
2654         </define>
2655         <define name="text-index-title">
2656                 <element name="text:index-title">
2657                         <ref name="common-section-attlist"/>
2658                         <zeroOrMore>
2659                                 <ref name="index-content-main"/>
2660                         </zeroOrMore>
2661                 </element>
2662         </define>
2663         <define name="text-table-of-content">
2664                 <element name="text:table-of-content">
2665                         <ref name="common-section-attlist"/>
2666                         <ref name="text-table-of-content-source"/>
2667                         <ref name="text-index-body"/>
2668                 </element>
2669         </define>
2670         <define name="text-table-of-content-source">
2671                 <element name="text:table-of-content-source">
2672                         <ref name="text-table-of-content-source-attlist"/>
2673                         <optional>
2674                                 <ref name="text-index-title-template"/>
2675                         </optional>
2676                         <zeroOrMore>
2677                                 <ref name="text-table-of-content-entry-template"/>
2678                         </zeroOrMore>
2679                         <zeroOrMore>
2680                                 <ref name="text-index-source-styles"/>
2681                         </zeroOrMore>
2682                 </element>
2683         </define>
2684         <define name="text-table-of-content-source-attlist">
2685                 <interleave>
2686                         <optional>
2687                                 <attribute name="text:outline-level">
2688                                         <ref name="positiveInteger"/>
2689                                 </attribute>
2690                         </optional>
2691                         <optional>
2692                                 <attribute name="text:use-outline-level">
2693                                         <ref name="boolean"/>
2694                                 </attribute>
2695                         </optional>
2696                         <optional>
2697                                 <attribute name="text:use-index-marks">
2698                                         <ref name="boolean"/>
2699                                 </attribute>
2700                         </optional>
2701                         <optional>
2702                                 <attribute name="text:use-index-source-styles">
2703                                         <ref name="boolean"/>
2704                                 </attribute>
2705                         </optional>
2706                         <optional>
2707                                 <attribute name="text:index-scope">
2708                                         <choice>
2709                                                 <value>document</value>
2710                                                 <value>chapter</value>
2711                                         </choice>
2712                                 </attribute>
2713                         </optional>
2714                         <optional>
2715                                 <attribute name="text:relative-tab-stop-position">
2716                                         <ref name="boolean"/>
2717                                 </attribute>
2718                         </optional>
2719                 </interleave>
2720         </define>
2721         <define name="text-table-of-content-entry-template">
2722                 <element name="text:table-of-content-entry-template">
2723                         <ref name="text-table-of-content-entry-template-attlist"/>
2724                         <zeroOrMore>
2725                                 <ref name="text-table-of-content-children"/>
2726                         </zeroOrMore>
2727                 </element>
2728         </define>
2729         <define name="text-table-of-content-children">
2730                 <choice>
2731                         <ref name="text-index-entry-chapter"/>
2732                         <ref name="text-index-entry-page-number"/>
2733                         <ref name="text-index-entry-text"/>
2734                         <ref name="text-index-entry-span"/>
2735                         <ref name="text-index-entry-tab-stop"/>
2736                         <ref name="text-index-entry-link-start"/>
2737                         <ref name="text-index-entry-link-end"/>
2738                 </choice>
2739         </define>
2740         <define name="text-table-of-content-entry-template-attlist">
2741                 <interleave>
2742                         <attribute name="text:outline-level">
2743                                 <ref name="positiveInteger"/>
2744                         </attribute>
2745                         <attribute name="text:style-name">
2746                                 <ref name="styleNameRef"/>
2747                         </attribute>
2748                 </interleave>
2749         </define>
2750         <define name="text-illustration-index">
2751                 <element name="text:illustration-index">
2752                         <ref name="common-section-attlist"/>
2753                         <ref name="text-illustration-index-source"/>
2754                         <ref name="text-index-body"/>
2755                 </element>
2756         </define>
2757         <define name="text-illustration-index-source">
2758                 <element name="text:illustration-index-source">
2759                         <ref name="text-illustration-index-source-attrs"/>
2760                         <optional>
2761                                 <ref name="text-index-title-template"/>
2762                         </optional>
2763                         <optional>
2764                                 <ref name="text-illustration-index-entry-template"/>
2765                         </optional>
2766                 </element>
2767         </define>
2768         <define name="text-illustration-index-source-attrs">
2769                 <interleave>
2770                         <ref name="text-index-scope-attr"/>
2771                         <ref name="text-relative-tab-stop-position-attr"/>
2772                         <optional>
2773                                 <attribute name="text:use-caption">
2774                                         <ref name="boolean"/>
2775                                 </attribute>
2776                         </optional>
2777                         <optional>
2778                                 <attribute name="text:caption-sequence-name">
2779                                         <ref name="string"/>
2780                                 </attribute>
2781                         </optional>
2782                         <optional>
2783                                 <attribute name="text:caption-sequence-format">
2784                                         <choice>
2785                                                 <value>text</value>
2786                                                 <value>category-and-value</value>
2787                                                 <value>caption</value>
2788                                         </choice>
2789                                 </attribute>
2790                         </optional>
2791                 </interleave>
2792         </define>
2793         <define name="text-index-scope-attr">
2794                 <optional>
2795                         <attribute name="text:index-scope">
2796                                 <choice>
2797                                         <value>document</value>
2798                                         <value>chapter</value>
2799                                 </choice>
2800                         </attribute>
2801                 </optional>
2802         </define>
2803         <define name="text-relative-tab-stop-position-attr">
2804                 <optional>
2805                         <attribute name="text:relative-tab-stop-position">
2806                                 <ref name="boolean"/>
2807                         </attribute>
2808                 </optional>
2809         </define>
2810         <define name="text-illustration-index-entry-template">
2811                 <element name="text:illustration-index-entry-template">
2812                         <ref name="text-illustration-index-entry-content"/>
2813                 </element>
2814         </define>
2815         <define name="text-illustration-index-entry-content">
2816                 <ref name="text-illustration-index-entry-template-attrs"/>
2817                 <zeroOrMore>
2818                         <choice>
2819                                 <ref name="text-index-entry-chapter"/>
2820                                 <ref name="text-index-entry-page-number"/>
2821                                 <ref name="text-index-entry-text"/>
2822                                 <ref name="text-index-entry-span"/>
2823                                 <ref name="text-index-entry-tab-stop"/>
2824                         </choice>
2825                 </zeroOrMore>
2826         </define>
2827         <define name="text-illustration-index-entry-template-attrs">
2828                 <attribute name="text:style-name">
2829                         <ref name="styleNameRef"/>
2830                 </attribute>
2831         </define>
2832         <define name="text-table-index">
2833                 <element name="text:table-index">
2834                         <ref name="common-section-attlist"/>
2835                         <ref name="text-table-index-source"/>
2836                         <ref name="text-index-body"/>
2837                 </element>
2838         </define>
2839         <define name="text-table-index-source">
2840                 <element name="text:table-index-source">
2841                         <ref name="text-illustration-index-source-attrs"/>
2842                         <optional>
2843                                 <ref name="text-index-title-template"/>
2844                         </optional>
2845                         <optional>
2846                                 <ref name="text-table-index-entry-template"/>
2847                         </optional>
2848                 </element>
2849         </define>
2850         <define name="text-table-index-entry-template">
2851                 <element name="text:table-index-entry-template">
2852                         <ref name="text-illustration-index-entry-content"/>
2853                 </element>
2854         </define>
2855         <define name="text-object-index">
2856                 <element name="text:object-index">
2857                         <ref name="common-section-attlist"/>
2858                         <ref name="text-object-index-source"/>
2859                         <ref name="text-index-body"/>
2860                 </element>
2861         </define>
2862         <define name="text-object-index-source">
2863                 <element name="text:object-index-source">
2864                         <ref name="text-object-index-source-attrs"/>
2865                         <optional>
2866                                 <ref name="text-index-title-template"/>
2867                         </optional>
2868                         <optional>
2869                                 <ref name="text-object-index-entry-template"/>
2870                         </optional>
2871                 </element>
2872         </define>
2873         <define name="text-object-index-source-attrs">
2874                 <interleave>
2875                         <ref name="text-index-scope-attr"/>
2876                         <ref name="text-relative-tab-stop-position-attr"/>
2877                         <optional>
2878                                 <attribute name="text:use-spreadsheet-objects">
2879                                         <ref name="boolean"/>
2880                                 </attribute>
2881                         </optional>
2882                         <optional>
2883                                 <attribute name="text:use-math-objects">
2884                                         <ref name="boolean"/>
2885                                 </attribute>
2886                         </optional>
2887                         <optional>
2888                                 <attribute name="text:use-draw-objects">
2889                                         <ref name="boolean"/>
2890                                 </attribute>
2891                         </optional>
2892                         <optional>
2893                                 <attribute name="text:use-chart-objects">
2894                                         <ref name="boolean"/>
2895                                 </attribute>
2896                         </optional>
2897                         <optional>
2898                                 <attribute name="text:use-other-objects">
2899                                         <ref name="boolean"/>
2900                                 </attribute>
2901                         </optional>
2902                 </interleave>
2903         </define>
2904         <define name="text-object-index-entry-template">
2905                 <element name="text:object-index-entry-template">
2906                         <ref name="text-illustration-index-entry-content"/>
2907                 </element>
2908         </define>
2909         <define name="text-user-index">
2910                 <element name="text:user-index">
2911                         <ref name="common-section-attlist"/>
2912                         <ref name="text-user-index-source"/>
2913                         <ref name="text-index-body"/>
2914                 </element>
2915         </define>
2916         <define name="text-user-index-source">
2917                 <element name="text:user-index-source">
2918                         <ref name="text-user-index-source-attr"/>
2919                         <optional>
2920                                 <ref name="text-index-title-template"/>
2921                         </optional>
2922                         <zeroOrMore>
2923                                 <ref name="text-user-index-entry-template"/>
2924                         </zeroOrMore>
2925                         <zeroOrMore>
2926                                 <ref name="text-index-source-styles"/>
2927                         </zeroOrMore>
2928                 </element>
2929         </define>
2930         <define name="text-user-index-source-attr">
2931                 <interleave>
2932                         <ref name="text-index-scope-attr"/>
2933                         <ref name="text-relative-tab-stop-position-attr"/>
2934                         <optional>
2935                                 <attribute name="text:use-index-marks">
2936                                         <ref name="boolean"/>
2937                                 </attribute>
2938                         </optional>
2939                         <optional>
2940                                 <attribute name="text:use-index-source-styles">
2941                                         <ref name="boolean"/>
2942                                 </attribute>
2943                         </optional>
2944                         <optional>
2945                                 <attribute name="text:use-graphics">
2946                                         <ref name="boolean"/>
2947                                 </attribute>
2948                         </optional>
2949                         <optional>
2950                                 <attribute name="text:use-tables">
2951                                         <ref name="boolean"/>
2952                                 </attribute>
2953                         </optional>
2954                         <optional>
2955                                 <attribute name="text:use-floating-frames">
2956                                         <ref name="boolean"/>
2957                                 </attribute>
2958                         </optional>
2959                         <optional>
2960                                 <attribute name="text:use-objects">
2961                                         <ref name="boolean"/>
2962                                 </attribute>
2963                         </optional>
2964                         <optional>
2965                                 <attribute name="text:copy-outline-levels">
2966                                         <ref name="boolean"/>
2967                                 </attribute>
2968                         </optional>
2969                         <attribute name="text:index-name">
2970                                 <ref name="string"/>
2971                         </attribute>
2972                 </interleave>
2973         </define>
2974         <define name="text-user-index-entry-template">
2975                 <element name="text:user-index-entry-template">
2976                         <ref name="text-user-index-entry-template-attrs"/>
2977                         <zeroOrMore>
2978                                 <choice>
2979                                         <ref name="text-index-entry-chapter"/>
2980                                         <ref name="text-index-entry-page-number"/>
2981                                         <ref name="text-index-entry-text"/>
2982                                         <ref name="text-index-entry-span"/>
2983                                         <ref name="text-index-entry-tab-stop"/>
2984                                 </choice>
2985                         </zeroOrMore>
2986                 </element>
2987         </define>
2988         <define name="text-user-index-entry-template-attrs">
2989                 <interleave>
2990                         <attribute name="text:outline-level">
2991                                 <ref name="positiveInteger"/>
2992                         </attribute>
2993                         <attribute name="text:style-name">
2994                                 <ref name="styleNameRef"/>
2995                         </attribute>
2996                 </interleave>
2997         </define>
2998         <define name="text-alphabetical-index">
2999                 <element name="text:alphabetical-index">
3000                         <ref name="common-section-attlist"/>
3001                         <ref name="text-alphabetical-index-source"/>
3002                         <ref name="text-index-body"/>
3003                 </element>
3004         </define>
3005         <define name="text-alphabetical-index-source">
3006                 <element name="text:alphabetical-index-source">
3007                         <ref name="text-alphabetical-index-source-attrs"/>
3008                         <optional>
3009                                 <ref name="text-index-title-template"/>
3010                         </optional>
3011                         <zeroOrMore>
3012                                 <ref name="text-alphabetical-index-entry-template"/>
3013                         </zeroOrMore>
3014                 </element>
3015         </define>
3016         <define name="text-alphabetical-index-source-attrs">
3017                 <interleave>
3018                         <ref name="text-index-scope-attr"/>
3019                         <ref name="text-relative-tab-stop-position-attr"/>
3020                         <optional>
3021                                 <attribute name="text:ignore-case">
3022                                         <ref name="boolean"/>
3023                                 </attribute>
3024                         </optional>
3025                         <optional>
3026                                 <attribute name="text:main-entry-style-name">
3027                                         <ref name="styleNameRef"/>
3028                                 </attribute>
3029                         </optional>
3030                         <optional>
3031                                 <attribute name="text:alphabetical-separators">
3032                                         <ref name="boolean"/>
3033                                 </attribute>
3034                         </optional>
3035                         <optional>
3036                                 <attribute name="text:combine-entries">
3037                                         <ref name="boolean"/>
3038                                 </attribute>
3039                         </optional>
3040                         <optional>
3041                                 <attribute name="text:combine-entries-with-dash">
3042                                         <ref name="boolean"/>
3043                                 </attribute>
3044                         </optional>
3045                         <optional>
3046                                 <attribute name="text:combine-entries-with-pp">
3047                                         <ref name="boolean"/>
3048                                 </attribute>
3049                         </optional>
3050                         <optional>
3051                                 <attribute name="text:use-keys-as-entries">
3052                                         <ref name="boolean"/>
3053                                 </attribute>
3054                         </optional>
3055                         <optional>
3056                                 <attribute name="text:capitalize-entries">
3057                                         <ref name="boolean"/>
3058                                 </attribute>
3059                         </optional>
3060                         <optional>
3061                                 <attribute name="text:comma-separated">
3062                                         <ref name="boolean"/>
3063                                 </attribute>
3064                         </optional>
3065                         <optional>
3066                                 <attribute name="fo:language">
3067                                         <ref name="languageCode"/>
3068                                 </attribute>
3069                         </optional>
3070                         <optional>
3071                                 <attribute name="fo:country">
3072                                         <ref name="countryCode"/>
3073                                 </attribute>
3074                         </optional>
3075                         <optional>
3076                                 <attribute name="fo:script">
3077                                         <ref name="scriptCode"/>
3078                                 </attribute>
3079                         </optional>
3080                         <optional>
3081                                 <attribute name="style:rfc-language-tag">
3082                                         <ref name="language"/>
3083                                 </attribute>
3084                         </optional>
3085                         <optional>
3086                                 <attribute name="text:sort-algorithm">
3087                                         <ref name="string"/>
3088                                 </attribute>
3089                         </optional>
3090                 </interleave>
3091         </define>
3092         <define name="text-alphabetical-index-auto-mark-file">
3093                 <element name="text:alphabetical-index-auto-mark-file">
3094                         <attribute name="xlink:type">
3095                                 <value>simple</value>
3096                         </attribute>
3097                         <attribute name="xlink:href">
3098                                 <ref name="anyIRI"/>
3099                         </attribute>
3100                 </element>
3101         </define>
3102         <define name="text-alphabetical-index-entry-template">
3103                 <element name="text:alphabetical-index-entry-template">
3104                         <ref name="text-alphabetical-index-entry-template-attrs"/>
3105                         <zeroOrMore>
3106                                 <choice>
3107                                         <ref name="text-index-entry-chapter"/>
3108                                         <ref name="text-index-entry-page-number"/>
3109                                         <ref name="text-index-entry-text"/>
3110                                         <ref name="text-index-entry-span"/>
3111                                         <ref name="text-index-entry-tab-stop"/>
3112                                 </choice>
3113                         </zeroOrMore>
3114                 </element>
3115         </define>
3116         <define name="text-alphabetical-index-entry-template-attrs">
3117                 <interleave>
3118                         <attribute name="text:outline-level">
3119                                 <choice>
3120                                         <value>1</value>
3121                                         <value>2</value>
3122                                         <value>3</value>
3123                                         <value>separator</value>
3124                                 </choice>
3125                         </attribute>
3126                         <attribute name="text:style-name">
3127                                 <ref name="styleNameRef"/>
3128                         </attribute>
3129                 </interleave>
3130         </define>
3131         <define name="text-bibliography">
3132                 <element name="text:bibliography">
3133                         <ref name="common-section-attlist"/>
3134                         <ref name="text-bibliography-source"/>
3135                         <ref name="text-index-body"/>
3136                 </element>
3137         </define>
3138         <define name="text-bibliography-source">
3139                 <element name="text:bibliography-source">
3140                         <optional>
3141                                 <ref name="text-index-title-template"/>
3142                         </optional>
3143                         <zeroOrMore>
3144                                 <ref name="text-bibliography-entry-template"/>
3145                         </zeroOrMore>
3146                 </element>
3147         </define>
3148         <define name="text-bibliography-entry-template">
3149                 <element name="text:bibliography-entry-template">
3150                         <ref name="text-bibliography-entry-template-attrs"/>
3151                         <zeroOrMore>
3152                                 <choice>
3153                                         <ref name="text-index-entry-span"/>
3154                                         <ref name="text-index-entry-tab-stop"/>
3155                                         <ref name="text-index-entry-bibliography"/>
3156                                 </choice>
3157                         </zeroOrMore>
3158                 </element>
3159         </define>
3160         <define name="text-bibliography-entry-template-attrs">
3161                 <interleave>
3162                         <attribute name="text:bibliography-type">
3163                                 <ref name="text-bibliography-types"/>
3164                         </attribute>
3165                         <attribute name="text:style-name">
3166                                 <ref name="styleNameRef"/>
3167                         </attribute>
3168                 </interleave>
3169         </define>
3170         <define name="text-index-source-styles">
3171                 <element name="text:index-source-styles">
3172                         <attribute name="text:outline-level">
3173                                 <ref name="positiveInteger"/>
3174                         </attribute>
3175                         <zeroOrMore>
3176                                 <ref name="text-index-source-style"/>
3177                         </zeroOrMore>
3178                 </element>
3179         </define>
3180         <define name="text-index-source-style">
3181                 <element name="text:index-source-style">
3182                         <attribute name="text:style-name">
3183                                 <ref name="styleName"/>
3184                         </attribute>
3185                         <empty/>
3186                 </element>
3187         </define>
3188         <define name="text-index-title-template">
3189                 <element name="text:index-title-template">
3190                         <optional>
3191                                 <attribute name="text:style-name">
3192                                         <ref name="styleNameRef"/>
3193                                 </attribute>
3194                         </optional>
3195                         <text/>
3196                 </element>
3197         </define>
3198         <define name="text-index-entry-chapter">
3199                 <element name="text:index-entry-chapter">
3200                         <optional>
3201                                 <attribute name="text:style-name">
3202                                         <ref name="styleNameRef"/>
3203                                 </attribute>
3204                         </optional>
3205                         <ref name="text-index-entry-chapter-attrs"/>
3206                 </element>
3207         </define>
3208         <define name="text-index-entry-chapter-attrs">
3209                 <interleave>
3210                         <optional>
3211                                 <attribute name="text:display">
3212                                         <choice>
3213                                                 <value>name</value>
3214                                                 <value>number</value>
3215                                                 <value>number-and-name</value>
3216                                                 <value>plain-number</value>
3217                                                 <value>plain-number-and-name</value>
3218                                         </choice>
3219                                 </attribute>
3220                         </optional>
3221                         <optional>
3222                                 <attribute name="text:outline-level">
3223                                         <ref name="positiveInteger"/>
3224                                 </attribute>
3225                         </optional>
3226                 </interleave>
3227         </define>
3228         <define name="text-index-entry-text">
3229                 <element name="text:index-entry-text">
3230                         <optional>
3231                                 <attribute name="text:style-name">
3232                                         <ref name="styleNameRef"/>
3233                                 </attribute>
3234                         </optional>
3235                 </element>
3236         </define>
3237         <define name="text-index-entry-page-number">
3238                 <element name="text:index-entry-page-number">
3239                         <optional>
3240                                 <attribute name="text:style-name">
3241                                         <ref name="styleNameRef"/>
3242                                 </attribute>
3243                         </optional>
3244                 </element>
3245         </define>
3246         <define name="text-index-entry-span">
3247                 <element name="text:index-entry-span">
3248                         <optional>
3249                                 <attribute name="text:style-name">
3250                                         <ref name="styleNameRef"/>
3251                                 </attribute>
3252                         </optional>
3253                         <text/>
3254                 </element>
3255         </define>
3256         <define name="text-index-entry-bibliography">
3257                 <element name="text:index-entry-bibliography">
3258                         <ref name="text-index-entry-bibliography-attrs"/>
3259                 </element>
3260         </define>
3261         <define name="text-index-entry-bibliography-attrs">
3262                 <interleave>
3263                         <optional>
3264                                 <attribute name="text:style-name">
3265                                         <ref name="styleNameRef"/>
3266                                 </attribute>
3267                         </optional>
3268                         <attribute name="text:bibliography-data-field">
3269                                 <choice>
3270                                         <value>address</value>
3271                                         <value>annote</value>
3272                                         <value>author</value>
3273                                         <value>bibliography-type</value>
3274                                         <value>booktitle</value>
3275                                         <value>chapter</value>
3276                                         <value>custom1</value>
3277                                         <value>custom2</value>
3278                                         <value>custom3</value>
3279                                         <value>custom4</value>
3280                                         <value>custom5</value>
3281                                         <value>edition</value>
3282                                         <value>editor</value>
3283                                         <value>howpublished</value>
3284                                         <value>identifier</value>
3285                                         <value>institution</value>
3286                                         <value>isbn</value>
3287                                         <value>issn</value>
3288                                         <value>journal</value>
3289                                         <value>month</value>
3290                                         <value>note</value>
3291                                         <value>number</value>
3292                                         <value>organizations</value>
3293                                         <value>pages</value>
3294                                         <value>publisher</value>
3295                                         <value>report-type</value>
3296                                         <value>school</value>
3297                                         <value>series</value>
3298                                         <value>title</value>
3299                                         <value>url</value>
3300                                         <value>volume</value>
3301                                         <value>year</value>
3302                                 </choice>
3303                         </attribute>
3304                 </interleave>
3305         </define>
3306         <define name="text-index-entry-tab-stop">
3307                 <element name="text:index-entry-tab-stop">
3308                         <optional>
3309                                 <attribute name="text:style-name">
3310                                         <ref name="styleNameRef"/>
3311                                 </attribute>
3312                         </optional>
3313                         <ref name="text-index-entry-tab-stop-attrs"/>
3314                 </element>
3315         </define>
3316         <define name="text-index-entry-tab-stop-attrs">
3317                 <interleave>
3318                         <optional>
3319                                 <attribute name="style:leader-char">
3320                                         <ref name="character"/>
3321                                 </attribute>
3322                         </optional>
3323                         <choice>
3324                                 <attribute name="style:type">
3325                                         <value>right</value>
3326                                 </attribute>
3327                                 <group>
3328                                         <attribute name="style:type">
3329                                                 <value>left</value>
3330                                         </attribute>
3331                                         <attribute name="style:position">
3332                                                 <ref name="length"/>
3333                                         </attribute>
3334                                 </group>
3335                         </choice>
3336                 </interleave>
3337         </define>
3338         <define name="text-index-entry-link-start">
3339                 <element name="text:index-entry-link-start">
3340                         <optional>
3341                                 <attribute name="text:style-name">
3342                                         <ref name="styleNameRef"/>
3343                                 </attribute>
3344                         </optional>
3345                 </element>
3346         </define>
3347         <define name="text-index-entry-link-end">
3348                 <element name="text:index-entry-link-end">
3349                         <optional>
3350                                 <attribute name="text:style-name">
3351                                         <ref name="styleNameRef"/>
3352                                 </attribute>
3353                         </optional>
3354                 </element>
3355         </define>
3356         <define name="table-table">
3357                 <element name="table:table">
3358                         <ref name="table-table-attlist"/>
3359                         <optional>
3360                                 <ref name="table-title"/>
3361                         </optional>
3362                         <optional>
3363                                 <ref name="table-desc"/>
3364                         </optional>
3365                         <optional>
3366                                 <ref name="table-table-source"/>
3367                         </optional>
3368                         <optional>
3369                                 <ref name="office-dde-source"/>
3370                         </optional>
3371                         <optional>
3372                                 <ref name="table-scenario"/>
3373                         </optional>
3374                         <optional>
3375                                 <ref name="office-forms"/>
3376                         </optional>
3377                         <optional>
3378                                 <ref name="table-shapes"/>
3379                         </optional>
3380                         <ref name="table-columns-and-groups"/>
3381                         <ref name="table-rows-and-groups"/>
3382                         <optional>
3383                                 <ref name="table-named-expressions"/>
3384                         </optional>
3385                 </element>
3386         </define>
3387         <define name="table-columns-and-groups">
3388                 <oneOrMore>
3389                         <choice>
3390                                 <ref name="table-table-column-group"/>
3391                                 <ref name="table-columns-no-group"/>
3392                         </choice>
3393                 </oneOrMore>
3394         </define>
3395         <define name="table-columns-no-group">
3396                 <choice>
3397                         <group>
3398                                 <ref name="table-columns"/>
3399                                 <optional>
3400                                         <ref name="table-table-header-columns"/>
3401                                         <optional>
3402                                                 <ref name="table-columns"/>
3403                                         </optional>
3404                                 </optional>
3405                         </group>
3406                         <group>
3407                                 <ref name="table-table-header-columns"/>
3408                                 <optional>
3409                                         <ref name="table-columns"/>
3410                                 </optional>
3411                         </group>
3412                 </choice>
3413         </define>
3414         <define name="table-columns">
3415                 <choice>
3416                         <ref name="table-table-columns"/>
3417                         <oneOrMore>
3418                                 <ref name="table-table-column"/>
3419                         </oneOrMore>
3420                 </choice>
3421         </define>
3422         <define name="table-rows-and-groups">
3423                 <oneOrMore>
3424                         <choice>
3425                                 <ref name="table-table-row-group"/>
3426                                 <ref name="table-rows-no-group"/>
3427                         </choice>
3428                 </oneOrMore>
3429         </define>
3430         <define name="table-rows-no-group">
3431                 <choice>
3432                         <group>
3433                                 <ref name="table-rows"/>
3434                                 <optional>
3435                                         <ref name="table-table-header-rows"/>
3436                                         <optional>
3437                                                 <ref name="table-rows"/>
3438                                         </optional>
3439                                 </optional>
3440                         </group>
3441                         <group>
3442                                 <ref name="table-table-header-rows"/>
3443                                 <optional>
3444                                         <ref name="table-rows"/>
3445                                 </optional>
3446                         </group>
3447                 </choice>
3448         </define>
3449         <define name="table-rows">
3450                 <choice>
3451                         <ref name="table-table-rows"/>
3452                         <oneOrMore>
3453                                 <optional>
3454                                         <ref name="text-soft-page-break"/>
3455                                 </optional>
3456                                 <ref name="table-table-row"/>
3457                         </oneOrMore>
3458                 </choice>
3459         </define>
3460         <define name="table-table-attlist">
3461                 <interleave>
3462                         <optional>
3463                                 <attribute name="table:name">
3464                                         <ref name="string"/>
3465                                 </attribute>
3466                         </optional>
3467                         <optional>
3468                                 <attribute name="table:style-name">
3469                                         <ref name="styleNameRef"/>
3470                                 </attribute>
3471                         </optional>
3472                         <optional>
3473                                 <attribute name="table:template-name">
3474                                         <ref name="string"/>
3475                                 </attribute>
3476                         </optional>
3477                         <optional>
3478                                 <attribute name="table:use-first-row-styles">
3479                                         <ref name="boolean"/>
3480                                 </attribute>
3481                         </optional>
3482                         <optional>
3483                                 <attribute name="table:use-last-row-styles">
3484                                         <ref name="boolean"/>
3485                                 </attribute>
3486                         </optional>
3487                         <optional>
3488                                 <attribute name="table:use-first-column-styles">
3489                                         <ref name="boolean"/>
3490                                 </attribute>
3491                         </optional>
3492                         <optional>
3493                                 <attribute name="table:use-last-column-styles">
3494                                         <ref name="boolean"/>
3495                                 </attribute>
3496                         </optional>
3497                         <optional>
3498                                 <attribute name="table:use-banding-rows-styles">
3499                                         <ref name="boolean"/>
3500                                 </attribute>
3501                         </optional>
3502                         <optional>
3503                                 <attribute name="table:use-banding-columns-styles">
3504                                         <ref name="boolean"/>
3505                                 </attribute>
3506                         </optional>
3507                         <optional>
3508                                 <attribute name="table:protected">
3509                                         <ref name="boolean"/>
3510                                 </attribute>
3511                         </optional>
3512                         <optional>
3513                                 <attribute name="table:protection-key">
3514                                         <ref name="string"/>
3515                                 </attribute>
3516                         </optional>
3517                         <optional>
3518                                 <attribute name="table:protection-key-digest-algorithm">
3519                                         <ref name="anyIRI"/>
3520                                 </attribute>
3521                         </optional>
3522                         <optional>
3523                                 <attribute name="table:print">
3524                                         <ref name="boolean"/>
3525                                 </attribute>
3526                         </optional>
3527                         <optional>
3528                                 <attribute name="table:print-ranges">
3529                                         <ref name="cellRangeAddressList"/>
3530                                 </attribute>
3531                         </optional>
3532                         <optional>
3533                                 <ref name="xml-id"/>
3534                         </optional>
3535                         <optional>
3536                                 <attribute name="table:is-sub-table">
3537                                         <ref name="boolean"/>
3538                                 </attribute>
3539                         </optional>
3540                 </interleave>
3541         </define>
3542         <define name="table-title">
3543                 <element name="table:title">
3544                         <text/>
3545                 </element>
3546         </define>
3547         <define name="table-desc">
3548                 <element name="table:desc">
3549                         <text/>
3550                 </element>
3551         </define>
3552         <define name="table-table-row">
3553                 <element name="table:table-row">
3554                         <ref name="table-table-row-attlist"/>
3555                         <oneOrMore>
3556                                 <choice>
3557                                         <ref name="table-table-cell"/>
3558                                         <ref name="table-covered-table-cell"/>
3559                                 </choice>
3560                         </oneOrMore>
3561                 </element>
3562         </define>
3563         <define name="table-table-row-attlist">
3564                 <interleave>
3565                         <optional>
3566                                 <attribute name="table:number-rows-repeated">
3567                                         <ref name="positiveInteger"/>
3568                                 </attribute>
3569                         </optional>
3570                         <optional>
3571                                 <attribute name="table:style-name">
3572                                         <ref name="styleNameRef"/>
3573                                 </attribute>
3574                         </optional>
3575                         <optional>
3576                                 <attribute name="table:default-cell-style-name">
3577                                         <ref name="styleNameRef"/>
3578                                 </attribute>
3579                         </optional>
3580                         <optional>
3581                                 <attribute name="table:visibility">
3582                                         <ref name="table-visibility-value"/>
3583                                 </attribute>
3584                         </optional>
3585                         <optional>
3586                                 <ref name="xml-id"/>
3587                         </optional>
3588                 </interleave>
3589         </define>
3590         <define name="table-visibility-value">
3591                 <choice>
3592                         <value>visible</value>
3593                         <value>collapse</value>
3594                         <value>filter</value>
3595                 </choice>
3596         </define>
3597         <define name="table-table-cell">
3598                 <element name="table:table-cell">
3599                         <ref name="table-table-cell-attlist"/>
3600                         <ref name="table-table-cell-attlist-extra"/>
3601                         <ref name="table-table-cell-content"/>
3602                 </element>
3603         </define>
3604         <define name="table-covered-table-cell">
3605                 <element name="table:covered-table-cell">
3606                         <ref name="table-table-cell-attlist"/>
3607                         <ref name="table-table-cell-content"/>
3608                 </element>
3609         </define>
3610         <define name="table-table-cell-content">
3611                 <optional>
3612                         <ref name="table-cell-range-source"/>
3613                 </optional>
3614                 <optional>
3615                         <ref name="office-annotation"/>
3616                 </optional>
3617                 <optional>
3618                         <ref name="table-detective"/>
3619                 </optional>
3620                 <zeroOrMore>
3621                         <ref name="text-content"/>
3622                 </zeroOrMore>
3623         </define>
3624         <define name="table-table-cell-attlist">
3625                 <interleave>
3626                         <optional>
3627                                 <attribute name="table:number-columns-repeated">
3628                                         <ref name="positiveInteger"/>
3629                                 </attribute>
3630                         </optional>
3631                         <optional>
3632                                 <attribute name="table:style-name">
3633                                         <ref name="styleNameRef"/>
3634                                 </attribute>
3635                         </optional>
3636                         <optional>
3637                                 <attribute name="table:content-validation-name">
3638                                         <ref name="string"/>
3639                                 </attribute>
3640                         </optional>
3641                         <optional>
3642                                 <attribute name="table:formula">
3643                                         <ref name="string"/>
3644                                 </attribute>
3645                         </optional>
3646                         <optional>
3647                                 <ref name="common-value-and-type-attlist"/>
3648                         </optional>
3649                         <optional>
3650                                 <attribute name="table:protect">
3651                                         <ref name="boolean"/>
3652                                 </attribute>
3653                         </optional>
3654                         <optional>
3655                                 <attribute name="table:protected">
3656                                         <ref name="boolean"/>
3657                                 </attribute>
3658                         </optional>
3659                         <optional>
3660                                 <ref name="xml-id"/>
3661                         </optional>
3662                         <optional>
3663                                 <ref name="common-in-content-meta-attlist"/>
3664                         </optional>
3665                 </interleave>
3666         </define>
3667         <define name="table-table-cell-attlist-extra">
3668                 <interleave>
3669                         <optional>
3670                                 <attribute name="table:number-columns-spanned">
3671                                         <ref name="positiveInteger"/>
3672                                 </attribute>
3673                         </optional>
3674                         <optional>
3675                                 <attribute name="table:number-rows-spanned">
3676                                         <ref name="positiveInteger"/>
3677                                 </attribute>
3678                         </optional>
3679                         <optional>
3680                                 <attribute name="table:number-matrix-columns-spanned">
3681                                         <ref name="positiveInteger"/>
3682                                 </attribute>
3683                         </optional>
3684                         <optional>
3685                                 <attribute name="table:number-matrix-rows-spanned">
3686                                         <ref name="positiveInteger"/>
3687                                 </attribute>
3688                         </optional>
3689                 </interleave>
3690         </define>
3691         <define name="table-table-column">
3692                 <element name="table:table-column">
3693                         <ref name="table-table-column-attlist"/>
3694                         <empty/>
3695                 </element>
3696         </define>
3697         <define name="table-table-column-attlist">
3698                 <interleave>
3699                         <optional>
3700                                 <attribute name="table:number-columns-repeated">
3701                                         <ref name="positiveInteger"/>
3702                                 </attribute>
3703                         </optional>
3704                         <optional>
3705                                 <attribute name="table:style-name">
3706                                         <ref name="styleNameRef"/>
3707                                 </attribute>
3708                         </optional>
3709                         <optional>
3710                                 <attribute name="table:visibility">
3711                                         <ref name="table-visibility-value"/>
3712                                 </attribute>
3713                         </optional>
3714                         <optional>
3715                                 <attribute name="table:default-cell-style-name">
3716                                         <ref name="styleNameRef"/>
3717                                 </attribute>
3718                         </optional>
3719                         <optional>
3720                                 <ref name="xml-id"/>
3721                         </optional>
3722                 </interleave>
3723         </define>
3724         <define name="table-table-header-columns">
3725                 <element name="table:table-header-columns">
3726                         <oneOrMore>
3727                                 <ref name="table-table-column"/>
3728                         </oneOrMore>
3729                 </element>
3730         </define>
3731         <define name="table-table-columns">
3732                 <element name="table:table-columns">
3733                         <oneOrMore>
3734                                 <ref name="table-table-column"/>
3735                         </oneOrMore>
3736                 </element>
3737         </define>
3738         <define name="table-table-column-group">
3739                 <element name="table:table-column-group">
3740                         <ref name="table-table-column-group-attlist"/>
3741                         <ref name="table-columns-and-groups"/>
3742                 </element>
3743         </define>
3744         <define name="table-table-column-group-attlist">
3745                 <optional>
3746                         <attribute name="table:display">
3747                                 <ref name="boolean"/>
3748                         </attribute>
3749                 </optional>
3750         </define>
3751         <define name="table-table-header-rows">
3752                 <element name="table:table-header-rows">
3753                         <oneOrMore>
3754                                 <optional>
3755                                         <ref name="text-soft-page-break"/>
3756                                 </optional>
3757                                 <ref name="table-table-row"/>
3758                         </oneOrMore>
3759                 </element>
3760         </define>
3761         <define name="table-table-rows">
3762                 <element name="table:table-rows">
3763                         <oneOrMore>
3764                                 <optional>
3765                                         <ref name="text-soft-page-break"/>
3766                                 </optional>
3767                                 <ref name="table-table-row"/>
3768                         </oneOrMore>
3769                 </element>
3770         </define>
3771         <define name="table-table-row-group">
3772                 <element name="table:table-row-group">
3773                         <ref name="table-table-row-group-attlist"/>
3774                         <ref name="table-rows-and-groups"/>
3775                 </element>
3776         </define>
3777         <define name="table-table-row-group-attlist">
3778                 <optional>
3779                         <attribute name="table:display">
3780                                 <ref name="boolean"/>
3781                         </attribute>
3782                 </optional>
3783         </define>
3784         <define name="cellAddress">
3785                 <data type="string">
3786                         <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+</param>
3787                 </data>
3788         </define>
3789         <define name="cellRangeAddress">
3790                 <choice>
3791                         <data type="string">
3792                                 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+)?</param>
3793                         </data>
3794                         <data type="string">
3795                                 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[0-9]+:($?([^\. ']+|'([^']|'')+'))?\.$?[0-9]+</param>
3796                         </data>
3797                         <data type="string">
3798                                 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+</param>
3799                         </data>
3800                 </choice>
3801         </define>
3802         <define name="cellRangeAddressList">
3803                 <data type="string"/>
3804                 <dc:description>Value is a space separated list of "cellRangeAddress" patterns</dc:description>
3805         </define>
3806         <define name="table-table-source">
3807                 <element name="table:table-source">
3808                         <ref name="table-table-source-attlist"/>
3809                         <ref name="table-linked-source-attlist"/>
3810                         <empty/>
3811                 </element>
3812         </define>
3813         <define name="table-table-source-attlist">
3814                 <interleave>
3815                         <optional>
3816                                 <attribute name="table:mode">
3817                                         <choice>
3818                                                 <value>copy-all</value>
3819                                                 <value>copy-results-only</value>
3820                                         </choice>
3821                                 </attribute>
3822                         </optional>
3823                         <optional>
3824                                 <attribute name="table:table-name">
3825                                         <ref name="string"/>
3826                                 </attribute>
3827                         </optional>
3828                 </interleave>
3829         </define>
3830         <define name="table-linked-source-attlist">
3831                 <interleave>
3832                         <attribute name="xlink:type">
3833                                 <value>simple</value>
3834                         </attribute>
3835                         <attribute name="xlink:href">
3836                                 <ref name="anyIRI"/>
3837                         </attribute>
3838                         <optional>
3839                                 <attribute name="xlink:actuate">
3840                                         <value>onRequest</value>
3841                                 </attribute>
3842                         </optional>
3843                         <optional>
3844                                 <attribute name="table:filter-name">
3845                                         <ref name="string"/>
3846                                 </attribute>
3847                         </optional>
3848                         <optional>
3849                                 <attribute name="table:filter-options">
3850                                         <ref name="string"/>
3851                                 </attribute>
3852                         </optional>
3853                         <optional>
3854                                 <attribute name="table:refresh-delay">
3855                                         <ref name="duration"/>
3856                                 </attribute>
3857                         </optional>
3858                 </interleave>
3859         </define>
3860         <define name="table-scenario">
3861                 <element name="table:scenario">
3862                         <ref name="table-scenario-attlist"/>
3863                         <empty/>
3864                 </element>
3865         </define>
3866         <define name="table-scenario-attlist">
3867                 <interleave>
3868                         <attribute name="table:scenario-ranges">
3869                                 <ref name="cellRangeAddressList"/>
3870                         </attribute>
3871                         <attribute name="table:is-active">
3872                                 <ref name="boolean"/>
3873                         </attribute>
3874                         <optional>
3875                                 <attribute name="table:display-border">
3876                                         <ref name="boolean"/>
3877                                 </attribute>
3878                         </optional>
3879                         <optional>
3880                                 <attribute name="table:border-color">
3881                                         <ref name="color"/>
3882                                 </attribute>
3883                         </optional>
3884                         <optional>
3885                                 <attribute name="table:copy-back">
3886                                         <ref name="boolean"/>
3887                                 </attribute>
3888                         </optional>
3889                         <optional>
3890                                 <attribute name="table:copy-styles">
3891                                         <ref name="boolean"/>
3892                                 </attribute>
3893                         </optional>
3894                         <optional>
3895                                 <attribute name="table:copy-formulas">
3896                                         <ref name="boolean"/>
3897                                 </attribute>
3898                         </optional>
3899                         <optional>
3900                                 <attribute name="table:comment">
3901                                         <ref name="string"/>
3902                                 </attribute>
3903                         </optional>
3904                         <optional>
3905                                 <attribute name="table:protected">
3906                                         <ref name="boolean"/>
3907                                 </attribute>
3908                         </optional>
3909                 </interleave>
3910         </define>
3911         <define name="table-shapes">
3912                 <element name="table:shapes">
3913                         <oneOrMore>
3914                                 <ref name="shape"/>
3915                         </oneOrMore>
3916                 </element>
3917         </define>
3918         <define name="table-cell-range-source">
3919                 <element name="table:cell-range-source">
3920                         <ref name="table-table-cell-range-source-attlist"/>
3921                         <ref name="table-linked-source-attlist"/>
3922                         <empty/>
3923                 </element>
3924         </define>
3925         <define name="table-table-cell-range-source-attlist">
3926                 <interleave>
3927                         <attribute name="table:name">
3928                                 <ref name="string"/>
3929                         </attribute>
3930                         <attribute name="table:last-column-spanned">
3931                                 <ref name="positiveInteger"/>
3932                         </attribute>
3933                         <attribute name="table:last-row-spanned">
3934                                 <ref name="positiveInteger"/>
3935                         </attribute>
3936                 </interleave>
3937         </define>
3938         <define name="table-detective">
3939                 <element name="table:detective">
3940                         <zeroOrMore>
3941                                 <ref name="table-highlighted-range"/>
3942                         </zeroOrMore>
3943                         <zeroOrMore>
3944                                 <ref name="table-operation"/>
3945                         </zeroOrMore>
3946                 </element>
3947         </define>
3948         <define name="table-operation">
3949                 <element name="table:operation">
3950                         <ref name="table-operation-attlist"/>
3951                         <empty/>
3952                 </element>
3953         </define>
3954         <define name="table-operation-attlist">
3955                 <interleave>
3956                         <attribute name="table:name">
3957                                 <choice>
3958                                         <value>trace-dependents</value>
3959                                         <value>remove-dependents</value>
3960                                         <value>trace-precedents</value>
3961                                         <value>remove-precedents</value>
3962                                         <value>trace-errors</value>
3963                                 </choice>
3964                         </attribute>
3965                         <attribute name="table:index">
3966                                 <ref name="nonNegativeInteger"/>
3967                         </attribute>
3968                 </interleave>
3969         </define>
3970         <define name="table-highlighted-range">
3971                 <element name="table:highlighted-range">
3972                         <choice>
3973                                 <group>
3974                                         <ref name="table-highlighted-range-attlist"/>
3975                                 </group>
3976                                 <group>
3977                                         <ref name="table-highlighted-range-attlist-invalid"/>
3978                                 </group>
3979                         </choice>
3980                         <empty/>
3981                 </element>
3982         </define>
3983         <define name="table-highlighted-range-attlist">
3984                 <interleave>
3985                         <optional>
3986                                 <attribute name="table:cell-range-address">
3987                                         <ref name="cellRangeAddress"/>
3988                                 </attribute>
3989                         </optional>
3990                         <attribute name="table:direction">
3991                                 <choice>
3992                                         <value>from-another-table</value>
3993                                         <value>to-another-table</value>
3994                                         <value>from-same-table</value>
3995                                 </choice>
3996                         </attribute>
3997                         <optional>
3998                                 <attribute name="table:contains-error">
3999                                         <ref name="boolean"/>
4000                                 </attribute>
4001                         </optional>
4002                 </interleave>
4003         </define>
4004         <define name="table-highlighted-range-attlist-invalid">
4005                 <attribute name="table:marked-invalid">
4006                         <ref name="boolean"/>
4007                 </attribute>
4008         </define>
4009         <define name="office-spreadsheet-attlist">
4010                 <optional>
4011                         <attribute name="table:structure-protected">
4012                                 <ref name="boolean"/>
4013                         </attribute>
4014                 </optional>
4015                 <optional>
4016                         <attribute name="table:protection-key">
4017                                 <ref name="string"/>
4018                         </attribute>
4019                 </optional>
4020                 <optional>
4021                         <attribute name="table:protection-key-digest-algorithm">
4022                                 <ref name="anyIRI"/>
4023                         </attribute>
4024                 </optional>
4025         </define>
4026         <define name="table-calculation-settings">
4027                 <element name="table:calculation-settings">
4028                         <ref name="table-calculation-setting-attlist"/>
4029                         <optional>
4030                                 <ref name="table-null-date"/>
4031                         </optional>
4032                         <optional>
4033                                 <ref name="table-iteration"/>
4034                         </optional>
4035                 </element>
4036         </define>
4037         <define name="table-calculation-setting-attlist">
4038                 <interleave>
4039                         <optional>
4040                                 <attribute name="table:case-sensitive">
4041                                         <ref name="boolean"/>
4042                                 </attribute>
4043                         </optional>
4044                         <optional>
4045                                 <attribute name="table:precision-as-shown">
4046                                         <ref name="boolean"/>
4047                                 </attribute>
4048                         </optional>
4049                         <optional>
4050                                 <attribute name="table:search-criteria-must-apply-to-whole-cell">
4051                                         <ref name="boolean"/>
4052                                 </attribute>
4053                         </optional>
4054                         <optional>
4055                                 <attribute name="table:automatic-find-labels">
4056                                         <ref name="boolean"/>
4057                                 </attribute>
4058                         </optional>
4059                         <optional>
4060                                 <attribute name="table:use-regular-expressions">
4061                                         <ref name="boolean"/>
4062                                 </attribute>
4063                         </optional>
4064                         <optional>
4065                                 <attribute name="table:use-wildcards">
4066                                         <ref name="boolean"/>
4067                                 </attribute>
4068                         </optional>
4069                         <optional>
4070                                 <attribute name="table:null-year">
4071                                         <ref name="positiveInteger"/>
4072                                 </attribute>
4073                         </optional>
4074                 </interleave>
4075         </define>
4076         <define name="table-null-date">
4077                 <element name="table:null-date">
4078                         <optional>
4079                                 <attribute name="table:value-type">
4080                                         <value>date</value>
4081                                 </attribute>
4082                         </optional>
4083                         <optional>
4084                                 <attribute name="table:date-value">
4085                                         <ref name="date"/>
4086                                 </attribute>
4087                         </optional>
4088                         <empty/>
4089                 </element>
4090         </define>
4091         <define name="table-iteration">
4092                 <element name="table:iteration">
4093                         <optional>
4094                                 <attribute name="table:status">
4095                                         <choice>
4096                                                 <value>enable</value>
4097                                                 <value>disable</value>
4098                                         </choice>
4099                                 </attribute>
4100                         </optional>
4101                         <optional>
4102                                 <attribute name="table:steps">
4103                                         <ref name="positiveInteger"/>
4104                                 </attribute>
4105                         </optional>
4106                         <optional>
4107                                 <attribute name="table:maximum-difference">
4108                                         <ref name="double"/>
4109                                 </attribute>
4110                         </optional>
4111                         <empty/>
4112                 </element>
4113         </define>
4114         <define name="table-content-validations">
4115                 <element name="table:content-validations">
4116                         <oneOrMore>
4117                                 <ref name="table-content-validation"/>
4118                         </oneOrMore>
4119                 </element>
4120         </define>
4121         <define name="table-content-validation">
4122                 <element name="table:content-validation">
4123                         <ref name="table-validation-attlist"/>
4124                         <optional>
4125                                 <ref name="table-help-message"/>
4126                         </optional>
4127                         <optional>
4128                                 <choice>
4129                                         <ref name="table-error-message"/>
4130                                         <group>
4131                                                 <ref name="table-error-macro"/>
4132                                                 <ref name="office-event-listeners"/>
4133                                         </group>
4134                                 </choice>
4135                         </optional>
4136                 </element>
4137         </define>
4138         <define name="table-validation-attlist">
4139                 <interleave>
4140                         <attribute name="table:name">
4141                                 <ref name="string"/>
4142                         </attribute>
4143                         <optional>
4144                                 <attribute name="table:condition">
4145                                         <ref name="string"/>
4146                                 </attribute>
4147                         </optional>
4148                         <optional>
4149                                 <attribute name="table:base-cell-address">
4150                                         <ref name="cellAddress"/>
4151                                 </attribute>
4152                         </optional>
4153                         <optional>
4154                                 <attribute name="table:allow-empty-cell">
4155                                         <ref name="boolean"/>
4156                                 </attribute>
4157                         </optional>
4158                         <optional>
4159                                 <attribute name="table:display-list">
4160                                         <choice>
4161                                                 <value>none</value>
4162                                                 <value>unsorted</value>
4163                                                 <value>sort-ascending</value>
4164                                         </choice>
4165                                 </attribute>
4166                         </optional>
4167                 </interleave>
4168         </define>
4169         <define name="table-help-message">
4170                 <element name="table:help-message">
4171                         <optional>
4172                                 <attribute name="table:title">
4173                                         <ref name="string"/>
4174                                 </attribute>
4175                         </optional>
4176                         <optional>
4177                                 <attribute name="table:display">
4178                                         <ref name="boolean"/>
4179                                 </attribute>
4180                         </optional>
4181                         <zeroOrMore>
4182                                 <ref name="text-p"/>
4183                         </zeroOrMore>
4184                 </element>
4185         </define>
4186         <define name="table-error-message">
4187                 <element name="table:error-message">
4188                         <optional>
4189                                 <attribute name="table:title">
4190                                         <ref name="string"/>
4191                                 </attribute>
4192                         </optional>
4193                         <optional>
4194                                 <attribute name="table:display">
4195                                         <ref name="boolean"/>
4196                                 </attribute>
4197                         </optional>
4198                         <optional>
4199                                 <attribute name="table:message-type">
4200                                         <choice>
4201                                                 <value>stop</value>
4202                                                 <value>warning</value>
4203                                                 <value>information</value>
4204                                         </choice>
4205                                 </attribute>
4206                         </optional>
4207                         <zeroOrMore>
4208                                 <ref name="text-p"/>
4209                         </zeroOrMore>
4210                 </element>
4211         </define>
4212         <define name="table-error-macro">
4213                 <element name="table:error-macro">
4214                         <optional>
4215                                 <attribute name="table:execute">
4216                                         <ref name="boolean"/>
4217                                 </attribute>
4218                         </optional>
4219                 </element>
4220         </define>
4221         <define name="table-label-ranges">
4222                 <element name="table:label-ranges">
4223                         <zeroOrMore>
4224                                 <ref name="table-label-range"/>
4225                         </zeroOrMore>
4226                 </element>
4227         </define>
4228         <define name="table-label-range">
4229                 <element name="table:label-range">
4230                         <ref name="table-label-range-attlist"/>
4231                         <empty/>
4232                 </element>
4233         </define>
4234         <define name="table-label-range-attlist">
4235                 <interleave>
4236                         <attribute name="table:label-cell-range-address">
4237                                 <ref name="cellRangeAddress"/>
4238                         </attribute>
4239                         <attribute name="table:data-cell-range-address">
4240                                 <ref name="cellRangeAddress"/>
4241                         </attribute>
4242                         <attribute name="table:orientation">
4243                                 <choice>
4244                                         <value>column</value>
4245                                         <value>row</value>
4246                                 </choice>
4247                         </attribute>
4248                 </interleave>
4249         </define>
4250         <define name="table-named-expressions">
4251                 <element name="table:named-expressions">
4252                         <zeroOrMore>
4253                                 <choice>
4254                                         <ref name="table-named-range"/>
4255                                         <ref name="table-named-expression"/>
4256                                 </choice>
4257                         </zeroOrMore>
4258                 </element>
4259         </define>
4260         <define name="table-named-range">
4261                 <element name="table:named-range">
4262                         <ref name="table-named-range-attlist"/>
4263                         <empty/>
4264                 </element>
4265         </define>
4266         <define name="table-named-range-attlist">
4267                 <attribute name="table:name">
4268                         <ref name="string"/>
4269                 </attribute>
4270                 <attribute name="table:cell-range-address">
4271                         <ref name="cellRangeAddress"/>
4272                 </attribute>
4273                 <optional>
4274                         <attribute name="table:base-cell-address">
4275                                 <ref name="cellAddress"/>
4276                         </attribute>
4277                 </optional>
4278                 <optional>
4279                         <attribute name="table:range-usable-as">
4280                                 <choice>
4281                                         <value>none</value>
4282                                         <list>
4283                                                 <oneOrMore>
4284                                                         <choice>
4285                                                                 <value>print-range</value>
4286                                                                 <value>filter</value>
4287                                                                 <value>repeat-row</value>
4288                                                                 <value>repeat-column</value>
4289                                                         </choice>
4290                                                 </oneOrMore>
4291                                         </list>
4292                                 </choice>
4293                         </attribute>
4294                 </optional>
4295         </define>
4296         <define name="table-named-expression">
4297                 <element name="table:named-expression">
4298                         <ref name="table-named-expression-attlist"/>
4299                         <empty/>
4300                 </element>
4301         </define>
4302         <define name="table-named-expression-attlist">
4303                 <attribute name="table:name">
4304                         <ref name="string"/>
4305                 </attribute>
4306                 <attribute name="table:expression">
4307                         <ref name="string"/>
4308                 </attribute>
4309                 <optional>
4310                         <attribute name="table:base-cell-address">
4311                                 <ref name="cellAddress"/>
4312                         </attribute>
4313                 </optional>
4314         </define>
4315         <define name="table-database-ranges">
4316                 <element name="table:database-ranges">
4317                         <zeroOrMore>
4318                                 <ref name="table-database-range"/>
4319                         </zeroOrMore>
4320                 </element>
4321         </define>
4322         <define name="table-database-range">
4323                 <element name="table:database-range">
4324                         <ref name="table-database-range-attlist"/>
4325                         <optional>
4326                                 <choice>
4327                                         <ref name="table-database-source-sql"/>
4328                                         <ref name="table-database-source-table"/>
4329                                         <ref name="table-database-source-query"/>
4330                                 </choice>
4331                         </optional>
4332                         <optional>
4333                                 <ref name="table-filter"/>
4334                         </optional>
4335                         <optional>
4336                                 <ref name="table-sort"/>
4337                         </optional>
4338                         <optional>
4339                                 <ref name="table-subtotal-rules"/>
4340                         </optional>
4341                 </element>
4342         </define>
4343         <define name="table-database-range-attlist">
4344                 <interleave>
4345                         <optional>
4346                                 <attribute name="table:name">
4347                                         <ref name="string"/>
4348                                 </attribute>
4349                         </optional>
4350                         <optional>
4351                                 <attribute name="table:is-selection">
4352                                         <ref name="boolean"/>
4353                                 </attribute>
4354                         </optional>
4355                         <optional>
4356                                 <attribute name="table:on-update-keep-styles">
4357                                         <ref name="boolean"/>
4358                                 </attribute>
4359                         </optional>
4360                         <optional>
4361                                 <attribute name="table:on-update-keep-size">
4362                                         <ref name="boolean"/>
4363                                 </attribute>
4364                         </optional>
4365                         <optional>
4366                                 <attribute name="table:has-persistent-data">
4367                                         <ref name="boolean"/>
4368                                 </attribute>
4369                         </optional>
4370                         <optional>
4371                                 <attribute name="table:orientation">
4372                                         <choice>
4373                                                 <value>column</value>
4374                                                 <value>row</value>
4375                                         </choice>
4376                                 </attribute>
4377                         </optional>
4378                         <optional>
4379                                 <attribute name="table:contains-header">
4380                                         <ref name="boolean"/>
4381                                 </attribute>
4382                         </optional>
4383                         <optional>
4384                                 <attribute name="table:display-filter-buttons">
4385                                         <ref name="boolean"/>
4386                                 </attribute>
4387                         </optional>
4388                         <attribute name="table:target-range-address">
4389                                 <ref name="cellRangeAddress"/>
4390                         </attribute>
4391                         <optional>
4392                                 <attribute name="table:refresh-delay">
4393                                         <ref name="boolean"/>
4394                                 </attribute>
4395                         </optional>
4396                 </interleave>
4397         </define>
4398         <define name="table-database-source-sql">
4399                 <element name="table:database-source-sql">
4400                         <ref name="table-database-source-sql-attlist"/>
4401                         <empty/>
4402                 </element>
4403         </define>
4404         <define name="table-database-source-sql-attlist">
4405                 <interleave>
4406                         <attribute name="table:database-name">
4407                                 <ref name="string"/>
4408                         </attribute>
4409                         <attribute name="table:sql-statement">
4410                                 <ref name="string"/>
4411                         </attribute>
4412                         <optional>
4413                                 <attribute name="table:parse-sql-statement">
4414                                         <ref name="boolean"/>
4415                                 </attribute>
4416                         </optional>
4417                 </interleave>
4418         </define>
4419         <define name="table-database-source-query">
4420                 <element name="table:database-source-table">
4421                         <ref name="table-database-source-table-attlist"/>
4422                         <empty/>
4423                 </element>
4424         </define>
4425         <define name="table-database-source-table-attlist">
4426                 <interleave>
4427                         <attribute name="table:database-name">
4428                                 <ref name="string"/>
4429                         </attribute>
4430                         <attribute name="table:database-table-name">
4431                                 <ref name="string"/>
4432                         </attribute>
4433                 </interleave>
4434         </define>
4435         <define name="table-database-source-table">
4436                 <element name="table:database-source-query">
4437                         <ref name="table-database-source-query-attlist"/>
4438                         <empty/>
4439                 </element>
4440         </define>
4441         <define name="table-database-source-query-attlist">
4442                 <interleave>
4443                         <attribute name="table:database-name">
4444                                 <ref name="string"/>
4445                         </attribute>
4446                         <attribute name="table:query-name">
4447                                 <ref name="string"/>
4448                         </attribute>
4449                 </interleave>
4450         </define>
4451         <define name="table-sort">
4452                 <element name="table:sort">
4453                         <ref name="table-sort-attlist"/>
4454                         <oneOrMore>
4455                                 <ref name="table-sort-by"/>
4456                         </oneOrMore>
4457                 </element>
4458         </define>
4459         <define name="table-sort-attlist">
4460                 <interleave>
4461                         <optional>
4462                                 <attribute name="table:bind-styles-to-content">
4463                                         <ref name="boolean"/>
4464                                 </attribute>
4465                         </optional>
4466                         <optional>
4467                                 <attribute name="table:target-range-address">
4468                                         <ref name="cellRangeAddress"/>
4469                                 </attribute>
4470                         </optional>
4471                         <optional>
4472                                 <attribute name="table:case-sensitive">
4473                                         <ref name="boolean"/>
4474                                 </attribute>
4475                         </optional>
4476                         <optional>
4477                                 <attribute name="table:language">
4478                                         <ref name="languageCode"/>
4479                                 </attribute>
4480                         </optional>
4481                         <optional>
4482                                 <attribute name="table:country">
4483                                         <ref name="countryCode"/>
4484                                 </attribute>
4485                         </optional>
4486                         <optional>
4487                                 <attribute name="table:script">
4488                                         <ref name="scriptCode"/>
4489                                 </attribute>
4490                         </optional>
4491                         <optional>
4492                                 <attribute name="table:rfc-language-tag">
4493                                         <ref name="language"/>
4494                                 </attribute>
4495                         </optional>
4496                         <optional>
4497                                 <attribute name="table:algorithm">
4498                                         <ref name="string"/>
4499                                 </attribute>
4500                         </optional>
4501                         <optional>
4502                                 <attribute name="table:embedded-number-behavior">
4503                                         <choice>
4504                                                 <value>alpha-numeric</value>
4505                                                 <value>integer</value>
4506                                                 <value>double</value>
4507                                         </choice>
4508                                 </attribute>
4509                         </optional>
4510                 </interleave>
4511         </define>
4512         <define name="table-sort-by">
4513                 <element name="table:sort-by">
4514                         <ref name="table-sort-by-attlist"/>
4515                         <empty/>
4516                 </element>
4517         </define>
4518         <define name="table-sort-by-attlist">
4519                 <interleave>
4520                         <attribute name="table:field-number">
4521                                 <ref name="nonNegativeInteger"/>
4522                         </attribute>
4523                         <optional>
4524                                 <attribute name="table:data-type">
4525                                         <choice>
4526                                                 <value>text</value>
4527                                                 <value>number</value>
4528                                                 <value>automatic</value>
4529                                                 <ref name="string"/>
4530                                         </choice>
4531                                 </attribute>
4532                         </optional>
4533                         <optional>
4534                                 <attribute name="table:order">
4535                                         <choice>
4536                                                 <value>ascending</value>
4537                                                 <value>descending</value>
4538                                         </choice>
4539                                 </attribute>
4540                         </optional>
4541                 </interleave>
4542         </define>
4543         <define name="table-subtotal-rules">
4544                 <element name="table:subtotal-rules">
4545                         <ref name="table-subtotal-rules-attlist"/>
4546                         <optional>
4547                                 <ref name="table-sort-groups"/>
4548                         </optional>
4549                         <zeroOrMore>
4550                                 <ref name="table-subtotal-rule"/>
4551                         </zeroOrMore>
4552                 </element>
4553         </define>
4554         <define name="table-subtotal-rules-attlist">
4555                 <interleave>
4556                         <optional>
4557                                 <attribute name="table:bind-styles-to-content">
4558                                         <ref name="boolean"/>
4559                                 </attribute>
4560                         </optional>
4561                         <optional>
4562                                 <attribute name="table:case-sensitive">
4563                                         <ref name="boolean"/>
4564                                 </attribute>
4565                         </optional>
4566                         <optional>
4567                                 <attribute name="table:page-breaks-on-group-change">
4568                                         <ref name="boolean"/>
4569                                 </attribute>
4570                         </optional>
4571                 </interleave>
4572         </define>
4573         <define name="table-sort-groups">
4574                 <element name="table:sort-groups">
4575                         <ref name="table-sort-groups-attlist"/>
4576                         <empty/>
4577                 </element>
4578         </define>
4579         <define name="table-sort-groups-attlist">
4580                 <interleave>
4581                         <optional>
4582                                 <attribute name="table:data-type">
4583                                         <choice>
4584                                                 <value>text</value>
4585                                                 <value>number</value>
4586                                                 <value>automatic</value>
4587                                                 <ref name="string"/>
4588                                         </choice>
4589                                 </attribute>
4590                         </optional>
4591                         <optional>
4592                                 <attribute name="table:order">
4593                                         <choice>
4594                                                 <value>ascending</value>
4595                                                 <value>descending</value>
4596                                         </choice>
4597                                 </attribute>
4598                         </optional>
4599                 </interleave>
4600         </define>
4601         <define name="table-subtotal-rule">
4602                 <element name="table:subtotal-rule">
4603                         <ref name="table-subtotal-rule-attlist"/>
4604                         <zeroOrMore>
4605                                 <ref name="table-subtotal-field"/>
4606                         </zeroOrMore>
4607                 </element>
4608         </define>
4609         <define name="table-subtotal-rule-attlist">
4610                 <attribute name="table:group-by-field-number">
4611                         <ref name="nonNegativeInteger"/>
4612                 </attribute>
4613         </define>
4614         <define name="table-subtotal-field">
4615                 <element name="table:subtotal-field">
4616                         <ref name="table-subtotal-field-attlist"/>
4617                         <empty/>
4618                 </element>
4619         </define>
4620         <define name="table-subtotal-field-attlist">
4621                 <interleave>
4622                         <attribute name="table:field-number">
4623                                 <ref name="nonNegativeInteger"/>
4624                         </attribute>
4625                         <attribute name="table:function">
4626                                 <choice>
4627                                         <value>average</value>
4628                                         <value>count</value>
4629                                         <value>countnums</value>
4630                                         <value>max</value>
4631                                         <value>min</value>
4632                                         <value>product</value>
4633                                         <value>stdev</value>
4634                                         <value>stdevp</value>
4635                                         <value>sum</value>
4636                                         <value>var</value>
4637                                         <value>varp</value>
4638                                         <ref name="string"/>
4639                                 </choice>
4640                         </attribute>
4641                 </interleave>
4642         </define>
4643         <define name="table-filter">
4644                 <element name="table:filter">
4645                         <ref name="table-filter-attlist"/>
4646                         <choice>
4647                                 <ref name="table-filter-condition"/>
4648                                 <ref name="table-filter-and"/>
4649                                 <ref name="table-filter-or"/>
4650                         </choice>
4651                 </element>
4652         </define>
4653         <define name="table-filter-attlist">
4654                 <interleave>
4655                         <optional>
4656                                 <attribute name="table:target-range-address">
4657                                         <ref name="cellRangeAddress"/>
4658                                 </attribute>
4659                         </optional>
4660                         <optional>
4661                                 <attribute name="table:condition-source">
4662                                         <choice>
4663                                                 <value>self</value>
4664                                                 <value>cell-range</value>
4665                                         </choice>
4666                                 </attribute>
4667                         </optional>
4668                         <optional>
4669                                 <attribute name="table:condition-source-range-address">
4670                                         <ref name="cellRangeAddress"/>
4671                                 </attribute>
4672                         </optional>
4673                         <optional>
4674                                 <attribute name="table:display-duplicates">
4675                                         <ref name="boolean"/>
4676                                 </attribute>
4677                         </optional>
4678                 </interleave>
4679         </define>
4680         <define name="table-filter-and">
4681                 <element name="table:filter-and">
4682                         <oneOrMore>
4683                                 <choice>
4684                                         <ref name="table-filter-or"/>
4685                                         <ref name="table-filter-condition"/>
4686                                 </choice>
4687                         </oneOrMore>
4688                 </element>
4689         </define>
4690         <define name="table-filter-or">
4691                 <element name="table:filter-or">
4692                         <oneOrMore>
4693                                 <choice>
4694                                         <ref name="table-filter-and"/>
4695                                         <ref name="table-filter-condition"/>
4696                                 </choice>
4697                         </oneOrMore>
4698                 </element>
4699         </define>
4700         <define name="table-filter-condition">
4701                 <element name="table:filter-condition">
4702                         <ref name="table-filter-condition-attlist"/>
4703                         <zeroOrMore>
4704                                 <ref name="table-filter-set-item"/>
4705                         </zeroOrMore>
4706                 </element>
4707         </define>
4708         <define name="table-filter-condition-attlist">
4709                 <interleave>
4710                         <attribute name="table:field-number">
4711                                 <ref name="nonNegativeInteger"/>
4712                         </attribute>
4713                         <attribute name="table:value">
4714                                 <choice>
4715                                         <ref name="string"/>
4716                                         <ref name="double"/>
4717                                 </choice>
4718                         </attribute>
4719                         <attribute name="table:operator">
4720                                 <ref name="string"/>
4721                         </attribute>
4722                         <optional>
4723                                 <attribute name="table:case-sensitive">
4724                                         <ref name="string"/>
4725                                 </attribute>
4726                         </optional>
4727                         <optional>
4728                                 <attribute name="table:data-type">
4729                                         <choice>
4730                                                 <value>text</value>
4731                                                 <value>number</value>
4732                                         </choice>
4733                                 </attribute>
4734                         </optional>
4735                 </interleave>
4736         </define>
4737         <define name="table-filter-set-item">
4738                 <element name="table:filter-set-item">
4739                         <attribute name="table:value">
4740                                 <ref name="string"/>
4741                         </attribute>
4742                         <empty/>
4743                 </element>
4744         </define>
4745         <define name="table-data-pilot-tables">
4746                 <element name="table:data-pilot-tables">
4747                         <zeroOrMore>
4748                                 <ref name="table-data-pilot-table"/>
4749                         </zeroOrMore>
4750                 </element>
4751         </define>
4752         <define name="table-data-pilot-table">
4753                 <element name="table:data-pilot-table">
4754                         <ref name="table-data-pilot-table-attlist"/>
4755                         <optional>
4756                                 <choice>
4757                                         <ref name="table-database-source-sql"/>
4758                                         <ref name="table-database-source-table"/>
4759                                         <ref name="table-database-source-query"/>
4760                                         <ref name="table-source-service"/>
4761                                         <ref name="table-source-cell-range"/>
4762                                 </choice>
4763                         </optional>
4764                         <oneOrMore>
4765                                 <ref name="table-data-pilot-field"/>
4766                         </oneOrMore>
4767                 </element>
4768         </define>
4769         <define name="table-data-pilot-table-attlist">
4770                 <interleave>
4771                         <attribute name="table:name">
4772                                 <ref name="string"/>
4773                         </attribute>
4774                         <optional>
4775                                 <attribute name="table:application-data">
4776                                         <ref name="string"/>
4777                                 </attribute>
4778                         </optional>
4779                         <optional>
4780                                 <attribute name="table:grand-total">
4781                                         <choice>
4782                                                 <value>none</value>
4783                                                 <value>row</value>
4784                                                 <value>column</value>
4785                                                 <value>both</value>
4786                                         </choice>
4787                                 </attribute>
4788                         </optional>
4789                         <optional>
4790                                 <attribute name="table:ignore-empty-rows">
4791                                         <ref name="boolean"/>
4792                                 </attribute>
4793                         </optional>
4794                         <optional>
4795                                 <attribute name="table:identify-categories">
4796                                         <ref name="boolean"/>
4797                                 </attribute>
4798                         </optional>
4799                         <attribute name="table:target-range-address">
4800                                 <ref name="cellRangeAddress"/>
4801                         </attribute>
4802                         <optional>
4803                                 <attribute name="table:buttons">
4804                                         <ref name="cellRangeAddressList"/>
4805                                 </attribute>
4806                         </optional>
4807                         <optional>
4808                                 <attribute name="table:show-filter-button">
4809                                         <ref name="boolean"/>
4810                                 </attribute>
4811                         </optional>
4812                         <optional>
4813                                 <attribute name="table:drill-down-on-double-click">
4814                                         <ref name="boolean"/>
4815                                 </attribute>
4816                         </optional>
4817                 </interleave>
4818         </define>
4819         <define name="table-source-cell-range">
4820                 <element name="table:source-cell-range">
4821                         <ref name="table-source-cell-range-attlist"/>
4822                         <optional>
4823                                 <ref name="table-filter"/>
4824                         </optional>
4825                 </element>
4826         </define>
4827         <define name="table-source-cell-range-attlist">
4828                 <attribute name="table:cell-range-address">
4829                         <ref name="cellRangeAddress"/>
4830                 </attribute>
4831         </define>
4832         <define name="table-source-service">
4833                 <element name="table:source-service">
4834                         <ref name="table-source-service-attlist"/>
4835                         <empty/>
4836                 </element>
4837         </define>
4838         <define name="table-source-service-attlist">
4839                 <interleave>
4840                         <attribute name="table:name">
4841                                 <ref name="string"/>
4842                         </attribute>
4843                         <attribute name="table:source-name">
4844                                 <ref name="string"/>
4845                         </attribute>
4846                         <attribute name="table:object-name">
4847                                 <ref name="string"/>
4848                         </attribute>
4849                         <optional>
4850                                 <attribute name="table:user-name">
4851                                         <ref name="string"/>
4852                                 </attribute>
4853                         </optional>
4854                         <optional>
4855                                 <attribute name="table:password">
4856                                         <ref name="string"/>
4857                                 </attribute>
4858                         </optional>
4859                 </interleave>
4860         </define>
4861         <define name="table-data-pilot-field">
4862                 <element name="table:data-pilot-field">
4863                         <ref name="table-data-pilot-field-attlist"/>
4864                         <optional>
4865                                 <ref name="table-data-pilot-level"/>
4866                         </optional>
4867                         <optional>
4868                                 <ref name="table-data-pilot-field-reference"/>
4869                         </optional>
4870                         <optional>
4871                                 <ref name="table-data-pilot-groups"/>
4872                         </optional>
4873                 </element>
4874         </define>
4875         <define name="table-data-pilot-field-attlist">
4876                 <interleave>
4877                         <attribute name="table:source-field-name">
4878                                 <ref name="string"/>
4879                         </attribute>
4880                         <choice>
4881                                 <attribute name="table:orientation">
4882                                         <choice>
4883                                                 <value>row</value>
4884                                                 <value>column</value>
4885                                                 <value>data</value>
4886                                                 <value>hidden</value>
4887                                         </choice>
4888                                 </attribute>
4889                                 <group>
4890                                         <attribute name="table:orientation">
4891                                                 <value>page</value>
4892                                         </attribute>
4893                                         <attribute name="table:selected-page">
4894                                                 <ref name="string"/>
4895                                         </attribute>
4896                                 </group>
4897                         </choice>
4898                         <optional>
4899                                 <attribute name="table:is-data-layout-field">
4900                                         <ref name="string"/>
4901                                 </attribute>
4902                         </optional>
4903                         <optional>
4904                                 <attribute name="table:function">
4905                                         <choice>
4906                                                 <value>auto</value>
4907                                                 <value>average</value>
4908                                                 <value>count</value>
4909                                                 <value>countnums</value>
4910                                                 <value>max</value>
4911                                                 <value>min</value>
4912                                                 <value>product</value>
4913                                                 <value>stdev</value>
4914                                                 <value>stdevp</value>
4915                                                 <value>sum</value>
4916                                                 <value>var</value>
4917                                                 <value>varp</value>
4918                                                 <ref name="string"/>
4919                                         </choice>
4920                                 </attribute>
4921                         </optional>
4922                         <optional>
4923                                 <attribute name="table:used-hierarchy">
4924                                         <ref name="integer"/>
4925                                 </attribute>
4926                         </optional>
4927                 </interleave>
4928         </define>
4929         <define name="table-data-pilot-level">
4930                 <element name="table:data-pilot-level">
4931                         <ref name="table-data-pilot-level-attlist"/>
4932                         <optional>
4933                                 <ref name="table-data-pilot-subtotals"/>
4934                         </optional>
4935                         <optional>
4936                                 <ref name="table-data-pilot-members"/>
4937                         </optional>
4938                         <optional>
4939                                 <ref name="table-data-pilot-display-info"/>
4940                         </optional>
4941                         <optional>
4942                                 <ref name="table-data-pilot-sort-info"/>
4943                         </optional>
4944                         <optional>
4945                                 <ref name="table-data-pilot-layout-info"/>
4946                         </optional>
4947                 </element>
4948         </define>
4949         <define name="table-data-pilot-level-attlist">
4950                 <optional>
4951                         <attribute name="table:show-empty">
4952                                 <ref name="boolean"/>
4953                         </attribute>
4954                 </optional>
4955         </define>
4956         <define name="table-data-pilot-subtotals">
4957                 <element name="table:data-pilot-subtotals">
4958                         <zeroOrMore>
4959                                 <ref name="table-data-pilot-subtotal"/>
4960                         </zeroOrMore>
4961                 </element>
4962         </define>
4963         <define name="table-data-pilot-subtotal">
4964                 <element name="table:data-pilot-subtotal">
4965                         <ref name="table-data-pilot-subtotal-attlist"/>
4966                         <empty/>
4967                 </element>
4968         </define>
4969         <define name="table-data-pilot-subtotal-attlist">
4970                 <attribute name="table:function">
4971                         <choice>
4972                                 <value>auto</value>
4973                                 <value>average</value>
4974                                 <value>count</value>
4975                                 <value>countnums</value>
4976                                 <value>max</value>
4977                                 <value>min</value>
4978                                 <value>product</value>
4979                                 <value>stdev</value>
4980                                 <value>stdevp</value>
4981                                 <value>sum</value>
4982                                 <value>var</value>
4983                                 <value>varp</value>
4984                                 <ref name="string"/>
4985                         </choice>
4986                 </attribute>
4987         </define>
4988         <define name="table-data-pilot-members">
4989                 <element name="table:data-pilot-members">
4990                         <zeroOrMore>
4991                                 <ref name="table-data-pilot-member"/>
4992                         </zeroOrMore>
4993                 </element>
4994         </define>
4995         <define name="table-data-pilot-member">
4996                 <element name="table:data-pilot-member">
4997                         <ref name="table-data-pilot-member-attlist"/>
4998                         <empty/>
4999                 </element>
5000         </define>
5001         <define name="table-data-pilot-member-attlist">
5002                 <interleave>
5003                         <attribute name="table:name">
5004                                 <ref name="string"/>
5005                         </attribute>
5006                         <optional>
5007                                 <attribute name="table:display">
5008                                         <ref name="boolean"/>
5009                                 </attribute>
5010                         </optional>
5011                         <optional>
5012                                 <attribute name="table:show-details">
5013                                         <ref name="boolean"/>
5014                                 </attribute>
5015                         </optional>
5016                 </interleave>
5017         </define>
5018         <define name="table-data-pilot-display-info">
5019                 <element name="table:data-pilot-display-info">
5020                         <ref name="table-data-pilot-display-info-attlist"/>
5021                         <empty/>
5022                 </element>
5023         </define>
5024         <define name="table-data-pilot-display-info-attlist">
5025                 <interleave>
5026                         <attribute name="table:enabled">
5027                                 <ref name="boolean"/>
5028                         </attribute>
5029                         <attribute name="table:data-field">
5030                                 <ref name="string"/>
5031                         </attribute>
5032                         <attribute name="table:member-count">
5033                                 <ref name="nonNegativeInteger"/>
5034                         </attribute>
5035                         <attribute name="table:display-member-mode">
5036                                 <choice>
5037                                         <value>from-top</value>
5038                                         <value>from-bottom</value>
5039                                 </choice>
5040                         </attribute>
5041                 </interleave>
5042         </define>
5043         <define name="table-data-pilot-sort-info">
5044                 <element name="table:data-pilot-sort-info">
5045                         <ref name="table-data-pilot-sort-info-attlist"/>
5046                         <empty/>
5047                 </element>
5048         </define>
5049         <define name="table-data-pilot-sort-info-attlist">
5050                 <interleave>
5051                         <choice>
5052                                 <group>
5053                                         <attribute name="table:sort-mode">
5054                                                 <value>data</value>
5055                                         </attribute>
5056                                         <attribute name="table:data-field">
5057                                                 <ref name="string"/>
5058                                         </attribute>
5059                                 </group>
5060                                 <attribute name="table:sort-mode">
5061                                         <choice>
5062                                                 <value>none</value>
5063                                                 <value>manual</value>
5064                                                 <value>name</value>
5065                                         </choice>
5066                                 </attribute>
5067                         </choice>
5068                         <attribute name="table:order">
5069                                 <choice>
5070                                         <value>ascending</value>
5071                                         <value>descending</value>
5072                                 </choice>
5073                         </attribute>
5074                 </interleave>
5075         </define>
5076         <define name="table-data-pilot-layout-info">
5077                 <element name="table:data-pilot-layout-info">
5078                         <ref name="table-data-pilot-layout-info-attlist"/>
5079                         <empty/>
5080                 </element>
5081         </define>
5082         <define name="table-data-pilot-layout-info-attlist">
5083                 <interleave>
5084                         <attribute name="table:layout-mode">
5085                                 <choice>
5086                                         <value>tabular-layout</value>
5087                                         <value>outline-subtotals-top</value>
5088                                         <value>outline-subtotals-bottom</value>
5089                                 </choice>
5090                         </attribute>
5091                         <attribute name="table:add-empty-lines">
5092                                 <ref name="boolean"/>
5093                         </attribute>
5094                 </interleave>
5095         </define>
5096         <define name="table-data-pilot-field-reference">
5097                 <element name="table:data-pilot-field-reference">
5098                         <ref name="table-data-pilot-field-reference-attlist"/>
5099                 </element>
5100         </define>
5101         <define name="table-data-pilot-field-reference-attlist">
5102                 <interleave>
5103                         <attribute name="table:field-name">
5104                                 <ref name="string"/>
5105                         </attribute>
5106                         <choice>
5107                                 <group>
5108                                         <attribute name="table:member-type">
5109                                                 <value>named</value>
5110                                         </attribute>
5111                                         <attribute name="table:member-name">
5112                                                 <ref name="string"/>
5113                                         </attribute>
5114                                 </group>
5115                                 <attribute name="table:member-type">
5116                                         <choice>
5117                                                 <value>previous</value>
5118                                                 <value>next</value>
5119                                         </choice>
5120                                 </attribute>
5121                         </choice>
5122                         <attribute name="table:type">
5123                                 <choice>
5124                                         <value>none</value>
5125                                         <value>member-difference</value>
5126                                         <value>member-percentage</value>
5127                                         <value>member-percentage-difference</value>
5128                                         <value>running-total</value>
5129                                         <value>row-percentage</value>
5130                                         <value>column-percentage</value>
5131                                         <value>total-percentage</value>
5132                                         <value>index</value>
5133                                 </choice>
5134                         </attribute>
5135                 </interleave>
5136         </define>
5137         <define name="table-data-pilot-groups">
5138                 <element name="table:data-pilot-groups">
5139                         <ref name="table-data-pilot-groups-attlist"/>
5140                         <oneOrMore>
5141                                 <ref name="table-data-pilot-group"/>
5142                         </oneOrMore>
5143                 </element>
5144         </define>
5145         <define name="table-data-pilot-groups-attlist">
5146                 <interleave>
5147                         <attribute name="table:source-field-name">
5148                                 <ref name="string"/>
5149                         </attribute>
5150                         <choice>
5151                                 <attribute name="table:date-start">
5152                                         <choice>
5153                                                 <ref name="dateOrDateTime"/>
5154                                                 <value>auto</value>
5155                                         </choice>
5156                                 </attribute>
5157                                 <attribute name="table:start">
5158                                         <choice>
5159                                                 <ref name="double"/>
5160                                                 <value>auto</value>
5161                                         </choice>
5162                                 </attribute>
5163                         </choice>
5164                         <choice>
5165                                 <attribute name="table:date-end">
5166                                         <choice>
5167                                                 <ref name="dateOrDateTime"/>
5168                                                 <value>auto</value>
5169                                         </choice>
5170                                 </attribute>
5171                                 <attribute name="table:end">
5172                                         <choice>
5173                                                 <ref name="double"/>
5174                                                 <value>auto</value>
5175                                         </choice>
5176                                 </attribute>
5177                         </choice>
5178                         <attribute name="table:step">
5179                                 <ref name="double"/>
5180                         </attribute>
5181                         <attribute name="table:grouped-by">
5182                                 <choice>
5183                                         <value>seconds</value>
5184                                         <value>minutes</value>
5185                                         <value>hours</value>
5186                                         <value>days</value>
5187                                         <value>months</value>
5188                                         <value>quarters</value>
5189                                         <value>years</value>
5190                                 </choice>
5191                         </attribute>
5192                 </interleave>
5193         </define>
5194         <define name="table-data-pilot-group">
5195                 <element name="table:data-pilot-group">
5196                         <ref name="table-data-pilot-group-attlist"/>
5197                         <oneOrMore>
5198                                 <ref name="table-data-pilot-group-member"/>
5199                         </oneOrMore>
5200                 </element>
5201         </define>
5202         <define name="table-data-pilot-group-attlist">
5203                 <attribute name="table:name">
5204                         <ref name="string"/>
5205                 </attribute>
5206         </define>
5207         <define name="table-data-pilot-group-member">
5208                 <element name="table:data-pilot-group-member">
5209                         <ref name="table-data-pilot-group-member-attlist"/>
5210                 </element>
5211         </define>
5212         <define name="table-data-pilot-group-member-attlist">
5213                 <attribute name="table:name">
5214                         <ref name="string"/>
5215                 </attribute>
5216         </define>
5217         <define name="table-consolidation">
5218                 <element name="table:consolidation">
5219                         <ref name="table-consolidation-attlist"/>
5220                         <empty/>
5221                 </element>
5222         </define>
5223         <define name="table-consolidation-attlist">
5224                 <interleave>
5225                         <attribute name="table:function">
5226                                 <choice>
5227                                         <value>average</value>
5228                                         <value>count</value>
5229                                         <value>countnums</value>
5230                                         <value>max</value>
5231                                         <value>min</value>
5232                                         <value>product</value>
5233                                         <value>stdev</value>
5234                                         <value>stdevp</value>
5235                                         <value>sum</value>
5236                                         <value>var</value>
5237                                         <value>varp</value>
5238                                         <ref name="string"/>
5239                                 </choice>
5240                         </attribute>
5241                         <attribute name="table:source-cell-range-addresses">
5242                                 <ref name="cellRangeAddressList"/>
5243                         </attribute>
5244                         <attribute name="table:target-cell-address">
5245                                 <ref name="cellAddress"/>
5246                         </attribute>
5247                         <optional>
5248                                 <attribute name="table:use-labels">
5249                                         <choice>
5250                                                 <value>none</value>
5251                                                 <value>row</value>
5252                                                 <value>column</value>
5253                                                 <value>both</value>
5254                                         </choice>
5255                                 </attribute>
5256                         </optional>
5257                         <optional>
5258                                 <attribute name="table:link-to-source-data">
5259                                         <ref name="boolean"/>
5260                                 </attribute>
5261                         </optional>
5262                 </interleave>
5263         </define>
5264         <define name="table-dde-links">
5265                 <element name="table:dde-links">
5266                         <oneOrMore>
5267                                 <ref name="table-dde-link"/>
5268                         </oneOrMore>
5269                 </element>
5270         </define>
5271         <define name="table-tracked-changes">
5272                 <element name="table:tracked-changes">
5273                         <ref name="table-tracked-changes-attlist"/>
5274                         <zeroOrMore>
5275                                 <choice>
5276                                         <ref name="table-cell-content-change"/>
5277                                         <ref name="table-insertion"/>
5278                                         <ref name="table-deletion"/>
5279                                         <ref name="table-movement"/>
5280                                 </choice>
5281                         </zeroOrMore>
5282                 </element>
5283         </define>
5284         <define name="table-tracked-changes-attlist">
5285                 <optional>
5286                         <attribute name="table:track-changes">
5287                                 <ref name="boolean"/>
5288                         </attribute>
5289                 </optional>
5290         </define>
5291         <define name="table-insertion">
5292                 <element name="table:insertion">
5293                         <ref name="table-insertion-attlist"/>
5294                         <ref name="common-table-change-attlist"/>
5295                         <ref name="office-change-info"/>
5296                         <optional>
5297                                 <ref name="table-dependencies"/>
5298                         </optional>
5299                         <optional>
5300                                 <ref name="table-deletions"/>
5301                         </optional>
5302                 </element>
5303         </define>
5304         <define name="table-insertion-attlist">
5305                 <interleave>
5306                         <attribute name="table:type">
5307                                 <choice>
5308                                         <value>row</value>
5309                                         <value>column</value>
5310                                         <value>table</value>
5311                                 </choice>
5312                         </attribute>
5313                         <attribute name="table:position">
5314                                 <ref name="integer"/>
5315                         </attribute>
5316                         <optional>
5317                                 <attribute name="table:count">
5318                                         <ref name="positiveInteger"/>
5319                                 </attribute>
5320                         </optional>
5321                         <optional>
5322                                 <attribute name="table:table">
5323                                         <ref name="integer"/>
5324                                 </attribute>
5325                         </optional>
5326                 </interleave>
5327         </define>
5328         <define name="table-dependencies">
5329                 <element name="table:dependencies">
5330                         <oneOrMore>
5331                                 <ref name="table-dependency"/>
5332                         </oneOrMore>
5333                 </element>
5334         </define>
5335         <define name="table-dependency">
5336                 <element name="table:dependency">
5337                         <attribute name="table:id">
5338                                 <ref name="string"/>
5339                         </attribute>
5340                         <empty/>
5341                 </element>
5342         </define>
5343         <define name="table-deletions">
5344                 <element name="table:deletions">
5345                         <oneOrMore>
5346                                 <choice>
5347                                         <ref name="table-cell-content-deletion"/>
5348                                         <ref name="table-change-deletion"/>
5349                                 </choice>
5350                         </oneOrMore>
5351                 </element>
5352         </define>
5353         <define name="table-cell-content-deletion">
5354                 <element name="table:cell-content-deletion">
5355                         <optional>
5356                                 <attribute name="table:id">
5357                                         <ref name="string"/>
5358                                 </attribute>
5359                         </optional>
5360                         <optional>
5361                                 <ref name="table-cell-address"/>
5362                         </optional>
5363                         <optional>
5364                                 <ref name="table-change-track-table-cell"/>
5365                         </optional>
5366                 </element>
5367         </define>
5368         <define name="table-change-deletion">
5369                 <element name="table:change-deletion">
5370                         <optional>
5371                                 <attribute name="table:id">
5372                                         <ref name="string"/>
5373                                 </attribute>
5374                         </optional>
5375                         <empty/>
5376                 </element>
5377         </define>
5378         <define name="table-deletion">
5379                 <element name="table:deletion">
5380                         <ref name="table-deletion-attlist"/>
5381                         <ref name="common-table-change-attlist"/>
5382                         <ref name="office-change-info"/>
5383                         <optional>
5384                                 <ref name="table-dependencies"/>
5385                         </optional>
5386                         <optional>
5387                                 <ref name="table-deletions"/>
5388                         </optional>
5389                         <optional>
5390                                 <ref name="table-cut-offs"/>
5391                         </optional>
5392                 </element>
5393         </define>
5394         <define name="table-deletion-attlist">
5395                 <interleave>
5396                         <attribute name="table:type">
5397                                 <choice>
5398                                         <value>row</value>
5399                                         <value>column</value>
5400                                         <value>table</value>
5401                                 </choice>
5402                         </attribute>
5403                         <attribute name="table:position">
5404                                 <ref name="integer"/>
5405                         </attribute>
5406                         <optional>
5407                                 <attribute name="table:table">
5408                                         <ref name="integer"/>
5409                                 </attribute>
5410                         </optional>
5411                         <optional>
5412                                 <attribute name="table:multi-deletion-spanned">
5413                                         <ref name="integer"/>
5414                                 </attribute>
5415                         </optional>
5416                 </interleave>
5417         </define>
5418         <define name="table-cut-offs">
5419                 <element name="table:cut-offs">
5420                         <choice>
5421                                 <oneOrMore>
5422                                         <ref name="table-movement-cut-off"/>
5423                                 </oneOrMore>
5424                                 <group>
5425                                         <ref name="table-insertion-cut-off"/>
5426                                         <zeroOrMore>
5427                                                 <ref name="table-movement-cut-off"/>
5428                                         </zeroOrMore>
5429                                 </group>
5430                         </choice>
5431                 </element>
5432         </define>
5433         <define name="table-insertion-cut-off">
5434                 <element name="table:insertion-cut-off">
5435                         <ref name="table-insertion-cut-off-attlist"/>
5436                         <empty/>
5437                 </element>
5438         </define>
5439         <define name="table-insertion-cut-off-attlist">
5440                 <interleave>
5441                         <attribute name="table:id">
5442                                 <ref name="string"/>
5443                         </attribute>
5444                         <attribute name="table:position">
5445                                 <ref name="integer"/>
5446                         </attribute>
5447                 </interleave>
5448         </define>
5449         <define name="table-movement-cut-off">
5450                 <element name="table:movement-cut-off">
5451                         <ref name="table-movement-cut-off-attlist"/>
5452                         <empty/>
5453                 </element>
5454         </define>
5455         <define name="table-movement-cut-off-attlist">
5456                 <choice>
5457                         <attribute name="table:position">
5458                                 <ref name="integer"/>
5459                         </attribute>
5460                         <group>
5461                                 <attribute name="table:start-position">
5462                                         <ref name="integer"/>
5463                                 </attribute>
5464                                 <attribute name="table:end-position">
5465                                         <ref name="integer"/>
5466                                 </attribute>
5467                         </group>
5468                 </choice>
5469         </define>
5470         <define name="table-movement">
5471                 <element name="table:movement">
5472                         <ref name="common-table-change-attlist"/>
5473                         <ref name="table-source-range-address"/>
5474                         <ref name="table-target-range-address"/>
5475                         <ref name="office-change-info"/>
5476                         <optional>
5477                                 <ref name="table-dependencies"/>
5478                         </optional>
5479                         <optional>
5480                                 <ref name="table-deletions"/>
5481                         </optional>
5482                 </element>
5483         </define>
5484         <define name="table-source-range-address">
5485                 <element name="table:source-range-address">
5486                         <ref name="common-table-range-attlist"/>
5487                         <empty/>
5488                 </element>
5489         </define>
5490         <define name="table-target-range-address">
5491                 <element name="table:target-range-address">
5492                         <ref name="common-table-range-attlist"/>
5493                         <empty/>
5494                 </element>
5495         </define>
5496         <define name="common-table-range-attlist">
5497                 <choice>
5498                         <group>
5499                                 <ref name="common-table-cell-address-attlist"/>
5500                         </group>
5501                         <group>
5502                                 <ref name="common-table-cell-range-address-attlist"/>
5503                         </group>
5504                 </choice>
5505         </define>
5506         <define name="common-table-cell-address-attlist">
5507                 <attribute name="table:column">
5508                         <ref name="integer"/>
5509                 </attribute>
5510                 <attribute name="table:row">
5511                         <ref name="integer"/>
5512                 </attribute>
5513                 <attribute name="table:table">
5514                         <ref name="integer"/>
5515                 </attribute>
5516         </define>
5517         <define name="common-table-cell-range-address-attlist">
5518                 <attribute name="table:start-column">
5519                         <ref name="integer"/>
5520                 </attribute>
5521                 <attribute name="table:start-row">
5522                         <ref name="integer"/>
5523                 </attribute>
5524                 <attribute name="table:start-table">
5525                         <ref name="integer"/>
5526                 </attribute>
5527                 <attribute name="table:end-column">
5528                         <ref name="integer"/>
5529                 </attribute>
5530                 <attribute name="table:end-row">
5531                         <ref name="integer"/>
5532                 </attribute>
5533                 <attribute name="table:end-table">
5534                         <ref name="integer"/>
5535                 </attribute>
5536         </define>
5537         <define name="table-change-track-table-cell">
5538                 <element name="table:change-track-table-cell">
5539                         <ref name="table-change-track-table-cell-attlist"/>
5540                         <zeroOrMore>
5541                                 <ref name="text-p"/>
5542                         </zeroOrMore>
5543                 </element>
5544         </define>
5545         <define name="table-change-track-table-cell-attlist">
5546                 <interleave>
5547                         <optional>
5548                                 <attribute name="table:cell-address">
5549                                         <ref name="cellAddress"/>
5550                                 </attribute>
5551                         </optional>
5552                         <optional>
5553                                 <attribute name="table:matrix-covered">
5554                                         <ref name="boolean"/>
5555                                 </attribute>
5556                         </optional>
5557                         <optional>
5558                                 <attribute name="table:formula">
5559                                         <ref name="string"/>
5560                                 </attribute>
5561                         </optional>
5562                         <optional>
5563                                 <attribute name="table:number-matrix-columns-spanned">
5564                                         <ref name="positiveInteger"/>
5565                                 </attribute>
5566                         </optional>
5567                         <optional>
5568                                 <attribute name="table:number-matrix-rows-spanned">
5569                                         <ref name="positiveInteger"/>
5570                                 </attribute>
5571                         </optional>
5572                         <optional>
5573                                 <ref name="common-value-and-type-attlist"/>
5574                         </optional>
5575                 </interleave>
5576         </define>
5577         <define name="table-cell-content-change">
5578                 <element name="table:cell-content-change">
5579                         <ref name="common-table-change-attlist"/>
5580                         <ref name="table-cell-address"/>
5581                         <ref name="office-change-info"/>
5582                         <optional>
5583                                 <ref name="table-dependencies"/>
5584                         </optional>
5585                         <optional>
5586                                 <ref name="table-deletions"/>
5587                         </optional>
5588                         <ref name="table-previous"/>
5589                 </element>
5590         </define>
5591         <define name="table-cell-address">
5592                 <element name="table:cell-address">
5593                         <ref name="common-table-cell-address-attlist"/>
5594                         <empty/>
5595                 </element>
5596         </define>
5597         <define name="table-previous">
5598                 <element name="table:previous">
5599                         <optional>
5600                                 <attribute name="table:id">
5601                                         <ref name="string"/>
5602                                 </attribute>
5603                         </optional>
5604                         <ref name="table-change-track-table-cell"/>
5605                 </element>
5606         </define>
5607         <define name="common-table-change-attlist">
5608                 <interleave>
5609                         <attribute name="table:id">
5610                                 <ref name="string"/>
5611                         </attribute>
5612                         <optional>
5613                                 <attribute name="table:acceptance-state">
5614                                         <choice>
5615                                                 <value>accepted</value>
5616                                                 <value>rejected</value>
5617                                                 <value>pending</value>
5618                                         </choice>
5619                                 </attribute>
5620                         </optional>
5621                         <optional>
5622                                 <attribute name="table:rejecting-change-id">
5623                                         <ref name="string"/>
5624                                 </attribute>
5625                         </optional>
5626                 </interleave>
5627         </define>
5628         <define name="style-handout-master">
5629                 <element name="style:handout-master">
5630                         <ref name="common-presentation-header-footer-attlist"/>
5631                         <ref name="style-handout-master-attlist"/>
5632                         <zeroOrMore>
5633                                 <ref name="shape"/>
5634                         </zeroOrMore>
5635                 </element>
5636         </define>
5637         <define name="style-handout-master-attlist">
5638                 <interleave>
5639                         <optional>
5640                                 <attribute name="presentation:presentation-page-layout-name">
5641                                         <ref name="styleNameRef"/>
5642                                 </attribute>
5643                         </optional>
5644                         <attribute name="style:page-layout-name">
5645                                 <ref name="styleNameRef"/>
5646                         </attribute>
5647                         <optional>
5648                                 <attribute name="draw:style-name">
5649                                         <ref name="styleNameRef"/>
5650                                 </attribute>
5651                         </optional>
5652                 </interleave>
5653         </define>
5654         <define name="draw-layer-set">
5655                 <element name="draw:layer-set">
5656                         <zeroOrMore>
5657                                 <ref name="draw-layer"/>
5658                         </zeroOrMore>
5659                 </element>
5660         </define>
5661         <define name="draw-layer">
5662                 <element name="draw:layer">
5663                         <ref name="draw-layer-attlist"/>
5664                         <optional>
5665                                 <ref name="svg-title"/>
5666                         </optional>
5667                         <optional>
5668                                 <ref name="svg-desc"/>
5669                         </optional>
5670                 </element>
5671         </define>
5672         <define name="draw-layer-attlist">
5673                 <interleave>
5674                         <attribute name="draw:name">
5675                                 <ref name="string"/>
5676                         </attribute>
5677                         <optional>
5678                                 <attribute name="draw:protected">
5679                                         <ref name="boolean"/>
5680                                 </attribute>
5681                         </optional>
5682                         <optional>
5683                                 <attribute name="draw:display">
5684                                         <choice>
5685                                                 <value>always</value>
5686                                                 <value>screen</value>
5687                                                 <value>printer</value>
5688                                                 <value>none</value>
5689                                         </choice>
5690                                 </attribute>
5691                         </optional>
5692                 </interleave>
5693         </define>
5694         <define name="draw-page">
5695                 <element name="draw:page">
5696                         <ref name="common-presentation-header-footer-attlist"/>
5697                         <ref name="draw-page-attlist"/>
5698                         <optional>
5699                                 <ref name="svg-title"/>
5700                         </optional>
5701                         <optional>
5702                                 <ref name="svg-desc"/>
5703                         </optional>
5704                         <optional>
5705                                 <ref name="draw-layer-set"/>
5706                         </optional>
5707                         <optional>
5708                                 <ref name="office-forms"/>
5709                         </optional>
5710                         <zeroOrMore>
5711                                 <ref name="shape"/>
5712                         </zeroOrMore>
5713                         <optional>
5714                                 <choice>
5715                                         <ref name="presentation-animations"/>
5716                                         <ref name="animation-element"/>
5717                                 </choice>
5718                         </optional>
5719                         <optional>
5720                                 <ref name="presentation-notes"/>
5721                         </optional>
5722                 </element>
5723         </define>
5724         <define name="draw-page-attlist">
5725                 <interleave>
5726                         <optional>
5727                                 <attribute name="draw:name">
5728                                         <ref name="string"/>
5729                                 </attribute>
5730                         </optional>
5731                         <optional>
5732                                 <attribute name="draw:style-name">
5733                                         <ref name="styleNameRef"/>
5734                                 </attribute>
5735                         </optional>
5736                         <attribute name="draw:master-page-name">
5737                                 <ref name="styleNameRef"/>
5738                         </attribute>
5739                         <optional>
5740                                 <attribute name="presentation:presentation-page-layout-name">
5741                                         <ref name="styleNameRef"/>
5742                                 </attribute>
5743                         </optional>
5744                         <optional>
5745                                 <group>
5746                                         <ref name="xml-id"/>
5747                                         <optional>
5748                                                 <attribute name="draw:id">
5749                                                         <ref name="NCName"/>
5750                                                 </attribute>
5751                                         </optional>
5752                                 </group>
5753                         </optional>
5754                         <optional>
5755                                 <attribute name="draw:nav-order">
5756                                         <ref name="IDREFS"/>
5757                                 </attribute>
5758                         </optional>
5759                 </interleave>
5760         </define>
5761         <define name="common-presentation-header-footer-attlist">
5762                 <interleave>
5763                         <optional>
5764                                 <attribute name="presentation:use-header-name">
5765                                         <ref name="string"/>
5766                                 </attribute>
5767                         </optional>
5768                         <optional>
5769                                 <attribute name="presentation:use-footer-name">
5770                                         <ref name="string"/>
5771                                 </attribute>
5772                         </optional>
5773                         <optional>
5774                                 <attribute name="presentation:use-date-time-name">
5775                                         <ref name="string"/>
5776                                 </attribute>
5777                         </optional>
5778                 </interleave>
5779         </define>
5780         <define name="shape">
5781                 <choice>
5782                         <ref name="shape-instance"/>
5783                         <ref name="draw-a"/>
5784                 </choice>
5785         </define>
5786         <define name="shape-instance">
5787                 <choice>
5788                         <ref name="draw-rect"/>
5789                         <ref name="draw-line"/>
5790                         <ref name="draw-polyline"/>
5791                         <ref name="draw-polygon"/>
5792                         <ref name="draw-regular-polygon"/>
5793                         <ref name="draw-path"/>
5794                         <ref name="draw-circle"/>
5795                         <ref name="draw-ellipse"/>
5796                         <ref name="draw-g"/>
5797                         <ref name="draw-page-thumbnail"/>
5798                         <ref name="draw-frame"/>
5799                         <ref name="draw-measure"/>
5800                         <ref name="draw-caption"/>
5801                         <ref name="draw-connector"/>
5802                         <ref name="draw-control"/>
5803                         <ref name="dr3d-scene"/>
5804                         <ref name="draw-custom-shape"/>
5805                 </choice>
5806         </define>
5807         <define name="draw-rect">
5808                 <element name="draw:rect">
5809                         <ref name="draw-rect-attlist"/>
5810                         <ref name="common-draw-position-attlist"/>
5811                         <ref name="common-draw-size-attlist"/>
5812                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5813                         <ref name="common-draw-caption-id-attlist"/>
5814                         <optional>
5815                                 <ref name="svg-title"/>
5816                         </optional>
5817                         <optional>
5818                                 <ref name="svg-desc"/>
5819                         </optional>
5820                         <optional>
5821                                 <ref name="office-event-listeners"/>
5822                         </optional>
5823                         <zeroOrMore>
5824                                 <ref name="draw-glue-point"/>
5825                         </zeroOrMore>
5826                         <ref name="draw-text"/>
5827                 </element>
5828         </define>
5829         <define name="draw-rect-attlist">
5830                 <choice>
5831                         <optional>
5832                                 <attribute name="draw:corner-radius">
5833                                         <ref name="nonNegativeLength"/>
5834                                 </attribute>
5835                         </optional>
5836                         <group>
5837                                 <optional>
5838                                         <attribute name="svg:rx">
5839                                                 <ref name="nonNegativeLength"/>
5840                                         </attribute>
5841                                 </optional>
5842                                 <optional>
5843                                         <attribute name="svg:ry">
5844                                                 <ref name="nonNegativeLength"/>
5845                                         </attribute>
5846                                 </optional>
5847                         </group>
5848                 </choice>
5849         </define>
5850         <define name="draw-line">
5851                 <element name="draw:line">
5852                         <ref name="draw-line-attlist"/>
5853                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5854                         <ref name="common-draw-caption-id-attlist"/>
5855                         <optional>
5856                                 <ref name="svg-title"/>
5857                         </optional>
5858                         <optional>
5859                                 <ref name="svg-desc"/>
5860                         </optional>
5861                         <optional>
5862                                 <ref name="office-event-listeners"/>
5863                         </optional>
5864                         <zeroOrMore>
5865                                 <ref name="draw-glue-point"/>
5866                         </zeroOrMore>
5867                         <ref name="draw-text"/>
5868                 </element>
5869         </define>
5870         <define name="draw-line-attlist">
5871                 <interleave>
5872                         <attribute name="svg:x1">
5873                                 <ref name="coordinate"/>
5874                         </attribute>
5875                         <attribute name="svg:y1">
5876                                 <ref name="coordinate"/>
5877                         </attribute>
5878                         <attribute name="svg:x2">
5879                                 <ref name="coordinate"/>
5880                         </attribute>
5881                         <attribute name="svg:y2">
5882                                 <ref name="coordinate"/>
5883                         </attribute>
5884                 </interleave>
5885         </define>
5886         <define name="draw-polyline">
5887                 <element name="draw:polyline">
5888                         <ref name="common-draw-points-attlist"/>
5889                         <ref name="common-draw-position-attlist"/>
5890                         <ref name="common-draw-size-attlist"/>
5891                         <ref name="common-draw-viewbox-attlist"/>
5892                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5893                         <ref name="common-draw-caption-id-attlist"/>
5894                         <optional>
5895                                 <ref name="svg-title"/>
5896                         </optional>
5897                         <optional>
5898                                 <ref name="svg-desc"/>
5899                         </optional>
5900                         <optional>
5901                                 <ref name="office-event-listeners"/>
5902                         </optional>
5903                         <zeroOrMore>
5904                                 <ref name="draw-glue-point"/>
5905                         </zeroOrMore>
5906                         <ref name="draw-text"/>
5907                 </element>
5908         </define>
5909         <define name="common-draw-points-attlist">
5910                 <attribute name="draw:points">
5911                         <ref name="points"/>
5912                 </attribute>
5913         </define>
5914         <define name="draw-polygon">
5915                 <element name="draw:polygon">
5916                         <ref name="common-draw-points-attlist"/>
5917                         <ref name="common-draw-position-attlist"/>
5918                         <ref name="common-draw-size-attlist"/>
5919                         <ref name="common-draw-viewbox-attlist"/>
5920                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5921                         <ref name="common-draw-caption-id-attlist"/>
5922                         <optional>
5923                                 <ref name="svg-title"/>
5924                         </optional>
5925                         <optional>
5926                                 <ref name="svg-desc"/>
5927                         </optional>
5928                         <optional>
5929                                 <ref name="office-event-listeners"/>
5930                         </optional>
5931                         <zeroOrMore>
5932                                 <ref name="draw-glue-point"/>
5933                         </zeroOrMore>
5934                         <ref name="draw-text"/>
5935                 </element>
5936         </define>
5937         <define name="draw-regular-polygon">
5938                 <element name="draw:regular-polygon">
5939                         <ref name="draw-regular-polygon-attlist"/>
5940                         <ref name="common-draw-position-attlist"/>
5941                         <ref name="common-draw-size-attlist"/>
5942                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5943                         <ref name="common-draw-caption-id-attlist"/>
5944                         <optional>
5945                                 <ref name="svg-title"/>
5946                         </optional>
5947                         <optional>
5948                                 <ref name="svg-desc"/>
5949                         </optional>
5950                         <optional>
5951                                 <ref name="office-event-listeners"/>
5952                         </optional>
5953                         <zeroOrMore>
5954                                 <ref name="draw-glue-point"/>
5955                         </zeroOrMore>
5956                         <ref name="draw-text"/>
5957                 </element>
5958         </define>
5959         <define name="draw-regular-polygon-attlist">
5960                 <interleave>
5961                         <choice>
5962                                 <attribute name="draw:concave">
5963                                         <value>false</value>
5964                                 </attribute>
5965                                 <group>
5966                                         <attribute name="draw:concave">
5967                                                 <value>true</value>
5968                                         </attribute>
5969                                         <ref name="draw-regular-polygon-sharpness-attlist"/>
5970                                 </group>
5971                         </choice>
5972                         <attribute name="draw:corners">
5973                                 <ref name="positiveInteger"/>
5974                         </attribute>
5975                 </interleave>
5976         </define>
5977         <define name="draw-regular-polygon-sharpness-attlist">
5978                 <attribute name="draw:sharpness">
5979                         <ref name="percent"/>
5980                 </attribute>
5981         </define>
5982         <define name="draw-path">
5983                 <element name="draw:path">
5984                         <ref name="common-draw-path-data-attlist"/>
5985                         <ref name="common-draw-position-attlist"/>
5986                         <ref name="common-draw-size-attlist"/>
5987                         <ref name="common-draw-viewbox-attlist"/>
5988                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
5989                         <ref name="common-draw-caption-id-attlist"/>
5990                         <optional>
5991                                 <ref name="svg-title"/>
5992                         </optional>
5993                         <optional>
5994                                 <ref name="svg-desc"/>
5995                         </optional>
5996                         <optional>
5997                                 <ref name="office-event-listeners"/>
5998                         </optional>
5999                         <zeroOrMore>
6000                                 <ref name="draw-glue-point"/>
6001                         </zeroOrMore>
6002                         <ref name="draw-text"/>
6003                         <optional>
6004                                 <attribute name="calligra:nodeTypes">
6005                                         <ref name="string"/>
6006                                 </attribute>
6007                         </optional>
6008                 </element>
6009         </define>
6010         <define name="common-draw-path-data-attlist">
6011                 <attribute name="svg:d">
6012                         <ref name="pathData"/>
6013                 </attribute>
6014         </define>
6015         <define name="draw-circle">
6016                 <element name="draw:circle">
6017                         <choice>
6018                                 <group>
6019                                         <ref name="draw-circle-attlist"/>
6020                                         <ref name="common-draw-circle-ellipse-pos-attlist"/>
6021                                 </group>
6022                                 <group>
6023                                         <ref name="common-draw-position-attlist"/>
6024                                         <ref name="common-draw-size-attlist"/>
6025                                 </group>
6026                         </choice>
6027                         <ref name="common-draw-circle-ellipse-attlist"/>
6028                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6029                         <ref name="common-draw-caption-id-attlist"/>
6030                         <optional>
6031                                 <ref name="svg-title"/>
6032                         </optional>
6033                         <optional>
6034                                 <ref name="svg-desc"/>
6035                         </optional>
6036                         <optional>
6037                                 <ref name="office-event-listeners"/>
6038                         </optional>
6039                         <zeroOrMore>
6040                                 <ref name="draw-glue-point"/>
6041                         </zeroOrMore>
6042                         <ref name="draw-text"/>
6043                 </element>
6044         </define>
6045         <define name="common-draw-circle-ellipse-pos-attlist">
6046                 <attribute name="svg:cx">
6047                         <ref name="coordinate"/>
6048                 </attribute>
6049                 <attribute name="svg:cy">
6050                         <ref name="coordinate"/>
6051                 </attribute>
6052         </define>
6053         <define name="draw-circle-attlist">
6054                 <attribute name="svg:r">
6055                         <ref name="length"/>
6056                 </attribute>
6057         </define>
6058         <define name="common-draw-circle-ellipse-attlist">
6059                 <interleave>
6060                         <optional>
6061                                 <attribute name="draw:kind">
6062                                         <choice>
6063                                                 <value>full</value>
6064                                                 <value>section</value>
6065                                                 <value>cut</value>
6066                                                 <value>arc</value>
6067                                         </choice>
6068                                 </attribute>
6069                         </optional>
6070                         <optional>
6071                                 <attribute name="draw:start-angle">
6072                                         <ref name="angle"/>
6073                                 </attribute>
6074                         </optional>
6075                         <optional>
6076                                 <attribute name="draw:end-angle">
6077                                         <ref name="angle"/>
6078                                 </attribute>
6079                         </optional>
6080                 </interleave>
6081         </define>
6082         <define name="draw-ellipse">
6083                 <element name="draw:ellipse">
6084                         <choice>
6085                                 <group>
6086                                         <ref name="draw-ellipse-attlist"/>
6087                                         <ref name="common-draw-circle-ellipse-pos-attlist"/>
6088                                 </group>
6089                                 <group>
6090                                         <ref name="common-draw-position-attlist"/>
6091                                         <ref name="common-draw-size-attlist"/>
6092                                 </group>
6093                         </choice>
6094                         <ref name="common-draw-circle-ellipse-attlist"/>
6095                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6096                         <ref name="common-draw-caption-id-attlist"/>
6097                         <optional>
6098                                 <ref name="svg-title"/>
6099                         </optional>
6100                         <optional>
6101                                 <ref name="svg-desc"/>
6102                         </optional>
6103                         <optional>
6104                                 <ref name="office-event-listeners"/>
6105                         </optional>
6106                         <zeroOrMore>
6107                                 <ref name="draw-glue-point"/>
6108                         </zeroOrMore>
6109                         <ref name="draw-text"/>
6110                 </element>
6111         </define>
6112         <define name="draw-ellipse-attlist">
6113                 <attribute name="svg:rx">
6114                         <ref name="length"/>
6115                 </attribute>
6116                 <attribute name="svg:ry">
6117                         <ref name="length"/>
6118                 </attribute>
6119         </define>
6120         <define name="draw-connector">
6121                 <element name="draw:connector">
6122                         <ref name="draw-connector-attlist"/>
6123                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6124                         <ref name="common-draw-caption-id-attlist"/>
6125                         <ref name="common-draw-viewbox-attlist"/>
6126                         <optional>
6127                                 <ref name="svg-title"/>
6128                         </optional>
6129                         <optional>
6130                                 <ref name="svg-desc"/>
6131                         </optional>
6132                         <optional>
6133                                 <ref name="office-event-listeners"/>
6134                         </optional>
6135                         <zeroOrMore>
6136                                 <ref name="draw-glue-point"/>
6137                         </zeroOrMore>
6138                         <ref name="draw-text"/>
6139                 </element>
6140         </define>
6141         <define name="draw-connector-attlist">
6142                 <interleave>
6143                         <optional>
6144                                 <attribute name="draw:type">
6145                                         <choice>
6146                                                 <value>standard</value>
6147                                                 <value>lines</value>
6148                                                 <value>line</value>
6149                                                 <value>curve</value>
6150                                         </choice>
6151                                 </attribute>
6152                         </optional>
6153                         <optional>
6154                                 <attribute name="svg:x1">
6155                                         <ref name="coordinate"/>
6156                                 </attribute>
6157                                 <attribute name="svg:y1">
6158                                         <ref name="coordinate"/>
6159                                 </attribute>
6160                         </optional>
6161                         <optional>
6162                                 <attribute name="draw:start-shape">
6163                                         <ref name="IDREF"/>
6164                                 </attribute>
6165                         </optional>
6166                         <optional>
6167                                 <attribute name="draw:start-glue-point">
6168                                         <ref name="nonNegativeInteger"/>
6169                                 </attribute>
6170                         </optional>
6171                         <optional>
6172                                 <attribute name="svg:x2">
6173                                         <ref name="coordinate"/>
6174                                 </attribute>
6175                                 <attribute name="svg:y2">
6176                                         <ref name="coordinate"/>
6177                                 </attribute>
6178                         </optional>
6179                         <optional>
6180                                 <attribute name="draw:end-shape">
6181                                         <ref name="IDREF"/>
6182                                 </attribute>
6183                         </optional>
6184                         <optional>
6185                                 <attribute name="draw:end-glue-point">
6186                                         <ref name="nonNegativeInteger"/>
6187                                 </attribute>
6188                         </optional>
6189                         <optional>
6190                                 <attribute name="draw:line-skew">
6191                                         <list>
6192                                                 <ref name="length"/>
6193                                                 <optional>
6194                                                         <ref name="length"/>
6195                                                         <optional>
6196                                                                 <ref name="length"/>
6197                                                         </optional>
6198                                                 </optional>
6199                                         </list>
6200                                 </attribute>
6201                         </optional>
6202                         <optional>
6203                                 <attribute name="svg:d">
6204                                         <ref name="pathData"/>
6205                                 </attribute>
6206                         </optional>
6207                 </interleave>
6208         </define>
6209         <define name="draw-caption">
6210                 <element name="draw:caption">
6211                         <ref name="draw-caption-attlist"/>
6212                         <ref name="common-draw-position-attlist"/>
6213                         <ref name="common-draw-size-attlist"/>
6214                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6215                         <ref name="common-draw-caption-id-attlist"/>
6216                         <optional>
6217                                 <ref name="svg-title"/>
6218                         </optional>
6219                         <optional>
6220                                 <ref name="svg-desc"/>
6221                         </optional>
6222                         <optional>
6223                                 <ref name="office-event-listeners"/>
6224                         </optional>
6225                         <zeroOrMore>
6226                                 <ref name="draw-glue-point"/>
6227                         </zeroOrMore>
6228                         <ref name="draw-text"/>
6229                 </element>
6230         </define>
6231         <define name="draw-caption-attlist">
6232                 <interleave>
6233                         <optional>
6234                                 <attribute name="draw:caption-point-x">
6235                                         <ref name="coordinate"/>
6236                                 </attribute>
6237                                 <attribute name="draw:caption-point-y">
6238                                         <ref name="coordinate"/>
6239                                 </attribute>
6240                         </optional>
6241                         <optional>
6242                                 <attribute name="draw:corner-radius">
6243                                         <ref name="nonNegativeLength"/>
6244                                 </attribute>
6245                         </optional>
6246                 </interleave>
6247         </define>
6248         <define name="draw-measure">
6249                 <element name="draw:measure">
6250                         <ref name="draw-measure-attlist"/>
6251                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6252                         <ref name="common-draw-caption-id-attlist"/>
6253                         <optional>
6254                                 <ref name="svg-title"/>
6255                         </optional>
6256                         <optional>
6257                                 <ref name="svg-desc"/>
6258                         </optional>
6259                         <optional>
6260                                 <ref name="office-event-listeners"/>
6261                         </optional>
6262                         <zeroOrMore>
6263                                 <ref name="draw-glue-point"/>
6264                         </zeroOrMore>
6265                         <ref name="draw-text"/>
6266                 </element>
6267         </define>
6268         <define name="draw-measure-attlist">
6269                 <interleave>
6270                         <attribute name="svg:x1">
6271                                 <ref name="coordinate"/>
6272                         </attribute>
6273                         <attribute name="svg:y1">
6274                                 <ref name="coordinate"/>
6275                         </attribute>
6276                         <attribute name="svg:x2">
6277                                 <ref name="coordinate"/>
6278                         </attribute>
6279                         <attribute name="svg:y2">
6280                                 <ref name="coordinate"/>
6281                         </attribute>
6282                 </interleave>
6283         </define>
6284         <define name="draw-control">
6285                 <element name="draw:control">
6286                         <ref name="draw-control-attlist"/>
6287                         <ref name="common-draw-position-attlist"/>
6288                         <ref name="common-draw-size-attlist"/>
6289                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6290                         <ref name="common-draw-caption-id-attlist"/>
6291                         <optional>
6292                                 <ref name="svg-title"/>
6293                         </optional>
6294                         <optional>
6295                                 <ref name="svg-desc"/>
6296                         </optional>
6297                         <zeroOrMore>
6298                                 <ref name="draw-glue-point"/>
6299                         </zeroOrMore>
6300                 </element>
6301         </define>
6302         <define name="draw-control-attlist">
6303                 <attribute name="draw:control">
6304                         <ref name="IDREF"/>
6305                 </attribute>
6306         </define>
6307         <define name="draw-page-thumbnail">
6308                 <element name="draw:page-thumbnail">
6309                         <ref name="draw-page-thumbnail-attlist"/>
6310                         <ref name="common-draw-position-attlist"/>
6311                         <ref name="common-draw-size-attlist"/>
6312                         <ref name="presentation-shape-attlist"/>
6313                         <ref name="common-draw-shape-with-styles-attlist"/>
6314                         <ref name="common-draw-caption-id-attlist"/>
6315                         <optional>
6316                                 <ref name="svg-title"/>
6317                         </optional>
6318                         <optional>
6319                                 <ref name="svg-desc"/>
6320                         </optional>
6321                 </element>
6322         </define>
6323         <define name="draw-page-thumbnail-attlist">
6324                 <optional>
6325                         <attribute name="draw:page-number">
6326                                 <ref name="positiveInteger"/>
6327                         </attribute>
6328                 </optional>
6329         </define>
6330         <define name="draw-g">
6331                 <element name="draw:g">
6332                         <ref name="draw-g-attlist"/>
6333                         <ref name="common-draw-z-index-attlist"/>
6334                         <ref name="common-draw-name-attlist"/>
6335                         <ref name="common-draw-id-attlist"/>
6336                         <ref name="common-draw-style-name-attlist"/>
6337                         <ref name="common-text-spreadsheet-shape-attlist"/>
6338                         <ref name="common-draw-caption-id-attlist"/>
6339                         <optional>
6340                                 <ref name="svg-title"/>
6341                         </optional>
6342                         <optional>
6343                                 <ref name="svg-desc"/>
6344                         </optional>
6345                         <optional>
6346                                 <ref name="office-event-listeners"/>
6347                         </optional>
6348                         <zeroOrMore>
6349                                 <ref name="draw-glue-point"/>
6350                         </zeroOrMore>
6351                         <zeroOrMore>
6352                                 <ref name="shape"/>
6353                         </zeroOrMore>
6354                 </element>
6355         </define>
6356         <define name="draw-g-attlist">
6357                 <optional>
6358                         <attribute name="svg:y">
6359                                 <ref name="coordinate"/>
6360                         </attribute>
6361                 </optional>
6362         </define>
6363         <define name="common-draw-name-attlist">
6364                 <optional>
6365                         <attribute name="draw:name">
6366                                 <ref name="string"/>
6367                         </attribute>
6368                 </optional>
6369         </define>
6370         <define name="common-draw-caption-id-attlist">
6371                 <optional>
6372                         <attribute name="draw:caption-id">
6373                                 <ref name="IDREF"/>
6374                         </attribute>
6375                 </optional>
6376         </define>
6377         <define name="common-draw-position-attlist">
6378                 <optional>
6379                         <attribute name="svg:x">
6380                                 <ref name="coordinate"/>
6381                         </attribute>
6382                 </optional>
6383                 <optional>
6384                         <attribute name="svg:y">
6385                                 <ref name="coordinate"/>
6386                         </attribute>
6387                 </optional>
6388         </define>
6389         <define name="common-draw-size-attlist">
6390                 <optional>
6391                         <attribute name="svg:width">
6392                                 <ref name="length"/>
6393                         </attribute>
6394                 </optional>
6395                 <optional>
6396                         <attribute name="svg:height">
6397                                 <ref name="length"/>
6398                         </attribute>
6399                 </optional>
6400         </define>
6401         <define name="common-draw-transform-attlist">
6402                 <optional>
6403                         <attribute name="draw:transform">
6404                                 <ref name="string"/>
6405                         </attribute>
6406                 </optional>
6407         </define>
6408         <define name="common-draw-viewbox-attlist">
6409                 <attribute name="svg:viewBox">
6410                         <list>
6411                                 <ref name="integer"/>
6412                                 <ref name="integer"/>
6413                                 <ref name="integer"/>
6414                                 <ref name="integer"/>
6415                         </list>
6416                 </attribute>
6417         </define>
6418         <define name="common-draw-style-name-attlist">
6419                 <choice>
6420                         <group>
6421                                 <optional>
6422                                         <attribute name="draw:style-name">
6423                                                 <ref name="styleNameRef"/>
6424                                         </attribute>
6425                                 </optional>
6426                                 <optional>
6427                                         <attribute name="draw:class-names">
6428                                                 <ref name="styleNameRefs"/>
6429                                         </attribute>
6430                                 </optional>
6431                         </group>
6432                         <group>
6433                                 <optional>
6434                                         <attribute name="presentation:style-name">
6435                                                 <ref name="styleNameRef"/>
6436                                         </attribute>
6437                                 </optional>
6438                                 <optional>
6439                                         <attribute name="presentation:class-names">
6440                                                 <ref name="styleNameRefs"/>
6441                                         </attribute>
6442                                 </optional>
6443                         </group>
6444                 </choice>
6445         </define>
6446         <define name="common-draw-text-style-name-attlist">
6447                 <optional>
6448                         <attribute name="draw:text-style-name">
6449                                 <ref name="styleNameRef"/>
6450                         </attribute>
6451                 </optional>
6452         </define>
6453         <define name="common-draw-layer-name-attlist">
6454                 <optional>
6455                         <attribute name="draw:layer">
6456                                 <ref name="string"/>
6457                         </attribute>
6458                 </optional>
6459         </define>
6460         <define name="common-draw-id-attlist">
6461                 <optional>
6462                         <group>
6463                                 <ref name="xml-id"/>
6464                                 <optional>
6465                                         <attribute name="draw:id">
6466                                                 <ref name="NCName"/>
6467                                         </attribute>
6468                                 </optional>
6469                         </group>
6470                 </optional>
6471         </define>
6472         <define name="common-draw-z-index-attlist">
6473                 <optional>
6474                         <attribute name="draw:z-index">
6475                                 <ref name="nonNegativeInteger"/>
6476                         </attribute>
6477                 </optional>
6478         </define>
6479         <define name="common-text-spreadsheet-shape-attlist">
6480                 <interleave>
6481                         <optional>
6482                                 <attribute name="table:end-cell-address">
6483                                         <ref name="cellAddress"/>
6484                                 </attribute>
6485                         </optional>
6486                         <optional>
6487                                 <attribute name="table:end-x">
6488                                         <ref name="coordinate"/>
6489                                 </attribute>
6490                         </optional>
6491                         <optional>
6492                                 <attribute name="table:end-y">
6493                                         <ref name="coordinate"/>
6494                                 </attribute>
6495                         </optional>
6496                         <optional>
6497                                 <attribute name="table:table-background">
6498                                         <ref name="boolean"/>
6499                                 </attribute>
6500                         </optional>
6501                         <ref name="common-text-anchor-attlist"/>
6502                 </interleave>
6503         </define>
6504         <define name="common-text-anchor-attlist">
6505                 <interleave>
6506                         <optional>
6507                                 <attribute name="text:anchor-type">
6508                                         <choice>
6509                                                 <value>page</value>
6510                                                 <value>frame</value>
6511                                                 <value>paragraph</value>
6512                                                 <value>char</value>
6513                                                 <value>as-char</value>
6514                                         </choice>
6515                                 </attribute>
6516                         </optional>
6517                         <optional>
6518                                 <attribute name="calligra:anchor-type">
6519                                         <ref name="string"/>
6520                                 </attribute>
6521                         </optional>
6522                         <optional>
6523                                 <attribute name="text:anchor-page-number">
6524                                         <ref name="positiveInteger"/>
6525                                 </attribute>
6526                         </optional>
6527                 </interleave>
6528         </define>
6529         <define name="draw-text">
6530                 <zeroOrMore>
6531                         <choice>
6532                                 <ref name="text-p"/>
6533                                 <ref name="text-list"/>
6534                         </choice>
6535                 </zeroOrMore>
6536         </define>
6537         <define name="common-draw-shape-with-styles-attlist">
6538                 <ref name="common-draw-z-index-attlist"/>
6539                 <ref name="common-draw-id-attlist"/>
6540                 <ref name="common-draw-layer-name-attlist"/>
6541                 <ref name="common-draw-style-name-attlist"/>
6542                 <ref name="common-draw-transform-attlist"/>
6543                 <ref name="common-draw-name-attlist"/>
6544                 <ref name="common-text-spreadsheet-shape-attlist"/>
6545         </define>
6546         <define name="common-draw-shape-with-text-and-styles-attlist">
6547                 <ref name="common-draw-shape-with-styles-attlist"/>
6548                 <ref name="common-draw-text-style-name-attlist"/>
6549         </define>
6550         <define name="draw-glue-point">
6551                 <element name="draw:glue-point">
6552                         <ref name="draw-glue-point-attlist"/>
6553                         <empty/>
6554                 </element>
6555         </define>
6556         <define name="draw-glue-point-attlist">
6557                 <interleave>
6558                         <attribute name="draw:id">
6559                                 <ref name="nonNegativeInteger"/>
6560                         </attribute>
6561                         <attribute name="svg:x">
6562                                 <choice>
6563                                         <ref name="distance"/>
6564                                         <ref name="percent"/>
6565                                 </choice>
6566                         </attribute>
6567                         <attribute name="svg:y">
6568                                 <choice>
6569                                         <ref name="distance"/>
6570                                         <ref name="percent"/>
6571                                 </choice>
6572                         </attribute>
6573                         <optional>
6574                                 <attribute name="draw:align">
6575                                         <choice>
6576                                                 <value>top-left</value>
6577                                                 <value>top</value>
6578                                                 <value>top-right</value>
6579                                                 <value>left</value>
6580                                                 <value>center</value>
6581                                                 <value>right</value>
6582                                                 <value>bottom-left</value>
6583                                                 <value>bottom-right</value>
6584                                         </choice>
6585                                 </attribute>
6586                         </optional>
6587                         <attribute name="draw:escape-direction">
6588                                 <choice>
6589                                         <value>auto</value>
6590                                         <value>left</value>
6591                                         <value>right</value>
6592                                         <value>up</value>
6593                                         <value>down</value>
6594                                         <value>horizontal</value>
6595                                         <value>vertical</value>
6596                                 </choice>
6597                         </attribute>
6598                 </interleave>
6599         </define>
6600         <define name="svg-title">
6601                 <element name="svg:title">
6602                         <text/>
6603                 </element>
6604         </define>
6605         <define name="svg-desc">
6606                 <element name="svg:desc">
6607                         <text/>
6608                 </element>
6609         </define>
6610         <define name="draw-frame">
6611                 <element name="draw:frame">
6612                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
6613                         <ref name="common-draw-position-attlist"/>
6614                         <ref name="common-draw-rel-size-attlist"/>
6615                         <ref name="common-draw-caption-id-attlist"/>
6616                         <ref name="presentation-shape-attlist"/>
6617                         <ref name="draw-frame-attlist"/>
6618                         <zeroOrMore>
6619                                 <choice>
6620                                         <ref name="draw-text-box"/>
6621                                         <ref name="draw-image"/>
6622                                         <ref name="draw-object"/>
6623                                         <ref name="draw-object-ole"/>
6624                                         <ref name="draw-applet"/>
6625                                         <ref name="draw-floating-frame"/>
6626                                         <ref name="draw-plugin"/>
6627                                         <ref name="table-table"/>
6628                                 </choice>
6629                         </zeroOrMore>
6630                         <optional>
6631                                 <ref name="office-event-listeners"/>
6632                         </optional>
6633                         <zeroOrMore>
6634                                 <ref name="draw-glue-point"/>
6635                         </zeroOrMore>
6636                         <optional>
6637                                 <ref name="draw-image-map"/>
6638                         </optional>
6639                         <optional>
6640                                 <ref name="svg-title"/>
6641                         </optional>
6642                         <optional>
6643                                 <ref name="svg-desc"/>
6644                         </optional>
6645                         <optional>
6646                                 <choice>
6647                                         <ref name="draw-contour-polygon"/>
6648                                         <ref name="draw-contour-path"/>
6649                                 </choice>
6650                         </optional>
6651                 </element>
6652         </define>
6653         <define name="common-draw-rel-size-attlist">
6654                 <ref name="common-draw-size-attlist"/>
6655                 <optional>
6656                         <attribute name="style:rel-width">
6657                                 <choice>
6658                                         <ref name="percent"/>
6659                                         <value>scale</value>
6660                                         <value>scale-min</value>
6661                                 </choice>
6662                         </attribute>
6663                 </optional>
6664                 <optional>
6665                         <attribute name="style:rel-height">
6666                                 <choice>
6667                                         <ref name="percent"/>
6668                                         <value>scale</value>
6669                                         <value>scale-min</value>
6670                                 </choice>
6671                         </attribute>
6672                 </optional>
6673         </define>
6674         <define name="draw-frame-attlist">
6675                 <optional>
6676                         <attribute name="draw:copy-of">
6677                                 <ref name="string"/>
6678                         </attribute>
6679                 </optional>
6680         </define>
6681         <define name="draw-text-box">
6682                 <element name="draw:text-box">
6683                         <ref name="draw-text-box-attlist"/>
6684                         <zeroOrMore>
6685                                 <ref name="text-content"/>
6686                         </zeroOrMore>
6687                 </element>
6688         </define>
6689         <define name="draw-text-box-attlist">
6690                 <interleave>
6691                         <optional>
6692                                 <attribute name="draw:chain-next-name">
6693                                         <ref name="string"/>
6694                                 </attribute>
6695                         </optional>
6696                         <optional>
6697                                 <attribute name="draw:corner-radius">
6698                                         <ref name="nonNegativeLength"/>
6699                                 </attribute>
6700                         </optional>
6701                         <optional>
6702                                 <attribute name="fo:min-height">
6703                                         <choice>
6704                                                 <ref name="length"/>
6705                                                 <ref name="percent"/>
6706                                         </choice>
6707                                 </attribute>
6708                         </optional>
6709                         <optional>
6710                                 <attribute name="fo:min-width">
6711                                         <choice>
6712                                                 <ref name="length"/>
6713                                                 <ref name="percent"/>
6714                                         </choice>
6715                                 </attribute>
6716                         </optional>
6717                         <optional>
6718                                 <attribute name="fo:max-height">
6719                                         <choice>
6720                                                 <ref name="length"/>
6721                                                 <ref name="percent"/>
6722                                         </choice>
6723                                 </attribute>
6724                         </optional>
6725                         <optional>
6726                                 <attribute name="fo:max-width">
6727                                         <choice>
6728                                                 <ref name="length"/>
6729                                                 <ref name="percent"/>
6730                                         </choice>
6731                                 </attribute>
6732                         </optional>
6733                         <optional>
6734                                 <group>
6735                                         <ref name="xml-id"/>
6736                                         <optional>
6737                                                 <attribute name="text:id">
6738                                                         <ref name="NCName"/>
6739                                                 </attribute>
6740                                         </optional>
6741                                 </group>
6742                         </optional>
6743                 </interleave>
6744         </define>
6745         <define name="draw-image">
6746                 <element name="draw:image">
6747                         <ref name="draw-image-attlist"/>
6748                         <choice>
6749                                 <ref name="common-draw-data-attlist"/>
6750                                 <ref name="office-binary-data"/>
6751                         </choice>
6752                         <ref name="draw-text"/>
6753                 </element>
6754         </define>
6755         <define name="common-draw-data-attlist">
6756                 <group>
6757                         <attribute name="xlink:type">
6758                                 <value>simple</value>
6759                         </attribute>
6760                         <attribute name="xlink:href">
6761                                 <ref name="anyIRI"/>
6762                         </attribute>
6763                         <optional>
6764                                 <attribute name="xlink:show">
6765                                         <value>embed</value>
6766                                 </attribute>
6767                         </optional>
6768                         <optional>
6769                                 <attribute name="xlink:actuate">
6770                                         <value>onLoad</value>
6771                                 </attribute>
6772                         </optional>
6773                 </group>
6774         </define>
6775         <define name="office-binary-data">
6776                 <element name="office:binary-data">
6777                         <ref name="base64Binary"/>
6778                 </element>
6779         </define>
6780         <define name="draw-image-attlist">
6781                 <interleave>
6782                         <optional>
6783                                 <attribute name="draw:filter-name">
6784                                         <ref name="string"/>
6785                                 </attribute>
6786                         </optional>
6787                         <optional>
6788                                 <ref name="xml-id"/>
6789                         </optional>
6790                 </interleave>
6791         </define>
6792         <define name="draw-object">
6793                 <element name="draw:object">
6794                         <ref name="draw-object-attlist"/>
6795                         <choice>
6796                                 <ref name="common-draw-data-attlist"/>
6797                                 <ref name="office-document"/>
6798                                 <ref name="math-math"/>
6799                         </choice>
6800                 </element>
6801         </define>
6802         <define name="draw-object-ole">
6803                 <element name="draw:object-ole">
6804                         <ref name="draw-object-ole-attlist"/>
6805                         <choice>
6806                                 <ref name="common-draw-data-attlist"/>
6807                                 <ref name="office-binary-data"/>
6808                         </choice>
6809                 </element>
6810         </define>
6811         <define name="draw-object-attlist">
6812                 <interleave>
6813                         <optional>
6814                                 <attribute name="draw:notify-on-update-of-ranges">
6815                                         <choice>
6816                                                 <ref name="cellRangeAddressList"/>
6817                                                 <ref name="string"/>
6818                                         </choice>
6819                                 </attribute>
6820                         </optional>
6821                         <optional>
6822                                 <ref name="xml-id"/>
6823                         </optional>
6824                 </interleave>
6825         </define>
6826         <define name="draw-object-ole-attlist">
6827                 <interleave>
6828                         <optional>
6829                                 <attribute name="draw:class-id">
6830                                         <ref name="string"/>
6831                                 </attribute>
6832                         </optional>
6833                         <optional>
6834                                 <ref name="xml-id"/>
6835                         </optional>
6836                 </interleave>
6837         </define>
6838         <define name="draw-applet">
6839                 <element name="draw:applet">
6840                         <ref name="draw-applet-attlist"/>
6841                         <optional>
6842                                 <ref name="common-draw-data-attlist"/>
6843                         </optional>
6844                         <zeroOrMore>
6845                                 <ref name="draw-param"/>
6846                         </zeroOrMore>
6847                 </element>
6848         </define>
6849         <define name="draw-applet-attlist">
6850                 <interleave>
6851                         <optional>
6852                                 <attribute name="draw:code">
6853                                         <ref name="string"/>
6854                                 </attribute>
6855                         </optional>
6856                         <optional>
6857                                 <attribute name="draw:object">
6858                                         <ref name="string"/>
6859                                 </attribute>
6860                         </optional>
6861                         <optional>
6862                                 <attribute name="draw:archive">
6863                                         <ref name="string"/>
6864                                 </attribute>
6865                         </optional>
6866                         <optional>
6867                                 <attribute name="draw:may-script">
6868                                         <ref name="boolean"/>
6869                                 </attribute>
6870                         </optional>
6871                         <optional>
6872                                 <ref name="xml-id"/>
6873                         </optional>
6874                 </interleave>
6875         </define>
6876         <define name="draw-plugin">
6877                 <element name="draw:plugin">
6878                         <ref name="draw-plugin-attlist"/>
6879                         <ref name="common-draw-data-attlist"/>
6880                         <zeroOrMore>
6881                                 <ref name="draw-param"/>
6882                         </zeroOrMore>
6883                 </element>
6884         </define>
6885         <define name="draw-plugin-attlist">
6886                 <interleave>
6887                         <optional>
6888                                 <attribute name="draw:mime-type">
6889                                         <ref name="string"/>
6890                                 </attribute>
6891                         </optional>
6892                         <optional>
6893                                 <ref name="xml-id"/>
6894                         </optional>
6895                 </interleave>
6896         </define>
6897         <define name="draw-param">
6898                 <element name="draw:param">
6899                         <ref name="draw-param-attlist"/>
6900                         <empty/>
6901                 </element>
6902         </define>
6903         <define name="draw-param-attlist">
6904                 <interleave>
6905                         <optional>
6906                                 <attribute name="draw:name">
6907                                         <ref name="string"/>
6908                                 </attribute>
6909                         </optional>
6910                         <optional>
6911                                 <attribute name="draw:value">
6912                                         <ref name="string"/>
6913                                 </attribute>
6914                         </optional>
6915                 </interleave>
6916         </define>
6917         <define name="draw-floating-frame">
6918                 <element name="draw:floating-frame">
6919                         <ref name="draw-floating-frame-attlist"/>
6920                         <ref name="common-draw-data-attlist"/>
6921                 </element>
6922         </define>
6923         <define name="draw-floating-frame-attlist">
6924                 <interleave>
6925                         <optional>
6926                                 <attribute name="draw:frame-name">
6927                                         <ref name="string"/>
6928                                 </attribute>
6929                         </optional>
6930                         <optional>
6931                                 <ref name="xml-id"/>
6932                         </optional>
6933                 </interleave>
6934         </define>
6935         <define name="draw-contour-polygon">
6936                 <element name="draw:contour-polygon">
6937                         <ref name="common-contour-attlist"/>
6938                         <ref name="common-draw-size-attlist"/>
6939                         <ref name="common-draw-viewbox-attlist"/>
6940                         <ref name="common-draw-points-attlist"/>
6941                         <empty/>
6942                 </element>
6943         </define>
6944         <define name="draw-contour-path">
6945                 <element name="draw:contour-path">
6946                         <ref name="common-contour-attlist"/>
6947                         <ref name="common-draw-size-attlist"/>
6948                         <ref name="common-draw-viewbox-attlist"/>
6949                         <ref name="common-draw-path-data-attlist"/>
6950                         <empty/>
6951                 </element>
6952         </define>
6953         <define name="common-contour-attlist">
6954                 <attribute name="draw:recreate-on-edit">
6955                         <ref name="boolean"/>
6956                 </attribute>
6957         </define>
6958         <define name="draw-a">
6959                 <element name="draw:a">
6960                         <ref name="draw-a-attlist"/>
6961                         <ref name="shape-instance"/>
6962                 </element>
6963         </define>
6964         <define name="draw-a-attlist">
6965                 <interleave>
6966                         <attribute name="xlink:type">
6967                                 <value>simple</value>
6968                         </attribute>
6969                         <attribute name="xlink:href">
6970                                 <ref name="anyIRI"/>
6971                         </attribute>
6972                         <optional>
6973                                 <attribute name="xlink:actuate">
6974                                         <value>onRequest</value>
6975                                 </attribute>
6976                         </optional>
6977                         <optional>
6978                                 <attribute name="office:target-frame-name">
6979                                         <ref name="targetFrameName"/>
6980                                 </attribute>
6981                         </optional>
6982                         <optional>
6983                                 <attribute name="xlink:show">
6984                                         <choice>
6985                                                 <value>new</value>
6986                                                 <value>replace</value>
6987                                         </choice>
6988                                 </attribute>
6989                         </optional>
6990                         <optional>
6991                                 <attribute name="office:name">
6992                                         <ref name="string"/>
6993                                 </attribute>
6994                         </optional>
6995                         <optional>
6996                                 <attribute name="office:title">
6997                                         <ref name="string"/>
6998                                 </attribute>
6999                         </optional>
7000                         <optional>
7001                                 <attribute name="office:server-map">
7002                                         <ref name="boolean"/>
7003                                 </attribute>
7004                         </optional>
7005                         <optional>
7006                                 <ref name="xml-id"/>
7007                         </optional>
7008                 </interleave>
7009         </define>
7010         <define name="draw-image-map">
7011                 <element name="draw:image-map">
7012                         <zeroOrMore>
7013                                 <choice>
7014                                         <ref name="draw-area-rectangle"/>
7015                                         <ref name="draw-area-circle"/>
7016                                         <ref name="draw-area-polygon"/>
7017                                 </choice>
7018                         </zeroOrMore>
7019                 </element>
7020         </define>
7021         <define name="draw-area-rectangle">
7022                 <element name="draw:area-rectangle">
7023                         <ref name="common-draw-area-attlist"/>
7024                         <attribute name="svg:x">
7025                                 <ref name="coordinate"/>
7026                         </attribute>
7027                         <attribute name="svg:y">
7028                                 <ref name="coordinate"/>
7029                         </attribute>
7030                         <attribute name="svg:width">
7031                                 <ref name="length"/>
7032                         </attribute>
7033                         <attribute name="svg:height">
7034                                 <ref name="length"/>
7035                         </attribute>
7036                         <optional>
7037                                 <ref name="svg-title"/>
7038                         </optional>
7039                         <optional>
7040                                 <ref name="svg-desc"/>
7041                         </optional>
7042                         <optional>
7043                                 <ref name="office-event-listeners"/>
7044                         </optional>
7045                 </element>
7046         </define>
7047         <define name="draw-area-circle">
7048                 <element name="draw:area-circle">
7049                         <ref name="common-draw-area-attlist"/>
7050                         <attribute name="svg:cx">
7051                                 <ref name="coordinate"/>
7052                         </attribute>
7053                         <attribute name="svg:cy">
7054                                 <ref name="coordinate"/>
7055                         </attribute>
7056                         <attribute name="svg:r">
7057                                 <ref name="length"/>
7058                         </attribute>
7059                         <optional>
7060                                 <ref name="svg-title"/>
7061                         </optional>
7062                         <optional>
7063                                 <ref name="svg-desc"/>
7064                         </optional>
7065                         <optional>
7066                                 <ref name="office-event-listeners"/>
7067                         </optional>
7068                 </element>
7069         </define>
7070         <define name="draw-area-polygon">
7071                 <element name="draw:area-polygon">
7072                         <ref name="common-draw-area-attlist"/>
7073                         <attribute name="svg:x">
7074                                 <ref name="coordinate"/>
7075                         </attribute>
7076                         <attribute name="svg:y">
7077                                 <ref name="coordinate"/>
7078                         </attribute>
7079                         <attribute name="svg:width">
7080                                 <ref name="length"/>
7081                         </attribute>
7082                         <attribute name="svg:height">
7083                                 <ref name="length"/>
7084                         </attribute>
7085                         <ref name="common-draw-viewbox-attlist"/>
7086                         <ref name="common-draw-points-attlist"/>
7087                         <optional>
7088                                 <ref name="svg-title"/>
7089                         </optional>
7090                         <optional>
7091                                 <ref name="svg-desc"/>
7092                         </optional>
7093                         <optional>
7094                                 <ref name="office-event-listeners"/>
7095                         </optional>
7096                 </element>
7097         </define>
7098         <define name="common-draw-area-attlist">
7099                 <interleave>
7100                         <optional>
7101                                 <attribute name="xlink:type">
7102                                         <value>simple</value>
7103                                 </attribute>
7104                                 <attribute name="xlink:href">
7105                                         <ref name="anyIRI"/>
7106                                 </attribute>
7107                                 <optional>
7108                                         <attribute name="office:target-frame-name">
7109                                                 <ref name="targetFrameName"/>
7110                                         </attribute>
7111                                 </optional>
7112                                 <optional>
7113                                         <attribute name="xlink:show">
7114                                                 <choice>
7115                                                         <value>new</value>
7116                                                         <value>replace</value>
7117                                                 </choice>
7118                                         </attribute>
7119                                 </optional>
7120                         </optional>
7121                         <optional>
7122                                 <attribute name="office:name">
7123                                         <ref name="string"/>
7124                                 </attribute>
7125                         </optional>
7126                         <optional>
7127                                 <attribute name="draw:nohref">
7128                                         <value>nohref</value>
7129                                 </attribute>
7130                         </optional>
7131                 </interleave>
7132         </define>
7133         <define name="dr3d-scene">
7134                 <element name="dr3d:scene">
7135                         <ref name="dr3d-scene-attlist"/>
7136                         <ref name="common-draw-position-attlist"/>
7137                         <ref name="common-draw-size-attlist"/>
7138                         <ref name="common-draw-style-name-attlist"/>
7139                         <ref name="common-draw-z-index-attlist"/>
7140                         <ref name="common-draw-id-attlist"/>
7141                         <ref name="common-draw-layer-name-attlist"/>
7142                         <ref name="common-text-spreadsheet-shape-attlist"/>
7143                         <ref name="common-dr3d-transform-attlist"/>
7144                         <ref name="common-draw-caption-id-attlist"/>
7145                         <optional>
7146                                 <ref name="svg-title"/>
7147                         </optional>
7148                         <optional>
7149                                 <ref name="svg-desc"/>
7150                         </optional>
7151                         <zeroOrMore>
7152                                 <ref name="dr3d-light"/>
7153                         </zeroOrMore>
7154                         <zeroOrMore>
7155                                 <ref name="shapes3d"/>
7156                         </zeroOrMore>
7157                         <zeroOrMore>
7158                                 <ref name="draw-glue-point"/>
7159                         </zeroOrMore>
7160                 </element>
7161         </define>
7162         <define name="shapes3d">
7163                 <choice>
7164                         <ref name="dr3d-scene"/>
7165                         <ref name="dr3d-extrude"/>
7166                         <ref name="dr3d-sphere"/>
7167                         <ref name="dr3d-rotate"/>
7168                         <ref name="dr3d-cube"/>
7169                 </choice>
7170         </define>
7171         <define name="dr3d-scene-attlist">
7172                 <interleave>
7173                         <optional>
7174                                 <attribute name="dr3d:vrp">
7175                                         <ref name="vector3D"/>
7176                                 </attribute>
7177                         </optional>
7178                         <optional>
7179                                 <attribute name="dr3d:vpn">
7180                                         <ref name="vector3D"/>
7181                                 </attribute>
7182                         </optional>
7183                         <optional>
7184                                 <attribute name="dr3d:vup">
7185                                         <ref name="vector3D"/>
7186                                 </attribute>
7187                         </optional>
7188                         <optional>
7189                                 <attribute name="dr3d:projection">
7190                                         <choice>
7191                                                 <value>parallel</value>
7192                                                 <value>perspective</value>
7193                                         </choice>
7194                                 </attribute>
7195                         </optional>
7196                         <optional>
7197                                 <attribute name="dr3d:distance">
7198                                         <ref name="length"/>
7199                                 </attribute>
7200                         </optional>
7201                         <optional>
7202                                 <attribute name="dr3d:focal-length">
7203                                         <ref name="length"/>
7204                                 </attribute>
7205                         </optional>
7206                         <optional>
7207                                 <attribute name="dr3d:shadow-slant">
7208                                         <ref name="angle"/>
7209                                 </attribute>
7210                         </optional>
7211                         <optional>
7212                                 <attribute name="dr3d:shade-mode">
7213                                         <choice>
7214                                                 <value>flat</value>
7215                                                 <value>phong</value>
7216                                                 <value>gouraud</value>
7217                                                 <value>draft</value>
7218                                         </choice>
7219                                 </attribute>
7220                         </optional>
7221                         <optional>
7222                                 <attribute name="dr3d:ambient-color">
7223                                         <ref name="color"/>
7224                                 </attribute>
7225                         </optional>
7226                         <optional>
7227                                 <attribute name="dr3d:lighting-mode">
7228                                         <ref name="boolean"/>
7229                                 </attribute>
7230                         </optional>
7231                 </interleave>
7232         </define>
7233         <define name="common-dr3d-transform-attlist">
7234                 <optional>
7235                         <attribute name="dr3d:transform">
7236                                 <ref name="string"/>
7237                         </attribute>
7238                 </optional>
7239         </define>
7240         <define name="dr3d-light">
7241                 <element name="dr3d:light">
7242                         <ref name="dr3d-light-attlist"/>
7243                         <empty/>
7244                 </element>
7245         </define>
7246         <define name="dr3d-light-attlist">
7247                 <interleave>
7248                         <optional>
7249                                 <attribute name="dr3d:diffuse-color">
7250                                         <ref name="color"/>
7251                                 </attribute>
7252                         </optional>
7253                         <attribute name="dr3d:direction">
7254                                 <ref name="vector3D"/>
7255                         </attribute>
7256                         <optional>
7257                                 <attribute name="dr3d:enabled">
7258                                         <ref name="boolean"/>
7259                                 </attribute>
7260                         </optional>
7261                         <optional>
7262                                 <attribute name="dr3d:specular">
7263                                         <ref name="boolean"/>
7264                                 </attribute>
7265                         </optional>
7266                 </interleave>
7267         </define>
7268         <define name="dr3d-cube">
7269                 <element name="dr3d:cube">
7270                         <ref name="dr3d-cube-attlist"/>
7271                         <ref name="common-draw-z-index-attlist"/>
7272                         <ref name="common-draw-id-attlist"/>
7273                         <ref name="common-draw-layer-name-attlist"/>
7274                         <ref name="common-draw-style-name-attlist"/>
7275                         <ref name="common-dr3d-transform-attlist"/>
7276                         <empty/>
7277                 </element>
7278         </define>
7279         <define name="dr3d-cube-attlist">
7280                 <optional>
7281                         <attribute name="dr3d:min-edge">
7282                                 <ref name="vector3D"/>
7283                         </attribute>
7284                 </optional>
7285                 <optional>
7286                         <attribute name="dr3d:max-edge">
7287                                 <ref name="vector3D"/>
7288                         </attribute>
7289                 </optional>
7290         </define>
7291         <define name="dr3d-sphere">
7292                 <element name="dr3d:sphere">
7293                         <ref name="dr3d-sphere-attlist"/>
7294                         <ref name="common-draw-z-index-attlist"/>
7295                         <ref name="common-draw-id-attlist"/>
7296                         <ref name="common-draw-layer-name-attlist"/>
7297                         <ref name="common-draw-style-name-attlist"/>
7298                         <ref name="common-dr3d-transform-attlist"/>
7299                         <empty/>
7300                 </element>
7301         </define>
7302         <define name="dr3d-sphere-attlist">
7303                 <interleave>
7304                         <optional>
7305                                 <attribute name="dr3d:center">
7306                                         <ref name="vector3D"/>
7307                                 </attribute>
7308                         </optional>
7309                         <optional>
7310                                 <attribute name="dr3d:size">
7311                                         <ref name="vector3D"/>
7312                                 </attribute>
7313                         </optional>
7314                 </interleave>
7315         </define>
7316         <define name="dr3d-extrude">
7317                 <element name="dr3d:extrude">
7318                         <ref name="common-draw-path-data-attlist"/>
7319                         <ref name="common-draw-viewbox-attlist"/>
7320                         <ref name="common-draw-id-attlist"/>
7321                         <ref name="common-draw-z-index-attlist"/>
7322                         <ref name="common-draw-layer-name-attlist"/>
7323                         <ref name="common-draw-style-name-attlist"/>
7324                         <ref name="common-dr3d-transform-attlist"/>
7325                         <empty/>
7326                 </element>
7327         </define>
7328         <define name="dr3d-rotate">
7329                 <element name="dr3d:rotate">
7330                         <ref name="common-draw-viewbox-attlist"/>
7331                         <ref name="common-draw-path-data-attlist"/>
7332                         <ref name="common-draw-z-index-attlist"/>
7333                         <ref name="common-draw-id-attlist"/>
7334                         <ref name="common-draw-layer-name-attlist"/>
7335                         <ref name="common-draw-style-name-attlist"/>
7336                         <ref name="common-dr3d-transform-attlist"/>
7337                         <empty/>
7338                 </element>
7339         </define>
7340         <define name="draw-custom-shape">
7341                 <element name="draw:custom-shape">
7342                         <ref name="draw-custom-shape-attlist"/>
7343                         <ref name="common-draw-position-attlist"/>
7344                         <ref name="common-draw-size-attlist"/>
7345                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
7346                         <ref name="common-draw-caption-id-attlist"/>
7347                         <optional>
7348                                 <ref name="svg-title"/>
7349                         </optional>
7350                         <optional>
7351                                 <ref name="svg-desc"/>
7352                         </optional>
7353                         <optional>
7354                                 <ref name="office-event-listeners"/>
7355                         </optional>
7356                         <zeroOrMore>
7357                                 <ref name="draw-glue-point"/>
7358                         </zeroOrMore>
7359                         <ref name="draw-text"/>
7360                         <optional>
7361                                 <ref name="draw-enhanced-geometry"/>
7362                         </optional>
7363                 </element>
7364         </define>
7365         <define name="draw-custom-shape-attlist">
7366                 <interleave>
7367                         <optional>
7368                                 <attribute name="draw:engine">
7369                                         <ref name="namespacedToken"/>
7370                                 </attribute>
7371                         </optional>
7372                         <optional>
7373                                 <attribute name="draw:data">
7374                                         <ref name="string"/>
7375                                 </attribute>
7376                         </optional>
7377                 </interleave>
7378         </define>
7379         <define name="draw-enhanced-geometry">
7380                 <element name="draw:enhanced-geometry">
7381                         <ref name="draw-enhanced-geometry-attlist"/>
7382                         <zeroOrMore>
7383                                 <ref name="draw-equation"/>
7384                         </zeroOrMore>
7385                         <zeroOrMore>
7386                                 <ref name="draw-handle"/>
7387                         </zeroOrMore>
7388                 </element>
7389         </define>
7390         <define name="draw-enhanced-geometry-attlist">
7391                 <interleave>
7392                         <optional>
7393                                 <attribute name="draw:type">
7394                                         <ref name="custom-shape-type"/>
7395                                 </attribute>
7396                         </optional>
7397                         <optional>
7398                                 <attribute name="svg:viewBox">
7399                                         <list>
7400                                                 <ref name="integer"/>
7401                                                 <ref name="integer"/>
7402                                                 <ref name="integer"/>
7403                                                 <ref name="integer"/>
7404                                         </list>
7405                                 </attribute>
7406                         </optional>
7407                         <optional>
7408                                 <attribute name="draw:mirror-vertical">
7409                                         <ref name="boolean"/>
7410                                 </attribute>
7411                         </optional>
7412                         <optional>
7413                                 <attribute name="draw:mirror-horizontal">
7414                                         <ref name="boolean"/>
7415                                 </attribute>
7416                         </optional>
7417                         <optional>
7418                                 <attribute name="draw:text-rotate-angle">
7419                                         <ref name="angle"/>
7420                                 </attribute>
7421                         </optional>
7422                         <optional>
7423                                 <attribute name="draw:extrusion-allowed">
7424                                         <ref name="boolean"/>
7425                                 </attribute>
7426                         </optional>
7427                         <optional>
7428                                 <attribute name="draw:text-path-allowed">
7429                                         <ref name="boolean"/>
7430                                 </attribute>
7431                         </optional>
7432                         <optional>
7433                                 <attribute name="draw:concentric-gradient-fill-allowed">
7434                                         <ref name="boolean"/>
7435                                 </attribute>
7436                         </optional>
7437                         <optional>
7438                                 <attribute name="draw:extrusion">
7439                                         <ref name="boolean"/>
7440                                 </attribute>
7441                         </optional>
7442                         <optional>
7443                                 <attribute name="draw:extrusion-brightness">
7444                                         <ref name="zeroToHundredPercent"/>
7445                                 </attribute>
7446                         </optional>
7447                         <optional>
7448                                 <attribute name="draw:extrusion-depth">
7449                                         <list>
7450                                                 <ref name="length"/>
7451                                                 <ref name="double"/>
7452                                         </list>
7453                                 </attribute>
7454                         </optional>
7455                         <optional>
7456                                 <attribute name="draw:extrusion-diffusion">
7457                                         <ref name="percent"/>
7458                                 </attribute>
7459                         </optional>
7460                         <optional>
7461                                 <attribute name="draw:extrusion-number-of-line-segments">
7462                                         <ref name="integer"/>
7463                                 </attribute>
7464                         </optional>
7465                         <optional>
7466                                 <attribute name="draw:extrusion-light-face">
7467                                         <ref name="boolean"/>
7468                                 </attribute>
7469                         </optional>
7470                         <optional>
7471                                 <attribute name="draw:extrusion-first-light-harsh">
7472                                         <ref name="boolean"/>
7473                                 </attribute>
7474                         </optional>
7475                         <optional>
7476                                 <attribute name="draw:extrusion-second-light-harsh">
7477                                         <ref name="boolean"/>
7478                                 </attribute>
7479                         </optional>
7480                         <optional>
7481                                 <attribute name="draw:extrusion-first-light-level">
7482                                         <ref name="zeroToHundredPercent"/>
7483                                 </attribute>
7484                         </optional>
7485                         <optional>
7486                                 <attribute name="draw:extrusion-second-light-level">
7487                                         <ref name="zeroToHundredPercent"/>
7488                                 </attribute>
7489                         </optional>
7490                         <optional>
7491                                 <attribute name="draw:extrusion-first-light-direction">
7492                                         <ref name="vector3D"/>
7493                                 </attribute>
7494                         </optional>
7495                         <optional>
7496                                 <attribute name="draw:extrusion-second-light-direction">
7497                                         <ref name="vector3D"/>
7498                                 </attribute>
7499                         </optional>
7500                         <optional>
7501                                 <attribute name="draw:extrusion-metal">
7502                                         <ref name="boolean"/>
7503                                 </attribute>
7504                         </optional>
7505                         <optional>
7506                                 <attribute name="dr3d:shade-mode">
7507                                         <choice>
7508                                                 <value>flat</value>
7509                                                 <value>phong</value>
7510                                                 <value>gouraud</value>
7511                                                 <value>draft</value>
7512                                         </choice>
7513                                 </attribute>
7514                         </optional>
7515                         <optional>
7516                                 <attribute name="draw:extrusion-rotation-angle">
7517                                         <list>
7518                                                 <ref name="angle"/>
7519                                                 <ref name="angle"/>
7520                                         </list>
7521                                 </attribute>
7522                         </optional>
7523                         <optional>
7524                                 <attribute name="draw:extrusion-rotation-center">
7525                                         <ref name="vector3D"/>
7526                                 </attribute>
7527                         </optional>
7528                         <optional>
7529                                 <attribute name="draw:extrusion-shininess">
7530                                         <ref name="zeroToHundredPercent"/>
7531                                 </attribute>
7532                         </optional>
7533                         <optional>
7534                                 <attribute name="draw:extrusion-skew">
7535                                         <list>
7536                                                 <ref name="double"/>
7537                                                 <ref name="angle"/>
7538                                         </list>
7539                                 </attribute>
7540                         </optional>
7541                         <optional>
7542                                 <attribute name="draw:extrusion-specularity">
7543                                         <ref name="zeroToHundredPercent"/>
7544                                 </attribute>
7545                         </optional>
7546                         <optional>
7547                                 <attribute name="dr3d:projection">
7548                                         <choice>
7549                                                 <value>parallel</value>
7550                                                 <value>perspective</value>
7551                                         </choice>
7552                                 </attribute>
7553                         </optional>
7554                         <optional>
7555                                 <attribute name="draw:extrusion-viewpoint">
7556                                         <ref name="point3D"/>
7557                                 </attribute>
7558                         </optional>
7559                         <optional>
7560                                 <attribute name="draw:extrusion-origin">
7561                                         <list>
7562                                                 <ref name="extrusionOrigin"/>
7563                                                 <ref name="extrusionOrigin"/>
7564                                         </list>
7565                                 </attribute>
7566                         </optional>
7567                         <optional>
7568                                 <attribute name="draw:extrusion-color">
7569                                         <ref name="boolean"/>
7570                                 </attribute>
7571                         </optional>
7572                         <optional>
7573                                 <attribute name="draw:enhanced-path">
7574                                         <ref name="string"/>
7575                                 </attribute>
7576                         </optional>
7577                         <optional>
7578                                 <attribute name="draw:path-stretchpoint-x">
7579                                         <ref name="double"/>
7580                                 </attribute>
7581                         </optional>
7582                         <optional>
7583                                 <attribute name="draw:path-stretchpoint-y">
7584                                         <ref name="double"/>
7585                                 </attribute>
7586                         </optional>
7587                         <optional>
7588                                 <attribute name="draw:text-areas">
7589                                         <ref name="string"/>
7590                                 </attribute>
7591                         </optional>
7592                         <optional>
7593                                 <attribute name="draw:glue-points">
7594                                         <ref name="string"/>
7595                                 </attribute>
7596                         </optional>
7597                         <optional>
7598                                 <attribute name="draw:glue-point-type">
7599                                         <choice>
7600                                                 <value>none</value>
7601                                                 <value>segments</value>
7602                                                 <value>rectangle</value>
7603                                         </choice>
7604                                 </attribute>
7605                         </optional>
7606                         <optional>
7607                                 <attribute name="draw:glue-point-leaving-directions">
7608                                         <ref name="string"/>
7609                                 </attribute>
7610                         </optional>
7611                         <optional>
7612                                 <attribute name="draw:text-path">
7613                                         <ref name="boolean"/>
7614                                 </attribute>
7615                         </optional>
7616                         <optional>
7617                                 <attribute name="draw:text-path-mode">
7618                                         <choice>
7619                                                 <value>normal</value>
7620                                                 <value>path</value>
7621                                                 <value>shape</value>
7622                                         </choice>
7623                                 </attribute>
7624                         </optional>
7625                         <optional>
7626                                 <attribute name="draw:text-path-scale">
7627                                         <choice>
7628                                                 <value>path</value>
7629                                                 <value>shape</value>
7630                                         </choice>
7631                                 </attribute>
7632                         </optional>
7633                         <optional>
7634                                 <attribute name="draw:text-path-same-letter-heights">
7635                                         <ref name="boolean"/>
7636                                 </attribute>
7637                         </optional>
7638                         <optional>
7639                                 <attribute name="draw:modifiers">
7640                                         <ref name="string"/>
7641                                 </attribute>
7642                         </optional>
7643                 </interleave>
7644         </define>
7645         <define name="custom-shape-type">
7646                 <choice>
7647                         <value>non-primitive</value>
7648                         <ref name="string"/>
7649                 </choice>
7650         </define>
7651         <define name="point3D">
7652                 <data type="string">
7653                         <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>
7654                 </data>
7655         </define>
7656         <define name="extrusionOrigin">
7657                 <data type="double">
7658                         <param name="minInclusive">-0.5</param>
7659                         <param name="maxInclusive">0.5</param>
7660                 </data>
7661         </define>
7662         <define name="draw-equation">
7663                 <element name="draw:equation">
7664                         <ref name="draw-equation-attlist"/>
7665                         <empty/>
7666                 </element>
7667         </define>
7668         <define name="draw-equation-attlist">
7669                 <interleave>
7670                         <optional>
7671                                 <attribute name="draw:name">
7672                                         <ref name="string"/>
7673                                 </attribute>
7674                         </optional>
7675                         <optional>
7676                                 <attribute name="draw:formula">
7677                                         <ref name="string"/>
7678                                 </attribute>
7679                         </optional>
7680                 </interleave>
7681         </define>
7682         <define name="draw-handle">
7683                 <element name="draw:handle">
7684                         <ref name="draw-handle-attlist"/>
7685                         <empty/>
7686                 </element>
7687         </define>
7688         <define name="draw-handle-attlist">
7689                 <interleave>
7690                         <optional>
7691                                 <attribute name="draw:handle-mirror-vertical">
7692                                         <ref name="boolean"/>
7693                                 </attribute>
7694                         </optional>
7695                         <optional>
7696                                 <attribute name="draw:handle-mirror-horizontal">
7697                                         <ref name="boolean"/>
7698                                 </attribute>
7699                         </optional>
7700                         <optional>
7701                                 <attribute name="draw:handle-switched">
7702                                         <ref name="boolean"/>
7703                                 </attribute>
7704                         </optional>
7705                         <attribute name="draw:handle-position">
7706                                 <ref name="string"/>
7707                         </attribute>
7708                         <optional>
7709                                 <attribute name="draw:handle-range-x-minimum">
7710                                         <ref name="string"/>
7711                                 </attribute>
7712                         </optional>
7713                         <optional>
7714                                 <attribute name="draw:handle-range-x-maximum">
7715                                         <ref name="string"/>
7716                                 </attribute>
7717                         </optional>
7718                         <optional>
7719                                 <attribute name="draw:handle-range-y-minimum">
7720                                         <ref name="string"/>
7721                                 </attribute>
7722                         </optional>
7723                         <optional>
7724                                 <attribute name="draw:handle-range-y-maximum">
7725                                         <ref name="string"/>
7726                                 </attribute>
7727                         </optional>
7728                         <optional>
7729                                 <attribute name="draw:handle-polar">
7730                                         <ref name="string"/>
7731                                 </attribute>
7732                         </optional>
7733                         <optional>
7734                                 <attribute name="draw:handle-radius-range-minimum">
7735                                         <ref name="string"/>
7736                                 </attribute>
7737                         </optional>
7738                         <optional>
7739                                 <attribute name="draw:handle-radius-range-maximum">
7740                                         <ref name="string"/>
7741                                 </attribute>
7742                         </optional>
7743                 </interleave>
7744         </define>
7745         <define name="presentation-shape-attlist">
7746                 <interleave>
7747                         <optional>
7748                                 <attribute name="presentation:class">
7749                                         <ref name="presentation-classes"/>
7750                                 </attribute>
7751                         </optional>
7752                         <optional>
7753                                 <attribute name="presentation:placeholder">
7754                                         <ref name="boolean"/>
7755                                 </attribute>
7756                         </optional>
7757                         <optional>
7758                                 <attribute name="presentation:user-transformed">
7759                                         <ref name="boolean"/>
7760                                 </attribute>
7761                         </optional>
7762                 </interleave>
7763         </define>
7764         <define name="presentation-classes">
7765                 <choice>
7766                         <value>title</value>
7767                         <value>outline</value>
7768                         <value>subtitle</value>
7769                         <value>text</value>
7770                         <value>graphic</value>
7771                         <value>object</value>
7772                         <value>chart</value>
7773                         <value>table</value>
7774                         <value>orgchart</value>
7775                         <value>page</value>
7776                         <value>notes</value>
7777                         <value>handout</value>
7778                         <value>header</value>
7779                         <value>footer</value>
7780                         <value>date-time</value>
7781                         <value>page-number</value>
7782                 </choice>
7783         </define>
7784         <define name="presentation-animations">
7785                 <element name="presentation:animations">
7786                         <zeroOrMore>
7787                                 <choice>
7788                                         <ref name="presentation-animation-elements"/>
7789                                         <ref name="presentation-animation-group"/>
7790                                 </choice>
7791                         </zeroOrMore>
7792                 </element>
7793         </define>
7794         <define name="presentation-animation-elements">
7795                 <choice>
7796                         <ref name="presentation-show-shape"/>
7797                         <ref name="presentation-show-text"/>
7798                         <ref name="presentation-hide-shape"/>
7799                         <ref name="presentation-hide-text"/>
7800                         <ref name="presentation-dim"/>
7801                         <ref name="presentation-play"/>
7802                 </choice>
7803         </define>
7804         <define name="presentation-sound">
7805                 <element name="presentation:sound">
7806                         <ref name="presentation-sound-attlist"/>
7807                         <attribute name="xlink:type">
7808                                 <value>simple</value>
7809                         </attribute>
7810                         <attribute name="xlink:href">
7811                                 <ref name="anyIRI"/>
7812                         </attribute>
7813                         <optional>
7814                                 <attribute name="xlink:actuate">
7815                                         <value>onRequest</value>
7816                                 </attribute>
7817                         </optional>
7818                         <optional>
7819                                 <attribute name="xlink:show">
7820                                         <choice>
7821                                                 <value>new</value>
7822                                                 <value>replace</value>
7823                                         </choice>
7824                                 </attribute>
7825                         </optional>
7826                         <empty/>
7827                 </element>
7828         </define>
7829         <define name="presentation-sound-attlist">
7830                 <interleave>
7831                         <optional>
7832                                 <attribute name="presentation:play-full">
7833                                         <ref name="boolean"/>
7834                                 </attribute>
7835                         </optional>
7836                         <optional>
7837                                 <ref name="xml-id"/>
7838                         </optional>
7839                 </interleave>
7840         </define>
7841         <define name="presentation-show-shape">
7842                 <element name="presentation:show-shape">
7843                         <ref name="common-presentation-effect-attlist"/>
7844                         <optional>
7845                                 <ref name="presentation-sound"/>
7846                         </optional>
7847                 </element>
7848         </define>
7849         <define name="common-presentation-effect-attlist">
7850                 <interleave>
7851                         <attribute name="draw:shape-id">
7852                                 <ref name="IDREF"/>
7853                         </attribute>
7854                         <optional>
7855                                 <attribute name="presentation:effect">
7856                                         <ref name="presentationEffects"/>
7857                                 </attribute>
7858                         </optional>
7859                         <optional>
7860                                 <attribute name="presentation:direction">
7861                                         <ref name="presentationEffectDirections"/>
7862                                 </attribute>
7863                         </optional>
7864                         <optional>
7865                                 <attribute name="presentation:speed">
7866                                         <ref name="presentationSpeeds"/>
7867                                 </attribute>
7868                         </optional>
7869                         <optional>
7870                                 <attribute name="presentation:delay">
7871                                         <ref name="duration"/>
7872                                 </attribute>
7873                         </optional>
7874                         <optional>
7875                                 <attribute name="presentation:start-scale">
7876                                         <ref name="percent"/>
7877                                 </attribute>
7878                         </optional>
7879                         <optional>
7880                                 <attribute name="presentation:path-id">
7881                                         <ref name="string"/>
7882                                 </attribute>
7883                         </optional>
7884                 </interleave>
7885         </define>
7886         <define name="presentationEffects">
7887                 <choice>
7888                         <value>none</value>
7889                         <value>fade</value>
7890                         <value>move</value>
7891                         <value>stripes</value>
7892                         <value>open</value>
7893                         <value>close</value>
7894                         <value>dissolve</value>
7895                         <value>wavyline</value>
7896                         <value>random</value>
7897                         <value>lines</value>
7898                         <value>laser</value>
7899                         <value>appear</value>
7900                         <value>hide</value>
7901                         <value>move-short</value>
7902                         <value>checkerboard</value>
7903                         <value>rotate</value>
7904                         <value>stretch</value>
7905                 </choice>
7906         </define>
7907         <define name="presentationEffectDirections">
7908                 <choice>
7909                         <value>none</value>
7910                         <value>from-left</value>
7911                         <value>from-top</value>
7912                         <value>from-right</value>
7913                         <value>from-bottom</value>
7914                         <value>from-center</value>
7915                         <value>from-upper-left</value>
7916                         <value>from-upper-right</value>
7917                         <value>from-lower-left</value>
7918                         <value>from-lower-right</value>
7919                         <value>to-left</value>
7920                         <value>to-top</value>
7921                         <value>to-right</value>
7922                         <value>to-bottom</value>
7923                         <value>to-upper-left</value>
7924                         <value>to-upper-right</value>
7925                         <value>to-lower-right</value>
7926                         <value>to-lower-left</value>
7927                         <value>path</value>
7928                         <value>spiral-inward-left</value>
7929                         <value>spiral-inward-right</value>
7930                         <value>spiral-outward-left</value>
7931                         <value>spiral-outward-right</value>
7932                         <value>vertical</value>
7933                         <value>horizontal</value>
7934                         <value>to-center</value>
7935                         <value>clockwise</value>
7936                         <value>counter-clockwise</value>
7937                 </choice>
7938         </define>
7939         <define name="presentationSpeeds">
7940                 <choice>
7941                         <value>slow</value>
7942                         <value>medium</value>
7943                         <value>fast</value>
7944                 </choice>
7945         </define>
7946         <define name="presentation-show-text">
7947                 <element name="presentation:show-text">
7948                         <ref name="common-presentation-effect-attlist"/>
7949                         <optional>
7950                                 <ref name="presentation-sound"/>
7951                         </optional>
7952                 </element>
7953         </define>
7954         <define name="presentation-hide-shape">
7955                 <element name="presentation:hide-shape">
7956                         <ref name="common-presentation-effect-attlist"/>
7957                         <optional>
7958                                 <ref name="presentation-sound"/>
7959                         </optional>
7960                 </element>
7961         </define>
7962         <define name="presentation-hide-text">
7963                 <element name="presentation:hide-text">
7964                         <ref name="common-presentation-effect-attlist"/>
7965                         <optional>
7966                                 <ref name="presentation-sound"/>
7967                         </optional>
7968                 </element>
7969         </define>
7970         <define name="presentation-dim">
7971                 <element name="presentation:dim">
7972                         <ref name="presentation-dim-attlist"/>
7973                         <optional>
7974                                 <ref name="presentation-sound"/>
7975                         </optional>
7976                 </element>
7977         </define>
7978         <define name="presentation-dim-attlist">
7979                 <interleave>
7980                         <attribute name="draw:shape-id">
7981                                 <ref name="IDREF"/>
7982                         </attribute>
7983                         <attribute name="draw:color">
7984                                 <ref name="color"/>
7985                         </attribute>
7986                 </interleave>
7987         </define>
7988         <define name="presentation-play">
7989                 <element name="presentation:play">
7990                         <ref name="presentation-play-attlist"/>
7991                         <empty/>
7992                 </element>
7993         </define>
7994         <define name="presentation-play-attlist">
7995                 <attribute name="draw:shape-id">
7996                         <ref name="IDREF"/>
7997                 </attribute>
7998                 <optional>
7999                         <attribute name="presentation:speed">
8000                                 <ref name="presentationSpeeds"/>
8001                         </attribute>
8002                 </optional>
8003         </define>
8004         <define name="presentation-animation-group">
8005                 <element name="presentation:animation-group">
8006                         <zeroOrMore>
8007                                 <ref name="presentation-animation-elements"/>
8008                         </zeroOrMore>
8009                 </element>
8010         </define>
8011         <define name="common-anim-attlist">
8012                 <interleave>
8013                         <optional>
8014                                 <attribute name="presentation:node-type">
8015                                         <choice>
8016                                                 <value>default</value>
8017                                                 <value>on-click</value>
8018                                                 <value>with-previous</value>
8019                                                 <value>after-previous</value>
8020                                                 <value>timing-root</value>
8021                                                 <value>main-sequence</value>
8022                                                 <value>interactive-sequence</value>
8023                                         </choice>
8024                                 </attribute>
8025                         </optional>
8026                         <optional>
8027                                 <attribute name="presentation:preset-id">
8028                                         <ref name="string"/>
8029                                 </attribute>
8030                         </optional>
8031                         <optional>
8032                                 <attribute name="presentation:preset-sub-type">
8033                                         <ref name="string"/>
8034                                 </attribute>
8035                         </optional>
8036                         <optional>
8037                                 <attribute name="presentation:preset-class">
8038                                         <choice>
8039                                                 <value>custom</value>
8040                                                 <value>entrance</value>
8041                                                 <value>exit</value>
8042                                                 <value>emphasis</value>
8043                                                 <value>motion-path</value>
8044                                                 <value>ole-action</value>
8045                                                 <value>media-call</value>
8046                                         </choice>
8047                                 </attribute>
8048                         </optional>
8049                         <optional>
8050                                 <attribute name="presentation:master-element">
8051                                         <ref name="IDREF"/>
8052                                 </attribute>
8053                         </optional>
8054                         <optional>
8055                                 <attribute name="presentation:group-id">
8056                                         <ref name="string"/>
8057                                 </attribute>
8058                         </optional>
8059                         <optional>
8060                                 <group>
8061                                         <ref name="xml-id"/>
8062                                         <optional>
8063                                                 <attribute name="anim:id">
8064                                                         <ref name="NCName"/>
8065                                                 </attribute>
8066                                         </optional>
8067                                 </group>
8068                         </optional>
8069                 </interleave>
8070         </define>
8071         <define name="presentation-event-listener">
8072                 <element name="presentation:event-listener">
8073                         <ref name="presentation-event-listener-attlist"/>
8074                         <optional>
8075                                 <ref name="presentation-sound"/>
8076                         </optional>
8077                 </element>
8078         </define>
8079         <define name="presentation-event-listener-attlist">
8080                 <interleave>
8081                         <attribute name="script:event-name">
8082                                 <ref name="string"/>
8083                         </attribute>
8084                         <attribute name="presentation:action">
8085                                 <choice>
8086                                         <value>none</value>
8087                                         <value>previous-page</value>
8088                                         <value>next-page</value>
8089                                         <value>first-page</value>
8090                                         <value>last-page</value>
8091                                         <value>hide</value>
8092                                         <value>stop</value>
8093                                         <value>execute</value>
8094                                         <value>show</value>
8095                                         <value>verb</value>
8096                                         <value>fade-out</value>
8097                                         <value>sound</value>
8098                                         <value>last-visited-page</value>
8099                                 </choice>
8100                         </attribute>
8101                         <optional>
8102                                 <attribute name="presentation:effect">
8103                                         <ref name="presentationEffects"/>
8104                                 </attribute>
8105                         </optional>
8106                         <optional>
8107                                 <attribute name="presentation:direction">
8108                                         <ref name="presentationEffectDirections"/>
8109                                 </attribute>
8110                         </optional>
8111                         <optional>
8112                                 <attribute name="presentation:speed">
8113                                         <ref name="presentationSpeeds"/>
8114                                 </attribute>
8115                         </optional>
8116                         <optional>
8117                                 <attribute name="presentation:start-scale">
8118                                         <ref name="percent"/>
8119                                 </attribute>
8120                         </optional>
8121                         <optional>
8122                                 <attribute name="xlink:type">
8123                                         <value>simple</value>
8124                                 </attribute>
8125                                 <attribute name="xlink:href">
8126                                         <ref name="anyIRI"/>
8127                                 </attribute>
8128                                 <optional>
8129                                         <attribute name="xlink:show">
8130                                                 <value>embed</value>
8131                                         </attribute>
8132                                 </optional>
8133                                 <optional>
8134                                         <attribute name="xlink:actuate">
8135                                                 <value>onRequest</value>
8136                                         </attribute>
8137                                 </optional>
8138                         </optional>
8139                         <optional>
8140                                 <attribute name="presentation:verb">
8141                                         <ref name="nonNegativeInteger"/>
8142                                 </attribute>
8143                         </optional>
8144                 </interleave>
8145         </define>
8146         <define name="presentation-decls">
8147                 <zeroOrMore>
8148                         <ref name="presentation-decl"/>
8149                 </zeroOrMore>
8150         </define>
8151         <define name="presentation-decl">
8152                 <choice>
8153                         <element name="presentation:header-decl">
8154                                 <ref name="presentation-header-decl-attlist"/>
8155                                 <text/>
8156                         </element>
8157                         <element name="presentation:footer-decl">
8158                                 <ref name="presentation-footer-decl-attlist"/>
8159                                 <text/>
8160                         </element>
8161                         <element name="presentation:date-time-decl">
8162                                 <ref name="presentation-date-time-decl-attlist"/>
8163                                 <text/>
8164                         </element>
8165                 </choice>
8166         </define>
8167         <define name="presentation-header-decl-attlist">
8168                 <attribute name="presentation:name">
8169                         <ref name="string"/>
8170                 </attribute>
8171         </define>
8172         <define name="presentation-footer-decl-attlist">
8173                 <attribute name="presentation:name">
8174                         <ref name="string"/>
8175                 </attribute>
8176         </define>
8177         <define name="presentation-date-time-decl-attlist">
8178                 <interleave>
8179                         <attribute name="presentation:name">
8180                                 <ref name="string"/>
8181                         </attribute>
8182                         <attribute name="presentation:source">
8183                                 <choice>
8184                                         <value>fixed</value>
8185                                         <value>current-date</value>
8186                                 </choice>
8187                         </attribute>
8188                         <optional>
8189                                 <attribute name="style:data-style-name">
8190                                         <ref name="styleNameRef"/>
8191                                 </attribute>
8192                         </optional>
8193                 </interleave>
8194         </define>
8195         <define name="presentation-settings">
8196                 <optional>
8197                         <element name="presentation:settings">
8198                                 <ref name="presentation-settings-attlist"/>
8199                                 <zeroOrMore>
8200                                         <ref name="presentation-show"/>
8201                                 </zeroOrMore>
8202                         </element>
8203                 </optional>
8204         </define>
8205         <define name="presentation-settings-attlist">
8206                 <interleave>
8207                         <optional>
8208                                 <attribute name="presentation:start-page">
8209                                         <ref name="string"/>
8210                                 </attribute>
8211                         </optional>
8212                         <optional>
8213                                 <attribute name="presentation:show">
8214                                         <ref name="string"/>
8215                                 </attribute>
8216                         </optional>
8217                         <optional>
8218                                 <attribute name="presentation:full-screen">
8219                                         <ref name="boolean"/>
8220                                 </attribute>
8221                         </optional>
8222                         <optional>
8223                                 <attribute name="presentation:endless">
8224                                         <ref name="boolean"/>
8225                                 </attribute>
8226                         </optional>
8227                         <optional>
8228                                 <attribute name="presentation:pause">
8229                                         <ref name="duration"/>
8230                                 </attribute>
8231                         </optional>
8232                         <optional>
8233                                 <attribute name="presentation:show-logo">
8234                                         <ref name="boolean"/>
8235                                 </attribute>
8236                         </optional>
8237                         <optional>
8238                                 <attribute name="presentation:force-manual">
8239                                         <ref name="boolean"/>
8240                                 </attribute>
8241                         </optional>
8242                         <optional>
8243                                 <attribute name="presentation:mouse-visible">
8244                                         <ref name="boolean"/>
8245                                 </attribute>
8246                         </optional>
8247                         <optional>
8248                                 <attribute name="presentation:mouse-as-pen">
8249                                         <ref name="boolean"/>
8250                                 </attribute>
8251                         </optional>
8252                         <optional>
8253                                 <attribute name="presentation:start-with-navigator">
8254                                         <ref name="boolean"/>
8255                                 </attribute>
8256                         </optional>
8257                         <optional>
8258                                 <attribute name="presentation:animations">
8259                                         <choice>
8260                                                 <value>enabled</value>
8261                                                 <value>disabled</value>
8262                                         </choice>
8263                                 </attribute>
8264                         </optional>
8265                         <optional>
8266                                 <attribute name="presentation:transition-on-click">
8267                                         <choice>
8268                                                 <value>enabled</value>
8269                                                 <value>disabled</value>
8270                                         </choice>
8271                                 </attribute>
8272                         </optional>
8273                         <optional>
8274                                 <attribute name="presentation:stay-on-top">
8275                                         <ref name="boolean"/>
8276                                 </attribute>
8277                         </optional>
8278                         <optional>
8279                                 <attribute name="presentation:show-end-of-presentation-slide">
8280                                         <ref name="boolean"/>
8281                                 </attribute>
8282                         </optional>
8283                 </interleave>
8284         </define>
8285         <define name="presentation-show">
8286                 <element name="presentation:show">
8287                         <ref name="presentation-show-attlist"/>
8288                         <empty/>
8289                 </element>
8290         </define>
8291         <define name="presentation-show-attlist">
8292                 <interleave>
8293                         <attribute name="presentation:name">
8294                                 <ref name="string"/>
8295                         </attribute>
8296                         <attribute name="presentation:pages">
8297                                 <ref name="string"/>
8298                         </attribute>
8299                 </interleave>
8300         </define>
8301         <define name="chart-chart">
8302                 <element name="chart:chart">
8303                         <ref name="chart-chart-attlist"/>
8304                         <optional>
8305                                 <ref name="chart-title"/>
8306                         </optional>
8307                         <optional>
8308                                 <ref name="chart-subtitle"/>
8309                         </optional>
8310                         <optional>
8311                                 <ref name="chart-footer"/>
8312                         </optional>
8313                         <optional>
8314                                 <ref name="chart-legend"/>
8315                         </optional>
8316                         <ref name="chart-plot-area"/>
8317                         <optional>
8318                                 <ref name="table-table"/>
8319                         </optional>
8320                 </element>
8321         </define>
8322         <define name="chart-chart-attlist">
8323                 <interleave>
8324                         <attribute name="chart:class">
8325                                 <ref name="namespacedToken"/>
8326                         </attribute>
8327                         <ref name="common-draw-size-attlist"/>
8328                         <optional>
8329                                 <attribute name="chart:column-mapping">
8330                                         <ref name="string"/>
8331                                 </attribute>
8332                         </optional>
8333                         <optional>
8334                                 <attribute name="chart:row-mapping">
8335                                         <ref name="string"/>
8336                                 </attribute>
8337                         </optional>
8338                         <optional>
8339                                 <attribute name="chart:style-name">
8340                                         <ref name="styleNameRef"/>
8341                                 </attribute>
8342                         </optional>
8343                         <optional>
8344                                 <group>
8345                                         <attribute name="xlink:type">
8346                                                 <value>simple</value>
8347                                         </attribute>
8348                                         <attribute name="xlink:href">
8349                                                 <ref name="anyIRI"/>
8350                                         </attribute>
8351                                 </group>
8352                         </optional>
8353                         <optional>
8354                                 <ref name="xml-id"/>
8355                         </optional>
8356                 </interleave>
8357         </define>
8358         <define name="chart-title">
8359                 <element name="chart:title">
8360                         <ref name="chart-title-attlist"/>
8361                         <optional>
8362                                 <ref name="text-p"/>
8363                         </optional>
8364                 </element>
8365         </define>
8366         <define name="chart-title-attlist">
8367                 <interleave>
8368                         <optional>
8369                                 <attribute name="table:cell-range">
8370                                         <ref name="cellRangeAddressList"/>
8371                                 </attribute>
8372                         </optional>
8373                         <ref name="common-draw-position-attlist"/>
8374                         <optional>
8375                                 <attribute name="chart:style-name">
8376                                         <ref name="styleNameRef"/>
8377                                 </attribute>
8378                         </optional>
8379                 </interleave>
8380         </define>
8381         <define name="chart-subtitle">
8382                 <element name="chart:subtitle">
8383                         <ref name="chart-title-attlist"/>
8384                         <optional>
8385                                 <ref name="text-p"/>
8386                         </optional>
8387                 </element>
8388         </define>
8389         <define name="chart-footer">
8390                 <element name="chart:footer">
8391                         <ref name="chart-title-attlist"/>
8392                         <optional>
8393                                 <ref name="text-p"/>
8394                         </optional>
8395                 </element>
8396         </define>
8397         <define name="chart-legend">
8398                 <element name="chart:legend">
8399                         <ref name="chart-legend-attlist"/>
8400                         <optional>
8401                                 <ref name="text-p"/>
8402                         </optional>
8403                 </element>
8404         </define>
8405         <define name="chart-legend-attlist">
8406                 <interleave>
8407                         <choice>
8408                                 <group>
8409                                         <attribute name="chart:legend-position">
8410                                                 <choice>
8411                                                         <value>start</value>
8412                                                         <value>end</value>
8413                                                         <value>top</value>
8414                                                         <value>bottom</value>
8415                                                 </choice>
8416                                         </attribute>
8417                                         <optional>
8418                                                 <attribute name="chart:legend-align">
8419                                                         <choice>
8420                                                                 <value>start</value>
8421                                                                 <value>center</value>
8422                                                                 <value>end</value>
8423                                                         </choice>
8424                                                 </attribute>
8425                                         </optional>
8426                                 </group>
8427                                 <attribute name="chart:legend-position">
8428                                         <choice>
8429                                                 <value>top-start</value>
8430                                                 <value>bottom-start</value>
8431                                                 <value>top-end</value>
8432                                                 <value>bottom-end</value>
8433                                         </choice>
8434                                 </attribute>
8435                                 <empty/>
8436                         </choice>
8437                         <ref name="common-draw-position-attlist"/>
8438                         <choice>
8439                                 <attribute name="style:legend-expansion">
8440                                         <choice>
8441                                                 <value>wide</value>
8442                                                 <value>high</value>
8443                                                 <value>balanced</value>
8444                                         </choice>
8445                                 </attribute>
8446                                 <group>
8447                                         <attribute name="style:legend-expansion">
8448                                                 <value>custom</value>
8449                                         </attribute>
8450                                         <attribute name="style:legend-expansion-aspect-ratio">
8451                                                 <ref name="double"/>
8452                                         </attribute>
8453                                 </group>
8454                                 <empty/>
8455                         </choice>
8456                         <optional>
8457                                 <attribute name="chart:style-name">
8458                                         <ref name="styleNameRef"/>
8459                                 </attribute>
8460                         </optional>
8461                 </interleave>
8462         </define>
8463         <define name="chart-plot-area">
8464                 <element name="chart:plot-area">
8465                         <ref name="chart-plot-area-attlist"/>
8466                         <zeroOrMore>
8467                                 <ref name="dr3d-light"/>
8468                         </zeroOrMore>
8469                         <zeroOrMore>
8470                                 <ref name="chart-axis"/>
8471                         </zeroOrMore>
8472                         <zeroOrMore>
8473                                 <ref name="chart-series"/>
8474                         </zeroOrMore>
8475                         <optional>
8476                                 <ref name="chart-stock-gain-marker"/>
8477                         </optional>
8478                         <optional>
8479                                 <ref name="chart-stock-loss-marker"/>
8480                         </optional>
8481                         <optional>
8482                                 <ref name="chart-stock-range-line"/>
8483                         </optional>
8484                         <optional>
8485                                 <ref name="chart-wall"/>
8486                         </optional>
8487                         <optional>
8488                                 <ref name="chart-floor"/>
8489                         </optional>
8490                 </element>
8491         </define>
8492         <define name="chart-plot-area-attlist">
8493                 <interleave>
8494                         <ref name="common-draw-position-attlist"/>
8495                         <ref name="common-draw-size-attlist"/>
8496                         <optional>
8497                                 <attribute name="chart:style-name">
8498                                         <ref name="styleNameRef"/>
8499                                 </attribute>
8500                         </optional>
8501                         <optional>
8502                                 <attribute name="table:cell-range-address">
8503                                         <ref name="cellRangeAddressList"/>
8504                                 </attribute>
8505                         </optional>
8506                         <optional>
8507                                 <attribute name="chart:data-source-has-labels">
8508                                         <choice>
8509                                                 <value>none</value>
8510                                                 <value>row</value>
8511                                                 <value>column</value>
8512                                                 <value>both</value>
8513                                         </choice>
8514                                 </attribute>
8515                         </optional>
8516                         <ref name="dr3d-scene-attlist"/>
8517                         <ref name="common-dr3d-transform-attlist"/>
8518                         <optional>
8519                                 <ref name="xml-id"/>
8520                         </optional>
8521                 </interleave>
8522         </define>
8523         <define name="chart-wall">
8524                 <element name="chart:wall">
8525                         <ref name="chart-wall-attlist"/>
8526                         <empty/>
8527                 </element>
8528         </define>
8529         <define name="chart-wall-attlist">
8530                 <interleave>
8531                         <optional>
8532                                 <attribute name="svg:width">
8533                                         <ref name="length"/>
8534                                 </attribute>
8535                         </optional>
8536                         <optional>
8537                                 <attribute name="chart:style-name">
8538                                         <ref name="styleNameRef"/>
8539                                 </attribute>
8540                         </optional>
8541                 </interleave>
8542         </define>
8543         <define name="chart-floor">
8544                 <element name="chart:floor">
8545                         <ref name="chart-floor-attlist"/>
8546                         <empty/>
8547                 </element>
8548         </define>
8549         <define name="chart-floor-attlist">
8550                 <interleave>
8551                         <optional>
8552                                 <attribute name="svg:width">
8553                                         <ref name="length"/>
8554                                 </attribute>
8555                         </optional>
8556                         <optional>
8557                                 <attribute name="chart:style-name">
8558                                         <ref name="styleNameRef"/>
8559                                 </attribute>
8560                         </optional>
8561                 </interleave>
8562         </define>
8563         <define name="chart-axis">
8564                 <element name="chart:axis">
8565                         <ref name="chart-axis-attlist"/>
8566                         <optional>
8567                                 <ref name="chart-title"/>
8568                         </optional>
8569                         <optional>
8570                                 <ref name="chart-categories"/>
8571                         </optional>
8572                         <zeroOrMore>
8573                                 <ref name="chart-grid"/>
8574                         </zeroOrMore>
8575                 </element>
8576         </define>
8577         <define name="chart-axis-attlist">
8578                 <interleave>
8579                         <attribute name="chart:dimension">
8580                                 <ref name="chart-dimension"/>
8581                         </attribute>
8582                         <optional>
8583                                 <attribute name="chart:name">
8584                                         <ref name="string"/>
8585                                 </attribute>
8586                         </optional>
8587                         <optional>
8588                                 <attribute name="chart:style-name">
8589                                         <ref name="styleNameRef"/>
8590                                 </attribute>
8591                         </optional>
8592                 </interleave>
8593         </define>
8594         <define name="chart-dimension">
8595                 <choice>
8596                         <value>x</value>
8597                         <value>y</value>
8598                         <value>z</value>
8599                 </choice>
8600         </define>
8601         <define name="chart-categories">
8602                 <element name="chart:categories">
8603                         <optional>
8604                                 <attribute name="table:cell-range-address">
8605                                         <ref name="cellRangeAddressList"/>
8606                                 </attribute>
8607                         </optional>
8608                 </element>
8609         </define>
8610         <define name="chart-grid">
8611                 <element name="chart:grid">
8612                         <ref name="chart-grid-attlist"/>
8613                 </element>
8614         </define>
8615         <define name="chart-grid-attlist">
8616                 <interleave>
8617                         <optional>
8618                                 <attribute name="chart:class">
8619                                         <choice>
8620                                                 <value>major</value>
8621                                                 <value>minor</value>
8622                                         </choice>
8623                                 </attribute>
8624                         </optional>
8625                         <optional>
8626                                 <attribute name="chart:style-name">
8627                                         <ref name="styleNameRef"/>
8628                                 </attribute>
8629                         </optional>
8630                 </interleave>
8631         </define>
8632         <define name="chart-series">
8633                 <element name="chart:series">
8634                         <ref name="chart-series-attlist"/>
8635                         <zeroOrMore>
8636                                 <ref name="chart-domain"/>
8637                         </zeroOrMore>
8638                         <optional>
8639                                 <ref name="chart-mean-value"/>
8640                         </optional>
8641                         <zeroOrMore>
8642                                 <ref name="chart-regression-curve"/>
8643                         </zeroOrMore>
8644                         <zeroOrMore>
8645                                 <ref name="chart-error-indicator"/>
8646                         </zeroOrMore>
8647                         <zeroOrMore>
8648                                 <ref name="chart-data-point"/>
8649                         </zeroOrMore>
8650                         <optional>
8651                                 <ref name="chart-data-label"/>
8652                         </optional>
8653                 </element>
8654         </define>
8655         <define name="chart-series-attlist">
8656                 <interleave>
8657                         <optional>
8658                                 <attribute name="chart:values-cell-range-address">
8659                                         <ref name="cellRangeAddressList"/>
8660                                 </attribute>
8661                         </optional>
8662                         <optional>
8663                                 <attribute name="chart:label-cell-address">
8664                                         <ref name="cellRangeAddressList"/>
8665                                 </attribute>
8666                         </optional>
8667                         <optional>
8668                                 <attribute name="chart:class">
8669                                         <ref name="namespacedToken"/>
8670                                 </attribute>
8671                         </optional>
8672                         <optional>
8673                                 <attribute name="chart:attached-axis">
8674                                         <ref name="string"/>
8675                                 </attribute>
8676                         </optional>
8677                         <optional>
8678                                 <attribute name="chart:style-name">
8679                                         <ref name="styleNameRef"/>
8680                                 </attribute>
8681                         </optional>
8682                         <optional>
8683                                 <ref name="xml-id"/>
8684                         </optional>
8685                 </interleave>
8686         </define>
8687         <define name="chart-domain">
8688                 <element name="chart:domain">
8689                         <optional>
8690                                 <attribute name="table:cell-range-address">
8691                                         <ref name="cellRangeAddressList"/>
8692                                 </attribute>
8693                         </optional>
8694                 </element>
8695         </define>
8696         <define name="chart-data-point">
8697                 <element name="chart:data-point">
8698                         <ref name="chart-data-point-attlist"/>
8699                         <optional>
8700                                 <ref name="chart-data-label"/>
8701                         </optional>
8702                 </element>
8703         </define>
8704         <define name="chart-data-point-attlist">
8705                 <interleave>
8706                         <optional>
8707                                 <attribute name="chart:repeated">
8708                                         <ref name="positiveInteger"/>
8709                                 </attribute>
8710                         </optional>
8711                         <optional>
8712                                 <attribute name="chart:style-name">
8713                                         <ref name="styleNameRef"/>
8714                                 </attribute>
8715                         </optional>
8716                         <optional>
8717                                 <ref name="xml-id"/>
8718                         </optional>
8719                 </interleave>
8720         </define>
8721         <define name="chart-data-label">
8722                 <element name="chart:data-label">
8723                         <ref name="chart-data-label-attlist"/>
8724                         <optional>
8725                                 <ref name="text-p"/>
8726                         </optional>
8727                 </element>
8728         </define>
8729         <define name="chart-data-label-attlist">
8730                 <interleave>
8731                         <ref name="common-draw-position-attlist"/>
8732                         <optional>
8733                                 <attribute name="chart:style-name">
8734                                         <ref name="styleNameRef"/>
8735                                 </attribute>
8736                         </optional>
8737                 </interleave>
8738         </define>
8739         <define name="chart-mean-value">
8740                 <element name="chart:mean-value">
8741                         <ref name="chart-mean-value-attlist"/>
8742                         <empty/>
8743                 </element>
8744         </define>
8745         <define name="chart-mean-value-attlist">
8746                 <optional>
8747                         <attribute name="chart:style-name">
8748                                 <ref name="styleNameRef"/>
8749                         </attribute>
8750                 </optional>
8751         </define>
8752         <define name="chart-error-indicator">
8753                 <element name="chart:error-indicator">
8754                         <ref name="chart-error-indicator-attlist"/>
8755                         <empty/>
8756                 </element>
8757         </define>
8758         <define name="chart-error-indicator-attlist">
8759                 <interleave>
8760                         <optional>
8761                                 <attribute name="chart:style-name">
8762                                         <ref name="styleNameRef"/>
8763                                 </attribute>
8764                         </optional>
8765                         <attribute name="chart:dimension">
8766                                 <ref name="chart-dimension"/>
8767                         </attribute>
8768                 </interleave>
8769         </define>
8770         <define name="chart-regression-curve">
8771                 <element name="chart:regression-curve">
8772                         <ref name="chart-regression-curve-attlist"/>
8773                         <optional>
8774                                 <ref name="chart-equation"/>
8775                         </optional>
8776                 </element>
8777         </define>
8778         <define name="chart-regression-curve-attlist">
8779                 <optional>
8780                         <attribute name="chart:style-name">
8781                                 <ref name="styleNameRef"/>
8782                         </attribute>
8783                 </optional>
8784         </define>
8785         <define name="chart-equation">
8786                 <element name="chart:equation">
8787                         <ref name="chart-equation-attlist"/>
8788                         <optional>
8789                                 <ref name="text-p"/>
8790                         </optional>
8791                 </element>
8792         </define>
8793         <define name="chart-equation-attlist">
8794                 <interleave>
8795                         <optional>
8796                                 <attribute name="chart:automatic-content">
8797                                         <ref name="boolean"/>
8798                                 </attribute>
8799                         </optional>
8800                         <optional>
8801                                 <attribute name="chart:display-r-square">
8802                                         <ref name="boolean"/>
8803                                 </attribute>
8804                         </optional>
8805                         <optional>
8806                                 <attribute name="chart:display-equation">
8807                                         <ref name="boolean"/>
8808                                 </attribute>
8809                         </optional>
8810                         <ref name="common-draw-position-attlist"/>
8811                         <optional>
8812                                 <attribute name="chart:style-name">
8813                                         <ref name="styleNameRef"/>
8814                                 </attribute>
8815                         </optional>
8816                 </interleave>
8817         </define>
8818         <define name="chart-stock-gain-marker">
8819                 <element name="chart:stock-gain-marker">
8820                         <ref name="common-stock-marker-attlist"/>
8821                 </element>
8822         </define>
8823         <define name="chart-stock-loss-marker">
8824                 <element name="chart:stock-loss-marker">
8825                         <ref name="common-stock-marker-attlist"/>
8826                 </element>
8827         </define>
8828         <define name="chart-stock-range-line">
8829                 <element name="chart:stock-range-line">
8830                         <ref name="common-stock-marker-attlist"/>
8831                 </element>
8832         </define>
8833         <define name="common-stock-marker-attlist">
8834                 <optional>
8835                         <attribute name="chart:style-name">
8836                                 <ref name="styleNameRef"/>
8837                         </attribute>
8838                 </optional>
8839         </define>
8840         <define name="office-database">
8841                 <element name="office:database">
8842                         <ref name="db-data-source"/>
8843                         <optional>
8844                                 <ref name="db-forms"/>
8845                         </optional>
8846                         <optional>
8847                                 <ref name="db-reports"/>
8848                         </optional>
8849                         <optional>
8850                                 <ref name="db-queries"/>
8851                         </optional>
8852                         <optional>
8853                                 <ref name="db-table-presentations"/>
8854                         </optional>
8855                         <optional>
8856                                 <ref name="db-schema-definition"/>
8857                         </optional>
8858                 </element>
8859         </define>
8860         <define name="db-data-source">
8861                 <element name="db:data-source">
8862                         <ref name="db-data-source-attlist"/>
8863                         <ref name="db-connection-data"/>
8864                         <optional>
8865                                 <ref name="db-driver-settings"/>
8866                         </optional>
8867                         <optional>
8868                                 <ref name="db-application-connection-settings"/>
8869                         </optional>
8870                 </element>
8871         </define>
8872         <define name="db-data-source-attlist">
8873                 <empty/>
8874         </define>
8875         <define name="db-connection-data">
8876                 <element name="db:connection-data">
8877                         <ref name="db-connection-data-attlist"/>
8878                         <choice>
8879                                 <ref name="db-database-description"/>
8880                                 <ref name="db-connection-resource"/>
8881                         </choice>
8882                         <optional>
8883                                 <ref name="db-login"/>
8884                         </optional>
8885                 </element>
8886         </define>
8887         <define name="db-connection-data-attlist">
8888                 <empty/>
8889         </define>
8890         <define name="db-database-description">
8891                 <element name="db:database-description">
8892                         <ref name="db-database-description-attlist"/>
8893                         <choice>
8894                                 <ref name="db-file-based-database"/>
8895                                 <ref name="db-server-database"/>
8896                         </choice>
8897                 </element>
8898         </define>
8899         <define name="db-database-description-attlist">
8900                 <empty/>
8901         </define>
8902         <define name="db-file-based-database">
8903                 <element name="db:file-based-database">
8904                         <ref name="db-file-based-database-attlist"/>
8905                 </element>
8906         </define>
8907         <define name="db-file-based-database-attlist">
8908                 <interleave>
8909                         <attribute name="xlink:type">
8910                                 <value>simple</value>
8911                         </attribute>
8912                         <attribute name="xlink:href">
8913                                 <ref name="anyIRI"/>
8914                         </attribute>
8915                         <attribute name="db:media-type">
8916                                 <ref name="string"/>
8917                         </attribute>
8918                         <optional>
8919                                 <attribute name="db:extension">
8920                                         <ref name="string"/>
8921                                 </attribute>
8922                         </optional>
8923                 </interleave>
8924         </define>
8925         <define name="db-server-database">
8926                 <element name="db:server-database">
8927                         <ref name="db-server-database-attlist"/>
8928                         <empty/>
8929                 </element>
8930         </define>
8931         <define name="db-server-database-attlist">
8932                 <interleave>
8933                         <attribute name="db:type">
8934                                 <ref name="namespacedToken"/>
8935                         </attribute>
8936                         <choice>
8937                                 <ref name="db-host-and-port"/>
8938                                 <ref name="db-local-socket-name"/>
8939                         </choice>
8940                         <optional>
8941                                 <attribute name="db:database-name">
8942                                         <ref name="string"/>
8943                                 </attribute>
8944                         </optional>
8945                 </interleave>
8946         </define>
8947         <define name="db-host-and-port">
8948                 <attribute name="db:hostname">
8949                         <ref name="string"/>
8950                 </attribute>
8951                 <optional>
8952                         <attribute name="db:port">
8953                                 <ref name="positiveInteger"/>
8954                         </attribute>
8955                 </optional>
8956         </define>
8957         <define name="db-local-socket-name">
8958                 <optional>
8959                         <attribute name="db:local-socket">
8960                                 <ref name="string"/>
8961                         </attribute>
8962                 </optional>
8963         </define>
8964         <define name="db-connection-resource">
8965                 <element name="db:connection-resource">
8966                         <ref name="db-connection-resource-attlist"/>
8967                         <empty/>
8968                 </element>
8969         </define>
8970         <define name="db-connection-resource-attlist">
8971                 <attribute name="xlink:type">
8972                         <value>simple</value>
8973                 </attribute>
8974                 <attribute name="xlink:href">
8975                         <ref name="anyIRI"/>
8976                 </attribute>
8977                 <optional>
8978                         <attribute name="xlink:show">
8979                                 <value>none</value>
8980                         </attribute>
8981                 </optional>
8982                 <optional>
8983                         <attribute name="xlink:actuate">
8984                                 <value>onRequest</value>
8985                         </attribute>
8986                 </optional>
8987         </define>
8988         <define name="db-login">
8989                 <element name="db:login">
8990                         <ref name="db-login-attlist"/>
8991                         <empty/>
8992                 </element>
8993         </define>
8994         <define name="db-login-attlist">
8995                 <interleave>
8996                         <optional>
8997                                 <choice>
8998                                         <attribute name="db:user-name">
8999                                                 <ref name="string"/>
9000                                         </attribute>
9001                                         <attribute name="db:use-system-user">
9002                                                 <ref name="boolean"/>
9003                                         </attribute>
9004                                 </choice>
9005                         </optional>
9006                         <optional>
9007                                 <attribute name="db:is-password-required">
9008                                         <ref name="boolean"/>
9009                                 </attribute>
9010                         </optional>
9011                         <optional>
9012                                 <attribute name="db:login-timeout">
9013                                         <ref name="positiveInteger"/>
9014                                 </attribute>
9015                         </optional>
9016                 </interleave>
9017         </define>
9018         <define name="db-driver-settings">
9019                 <element name="db:driver-settings">
9020                         <ref name="db-driver-settings-attlist"/>
9021                         <optional>
9022                                 <ref name="db-auto-increment"/>
9023                         </optional>
9024                         <optional>
9025                                 <ref name="db-delimiter"/>
9026                         </optional>
9027                         <optional>
9028                                 <ref name="db-character-set"/>
9029                         </optional>
9030                         <optional>
9031                                 <ref name="db-table-settings"/>
9032                         </optional>
9033                 </element>
9034         </define>
9035         <define name="db-driver-settings-attlist">
9036                 <interleave>
9037                         <ref name="db-show-deleted"/>
9038                         <optional>
9039                                 <attribute name="db:system-driver-settings">
9040                                         <ref name="string"/>
9041                                 </attribute>
9042                         </optional>
9043                         <optional>
9044                                 <attribute name="db:base-dn">
9045                                         <ref name="string"/>
9046                                 </attribute>
9047                         </optional>
9048                         <ref name="db-is-first-row-header-line"/>
9049                         <optional>
9050                                 <attribute name="db:parameter-name-substitution">
9051                                         <ref name="boolean"/>
9052                                 </attribute>
9053                         </optional>
9054                 </interleave>
9055         </define>
9056         <define name="db-show-deleted">
9057                 <optional>
9058                         <attribute name="db:show-deleted">
9059                                 <ref name="boolean"/>
9060                         </attribute>
9061                 </optional>
9062         </define>
9063         <define name="db-is-first-row-header-line">
9064                 <optional>
9065                         <attribute name="db:is-first-row-header-line">
9066                                 <ref name="boolean"/>
9067                         </attribute>
9068                 </optional>
9069         </define>
9070         <define name="db-auto-increment">
9071                 <element name="db:auto-increment">
9072                         <ref name="db-auto-increment-attlist"/>
9073                         <empty/>
9074                 </element>
9075         </define>
9076         <define name="db-auto-increment-attlist">
9077                 <interleave>
9078                         <optional>
9079                                 <attribute name="db:additional-column-statement">
9080                                         <ref name="string"/>
9081                                 </attribute>
9082                         </optional>
9083                         <optional>
9084                                 <attribute name="db:row-retrieving-statement">
9085                                         <ref name="string"/>
9086                                 </attribute>
9087                         </optional>
9088                 </interleave>
9089         </define>
9090         <define name="db-delimiter">
9091                 <element name="db:delimiter">
9092                         <ref name="db-delimiter-attlist"/>
9093                         <empty/>
9094                 </element>
9095         </define>
9096         <define name="db-delimiter-attlist">
9097                 <interleave>
9098                         <optional>
9099                                 <attribute name="db:field">
9100                                         <ref name="string"/>
9101                                 </attribute>
9102                         </optional>
9103                         <optional>
9104                                 <attribute name="db:string">
9105                                         <ref name="string"/>
9106                                 </attribute>
9107                         </optional>
9108                         <optional>
9109                                 <attribute name="db:decimal">
9110                                         <ref name="string"/>
9111                                 </attribute>
9112                         </optional>
9113                         <optional>
9114                                 <attribute name="db:thousand">
9115                                         <ref name="string"/>
9116                                 </attribute>
9117                         </optional>
9118                 </interleave>
9119         </define>
9120         <define name="db-character-set">
9121                 <element name="db:character-set">
9122                         <ref name="db-character-set-attlist"/>
9123                         <empty/>
9124                 </element>
9125         </define>
9126         <define name="db-character-set-attlist">
9127                 <optional>
9128                         <attribute name="db:encoding">
9129                                 <ref name="textEncoding"/>
9130                         </attribute>
9131                 </optional>
9132         </define>
9133         <define name="db-table-settings">
9134                 <element name="db:table-settings">
9135                         <zeroOrMore>
9136                                 <ref name="db-table-setting"/>
9137                         </zeroOrMore>
9138                 </element>
9139         </define>
9140         <define name="db-table-setting">
9141                 <element name="db:table-setting">
9142                         <ref name="db-table-setting-attlist"/>
9143                         <optional>
9144                                 <ref name="db-delimiter"/>
9145                         </optional>
9146                         <optional>
9147                                 <ref name="db-character-set"/>
9148                         </optional>
9149                         <empty/>
9150                 </element>
9151         </define>
9152         <define name="db-table-setting-attlist">
9153                 <ref name="db-is-first-row-header-line"/>
9154                 <ref name="db-show-deleted"/>
9155         </define>
9156         <define name="db-application-connection-settings">
9157                 <element name="db:application-connection-settings">
9158                         <ref name="db-application-connection-settings-attlist"/>
9159                         <optional>
9160                                 <ref name="db-table-filter"/>
9161                         </optional>
9162                         <optional>
9163                                 <ref name="db-table-type-filter"/>
9164                         </optional>
9165                         <optional>
9166                                 <ref name="db-data-source-settings"/>
9167                         </optional>
9168                 </element>
9169         </define>
9170         <define name="db-application-connection-settings-attlist">
9171                 <interleave>
9172                         <optional>
9173                                 <attribute name="db:is-table-name-length-limited">
9174                                         <ref name="boolean"/>
9175                                 </attribute>
9176                         </optional>
9177                         <optional>
9178                                 <attribute name="db:enable-sql92-check">
9179                                         <ref name="boolean"/>
9180                                 </attribute>
9181                         </optional>
9182                         <optional>
9183                                 <attribute name="db:append-table-alias-name">
9184                                         <ref name="boolean"/>
9185                                 </attribute>
9186                         </optional>
9187                         <optional>
9188                                 <attribute name="db:ignore-driver-privileges">
9189                                         <ref name="boolean"/>
9190                                 </attribute>
9191                         </optional>
9192                         <optional>
9193                                 <attribute name="db:boolean-comparison-mode">
9194                                         <choice>
9195                                                 <value>equal-integer</value>
9196                                                 <value>is-boolean</value>
9197                                                 <value>equal-boolean</value>
9198                                                 <value>equal-use-only-zero</value>
9199                                         </choice>
9200                                 </attribute>
9201                         </optional>
9202                         <optional>
9203                                 <attribute name="db:use-catalog">
9204                                         <ref name="boolean"/>
9205                                 </attribute>
9206                         </optional>
9207                         <optional>
9208                                 <attribute name="db:max-row-count">
9209                                         <ref name="integer"/>
9210                                 </attribute>
9211                         </optional>
9212                         <optional>
9213                                 <attribute name="db:suppress-version-columns">
9214                                         <ref name="boolean"/>
9215                                 </attribute>
9216                         </optional>
9217                 </interleave>
9218         </define>
9219         <define name="db-table-filter">
9220                 <element name="db:table-filter">
9221                         <ref name="db-table-filter-attlist"/>
9222                         <optional>
9223                                 <ref name="db-table-include-filter"/>
9224                         </optional>
9225                         <optional>
9226                                 <ref name="db-table-exclude-filter"/>
9227                         </optional>
9228                 </element>
9229         </define>
9230         <define name="db-table-filter-attlist">
9231                 <empty/>
9232         </define>
9233         <define name="db-table-include-filter">
9234                 <element name="db:table-include-filter">
9235                         <ref name="db-table-include-filter-attlist"/>
9236                         <oneOrMore>
9237                                 <ref name="db-table-filter-pattern"/>
9238                         </oneOrMore>
9239                 </element>
9240         </define>
9241         <define name="db-table-include-filter-attlist">
9242                 <empty/>
9243         </define>
9244         <define name="db-table-exclude-filter">
9245                 <element name="db:table-exclude-filter">
9246                         <ref name="db-table-exclude-filter-attlist"/>
9247                         <oneOrMore>
9248                                 <ref name="db-table-filter-pattern"/>
9249                         </oneOrMore>
9250                 </element>
9251         </define>
9252         <define name="db-table-exclude-filter-attlist">
9253                 <empty/>
9254         </define>
9255         <define name="db-table-filter-pattern">
9256                 <element name="db:table-filter-pattern">
9257                         <ref name="db-table-filter-pattern-attlist"/>
9258                         <ref name="string"/>
9259                 </element>
9260         </define>
9261         <define name="db-table-filter-pattern-attlist">
9262                 <empty/>
9263         </define>
9264         <define name="db-table-type-filter">
9265                 <element name="db:table-type-filter">
9266                         <ref name="db-table-type-filter-attlist"/>
9267                         <zeroOrMore>
9268                                 <ref name="db-table-type"/>
9269                         </zeroOrMore>
9270                 </element>
9271         </define>
9272         <define name="db-table-type-filter-attlist">
9273                 <empty/>
9274         </define>
9275         <define name="db-table-type">
9276                 <element name="db:table-type">
9277                         <ref name="db-table-type-attlist"/>
9278                         <ref name="string"/>
9279                 </element>
9280         </define>
9281         <define name="db-table-type-attlist">
9282                 <empty/>
9283         </define>
9284         <define name="db-data-source-settings">
9285                 <element name="db:data-source-settings">
9286                         <ref name="db-data-source-settings-attlist"/>
9287                         <oneOrMore>
9288                                 <ref name="db-data-source-setting"/>
9289                         </oneOrMore>
9290                 </element>
9291         </define>
9292         <define name="db-data-source-settings-attlist">
9293                 <empty/>
9294         </define>
9295         <define name="db-data-source-setting">
9296                 <element name="db:data-source-setting">
9297                         <ref name="db-data-source-setting-attlist"/>
9298                         <oneOrMore>
9299                                 <ref name="db-data-source-setting-value"/>
9300                         </oneOrMore>
9301                 </element>
9302         </define>
9303         <define name="db-data-source-setting-attlist">
9304                 <interleave>
9305                         <optional>
9306                                 <attribute name="db:data-source-setting-is-list">
9307                                         <ref name="boolean"/>
9308                                 </attribute>
9309                         </optional>
9310                         <attribute name="db:data-source-setting-name">
9311                                 <ref name="string"/>
9312                         </attribute>
9313                         <attribute name="db:data-source-setting-type">
9314                                 <ref name="db-data-source-setting-types"/>
9315                         </attribute>
9316                 </interleave>
9317         </define>
9318         <define name="db-data-source-setting-types">
9319                 <choice>
9320                         <value>boolean</value>
9321                         <value>short</value>
9322                         <value>int</value>
9323                         <value>long</value>
9324                         <value>double</value>
9325                         <value>string</value>
9326                 </choice>
9327         </define>
9328         <define name="db-data-source-setting-value">
9329                 <element name="db:data-source-setting-value">
9330                         <ref name="db-data-source-setting-value-attlist"/>
9331                         <ref name="string"/>
9332                 </element>
9333         </define>
9334         <define name="db-data-source-setting-value-attlist">
9335                 <empty/>
9336         </define>
9337         <define name="db-forms">
9338                 <element name="db:forms">
9339                         <ref name="db-forms-attlist"/>
9340                         <zeroOrMore>
9341                                 <choice>
9342                                         <ref name="db-component"/>
9343                                         <ref name="db-component-collection"/>
9344                                 </choice>
9345                         </zeroOrMore>
9346                 </element>
9347         </define>
9348         <define name="db-forms-attlist">
9349                 <empty/>
9350         </define>
9351         <define name="db-reports">
9352                 <element name="db:reports">
9353                         <ref name="db-reports-attlist"/>
9354                         <zeroOrMore>
9355                                 <choice>
9356                                         <ref name="db-component"/>
9357                                         <ref name="db-component-collection"/>
9358                                 </choice>
9359                         </zeroOrMore>
9360                 </element>
9361         </define>
9362         <define name="db-reports-attlist">
9363                 <empty/>
9364         </define>
9365         <define name="db-component-collection">
9366                 <element name="db:component-collection">
9367                         <ref name="db-component-collection-attlist"/>
9368                         <ref name="common-db-object-name"/>
9369                         <ref name="common-db-object-title"/>
9370                         <ref name="common-db-object-description"/>
9371                         <zeroOrMore>
9372                                 <choice>
9373                                         <ref name="db-component"/>
9374                                         <ref name="db-component-collection"/>
9375                                 </choice>
9376                         </zeroOrMore>
9377                 </element>
9378         </define>
9379         <define name="db-component-collection-attlist">
9380                 <empty/>
9381         </define>
9382         <define name="db-component">
9383                 <element name="db:component">
9384                         <ref name="db-component-attlist"/>
9385                         <ref name="common-db-object-name"/>
9386                         <ref name="common-db-object-title"/>
9387                         <ref name="common-db-object-description"/>
9388                         <optional>
9389                                 <choice>
9390                                         <ref name="office-document"/>
9391                                         <ref name="math-math"/>
9392                                 </choice>
9393                         </optional>
9394                 </element>
9395         </define>
9396         <define name="db-component-attlist">
9397                 <interleave>
9398                         <optional>
9399                                 <attribute name="xlink:type">
9400                                         <value>simple</value>
9401                                 </attribute>
9402                                 <attribute name="xlink:href">
9403                                         <ref name="anyIRI"/>
9404                                 </attribute>
9405                                 <optional>
9406                                         <attribute name="xlink:show">
9407                                                 <value>none</value>
9408                                         </attribute>
9409                                 </optional>
9410                                 <optional>
9411                                         <attribute name="xlink:actuate">
9412                                                 <value>onRequest</value>
9413                                         </attribute>
9414                                 </optional>
9415                         </optional>
9416                         <optional>
9417                                 <attribute name="db:as-template">
9418                                         <ref name="boolean"/>
9419                                 </attribute>
9420                         </optional>
9421                 </interleave>
9422         </define>
9423         <define name="db-queries">
9424                 <element name="db:queries">
9425                         <ref name="db-queries-attlist"/>
9426                         <zeroOrMore>
9427                                 <choice>
9428                                         <ref name="db-query"/>
9429                                         <ref name="db-query-collection"/>
9430                                 </choice>
9431                         </zeroOrMore>
9432                 </element>
9433         </define>
9434         <define name="db-queries-attlist">
9435                 <empty/>
9436         </define>
9437         <define name="db-query-collection">
9438                 <element name="db:query-collection">
9439                         <ref name="db-query-collection-attlist"/>
9440                         <ref name="common-db-object-name"/>
9441                         <ref name="common-db-object-title"/>
9442                         <ref name="common-db-object-description"/>
9443                         <zeroOrMore>
9444                                 <choice>
9445                                         <ref name="db-query"/>
9446                                         <ref name="db-query-collection"/>
9447                                 </choice>
9448                         </zeroOrMore>
9449                 </element>
9450         </define>
9451         <define name="db-query-collection-attlist">
9452                 <empty/>
9453         </define>
9454         <define name="db-query">
9455                 <element name="db:query">
9456                         <ref name="db-query-attlist"/>
9457                         <ref name="common-db-object-name"/>
9458                         <ref name="common-db-object-title"/>
9459                         <ref name="common-db-object-description"/>
9460                         <ref name="common-db-table-style-name"/>
9461                         <optional>
9462                                 <ref name="db-order-statement"/>
9463                         </optional>
9464                         <optional>
9465                                 <ref name="db-filter-statement"/>
9466                         </optional>
9467                         <optional>
9468                                 <ref name="db-columns"/>
9469                         </optional>
9470                         <optional>
9471                                 <ref name="db-update-table"/>
9472                         </optional>
9473                 </element>
9474         </define>
9475         <define name="db-query-attlist">
9476                 <interleave>
9477                         <attribute name="db:command">
9478                                 <ref name="string"/>
9479                         </attribute>
9480                         <optional>
9481                                 <attribute name="db:escape-processing">
9482                                         <ref name="boolean"/>
9483                                 </attribute>
9484                         </optional>
9485                 </interleave>
9486         </define>
9487         <define name="db-order-statement">
9488                 <element name="db:order-statement">
9489                         <ref name="db-command"/>
9490                         <ref name="db-apply-command"/>
9491                         <empty/>
9492                 </element>
9493         </define>
9494         <define name="db-filter-statement">
9495                 <element name="db:filter-statement">
9496                         <ref name="db-command"/>
9497                         <ref name="db-apply-command"/>
9498                         <empty/>
9499                 </element>
9500         </define>
9501         <define name="db-update-table">
9502                 <element name="db:update-table">
9503                         <ref name="common-db-table-name-attlist"/>
9504                 </element>
9505         </define>
9506         <define name="db-table-presentations">
9507                 <element name="db:table-representations">
9508                         <ref name="db-table-presentations-attlist"/>
9509                         <zeroOrMore>
9510                                 <ref name="db-table-presentation"/>
9511                         </zeroOrMore>
9512                 </element>
9513         </define>
9514         <define name="db-table-presentations-attlist">
9515                 <empty/>
9516         </define>
9517         <define name="db-table-presentation">
9518                 <element name="db:table-representation">
9519                         <ref name="db-table-presentation-attlist"/>
9520                         <ref name="common-db-table-name-attlist"/>
9521                         <ref name="common-db-object-title"/>
9522                         <ref name="common-db-object-description"/>
9523                         <ref name="common-db-table-style-name"/>
9524                         <optional>
9525                                 <ref name="db-order-statement"/>
9526                         </optional>
9527                         <optional>
9528                                 <ref name="db-filter-statement"/>
9529                         </optional>
9530                         <optional>
9531                                 <ref name="db-columns"/>
9532                         </optional>
9533                 </element>
9534         </define>
9535         <define name="db-table-presentation-attlist">
9536                 <empty/>
9537         </define>
9538         <define name="db-columns">
9539                 <element name="db:columns">
9540                         <ref name="db-columns-attlist"/>
9541                         <oneOrMore>
9542                                 <ref name="db-column"/>
9543                         </oneOrMore>
9544                 </element>
9545         </define>
9546         <define name="db-columns-attlist">
9547                 <empty/>
9548         </define>
9549         <define name="db-column">
9550                 <element name="db:column">
9551                         <ref name="db-column-attlist"/>
9552                         <ref name="common-db-object-name"/>
9553                         <ref name="common-db-object-title"/>
9554                         <ref name="common-db-object-description"/>
9555                         <ref name="common-db-default-value"/>
9556                 </element>
9557         </define>
9558         <define name="db-column-attlist">
9559                 <interleave>
9560                         <optional>
9561                                 <attribute name="db:visible">
9562                                         <ref name="boolean"/>
9563                                 </attribute>
9564                         </optional>
9565         
9566                         <optional>
9567                                 <attribute name="db:style-name">
9568                                         <ref name="styleNameRef"/>
9569                                 </attribute>
9570                         </optional>
9571                         <optional>
9572                                 <attribute name="db:default-cell-style-name">
9573                                         <ref name="styleNameRef"/>
9574                                 </attribute>
9575                         </optional>
9576                 </interleave>
9577         </define>
9578         <define name="db-command">
9579                 <attribute name="db:command">
9580                         <ref name="string"/>
9581                 </attribute>
9582         </define>
9583         <define name="db-apply-command">
9584                 <optional>
9585                         <attribute name="db:apply-command">
9586                                 <ref name="boolean"/>
9587                         </attribute>
9588                 </optional>
9589         </define>
9590         <define name="common-db-table-name-attlist">
9591                 <interleave>
9592                         <attribute name="db:name">
9593                                 <ref name="string"/>
9594                         </attribute>
9595                         <optional>
9596                                 <attribute name="db:catalog-name">
9597                                         <ref name="string"/>
9598                                 </attribute>
9599                         </optional>
9600                         <optional>
9601                                 <attribute name="db:schema-name">
9602                                         <ref name="string"/>
9603                                 </attribute>
9604                         </optional>
9605                 </interleave>
9606         </define>
9607         <define name="common-db-object-name">
9608                 <attribute name="db:name">
9609                         <ref name="string"/>
9610                 </attribute>
9611         </define>
9612         <define name="common-db-object-title">
9613                 <optional>
9614                         <attribute name="db:title">
9615                                 <ref name="string"/>
9616                         </attribute>
9617                 </optional>
9618         </define>
9619         <define name="common-db-object-description">
9620                 <optional>
9621                         <attribute name="db:description">
9622                                 <ref name="string"/>
9623                         </attribute>
9624                 </optional>
9625         </define>
9626         <define name="common-db-table-style-name">
9627                 <interleave>
9628                         <optional>
9629                                 <attribute name="db:style-name">
9630                                         <ref name="styleNameRef"/>
9631                                 </attribute>
9632                         </optional>
9633                         <optional>
9634                                 <attribute name="db:default-row-style-name">
9635                                         <ref name="styleNameRef"/>
9636                                 </attribute>
9637                         </optional>
9638                 </interleave>
9639         </define>
9640         <define name="common-db-default-value">
9641                 <optional>
9642                         <ref name="common-value-and-type-attlist"/>
9643                 </optional>
9644         </define>
9645         <define name="db-schema-definition">
9646                 <element name="db:schema-definition">
9647                         <ref name="db-schema-definition-attlist"/>
9648                         <ref name="db-table-definitions"/>
9649                 </element>
9650         </define>
9651         <define name="db-schema-definition-attlist">
9652                 <empty/>
9653         </define>
9654         <define name="db-table-definitions">
9655                 <element name="db:table-definitions">
9656                         <ref name="db-table-definitions-attlist"/>
9657                         <zeroOrMore>
9658                                 <ref name="db-table-definition"/>
9659                         </zeroOrMore>
9660                 </element>
9661         </define>
9662         <define name="db-table-definitions-attlist">
9663                 <empty/>
9664         </define>
9665         <define name="db-table-definition">
9666                 <element name="db:table-definition">
9667                         <ref name="common-db-table-name-attlist"/>
9668                         <ref name="db-table-definition-attlist"/>
9669                         <ref name="db-column-definitions"/>
9670                         <optional>
9671                                 <ref name="db-keys"/>
9672                         </optional>
9673                         <optional>
9674                                 <ref name="db-indices"/>
9675                         </optional>
9676                 </element>
9677         </define>
9678         <define name="db-table-definition-attlist">
9679                 <optional>
9680                         <attribute name="db:type">
9681                                 <ref name="string"/>
9682                         </attribute>
9683                 </optional>
9684         </define>
9685         <define name="db-column-definitions">
9686                 <element name="db:column-definitions">
9687                         <ref name="db-column-definitions-attlist"/>
9688                         <oneOrMore>
9689                                 <ref name="db-column-definition"/>
9690                         </oneOrMore>
9691                 </element>
9692         </define>
9693         <define name="db-column-definitions-attlist">
9694                 <empty/>
9695         </define>
9696         <define name="db-column-definition">
9697                 <element name="db:column-definition">
9698                         <ref name="db-column-definition-attlist"/>
9699                         <ref name="common-db-default-value"/>
9700                 </element>
9701         </define>
9702         <define name="db-column-definition-attlist">
9703                 <interleave>
9704                         <attribute name="db:name">
9705                                 <ref name="string"/>
9706                         </attribute>
9707         
9708                         <optional>
9709                                 <attribute name="db:data-type">
9710                                         <ref name="db-data-types"/>
9711                                 </attribute>
9712                         </optional>
9713         
9714                         <optional>
9715                                 <attribute name="db:type-name">
9716                                         <ref name="string"/>
9717                                 </attribute>
9718                         </optional>
9719         
9720                         <optional>
9721                                 <attribute name="db:precision">
9722                                         <ref name="positiveInteger"/>
9723                                 </attribute>
9724                         </optional>
9725         
9726                         <optional>
9727                                 <attribute name="db:scale">
9728                                         <ref name="positiveInteger"/>
9729                                 </attribute>
9730                         </optional>
9731         
9732                         <optional>
9733                                 <attribute name="db:is-nullable">
9734                                         <choice>
9735                                                 <value>no-nulls</value>
9736                                                 <value>nullable</value>
9737                                         </choice>
9738                                 </attribute>
9739                         </optional>
9740         
9741                         <optional>
9742                                 <attribute name="db:is-empty-allowed">
9743                                         <ref name="boolean"/>
9744                                 </attribute>
9745                         </optional>
9746         
9747                         <optional>
9748                                 <attribute name="db:is-autoincrement">
9749                                         <ref name="boolean"/>
9750                                 </attribute>
9751                         </optional>
9752                 </interleave>
9753         </define>
9754         <define name="db-data-types">
9755                 <choice>
9756                         <value>bit</value>
9757                         <value>boolean</value>
9758                         <value>tinyint</value>
9759                         <value>smallint</value>
9760                         <value>integer</value>
9761                         <value>bigint</value>
9762                         <value>float</value>
9763                         <value>real</value>
9764                         <value>double</value>
9765                         <value>numeric</value>
9766                         <value>decimal</value>
9767                         <value>char</value>
9768                         <value>varchar</value>
9769                         <value>longvarchar</value>
9770                         <value>date</value>
9771                         <value>time</value>
9772                         <value>timestmp</value>
9773                         <value>binary</value>
9774                         <value>varbinary</value>
9775                         <value>longvarbinary</value>
9776                         <value>sqlnull</value>
9777                         <value>other</value>
9778                         <value>object</value>
9779                         <value>distinct</value>
9780                         <value>struct</value>
9781                         <value>array</value>
9782                         <value>blob</value>
9783                         <value>clob</value>
9784                         <value>ref</value>
9785                 </choice>
9786         </define>
9787         <define name="db-keys">
9788                 <element name="db:keys">
9789                         <ref name="db-keys-attlist"/>
9790                         <oneOrMore>
9791                                 <ref name="db-key"/>
9792                         </oneOrMore>
9793                 </element>
9794         </define>
9795         <define name="db-keys-attlist">
9796                 <empty/>
9797         </define>
9798         <define name="db-key">
9799                 <element name="db:key">
9800                         <ref name="db-key-attlist"/>
9801                         <oneOrMore>
9802                                 <ref name="db-key-columns"/>
9803                         </oneOrMore>
9804                 </element>
9805         </define>
9806         <define name="db-key-attlist">
9807                 <interleave>
9808                         <optional>
9809                                 <attribute name="db:name">
9810                                         <ref name="string"/>
9811                                 </attribute>
9812                         </optional>
9813         
9814                         <attribute name="db:type">
9815                                 <choice>
9816                                         <value>primary</value>
9817                                         <value>unique</value>
9818                                         <value>foreign</value>
9819                                 </choice>
9820                         </attribute>
9821         
9822                         <optional>
9823                                 <attribute name="db:referenced-table-name">
9824                                         <ref name="string"/>
9825                                 </attribute>
9826                         </optional>
9827         
9828                         <optional>
9829                                 <attribute name="db:update-rule">
9830                                         <choice>
9831                                                 <value>cascade</value>
9832                                                 <value>restrict</value>
9833                                                 <value>set-null</value>
9834                                                 <value>no-action</value>
9835                                                 <value>set-default</value>
9836                                         </choice>
9837                                 </attribute>
9838                         </optional>
9839         
9840                         <optional>
9841                                 <attribute name="db:delete-rule">
9842                                         <choice>
9843                                                 <value>cascade</value>
9844                                                 <value>restrict</value>
9845                                                 <value>set-null</value>
9846                                                 <value>no-action</value>
9847                                                 <value>set-default</value>
9848                                         </choice>
9849                                 </attribute>
9850                         </optional>
9851                 </interleave>
9852         </define>
9853         <define name="db-key-columns">
9854                 <element name="db:key-columns">
9855                         <ref name="db-key-columns-attlist"/>
9856                         <oneOrMore>
9857                                 <ref name="db-key-column"/>
9858                         </oneOrMore>
9859                 </element>
9860         </define>
9861         <define name="db-key-columns-attlist">
9862                 <empty/>
9863         </define>
9864         <define name="db-key-column">
9865                 <element name="db:key-column">
9866                         <ref name="db-key-column-attlist"/>
9867                         <empty/>
9868                 </element>
9869         </define>
9870         <define name="db-key-column-attlist">
9871                 <interleave>
9872                         <optional>
9873                                 <attribute name="db:name">
9874                                         <ref name="string"/>
9875                                 </attribute>
9876                         </optional>
9877         
9878                         <optional>
9879                                 <attribute name="db:related-column-name">
9880                                         <ref name="string"/>
9881                                 </attribute>
9882                         </optional>
9883                 </interleave>
9884         </define>
9885         <define name="db-indices">
9886                 <element name="db:indices">
9887                         <ref name="db-indices-attlist"/>
9888                         <oneOrMore>
9889                                 <ref name="db-index"/>
9890                         </oneOrMore>
9891                 </element>
9892         </define>
9893         <define name="db-indices-attlist">
9894                 <empty/>
9895         </define>
9896         <define name="db-index">
9897                 <element name="db:index">
9898                         <ref name="db-index-attlist"/>
9899                         <oneOrMore>
9900                                 <ref name="db-index-columns"/>
9901                         </oneOrMore>
9902                 </element>
9903         </define>
9904         <define name="db-index-attlist">
9905                 <interleave>
9906                         <attribute name="db:name">
9907                                 <ref name="string"/>
9908                         </attribute>
9909         
9910                         <optional>
9911                                 <attribute name="db:catalog-name">
9912                                         <ref name="string"/>
9913                                 </attribute>
9914                         </optional>
9915         
9916                         <optional>
9917                                 <attribute name="db:is-unique">
9918                                         <ref name="boolean"/>
9919                                 </attribute>
9920                         </optional>
9921         
9922                         <optional>
9923                                 <attribute name="db:is-clustered">
9924                                         <ref name="boolean"/>
9925                                 </attribute>
9926                         </optional>
9927                 </interleave>
9928         </define>
9929         <define name="db-index-columns">
9930                 <element name="db:index-columns">
9931                         <oneOrMore>
9932                                 <ref name="db-index-column"/>
9933                         </oneOrMore>
9934                 </element>
9935         </define>
9936         <define name="db-index-column">
9937                 <element name="db:index-column">
9938                         <ref name="db-index-column-attlist"/>
9939                         <empty/>
9940                 </element>
9941         </define>
9942         <define name="db-index-column-attlist">
9943                 <interleave>
9944                         <attribute name="db:name">
9945                                 <ref name="string"/>
9946                         </attribute>
9947         
9948                         <optional>
9949                                 <attribute name="db:is-ascending">
9950                                         <ref name="boolean"/>
9951                                 </attribute>
9952                         </optional>
9953                 </interleave>
9954         </define>
9955         <define name="office-forms">
9956                 <optional>
9957                         <element name="office:forms">
9958                                 <ref name="office-forms-attlist"/>
9959                                 <zeroOrMore>
9960                                         <choice>
9961                                                 <ref name="form-form"/>
9962                                                 <ref name="xforms-model"/>
9963                                         </choice>
9964                                 </zeroOrMore>
9965                         </element>
9966                 </optional>
9967         </define>
9968         <define name="office-forms-attlist">
9969                 <interleave>
9970                         <optional>
9971                                 <attribute name="form:automatic-focus">
9972                                         <ref name="boolean"/>
9973                                 </attribute>
9974                         </optional>
9975                         <optional>
9976                                 <attribute name="form:apply-design-mode">
9977                                         <ref name="boolean"/>
9978                                 </attribute>
9979                         </optional>
9980                 </interleave>
9981         </define>
9982         <define name="form-form">
9983                 <element name="form:form">
9984                         <ref name="common-form-control-attlist"/>
9985                         <ref name="form-form-attlist"/>
9986                         <optional>
9987                                 <ref name="form-properties"/>
9988                         </optional>
9989                         <optional>
9990                                 <ref name="office-event-listeners"/>
9991                         </optional>
9992                         <zeroOrMore>
9993                                 <choice>
9994                                         <ref name="controls"/>
9995                                         <ref name="form-form"/>
9996                                 </choice>
9997                         </zeroOrMore>
9998                         <optional>
9999                                 <ref name="form-connection-resource"/>
10000                         </optional>
10001                 </element>
10002         </define>
10003         <define name="form-form-attlist">
10004                 <interleave>
10005                         <optional>
10006                                 <attribute name="xlink:type">
10007                                         <value>simple</value>
10008                                 </attribute>
10009                                 <attribute name="xlink:href">
10010                                         <ref name="anyIRI"/>
10011                                 </attribute>
10012                                 <optional>
10013                                         <attribute name="xlink:actuate">
10014                                                 <value>onRequest</value>
10015                                         </attribute>
10016                                 </optional>
10017                         </optional>
10018                         <optional>
10019                                 <attribute name="office:target-frame">
10020                                         <ref name="targetFrameName"/>
10021                                 </attribute>
10022                         </optional>
10023                         <optional>
10024                                 <attribute name="form:method">
10025                                         <choice>
10026                                                 <value>get</value>
10027                                                 <value>post</value>
10028                                                 <ref name="string"/>
10029                                         </choice>
10030                                 </attribute>
10031                         </optional>
10032                         <optional>
10033                                 <attribute name="form:enctype">
10034                                         <ref name="string"/>
10035                                 </attribute>
10036                         </optional>
10037                         <optional>
10038                                 <attribute name="form:allow-deletes">
10039                                         <ref name="boolean"/>
10040                                 </attribute>
10041                         </optional>
10042                         <optional>
10043                                 <attribute name="form:allow-inserts">
10044                                         <ref name="boolean"/>
10045                                 </attribute>
10046                         </optional>
10047                         <optional>
10048                                 <attribute name="form:allow-updates">
10049                                         <ref name="boolean"/>
10050                                 </attribute>
10051                         </optional>
10052                         <optional>
10053                                 <attribute name="form:apply-filter">
10054                                         <ref name="boolean"/>
10055                                 </attribute>
10056                         </optional>
10057                         <optional>
10058                                 <attribute name="form:command-type">
10059                                         <choice>
10060                                                 <value>table</value>
10061                                                 <value>query</value>
10062                                                 <value>command</value>
10063                                         </choice>
10064                                 </attribute>
10065                         </optional>
10066                         <optional>
10067                                 <attribute name="form:command">
10068                                         <ref name="string"/>
10069                                 </attribute>
10070                         </optional>
10071                         <optional>
10072                                 <attribute name="form:datasource">
10073                                         <choice>
10074                                                 <ref name="anyIRI"/>
10075                                                 <ref name="string"/>
10076                                         </choice>
10077                                 </attribute>
10078                         </optional>
10079                         <optional>
10080                                 <attribute name="form:master-fields">
10081                                         <ref name="string"/>
10082                                 </attribute>
10083                         </optional>
10084                         <optional>
10085                                 <attribute name="form:detail-fields">
10086                                         <ref name="string"/>
10087                                 </attribute>
10088                         </optional>
10089                         <optional>
10090                                 <attribute name="form:escape-processing">
10091                                         <ref name="boolean"/>
10092                                 </attribute>
10093                         </optional>
10094                         <optional>
10095                                 <attribute name="form:filter">
10096                                         <ref name="string"/>
10097                                 </attribute>
10098                         </optional>
10099                         <optional>
10100                                 <attribute name="form:ignore-result">
10101                                         <ref name="boolean"/>
10102                                 </attribute>
10103                         </optional>
10104                         <optional>
10105                                 <attribute name="form:navigation-mode">
10106                                         <ref name="navigation"/>
10107                                 </attribute>
10108                         </optional>
10109                         <optional>
10110                                 <attribute name="form:order">
10111                                         <ref name="string"/>
10112                                 </attribute>
10113                         </optional>
10114                         <optional>
10115                                 <attribute name="form:tab-cycle">
10116                                         <ref name="tab-cycles"/>
10117                                 </attribute>
10118                         </optional>
10119                 </interleave>
10120         </define>
10121         <define name="navigation">
10122                 <choice>
10123                         <value>none</value>
10124                         <value>current</value>
10125                         <value>parent</value>
10126                 </choice>
10127         </define>
10128         <define name="tab-cycles">
10129                 <choice>
10130                         <value>records</value>
10131                         <value>current</value>
10132                         <value>page</value>
10133                 </choice>
10134         </define>
10135         <define name="form-connection-resource">
10136                 <element name="form:connection-resource">
10137                         <attribute name="xlink:href">
10138                                 <ref name="anyIRI"/>
10139                         </attribute>
10140                         <empty/>
10141                 </element>
10142         </define>
10143         <define name="xforms-model">
10144                 <element name="xforms:model">
10145                         <ref name="anyAttListOrElements"/>
10146                 </element>
10147         </define>
10148         <define name="column-controls">
10149                 <choice>
10150                         <element name="form:text">
10151                                 <ref name="form-text-attlist"/>
10152                                 <ref name="common-form-control-content"/>
10153                         </element>
10154                         <element name="form:textarea">
10155                                 <ref name="form-textarea-attlist"/>
10156                                 <ref name="common-form-control-content"/>
10157                                 <zeroOrMore>
10158                                         <ref name="text-p"/>
10159                                 </zeroOrMore>
10160                         </element>
10161                         <element name="form:formatted-text">
10162                                 <ref name="form-formatted-text-attlist"/>
10163                                 <ref name="common-form-control-content"/>
10164                         </element>
10165                         <element name="form:number">
10166                                 <ref name="form-number-attlist"/>
10167                                 <ref name="common-numeric-control-attlist"/>
10168                                 <ref name="common-form-control-content"/>
10169                                 <ref name="common-linked-cell"/>
10170                                 <ref name="common-spin-button"/>
10171                                 <ref name="common-repeat"/>
10172                                 <ref name="common-delay-for-repeat"/>
10173                         </element>
10174                         <element name="form:date">
10175                                 <ref name="form-date-attlist"/>
10176                                 <ref name="common-numeric-control-attlist"/>
10177                                 <ref name="common-form-control-content"/>
10178                                 <ref name="common-linked-cell"/>
10179                                 <ref name="common-spin-button"/>
10180                                 <ref name="common-repeat"/>
10181                                 <ref name="common-delay-for-repeat"/>
10182                         </element>
10183                         <element name="form:time">
10184                                 <ref name="form-time-attlist"/>
10185                                 <ref name="common-numeric-control-attlist"/>
10186                                 <ref name="common-form-control-content"/>
10187                                 <ref name="common-linked-cell"/>
10188                                 <ref name="common-spin-button"/>
10189                                 <ref name="common-repeat"/>
10190                                 <ref name="common-delay-for-repeat"/>
10191                         </element>
10192                         <element name="form:combobox">
10193                                 <ref name="form-combobox-attlist"/>
10194                                 <ref name="common-form-control-content"/>
10195                                 <zeroOrMore>
10196                                         <ref name="form-item"/>
10197                                 </zeroOrMore>
10198                         </element>
10199                         <element name="form:listbox">
10200                                 <ref name="form-listbox-attlist"/>
10201                                 <ref name="common-form-control-content"/>
10202                                 <zeroOrMore>
10203                                         <ref name="form-option"/>
10204                                 </zeroOrMore>
10205                         </element>
10206                         <element name="form:checkbox">
10207                                 <ref name="form-checkbox-attlist"/>
10208                                 <ref name="common-form-control-content"/>
10209                         </element>
10210                 </choice>
10211         </define>
10212         <define name="controls">
10213                 <choice>
10214                         <ref name="column-controls"/>
10215                         <element name="form:password">
10216                                 <ref name="form-password-attlist"/>
10217                                 <ref name="common-form-control-content"/>
10218                         </element>
10219                         <element name="form:file">
10220                                 <ref name="form-file-attlist"/>
10221                                 <ref name="common-form-control-content"/>
10222                         </element>
10223                         <element name="form:fixed-text">
10224                                 <ref name="form-fixed-text-attlist"/>
10225                                 <ref name="common-form-control-content"/>
10226                         </element>
10227                         <element name="form:button">
10228                                 <ref name="form-button-attlist"/>
10229                                 <ref name="common-form-control-content"/>
10230                         </element>
10231                         <element name="form:image">
10232                                 <ref name="form-image-attlist"/>
10233                                 <ref name="common-form-control-content"/>
10234                         </element>
10235                         <element name="form:radio">
10236                                 <ref name="form-radio-attlist"/>
10237                                 <ref name="common-form-control-content"/>
10238                         </element>
10239                         <element name="form:frame">
10240                                 <ref name="form-frame-attlist"/>
10241                                 <ref name="common-form-control-content"/>
10242                         </element>
10243                         <element name="form:image-frame">
10244                                 <ref name="form-image-frame-attlist"/>
10245                                 <ref name="common-form-control-content"/>
10246                         </element>
10247                         <element name="form:hidden">
10248                                 <ref name="form-hidden-attlist"/>
10249                                 <ref name="common-form-control-content"/>
10250                         </element>
10251                         <element name="form:grid">
10252                                 <ref name="form-grid-attlist"/>
10253                                 <ref name="common-form-control-content"/>
10254                                 <zeroOrMore>
10255                                         <ref name="form-column"/>
10256                                 </zeroOrMore>
10257                         </element>
10258                         <element name="form:value-range">
10259                                 <ref name="form-value-range-attlist"/>
10260                                 <ref name="common-form-control-content"/>
10261                         </element>
10262                         <element name="form:generic-control">
10263                                 <ref name="form-generic-control-attlist"/>
10264                                 <ref name="common-form-control-content"/>
10265                         </element>
10266                 </choice>
10267         </define>
10268         <define name="form-text-attlist">
10269                 <ref name="form-control-attlist"/>
10270                 <ref name="common-current-value-attlist"/>
10271                 <ref name="common-disabled-attlist"/>
10272                 <ref name="common-maxlength-attlist"/>
10273                 <ref name="common-printable-attlist"/>
10274                 <ref name="common-readonly-attlist"/>
10275                 <ref name="common-tab-attlist"/>
10276                 <ref name="common-title-attlist"/>
10277                 <ref name="common-value-attlist"/>
10278                 <ref name="common-convert-empty-attlist"/>
10279                 <ref name="common-data-field-attlist"/>
10280                 <ref name="common-linked-cell"/>
10281         </define>
10282         <define name="form-control-attlist">
10283                 <ref name="common-form-control-attlist"/>
10284                 <ref name="common-control-id-attlist"/>
10285                 <ref name="xforms-bind-attlist"/>
10286         </define>
10287         <define name="common-form-control-content">
10288                 <optional>
10289                         <ref name="form-properties"/>
10290                 </optional>
10291                 <optional>
10292                         <ref name="office-event-listeners"/>
10293                 </optional>
10294         </define>
10295         <define name="form-textarea-attlist">
10296                 <ref name="form-control-attlist"/>
10297                 <ref name="common-current-value-attlist"/>
10298                 <ref name="common-disabled-attlist"/>
10299                 <ref name="common-maxlength-attlist"/>
10300                 <ref name="common-printable-attlist"/>
10301                 <ref name="common-readonly-attlist"/>
10302                 <ref name="common-tab-attlist"/>
10303                 <ref name="common-title-attlist"/>
10304                 <ref name="common-value-attlist"/>
10305                 <ref name="common-convert-empty-attlist"/>
10306                 <ref name="common-data-field-attlist"/>
10307                 <ref name="common-linked-cell"/>
10308         </define>
10309         <define name="form-password-attlist">
10310                 <interleave>
10311                         <ref name="form-control-attlist"/>
10312                         <ref name="common-disabled-attlist"/>
10313                         <ref name="common-maxlength-attlist"/>
10314                         <ref name="common-printable-attlist"/>
10315                         <ref name="common-tab-attlist"/>
10316                         <ref name="common-title-attlist"/>
10317                         <ref name="common-value-attlist"/>
10318                         <ref name="common-convert-empty-attlist"/>
10319                         <ref name="common-linked-cell"/>
10320                         <optional>
10321                                 <attribute name="form:echo-char">
10322                                         <ref name="character"/>
10323                                 </attribute>
10324                         </optional>
10325                 </interleave>
10326         </define>
10327         <define name="form-file-attlist">
10328                 <ref name="form-control-attlist"/>
10329                 <ref name="common-current-value-attlist"/>
10330                 <ref name="common-disabled-attlist"/>
10331                 <ref name="common-maxlength-attlist"/>
10332                 <ref name="common-printable-attlist"/>
10333                 <ref name="common-readonly-attlist"/>
10334                 <ref name="common-tab-attlist"/>
10335                 <ref name="common-title-attlist"/>
10336                 <ref name="common-value-attlist"/>
10337                 <ref name="common-linked-cell"/>
10338         </define>
10339         <define name="form-formatted-text-attlist">
10340                 <interleave>
10341                         <ref name="form-control-attlist"/>
10342                         <ref name="common-current-value-attlist"/>
10343                         <ref name="common-disabled-attlist"/>
10344                         <ref name="common-maxlength-attlist"/>
10345                         <ref name="common-printable-attlist"/>
10346                         <ref name="common-readonly-attlist"/>
10347                         <ref name="common-tab-attlist"/>
10348                         <ref name="common-title-attlist"/>
10349                         <ref name="common-value-attlist"/>
10350                         <ref name="common-convert-empty-attlist"/>
10351                         <ref name="common-data-field-attlist"/>
10352                         <ref name="common-linked-cell"/>
10353                         <ref name="common-spin-button"/>
10354                         <ref name="common-repeat"/>
10355                         <ref name="common-delay-for-repeat"/>
10356                         <optional>
10357                                 <attribute name="form:max-value">
10358                                         <ref name="string"/>
10359                                 </attribute>
10360                         </optional>
10361                         <optional>
10362                                 <attribute name="form:min-value">
10363                                         <ref name="string"/>
10364                                 </attribute>
10365                         </optional>
10366                         <optional>
10367                                 <attribute name="form:validation">
10368                                         <ref name="boolean"/>
10369                                 </attribute>
10370                         </optional>
10371                 </interleave>
10372         </define>
10373         <define name="common-numeric-control-attlist">
10374                 <ref name="form-control-attlist"/>
10375                 <ref name="common-disabled-attlist"/>
10376                 <ref name="common-maxlength-attlist"/>
10377                 <ref name="common-printable-attlist"/>
10378                 <ref name="common-readonly-attlist"/>
10379                 <ref name="common-tab-attlist"/>
10380                 <ref name="common-title-attlist"/>
10381                 <ref name="common-convert-empty-attlist"/>
10382                 <ref name="common-data-field-attlist"/>
10383         </define>
10384         <define name="form-number-attlist">
10385                 <interleave>
10386                         <optional>
10387                                 <attribute name="form:value">
10388                                         <ref name="double"/>
10389                                 </attribute>
10390                         </optional>
10391                         <optional>
10392                                 <attribute name="form:current-value">
10393                                         <ref name="double"/>
10394                                 </attribute>
10395                         </optional>
10396                         <optional>
10397                                 <attribute name="form:min-value">
10398                                         <ref name="double"/>
10399                                 </attribute>
10400                         </optional>
10401                         <optional>
10402                                 <attribute name="form:max-value">
10403                                         <ref name="double"/>
10404                                 </attribute>
10405                         </optional>
10406                 </interleave>
10407         </define>
10408         <define name="form-date-attlist">
10409                 <interleave>
10410                         <optional>
10411                                 <attribute name="form:value">
10412                                         <ref name="date"/>
10413                                 </attribute>
10414                         </optional>
10415                         <optional>
10416                                 <attribute name="form:current-value">
10417                                         <ref name="date"/>
10418                                 </attribute>
10419                         </optional>
10420                         <optional>
10421                                 <attribute name="form:min-value">
10422                                         <ref name="date"/>
10423                                 </attribute>
10424                         </optional>
10425                         <optional>
10426                                 <attribute name="form:max-value">
10427                                         <ref name="date"/>
10428                                 </attribute>
10429                         </optional>
10430                 </interleave>
10431         </define>
10432         <define name="form-time-attlist">
10433                 <interleave>
10434                         <optional>
10435                                 <attribute name="form:value">
10436                                         <ref name="time"/>
10437                                 </attribute>
10438                         </optional>
10439                         <optional>
10440                                 <attribute name="form:current-value">
10441                                         <ref name="time"/>
10442                                 </attribute>
10443                         </optional>
10444                         <optional>
10445                                 <attribute name="form:min-value">
10446                                         <ref name="time"/>
10447                                 </attribute>
10448                         </optional>
10449                         <optional>
10450                                 <attribute name="form:max-value">
10451                                         <ref name="time"/>
10452                                 </attribute>
10453                         </optional>
10454                 </interleave>
10455         </define>
10456         <define name="form-fixed-text-attlist">
10457                 <interleave>
10458                         <ref name="form-control-attlist"/>
10459                         <ref name="for"/>
10460                         <ref name="common-disabled-attlist"/>
10461                         <ref name="label"/>
10462                         <ref name="common-printable-attlist"/>
10463                         <ref name="common-title-attlist"/>
10464                         <optional>
10465                                 <attribute name="form:multi-line">
10466                                         <ref name="boolean"/>
10467                                 </attribute>
10468                         </optional>
10469                 </interleave>
10470         </define>
10471         <define name="form-combobox-attlist">
10472                 <interleave>
10473                         <ref name="form-control-attlist"/>
10474                         <ref name="common-current-value-attlist"/>
10475                         <ref name="common-disabled-attlist"/>
10476                         <ref name="dropdown"/>
10477                         <ref name="common-maxlength-attlist"/>
10478                         <ref name="common-printable-attlist"/>
10479                         <ref name="common-readonly-attlist"/>
10480                         <ref name="size"/>
10481                         <ref name="common-tab-attlist"/>
10482                         <ref name="common-title-attlist"/>
10483                         <ref name="common-value-attlist"/>
10484                         <ref name="common-convert-empty-attlist"/>
10485                         <ref name="common-data-field-attlist"/>
10486                         <ref name="list-source"/>
10487                         <ref name="list-source-type"/>
10488                         <ref name="common-linked-cell"/>
10489                         <ref name="common-source-cell-range"/>
10490                         <optional>
10491                                 <attribute name="form:auto-complete">
10492                                         <ref name="boolean"/>
10493                                 </attribute>
10494                         </optional>
10495                 </interleave>
10496         </define>
10497         <define name="form-item">
10498                 <element name="form:item">
10499                         <ref name="form-item-attlist"/>
10500                         <text/>
10501                 </element>
10502         </define>
10503         <define name="form-item-attlist">
10504                 <ref name="label"/>
10505         </define>
10506         <define name="form-listbox-attlist">
10507                 <interleave>
10508                         <ref name="form-control-attlist"/>
10509                         <ref name="common-disabled-attlist"/>
10510                         <ref name="dropdown"/>
10511                         <ref name="common-printable-attlist"/>
10512                         <ref name="size"/>
10513                         <ref name="common-tab-attlist"/>
10514                         <ref name="common-title-attlist"/>
10515                         <ref name="bound-column"/>
10516                         <ref name="common-data-field-attlist"/>
10517                         <ref name="list-source"/>
10518                         <ref name="list-source-type"/>
10519                         <ref name="common-linked-cell"/>
10520                         <ref name="list-linkage-type"/>
10521                         <ref name="common-source-cell-range"/>
10522                         <optional>
10523                                 <attribute name="form:multiple">
10524                                         <ref name="boolean"/>
10525                                 </attribute>
10526                         </optional>
10527                         <optional>
10528                                 <attribute name="form:xforms-list-source">
10529                                         <ref name="string"/>
10530                                 </attribute>
10531                         </optional>
10532                 </interleave>
10533         </define>
10534         <define name="list-linkage-type">
10535                 <optional>
10536                         <attribute name="form:list-linkage-type">
10537                                 <choice>
10538                                         <value>selection</value>
10539                                         <value>selection-indices</value>
10540                                 </choice>
10541                         </attribute>
10542                 </optional>
10543         </define>
10544         <define name="form-option">
10545                 <element name="form:option">
10546                         <ref name="form-option-attlist"/>
10547                         <text/>
10548                 </element>
10549         </define>
10550         <define name="form-option-attlist">
10551                 <ref name="current-selected"/>
10552                 <ref name="selected"/>
10553                 <ref name="label"/>
10554                 <ref name="common-value-attlist"/>
10555         </define>
10556         <define name="form-button-attlist">
10557                 <interleave>
10558                         <ref name="form-control-attlist"/>
10559                         <ref name="button-type"/>
10560                         <ref name="common-disabled-attlist"/>
10561                         <ref name="label"/>
10562                         <ref name="image-data"/>
10563                         <ref name="common-printable-attlist"/>
10564                         <ref name="common-tab-attlist"/>
10565                         <ref name="target-frame"/>
10566                         <ref name="target-location"/>
10567                         <ref name="common-title-attlist"/>
10568                         <ref name="common-value-attlist"/>
10569                         <ref name="common-form-relative-image-position-attlist"/>
10570                         <ref name="common-repeat"/>
10571                         <ref name="common-delay-for-repeat"/>
10572                         <optional>
10573                                 <attribute name="form:default-button">
10574                                         <ref name="boolean"/>
10575                                 </attribute>
10576                         </optional>
10577                         <optional>
10578                                 <attribute name="form:toggle">
10579                                         <ref name="boolean"/>
10580                                 </attribute>
10581                         </optional>
10582                         <optional>
10583                                 <attribute name="form:focus-on-click">
10584                                         <ref name="boolean"/>
10585                                 </attribute>
10586                         </optional>
10587                         <optional>
10588                                 <attribute name="form:xforms-submission">
10589                                         <ref name="string"/>
10590                                 </attribute>
10591                         </optional>
10592                 </interleave>
10593         </define>
10594         <define name="form-image-attlist">
10595                 <ref name="form-control-attlist"/>
10596                 <ref name="button-type"/>
10597                 <ref name="common-disabled-attlist"/>
10598                 <ref name="image-data"/>
10599                 <ref name="common-printable-attlist"/>
10600                 <ref name="common-tab-attlist"/>
10601                 <ref name="target-frame"/>
10602                 <ref name="target-location"/>
10603                 <ref name="common-title-attlist"/>
10604                 <ref name="common-value-attlist"/>
10605         </define>
10606         <define name="form-checkbox-attlist">
10607                 <interleave>
10608                         <ref name="form-control-attlist"/>
10609                         <ref name="common-disabled-attlist"/>
10610                         <ref name="label"/>
10611                         <ref name="common-printable-attlist"/>
10612                         <ref name="common-tab-attlist"/>
10613                         <ref name="common-title-attlist"/>
10614                         <ref name="common-value-attlist"/>
10615                         <ref name="common-data-field-attlist"/>
10616                         <ref name="common-form-visual-effect-attlist"/>
10617                         <ref name="common-form-relative-image-position-attlist"/>
10618                         <ref name="common-linked-cell"/>
10619                         <optional>
10620                                 <attribute name="form:current-state">
10621                                         <ref name="states"/>
10622                                 </attribute>
10623                         </optional>
10624                         <optional>
10625                                 <attribute name="form:is-tristate">
10626                                         <ref name="boolean"/>
10627                                 </attribute>
10628                         </optional>
10629                         <optional>
10630                                 <attribute name="form:state">
10631                                         <ref name="states"/>
10632                                 </attribute>
10633                         </optional>
10634                 </interleave>
10635         </define>
10636         <define name="states">
10637                 <choice>
10638                         <value>unchecked</value>
10639                         <value>checked</value>
10640                         <value>unknown</value>
10641                 </choice>
10642         </define>
10643         <define name="form-radio-attlist">
10644                 <ref name="form-control-attlist"/>
10645                 <ref name="current-selected"/>
10646                 <ref name="common-disabled-attlist"/>
10647                 <ref name="label"/>
10648                 <ref name="common-printable-attlist"/>
10649                 <ref name="selected"/>
10650                 <ref name="common-tab-attlist"/>
10651                 <ref name="common-title-attlist"/>
10652                 <ref name="common-value-attlist"/>
10653                 <ref name="common-data-field-attlist"/>
10654                 <ref name="common-form-visual-effect-attlist"/>
10655                 <ref name="common-form-relative-image-position-attlist"/>
10656                 <ref name="common-linked-cell"/>
10657         </define>
10658         <define name="form-frame-attlist">
10659                 <ref name="form-control-attlist"/>
10660                 <ref name="common-disabled-attlist"/>
10661                 <ref name="for"/>
10662                 <ref name="label"/>
10663                 <ref name="common-printable-attlist"/>
10664                 <ref name="common-title-attlist"/>
10665         </define>
10666         <define name="form-image-frame-attlist">
10667                 <ref name="form-control-attlist"/>
10668                 <ref name="common-disabled-attlist"/>
10669                 <ref name="image-data"/>
10670                 <ref name="common-printable-attlist"/>
10671                 <ref name="common-readonly-attlist"/>
10672                 <ref name="common-title-attlist"/>
10673                 <ref name="common-data-field-attlist"/>
10674         </define>
10675         <define name="form-hidden-attlist">
10676                 <ref name="form-control-attlist"/>
10677                 <ref name="common-value-attlist"/>
10678         </define>
10679         <define name="form-grid-attlist">
10680                 <ref name="form-control-attlist"/>
10681                 <ref name="common-disabled-attlist"/>
10682                 <ref name="common-printable-attlist"/>
10683                 <ref name="common-tab-attlist"/>
10684                 <ref name="common-title-attlist"/>
10685         </define>
10686         <define name="form-column">
10687                 <element name="form:column">
10688                         <ref name="form-column-attlist"/>
10689                         <oneOrMore>
10690                                 <ref name="column-controls"/>
10691                         </oneOrMore>
10692                 </element>
10693         </define>
10694         <define name="form-column-attlist">
10695                 <ref name="common-form-control-attlist"/>
10696                 <ref name="label"/>
10697                 <ref name="text-style-name"/>
10698         </define>
10699         <define name="text-style-name">
10700                 <optional>
10701                         <attribute name="form:text-style-name">
10702                                 <ref name="styleNameRef"/>
10703                         </attribute>
10704                 </optional>
10705         </define>
10706         <define name="form-value-range-attlist">
10707                 <interleave>
10708                         <ref name="form-control-attlist"/>
10709                         <ref name="common-disabled-attlist"/>
10710                         <ref name="common-printable-attlist"/>
10711                         <ref name="common-tab-attlist"/>
10712                         <ref name="common-title-attlist"/>
10713                         <ref name="common-value-attlist"/>
10714                         <ref name="common-linked-cell"/>
10715                         <ref name="common-repeat"/>
10716                         <ref name="common-delay-for-repeat"/>
10717                         <optional>
10718                                 <attribute name="form:max-value">
10719                                         <ref name="integer"/>
10720                                 </attribute>
10721                         </optional>
10722                         <optional>
10723                                 <attribute name="form:min-value">
10724                                         <ref name="integer"/>
10725                                 </attribute>
10726                         </optional>
10727                         <optional>
10728                                 <attribute name="form:step-size">
10729                                         <ref name="positiveInteger"/>
10730                                 </attribute>
10731                         </optional>
10732                         <optional>
10733                                 <attribute name="form:page-step-size">
10734                                         <ref name="positiveInteger"/>
10735                                 </attribute>
10736                         </optional>
10737                         <optional>
10738                                 <attribute name="form:orientation">
10739                                         <choice>
10740                                                 <value>horizontal</value>
10741                                                 <value>vertical</value>
10742                                         </choice>
10743                                 </attribute>
10744                         </optional>
10745                 </interleave>
10746         </define>
10747         <define name="form-generic-control-attlist">
10748                 <ref name="form-control-attlist"/>
10749         </define>
10750         <define name="common-form-control-attlist">
10751                 <interleave>
10752                         <optional>
10753                                 <attribute name="form:name">
10754                                         <ref name="string"/>
10755                                 </attribute>
10756                         </optional>
10757                         <optional>
10758                                 <attribute name="form:control-implementation">
10759                                         <ref name="namespacedToken"/>
10760                                 </attribute>
10761                         </optional>
10762                 </interleave>
10763         </define>
10764         <define name="xforms-bind-attlist">
10765                 <optional>
10766                         <attribute name="xforms:bind">
10767                                 <ref name="string"/>
10768                         </attribute>
10769                 </optional>
10770         </define>
10771         <define name="types">
10772                 <choice>
10773                         <value>submit</value>
10774                         <value>reset</value>
10775                         <value>push</value>
10776                         <value>url</value>
10777                 </choice>
10778         </define>
10779         <define name="button-type">
10780                 <optional>
10781                         <attribute name="form:button-type">
10782                                 <ref name="types"/>
10783                         </attribute>
10784                 </optional>
10785         </define>
10786         <define name="common-control-id-attlist">
10787                 <group>
10788                         <ref name="xml-id"/>
10789                         <optional>
10790                                 <attribute name="form:id">
10791                                         <ref name="NCName"/>
10792                                 </attribute>
10793                         </optional>
10794                 </group>
10795         </define>
10796         <define name="current-selected">
10797                 <optional>
10798                         <attribute name="form:current-selected">
10799                                 <ref name="boolean"/>
10800                         </attribute>
10801                 </optional>
10802         </define>
10803         <define name="common-value-attlist">
10804                 <optional>
10805                         <attribute name="form:value">
10806                                 <ref name="string"/>
10807                         </attribute>
10808                 </optional>
10809         </define>
10810         <define name="common-current-value-attlist">
10811                 <optional>
10812                         <attribute name="form:current-value">
10813                                 <ref name="string"/>
10814                         </attribute>
10815                 </optional>
10816         </define>
10817         <define name="common-disabled-attlist">
10818                 <optional>
10819                         <attribute name="form:disabled">
10820                                 <ref name="boolean"/>
10821                         </attribute>
10822                 </optional>
10823         </define>
10824         <define name="dropdown">
10825                 <optional>
10826                         <attribute name="form:dropdown">
10827                                 <ref name="boolean"/>
10828                         </attribute>
10829                 </optional>
10830         </define>
10831         <define name="for">
10832                 <optional>
10833                         <attribute name="form:for">
10834                                 <ref name="string"/>
10835                         </attribute>
10836                 </optional>
10837         </define>
10838         <define name="image-data">
10839                 <optional>
10840                         <attribute name="form:image-data">
10841                                 <ref name="anyIRI"/>
10842                         </attribute>
10843                 </optional>
10844         </define>
10845         <define name="label">
10846                 <optional>
10847                         <attribute name="form:label">
10848                                 <ref name="string"/>
10849                         </attribute>
10850                 </optional>
10851         </define>
10852         <define name="common-maxlength-attlist">
10853                 <optional>
10854                         <attribute name="form:max-length">
10855                                 <ref name="nonNegativeInteger"/>
10856                         </attribute>
10857                 </optional>
10858         </define>
10859         <define name="common-printable-attlist">
10860                 <optional>
10861                         <attribute name="form:printable">
10862                                 <ref name="boolean"/>
10863                         </attribute>
10864                 </optional>
10865         </define>
10866         <define name="common-readonly-attlist">
10867                 <optional>
10868                         <attribute name="form:readonly">
10869                                 <ref name="boolean"/>
10870                         </attribute>
10871                 </optional>
10872         </define>
10873         <define name="selected">
10874                 <optional>
10875                         <attribute name="form:selected">
10876                                 <ref name="boolean"/>
10877                         </attribute>
10878                 </optional>
10879         </define>
10880         <define name="size">
10881                 <optional>
10882                         <attribute name="form:size">
10883                                 <ref name="nonNegativeInteger"/>
10884                         </attribute>
10885                 </optional>
10886         </define>
10887         <define name="common-tab-attlist">
10888                 <interleave>
10889                         <optional>
10890                                 <attribute name="form:tab-index">
10891                                         <ref name="nonNegativeInteger"/>
10892                                 </attribute>
10893                         </optional>
10894                         <optional>
10895                                 <attribute name="form:tab-stop">
10896                                         <ref name="boolean"/>
10897                                 </attribute>
10898                         </optional>
10899                 </interleave>
10900         </define>
10901         <define name="target-frame">
10902                 <optional>
10903                         <attribute name="office:target-frame">
10904                                 <ref name="targetFrameName"/>
10905                         </attribute>
10906                 </optional>
10907         </define>
10908         <define name="target-location">
10909                 <optional>
10910                         <attribute name="xlink:href">
10911                                 <ref name="anyIRI"/>
10912                         </attribute>
10913                 </optional>
10914         </define>
10915         <define name="common-title-attlist">
10916                 <optional>
10917                         <attribute name="form:title">
10918                                 <ref name="string"/>
10919                         </attribute>
10920                 </optional>
10921         </define>
10922         <define name="common-form-visual-effect-attlist">
10923                 <optional>
10924                         <attribute name="form:visual-effect">
10925                                 <choice>
10926                                         <value>flat</value>
10927                                         <value>3d</value>
10928                                 </choice>
10929                         </attribute>
10930                 </optional>
10931         </define>
10932         <define name="common-form-relative-image-position-attlist">
10933                 <choice>
10934                         <optional>
10935                                 <attribute name="form:image-position">
10936                                         <value>center</value>
10937                                 </attribute>
10938                         </optional>
10939                         <group>
10940                                 <attribute name="form:image-position">
10941                                         <choice>
10942                                                 <value>start</value>
10943                                                 <value>end</value>
10944                                                 <value>top</value>
10945                                                 <value>bottom</value>
10946                                         </choice>
10947                                 </attribute>
10948                                 <optional>
10949                                         <attribute name="form:image-align">
10950                                                 <choice>
10951                                                         <value>start</value>
10952                                                         <value>center</value>
10953                                                         <value>end</value>
10954                                                 </choice>
10955                                         </attribute>
10956                                 </optional>
10957                         </group>
10958                 </choice>
10959         </define>
10960         <define name="bound-column">
10961                 <optional>
10962                         <attribute name="form:bound-column">
10963                                 <ref name="string"/>
10964                         </attribute>
10965                 </optional>
10966         </define>
10967         <define name="common-convert-empty-attlist">
10968                 <optional>
10969                         <attribute name="form:convert-empty-to-null">
10970                                 <ref name="boolean"/>
10971                         </attribute>
10972                 </optional>
10973         </define>
10974         <define name="common-data-field-attlist">
10975                 <optional>
10976                         <attribute name="form:data-field">
10977                                 <ref name="string"/>
10978                         </attribute>
10979                 </optional>
10980         </define>
10981         <define name="list-source">
10982                 <optional>
10983                         <attribute name="form:list-source">
10984                                 <ref name="string"/>
10985                         </attribute>
10986                 </optional>
10987         </define>
10988         <define name="list-source-type">
10989                 <optional>
10990                         <attribute name="form:list-source-type">
10991                                 <choice>
10992                                         <value>table</value>
10993                                         <value>query</value>
10994                                         <value>sql</value>
10995                                         <value>sql-pass-through</value>
10996                                         <value>value-list</value>
10997                                         <value>table-fields</value>
10998                                 </choice>
10999                         </attribute>
11000                 </optional>
11001         </define>
11002         <define name="common-linked-cell">
11003                 <optional>
11004                         <attribute name="form:linked-cell">
11005                                 <choice>
11006                                         <ref name="cellAddress"/>
11007                                         <ref name="string"/>
11008                                 </choice>
11009                         </attribute>
11010                 </optional>
11011         </define>
11012         <define name="common-source-cell-range">
11013                 <optional>
11014                         <attribute name="form:source-cell-range">
11015                                 <choice>
11016                                         <ref name="cellRangeAddress"/>
11017                                         <ref name="string"/>
11018                                 </choice>
11019                         </attribute>
11020                 </optional>
11021         </define>
11022         <define name="common-spin-button">
11023                 <optional>
11024                         <attribute name="form:spin-button">
11025                                 <ref name="boolean"/>
11026                         </attribute>
11027                 </optional>
11028         </define>
11029         <define name="common-repeat">
11030                 <optional>
11031                         <attribute name="form:repeat">
11032                                 <ref name="boolean"/>
11033                         </attribute>
11034                 </optional>
11035         </define>
11036         <define name="common-delay-for-repeat">
11037                 <optional>
11038                         <attribute name="form:delay-for-repeat">
11039                                 <ref name="duration"/>
11040                         </attribute>
11041                 </optional>
11042         </define>
11043         <define name="form-properties">
11044                 <element name="form:properties">
11045                         <oneOrMore>
11046                                 <ref name="form-property"/>
11047                         </oneOrMore>
11048                 </element>
11049         </define>
11050         <define name="form-property">
11051                 <choice>
11052                         <element name="form:property">
11053                                 <ref name="form-property-name"/>
11054                                 <ref name="form-property-value-and-type-attlist"/>
11055                         </element>
11056                         <element name="form:list-property">
11057                                 <ref name="form-property-name"/>
11058                                 <ref name="form-property-type-and-value-list"/>
11059                         </element>
11060                 </choice>
11061         </define>
11062         <define name="form-property-name">
11063                 <attribute name="form:property-name">
11064                         <ref name="string"/>
11065                 </attribute>
11066         </define>
11067         <define name="form-property-value-and-type-attlist">
11068                 <choice>
11069                         <ref name="common-value-and-type-attlist"/>
11070                         <attribute name="office:value-type">
11071                                 <value>void</value>
11072                         </attribute>
11073                 </choice>
11074         </define>
11075         <define name="form-property-type-and-value-list">
11076                 <choice>
11077                         <group>
11078                                 <attribute name="office:value-type">
11079                                         <value>float</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>percentage</value>
11092                                 </attribute>
11093                                 <zeroOrMore>
11094                                         <element name="form:list-value">
11095                                                 <attribute name="office:value">
11096                                                         <ref name="double"/>
11097                                                 </attribute>
11098                                         </element>
11099                                 </zeroOrMore>
11100                         </group>
11101                         <group>
11102                                 <attribute name="office:value-type">
11103                                         <value>currency</value>
11104                                 </attribute>
11105                                 <zeroOrMore>
11106                                         <element name="form:list-value">
11107                                                 <attribute name="office:value">
11108                                                         <ref name="double"/>
11109                                                 </attribute>
11110                                                 <optional>
11111                                                         <attribute name="office:currency">
11112                                                                 <ref name="string"/>
11113                                                         </attribute>
11114                                                 </optional>
11115                                         </element>
11116                                 </zeroOrMore>
11117                         </group>
11118                         <group>
11119                                 <attribute name="office:value-type">
11120                                         <value>date</value>
11121                                 </attribute>
11122                                 <zeroOrMore>
11123                                         <element name="form:list-value">
11124                                                 <attribute name="office:date-value">
11125                                                         <ref name="dateOrDateTime"/>
11126                                                 </attribute>
11127                                         </element>
11128                                 </zeroOrMore>
11129                         </group>
11130                         <group>
11131                                 <attribute name="office:value-type">
11132                                         <value>time</value>
11133                                 </attribute>
11134                                 <zeroOrMore>
11135                                         <element name="form:list-value">
11136                                                 <attribute name="office:time-value">
11137                                                         <ref name="duration"/>
11138                                                 </attribute>
11139                                         </element>
11140                                 </zeroOrMore>
11141                         </group>
11142                         <group>
11143                                 <attribute name="office:value-type">
11144                                         <value>boolean</value>
11145                                 </attribute>
11146                                 <zeroOrMore>
11147                                         <element name="form:list-value">
11148                                                 <attribute name="office:boolean-value">
11149                                                         <ref name="boolean"/>
11150                                                 </attribute>
11151                                         </element>
11152                                 </zeroOrMore>
11153                         </group>
11154                         <group>
11155                                 <attribute name="office:value-type">
11156                                         <value>string</value>
11157                                 </attribute>
11158                                 <zeroOrMore>
11159                                         <element name="form:list-value">
11160                                                 <attribute name="office:string-value">
11161                                                         <ref name="string"/>
11162                                                 </attribute>
11163                                         </element>
11164                                 </zeroOrMore>
11165                         </group>
11166                         <attribute name="office:value-type">
11167                                 <value>void</value>
11168                         </attribute>
11169                 </choice>
11170         </define>
11171         <define name="office-annotation">
11172                 <element name="office:annotation">
11173                         <ref name="office-annotation-attlist"/>
11174                         <ref name="draw-caption-attlist"/>
11175                         <ref name="common-draw-position-attlist"/>
11176                         <ref name="common-draw-size-attlist"/>
11177                         <ref name="common-draw-shape-with-text-and-styles-attlist"/>
11178                         <optional>
11179                                 <ref name="dc-creator"/>
11180                         </optional>
11181                         <optional>
11182                                 <ref name="dc-date"/>
11183                         </optional>
11184                         <optional>
11185                                 <ref name="meta-date-string"/>
11186                         </optional>
11187                         <zeroOrMore>
11188                                 <choice>
11189                                         <ref name="text-p"/>
11190                                         <ref name="text-list"/>
11191                                 </choice>
11192                         </zeroOrMore>
11193                 </element>
11194         </define>
11195         <define name="office-annotation-end">
11196                 <element name="office:annotation-end">
11197                         <ref name="office-annotation-end-attlist"/>
11198                 </element>
11199         </define>
11200         <define name="office-annotation-attlist">
11201                 <interleave>
11202                         <optional>
11203                                 <attribute name="office:display">
11204                                         <ref name="boolean"/>
11205                                 </attribute>
11206                         </optional>
11207                         <optional>
11208                                 <ref name="common-office-annotation-name-attlist"/>
11209                         </optional>
11210                 </interleave>
11211         </define>
11212         <define name="office-annotation-end-attlist">
11213                 <ref name="common-office-annotation-name-attlist"/>
11214         </define>
11215         <define name="common-office-annotation-name-attlist">
11216                 <attribute name="office:name">
11217                         <ref name="string"/>
11218                 </attribute>
11219         </define>
11220         <define name="meta-date-string">
11221                 <element name="meta:date-string">
11222                         <ref name="string"/>
11223                 </element>
11224         </define>
11225         <define name="common-num-format-prefix-suffix-attlist">
11226                 <optional>
11227                         <attribute name="style:num-prefix">
11228                                 <ref name="string"/>
11229                         </attribute>
11230                 </optional>
11231                 <optional>
11232                         <attribute name="style:num-suffix">
11233                                 <ref name="string"/>
11234                         </attribute>
11235                 </optional>
11236         </define>
11237         <define name="common-num-format-attlist">
11238                 <choice>
11239                         <attribute name="style:num-format">
11240                                 <choice>
11241                                         <value>1</value>
11242                                         <value>i</value>
11243                                         <value>I</value>
11244                                         <ref name="string"/>
11245                                         <empty/>
11246                                 </choice>
11247                         </attribute>
11248                         <group>
11249                                 <attribute name="style:num-format">
11250                                         <choice>
11251                                                 <value>a</value>
11252                                                 <value>A</value>
11253                                         </choice>
11254                                 </attribute>
11255                                 <ref name="style-num-letter-sync-attlist"/>
11256                         </group>
11257                         <empty/>
11258                 </choice>
11259         </define>
11260         <define name="style-num-letter-sync-attlist">
11261                 <optional>
11262                         <attribute name="style:num-letter-sync">
11263                                 <ref name="boolean"/>
11264                         </attribute>
11265                 </optional>
11266         </define>
11267         <define name="office-change-info">
11268                 <element name="office:change-info">
11269                         <ref name="dc-creator"/>
11270                         <ref name="dc-date"/>
11271                         <zeroOrMore>
11272                                 <ref name="text-p"/>
11273                         </zeroOrMore>
11274                 </element>
11275         </define>
11276         <define name="office-event-listeners">
11277                 <element name="office:event-listeners">
11278                         <zeroOrMore>
11279                                 <choice>
11280                                         <ref name="script-event-listener"/>
11281                                         <ref name="presentation-event-listener"/>
11282                                 </choice>
11283                         </zeroOrMore>
11284                 </element>
11285         </define>
11286         <define name="script-event-listener">
11287                 <element name="script:event-listener">
11288                         <ref name="script-event-listener-attlist"/>
11289                         <empty/>
11290                 </element>
11291         </define>
11292         <define name="script-event-listener-attlist">
11293                 <interleave>
11294                         <attribute name="script:event-name">
11295                                 <ref name="string"/>
11296                         </attribute>
11297                         <attribute name="script:language">
11298                                 <ref name="string"/>
11299                         </attribute>
11300                         <choice>
11301                                 <attribute name="script:macro-name">
11302                                         <ref name="string"/>
11303                                 </attribute>
11304                                 <group>
11305                                         <attribute name="xlink:type">
11306                                                 <value>simple</value>
11307                                         </attribute>
11308                                         <attribute name="xlink:href">
11309                                                 <ref name="anyIRI"/>
11310                                         </attribute>
11311                                         <optional>
11312                                                 <attribute name="xlink:actuate">
11313                                                         <value>onRequest</value>
11314                                                 </attribute>
11315                                         </optional>
11316                                 </group>
11317                         </choice>
11318                 </interleave>
11319         </define>
11320         <define name="math-math">
11321                 <element name="math:math">
11322                         <ref name="mathMarkup"/>
11323                 </element>
11324         </define>
11325         <define name="mathMarkup">
11326                 <dc:description>To avoid inclusion of the complete MathML schema, anything is allowed within a math:math top-level element</dc:description>
11327                 <zeroOrMore>
11328                         <choice>
11329                                 <attribute>
11330                                         <anyName/>
11331                                 </attribute>
11332                                 <text/>
11333                                 <element>
11334                                         <anyName/>
11335                                         <ref name="mathMarkup"/>
11336                                 </element>
11337                         </choice>
11338                 </zeroOrMore>
11339         </define>
11340         <define name="text-dde-connection-decl">
11341                 <element name="text:dde-connection-decl">
11342                         <ref name="text-dde-connection-decl-attlist"/>
11343                         <ref name="common-dde-connection-decl-attlist"/>
11344                 </element>
11345         </define>
11346         <define name="text-dde-connection-decl-attlist">
11347                 <attribute name="office:name">
11348                         <ref name="string"/>
11349                 </attribute>
11350         </define>
11351         <define name="common-dde-connection-decl-attlist">
11352                 <interleave>
11353                         <attribute name="office:dde-application">
11354                                 <ref name="string"/>
11355                         </attribute>
11356                         <attribute name="office:dde-topic">
11357                                 <ref name="string"/>
11358                         </attribute>
11359                         <attribute name="office:dde-item">
11360                                 <ref name="string"/>
11361                         </attribute>
11362                         <optional>
11363                                 <attribute name="office:automatic-update">
11364                                         <ref name="boolean"/>
11365                                 </attribute>
11366                         </optional>
11367                 </interleave>
11368         </define>
11369         <define name="table-dde-link">
11370                 <element name="table:dde-link">
11371                         <ref name="office-dde-source"/>
11372                         <ref name="table-table"/>
11373                 </element>
11374         </define>
11375         <define name="office-dde-source">
11376                 <element name="office:dde-source">
11377                         <ref name="office-dde-source-attlist"/>
11378                         <ref name="common-dde-connection-decl-attlist"/>
11379                 </element>
11380         </define>
11381         <define name="office-dde-source-attlist">
11382                 <interleave>
11383                         <optional>
11384                                 <attribute name="office:name">
11385                                         <ref name="string"/>
11386                                 </attribute>
11387                         </optional>
11388                         <optional>
11389                                 <attribute name="office:conversion-mode">
11390                                         <choice>
11391                                                 <value>into-default-style-data-style</value>
11392                                                 <value>into-english-number</value>
11393                                                 <value>keep-text</value>
11394                                         </choice>
11395                                 </attribute>
11396                         </optional>
11397                 </interleave>
11398         </define>
11399         <define name="animation-element">
11400                 <choice>
11401                         <element name="anim:animate">
11402                                 <ref name="common-anim-target-attlist"/>
11403                                 <ref name="common-anim-named-target-attlist"/>
11404                                 <ref name="common-anim-values-attlist"/>
11405                                 <ref name="common-anim-spline-mode-attlist"/>
11406                                 <ref name="common-spline-anim-value-attlist"/>
11407                                 <ref name="common-timing-attlist"/>
11408                                 <ref name="common-anim-add-accum-attlist"/>
11409                         </element>
11410                         <element name="anim:set">
11411                                 <ref name="common-anim-target-attlist"/>
11412                                 <ref name="common-anim-named-target-attlist"/>
11413                                 <ref name="common-anim-set-values-attlist"/>
11414                                 <ref name="common-timing-attlist"/>
11415                                 <ref name="common-anim-add-accum-attlist"/>
11416                         </element>
11417                         <element name="anim:animateMotion">
11418                                 <ref name="anim-animate-motion-attlist"/>
11419                                 <ref name="common-anim-target-attlist"/>
11420                                 <ref name="common-anim-named-target-attlist"/>
11421                                 <ref name="common-anim-add-accum-attlist"/>
11422                                 <ref name="common-anim-values-attlist"/>
11423                                 <ref name="common-timing-attlist"/>
11424                                 <ref name="common-spline-anim-value-attlist"/>
11425                         </element>
11426                         <element name="anim:animateColor">
11427                                 <ref name="common-anim-target-attlist"/>
11428                                 <ref name="common-anim-named-target-attlist"/>
11429                                 <ref name="common-anim-add-accum-attlist"/>
11430                                 <ref name="common-anim-values-attlist"/>
11431                                 <ref name="common-anim-spline-mode-attlist"/>
11432                                 <ref name="common-spline-anim-value-attlist"/>
11433                                 <ref name="anim-animate-color-attlist"/>
11434                                 <ref name="common-timing-attlist"/>
11435                         </element>
11436                         <element name="anim:animateTransform">
11437                                 <ref name="common-anim-target-attlist"/>
11438                                 <ref name="common-anim-named-target-attlist"/>
11439                                 <ref name="common-anim-add-accum-attlist"/>
11440                                 <ref name="common-anim-values-attlist"/>
11441                                 <ref name="anim-animate-transform-attlist"/>
11442                                 <ref name="common-timing-attlist"/>
11443                         </element>
11444                         <element name="anim:transitionFilter">
11445                                 <ref name="common-anim-target-attlist"/>
11446                                 <ref name="common-anim-add-accum-attlist"/>
11447                                 <ref name="common-anim-values-attlist"/>
11448                                 <ref name="common-anim-spline-mode-attlist"/>
11449                                 <ref name="anim-transition-filter-attlist"/>
11450                                 <ref name="common-timing-attlist"/>
11451                         </element>
11452                         <element name="anim:par">
11453                                 <ref name="common-anim-attlist"/>
11454                                 <ref name="common-timing-attlist"/>
11455                                 <ref name="common-endsync-timing-attlist"/>
11456                                 <zeroOrMore>
11457                                         <ref name="animation-element"/>
11458                                 </zeroOrMore>
11459                         </element>
11460                         <element name="anim:seq">
11461                                 <ref name="common-anim-attlist"/>
11462                                 <ref name="common-endsync-timing-attlist"/>
11463                                 <ref name="common-timing-attlist"/>
11464                                 <zeroOrMore>
11465                                         <ref name="animation-element"/>
11466                                 </zeroOrMore>
11467                         </element>
11468                         <element name="anim:iterate">
11469                                 <ref name="common-anim-attlist"/>
11470                                 <ref name="anim-iterate-attlist"/>
11471                                 <ref name="common-timing-attlist"/>
11472                                 <ref name="common-endsync-timing-attlist"/>
11473                                 <zeroOrMore>
11474                                         <ref name="animation-element"/>
11475                                 </zeroOrMore>
11476                         </element>
11477                         <element name="anim:audio">
11478                                 <ref name="common-anim-attlist"/>
11479                                 <ref name="anim-audio-attlist"/>
11480                                 <ref name="common-basic-timing-attlist"/>
11481                         </element>
11482                         <element name="anim:command">
11483                                 <ref name="common-anim-attlist"/>
11484                                 <ref name="anim-command-attlist"/>
11485                                 <ref name="common-begin-end-timing-attlist"/>
11486                                 <ref name="common-anim-target-attlist"/>
11487                                 <zeroOrMore>
11488                                         <element name="anim:param">
11489                                                 <attribute name="anim:name">
11490                                                         <ref name="string"/>
11491                                                 </attribute>
11492                                                 <attribute name="anim:value">
11493                                                         <ref name="string"/>
11494                                                 </attribute>
11495                                         </element>
11496                                 </zeroOrMore>
11497                         </element>
11498                 </choice>
11499         </define>
11500         <define name="anim-animate-motion-attlist">
11501                 <interleave>
11502                         <optional>
11503                                 <attribute name="svg:path">
11504                                         <ref name="pathData"/>
11505                                 </attribute>
11506                         </optional>
11507                         <optional>
11508                                 <attribute name="svg:origin">
11509                                         <ref name="string"/>
11510                                 </attribute>
11511                         </optional>
11512                         <optional>
11513                                 <attribute name="smil:calcMode">
11514                                         <choice>
11515                                                 <value>discrete</value>
11516                                                 <value>linear</value>
11517                                                 <value>paced</value>
11518                                                 <value>spline</value>
11519                                         </choice>
11520                                 </attribute>
11521                         </optional>
11522                 </interleave>
11523         </define>
11524         <define name="anim-animate-color-attlist">
11525                 <interleave>
11526                         <optional>
11527                                 <attribute name="anim:color-interpolation">
11528                                         <choice>
11529                                                 <value>rgb</value>
11530                                                 <value>hsl</value>
11531                                         </choice>
11532                                 </attribute>
11533                         </optional>
11534                         <optional>
11535                                 <attribute name="anim:color-interpolation-direction">
11536                                         <choice>
11537                                                 <value>clockwise</value>
11538                                                 <value>counter-clockwise</value>
11539                                         </choice>
11540                                 </attribute>
11541                         </optional>
11542                 </interleave>
11543         </define>
11544         <define name="anim-animate-transform-attlist">
11545                 <attribute name="svg:type">
11546                         <choice>
11547                                 <value>translate</value>
11548                                 <value>scale</value>
11549                                 <value>rotate</value>
11550                                 <value>skewX</value>
11551                                 <value>skewY</value>
11552                         </choice>
11553                 </attribute>
11554         </define>
11555         <define name="anim-transition-filter-attlist">
11556                 <interleave>
11557                         <attribute name="smil:type">
11558                                 <ref name="string"/>
11559                         </attribute>
11560                         <optional>
11561                                 <attribute name="smil:subtype">
11562                                         <ref name="string"/>
11563                                 </attribute>
11564                         </optional>
11565                         <optional>
11566                                 <attribute name="smil:direction">
11567                                         <choice>
11568                                                 <value>forward</value>
11569                                                 <value>reverse</value>
11570                                         </choice>
11571                                 </attribute>
11572                         </optional>
11573                         <optional>
11574                                 <attribute name="smil:fadeColor">
11575                                         <ref name="color"/>
11576                                 </attribute>
11577                         </optional>
11578                         <optional>
11579                                 <attribute name="smil:mode">
11580                                         <choice>
11581                                                 <value>in</value>
11582                                                 <value>out</value>
11583                                         </choice>
11584                                 </attribute>
11585                         </optional>
11586                 </interleave>
11587         </define>
11588         <define name="common-anim-target-attlist">
11589                 <interleave>
11590                         <optional>
11591                                 <attribute name="smil:targetElement">
11592                                         <ref name="IDREF"/>
11593                                 </attribute>
11594                         </optional>
11595                         <optional>
11596                                 <attribute name="anim:sub-item">
11597                                         <ref name="string"/>
11598                                 </attribute>
11599                         </optional>
11600                 </interleave>
11601         </define>
11602         <define name="common-anim-named-target-attlist">
11603                 <attribute name="smil:attributeName">
11604                         <ref name="string"/>
11605                 </attribute>
11606         </define>
11607         <define name="common-anim-values-attlist">
11608                 <interleave>
11609                         <optional>
11610                                 <attribute name="smil:values">
11611                                         <ref name="string"/>
11612                                 </attribute>
11613                         </optional>
11614                         <optional>
11615                                 <attribute name="anim:formula">
11616                                         <ref name="string"/>
11617                                 </attribute>
11618                         </optional>
11619                         <ref name="common-anim-set-values-attlist"/>
11620                         <optional>
11621                                 <attribute name="smil:from">
11622                                         <ref name="string"/>
11623                                 </attribute>
11624                         </optional>
11625                         <optional>
11626                                 <attribute name="smil:by">
11627                                         <ref name="string"/>
11628                                 </attribute>
11629                         </optional>
11630                 </interleave>
11631         </define>
11632         <define name="common-anim-spline-mode-attlist">
11633                 <optional>
11634                         <attribute name="smil:calcMode">
11635                                 <choice>
11636                                         <value>discrete</value>
11637                                         <value>linear</value>
11638                                         <value>paced</value>
11639                                         <value>spline</value>
11640                                 </choice>
11641                         </attribute>
11642                 </optional>
11643         </define>
11644         <define name="common-spline-anim-value-attlist">
11645                 <interleave>
11646                         <optional>
11647                                 <attribute name="smil:keyTimes">
11648                                         <ref name="string"/>
11649                                 </attribute>
11650                         </optional>
11651                         <optional>
11652                                 <attribute name="smil:keySplines">
11653                                         <ref name="string"/>
11654                                 </attribute>
11655                         </optional>
11656                 </interleave>
11657         </define>
11658         <define name="common-anim-add-accum-attlist">
11659                 <interleave>
11660                         <optional>
11661                                 <attribute name="smil:accumulate">
11662                                         <choice>
11663                                                 <value>none</value>
11664                                                 <value>sum</value>
11665                                         </choice>
11666                                 </attribute>
11667                         </optional>
11668                         <optional>
11669                                 <attribute name="smil:additive">
11670                                         <choice>
11671                                                 <value>replace</value>
11672                                                 <value>sum</value>
11673                                         </choice>
11674                                 </attribute>
11675                         </optional>
11676                 </interleave>
11677         </define>
11678         <define name="common-anim-set-values-attlist">
11679                 <optional>
11680                         <attribute name="smil:to">
11681                                 <ref name="string"/>
11682                         </attribute>
11683                 </optional>
11684         </define>
11685         <define name="common-begin-end-timing-attlist">
11686                 <interleave>
11687                         <optional>
11688                                 <attribute name="smil:begin">
11689                                         <ref name="string"/>
11690                                 </attribute>
11691                         </optional>
11692                         <optional>
11693                                 <attribute name="smil:end">
11694                                         <ref name="string"/>
11695                                 </attribute>
11696                         </optional>
11697                 </interleave>
11698         </define>
11699         <define name="common-dur-timing-attlist">
11700                 <optional>
11701                         <attribute name="smil:dur">
11702                                 <ref name="string"/>
11703                         </attribute>
11704                 </optional>
11705         </define>
11706         <define name="common-endsync-timing-attlist">
11707                 <optional>
11708                         <attribute name="smil:endsync">
11709                                 <choice>
11710                                         <value>first</value>
11711                                         <value>last</value>
11712                                         <value>all</value>
11713                                         <value>media</value>
11714                                         <ref name="IDREF"/>
11715                                 </choice>
11716                         </attribute>
11717                 </optional>
11718         </define>
11719         <define name="common-repeat-timing-attlist">
11720                 <optional>
11721                         <attribute name="smil:repeatDur">
11722                                 <ref name="string"/>
11723                         </attribute>
11724                 </optional>
11725                 <optional>
11726                         <attribute name="smil:repeatCount">
11727                                 <choice>
11728                                         <ref name="nonNegativeDecimal"/>
11729                                         <value>indefinite</value>
11730                                 </choice>
11731                         </attribute>
11732                 </optional>
11733         </define>
11734         <define name="nonNegativeDecimal">
11735                 <data type="decimal">
11736                         <param name="minInclusive">0.0</param>
11737                 </data>
11738         </define>
11739         <define name="common-fill-timing-attlist">
11740                 <optional>
11741                         <attribute name="smil:fill">
11742                                 <choice>
11743                                         <value>remove</value>
11744                                         <value>freeze</value>
11745                                         <value>hold</value>
11746                                         <value>auto</value>
11747                                         <value>default</value>
11748                                         <value>transition</value>
11749                                 </choice>
11750                         </attribute>
11751                 </optional>
11752         </define>
11753         <define name="common-fill-default-attlist">
11754                 <optional>
11755                         <attribute name="smil:fillDefault">
11756                                 <choice>
11757                                         <value>remove</value>
11758                                         <value>freeze</value>
11759                                         <value>hold</value>
11760                                         <value>transition</value>
11761                                         <value>auto</value>
11762                                         <value>inherit</value>
11763                                 </choice>
11764                         </attribute>
11765                 </optional>
11766         </define>
11767         <define name="common-restart-timing-attlist">
11768                 <optional>
11769                         <attribute name="smil:restart">
11770                                 <choice>
11771                                         <value>never</value>
11772                                         <value>always</value>
11773                                         <value>whenNotActive</value>
11774                                         <value>default</value>
11775                                 </choice>
11776                         </attribute>
11777                 </optional>
11778         </define>
11779         <define name="common-restart-default-attlist">
11780                 <optional>
11781                         <attribute name="smil:restartDefault">
11782                                 <choice>
11783                                         <value>never</value>
11784                                         <value>always</value>
11785                                         <value>whenNotActive</value>
11786                                         <value>inherit</value>
11787                                 </choice>
11788                         </attribute>
11789                 </optional>
11790         </define>
11791         <define name="common-time-manip-attlist">
11792                 <interleave>
11793                         <optional>
11794                                 <attribute name="smil:accelerate">
11795                                         <ref name="zeroToOneDecimal"/>
11796                                 </attribute>
11797                         </optional>
11798                         <optional>
11799                                 <attribute name="smil:decelerate">
11800                                         <ref name="zeroToOneDecimal"/>
11801                                 </attribute>
11802                         </optional>
11803                         <optional>
11804                                 <attribute name="smil:autoReverse">
11805                                         <ref name="boolean"/>
11806                                 </attribute>
11807                         </optional>
11808                 </interleave>
11809         </define>
11810         <define name="zeroToOneDecimal">
11811                 <data type="decimal">
11812                         <param name="minInclusive">0</param>
11813                         <param name="maxInclusive">1</param>
11814                 </data>
11815         </define>
11816         <define name="common-basic-timing-attlist">
11817                 <ref name="common-begin-end-timing-attlist"/>
11818                 <ref name="common-dur-timing-attlist"/>
11819                 <ref name="common-repeat-timing-attlist"/>
11820                 <ref name="common-restart-timing-attlist"/>
11821                 <ref name="common-restart-default-attlist"/>
11822                 <ref name="common-fill-timing-attlist"/>
11823                 <ref name="common-fill-default-attlist"/>
11824         </define>
11825         <define name="common-timing-attlist">
11826                 <ref name="common-basic-timing-attlist"/>
11827                 <ref name="common-time-manip-attlist"/>
11828         </define>
11829         <define name="anim-iterate-attlist">
11830                 <interleave>
11831                         <ref name="common-anim-target-attlist"/>
11832                         <optional>
11833                                 <attribute name="anim:iterate-type">
11834                                         <ref name="string"/>
11835                                 </attribute>
11836                         </optional>
11837                         <optional>
11838                                 <attribute name="anim:iterate-interval">
11839                                         <ref name="duration"/>
11840                                 </attribute>
11841                         </optional>
11842                 </interleave>
11843         </define>
11844         <define name="anim-audio-attlist">
11845                 <interleave>
11846                         <optional>
11847                                 <attribute name="xlink:href">
11848                                         <ref name="anyIRI"/>
11849                                 </attribute>
11850                         </optional>
11851                         <optional>
11852                                 <attribute name="anim:audio-level">
11853                                         <ref name="double"/>
11854                                 </attribute>
11855                         </optional>
11856                 </interleave>
11857         </define>
11858         <define name="anim-command-attlist">
11859                 <attribute name="anim:command">
11860                         <ref name="string"/>
11861                 </attribute>
11862         </define>
11863         <define name="style-style">
11864                 <element name="style:style">
11865                         <ref name="style-style-attlist"/>
11866                         <ref name="style-style-content"/>
11867                         <zeroOrMore>
11868                                 <ref name="style-map"/>
11869                         </zeroOrMore>
11870                 </element>
11871         </define>
11872         <define name="common-in-content-meta-attlist">
11873                 <attribute name="xhtml:about">
11874                         <ref name="URIorSafeCURIE"/>
11875                 </attribute>
11876                 <attribute name="xhtml:property">
11877                         <ref name="CURIEs"/>
11878                 </attribute>
11879                 <ref name="common-meta-literal-attlist"/>
11880         </define>
11881         <define name="common-meta-literal-attlist">
11882                 <optional>
11883                         <attribute name="xhtml:datatype">
11884                                 <ref name="CURIE"/>
11885                         </attribute>
11886                 </optional>
11887                 <optional>
11888                         <attribute name="xhtml:content">
11889                                 <ref name="string"/>
11890                         </attribute>
11891                 </optional>
11892         </define>
11893         <define name="xml-id">
11894                 <attribute name="xml:id">
11895                         <ref name="ID"/>
11896                 </attribute>
11897         </define>
11898         <define name="style-style-attlist">
11899                 <interleave>
11900                         <attribute name="style:name">
11901                                 <ref name="styleName"/>
11902                         </attribute>
11903                         <optional>
11904                                 <attribute name="style:display-name">
11905                                         <ref name="string"/>
11906                                 </attribute>
11907                         </optional>
11908                         <optional>
11909                                 <attribute name="style:parent-style-name">
11910                                         <ref name="styleNameRef"/>
11911                                 </attribute>
11912                         </optional>
11913                         <optional>
11914                                 <attribute name="style:next-style-name">
11915                                         <ref name="styleNameRef"/>
11916                                 </attribute>
11917                         </optional>
11918                         <optional>
11919                                 <attribute name="style:list-level">
11920                                         <choice>
11921                                                 <ref name="positiveInteger"/>
11922                                                 <empty/>
11923                                         </choice>
11924                                 </attribute>
11925                         </optional>
11926                         <optional>
11927                                 <attribute name="style:list-style-name">
11928                                         <choice>
11929                                                 <ref name="styleName"/>
11930                                                 <empty/>
11931                                         </choice>
11932                                 </attribute>
11933                         </optional>
11934                         <optional>
11935                                 <attribute name="style:master-page-name">
11936                                         <ref name="styleNameRef"/>
11937                                 </attribute>
11938                         </optional>
11939                         <optional>
11940                                 <attribute name="style:auto-update">
11941                                         <ref name="boolean"/>
11942                                 </attribute>
11943                         </optional>
11944                         <optional>
11945                                 <attribute name="style:data-style-name">
11946                                         <ref name="styleNameRef"/>
11947                                 </attribute>
11948                         </optional>
11949                         <optional>
11950                                 <attribute name="style:percentage-data-style-name">
11951                                         <ref name="styleNameRef"/>
11952                                 </attribute>
11953                         </optional>
11954                         <optional>
11955                                 <attribute name="style:class">
11956                                         <ref name="string"/>
11957                                 </attribute>
11958                         </optional>
11959                         <optional>
11960                                 <attribute name="style:default-outline-level">
11961                                         <choice>
11962                                                 <ref name="positiveInteger"/>
11963                                                 <empty/>
11964                                         </choice>
11965                                 </attribute>
11966                         </optional>
11967                 </interleave>
11968         </define>
11969         <define name="style-map">
11970                 <element name="style:map">
11971                         <ref name="style-map-attlist"/>
11972                         <empty/>
11973                 </element>
11974         </define>
11975         <define name="style-map-attlist">
11976                 <interleave>
11977                         <attribute name="style:condition">
11978                                 <ref name="string"/>
11979                         </attribute>
11980                         <attribute name="style:apply-style-name">
11981                                 <ref name="styleNameRef"/>
11982                         </attribute>
11983                         <optional>
11984                                 <attribute name="style:base-cell-address">
11985                                         <ref name="cellAddress"/>
11986                                 </attribute>
11987                         </optional>
11988                 </interleave>
11989         </define>
11990         <define name="style-default-style">
11991                 <element name="style:default-style">
11992                         <ref name="style-style-content"/>
11993                 </element>
11994         </define>
11995         <define name="style-page-layout">
11996                 <element name="style:page-layout">
11997                         <ref name="style-page-layout-attlist"/>
11998                         <ref name="style-page-layout-content"/>
11999                 </element>
12000         </define>
12001         <define name="style-page-layout-content">
12002                 <optional>
12003                         <ref name="style-page-layout-properties"/>
12004                 </optional>
12005                 <optional>
12006                         <ref name="style-header-style"/>
12007                 </optional>
12008                 <optional>
12009                         <ref name="style-footer-style"/>
12010                 </optional>
12011         </define>
12012         <define name="style-page-layout-attlist">
12013                 <interleave>
12014                         <attribute name="style:name">
12015                                 <ref name="styleName"/>
12016                         </attribute>
12017                         <optional>
12018                                 <attribute name="style:page-usage">
12019                                         <choice>
12020                                                 <value>all</value>
12021                                                 <value>left</value>
12022                                                 <value>right</value>
12023                                                 <value>mirrored</value>
12024                                         </choice>
12025                                 </attribute>
12026                         </optional>
12027                 </interleave>
12028         </define>
12029         <define name="style-header-style">
12030                 <element name="style:header-style">
12031                         <optional>
12032                                 <ref name="style-header-footer-properties"/>
12033                         </optional>
12034                 </element>
12035         </define>
12036         <define name="style-footer-style">
12037                 <element name="style:footer-style">
12038                         <optional>
12039                                 <ref name="style-header-footer-properties"/>
12040                         </optional>
12041                 </element>
12042         </define>
12043         <define name="style-default-page-layout">
12044                 <element name="style:default-page-layout">
12045                         <ref name="style-page-layout-content"/>
12046                 </element>
12047         </define>
12048         <define name="style-master-page">
12049                 <element name="style:master-page">
12050                         <ref name="style-master-page-attlist"/>
12051                         <optional>
12052                                 <ref name="style-header"/>
12053                                 <optional>
12054                                         <ref name="style-header-left"/>
12055                                 </optional>
12056                         </optional>
12057                         <optional>
12058                                 <ref name="style-footer"/>
12059                                 <optional>
12060                                         <ref name="style-footer-left"/>
12061                                 </optional>
12062                         </optional>
12063                         <optional>
12064                                 <ref name="draw-layer-set"/>
12065                         </optional>
12066                         <optional>
12067                                 <ref name="office-forms"/>
12068                         </optional>
12069                         <zeroOrMore>
12070                                 <ref name="shape"/>
12071                         </zeroOrMore>
12072                         <optional>
12073                                 <ref name="animation-element"/>
12074                         </optional>
12075                         <optional>
12076                                 <ref name="presentation-notes"/>
12077                         </optional>
12078                 </element>
12079         </define>
12080         <define name="style-master-page-attlist">
12081                 <interleave>
12082                         <attribute name="style:name">
12083                                 <ref name="styleName"/>
12084                         </attribute>
12085                         <optional>
12086                                 <attribute name="style:display-name">
12087                                         <ref name="string"/>
12088                                 </attribute>
12089                         </optional>
12090                         <attribute name="style:page-layout-name">
12091                                 <ref name="styleNameRef"/>
12092                         </attribute>
12093                         <optional>
12094                                 <attribute name="draw:style-name">
12095                                         <ref name="styleNameRef"/>
12096                                 </attribute>
12097                         </optional>
12098                         <optional>
12099                                 <attribute name="style:next-style-name">
12100                                         <ref name="styleNameRef"/>
12101                                 </attribute>
12102                         </optional>
12103                 </interleave>
12104         </define>
12105         <define name="style-header">
12106                 <element name="style:header">
12107                         <ref name="common-style-header-footer-attlist"/>
12108                         <ref name="header-footer-content"/>
12109                 </element>
12110         </define>
12111         <define name="style-footer">
12112                 <element name="style:footer">
12113                         <ref name="common-style-header-footer-attlist"/>
12114                         <ref name="header-footer-content"/>
12115                 </element>
12116         </define>
12117         <define name="style-header-left">
12118                 <element name="style:header-left">
12119                         <ref name="common-style-header-footer-attlist"/>
12120                         <ref name="header-footer-content"/>
12121                 </element>
12122         </define>
12123         <define name="style-footer-left">
12124                 <element name="style:footer-left">
12125                         <ref name="common-style-header-footer-attlist"/>
12126                         <ref name="header-footer-content"/>
12127                 </element>
12128         </define>
12129         <define name="header-footer-content">
12130                 <choice>
12131                         <group>
12132                                 <ref name="text-tracked-changes"/>
12133                                 <ref name="text-decls"/>
12134                                 <zeroOrMore>
12135                                         <choice>
12136                                                 <ref name="text-h"/>
12137                                                 <ref name="text-p"/>
12138                                                 <ref name="text-list"/>
12139                                                 <ref name="table-table"/>
12140                                                 <ref name="text-section"/>
12141                                                 <ref name="text-table-of-content"/>
12142                                                 <ref name="text-illustration-index"/>
12143                                                 <ref name="text-table-index"/>
12144                                                 <ref name="text-object-index"/>
12145                                                 <ref name="text-user-index"/>
12146                                                 <ref name="text-alphabetical-index"/>
12147                                                 <ref name="text-bibliography"/>
12148                                                 <ref name="text-index-title"/>
12149                                                 <ref name="change-marks"/>
12150                                         </choice>
12151                                 </zeroOrMore>
12152                         </group>
12153                         <group>
12154                                 <optional>
12155                                         <ref name="style-region-left"/>
12156                                 </optional>
12157                                 <optional>
12158                                         <ref name="style-region-center"/>
12159                                 </optional>
12160                                 <optional>
12161                                         <ref name="style-region-right"/>
12162                                 </optional>
12163                         </group>
12164                 </choice>
12165         </define>
12166         <define name="common-style-header-footer-attlist">
12167                 <optional>
12168                         <attribute name="style:display">
12169                                 <ref name="boolean"/>
12170                         </attribute>
12171                 </optional>
12172         </define>
12173         <define name="style-region-left">
12174                 <element name="style:region-left">
12175                         <ref name="region-content"/>
12176                 </element>
12177         </define>
12178         <define name="style-region-center">
12179                 <element name="style:region-center">
12180                         <ref name="region-content"/>
12181                 </element>
12182         </define>
12183         <define name="style-region-right">
12184                 <element name="style:region-right">
12185                         <ref name="region-content"/>
12186                 </element>
12187         </define>
12188         <define name="region-content">
12189                 <zeroOrMore>
12190                         <ref name="text-p"/>
12191                 </zeroOrMore>
12192         </define>
12193         <define name="presentation-notes">
12194                 <element name="presentation:notes">
12195                         <ref name="common-presentation-header-footer-attlist"/>
12196                         <ref name="presentation-notes-attlist"/>
12197                         <ref name="office-forms"/>
12198                         <zeroOrMore>
12199                                 <ref name="shape"/>
12200                         </zeroOrMore>
12201                 </element>
12202         </define>
12203         <define name="presentation-notes-attlist">
12204                 <interleave>
12205                         <optional>
12206                                 <attribute name="style:page-layout-name">
12207                                         <ref name="styleNameRef"/>
12208                                 </attribute>
12209                         </optional>
12210                         <optional>
12211                                 <attribute name="draw:style-name">
12212                                         <ref name="styleNameRef"/>
12213                                 </attribute>
12214                         </optional>
12215                 </interleave>
12216         </define>
12217         <define name="table-table-template">
12218                 <element name="table:table-template">
12219                         <ref name="table-table-template-attlist"/>
12220                         <optional>
12221                                 <ref name="table-first-row"/>
12222                         </optional>
12223                         <optional>
12224                                 <ref name="table-last-row"/>
12225                         </optional>
12226                         <optional>
12227                                 <ref name="table-first-column"/>
12228                         </optional>
12229                         <optional>
12230                                 <ref name="table-last-column"/>
12231                         </optional>
12232                         <ref name="table-body"/>
12233                         <optional>
12234                                 <ref name="table-even-rows"/>
12235                         </optional>
12236                         <optional>
12237                                 <ref name="table-odd-rows"/>
12238                         </optional>
12239                         <optional>
12240                                 <ref name="table-even-columns"/>
12241                         </optional>
12242                         <optional>
12243                                 <ref name="table-odd-columns"/>
12244                         </optional>
12245                         <optional>
12246                                 <ref name="table-background"/>
12247                         </optional>
12248                 </element>
12249         </define>
12250         <define name="table-table-template-attlist">
12251                 <interleave>
12252                         <attribute name="table:name">
12253                                 <ref name="string"/>
12254                         </attribute>
12255                         <attribute name="table:first-row-start-column">
12256                                 <ref name="rowOrCol"/>
12257                         </attribute>
12258                         <attribute name="table:first-row-end-column">
12259                                 <ref name="rowOrCol"/>
12260                         </attribute>
12261                         <attribute name="table:last-row-start-column">
12262                                 <ref name="rowOrCol"/>
12263                         </attribute>
12264                         <attribute name="table:last-row-end-column">
12265                                 <ref name="rowOrCol"/>
12266                         </attribute>
12267                 </interleave>
12268         </define>
12269         <define name="rowOrCol">
12270                 <choice>
12271                         <value>row</value>
12272                         <value>column</value>
12273                 </choice>
12274         </define>
12275         <define name="table-first-row">
12276                 <element name="table:first-row">
12277                         <ref name="common-table-template-attlist"/>
12278                         <empty/>
12279                 </element>
12280         </define>
12281         <define name="table-last-row">
12282                 <element name="table:last-row">
12283                         <ref name="common-table-template-attlist"/>
12284                         <empty/>
12285                 </element>
12286         </define>
12287         <define name="table-first-column">
12288                 <element name="table:first-column">
12289                         <ref name="common-table-template-attlist"/>
12290                         <empty/>
12291                 </element>
12292         </define>
12293         <define name="table-last-column">
12294                 <element name="table:last-column">
12295                         <ref name="common-table-template-attlist"/>
12296                         <empty/>
12297                 </element>
12298         </define>
12299         <define name="table-body">
12300                 <element name="table:body">
12301                         <ref name="common-table-template-attlist"/>
12302                         <empty/>
12303                 </element>
12304         </define>
12305         <define name="table-even-rows">
12306                 <element name="table:even-rows">
12307                         <ref name="common-table-template-attlist"/>
12308                         <empty/>
12309                 </element>
12310         </define>
12311         <define name="table-odd-rows">
12312                 <element name="table:odd-rows">
12313                         <ref name="common-table-template-attlist"/>
12314                         <empty/>
12315                 </element>
12316         </define>
12317         <define name="table-even-columns">
12318                 <element name="table:even-columns">
12319                         <ref name="common-table-template-attlist"/>
12320                         <empty/>
12321                 </element>
12322         </define>
12323         <define name="table-odd-columns">
12324                 <element name="table:odd-columns">
12325                         <ref name="common-table-template-attlist"/>
12326                         <empty/>
12327                 </element>
12328         </define>
12329         <define name="common-table-template-attlist">
12330                 <attribute name="table:style-name">
12331                         <ref name="styleNameRef"/>
12332                 </attribute>
12333                 <optional>
12334                         <attribute name="table:paragraph-style-name">
12335                                 <ref name="styleNameRef"/>
12336                         </attribute>
12337                 </optional>
12338         </define>
12339         <define name="table-background">
12340                 <element name="table:background">
12341                         <ref name="table-background-attlist"/>
12342                         <empty/>
12343                 </element>
12344         </define>
12345         <define name="table-background-attlist">
12346                 <attribute name="table:style-name">
12347                         <ref name="styleNameRef"/>
12348                 </attribute>
12349         </define>
12350         <define name="style-font-face">
12351                 <element name="style:font-face">
12352                         <ref name="style-font-face-attlist"/>
12353                         <optional>
12354                                 <ref name="svg-font-face-src"/>
12355                         </optional>
12356                         <optional>
12357                                 <ref name="svg-definition-src"/>
12358                         </optional>
12359                 </element>
12360         </define>
12361         <define name="style-font-face-attlist">
12362                 <interleave>
12363                         <optional>
12364                                 <attribute name="svg:font-family">
12365                                         <ref name="string"/>
12366                                 </attribute>
12367                         </optional>
12368                         <optional>
12369                                 <attribute name="svg:font-style">
12370                                         <ref name="fontStyle"/>
12371                                 </attribute>
12372                         </optional>
12373                         <optional>
12374                                 <attribute name="svg:font-variant">
12375                                         <ref name="fontVariant"/>
12376                                 </attribute>
12377                         </optional>
12378                         <optional>
12379                                 <attribute name="svg:font-weight">
12380                                         <ref name="fontWeight"/>
12381                                 </attribute>
12382                         </optional>
12383                         <optional>
12384                                 <attribute name="svg:font-stretch">
12385                                         <choice>
12386                                                 <value>normal</value>
12387                                                 <value>ultra-condensed</value>
12388                                                 <value>extra-condensed</value>
12389                                                 <value>condensed</value>
12390                                                 <value>semi-condensed</value>
12391                                                 <value>semi-expanded</value>
12392                                                 <value>expanded</value>
12393                                                 <value>extra-expanded</value>
12394                                                 <value>ultra-expanded</value>
12395                                         </choice>
12396                                 </attribute>
12397                         </optional>
12398                         <optional>
12399                                 <attribute name="svg:font-size">
12400                                         <ref name="positiveLength"/>
12401                                 </attribute>
12402                         </optional>
12403                         <optional>
12404                                 <attribute name="svg:unicode-range">
12405                                         <ref name="string"/>
12406                                 </attribute>
12407                         </optional>
12408                         <optional>
12409                                 <attribute name="svg:units-per-em">
12410                                         <ref name="integer"/>
12411                                 </attribute>
12412                         </optional>
12413                         <optional>
12414                                 <attribute name="svg:panose-1">
12415                                         <ref name="string"/>
12416                                 </attribute>
12417                         </optional>
12418                         <optional>
12419                                 <attribute name="svg:stemv">
12420                                         <ref name="integer"/>
12421                                 </attribute>
12422                         </optional>
12423                         <optional>
12424                                 <attribute name="svg:stemh">
12425                                         <ref name="integer"/>
12426                                 </attribute>
12427                         </optional>
12428                         <optional>
12429                                 <attribute name="svg:slope">
12430                                         <ref name="integer"/>
12431                                 </attribute>
12432                         </optional>
12433                         <optional>
12434                                 <attribute name="svg:cap-height">
12435                                         <ref name="integer"/>
12436                                 </attribute>
12437                         </optional>
12438                         <optional>
12439                                 <attribute name="svg:x-height">
12440                                         <ref name="integer"/>
12441                                 </attribute>
12442                         </optional>
12443                         <optional>
12444                                 <attribute name="svg:accent-height">
12445                                         <ref name="integer"/>
12446                                 </attribute>
12447                         </optional>
12448                         <optional>
12449                                 <attribute name="svg:ascent">
12450                                         <ref name="integer"/>
12451                                 </attribute>
12452                         </optional>
12453                         <optional>
12454                                 <attribute name="svg:descent">
12455                                         <ref name="integer"/>
12456                                 </attribute>
12457                         </optional>
12458                         <optional>
12459                                 <attribute name="svg:widths">
12460                                         <ref name="string"/>
12461                                 </attribute>
12462                         </optional>
12463                         <optional>
12464                                 <attribute name="svg:bbox">
12465                                         <ref name="string"/>
12466                                 </attribute>
12467                         </optional>
12468                         <optional>
12469                                 <attribute name="svg:ideographic">
12470                                         <ref name="integer"/>
12471                                 </attribute>
12472                         </optional>
12473                         <optional>
12474                                 <attribute name="svg:alphabetic">
12475                                         <ref name="integer"/>
12476                                 </attribute>
12477                         </optional>
12478                         <optional>
12479                                 <attribute name="svg:mathematical">
12480                                         <ref name="integer"/>
12481                                 </attribute>
12482                         </optional>
12483                         <optional>
12484                                 <attribute name="svg:hanging">
12485                                         <ref name="integer"/>
12486                                 </attribute>
12487                         </optional>
12488                         <optional>
12489                                 <attribute name="svg:v-ideographic">
12490                                         <ref name="integer"/>
12491                                 </attribute>
12492                         </optional>
12493                         <optional>
12494                                 <attribute name="svg:v-alphabetic">
12495                                         <ref name="integer"/>
12496                                 </attribute>
12497                         </optional>
12498                         <optional>
12499                                 <attribute name="svg:v-mathematical">
12500                                         <ref name="integer"/>
12501                                 </attribute>
12502                         </optional>
12503                         <optional>
12504                                 <attribute name="svg:v-hanging">
12505                                         <ref name="integer"/>
12506                                 </attribute>
12507                         </optional>
12508                         <optional>
12509                                 <attribute name="svg:underline-position">
12510                                         <ref name="integer"/>
12511                                 </attribute>
12512                         </optional>
12513                         <optional>
12514                                 <attribute name="svg:underline-thickness">
12515                                         <ref name="integer"/>
12516                                 </attribute>
12517                         </optional>
12518                         <optional>
12519                                 <attribute name="svg:strikethrough-position">
12520                                         <ref name="integer"/>
12521                                 </attribute>
12522                         </optional>
12523                         <optional>
12524                                 <attribute name="svg:strikethrough-thickness">
12525                                         <ref name="integer"/>
12526                                 </attribute>
12527                         </optional>
12528                         <optional>
12529                                 <attribute name="svg:overline-position">
12530                                         <ref name="integer"/>
12531                                 </attribute>
12532                         </optional>
12533                         <optional>
12534                                 <attribute name="svg:overline-thickness">
12535                                         <ref name="integer"/>
12536                                 </attribute>
12537                         </optional>
12538                         <attribute name="style:name">
12539                                 <ref name="string"/>
12540                         </attribute>
12541                         <optional>
12542                                 <attribute name="style:font-adornments">
12543                                         <ref name="string"/>
12544                                 </attribute>
12545                         </optional>
12546                         <optional>
12547                                 <attribute name="style:font-family-generic">
12548                                         <ref name="fontFamilyGeneric"/>
12549                                 </attribute>
12550                         </optional>
12551                         <optional>
12552                                 <attribute name="style:font-pitch">
12553                                         <ref name="fontPitch"/>
12554                                 </attribute>
12555                         </optional>
12556                         <optional>
12557                                 <attribute name="style:font-charset">
12558                                         <ref name="textEncoding"/>
12559                                 </attribute>
12560                         </optional>
12561                 </interleave>
12562         </define>
12563         <define name="svg-font-face-src">
12564                 <element name="svg:font-face-src">
12565                         <oneOrMore>
12566                                 <choice>
12567                                         <ref name="svg-font-face-uri"/>
12568                                         <ref name="svg-font-face-name"/>
12569                                 </choice>
12570                         </oneOrMore>
12571                 </element>
12572         </define>
12573         <define name="svg-font-face-uri">
12574                 <element name="svg:font-face-uri">
12575                         <ref name="common-svg-font-face-xlink-attlist"/>
12576                         <zeroOrMore>
12577                                 <ref name="svg-font-face-format"/>
12578                         </zeroOrMore>
12579                 </element>
12580         </define>
12581         <define name="svg-font-face-format">
12582                 <element name="svg:font-face-format">
12583                         <optional>
12584                                 <attribute name="svg:string">
12585                                         <ref name="string"/>
12586                                 </attribute>
12587                         </optional>
12588                         <empty/>
12589                 </element>
12590         </define>
12591         <define name="svg-font-face-name">
12592                 <element name="svg:font-face-name">
12593                         <optional>
12594                                 <attribute name="svg:name">
12595                                         <ref name="string"/>
12596                                 </attribute>
12597                         </optional>
12598                         <empty/>
12599                 </element>
12600         </define>
12601         <define name="svg-definition-src">
12602                 <element name="svg:definition-src">
12603                         <ref name="common-svg-font-face-xlink-attlist"/>
12604                         <empty/>
12605                 </element>
12606         </define>
12607         <define name="common-svg-font-face-xlink-attlist">
12608                 <attribute name="xlink:type">
12609                         <value>simple</value>
12610                 </attribute>
12611                 <attribute name="xlink:href">
12612                         <ref name="anyIRI"/>
12613                 </attribute>
12614                 <optional>
12615                         <attribute name="xlink:actuate">
12616                                 <value>onRequest</value>
12617                         </attribute>
12618                 </optional>
12619         </define>
12620         <define name="number-number-style">
12621                 <element name="number:number-style">
12622                         <ref name="common-data-style-attlist"/>
12623                         <optional>
12624                                 <ref name="style-text-properties"/>
12625                         </optional>
12626                         <optional>
12627                                 <ref name="number-text"/>
12628                         </optional>
12629                         <optional>
12630                                 <ref name="any-number"/>
12631                                 <optional>
12632                                         <ref name="number-text"/>
12633                                 </optional>
12634                         </optional>
12635                         <zeroOrMore>
12636                                 <ref name="style-map"/>
12637                         </zeroOrMore>
12638                 </element>
12639         </define>
12640         <define name="any-number">
12641                 <choice>
12642                         <ref name="number-number"/>
12643                         <ref name="number-scientific-number"/>
12644                         <ref name="number-fraction"/>
12645                 </choice>
12646         </define>
12647         <define name="number-number">
12648                 <element name="number:number">
12649                         <ref name="number-number-attlist"/>
12650                         <ref name="common-decimal-places-attlist"/>
12651                         <ref name="common-number-attlist"/>
12652                         <zeroOrMore>
12653                                 <ref name="number-embedded-text"/>
12654                         </zeroOrMore>
12655                 </element>
12656         </define>
12657         <define name="number-number-attlist">
12658                 <interleave>
12659                         <optional>
12660                                 <attribute name="number:decimal-replacement">
12661                                         <ref name="string"/>
12662                                 </attribute>
12663                         </optional>
12664                         <optional>
12665                                 <attribute name="number:display-factor">
12666                                         <ref name="double"/>
12667                                 </attribute>
12668                         </optional>
12669                 </interleave>
12670         </define>
12671         <define name="number-embedded-text">
12672                 <element name="number:embedded-text">
12673                         <ref name="number-embedded-text-attlist"/>
12674                         <text/>
12675                 </element>
12676         </define>
12677         <define name="number-embedded-text-attlist">
12678                 <attribute name="number:position">
12679                         <ref name="integer"/>
12680                 </attribute>
12681         </define>
12682         <define name="number-scientific-number">
12683                 <element name="number:scientific-number">
12684                         <ref name="number-scientific-number-attlist"/>
12685                         <ref name="common-decimal-places-attlist"/>
12686                         <ref name="common-number-attlist"/>
12687                         <empty/>
12688                 </element>
12689         </define>
12690         <define name="number-scientific-number-attlist">
12691                 <optional>
12692                         <attribute name="number:min-exponent-digits">
12693                                 <ref name="integer"/>
12694                         </attribute>
12695                 </optional>
12696         </define>
12697         <define name="number-fraction">
12698                 <element name="number:fraction">
12699                         <ref name="number-fraction-attlist"/>
12700                         <ref name="common-number-attlist"/>
12701                         <empty/>
12702                 </element>
12703         </define>
12704         <define name="number-fraction-attlist">
12705                 <interleave>
12706                         <optional>
12707                                 <attribute name="number:min-numerator-digits">
12708                                         <ref name="integer"/>
12709                                 </attribute>
12710                         </optional>
12711                         <optional>
12712                                 <attribute name="number:min-denominator-digits">
12713                                         <ref name="integer"/>
12714                                 </attribute>
12715                         </optional>
12716                         <optional>
12717                                 <attribute name="number:denominator-value">
12718                                         <ref name="integer"/>
12719                                 </attribute>
12720                         </optional>
12721                 </interleave>
12722         </define>
12723         <define name="number-currency-style">
12724                 <element name="number:currency-style">
12725                         <ref name="common-data-style-attlist"/>
12726                         <ref name="common-auto-reorder-attlist"/>
12727                         <optional>
12728                                 <ref name="style-text-properties"/>
12729                         </optional>
12730                         <optional>
12731                                 <ref name="number-text"/>
12732                         </optional>
12733                         <optional>
12734                                 <choice>
12735                                         <group>
12736                                                 <ref name="number-and-text"/>
12737                                                 <optional>
12738                                                         <ref name="currency-symbol-and-text"/>
12739                                                 </optional>
12740                                         </group>
12741                                         <group>
12742                                                 <ref name="currency-symbol-and-text"/>
12743                                                 <optional>
12744                                                         <ref name="number-and-text"/>
12745                                                 </optional>
12746                                         </group>
12747                                 </choice>
12748                         </optional>
12749                         <zeroOrMore>
12750                                 <ref name="style-map"/>
12751                         </zeroOrMore>
12752                 </element>
12753         </define>
12754         <define name="currency-symbol-and-text">
12755                 <ref name="number-currency-symbol"/>
12756                 <optional>
12757                         <ref name="number-text"/>
12758                 </optional>
12759         </define>
12760         <define name="number-and-text">
12761                 <ref name="number-number"/>
12762                 <optional>
12763                         <ref name="number-text"/>
12764                 </optional>
12765         </define>
12766         <define name="number-currency-symbol">
12767                 <element name="number:currency-symbol">
12768                         <ref name="number-currency-symbol-attlist"/>
12769                         <text/>
12770                 </element>
12771         </define>
12772         <define name="number-currency-symbol-attlist">
12773                 <optional>
12774                         <attribute name="number:language">
12775                                 <ref name="languageCode"/>
12776                         </attribute>
12777                 </optional>
12778                 <optional>
12779                         <attribute name="number:country">
12780                                 <ref name="countryCode"/>
12781                         </attribute>
12782                 </optional>
12783                 <optional>
12784                         <attribute name="number:script">
12785                                 <ref name="scriptCode"/>
12786                         </attribute>
12787                 </optional>
12788                 <optional>
12789                         <attribute name="number:rfc-language-tag">
12790                                 <ref name="language"/>
12791                         </attribute>
12792                 </optional>
12793         </define>
12794         <define name="number-percentage-style">
12795                 <element name="number:percentage-style">
12796                         <ref name="common-data-style-attlist"/>
12797                         <optional>
12798                                 <ref name="style-text-properties"/>
12799                         </optional>
12800                         <optional>
12801                                 <ref name="number-text"/>
12802                         </optional>
12803                         <optional>
12804                                 <ref name="number-and-text"/>
12805                         </optional>
12806                         <zeroOrMore>
12807                                 <ref name="style-map"/>
12808                         </zeroOrMore>
12809                 </element>
12810         </define>
12811         <define name="number-date-style">
12812                 <element name="number:date-style">
12813                         <ref name="common-data-style-attlist"/>
12814                         <ref name="common-auto-reorder-attlist"/>
12815                         <ref name="common-format-source-attlist"/>
12816                         <optional>
12817                                 <ref name="style-text-properties"/>
12818                         </optional>
12819                         <optional>
12820                                 <ref name="number-text"/>
12821                         </optional>
12822                         <oneOrMore>
12823                                 <ref name="any-date"/>
12824                                 <optional>
12825                                         <ref name="number-text"/>
12826                                 </optional>
12827                         </oneOrMore>
12828                         <zeroOrMore>
12829                                 <ref name="style-map"/>
12830                         </zeroOrMore>
12831                 </element>
12832         </define>
12833         <define name="any-date">
12834                 <choice>
12835                         <ref name="number-day"/>
12836                         <ref name="number-month"/>
12837                         <ref name="number-year"/>
12838                         <ref name="number-era"/>
12839                         <ref name="number-day-of-week"/>
12840                         <ref name="number-week-of-year"/>
12841                         <ref name="number-quarter"/>
12842                         <ref name="number-hours"/>
12843                         <ref name="number-am-pm"/>
12844                         <ref name="number-minutes"/>
12845                         <ref name="number-seconds"/>
12846                 </choice>
12847         </define>
12848         <define name="number-day">
12849                 <element name="number:day">
12850                         <ref name="number-day-attlist"/>
12851                         <ref name="common-calendar-attlist"/>
12852                         <empty/>
12853                 </element>
12854         </define>
12855         <define name="number-day-attlist">
12856                 <optional>
12857                         <attribute name="number:style">
12858                                 <choice>
12859                                         <value>short</value>
12860                                         <value>long</value>
12861                                 </choice>
12862                         </attribute>
12863                 </optional>
12864         </define>
12865         <define name="number-month">
12866                 <element name="number:month">
12867                         <ref name="number-month-attlist"/>
12868                         <ref name="common-calendar-attlist"/>
12869                         <empty/>
12870                 </element>
12871         </define>
12872         <define name="number-month-attlist">
12873                 <interleave>
12874                         <optional>
12875                                 <attribute name="number:textual">
12876                                         <ref name="boolean"/>
12877                                 </attribute>
12878                         </optional>
12879                         <optional>
12880                                 <attribute name="number:possessive-form">
12881                                         <ref name="boolean"/>
12882                                 </attribute>
12883                         </optional>
12884                         <optional>
12885                                 <attribute name="number:style">
12886                                         <choice>
12887                                                 <value>short</value>
12888                                                 <value>long</value>
12889                                         </choice>
12890                                 </attribute>
12891                         </optional>
12892                         <optional>
12893                                 <attribute name="calligra:number-length">
12894                                         <choice>
12895                                                 <value>extra-short</value>
12896                                         </choice>
12897                                 </attribute>
12898                         </optional>
12899                 </interleave>
12900         </define>
12901         <define name="number-year">
12902                 <element name="number:year">
12903                         <ref name="number-year-attlist"/>
12904                         <ref name="common-calendar-attlist"/>
12905                         <empty/>
12906                 </element>
12907         </define>
12908         <define name="number-year-attlist">
12909                 <optional>
12910                         <attribute name="number:style">
12911                                 <choice>
12912                                         <value>short</value>
12913                                         <value>long</value>
12914                                 </choice>
12915                         </attribute>
12916                 </optional>
12917         </define>
12918         <define name="number-era">
12919                 <element name="number:era">
12920                         <ref name="number-era-attlist"/>
12921                         <ref name="common-calendar-attlist"/>
12922                         <empty/>
12923                 </element>
12924         </define>
12925         <define name="number-era-attlist">
12926                 <optional>
12927                         <attribute name="number:style">
12928                                 <choice>
12929                                         <value>short</value>
12930                                         <value>long</value>
12931                                 </choice>
12932                         </attribute>
12933                 </optional>
12934         </define>
12935         <define name="number-day-of-week">
12936                 <element name="number:day-of-week">
12937                         <ref name="number-day-of-week-attlist"/>
12938                         <ref name="common-calendar-attlist"/>
12939                         <empty/>
12940                 </element>
12941         </define>
12942         <define name="number-day-of-week-attlist">
12943                 <optional>
12944                         <attribute name="number:style">
12945                                 <choice>
12946                                         <value>short</value>
12947                                         <value>long</value>
12948                                 </choice>
12949                         </attribute>
12950                 </optional>
12951         </define>
12952         <define name="number-week-of-year">
12953                 <element name="number:week-of-year">
12954                         <ref name="common-calendar-attlist"/>
12955                         <empty/>
12956                 </element>
12957         </define>
12958         <define name="number-quarter">
12959                 <element name="number:quarter">
12960                         <ref name="number-quarter-attlist"/>
12961                         <ref name="common-calendar-attlist"/>
12962                         <empty/>
12963                 </element>
12964         </define>
12965         <define name="number-quarter-attlist">
12966                 <optional>
12967                         <attribute name="number:style">
12968                                 <choice>
12969                                         <value>short</value>
12970                                         <value>long</value>
12971                                 </choice>
12972                         </attribute>
12973                 </optional>
12974         </define>
12975         <define name="number-time-style">
12976                 <element name="number:time-style">
12977                         <ref name="number-time-style-attlist"/>
12978                         <ref name="common-data-style-attlist"/>
12979                         <ref name="common-format-source-attlist"/>
12980                         <optional>
12981                                 <ref name="style-text-properties"/>
12982                         </optional>
12983                         <optional>
12984                                 <ref name="number-text"/>
12985                         </optional>
12986                         <oneOrMore>
12987                                 <ref name="any-time"/>
12988                                 <optional>
12989                                         <ref name="number-text"/>
12990                                 </optional>
12991                         </oneOrMore>
12992                         <zeroOrMore>
12993                                 <ref name="style-map"/>
12994                         </zeroOrMore>
12995                 </element>
12996         </define>
12997         <define name="any-time">
12998                 <choice>
12999                         <ref name="number-hours"/>
13000                         <ref name="number-am-pm"/>
13001                         <ref name="number-minutes"/>
13002                         <ref name="number-seconds"/>
13003                 </choice>
13004         </define>
13005         <define name="number-time-style-attlist">
13006                 <optional>
13007                         <attribute name="number:truncate-on-overflow">
13008                                 <ref name="boolean"/>
13009                         </attribute>
13010                 </optional>
13011         </define>
13012         <define name="number-hours">
13013                 <element name="number:hours">
13014                         <ref name="number-hours-attlist"/>
13015                         <empty/>
13016                 </element>
13017         </define>
13018         <define name="number-hours-attlist">
13019                 <optional>
13020                         <attribute name="number:style">
13021                                 <choice>
13022                                         <value>short</value>
13023                                         <value>long</value>
13024                                 </choice>
13025                         </attribute>
13026                 </optional>
13027         </define>
13028         <define name="number-minutes">
13029                 <element name="number:minutes">
13030                         <ref name="number-minutes-attlist"/>
13031                         <empty/>
13032                 </element>
13033         </define>
13034         <define name="number-minutes-attlist">
13035                 <optional>
13036                         <attribute name="number:style">
13037                                 <choice>
13038                                         <value>short</value>
13039                                         <value>long</value>
13040                                 </choice>
13041                         </attribute>
13042                 </optional>
13043         </define>
13044         <define name="number-seconds">
13045                 <element name="number:seconds">
13046                         <ref name="number-seconds-attlist"/>
13047                         <empty/>
13048                 </element>
13049         </define>
13050         <define name="number-seconds-attlist">
13051                 <interleave>
13052                         <optional>
13053                                 <attribute name="number:style">
13054                                         <choice>
13055                                                 <value>short</value>
13056                                                 <value>long</value>
13057                                         </choice>
13058                                 </attribute>
13059                         </optional>
13060                         <optional>
13061                                 <attribute name="number:decimal-places">
13062                                         <ref name="integer"/>
13063                                 </attribute>
13064                         </optional>
13065                 </interleave>
13066         </define>
13067         <define name="number-am-pm">
13068                 <element name="number:am-pm">
13069                         <empty/>
13070                 </element>
13071         </define>
13072         <define name="number-boolean-style">
13073                 <element name="number:boolean-style">
13074                         <ref name="common-data-style-attlist"/>
13075                         <optional>
13076                                 <ref name="style-text-properties"/>
13077                         </optional>
13078                         <optional>
13079                                 <ref name="number-text"/>
13080                         </optional>
13081                         <optional>
13082                                 <ref name="number-boolean"/>
13083                                 <optional>
13084                                         <ref name="number-text"/>
13085                                 </optional>
13086                         </optional>
13087                         <zeroOrMore>
13088                                 <ref name="style-map"/>
13089                         </zeroOrMore>
13090                 </element>
13091         </define>
13092         <define name="number-boolean">
13093                 <element name="number:boolean">
13094                         <empty/>
13095                 </element>
13096         </define>
13097         <define name="number-text-style">
13098                 <element name="number:text-style">
13099                         <ref name="common-data-style-attlist"/>
13100                         <optional>
13101                                 <ref name="style-text-properties"/>
13102                         </optional>
13103                         <optional>
13104                                 <ref name="number-text"/>
13105                         </optional>
13106                         <zeroOrMore>
13107                                 <ref name="number-text-content"/>
13108                                 <optional>
13109                                         <ref name="number-text"/>
13110                                 </optional>
13111                         </zeroOrMore>
13112                         <zeroOrMore>
13113                                 <ref name="style-map"/>
13114                         </zeroOrMore>
13115                 </element>
13116         </define>
13117         <define name="number-text">
13118                 <element name="number:text">
13119                         <text/>
13120                 </element>
13121         </define>
13122         <define name="number-text-content">
13123                 <element name="number:text-content">
13124                         <empty/>
13125                 </element>
13126         </define>
13127         <define name="common-data-style-attlist">
13128                 <interleave>
13129                         <attribute name="style:name">
13130                                 <ref name="styleName"/>
13131                         </attribute>
13132                         <optional>
13133                                 <attribute name="style:display-name">
13134                                         <ref name="string"/>
13135                                 </attribute>
13136                         </optional>
13137                         <optional>
13138                                 <attribute name="number:language">
13139                                         <ref name="languageCode"/>
13140                                 </attribute>
13141                         </optional>
13142                         <optional>
13143                                 <attribute name="number:country">
13144                                         <ref name="countryCode"/>
13145                                 </attribute>
13146                         </optional>
13147                         <optional>
13148                                 <attribute name="number:script">
13149                                         <ref name="scriptCode"/>
13150                                 </attribute>
13151                         </optional>
13152                         <optional>
13153                                 <attribute name="number:rfc-language-tag">
13154                                         <ref name="language"/>
13155                                 </attribute>
13156                         </optional>
13157                         <optional>
13158                                 <attribute name="number:title">
13159                                         <ref name="string"/>
13160                                 </attribute>
13161                         </optional>
13162                         <optional>
13163                                 <attribute name="style:volatile">
13164                                         <ref name="boolean"/>
13165                                 </attribute>
13166                         </optional>
13167                         <optional>
13168                                 <attribute name="number:transliteration-format">
13169                                         <ref name="string"/>
13170                                 </attribute>
13171                         </optional>
13172                         <optional>
13173                                 <attribute name="number:transliteration-language">
13174                                         <ref name="countryCode"/>
13175                                 </attribute>
13176                         </optional>
13177                         <optional>
13178                                 <attribute name="number:transliteration-country">
13179                                         <ref name="countryCode"/>
13180                                 </attribute>
13181                         </optional>
13182                         <optional>
13183                                 <attribute name="number:transliteration-style">
13184                                         <choice>
13185                                                 <value>short</value>
13186                                                 <value>medium</value>
13187                                                 <value>long</value>
13188                                         </choice>
13189                                 </attribute>
13190                         </optional>
13191                 </interleave>
13192         </define>
13193         <define name="common-auto-reorder-attlist">
13194                 <optional>
13195                         <attribute name="number:automatic-order">
13196                                 <ref name="boolean"/>
13197                         </attribute>
13198                 </optional>
13199         </define>
13200         <define name="common-format-source-attlist">
13201                 <optional>
13202                         <attribute name="number:format-source">
13203                                 <choice>
13204                                         <value>fixed</value>
13205                                         <value>language</value>
13206                                 </choice>
13207                         </attribute>
13208                 </optional>
13209         </define>
13210         <define name="common-decimal-places-attlist">
13211                 <optional>
13212                         <attribute name="number:decimal-places">
13213                                 <ref name="integer"/>
13214                         </attribute>
13215                 </optional>
13216         </define>
13217         <define name="common-number-attlist">
13218                 <interleave>
13219                         <optional>
13220                                 <attribute name="number:min-integer-digits">
13221                                         <ref name="integer"/>
13222                                 </attribute>
13223                         </optional>
13224                         <optional>
13225                                 <attribute name="number:grouping">
13226                                         <ref name="boolean"/>
13227                                 </attribute>
13228                         </optional>
13229                 </interleave>
13230         </define>
13231         <define name="common-calendar-attlist">
13232                 <optional>
13233                         <attribute name="number:calendar">
13234                                 <choice>
13235                                         <value>gregorian</value>
13236                                         <value>gengou</value>
13237                                         <value>ROC</value>
13238                                         <value>hanja_yoil</value>
13239                                         <value>hanja</value>
13240                                         <value>hijri</value>
13241                                         <value>jewish</value>
13242                                         <value>buddhist</value>
13243                                         <ref name="string"/>
13244                                 </choice>
13245                         </attribute>
13246                 </optional>
13247         </define>
13248         <define name="style-style-content">
13249                 <choice>
13250                         <group>
13251                                 <attribute name="style:family">
13252                                         <value>text</value>
13253                                 </attribute>
13254                                 <optional>
13255                                         <ref name="style-text-properties"/>
13256                                 </optional>
13257                         </group>
13258                         <group>
13259                                 <attribute name="style:family">
13260                                         <value>paragraph</value>
13261                                 </attribute>
13262                                 <optional>
13263                                         <ref name="style-paragraph-properties"/>
13264                                 </optional>
13265                                 <optional>
13266                                         <ref name="style-text-properties"/>
13267                                 </optional>
13268                         </group>
13269                         <group>
13270                                 <attribute name="style:family">
13271                                         <value>section</value>
13272                                 </attribute>
13273                                 <optional>
13274                                         <ref name="style-section-properties"/>
13275                                 </optional>
13276                         </group>
13277                         <group>
13278                                 <attribute name="style:family">
13279                                         <value>ruby</value>
13280                                 </attribute>
13281                                 <optional>
13282                                         <ref name="style-ruby-properties"/>
13283                                 </optional>
13284                         </group>
13285                         <group>
13286                                 <attribute name="style:family">
13287                                         <value>table</value>
13288                                 </attribute>
13289                                 <optional>
13290                                         <ref name="style-table-properties"/>
13291                                 </optional>
13292                         </group>
13293                         <group>
13294                                 <attribute name="style:family">
13295                                         <value>table-column</value>
13296                                 </attribute>
13297                                 <optional>
13298                                         <ref name="style-table-column-properties"/>
13299                                 </optional>
13300                         </group>
13301                         <group>
13302                                 <attribute name="style:family">
13303                                         <value>table-row</value>
13304                                 </attribute>
13305                                 <optional>
13306                                         <ref name="style-table-row-properties"/>
13307                                 </optional>
13308                         </group>
13309                         <group>
13310                                 <attribute name="style:family">
13311                                         <value>table-cell</value>
13312                                 </attribute>
13313                                 <optional>
13314                                         <ref name="style-table-cell-properties"/>
13315                                 </optional>
13316                                 <optional>
13317                                         <ref name="style-paragraph-properties"/>
13318                                 </optional>
13319                                 <optional>
13320                                         <ref name="style-text-properties"/>
13321                                 </optional>
13322                         </group>
13323                         <group>
13324                                 <attribute name="style:family">
13325                                         <choice>
13326                                                 <value>graphic</value>
13327                                                 <value>presentation</value>
13328                                         </choice>
13329                                 </attribute>
13330                                 <optional>
13331                                         <ref name="style-graphic-properties"/>
13332                                 </optional>
13333                                 <optional>
13334                                         <ref name="style-paragraph-properties"/>
13335                                 </optional>
13336                                 <optional>
13337                                         <ref name="style-text-properties"/>
13338                                 </optional>
13339                         </group>
13340                         <group>
13341                                 <attribute name="style:family">
13342                                         <value>drawing-page</value>
13343                                 </attribute>
13344                                 <optional>
13345                                         <ref name="style-drawing-page-properties"/>
13346                                 </optional>
13347                         </group>
13348                         <group>
13349                                 <attribute name="style:family">
13350                                         <value>chart</value>
13351                                 </attribute>
13352                                 <optional>
13353                                         <ref name="style-chart-properties"/>
13354                                 </optional>
13355                                 <optional>
13356                                         <ref name="style-graphic-properties"/>
13357                                 </optional>
13358                                 <optional>
13359                                         <ref name="style-paragraph-properties"/>
13360                                 </optional>
13361                                 <optional>
13362                                         <ref name="style-text-properties"/>
13363                                 </optional>
13364                         </group>
13365                 </choice>
13366         </define>
13367         <define name="text-linenumbering-configuration">
13368                 <element name="text:linenumbering-configuration">
13369                         <ref name="text-linenumbering-configuration-attlist"/>
13370                         <optional>
13371                                 <ref name="text-linenumbering-separator"/>
13372                         </optional>
13373                 </element>
13374         </define>
13375         <define name="text-linenumbering-configuration-attlist">
13376                 <interleave>
13377                         <optional>
13378                                 <attribute name="text:number-lines">
13379                                         <ref name="boolean"/>
13380                                 </attribute>
13381                         </optional>
13382                         <optional>
13383                                 <ref name="common-num-format-attlist"/>
13384                         </optional>
13385                         <optional>
13386                                 <attribute name="text:style-name">
13387                                         <ref name="styleNameRef"/>
13388                                 </attribute>
13389                         </optional>
13390                         <optional>
13391                                 <attribute name="text:increment">
13392                                         <ref name="nonNegativeInteger"/>
13393                                 </attribute>
13394                         </optional>
13395                         <optional>
13396                                 <attribute name="text:number-position">
13397                                         <choice>
13398                                                 <value>left</value>
13399                                                 <value>right</value>
13400                                                 <value>inner</value>
13401                                                 <value>outer</value>
13402                                         </choice>
13403                                 </attribute>
13404                         </optional>
13405                         <optional>
13406                                 <attribute name="text:offset">
13407                                         <ref name="nonNegativeLength"/>
13408                                 </attribute>
13409                         </optional>
13410                         <optional>
13411                                 <attribute name="text:count-empty-lines">
13412                                         <ref name="boolean"/>
13413                                 </attribute>
13414                         </optional>
13415                         <optional>
13416                                 <attribute name="text:count-in-text-boxes">
13417                                         <ref name="boolean"/>
13418                                 </attribute>
13419                         </optional>
13420                         <optional>
13421                                 <attribute name="text:restart-on-page">
13422                                         <ref name="boolean"/>
13423                                 </attribute>
13424                         </optional>
13425                 </interleave>
13426         </define>
13427         <define name="text-linenumbering-separator">
13428                 <element name="text:linenumbering-separator">
13429                         <optional>
13430                                 <attribute name="text:increment">
13431                                         <ref name="nonNegativeInteger"/>
13432                                 </attribute>
13433                         </optional>
13434                         <text/>
13435                 </element>
13436         </define>
13437         <define name="text-notes-configuration">
13438                 <element name="text:notes-configuration">
13439                         <ref name="text-notes-configuration-content"/>
13440                 </element>
13441         </define>
13442         <define name="text-notes-configuration-content">
13443                 <interleave>
13444                         <ref name="text-note-class"/>
13445                         <optional>
13446                                 <attribute name="text:citation-style-name">
13447                                         <ref name="styleNameRef"/>
13448                                 </attribute>
13449                         </optional>
13450                         <optional>
13451                                 <attribute name="text:citation-body-style-name">
13452                                         <ref name="styleNameRef"/>
13453                                 </attribute>
13454                         </optional>
13455                         <optional>
13456                                 <attribute name="text:default-style-name">
13457                                         <ref name="styleNameRef"/>
13458                                 </attribute>
13459                         </optional>
13460                         <optional>
13461                                 <attribute name="text:master-page-name">
13462                                         <ref name="styleNameRef"/>
13463                                 </attribute>
13464                         </optional>
13465                         <optional>
13466                                 <attribute name="text:start-value">
13467                                         <ref name="nonNegativeInteger"/>
13468                                 </attribute>
13469                         </optional>
13470                         <ref name="common-num-format-prefix-suffix-attlist"/>
13471                         <optional>
13472                                 <ref name="common-num-format-attlist"/>
13473                         </optional>
13474                         <optional>
13475                                 <attribute name="text:start-numbering-at">
13476                                         <choice>
13477                                                 <value>document</value>
13478                                                 <value>chapter</value>
13479                                                 <value>page</value>
13480                                         </choice>
13481                                 </attribute>
13482                         </optional>
13483                         <optional>
13484                                 <attribute name="text:footnotes-position">
13485                                         <choice>
13486                                                 <value>text</value>
13487                                                 <value>page</value>
13488                                                 <value>section</value>
13489                                                 <value>document</value>
13490                                         </choice>
13491                                 </attribute>
13492                         </optional>
13493                         <optional>
13494                                 <element name="text:note-continuation-notice-forward">
13495                                         <text/>
13496                                 </element>
13497                         </optional>
13498                         <optional>
13499                                 <element name="text:note-continuation-notice-backward">
13500                                         <text/>
13501                                 </element>
13502                         </optional>
13503                 </interleave>
13504         </define>
13505         <define name="text-bibliography-configuration">
13506                 <element name="text:bibliography-configuration">
13507                         <ref name="text-bibliography-configuration-attlist"/>
13508                         <zeroOrMore>
13509                                 <ref name="text-sort-key"/>
13510                         </zeroOrMore>
13511                 </element>
13512         </define>
13513         <define name="text-bibliography-configuration-attlist">
13514                 <interleave>
13515                         <optional>
13516                                 <attribute name="text:prefix">
13517                                         <ref name="string"/>
13518                                 </attribute>
13519                         </optional>
13520                         <optional>
13521                                 <attribute name="text:suffix">
13522                                         <ref name="string"/>
13523                                 </attribute>
13524                         </optional>
13525                         <optional>
13526                                 <attribute name="text:numbered-entries">
13527                                         <ref name="boolean"/>
13528                                 </attribute>
13529                         </optional>
13530                         <optional>
13531                                 <attribute name="text:sort-by-position">
13532                                         <ref name="boolean"/>
13533                                 </attribute>
13534                         </optional>
13535                         <optional>
13536                                 <attribute name="fo:language">
13537                                         <ref name="languageCode"/>
13538                                 </attribute>
13539                         </optional>
13540                         <optional>
13541                                 <attribute name="fo:country">
13542                                         <ref name="countryCode"/>
13543                                 </attribute>
13544                         </optional>
13545                         <optional>
13546                                 <attribute name="fo:script">
13547                                         <ref name="scriptCode"/>
13548                                 </attribute>
13549                         </optional>
13550                         <optional>
13551                                 <attribute name="style:rfc-language-tag">
13552                                         <ref name="language"/>
13553                                 </attribute>
13554                         </optional>
13555                         <optional>
13556                                 <attribute name="text:sort-algorithm">
13557                                         <ref name="string"/>
13558                                 </attribute>
13559                         </optional>
13560                 </interleave>
13561         </define>
13562         <define name="text-sort-key">
13563                 <element name="text:sort-key">
13564                         <ref name="text-sort-key-attlist"/>
13565                         <empty/>
13566                 </element>
13567         </define>
13568         <define name="text-sort-key-attlist">
13569                 <attribute name="text:key">
13570                         <choice>
13571                                 <value>address</value>
13572                                 <value>annote</value>
13573                                 <value>author</value>
13574                                 <value>bibliography-type</value>
13575                                 <value>booktitle</value>
13576                                 <value>chapter</value>
13577                                 <value>custom1</value>
13578                                 <value>custom2</value>
13579                                 <value>custom3</value>
13580                                 <value>custom4</value>
13581                                 <value>custom5</value>
13582                                 <value>edition</value>
13583                                 <value>editor</value>
13584                                 <value>howpublished</value>
13585                                 <value>identifier</value>
13586                                 <value>institution</value>
13587                                 <value>isbn</value>
13588                                 <value>issn</value>
13589                                 <value>journal</value>
13590                                 <value>month</value>
13591                                 <value>note</value>
13592                                 <value>number</value>
13593                                 <value>organizations</value>
13594                                 <value>pages</value>
13595                                 <value>publisher</value>
13596                                 <value>report-type</value>
13597                                 <value>school</value>
13598                                 <value>series</value>
13599                                 <value>title</value>
13600                                 <value>url</value>
13601                                 <value>volume</value>
13602                                 <value>year</value>
13603                         </choice>
13604                 </attribute>
13605                 <optional>
13606                         <attribute name="text:sort-ascending">
13607                                 <ref name="boolean"/>
13608                         </attribute>
13609                 </optional>
13610         </define>
13611         <define name="text-list-style">
13612                 <element name="text:list-style">
13613                         <ref name="text-list-style-attr"/>
13614                         <zeroOrMore>
13615                                 <ref name="text-list-style-content"/>
13616                         </zeroOrMore>
13617                 </element>
13618         </define>
13619         <define name="text-list-style-attr">
13620                 <interleave>
13621                         <attribute name="style:name">
13622                                 <ref name="styleName"/>
13623                         </attribute>
13624                         <optional>
13625                                 <attribute name="style:display-name">
13626                                         <ref name="string"/>
13627                                 </attribute>
13628                         </optional>
13629                         <optional>
13630                                 <attribute name="text:consecutive-numbering">
13631                                         <ref name="boolean"/>
13632                                 </attribute>
13633                         </optional>
13634                 </interleave>
13635         </define>
13636         <define name="text-list-style-content">
13637                 <choice>
13638                         <element name="text:list-level-style-number">
13639                                 <ref name="text-list-level-style-attr"/>
13640                                 <ref name="text-list-level-style-number-attr"/>
13641                                 <optional>
13642                                         <ref name="style-list-level-properties"/>
13643                                 </optional>
13644                                 <optional>
13645                                         <ref name="style-text-properties"/>
13646                                 </optional>
13647                         </element>
13648                         <element name="text:list-level-style-bullet">
13649                                 <ref name="text-list-level-style-attr"/>
13650                                 <ref name="text-list-level-style-bullet-attr"/>
13651                                 <optional>
13652                                         <ref name="style-list-level-properties"/>
13653                                 </optional>
13654                                 <optional>
13655                                         <ref name="style-text-properties"/>
13656                                 </optional>
13657                         </element>
13658                         <element name="text:list-level-style-image">
13659                                 <ref name="text-list-level-style-attr"/>
13660                                 <ref name="text-list-level-style-image-attr"/>
13661                                 <optional>
13662                                         <ref name="style-list-level-properties"/>
13663                                 </optional>
13664                         </element>
13665                 </choice>
13666         </define>
13667         <define name="text-list-level-style-number-attr">
13668                 <interleave>
13669                         <optional>
13670                                 <attribute name="text:style-name">
13671                                         <ref name="styleNameRef"/>
13672                                 </attribute>
13673                         </optional>
13674                         <ref name="common-num-format-attlist"/>
13675                         <ref name="common-num-format-prefix-suffix-attlist"/>
13676                         <optional>
13677                                 <attribute name="text:display-levels">
13678                                         <ref name="positiveInteger"/>
13679                                 </attribute>
13680                         </optional>
13681                         <optional>
13682                                 <attribute name="text:start-value">
13683                                         <ref name="positiveInteger"/>
13684                                 </attribute>
13685                         </optional>
13686                 </interleave>
13687         </define>
13688         <define name="text-list-level-style-bullet-attr">
13689                 <interleave>
13690                         <optional>
13691                                 <attribute name="text:style-name">
13692                                         <ref name="styleNameRef"/>
13693                                 </attribute>
13694                         </optional>
13695                         <attribute name="text:bullet-char">
13696                                 <ref name="character"/>
13697                         </attribute>
13698                         <ref name="common-num-format-prefix-suffix-attlist"/>
13699                         <optional>
13700                                 <attribute name="text:bullet-relative-size">
13701                                         <ref name="percent"/>
13702                                 </attribute>
13703                         </optional>
13704                 </interleave>
13705         </define>
13706         <define name="text-list-level-style-image-attr">
13707                 <choice>
13708                         <ref name="common-draw-data-attlist"/>
13709                         <ref name="office-binary-data"/>
13710                 </choice>
13711         </define>
13712         <define name="text-list-level-style-attr">
13713                 <attribute name="text:level">
13714                         <ref name="positiveInteger"/>
13715                 </attribute>
13716         </define>
13717         <define name="text-outline-style">
13718                 <element name="text:outline-style">
13719                         <ref name="text-outline-style-attr"/>
13720                         <oneOrMore>
13721                                 <ref name="text-outline-level-style"/>
13722                         </oneOrMore>
13723                 </element>
13724         </define>
13725         <define name="text-outline-style-attr">
13726                 <attribute name="style:name">
13727                         <ref name="styleName"/>
13728                 </attribute>
13729         </define>
13730         <define name="text-outline-level-style">
13731                 <element name="text:outline-level-style">
13732                         <ref name="text-outline-level-style-attlist"/>
13733                         <optional>
13734                                 <ref name="style-list-level-properties"/>
13735                         </optional>
13736                         <optional>
13737                                 <ref name="style-text-properties"/>
13738                         </optional>
13739                 </element>
13740         </define>
13741         <define name="text-outline-level-style-attlist">
13742                 <interleave>
13743                         <attribute name="text:level">
13744                                 <ref name="positiveInteger"/>
13745                         </attribute>
13746                         <optional>
13747                                 <attribute name="text:style-name">
13748                                         <ref name="styleNameRef"/>
13749                                 </attribute>
13750                         </optional>
13751                         <ref name="common-num-format-attlist"/>
13752                         <ref name="common-num-format-prefix-suffix-attlist"/>
13753                         <optional>
13754                                 <attribute name="text:display-levels">
13755                                         <ref name="positiveInteger"/>
13756                                 </attribute>
13757                         </optional>
13758                         <optional>
13759                                 <attribute name="text:start-value">
13760                                         <ref name="positiveInteger"/>
13761                                 </attribute>
13762                         </optional>
13763                 </interleave>
13764         </define>
13765         <define name="style-graphic-properties">
13766                 <element name="style:graphic-properties">
13767                         <ref name="style-graphic-properties-content-strict"/>
13768                 </element>
13769         </define>
13770         <define name="style-graphic-properties-content-strict">
13771                 <ref name="style-graphic-properties-attlist"/>
13772                 <ref name="style-graphic-fill-properties-attlist"/>
13773                 <ref name="style-graphic-properties-elements"/>
13774         </define>
13775         <define name="style-drawing-page-properties">
13776                 <element name="style:drawing-page-properties">
13777                         <ref name="style-drawing-page-properties-content-strict"/>
13778                 </element>
13779         </define>
13780         <define name="style-drawing-page-properties-content-strict">
13781                 <ref name="style-graphic-fill-properties-attlist"/>
13782                 <ref name="style-drawing-page-properties-attlist"/>
13783                 <ref name="style-drawing-page-properties-elements"/>
13784         </define>
13785         <define name="draw-gradient">
13786                 <element name="draw:gradient">
13787                         <ref name="common-draw-gradient-attlist"/>
13788                         <ref name="draw-gradient-attlist"/>
13789                         <empty/>
13790                 </element>
13791         </define>
13792         <define name="common-draw-gradient-attlist">
13793                 <interleave>
13794                         <optional>
13795                                 <attribute name="draw:name">
13796                                         <ref name="styleName"/>
13797                                 </attribute>
13798                         </optional>
13799                         <optional>
13800                                 <attribute name="draw:display-name">
13801                                         <ref name="string"/>
13802                                 </attribute>
13803                         </optional>
13804                         <attribute name="draw:style">
13805                                 <ref name="gradient-style"/>
13806                         </attribute>
13807                         <optional>
13808                                 <attribute name="draw:cx">
13809                                         <ref name="percent"/>
13810                                 </attribute>
13811                         </optional>
13812                         <optional>
13813                                 <attribute name="draw:cy">
13814                                         <ref name="percent"/>
13815                                 </attribute>
13816                         </optional>
13817                         <optional>
13818                                 <attribute name="draw:angle">
13819                                         <ref name="angle"/>
13820                                 </attribute>
13821                         </optional>
13822                         <optional>
13823                                 <attribute name="draw:border">
13824                                         <ref name="percent"/>
13825                                 </attribute>
13826                         </optional>
13827                 </interleave>
13828         </define>
13829         <define name="gradient-style">
13830                 <choice>
13831                         <value>linear</value>
13832                         <value>axial</value>
13833                         <value>radial</value>
13834                         <value>ellipsoid</value>
13835                         <value>square</value>
13836                         <value>rectangular</value>
13837                 </choice>
13838         </define>
13839         <define name="draw-gradient-attlist">
13840                 <interleave>
13841                         <optional>
13842                                 <attribute name="draw:start-color">
13843                                         <ref name="color"/>
13844                                 </attribute>
13845                         </optional>
13846                         <optional>
13847                                 <attribute name="draw:end-color">
13848                                         <ref name="color"/>
13849                                 </attribute>
13850                         </optional>
13851                         <optional>
13852                                 <attribute name="draw:start-intensity">
13853                                         <ref name="zeroToHundredPercent"/>
13854                                 </attribute>
13855                         </optional>
13856                         <optional>
13857                                 <attribute name="draw:end-intensity">
13858                                         <ref name="zeroToHundredPercent"/>
13859                                 </attribute>
13860                         </optional>
13861                 </interleave>
13862         </define>
13863         <define name="svg-linearGradient">
13864                 <element name="svg:linearGradient">
13865                         <ref name="common-svg-gradient-attlist"/>
13866                         <optional>
13867                                 <attribute name="svg:x1">
13868                                         <choice>
13869                                                 <ref name="coordinate"/>
13870                                                 <ref name="percent"/>
13871                                         </choice>
13872                                 </attribute>
13873                         </optional>
13874                         <optional>
13875                                 <attribute name="svg:y1">
13876                                         <choice>
13877                                                 <ref name="coordinate"/>
13878                                                 <ref name="percent"/>
13879                                         </choice>
13880                                 </attribute>
13881                         </optional>
13882                         <optional>
13883                                 <attribute name="svg:x2">
13884                                         <choice>
13885                                                 <ref name="coordinate"/>
13886                                                 <ref name="percent"/>
13887                                         </choice>
13888                                 </attribute>
13889                         </optional>
13890                         <optional>
13891                                 <attribute name="svg:y2">
13892                                         <choice>
13893                                                 <ref name="coordinate"/>
13894                                                 <ref name="percent"/>
13895                                         </choice>
13896                                 </attribute>
13897                         </optional>
13898                         <zeroOrMore>
13899                                 <ref name="svg-stop"/>
13900                         </zeroOrMore>
13901                 </element>
13902         </define>
13903         <define name="svg-radialGradient">
13904                 <element name="svg:radialGradient">
13905                         <ref name="common-svg-gradient-attlist"/>
13906                         <optional>
13907                                 <attribute name="svg:cx">
13908                                         <choice>
13909                                                 <ref name="coordinate"/>
13910                                                 <ref name="percent"/>
13911                                         </choice>
13912                                 </attribute>
13913                         </optional>
13914                         <optional>
13915                                 <attribute name="svg:cy">
13916                                         <choice>
13917                                                 <ref name="coordinate"/>
13918                                                 <ref name="percent"/>
13919                                         </choice>
13920                                 </attribute>
13921                         </optional>
13922                         <optional>
13923                                 <attribute name="svg:r">
13924                                         <choice>
13925                                                 <ref name="coordinate"/>
13926                                                 <ref name="percent"/>
13927                                         </choice>
13928                                 </attribute>
13929                         </optional>
13930                         <optional>
13931                                 <attribute name="svg:fx">
13932                                         <choice>
13933                                                 <ref name="coordinate"/>
13934                                                 <ref name="percent"/>
13935                                         </choice>
13936                                 </attribute>
13937                         </optional>
13938                         <optional>
13939                                 <attribute name="svg:fy">
13940                                         <choice>
13941                                                 <ref name="coordinate"/>
13942                                                 <ref name="percent"/>
13943                                         </choice>
13944                                 </attribute>
13945                         </optional>
13946                         <zeroOrMore>
13947                                 <ref name="svg-stop"/>
13948                         </zeroOrMore>
13949                 </element>
13950         </define>
13951         <define name="svg-stop">
13952                 <element name="svg:stop">
13953                         <attribute name="svg:offset">
13954                                 <choice>
13955                                         <ref name="double"/>
13956                                         <ref name="percent"/>
13957                                 </choice>
13958                         </attribute>
13959                         <optional>
13960                                 <attribute name="svg:stop-color">
13961                                         <ref name="color"/>
13962                                 </attribute>
13963                         </optional>
13964                         <optional>
13965                                 <attribute name="svg:stop-opacity">
13966                                         <ref name="double"/>
13967                                 </attribute>
13968                         </optional>
13969                 </element>
13970         </define>
13971         <define name="common-svg-gradient-attlist">
13972                 <interleave>
13973                         <optional>
13974                                 <attribute name="svg:gradientUnits">
13975                                         <value>objectBoundingBox</value>
13976                                 </attribute>
13977                         </optional>
13978                         <optional>
13979                                 <attribute name="svg:gradientTransform">
13980                                         <ref name="string"/>
13981                                 </attribute>
13982                         </optional>
13983                         <optional>
13984                                 <attribute name="svg:spreadMethod">
13985                                         <choice>
13986                                                 <value>pad</value>
13987                                                 <value>reflect</value>
13988                                                 <value>repeat</value>
13989                                         </choice>
13990                                 </attribute>
13991                         </optional>
13992                         <attribute name="draw:name">
13993                                 <ref name="styleName"/>
13994                         </attribute>
13995                         <optional>
13996                                 <attribute name="draw:display-name">
13997                                         <ref name="string"/>
13998                                 </attribute>
13999                         </optional>
14000                 </interleave>
14001         </define>
14002         <define name="draw-hatch">
14003                 <element name="draw:hatch">
14004                         <ref name="draw-hatch-attlist"/>
14005                         <empty/>
14006                 </element>
14007         </define>
14008         <define name="draw-hatch-attlist">
14009                 <interleave>
14010                         <attribute name="draw:name">
14011                                 <ref name="styleName"/>
14012                         </attribute>
14013                         <optional>
14014                                 <attribute name="draw:display-name">
14015                                         <ref name="string"/>
14016                                 </attribute>
14017                         </optional>
14018                         <attribute name="draw:style">
14019                                 <choice>
14020                                         <value>single</value>
14021                                         <value>double</value>
14022                                         <value>triple</value>
14023                                 </choice>
14024                         </attribute>
14025                         <optional>
14026                                 <attribute name="draw:color">
14027                                         <ref name="color"/>
14028                                 </attribute>
14029                         </optional>
14030                         <optional>
14031                                 <attribute name="draw:distance">
14032                                         <ref name="length"/>
14033                                 </attribute>
14034                         </optional>
14035                         <optional>
14036                                 <attribute name="draw:rotation">
14037                                         <ref name="angle"/>
14038                                 </attribute>
14039                         </optional>
14040                 </interleave>
14041         </define>
14042         <define name="draw-fill-image">
14043                 <element name="draw:fill-image">
14044                         <ref name="draw-fill-image-attlist"/>
14045                         <attribute name="xlink:type">
14046                                 <value>simple</value>
14047                         </attribute>
14048                         <attribute name="xlink:href">
14049                                 <ref name="anyIRI"/>
14050                         </attribute>
14051                         <optional>
14052                                 <attribute name="xlink:show">
14053                                         <value>embed</value>
14054                                 </attribute>
14055                         </optional>
14056                         <optional>
14057                                 <attribute name="xlink:actuate">
14058                                         <value>onLoad</value>
14059                                 </attribute>
14060                         </optional>
14061                         <empty/>
14062                 </element>
14063         </define>
14064         <define name="draw-fill-image-attlist">
14065                 <interleave>
14066                         <attribute name="draw:name">
14067                                 <ref name="styleName"/>
14068                         </attribute>
14069                         <optional>
14070                                 <attribute name="draw:display-name">
14071                                         <ref name="string"/>
14072                                 </attribute>
14073                         </optional>
14074                         <optional>
14075                                 <attribute name="svg:width">
14076                                         <ref name="length"/>
14077                                 </attribute>
14078                         </optional>
14079                         <optional>
14080                                 <attribute name="svg:height">
14081                                         <ref name="length"/>
14082                                 </attribute>
14083                         </optional>
14084                 </interleave>
14085         </define>
14086         <define name="draw-opacity">
14087                 <element name="draw:opacity">
14088                         <ref name="common-draw-gradient-attlist"/>
14089                         <ref name="draw-opacity-attlist"/>
14090                         <empty/>
14091                 </element>
14092         </define>
14093         <define name="draw-opacity-attlist">
14094                 <optional>
14095                         <attribute name="draw:start">
14096                                 <ref name="zeroToHundredPercent"/>
14097                         </attribute>
14098                 </optional>
14099                 <optional>
14100                         <attribute name="draw:end">
14101                                 <ref name="zeroToHundredPercent"/>
14102                         </attribute>
14103                 </optional>
14104         </define>
14105         <define name="draw-marker">
14106                 <element name="draw:marker">
14107                         <ref name="draw-marker-attlist"/>
14108                         <ref name="common-draw-viewbox-attlist"/>
14109                         <ref name="common-draw-path-data-attlist"/>
14110                         <empty/>
14111                 </element>
14112         </define>
14113         <define name="draw-marker-attlist">
14114                 <interleave>
14115                         <attribute name="draw:name">
14116                                 <ref name="styleName"/>
14117                         </attribute>
14118                         <optional>
14119                                 <attribute name="draw:display-name">
14120                                         <ref name="string"/>
14121                                 </attribute>
14122                         </optional>
14123                 </interleave>
14124         </define>
14125         <define name="draw-stroke-dash">
14126                 <element name="draw:stroke-dash">
14127                         <ref name="draw-stroke-dash-attlist"/>
14128                         <empty/>
14129                 </element>
14130         </define>
14131         <define name="draw-stroke-dash-attlist">
14132                 <interleave>
14133                         <attribute name="draw:name">
14134                                 <ref name="styleName"/>
14135                         </attribute>
14136                         <optional>
14137                                 <attribute name="draw:display-name">
14138                                         <ref name="string"/>
14139                                 </attribute>
14140                         </optional>
14141                         <optional>
14142                                 <attribute name="draw:style">
14143                                         <choice>
14144                                                 <value>rect</value>
14145                                                 <value>round</value>
14146                                         </choice>
14147                                 </attribute>
14148                         </optional>
14149                         <optional>
14150                                 <attribute name="draw:dots1">
14151                                         <ref name="integer"/>
14152                                 </attribute>
14153                         </optional>
14154                         <optional>
14155                                 <attribute name="draw:dots1-length">
14156                                         <choice>
14157                                                 <ref name="length"/>
14158                                                 <ref name="percent"/>
14159                                         </choice>
14160                                 </attribute>
14161                         </optional>
14162                         <optional>
14163                                 <attribute name="draw:dots2">
14164                                         <ref name="integer"/>
14165                                 </attribute>
14166                         </optional>
14167                         <optional>
14168                                 <attribute name="draw:dots2-length">
14169                                         <choice>
14170                                                 <ref name="length"/>
14171                                                 <ref name="percent"/>
14172                                         </choice>
14173                                 </attribute>
14174                         </optional>
14175                         <optional>
14176                                 <attribute name="draw:distance">
14177                                         <choice>
14178                                                 <ref name="length"/>
14179                                                 <ref name="percent"/>
14180                                         </choice>
14181                                 </attribute>
14182                         </optional>
14183                 </interleave>
14184         </define>
14185         <define name="style-presentation-page-layout">
14186                 <element name="style:presentation-page-layout">
14187                         <attribute name="style:name">
14188                                 <ref name="styleName"/>
14189                         </attribute>
14190                         <optional>
14191                                 <attribute name="style:display-name">
14192                                         <ref name="string"/>
14193                                 </attribute>
14194                         </optional>
14195                         <zeroOrMore>
14196                                 <ref name="presentation-placeholder"/>
14197                         </zeroOrMore>
14198                 </element>
14199         </define>
14200         <define name="presentation-placeholder">
14201                 <element name="presentation:placeholder">
14202                         <attribute name="presentation:object">
14203                                 <ref name="presentation-classes"/>
14204                         </attribute>
14205                         <attribute name="svg:x">
14206                                 <choice>
14207                                         <ref name="coordinate"/>
14208                                         <ref name="percent"/>
14209                                 </choice>
14210                         </attribute>
14211                         <attribute name="svg:y">
14212                                 <choice>
14213                                         <ref name="coordinate"/>
14214                                         <ref name="percent"/>
14215                                 </choice>
14216                         </attribute>
14217                         <attribute name="svg:width">
14218                                 <choice>
14219                                         <ref name="length"/>
14220                                         <ref name="percent"/>
14221                                 </choice>
14222                         </attribute>
14223                         <attribute name="svg:height">
14224                                 <choice>
14225                                         <ref name="length"/>
14226                                         <ref name="percent"/>
14227                                 </choice>
14228                         </attribute>
14229                         <empty/>
14230                 </element>
14231         </define>
14232         <define name="style-page-layout-properties">
14233                 <element name="style:page-layout-properties">
14234                         <ref name="style-page-layout-properties-content-strict"/>
14235                 </element>
14236         </define>
14237         <define name="style-page-layout-properties-content-strict">
14238                 <ref name="style-page-layout-properties-attlist"/>
14239                 <ref name="style-page-layout-properties-elements"/>
14240         </define>
14241         <define name="style-page-layout-properties-attlist">
14242                 <interleave>
14243                         <optional>
14244                                 <attribute name="fo:page-width">
14245                                         <ref name="length"/>
14246                                 </attribute>
14247                         </optional>
14248                         <optional>
14249                                 <attribute name="fo:page-height">
14250                                         <ref name="length"/>
14251                                 </attribute>
14252                         </optional>
14253                         <optional>
14254                                 <ref name="common-num-format-attlist"/>
14255                         </optional>
14256                         <ref name="common-num-format-prefix-suffix-attlist"/>
14257                         <optional>
14258                                 <attribute name="style:paper-tray-name">
14259                                         <choice>
14260                                                 <value>default</value>
14261                                                 <ref name="string"/>
14262                                         </choice>
14263                                 </attribute>
14264                         </optional>
14265                         <optional>
14266                                 <attribute name="style:print-orientation">
14267                                         <choice>
14268                                                 <value>portrait</value>
14269                                                 <value>landscape</value>
14270                                         </choice>
14271                                 </attribute>
14272                         </optional>
14273                         <ref name="common-horizontal-margin-attlist"/>
14274                         <ref name="common-vertical-margin-attlist"/>
14275                         <ref name="common-margin-attlist"/>
14276                         <ref name="common-border-attlist"/>
14277                         <ref name="common-border-line-width-attlist"/>
14278                         <ref name="common-padding-attlist"/>
14279                         <ref name="common-shadow-attlist"/>
14280                         <ref name="common-background-color-attlist"/>
14281                         <optional>
14282                                 <attribute name="style:register-truth-ref-style-name">
14283                                         <ref name="styleNameRef"/>
14284                                 </attribute>
14285                         </optional>
14286                         <optional>
14287                                 <attribute name="style:print">
14288                                         <list>
14289                                                 <zeroOrMore>
14290                                                         <choice>
14291                                                                 <value>headers</value>
14292                                                                 <value>grid</value>
14293                                                                 <value>annotations</value>
14294                                                                 <value>objects</value>
14295                                                                 <value>charts</value>
14296                                                                 <value>drawings</value>
14297                                                                 <value>formulas</value>
14298                                                                 <value>zero-values</value>
14299                                                         </choice>
14300                                                 </zeroOrMore>
14301                                         </list>
14302                                 </attribute>
14303                         </optional>
14304                         <optional>
14305                                 <attribute name="style:print-page-order">
14306                                         <choice>
14307                                                 <value>ttb</value>
14308                                                 <value>ltr</value>
14309                                         </choice>
14310                                 </attribute>
14311                         </optional>
14312                         <optional>
14313                                 <attribute name="style:first-page-number">
14314                                         <choice>
14315                                                 <ref name="positiveInteger"/>
14316                                                 <value>continue</value>
14317                                         </choice>
14318                                 </attribute>
14319                         </optional>
14320                         <optional>
14321                                 <attribute name="style:scale-to">
14322                                         <ref name="percent"/>
14323                                 </attribute>
14324                         </optional>
14325                         <optional>
14326                                 <attribute name="style:scale-to-pages">
14327                                         <ref name="positiveInteger"/>
14328                                 </attribute>
14329                         </optional>
14330                         <optional>
14331                                 <attribute name="style:table-centering">
14332                                         <choice>
14333                                                 <value>horizontal</value>
14334                                                 <value>vertical</value>
14335                                                 <value>both</value>
14336                                                 <value>none</value>
14337                                         </choice>
14338                                 </attribute>
14339                         </optional>
14340                         <optional>
14341                                 <attribute name="style:footnote-max-height">
14342                                         <ref name="length"/>
14343                                 </attribute>
14344                         </optional>
14345                         <ref name="common-writing-mode-attlist"/>
14346                         <optional>
14347                                 <attribute name="style:layout-grid-mode">
14348                                         <choice>
14349                                                 <value>none</value>
14350                                                 <value>line</value>
14351                                                 <value>both</value>
14352                                         </choice>
14353                                 </attribute>
14354                         </optional>
14355                         <optional>
14356                                 <attribute name="style:layout-grid-standard-mode">
14357                                         <ref name="boolean"/>
14358                                 </attribute>
14359                         </optional>
14360                         <optional>
14361                                 <attribute name="style:layout-grid-base-height">
14362                                         <ref name="length"/>
14363                                 </attribute>
14364                         </optional>
14365                         <optional>
14366                                 <attribute name="style:layout-grid-ruby-height">
14367                                         <ref name="length"/>
14368                                 </attribute>
14369                         </optional>
14370                         <optional>
14371                                 <attribute name="style:layout-grid-lines">
14372                                         <ref name="positiveInteger"/>
14373                                 </attribute>
14374                         </optional>
14375                         <optional>
14376                                 <attribute name="style:layout-grid-base-width">
14377                                         <ref name="length"/>
14378                                 </attribute>
14379                         </optional>
14380                         <optional>
14381                                 <attribute name="style:layout-grid-color">
14382                                         <ref name="color"/>
14383                                 </attribute>
14384                         </optional>
14385                         <optional>
14386                                 <attribute name="style:layout-grid-ruby-below">
14387                                         <ref name="boolean"/>
14388                                 </attribute>
14389                         </optional>
14390                         <optional>
14391                                 <attribute name="style:layout-grid-print">
14392                                         <ref name="boolean"/>
14393                                 </attribute>
14394                         </optional>
14395                         <optional>
14396                                 <attribute name="style:layout-grid-display">
14397                                         <ref name="boolean"/>
14398                                 </attribute>
14399                         </optional>
14400                         <optional>
14401                                 <attribute name="style:layout-grid-snap-to">
14402                                         <ref name="boolean"/>
14403                                 </attribute>
14404                         </optional>
14405                 </interleave>
14406         </define>
14407         <define name="style-page-layout-properties-elements">
14408                 <interleave>
14409                         <ref name="style-background-image"/>
14410                         <ref name="style-columns"/>
14411                         <ref name="style-footnote-sep"/>
14412                 </interleave>
14413         </define>
14414         <define name="style-footnote-sep">
14415                 <optional>
14416                         <element name="style:footnote-sep">
14417                                 <ref name="style-footnote-sep-attlist"/>
14418                                 <empty/>
14419                         </element>
14420                 </optional>
14421         </define>
14422         <define name="style-footnote-sep-attlist">
14423                 <optional>
14424                         <attribute name="style:width">
14425                                 <ref name="length"/>
14426                         </attribute>
14427                 </optional>
14428                 <optional>
14429                         <attribute name="style:rel-width">
14430                                 <ref name="percent"/>
14431                         </attribute>
14432                 </optional>
14433                 <optional>
14434                         <attribute name="style:color">
14435                                 <ref name="color"/>
14436                         </attribute>
14437                 </optional>
14438                 <optional>
14439                         <attribute name="style:line-style">
14440                                 <ref name="lineStyle"/>
14441                         </attribute>
14442                 </optional>
14443                 <optional>
14444                         <attribute name="style:adjustment">
14445                                 <choice>
14446                                         <value>left</value>
14447                                         <value>center</value>
14448                                         <value>right</value>
14449                                 </choice>
14450                         </attribute>
14451                 </optional>
14452                 <optional>
14453                         <attribute name="style:distance-before-sep">
14454                                 <ref name="length"/>
14455                         </attribute>
14456                 </optional>
14457                 <optional>
14458                         <attribute name="style:distance-after-sep">
14459                                 <ref name="length"/>
14460                         </attribute>
14461                 </optional>
14462         </define>
14463         <define name="style-header-footer-properties">
14464                 <element name="style:header-footer-properties">
14465                         <ref name="style-header-footer-properties-content-strict"/>
14466                 </element>
14467         </define>
14468         <define name="style-header-footer-properties-content-strict">
14469                 <ref name="style-header-footer-properties-attlist"/>
14470                 <ref name="style-header-footer-properties-elements"/>
14471         </define>
14472         <define name="style-header-footer-properties-attlist">
14473                 <interleave>
14474                         <optional>
14475                                 <attribute name="svg:height">
14476                                         <ref name="length"/>
14477                                 </attribute>
14478                         </optional>
14479                         <optional>
14480                                 <attribute name="fo:min-height">
14481                                         <ref name="length"/>
14482                                 </attribute>
14483                         </optional>
14484                         <ref name="common-horizontal-margin-attlist"/>
14485                         <ref name="common-vertical-margin-attlist"/>
14486                         <ref name="common-margin-attlist"/>
14487                         <ref name="common-border-attlist"/>
14488                         <ref name="common-border-line-width-attlist"/>
14489                         <ref name="common-padding-attlist"/>
14490                         <ref name="common-background-color-attlist"/>
14491                         <ref name="common-shadow-attlist"/>
14492                         <optional>
14493                                 <attribute name="style:dynamic-spacing">
14494                                         <ref name="boolean"/>
14495                                 </attribute>
14496                         </optional>
14497                 </interleave>
14498         </define>
14499         <define name="style-header-footer-properties-elements">
14500                 <ref name="style-background-image"/>
14501         </define>
14502         <define name="style-text-properties">
14503                 <element name="style:text-properties">
14504                         <ref name="style-text-properties-content-strict"/>
14505                 </element>
14506         </define>
14507         <define name="style-text-properties-content-strict">
14508                 <ref name="style-text-properties-attlist"/>
14509                 <ref name="style-text-properties-elements"/>
14510         </define>
14511         <define name="style-text-properties-elements">
14512                 <empty/>
14513         </define>
14514         <define name="style-text-properties-attlist">
14515                 <interleave>
14516                         <optional>
14517                                 <attribute name="fo:font-variant">
14518                                         <ref name="fontVariant"/>
14519                                 </attribute>
14520                         </optional>
14521                         <optional>
14522                                 <attribute name="fo:text-transform">
14523                                         <choice>
14524                                                 <value>none</value>
14525                                                 <value>lowercase</value>
14526                                                 <value>uppercase</value>
14527                                                 <value>capitalize</value>
14528                                         </choice>
14529                                 </attribute>
14530                         </optional>
14531                         <optional>
14532                                 <attribute name="fo:color">
14533                                         <ref name="color"/>
14534                                 </attribute>
14535                         </optional>
14536                         <optional>
14537                                 <attribute name="style:use-window-font-color">
14538                                         <ref name="boolean"/>
14539                                 </attribute>
14540                         </optional>
14541                         <optional>
14542                                 <attribute name="style:text-outline">
14543                                         <ref name="boolean"/>
14544                                 </attribute>
14545                         </optional>
14546                         <optional>
14547                                 <attribute name="style:text-line-through-type">
14548                                         <ref name="lineType"/>
14549                                 </attribute>
14550                         </optional>
14551                         <optional>
14552                                 <attribute name="style:text-line-through-style">
14553                                         <ref name="lineStyle"/>
14554                                 </attribute>
14555                         </optional>
14556                         <optional>
14557                                 <attribute name="style:text-line-through-width">
14558                                         <ref name="lineWidth"/>
14559                                 </attribute>
14560                         </optional>
14561                         <optional>
14562                                 <attribute name="style:text-line-through-color">
14563                                         <choice>
14564                                                 <value>font-color</value>
14565                                                 <ref name="color"/>
14566                                         </choice>
14567                                 </attribute>
14568                         </optional>
14569                         <optional>
14570                                 <attribute name="style:text-line-through-text">
14571                                         <ref name="string"/>
14572                                 </attribute>
14573                         </optional>
14574                         <optional>
14575                                 <attribute name="style:text-line-through-text-style">
14576                                         <ref name="styleNameRef"/>
14577                                 </attribute>
14578                         </optional>
14579                         <optional>
14580                                 <attribute name="style:text-position">
14581                                         <list>
14582                                                 <choice>
14583                                                         <ref name="percent"/>
14584                                                         <value>super</value>
14585                                                         <value>sub</value>
14586                                                 </choice>
14587                                                 <optional>
14588                                                         <ref name="percent"/>
14589                                                 </optional>
14590                                         </list>
14591                                 </attribute>
14592                         </optional>
14593                         <optional>
14594                                 <attribute name="style:font-name">
14595                                         <ref name="string"/>
14596                                 </attribute>
14597                         </optional>
14598                         <optional>
14599                                 <attribute name="style:font-name-asian">
14600                                         <ref name="string"/>
14601                                 </attribute>
14602                         </optional>
14603                         <optional>
14604                                 <attribute name="style:font-name-complex">
14605                                         <ref name="string"/>
14606                                 </attribute>
14607                         </optional>
14608                         <optional>
14609                                 <attribute name="fo:font-family">
14610                                         <ref name="string"/>
14611                                 </attribute>
14612                         </optional>
14613                         <optional>
14614                                 <attribute name="style:font-family-asian">
14615                                         <ref name="string"/>
14616                                 </attribute>
14617                         </optional>
14618                         <optional>
14619                                 <attribute name="style:font-family-complex">
14620                                         <ref name="string"/>
14621                                 </attribute>
14622                         </optional>
14623                         <optional>
14624                                 <attribute name="style:font-family-generic">
14625                                         <ref name="fontFamilyGeneric"/>
14626                                 </attribute>
14627                         </optional>
14628                         <optional>
14629                                 <attribute name="style:font-family-generic-asian">
14630                                         <ref name="fontFamilyGeneric"/>
14631                                 </attribute>
14632                         </optional>
14633                         <optional>
14634                                 <attribute name="style:font-family-generic-complex">
14635                                         <ref name="fontFamilyGeneric"/>
14636                                 </attribute>
14637                         </optional>
14638                         <optional>
14639                                 <attribute name="style:font-style-name">
14640                                         <ref name="string"/>
14641                                 </attribute>
14642                         </optional>
14643                         <optional>
14644                                 <attribute name="style:font-style-name-asian">
14645                                         <ref name="string"/>
14646                                 </attribute>
14647                         </optional>
14648                         <optional>
14649                                 <attribute name="style:font-style-name-complex">
14650                                         <ref name="string"/>
14651                                 </attribute>
14652                         </optional>
14653                         <optional>
14654                                 <attribute name="style:font-pitch">
14655                                         <ref name="fontPitch"/>
14656                                 </attribute>
14657                         </optional>
14658                         <optional>
14659                                 <attribute name="style:font-pitch-asian">
14660                                         <ref name="fontPitch"/>
14661                                 </attribute>
14662                         </optional>
14663                         <optional>
14664                                 <attribute name="style:font-pitch-complex">
14665                                         <ref name="fontPitch"/>
14666                                 </attribute>
14667                         </optional>
14668                         <optional>
14669                                 <attribute name="style:font-charset">
14670                                         <ref name="textEncoding"/>
14671                                 </attribute>
14672                         </optional>
14673                         <optional>
14674                                 <attribute name="style:font-charset-asian">
14675                                         <ref name="textEncoding"/>
14676                                 </attribute>
14677                         </optional>
14678                         <optional>
14679                                 <attribute name="style:font-charset-complex">
14680                                         <ref name="textEncoding"/>
14681                                 </attribute>
14682                         </optional>
14683                         <optional>
14684                                 <attribute name="fo:font-size">
14685                                         <choice>
14686                                                 <ref name="positiveLength"/>
14687                                                 <ref name="percent"/>
14688                                         </choice>
14689                                 </attribute>
14690                         </optional>
14691                         <optional>
14692                                 <attribute name="style:font-size-asian">
14693                                         <choice>
14694                                                 <ref name="positiveLength"/>
14695                                                 <ref name="percent"/>
14696                                         </choice>
14697                                 </attribute>
14698                         </optional>
14699                         <optional>
14700                                 <attribute name="style:font-size-complex">
14701                                         <choice>
14702                                                 <ref name="positiveLength"/>
14703                                                 <ref name="percent"/>
14704                                         </choice>
14705                                 </attribute>
14706                         </optional>
14707                         <optional>
14708                                 <attribute name="style:font-size-rel">
14709                                         <ref name="length"/>
14710                                 </attribute>
14711                         </optional>
14712                         <optional>
14713                                 <attribute name="style:font-size-rel-asian">
14714                                         <ref name="length"/>
14715                                 </attribute>
14716                         </optional>
14717                         <optional>
14718                                 <attribute name="style:font-size-rel-complex">
14719                                         <ref name="length"/>
14720                                 </attribute>
14721                         </optional>
14722                         <optional>
14723                                 <attribute name="style:script-type">
14724                                         <choice>
14725                                                 <value>latin</value>
14726                                                 <value>asian</value>
14727                                                 <value>complex</value>
14728                                                 <value>ignore</value>
14729                                         </choice>
14730                                 </attribute>
14731                         </optional>
14732                         <optional>
14733                                 <attribute name="fo:letter-spacing">
14734                                         <choice>
14735                                                 <ref name="length"/>
14736                                                 <value>normal</value>
14737                                         </choice>
14738                                 </attribute>
14739                         </optional>
14740                         <optional>
14741                                 <attribute name="fo:language">
14742                                         <ref name="languageCode"/>
14743                                 </attribute>
14744                         </optional>
14745                         <optional>
14746                                 <attribute name="style:language-asian">
14747                                         <ref name="languageCode"/>
14748                                 </attribute>
14749                         </optional>
14750                         <optional>
14751                                 <attribute name="style:language-complex">
14752                                         <ref name="languageCode"/>
14753                                 </attribute>
14754                         </optional>
14755                         <optional>
14756                                 <attribute name="fo:country">
14757                                         <ref name="countryCode"/>
14758                                 </attribute>
14759                         </optional>
14760                         <optional>
14761                                 <attribute name="style:country-asian">
14762                                         <ref name="countryCode"/>
14763                                 </attribute>
14764                         </optional>
14765                         <optional>
14766                                 <attribute name="style:country-complex">
14767                                         <ref name="countryCode"/>
14768                                 </attribute>
14769                         </optional>
14770                         <optional>
14771                                 <attribute name="fo:script">
14772                                         <ref name="scriptCode"/>
14773                                 </attribute>
14774                         </optional>
14775                         <optional>
14776                                 <attribute name="style:script-asian">
14777                                         <ref name="scriptCode"/>
14778                                 </attribute>
14779                         </optional>
14780                         <optional>
14781                                 <attribute name="style:script-complex">
14782                                         <ref name="scriptCode"/>
14783                                 </attribute>
14784                         </optional>
14785                         <optional>
14786                                 <attribute name="style:rfc-language-tag">
14787                                         <ref name="language"/>
14788                                 </attribute>
14789                         </optional>
14790                         <optional>
14791                                 <attribute name="style:rfc-language-tag-asian">
14792                                         <ref name="language"/>
14793                                 </attribute>
14794                         </optional>
14795                         <optional>
14796                                 <attribute name="style:rfc-language-tag-complex">
14797                                         <ref name="language"/>
14798                                 </attribute>
14799                         </optional>
14800                         <optional>
14801                                 <attribute name="fo:font-style">
14802                                         <ref name="fontStyle"/>
14803                                 </attribute>
14804                         </optional>
14805                         <optional>
14806                                 <attribute name="style:font-style-asian">
14807                                         <ref name="fontStyle"/>
14808                                 </attribute>
14809                         </optional>
14810                         <optional>
14811                                 <attribute name="style:font-style-complex">
14812                                         <ref name="fontStyle"/>
14813                                 </attribute>
14814                         </optional>
14815                         <optional>
14816                                 <attribute name="style:font-relief">
14817                                         <choice>
14818                                                 <value>none</value>
14819                                                 <value>embossed</value>
14820                                                 <value>engraved</value>
14821                                         </choice>
14822                                 </attribute>
14823                         </optional>
14824                         <optional>
14825                                 <attribute name="fo:text-shadow">
14826                                         <ref name="shadowType"/>
14827                                 </attribute>
14828                         </optional>
14829                         <optional>
14830                                 <attribute name="style:text-underline-type">
14831                                         <ref name="lineType"/>
14832                                 </attribute>
14833                         </optional>
14834                         <optional>
14835                                 <attribute name="style:text-underline-style">
14836                                         <ref name="lineStyle"/>
14837                                 </attribute>
14838                         </optional>
14839                         <optional>
14840                                 <attribute name="style:text-underline-width">
14841                                         <ref name="lineWidth"/>
14842                                 </attribute>
14843                         </optional>
14844                         <optional>
14845                                 <attribute name="style:text-underline-color">
14846                                         <choice>
14847                                                 <value>font-color</value>
14848                                                 <ref name="color"/>
14849                                         </choice>
14850                                 </attribute>
14851                         </optional>
14852                         <optional>
14853                                 <attribute name="style:text-overline-type">
14854                                         <ref name="lineType"/>
14855                                 </attribute>
14856                         </optional>
14857                         <optional>
14858                                 <attribute name="style:text-overline-style">
14859                                         <ref name="lineStyle"/>
14860                                 </attribute>
14861                         </optional>
14862                         <optional>
14863                                 <attribute name="style:text-overline-width">
14864                                         <ref name="lineWidth"/>
14865                                 </attribute>
14866                         </optional>
14867                         <optional>
14868                                 <attribute name="style:text-overline-color">
14869                                         <choice>
14870                                                 <value>font-color</value>
14871                                                 <ref name="color"/>
14872                                         </choice>
14873                                 </attribute>
14874                         </optional>
14875                         <optional>
14876                                 <attribute name="style:text-overline-mode">
14877                                         <ref name="lineMode"/>
14878                                 </attribute>
14879                         </optional>
14880                         <optional>
14881                                 <attribute name="fo:font-weight">
14882                                         <ref name="fontWeight"/>
14883                                 </attribute>
14884                         </optional>
14885                         <optional>
14886                                 <attribute name="style:font-weight-asian">
14887                                         <ref name="fontWeight"/>
14888                                 </attribute>
14889                         </optional>
14890                         <optional>
14891                                 <attribute name="style:font-weight-complex">
14892                                         <ref name="fontWeight"/>
14893                                 </attribute>
14894                         </optional>
14895                         <optional>
14896                                 <attribute name="style:text-underline-mode">
14897                                         <ref name="lineMode"/>
14898                                 </attribute>
14899                         </optional>
14900                         <optional>
14901                                 <attribute name="style:text-line-through-mode">
14902                                         <ref name="lineMode"/>
14903                                 </attribute>
14904                         </optional>
14905                         <optional>
14906                                 <attribute name="style:letter-kerning">
14907                                         <ref name="boolean"/>
14908                                 </attribute>
14909                         </optional>
14910                         <optional>
14911                                 <attribute name="style:text-blinking">
14912                                         <ref name="boolean"/>
14913                                 </attribute>
14914                         </optional>
14915                         <ref name="common-background-color-attlist"/>
14916                         <optional>
14917                                 <attribute name="style:text-combine">
14918                                         <choice>
14919                                                 <value>none</value>
14920                                                 <value>letters</value>
14921                                                 <value>lines</value>
14922                                         </choice>
14923                                 </attribute>
14924                         </optional>
14925                         <optional>
14926                                 <attribute name="style:text-combine-start-char">
14927                                         <ref name="character"/>
14928                                 </attribute>
14929                         </optional>
14930                         <optional>
14931                                 <attribute name="style:text-combine-end-char">
14932                                         <ref name="character"/>
14933                                 </attribute>
14934                         </optional>
14935                         <optional>
14936                                 <attribute name="style:text-emphasize">
14937                                         <choice>
14938                                                 <value>none</value>
14939                                                 <list>
14940                                                         <choice>
14941                                                                 <value>none</value>
14942                                                                 <value>accent</value>
14943                                                                 <value>dot</value>
14944                                                                 <value>circle</value>
14945                                                                 <value>disc</value>
14946                                                         </choice>
14947                                                         <choice>
14948                                                                 <value>above</value>
14949                                                                 <value>below</value>
14950                                                         </choice>
14951                                                 </list>
14952                                         </choice>
14953                                 </attribute>
14954                         </optional>
14955                         <optional>
14956                                 <attribute name="style:text-scale">
14957                                         <ref name="percent"/>
14958                                 </attribute>
14959                         </optional>
14960                         <optional>
14961                                 <attribute name="style:text-rotation-angle">
14962                                         <ref name="angle"/>
14963                                 </attribute>
14964                         </optional>
14965                         <optional>
14966                                 <attribute name="style:text-rotation-scale">
14967                                         <choice>
14968                                                 <value>fixed</value>
14969                                                 <value>line-height</value>
14970                                         </choice>
14971                                 </attribute>
14972                         </optional>
14973                         <optional>
14974                                 <attribute name="fo:hyphenate">
14975                                         <ref name="boolean"/>
14976                                 </attribute>
14977                         </optional>
14978                         <optional>
14979                                 <attribute name="fo:hyphenation-remain-char-count">
14980                                         <ref name="positiveInteger"/>
14981                                 </attribute>
14982                         </optional>
14983                         <optional>
14984                                 <attribute name="fo:hyphenation-push-char-count">
14985                                         <ref name="positiveInteger"/>
14986                                 </attribute>
14987                         </optional>
14988                         <choice>
14989                                 <attribute name="text:display">
14990                                         <value>true</value>
14991                                 </attribute>
14992                                 <attribute name="text:display">
14993                                         <value>none</value>
14994                                 </attribute>
14995                                 <group>
14996                                         <attribute name="text:display">
14997                                                 <value>condition</value>
14998                                         </attribute>
14999                                         <attribute name="text:condition">
15000                                                 <value>none</value>
15001                                         </attribute>
15002                                 </group>
15003                                 <empty/>
15004                         </choice>
15005                 </interleave>
15006         </define>
15007         <define name="fontVariant">
15008                 <choice>
15009                         <value>normal</value>
15010                         <value>small-caps</value>
15011                 </choice>
15012         </define>
15013         <define name="fontFamilyGeneric">
15014                 <choice>
15015                         <value>roman</value>
15016                         <value>swiss</value>
15017                         <value>modern</value>
15018                         <value>decorative</value>
15019                         <value>script</value>
15020                         <value>system</value>
15021                 </choice>
15022         </define>
15023         <define name="fontPitch">
15024                 <choice>
15025                         <value>fixed</value>
15026                         <value>variable</value>
15027                 </choice>
15028         </define>
15029         <define name="textEncoding">
15030                 <data type="string">
15031                         <param name="pattern">[A-Za-z][A-Za-z0-9._\-]*</param>
15032                 </data>
15033         </define>
15034         <define name="fontStyle">
15035                 <choice>
15036                         <value>normal</value>
15037                         <value>italic</value>
15038                         <value>oblique</value>
15039                 </choice>
15040         </define>
15041         <define name="shadowType">
15042                 <choice>
15043                         <value>none</value>
15044                         <ref name="string"/>
15045                 </choice>
15046         </define>
15047         <define name="lineType">
15048                 <choice>
15049                         <value>none</value>
15050                         <value>single</value>
15051                         <value>double</value>
15052                 </choice>
15053         </define>
15054         <define name="lineStyle">
15055                 <choice>
15056                         <value>none</value>
15057                         <value>solid</value>
15058                         <value>dotted</value>
15059                         <value>dash</value>
15060                         <value>long-dash</value>
15061                         <value>dot-dash</value>
15062                         <value>dot-dot-dash</value>
15063                         <value>wave</value>
15064                 </choice>
15065         </define>
15066         <define name="lineWidth">
15067                 <choice>
15068                         <value>auto</value>
15069                         <value>normal</value>
15070                         <value>bold</value>
15071                         <value>thin</value>
15072                         <value>medium</value>
15073                         <value>thick</value>
15074                         <ref name="positiveInteger"/>
15075                         <ref name="percent"/>
15076                         <ref name="positiveLength"/>
15077                 </choice>
15078         </define>
15079         <define name="fontWeight">
15080                 <choice>
15081                         <value>normal</value>
15082                         <value>bold</value>
15083                         <value>100</value>
15084                         <value>200</value>
15085                         <value>300</value>
15086                         <value>400</value>
15087                         <value>500</value>
15088                         <value>600</value>
15089                         <value>700</value>
15090                         <value>800</value>
15091                         <value>900</value>
15092                 </choice>
15093         </define>
15094         <define name="lineMode">
15095                 <choice>
15096                         <value>continuous</value>
15097                         <value>skip-white-space</value>
15098                 </choice>
15099         </define>
15100         <define name="style-paragraph-properties">
15101                 <element name="style:paragraph-properties">
15102                         <ref name="style-paragraph-properties-content-strict"/>
15103                 </element>
15104         </define>
15105         <define name="style-paragraph-properties-content-strict">
15106                 <ref name="style-paragraph-properties-attlist"/>
15107                 <ref name="style-paragraph-properties-elements"/>
15108         </define>
15109         <define name="style-paragraph-properties-attlist">
15110                 <interleave>
15111                         <optional>
15112                                 <attribute name="fo:line-height">
15113                                         <choice>
15114                                                 <value>normal</value>
15115                                                 <ref name="nonNegativeLength"/>
15116                                                 <ref name="percent"/>
15117                                         </choice>
15118                                 </attribute>
15119                         </optional>
15120                         <optional>
15121                                 <attribute name="style:line-height-at-least">
15122                                         <ref name="nonNegativeLength"/>
15123                                 </attribute>
15124                         </optional>
15125                         <optional>
15126                                 <attribute name="style:line-spacing">
15127                                         <ref name="length"/>
15128                                 </attribute>
15129                         </optional>
15130                         <optional>
15131                                 <attribute name="style:font-independent-line-spacing">
15132                                         <ref name="boolean"/>
15133                                 </attribute>
15134                         </optional>
15135                         <ref name="common-text-align"/>
15136                         <optional>
15137                                 <attribute name="fo:text-align-last">
15138                                         <choice>
15139                                                 <value>start</value>
15140                                                 <value>center</value>
15141                                                 <value>justify</value>
15142                                         </choice>
15143                                 </attribute>
15144                         </optional>
15145                         <optional>
15146                                 <attribute name="style:justify-single-word">
15147                                         <ref name="boolean"/>
15148                                 </attribute>
15149                         </optional>
15150                         <optional>
15151                                 <attribute name="fo:keep-together">
15152                                         <choice>
15153                                                 <value>auto</value>
15154                                                 <value>always</value>
15155                                         </choice>
15156                                 </attribute>
15157                         </optional>
15158                         <optional>
15159                                 <attribute name="fo:widows">
15160                                         <ref name="nonNegativeInteger"/>
15161                                 </attribute>
15162                         </optional>
15163                         <optional>
15164                                 <attribute name="fo:orphans">
15165                                         <ref name="nonNegativeInteger"/>
15166                                 </attribute>
15167                         </optional>
15168                         <optional>
15169                                 <attribute name="style:tab-stop-distance">
15170                                         <ref name="nonNegativeLength"/>
15171                                 </attribute>
15172                         </optional>
15173                         <optional>
15174                                 <attribute name="fo:hyphenation-keep">
15175                                         <choice>
15176                                                 <value>auto</value>
15177                                                 <value>page</value>
15178                                         </choice>
15179                                 </attribute>
15180                         </optional>
15181                         <optional>
15182                                 <attribute name="fo:hyphenation-ladder-count">
15183                                         <choice>
15184                                                 <value>no-limit</value>
15185                                                 <ref name="positiveInteger"/>
15186                                         </choice>
15187                                 </attribute>
15188                         </optional>
15189                         <optional>
15190                                 <attribute name="style:register-true">
15191                                         <ref name="boolean"/>
15192                                 </attribute>
15193                         </optional>
15194         
15195                         <ref name="common-horizontal-margin-attlist"/>
15196                         <optional>
15197                                 <attribute name="fo:text-indent">
15198                                         <choice>
15199                                                 <ref name="length"/>
15200                                                 <ref name="percent"/>
15201                                         </choice>
15202                                 </attribute>
15203                         </optional>
15204                         <optional>
15205                                 <attribute name="style:auto-text-indent">
15206                                         <ref name="boolean"/>
15207                                 </attribute>
15208                         </optional>
15209                         <ref name="common-vertical-margin-attlist"/>
15210                         <ref name="common-margin-attlist"/>
15211                         <ref name="common-break-attlist"/>
15212                         <ref name="common-background-color-attlist"/>
15213                         <ref name="common-border-attlist"/>
15214                         <ref name="common-border-line-width-attlist"/>
15215                         <optional>
15216                                 <attribute name="style:join-border">
15217                                         <ref name="boolean"/>
15218                                 </attribute>
15219                         </optional>
15220                         <ref name="common-padding-attlist"/>
15221                         <ref name="common-shadow-attlist"/>
15222                         <ref name="common-keep-with-next-attlist"/>
15223                         <optional>
15224                                 <attribute name="text:number-lines">
15225                                         <ref name="boolean"/>
15226                                 </attribute>
15227                         </optional>
15228                         <optional>
15229                                 <attribute name="text:line-number">
15230                                         <ref name="nonNegativeInteger"/>
15231                                 </attribute>
15232                         </optional>
15233                         <optional>
15234                                 <attribute name="style:text-autospace">
15235                                         <choice>
15236                                                 <value>none</value>
15237                                                 <value>ideograph-alpha</value>
15238                                         </choice>
15239                                 </attribute>
15240                         </optional>
15241                         <optional>
15242                                 <attribute name="style:punctuation-wrap">
15243                                         <choice>
15244                                                 <value>simple</value>
15245                                                 <value>hanging</value>
15246                                         </choice>
15247                                 </attribute>
15248                         </optional>
15249                         <optional>
15250                                 <attribute name="style:line-break">
15251                                         <choice>
15252                                                 <value>normal</value>
15253                                                 <value>strict</value>
15254                                         </choice>
15255                                 </attribute>
15256                         </optional>
15257                         <optional>
15258                                 <attribute name="style:vertical-align">
15259                                         <choice>
15260                                                 <value>top</value>
15261                                                 <value>middle</value>
15262                                                 <value>bottom</value>
15263                                                 <value>auto</value>
15264                                                 <value>baseline</value>
15265                                         </choice>
15266                                 </attribute>
15267                         </optional>
15268                         <ref name="common-writing-mode-attlist"/>
15269                         <optional>
15270                                 <attribute name="style:writing-mode-automatic">
15271                                         <ref name="boolean"/>
15272                                 </attribute>
15273                         </optional>
15274                         <optional>
15275                                 <attribute name="style:snap-to-layout-grid">
15276                                         <ref name="boolean"/>
15277                                 </attribute>
15278                         </optional>
15279                         <ref name="common-page-number-attlist"/>
15280                         <ref name="common-background-transparency-attlist"/>
15281                 </interleave>
15282         </define>
15283         <define name="common-text-align">
15284                 <optional>
15285                         <attribute name="fo:text-align">
15286                                 <choice>
15287                                         <value>start</value>
15288                                         <value>end</value>
15289                                         <value>left</value>
15290                                         <value>right</value>
15291                                         <value>center</value>
15292                                         <value>justify</value>
15293                                 </choice>
15294                         </attribute>
15295                 </optional>
15296         </define>
15297         <define name="style-paragraph-properties-elements">
15298                 <interleave>
15299                         <ref name="style-tab-stops"/>
15300                         <ref name="style-drop-cap"/>
15301                         <ref name="style-background-image"/>
15302                 </interleave>
15303         </define>
15304         <define name="style-tab-stops">
15305                 <optional>
15306                         <element name="style:tab-stops">
15307                                 <zeroOrMore>
15308                                         <ref name="style-tab-stop"/>
15309                                 </zeroOrMore>
15310                         </element>
15311                 </optional>
15312         </define>
15313         <define name="style-tab-stop">
15314                 <element name="style:tab-stop">
15315                         <ref name="style-tab-stop-attlist"/>
15316                         <empty/>
15317                 </element>
15318         </define>
15319         <define name="style-tab-stop-attlist">
15320                 <interleave>
15321                         <attribute name="style:position">
15322                                 <ref name="length"/>
15323                         </attribute>
15324                         <choice>
15325                                 <optional>
15326                                         <attribute name="style:type">
15327                                                 <choice>
15328                                                         <value>left</value>
15329                                                         <value>center</value>
15330                                                         <value>right</value>
15331                                                 </choice>
15332                                         </attribute>
15333                                 </optional>
15334                                 <group>
15335                                         <attribute name="style:type">
15336                                                 <value>char</value>
15337                                         </attribute>
15338                                         <ref name="style-tab-stop-char-attlist"/>
15339                                 </group>
15340                         </choice>
15341                         <optional>
15342                                 <attribute name="style:leader-type">
15343                                         <ref name="lineType"/>
15344                                 </attribute>
15345                         </optional>
15346                         <optional>
15347                                 <attribute name="style:leader-style">
15348                                         <ref name="lineStyle"/>
15349                                 </attribute>
15350                         </optional>
15351                         <optional>
15352                                 <attribute name="style:leader-width">
15353                                         <ref name="lineWidth"/>
15354                                 </attribute>
15355                         </optional>
15356                         <optional>
15357                                 <attribute name="style:leader-color">
15358                                         <choice>
15359                                                 <value>font-color</value>
15360                                                 <ref name="color"/>
15361                                         </choice>
15362                                 </attribute>
15363                         </optional>
15364                         <optional>
15365                                 <attribute name="style:leader-text">
15366                                         <ref name="character"/>
15367                                 </attribute>
15368                         </optional>
15369                         <optional>
15370                                 <attribute name="style:leader-text-style">
15371                                         <ref name="styleNameRef"/>
15372                                 </attribute>
15373                         </optional>
15374                 </interleave>
15375         </define>
15376         <define name="style-tab-stop-char-attlist">
15377                 <attribute name="style:char">
15378                         <ref name="character"/>
15379                 </attribute>
15380         </define>
15381         <define name="style-drop-cap">
15382                 <optional>
15383                         <element name="style:drop-cap">
15384                                 <ref name="style-drop-cap-attlist"/>
15385                                 <empty/>
15386                         </element>
15387                 </optional>
15388         </define>
15389         <define name="style-drop-cap-attlist">
15390                 <interleave>
15391                         <optional>
15392                                 <attribute name="style:length">
15393                                         <choice>
15394                                                 <value>word</value>
15395                                                 <ref name="positiveInteger"/>
15396                                         </choice>
15397                                 </attribute>
15398                         </optional>
15399                         <optional>
15400                                 <attribute name="style:lines">
15401                                         <ref name="positiveInteger"/>
15402                                 </attribute>
15403                         </optional>
15404                         <optional>
15405                                 <attribute name="style:distance">
15406                                         <ref name="length"/>
15407                                 </attribute>
15408                         </optional>
15409                         <optional>
15410                                 <attribute name="style:style-name">
15411                                         <ref name="styleNameRef"/>
15412                                 </attribute>
15413                         </optional>
15414                 </interleave>
15415         </define>
15416         <define name="common-horizontal-margin-attlist">
15417                 <optional>
15418                         <attribute name="fo:margin-left">
15419                                 <choice>
15420                                         <ref name="length"/>
15421                                         <ref name="percent"/>
15422                                 </choice>
15423                         </attribute>
15424                 </optional>
15425                 <optional>
15426                         <attribute name="fo:margin-right">
15427                                 <choice>
15428                                         <ref name="length"/>
15429                                         <ref name="percent"/>
15430                                 </choice>
15431                         </attribute>
15432                 </optional>
15433         </define>
15434         <define name="common-vertical-margin-attlist">
15435                 <optional>
15436                         <attribute name="fo:margin-top">
15437                                 <choice>
15438                                         <ref name="nonNegativeLength"/>
15439                                         <ref name="percent"/>
15440                                 </choice>
15441                         </attribute>
15442                 </optional>
15443                 <optional>
15444                         <attribute name="fo:margin-bottom">
15445                                 <choice>
15446                                         <ref name="nonNegativeLength"/>
15447                                         <ref name="percent"/>
15448                                 </choice>
15449                         </attribute>
15450                 </optional>
15451         </define>
15452         <define name="common-margin-attlist">
15453                 <optional>
15454                         <attribute name="fo:margin">
15455                                 <choice>
15456                                         <ref name="nonNegativeLength"/>
15457                                         <ref name="percent"/>
15458                                 </choice>
15459                         </attribute>
15460                 </optional>
15461         </define>
15462         <define name="common-break-attlist">
15463                 <optional>
15464                         <attribute name="fo:break-before">
15465                                 <choice>
15466                                         <value>auto</value>
15467                                         <value>column</value>
15468                                         <value>page</value>
15469                                 </choice>
15470                         </attribute>
15471                 </optional>
15472                 <optional>
15473                         <attribute name="fo:break-after">
15474                                 <choice>
15475                                         <value>auto</value>
15476                                         <value>column</value>
15477                                         <value>page</value>
15478                                 </choice>
15479                         </attribute>
15480                 </optional>
15481         </define>
15482         <define name="common-background-color-attlist">
15483                 <optional>
15484                         <attribute name="fo:background-color">
15485                                 <choice>
15486                                         <value>transparent</value>
15487                                         <ref name="color"/>
15488                                 </choice>
15489                         </attribute>
15490                 </optional>
15491         </define>
15492         <define name="style-background-image">
15493                 <optional>
15494                         <element name="style:background-image">
15495                                 <ref name="style-background-image-attlist"/>
15496                                 <choice>
15497                                         <ref name="common-draw-data-attlist"/>
15498                                         <ref name="office-binary-data"/>
15499                                         <empty/>
15500                                 </choice>
15501                         </element>
15502                 </optional>
15503         </define>
15504         <define name="style-background-image-attlist">
15505                 <interleave>
15506                         <optional>
15507                                 <attribute name="style:repeat">
15508                                         <choice>
15509                                                 <value>no-repeat</value>
15510                                                 <value>repeat</value>
15511                                                 <value>stretch</value>
15512                                         </choice>
15513                                 </attribute>
15514                         </optional>
15515                         <optional>
15516                                 <attribute name="style:position">
15517                                         <choice>
15518                                                 <value>left</value>
15519                                                 <value>center</value>
15520                                                 <value>right</value>
15521                                                 <value>top</value>
15522                                                 <value>bottom</value>
15523                                                 <list>
15524                                                         <ref name="horiBackPos"/>
15525                                                         <ref name="vertBackPos"/>
15526                                                 </list>
15527                                                 <list>
15528                                                         <ref name="vertBackPos"/>
15529                                                         <ref name="horiBackPos"/>
15530                                                 </list>
15531                                         </choice>
15532                                 </attribute>
15533                         </optional>
15534                         <optional>
15535                                 <attribute name="style:filter-name">
15536                                         <ref name="string"/>
15537                                 </attribute>
15538                         </optional>
15539                         <optional>
15540                                 <attribute name="draw:opacity">
15541                                         <ref name="zeroToHundredPercent"/>
15542                                 </attribute>
15543                         </optional>
15544                 </interleave>
15545         </define>
15546         <define name="horiBackPos">
15547                 <choice>
15548                         <value>left</value>
15549                         <value>center</value>
15550                         <value>right</value>
15551                 </choice>
15552         </define>
15553         <define name="vertBackPos">
15554                 <choice>
15555                         <value>top</value>
15556                         <value>center</value>
15557                         <value>bottom</value>
15558                 </choice>
15559         </define>
15560         <define name="common-border-attlist">
15561                 <optional>
15562                         <attribute name="fo:border">
15563                                 <ref name="string"/>
15564                         </attribute>
15565                 </optional>
15566                 <optional>
15567                         <attribute name="fo:border-top">
15568                                 <ref name="string"/>
15569                         </attribute>
15570                 </optional>
15571                 <optional>
15572                         <attribute name="fo:border-bottom">
15573                                 <ref name="string"/>
15574                         </attribute>
15575                 </optional>
15576                 <optional>
15577                         <attribute name="fo:border-left">
15578                                 <ref name="string"/>
15579                         </attribute>
15580                 </optional>
15581                 <optional>
15582                         <attribute name="fo:border-right">
15583                                 <ref name="string"/>
15584                         </attribute>
15585                 </optional>
15586         </define>
15587         <define name="common-border-line-width-attlist">
15588                 <optional>
15589                         <attribute name="style:border-line-width">
15590                                 <ref name="borderWidths"/>
15591                         </attribute>
15592                 </optional>
15593                 <optional>
15594                         <attribute name="style:border-line-width-top">
15595                                 <ref name="borderWidths"/>
15596                         </attribute>
15597                 </optional>
15598                 <optional>
15599                         <attribute name="style:border-line-width-bottom">
15600                                 <ref name="borderWidths"/>
15601                         </attribute>
15602                 </optional>
15603                 <optional>
15604                         <attribute name="style:border-line-width-left">
15605                                 <ref name="borderWidths"/>
15606                         </attribute>
15607                 </optional>
15608                 <optional>
15609                         <attribute name="style:border-line-width-right">
15610                                 <ref name="borderWidths"/>
15611                         </attribute>
15612                 </optional>
15613         </define>
15614         <define name="borderWidths">
15615                 <list>
15616                         <ref name="positiveLength"/>
15617                         <ref name="positiveLength"/>
15618                         <ref name="positiveLength"/>
15619                 </list>
15620         </define>
15621         <define name="common-padding-attlist">
15622                 <optional>
15623                         <attribute name="fo:padding">
15624                                 <ref name="nonNegativeLength"/>
15625                         </attribute>
15626                 </optional>
15627                 <optional>
15628                         <attribute name="fo:padding-top">
15629                                 <ref name="nonNegativeLength"/>
15630                         </attribute>
15631                 </optional>
15632                 <optional>
15633                         <attribute name="fo:padding-bottom">
15634                                 <ref name="nonNegativeLength"/>
15635                         </attribute>
15636                 </optional>
15637                 <optional>
15638                         <attribute name="fo:padding-left">
15639                                 <ref name="nonNegativeLength"/>
15640                         </attribute>
15641                 </optional>
15642                 <optional>
15643                         <attribute name="fo:padding-right">
15644                                 <ref name="nonNegativeLength"/>
15645                         </attribute>
15646                 </optional>
15647         </define>
15648         <define name="common-shadow-attlist">
15649                 <optional>
15650                         <attribute name="style:shadow">
15651                                 <ref name="shadowType"/>
15652                         </attribute>
15653                 </optional>
15654         </define>
15655         <define name="common-keep-with-next-attlist">
15656                 <optional>
15657                         <attribute name="fo:keep-with-next">
15658                                 <choice>
15659                                         <value>auto</value>
15660                                         <value>always</value>
15661                                 </choice>
15662                         </attribute>
15663                 </optional>
15664         </define>
15665         <define name="common-writing-mode-attlist">
15666                 <optional>
15667                         <attribute name="style:writing-mode">
15668                                 <choice>
15669                                         <value>lr-tb</value>
15670                                         <value>rl-tb</value>
15671                                         <value>tb-rl</value>
15672                                         <value>tb-lr</value>
15673                                         <value>lr</value>
15674                                         <value>rl</value>
15675                                         <value>tb</value>
15676                                         <value>page</value>
15677                                 </choice>
15678                         </attribute>
15679                 </optional>
15680         </define>
15681         <define name="common-page-number-attlist">
15682                 <optional>
15683                         <attribute name="style:page-number">
15684                                 <choice>
15685                                         <ref name="positiveInteger"/>
15686                                         <value>auto</value>
15687                                 </choice>
15688                         </attribute>
15689                 </optional>
15690         </define>
15691         <define name="common-background-transparency-attlist">
15692                 <optional>
15693                         <attribute name="style:background-transparency">
15694                                 <ref name="zeroToHundredPercent"/>
15695                         </attribute>
15696                 </optional>
15697         </define>
15698         <define name="style-ruby-properties">
15699                 <element name="style:ruby-properties">
15700                         <ref name="style-ruby-properties-content-strict"/>
15701                 </element>
15702         </define>
15703         <define name="style-ruby-properties-content-strict">
15704                 <ref name="style-ruby-properties-attlist"/>
15705                 <ref name="style-ruby-properties-elements"/>
15706         </define>
15707         <define name="style-ruby-properties-elements">
15708                 <empty/>
15709         </define>
15710         <define name="style-ruby-properties-attlist">
15711                 <interleave>
15712                         <optional>
15713                                 <attribute name="style:ruby-position">
15714                                         <choice>
15715                                                 <value>above</value>
15716                                                 <value>below</value>
15717                                         </choice>
15718                                 </attribute>
15719                         </optional>
15720                         <optional>
15721                                 <attribute name="style:ruby-align">
15722                                         <choice>
15723                                                 <value>left</value>
15724                                                 <value>center</value>
15725                                                 <value>right</value>
15726                                                 <value>distribute-letter</value>
15727                                                 <value>distribute-space</value>
15728                                         </choice>
15729                                 </attribute>
15730                         </optional>
15731                 </interleave>
15732         </define>
15733         <define name="style-section-properties">
15734                 <element name="style:section-properties">
15735                         <ref name="style-section-properties-content-strict"/>
15736                 </element>
15737         </define>
15738         <define name="style-section-properties-content-strict">
15739                 <ref name="style-section-properties-attlist"/>
15740                 <ref name="style-section-properties-elements"/>
15741         </define>
15742         <define name="style-section-properties-attlist">
15743                 <interleave>
15744                         <ref name="common-background-color-attlist"/>
15745                         <ref name="common-horizontal-margin-attlist"/>
15746                         <optional>
15747                                 <attribute name="style:protect">
15748                                         <ref name="boolean"/>
15749                                 </attribute>
15750                         </optional>
15751                         <ref name="common-editable-attlist"/>
15752                         <optional>
15753                                 <attribute name="text:dont-balance-text-columns">
15754                                         <ref name="boolean"/>
15755                                 </attribute>
15756                         </optional>
15757                         <ref name="common-writing-mode-attlist"/>
15758                 </interleave>
15759         </define>
15760         <define name="style-section-properties-elements">
15761                 <interleave>
15762                         <ref name="style-background-image"/>
15763                         <ref name="style-columns"/>
15764                         <zeroOrMore>
15765                                 <ref name="text-notes-configuration"/>
15766                         </zeroOrMore>
15767                 </interleave>
15768         </define>
15769         <define name="style-columns">
15770                 <optional>
15771                         <element name="style:columns">
15772                                 <ref name="style-columns-attlist"/>
15773                                 <optional>
15774                                         <ref name="style-column-sep"/>
15775                                 </optional>
15776                                 <zeroOrMore>
15777                                         <ref name="style-column"/>
15778                                 </zeroOrMore>
15779                         </element>
15780                 </optional>
15781         </define>
15782         <define name="style-columns-attlist">
15783                 <interleave>
15784                         <attribute name="fo:column-count">
15785                                 <ref name="positiveInteger"/>
15786                         </attribute>
15787                         <optional>
15788                                 <attribute name="fo:column-gap">
15789                                         <ref name="length"/>
15790                                 </attribute>
15791                         </optional>
15792                 </interleave>
15793         </define>
15794         <define name="style-column">
15795                 <element name="style:column">
15796                         <ref name="style-column-attlist"/>
15797                 </element>
15798         </define>
15799         <define name="style-column-attlist">
15800                 <interleave>
15801                         <attribute name="style:rel-width">
15802                                 <ref name="relativeLength"/>
15803                         </attribute>
15804                         <optional>
15805                                 <attribute name="fo:start-indent">
15806                                         <ref name="length"/>
15807                                 </attribute>
15808                         </optional>
15809                         <optional>
15810                                 <attribute name="fo:end-indent">
15811                                         <ref name="length"/>
15812                                 </attribute>
15813                         </optional>
15814                         <optional>
15815                                 <attribute name="fo:space-before">
15816                                         <ref name="length"/>
15817                                 </attribute>
15818                         </optional>
15819                         <optional>
15820                                 <attribute name="fo:space-after">
15821                                         <ref name="length"/>
15822                                 </attribute>
15823                         </optional>
15824                 </interleave>
15825         </define>
15826         <define name="style-column-sep">
15827                 <element name="style:column-sep">
15828                         <ref name="style-column-sep-attlist"/>
15829                 </element>
15830         </define>
15831         <define name="style-column-sep-attlist">
15832                 <interleave>
15833                         <optional>
15834                                 <attribute name="style:style">
15835                                         <choice>
15836                                                 <value>none</value>
15837                                                 <value>solid</value>
15838                                                 <value>dotted</value>
15839                                                 <value>dashed</value>
15840                                                 <value>dot-dashed</value>
15841                                         </choice>
15842                                 </attribute>
15843                         </optional>
15844                         <attribute name="style:width">
15845                                 <ref name="length"/>
15846                         </attribute>
15847                         <optional>
15848                                 <attribute name="style:height">
15849                                         <ref name="zeroToHundredPercent"/>
15850                                 </attribute>
15851                         </optional>
15852                         <optional>
15853                                 <attribute name="style:vertical-align">
15854                                         <choice>
15855                                                 <value>top</value>
15856                                                 <value>middle</value>
15857                                                 <value>bottom</value>
15858                                         </choice>
15859                                 </attribute>
15860                         </optional>
15861                         <optional>
15862                                 <attribute name="style:color">
15863                                         <ref name="color"/>
15864                                 </attribute>
15865                         </optional>
15866                 </interleave>
15867         </define>
15868         <define name="style-table-properties">
15869                 <element name="style:table-properties">
15870                         <ref name="style-table-properties-content-strict"/>
15871                 </element>
15872         </define>
15873         <define name="style-table-properties-content-strict">
15874                 <ref name="style-table-properties-attlist"/>
15875                 <ref name="style-table-properties-elements"/>
15876         </define>
15877         <define name="style-table-properties-attlist">
15878                 <interleave>
15879                         <optional>
15880                                 <attribute name="style:width">
15881                                         <ref name="positiveLength"/>
15882                                 </attribute>
15883                         </optional>
15884                         <optional>
15885                                 <attribute name="style:rel-width">
15886                                         <ref name="percent"/>
15887                                 </attribute>
15888                         </optional>
15889                         <optional>
15890                                 <attribute name="table:align">
15891                                         <choice>
15892                                                 <value>left</value>
15893                                                 <value>center</value>
15894                                                 <value>right</value>
15895                                                 <value>margins</value>
15896                                         </choice>
15897                                 </attribute>
15898                         </optional>
15899                         <ref name="common-horizontal-margin-attlist"/>
15900                         <ref name="common-vertical-margin-attlist"/>
15901                         <ref name="common-margin-attlist"/>
15902                         <ref name="common-page-number-attlist"/>
15903                         <ref name="common-break-attlist"/>
15904                         <ref name="common-background-color-attlist"/>
15905                         <ref name="common-shadow-attlist"/>
15906                         <ref name="common-keep-with-next-attlist"/>
15907                         <optional>
15908                                 <attribute name="style:may-break-between-rows">
15909                                         <ref name="boolean"/>
15910                                 </attribute>
15911                         </optional>
15912                         <optional>
15913                                 <attribute name="table:border-model">
15914                                         <choice>
15915                                                 <value>collapsing</value>
15916                                                 <value>separating</value>
15917                                         </choice>
15918                                 </attribute>
15919                         </optional>
15920                         <ref name="common-writing-mode-attlist"/>
15921                         <optional>
15922                                 <attribute name="table:display">
15923                                         <ref name="boolean"/>
15924                                 </attribute>
15925                         </optional>
15926                 </interleave>
15927         </define>
15928         <define name="style-table-properties-elements">
15929                 <ref name="style-background-image"/>
15930         </define>
15931         <define name="style-table-column-properties">
15932                 <element name="style:table-column-properties">
15933                         <ref name="style-table-column-properties-content-strict"/>
15934                 </element>
15935         </define>
15936         <define name="style-table-column-properties-content-strict">
15937                 <ref name="style-table-column-properties-attlist"/>
15938                 <ref name="style-table-column-properties-elements"/>
15939         </define>
15940         <define name="style-table-column-properties-elements">
15941                 <empty/>
15942         </define>
15943         <define name="style-table-column-properties-attlist">
15944                 <interleave>
15945                         <optional>
15946                                 <attribute name="style:column-width">
15947                                         <ref name="positiveLength"/>
15948                                 </attribute>
15949                         </optional>
15950                         <optional>
15951                                 <attribute name="style:rel-column-width">
15952                                         <ref name="relativeLength"/>
15953                                 </attribute>
15954                         </optional>
15955                         <optional>
15956                                 <attribute name="style:use-optimal-column-width">
15957                                         <ref name="boolean"/>
15958                                 </attribute>
15959                         </optional>
15960                         <ref name="common-break-attlist"/>
15961                 </interleave>
15962         </define>
15963         <define name="style-table-row-properties">
15964                 <element name="style:table-row-properties">
15965                         <ref name="style-table-row-properties-content-strict"/>
15966                 </element>
15967         </define>
15968         <define name="style-table-row-properties-content-strict">
15969                 <ref name="style-table-row-properties-attlist"/>
15970                 <ref name="style-table-row-properties-elements"/>
15971         </define>
15972         <define name="style-table-row-properties-attlist">
15973                 <interleave>
15974                         <optional>
15975                                 <attribute name="style:row-height">
15976                                         <ref name="positiveLength"/>
15977                                 </attribute>
15978                         </optional>
15979                         <optional>
15980                                 <attribute name="style:min-row-height">
15981                                         <ref name="nonNegativeLength"/>
15982                                 </attribute>
15983                         </optional>
15984                         <optional>
15985                                 <attribute name="style:use-optimal-row-height">
15986                                         <ref name="boolean"/>
15987                                 </attribute>
15988                         </optional>
15989                         <ref name="common-background-color-attlist"/>
15990                         <ref name="common-break-attlist"/>
15991                         <optional>
15992                                 <attribute name="fo:keep-together">
15993                                         <choice>
15994                                                 <value>auto</value>
15995                                                 <value>always</value>
15996                                         </choice>
15997                                 </attribute>
15998                         </optional>
15999                 </interleave>
16000         </define>
16001         <define name="style-table-row-properties-elements">
16002                 <ref name="style-background-image"/>
16003         </define>
16004         <define name="style-table-cell-properties">
16005                 <element name="style:table-cell-properties">
16006                         <ref name="style-table-cell-properties-content-strict"/>
16007                 </element>
16008         </define>
16009         <define name="style-table-cell-properties-content-strict">
16010                 <ref name="style-table-cell-properties-attlist"/>
16011                 <ref name="style-table-cell-properties-elements"/>
16012         </define>
16013         <define name="style-table-cell-properties-attlist">
16014                 <interleave>
16015                         <optional>
16016                                 <attribute name="style:vertical-align">
16017                                         <choice>
16018                                                 <value>top</value>
16019                                                 <value>middle</value>
16020                                                 <value>bottom</value>
16021                                                 <value>automatic</value>
16022                                         </choice>
16023                                 </attribute>
16024                         </optional>
16025                         <optional>
16026                                 <attribute name="style:text-align-source">
16027                                         <choice>
16028                                                 <value>fix</value>
16029                                                 <value>value-type</value>
16030                                         </choice>
16031                                 </attribute>
16032                         </optional>
16033                         <ref name="common-style-direction-attlist"/>
16034                         <optional>
16035                                 <attribute name="style:glyph-orientation-vertical">
16036                                         <choice>
16037                                                 <value>auto</value>
16038                                                 <value>0</value>
16039                                                 <value>0deg</value>
16040                                                 <value>0rad</value>
16041                                                 <value>0grad</value>
16042                                         </choice>
16043                                 </attribute>
16044                         </optional>
16045                         <ref name="common-writing-mode-attlist"/>
16046                         <ref name="common-shadow-attlist"/>
16047                         <ref name="common-background-color-attlist"/>
16048                         <ref name="common-border-attlist"/>
16049                         <optional>
16050                                 <attribute name="style:diagonal-tl-br">
16051                                         <ref name="string"/>
16052                                 </attribute>
16053                         </optional>
16054                         <optional>
16055                                 <attribute name="style:diagonal-tl-br-widths">
16056                                         <ref name="borderWidths"/>
16057                                 </attribute>
16058                         </optional>
16059                         <optional>
16060                                 <attribute name="style:diagonal-bl-tr">
16061                                         <ref name="string"/>
16062                                 </attribute>
16063                         </optional>
16064                         <optional>
16065                                 <attribute name="style:diagonal-bl-tr-widths">
16066                                         <ref name="borderWidths"/>
16067                                 </attribute>
16068                         </optional>
16069                         <ref name="common-border-line-width-attlist"/>
16070                         <ref name="common-padding-attlist"/>
16071                         <optional>
16072                                 <attribute name="fo:wrap-option">
16073                                         <choice>
16074                                                 <value>no-wrap</value>
16075                                                 <value>wrap</value>
16076                                         </choice>
16077                                 </attribute>
16078                         </optional>
16079                         <ref name="common-rotation-angle-attlist"/>
16080                         <optional>
16081                                 <attribute name="style:rotation-align">
16082                                         <choice>
16083                                                 <value>none</value>
16084                                                 <value>bottom</value>
16085                                                 <value>top</value>
16086                                                 <value>center</value>
16087                                         </choice>
16088                                 </attribute>
16089                         </optional>
16090                         <optional>
16091                                 <attribute name="style:cell-protect">
16092                                         <choice>
16093                                                 <value>none</value>
16094                                                 <value>hidden-and-protected</value>
16095                                                 <list>
16096                                                         <oneOrMore>
16097                                                                 <choice>
16098                                                                         <value>protected</value>
16099                                                                         <value>formula-hidden</value>
16100                                                                 </choice>
16101                                                         </oneOrMore>
16102                                                 </list>
16103                                         </choice>
16104                                 </attribute>
16105                         </optional>
16106                         <optional>
16107                                 <attribute name="style:print-content">
16108                                         <ref name="boolean"/>
16109                                 </attribute>
16110                         </optional>
16111                         <optional>
16112                                 <attribute name="style:decimal-places">
16113                                         <ref name="nonNegativeInteger"/>
16114                                 </attribute>
16115                         </optional>
16116                         <optional>
16117                                 <attribute name="style:repeat-content">
16118                                         <ref name="boolean"/>
16119                                 </attribute>
16120                         </optional>
16121                         <optional>
16122                                 <attribute name="style:shrink-to-fit">
16123                                         <ref name="boolean"/>
16124                                 </attribute>
16125                         </optional>
16126                 </interleave>
16127         </define>
16128         <define name="common-style-direction-attlist">
16129                 <optional>
16130                         <attribute name="style:direction">
16131                                 <choice>
16132                                         <value>ltr</value>
16133                                         <value>ttb</value>
16134                                 </choice>
16135                         </attribute>
16136                 </optional>
16137         </define>
16138         <define name="style-table-cell-properties-elements">
16139                 <ref name="style-background-image"/>
16140         </define>
16141         <define name="common-rotation-angle-attlist">
16142                 <optional>
16143                         <attribute name="style:rotation-angle">
16144                                 <ref name="angle"/>
16145                         </attribute>
16146                 </optional>
16147         </define>
16148         <define name="style-list-level-properties">
16149                 <element name="style:list-level-properties">
16150                         <ref name="style-list-level-properties-content-strict"/>
16151                 </element>
16152         </define>
16153         <define name="style-list-level-properties-content-strict">
16154                 <ref name="style-list-level-properties-attlist"/>
16155                 <ref name="style-list-level-properties-elements"/>
16156         </define>
16157         <define name="style-list-level-properties-attlist">
16158                 <interleave>
16159                         <ref name="common-text-align"/>
16160                         <optional>
16161                                 <attribute name="text:space-before">
16162                                         <ref name="length"/>
16163                                 </attribute>
16164                         </optional>
16165                         <optional>
16166                                 <attribute name="text:min-label-width">
16167                                         <ref name="nonNegativeLength"/>
16168                                 </attribute>
16169                         </optional>
16170                         <optional>
16171                                 <attribute name="text:min-label-distance">
16172                                         <ref name="nonNegativeLength"/>
16173                                 </attribute>
16174                         </optional>
16175                         <optional>
16176                                 <attribute name="style:font-name">
16177                                         <ref name="string"/>
16178                                 </attribute>
16179                         </optional>
16180                         <optional>
16181                                 <attribute name="fo:width">
16182                                         <ref name="positiveLength"/>
16183                                 </attribute>
16184                         </optional>
16185                         <optional>
16186                                 <attribute name="fo:height">
16187                                         <ref name="positiveLength"/>
16188                                 </attribute>
16189                         </optional>
16190                         <ref name="common-vertical-rel-attlist"/>
16191                         <ref name="common-vertical-pos-attlist"/>
16192                         <optional>
16193                                 <attribute name="text:list-level-position-and-space-mode">
16194                                         <choice>
16195                                                 <value>label-width-and-position</value>
16196                                                 <value>label-alignment</value>
16197                                         </choice>
16198                                 </attribute>
16199                         </optional>
16200                 </interleave>
16201         </define>
16202         <define name="style-list-level-properties-elements">
16203                 <ref name="style-list-level-label-alignment"/>
16204         </define>
16205         <define name="style-list-level-label-alignment">
16206                 <optional>
16207                         <element name="style:list-level-label-alignment">
16208                                 <ref name="style-list-level-label-alignment-attlist"/>
16209                                 <empty/>
16210                         </element>
16211                 </optional>
16212         </define>
16213         <define name="style-list-level-label-alignment-attlist">
16214                 <interleave>
16215                         <attribute name="text:label-followed-by">
16216                                 <choice>
16217                                         <value>listtab</value>
16218                                         <value>space</value>
16219                                         <value>nothing</value>
16220                                 </choice>
16221                         </attribute>
16222                         <optional>
16223                                 <attribute name="text:list-tab-stop-position">
16224                                         <ref name="length"/>
16225                                 </attribute>
16226                         </optional>
16227                         <optional>
16228                                 <attribute name="fo:text-indent">
16229                                         <ref name="length"/>
16230                                 </attribute>
16231                         </optional>
16232                         <optional>
16233                                 <attribute name="fo:margin-left">
16234                                         <ref name="length"/>
16235                                 </attribute>
16236                         </optional>
16237                 </interleave>
16238         </define>
16239         <define name="style-graphic-properties-attlist">
16240                 <interleave>
16241                         <optional>
16242                                 <attribute name="draw:stroke">
16243                                         <choice>
16244                                                 <value>none</value>
16245                                                 <value>dash</value>
16246                                                 <value>solid</value>
16247                                         </choice>
16248                                 </attribute>
16249                         </optional>
16250                         <optional>
16251                                 <attribute name="draw:stroke-dash">
16252                                         <ref name="styleNameRef"/>
16253                                 </attribute>
16254                         </optional>
16255                         <optional>
16256                                 <attribute name="draw:stroke-dash-names">
16257                                         <ref name="styleNameRefs"/>
16258                                 </attribute>
16259                         </optional>
16260                         <optional>
16261                                 <attribute name="svg:stroke-width">
16262                                         <ref name="length"/>
16263                                 </attribute>
16264                         </optional>
16265                         <optional>
16266                                 <attribute name="svg:stroke-color">
16267                                         <ref name="color"/>
16268                                 </attribute>
16269                         </optional>
16270                         <optional>
16271                                 <attribute name="draw:marker-start">
16272                                         <ref name="styleNameRef"/>
16273                                 </attribute>
16274                         </optional>
16275                         <optional>
16276                                 <attribute name="draw:marker-end">
16277                                         <ref name="styleNameRef"/>
16278                                 </attribute>
16279                         </optional>
16280                         <optional>
16281                                 <attribute name="draw:marker-start-width">
16282                                         <ref name="length"/>
16283                                 </attribute>
16284                         </optional>
16285                         <optional>
16286                                 <attribute name="draw:marker-end-width">
16287                                         <ref name="length"/>
16288                                 </attribute>
16289                         </optional>
16290                         <optional>
16291                                 <attribute name="draw:marker-start-center">
16292                                         <ref name="boolean"/>
16293                                 </attribute>
16294                         </optional>
16295                         <optional>
16296                                 <attribute name="draw:marker-end-center">
16297                                         <ref name="boolean"/>
16298                                 </attribute>
16299                         </optional>
16300                         <optional>
16301                                 <attribute name="svg:stroke-opacity">
16302                                         <choice>
16303                                                 <data type="double">
16304                                                         <param name="minInclusive">0</param>
16305                                                         <param name="maxInclusive">1</param>
16306                                                 </data>
16307                                                 <ref name="zeroToHundredPercent"/>
16308                                         </choice>
16309                                 </attribute>
16310                         </optional>
16311                         <optional>
16312                                 <attribute name="draw:stroke-linejoin">
16313                                         <choice>
16314                                                 <value>miter</value>
16315                                                 <value>round</value>
16316                                                 <value>bevel</value>
16317                                                 <value>middle</value>
16318                                                 <value>none</value>
16319                                         </choice>
16320                                 </attribute>
16321                         </optional>
16322                         <optional>
16323                                 <attribute name="svg:stroke-linecap">
16324                                         <choice>
16325                                                 <value>butt</value>
16326                                                 <value>square</value>
16327                                                 <value>round</value>
16328                                         </choice>
16329                                 </attribute>
16330                         </optional>
16331                         <optional>
16332                                 <attribute name="draw:symbol-color">
16333                                         <ref name="color"/>
16334                                 </attribute>
16335                         </optional>
16336                         <optional>
16337                                 <attribute name="text:animation">
16338                                         <choice>
16339                                                 <value>none</value>
16340                                                 <value>scroll</value>
16341                                                 <value>alternate</value>
16342                                                 <value>slide</value>
16343                                         </choice>
16344                                 </attribute>
16345                         </optional>
16346                         <optional>
16347                                 <attribute name="text:animation-direction">
16348                                         <choice>
16349                                                 <value>left</value>
16350                                                 <value>right</value>
16351                                                 <value>up</value>
16352                                                 <value>down</value>
16353                                         </choice>
16354                                 </attribute>
16355                         </optional>
16356                         <optional>
16357                                 <attribute name="text:animation-start-inside">
16358                                         <ref name="boolean"/>
16359                                 </attribute>
16360                         </optional>
16361                         <optional>
16362                                 <attribute name="text:animation-stop-inside">
16363                                         <ref name="boolean"/>
16364                                 </attribute>
16365                         </optional>
16366                         <optional>
16367                                 <attribute name="text:animation-repeat">
16368                                         <ref name="nonNegativeInteger"/>
16369                                 </attribute>
16370                         </optional>
16371                         <optional>
16372                                 <attribute name="text:animation-delay">
16373                                         <ref name="duration"/>
16374                                 </attribute>
16375                         </optional>
16376                         <optional>
16377                                 <attribute name="text:animation-steps">
16378                                         <ref name="length"/>
16379                                 </attribute>
16380                         </optional>
16381                         <optional>
16382                                 <attribute name="draw:auto-grow-width">
16383                                         <ref name="boolean"/>
16384                                 </attribute>
16385                         </optional>
16386                         <optional>
16387                                 <attribute name="draw:auto-grow-height">
16388                                         <ref name="boolean"/>
16389                                 </attribute>
16390                         </optional>
16391                         <optional>
16392                                 <attribute name="draw:fit-to-size">
16393                                         <ref name="boolean"/>
16394                                 </attribute>
16395                         </optional>
16396                         <optional>
16397                                 <attribute name="draw:fit-to-contour">
16398                                         <ref name="boolean"/>
16399                                 </attribute>
16400                         </optional>
16401                         <optional>
16402                                 <attribute name="draw:textarea-vertical-align">
16403                                         <choice>
16404                                                 <value>top</value>
16405                                                 <value>middle</value>
16406                                                 <value>bottom</value>
16407                                                 <value>justify</value>
16408                                         </choice>
16409                                 </attribute>
16410                         </optional>
16411                         <optional>
16412                                 <attribute name="draw:textarea-horizontal-align">
16413                                         <choice>
16414                                                 <value>left</value>
16415                                                 <value>center</value>
16416                                                 <value>right</value>
16417                                                 <value>justify</value>
16418                                         </choice>
16419                                 </attribute>
16420                         </optional>
16421                         <optional>
16422                                 <attribute name="fo:wrap-option">
16423                                         <choice>
16424                                                 <value>no-wrap</value>
16425                                                 <value>wrap</value>
16426                                         </choice>
16427                                 </attribute>
16428                         </optional>
16429                         <optional>
16430                                 <attribute name="style:shrink-to-fit">
16431                                         <ref name="boolean"/>
16432                                 </attribute>
16433                         </optional>
16434                         <optional>
16435                                 <attribute name="draw:color-mode">
16436                                         <choice>
16437                                                 <value>greyscale</value>
16438                                                 <value>mono</value>
16439                                                 <value>watermark</value>
16440                                                 <value>standard</value>
16441                                         </choice>
16442                                 </attribute>
16443                         </optional>
16444                         <optional>
16445                                 <attribute name="draw:color-inversion">
16446                                         <ref name="boolean"/>
16447                                 </attribute>
16448                         </optional>
16449                         <optional>
16450                                 <attribute name="draw:luminance">
16451                                         <ref name="zeroToHundredPercent"/>
16452                                 </attribute>
16453                         </optional>
16454                         <optional>
16455                                 <attribute name="draw:contrast">
16456                                         <ref name="percent"/>
16457                                 </attribute>
16458                         </optional>
16459                         <optional>
16460                                 <attribute name="draw:gamma">
16461                                         <ref name="percent"/>
16462                                 </attribute>
16463                         </optional>
16464                         <optional>
16465                                 <attribute name="draw:red">
16466                                         <ref name="signedZeroToHundredPercent"/>
16467                                 </attribute>
16468                         </optional>
16469                         <optional>
16470                                 <attribute name="draw:green">
16471                                         <ref name="signedZeroToHundredPercent"/>
16472                                 </attribute>
16473                         </optional>
16474                         <optional>
16475                                 <attribute name="draw:blue">
16476                                         <ref name="signedZeroToHundredPercent"/>
16477                                 </attribute>
16478                         </optional>
16479                         <optional>
16480                                 <attribute name="draw:image-opacity">
16481                                         <ref name="zeroToHundredPercent"/>
16482                                 </attribute>
16483                         </optional>
16484                         <optional>
16485                                 <attribute name="draw:shadow">
16486                                         <choice>
16487                                                 <value>visible</value>
16488                                                 <value>hidden</value>
16489                                         </choice>
16490                                 </attribute>
16491                         </optional>
16492                         <optional>
16493                                 <attribute name="draw:shadow-offset-x">
16494                                         <ref name="length"/>
16495                                 </attribute>
16496                         </optional>
16497                         <optional>
16498                                 <attribute name="draw:shadow-offset-y">
16499                                         <ref name="length"/>
16500                                 </attribute>
16501                         </optional>
16502                         <optional>
16503                                 <attribute name="draw:shadow-color">
16504                                         <ref name="color"/>
16505                                 </attribute>
16506                         </optional>
16507                         <optional>
16508                                 <attribute name="draw:shadow-opacity">
16509                                         <ref name="zeroToHundredPercent"/>
16510                                 </attribute>
16511                         </optional>
16512                         <optional>
16513                                 <attribute name="draw:start-line-spacing-horizontal">
16514                                         <ref name="distance"/>
16515                                 </attribute>
16516                         </optional>
16517                         <optional>
16518                                 <attribute name="draw:start-line-spacing-vertical">
16519                                         <ref name="distance"/>
16520                                 </attribute>
16521                         </optional>
16522                         <optional>
16523                                 <attribute name="draw:end-line-spacing-horizontal">
16524                                         <ref name="distance"/>
16525                                 </attribute>
16526                         </optional>
16527                         <optional>
16528                                 <attribute name="draw:end-line-spacing-vertical">
16529                                         <ref name="distance"/>
16530                                 </attribute>
16531                         </optional>
16532                         <optional>
16533                                 <attribute name="draw:line-distance">
16534                                         <ref name="distance"/>
16535                                 </attribute>
16536                         </optional>
16537                         <optional>
16538                                 <attribute name="draw:guide-overhang">
16539                                         <ref name="length"/>
16540                                 </attribute>
16541                         </optional>
16542                         <optional>
16543                                 <attribute name="draw:guide-distance">
16544                                         <ref name="distance"/>
16545                                 </attribute>
16546                         </optional>
16547                         <optional>
16548                                 <attribute name="draw:start-guide">
16549                                         <ref name="length"/>
16550                                 </attribute>
16551                         </optional>
16552                         <optional>
16553                                 <attribute name="draw:end-guide">
16554                                         <ref name="length"/>
16555                                 </attribute>
16556                         </optional>
16557                         <optional>
16558                                 <attribute name="draw:placing">
16559                                         <choice>
16560                                                 <value>below</value>
16561                                                 <value>above</value>
16562                                         </choice>
16563                                 </attribute>
16564                         </optional>
16565                         <optional>
16566                                 <attribute name="draw:parallel">
16567                                         <ref name="boolean"/>
16568                                 </attribute>
16569                         </optional>
16570                         <optional>
16571                                 <attribute name="draw:measure-align">
16572                                         <choice>
16573                                                 <value>automatic</value>
16574                                                 <value>left-outside</value>
16575                                                 <value>inside</value>
16576                                                 <value>right-outside</value>
16577                                         </choice>
16578                                 </attribute>
16579                         </optional>
16580                         <optional>
16581                                 <attribute name="draw:measure-vertical-align">
16582                                         <choice>
16583                                                 <value>automatic</value>
16584                                                 <value>above</value>
16585                                                 <value>below</value>
16586                                                 <value>center</value>
16587                                         </choice>
16588                                 </attribute>
16589                         </optional>
16590                         <optional>
16591                                 <attribute name="draw:unit">
16592                                         <choice>
16593                                                 <value>automatic</value>
16594                                                 <value>mm</value>
16595                                                 <value>cm</value>
16596                                                 <value>m</value>
16597                                                 <value>km</value>
16598                                                 <value>pt</value>
16599                                                 <value>pc</value>
16600                                                 <value>inch</value>
16601                                                 <value>ft</value>
16602                                                 <value>mi</value>
16603                                         </choice>
16604                                 </attribute>
16605                         </optional>
16606                         <optional>
16607                                 <attribute name="draw:show-unit">
16608                                         <ref name="boolean"/>
16609                                 </attribute>
16610                         </optional>
16611                         <optional>
16612                                 <attribute name="draw:decimal-places">
16613                                         <ref name="nonNegativeInteger"/>
16614                                 </attribute>
16615                         </optional>
16616                         <optional>
16617                                 <attribute name="draw:caption-type">
16618                                         <choice>
16619                                                 <value>straight-line</value>
16620                                                 <value>angled-line</value>
16621                                                 <value>angled-connector-line</value>
16622                                         </choice>
16623                                 </attribute>
16624                         </optional>
16625                         <optional>
16626                                 <attribute name="draw:caption-angle-type">
16627                                         <choice>
16628                                                 <value>fixed</value>
16629                                                 <value>free</value>
16630                                         </choice>
16631                                 </attribute>
16632                         </optional>
16633                         <optional>
16634                                 <attribute name="draw:caption-angle">
16635                                         <ref name="angle"/>
16636                                 </attribute>
16637                         </optional>
16638                         <optional>
16639                                 <attribute name="draw:caption-gap">
16640                                         <ref name="distance"/>
16641                                 </attribute>
16642                         </optional>
16643                         <optional>
16644                                 <attribute name="draw:caption-escape-direction">
16645                                         <choice>
16646                                                 <value>horizontal</value>
16647                                                 <value>vertical</value>
16648                                                 <value>auto</value>
16649                                         </choice>
16650                                 </attribute>
16651                         </optional>
16652                         <optional>
16653                                 <attribute name="draw:caption-escape">
16654                                         <choice>
16655                                                 <ref name="length"/>
16656                                                 <ref name="percent"/>
16657                                         </choice>
16658                                 </attribute>
16659                         </optional>
16660                         <optional>
16661                                 <attribute name="draw:caption-line-length">
16662                                         <ref name="length"/>
16663                                 </attribute>
16664                         </optional>
16665                         <optional>
16666                                 <attribute name="draw:caption-fit-line-length">
16667                                         <ref name="boolean"/>
16668                                 </attribute>
16669                         </optional>
16670                         <optional>
16671                                 <attribute name="dr3d:horizontal-segments">
16672                                         <ref name="nonNegativeInteger"/>
16673                                 </attribute>
16674                         </optional>
16675                         <optional>
16676                                 <attribute name="dr3d:vertical-segments">
16677                                         <ref name="nonNegativeInteger"/>
16678                                 </attribute>
16679                         </optional>
16680                         <optional>
16681                                 <attribute name="dr3d:edge-rounding">
16682                                         <ref name="percent"/>
16683                                 </attribute>
16684                         </optional>
16685                         <optional>
16686                                 <attribute name="dr3d:edge-rounding-mode">
16687                                         <choice>
16688                                                 <value>correct</value>
16689                                                 <value>attractive</value>
16690                                         </choice>
16691                                 </attribute>
16692                         </optional>
16693                         <optional>
16694                                 <attribute name="dr3d:back-scale">
16695                                         <ref name="percent"/>
16696                                 </attribute>
16697                         </optional>
16698                         <optional>
16699                                 <attribute name="dr3d:depth">
16700                                         <ref name="length"/>
16701                                 </attribute>
16702                         </optional>
16703                         <optional>
16704                                 <attribute name="dr3d:backface-culling">
16705                                         <choice>
16706                                                 <value>enabled</value>
16707                                                 <value>disabled</value>
16708                                         </choice>
16709                                 </attribute>
16710                         </optional>
16711                         <optional>
16712                                 <attribute name="dr3d:end-angle">
16713                                         <ref name="angle"/>
16714                                 </attribute>
16715                         </optional>
16716                         <optional>
16717                                 <attribute name="dr3d:close-front">
16718                                         <ref name="boolean"/>
16719                                 </attribute>
16720                         </optional>
16721                         <optional>
16722                                 <attribute name="dr3d:close-back">
16723                                         <ref name="boolean"/>
16724                                 </attribute>
16725                         </optional>
16726                         <optional>
16727                                 <attribute name="dr3d:lighting-mode">
16728                                         <choice>
16729                                                 <value>standard</value>
16730                                                 <value>double-sided</value>
16731                                         </choice>
16732                                 </attribute>
16733                         </optional>
16734                         <optional>
16735                                 <attribute name="dr3d:normals-kind">
16736                                         <choice>
16737                                                 <value>object</value>
16738                                                 <value>flat</value>
16739                                                 <value>sphere</value>
16740                                         </choice>
16741                                 </attribute>
16742                         </optional>
16743                         <optional>
16744                                 <attribute name="dr3d:normals-direction">
16745                                         <choice>
16746                                                 <value>normal</value>
16747                                                 <value>inverse</value>
16748                                         </choice>
16749                                 </attribute>
16750                         </optional>
16751                         <optional>
16752                                 <attribute name="dr3d:texture-generation-mode-x">
16753                                         <choice>
16754                                                 <value>object</value>
16755                                                 <value>parallel</value>
16756                                                 <value>sphere</value>
16757                                         </choice>
16758                                 </attribute>
16759                         </optional>
16760                         <optional>
16761                                 <attribute name="dr3d:texture-generation-mode-y">
16762                                         <choice>
16763                                                 <value>object</value>
16764                                                 <value>parallel</value>
16765                                                 <value>sphere</value>
16766                                         </choice>
16767                                 </attribute>
16768                         </optional>
16769                         <optional>
16770                                 <attribute name="dr3d:texture-kind">
16771                                         <choice>
16772                                                 <value>luminance</value>
16773                                                 <value>intensity</value>
16774                                                 <value>color</value>
16775                                         </choice>
16776                                 </attribute>
16777                         </optional>
16778                         <optional>
16779                                 <attribute name="dr3d:texture-filter">
16780                                         <choice>
16781                                                 <value>enabled</value>
16782                                                 <value>disabled</value>
16783                                         </choice>
16784                                 </attribute>
16785                         </optional>
16786                         <optional>
16787                                 <attribute name="dr3d:texture-mode">
16788                                         <choice>
16789                                                 <value>replace</value>
16790                                                 <value>modulate</value>
16791                                                 <value>blend</value>
16792                                         </choice>
16793                                 </attribute>
16794                         </optional>
16795                         <optional>
16796                                 <attribute name="dr3d:ambient-color">
16797                                         <ref name="color"/>
16798                                 </attribute>
16799                         </optional>
16800                         <optional>
16801                                 <attribute name="dr3d:emissive-color">
16802                                         <ref name="color"/>
16803                                 </attribute>
16804                         </optional>
16805                         <optional>
16806                                 <attribute name="dr3d:specular-color">
16807                                         <ref name="color"/>
16808                                 </attribute>
16809                         </optional>
16810                         <optional>
16811                                 <attribute name="dr3d:diffuse-color">
16812                                         <ref name="color"/>
16813                                 </attribute>
16814                         </optional>
16815                         <optional>
16816                                 <attribute name="dr3d:shininess">
16817                                         <ref name="percent"/>
16818                                 </attribute>
16819                         </optional>
16820                         <optional>
16821                                 <attribute name="dr3d:shadow">
16822                                         <choice>
16823                                                 <value>visible</value>
16824                                                 <value>hidden</value>
16825                                         </choice>
16826                                 </attribute>
16827                         </optional>
16828                         <ref name="common-draw-rel-size-attlist"/>
16829                         <optional>
16830                                 <attribute name="fo:min-width">
16831                                         <choice>
16832                                                 <ref name="length"/>
16833                                                 <ref name="percent"/>
16834                                         </choice>
16835                                 </attribute>
16836                         </optional>
16837                         <optional>
16838                                 <attribute name="fo:min-height">
16839                                         <choice>
16840                                                 <ref name="length"/>
16841                                                 <ref name="percent"/>
16842                                         </choice>
16843                                 </attribute>
16844                         </optional>
16845                         <optional>
16846                                 <attribute name="fo:max-height">
16847                                         <choice>
16848                                                 <ref name="length"/>
16849                                                 <ref name="percent"/>
16850                                         </choice>
16851                                 </attribute>
16852                         </optional>
16853                         <optional>
16854                                 <attribute name="fo:max-width">
16855                                         <choice>
16856                                                 <ref name="length"/>
16857                                                 <ref name="percent"/>
16858                                         </choice>
16859                                 </attribute>
16860                         </optional>
16861                         <ref name="common-horizontal-margin-attlist"/>
16862                         <ref name="common-vertical-margin-attlist"/>
16863                         <ref name="common-margin-attlist"/>
16864                         <optional>
16865                                 <attribute name="style:print-content">
16866                                         <ref name="boolean"/>
16867                                 </attribute>
16868                         </optional>
16869                         <optional>
16870                                 <attribute name="style:protect">
16871                                         <choice>
16872                                                 <value>none</value>
16873                                                 <list>
16874                                                         <oneOrMore>
16875                                                                 <choice>
16876                                                                         <value>content</value>
16877                                                                         <value>position</value>
16878                                                                         <value>size</value>
16879                                                                 </choice>
16880                                                         </oneOrMore>
16881                                                 </list>
16882                                         </choice>
16883                                 </attribute>
16884                         </optional>
16885                         <optional>
16886                                 <attribute name="style:horizontal-pos">
16887                                         <choice>
16888                                                 <value>left</value>
16889                                                 <value>center</value>
16890                                                 <value>right</value>
16891                                                 <value>from-left</value>
16892                                                 <value>inside</value>
16893                                                 <value>outside</value>
16894                                                 <value>from-inside</value>
16895                                         </choice>
16896                                 </attribute>
16897                         </optional>
16898                         <optional>
16899                                 <attribute name="svg:x">
16900                                         <ref name="coordinate"/>
16901                                 </attribute>
16902                         </optional>
16903                         <optional>
16904                                 <attribute name="style:horizontal-rel">
16905                                         <choice>
16906                                                 <value>page</value>
16907                                                 <value>page-content</value>
16908                                                 <value>page-start-margin</value>
16909                                                 <value>page-end-margin</value>
16910                                                 <value>frame</value>
16911                                                 <value>frame-content</value>
16912                                                 <value>frame-start-margin</value>
16913                                                 <value>frame-end-margin</value>
16914                                                 <value>paragraph</value>
16915                                                 <value>paragraph-content</value>
16916                                                 <value>paragraph-start-margin</value>
16917                                                 <value>paragraph-end-margin</value>
16918                                                 <value>char</value>
16919                                         </choice>
16920                                 </attribute>
16921                         </optional>
16922                         <ref name="common-vertical-pos-attlist"/>
16923                         <ref name="common-vertical-rel-attlist"/>
16924                         <ref name="common-text-anchor-attlist"/>
16925                         <ref name="common-border-attlist"/>
16926                         <ref name="common-border-line-width-attlist"/>
16927                         <ref name="common-padding-attlist"/>
16928                         <ref name="common-shadow-attlist"/>
16929                         <ref name="common-background-color-attlist"/>
16930                         <ref name="common-background-transparency-attlist"/>
16931                         <ref name="common-editable-attlist"/>
16932                         <optional>
16933                                 <attribute name="style:wrap">
16934                                         <choice>
16935                                                 <value>none</value>
16936                                                 <value>left</value>
16937                                                 <value>right</value>
16938                                                 <value>parallel</value>
16939                                                 <value>dynamic</value>
16940                                                 <value>run-through</value>
16941                                                 <value>biggest</value>
16942                                         </choice>
16943                                 </attribute>
16944                         </optional>
16945                         <optional>
16946                                 <attribute name="style:wrap-dynamic-threshold">
16947                                         <ref name="nonNegativeLength"/>
16948                                 </attribute>
16949                         </optional>
16950                         <optional>
16951                                 <attribute name="style:number-wrapped-paragraphs">
16952                                         <choice>
16953                                                 <value>no-limit</value>
16954                                                 <ref name="positiveInteger"/>
16955                                         </choice>
16956                                 </attribute>
16957                         </optional>
16958                         <optional>
16959                                 <attribute name="style:wrap-contour">
16960                                         <ref name="boolean"/>
16961                                 </attribute>
16962                         </optional>
16963                         <optional>
16964                                 <attribute name="style:wrap-contour-mode">
16965                                         <choice>
16966                                                 <value>full</value>
16967                                                 <value>outside</value>
16968                                         </choice>
16969                                 </attribute>
16970                         </optional>
16971                         <optional>
16972                                 <attribute name="style:run-through">
16973                                         <choice>
16974                                                 <value>foreground</value>
16975                                                 <value>background</value>
16976                                         </choice>
16977                                 </attribute>
16978                         </optional>
16979                         <optional>
16980                                 <attribute name="style:flow-with-text">
16981                                         <ref name="boolean"/>
16982                                 </attribute>
16983                         </optional>
16984                         <optional>
16985                                 <attribute name="style:overflow-behavior">
16986                                         <choice>
16987                                                 <value>clip</value>
16988                                                 <value>auto-create-new-frame</value>
16989                                         </choice>
16990                                 </attribute>
16991                         </optional>
16992                         <optional>
16993                                 <attribute name="style:mirror">
16994                                         <choice>
16995                                                 <value>none</value>
16996                                                 <value>vertical</value>
16997                                                 <ref name="horizontal-mirror"/>
16998                                                 <list>
16999                                                         <value>vertical</value>
17000                                                         <ref name="horizontal-mirror"/>
17001                                                 </list>
17002                                                 <list>
17003                                                         <ref name="horizontal-mirror"/>
17004                                                         <value>vertical</value>
17005                                                 </list>
17006                                         </choice>
17007                                 </attribute>
17008                         </optional>
17009                         <optional>
17010                                 <attribute name="fo:clip">
17011                                         <choice>
17012                                                 <value>auto</value>
17013                                                 <ref name="clipShape"/>
17014                                         </choice>
17015                                 </attribute>
17016                         </optional>
17017                         <optional>
17018                                 <attribute name="draw:wrap-influence-on-position">
17019                                         <choice>
17020                                                 <value>iterative</value>
17021                                                 <value>once-concurrent</value>
17022                                                 <value>once-successive</value>
17023                                         </choice>
17024                                 </attribute>
17025                         </optional>
17026                         <ref name="common-writing-mode-attlist"/>
17027                         <optional>
17028                                 <attribute name="draw:frame-display-scrollbar">
17029                                         <ref name="boolean"/>
17030                                 </attribute>
17031                         </optional>
17032                         <optional>
17033                                 <attribute name="draw:frame-display-border">
17034                                         <ref name="boolean"/>
17035                                 </attribute>
17036                         </optional>
17037                         <optional>
17038                                 <attribute name="draw:frame-margin-horizontal">
17039                                         <ref name="nonNegativePixelLength"/>
17040                                 </attribute>
17041                         </optional>
17042                         <optional>
17043                                 <attribute name="draw:frame-margin-vertical">
17044                                         <ref name="nonNegativePixelLength"/>
17045                                 </attribute>
17046                         </optional>
17047                         <optional>
17048                                 <attribute name="draw:visible-area-left">
17049                                         <ref name="nonNegativeLength"/>
17050                                 </attribute>
17051                         </optional>
17052                         <optional>
17053                                 <attribute name="draw:visible-area-top">
17054                                         <ref name="nonNegativeLength"/>
17055                                 </attribute>
17056                         </optional>
17057                         <optional>
17058                                 <attribute name="draw:visible-area-width">
17059                                         <ref name="positiveLength"/>
17060                                 </attribute>
17061                         </optional>
17062                         <optional>
17063                                 <attribute name="draw:visible-area-height">
17064                                         <ref name="positiveLength"/>
17065                                 </attribute>
17066                         </optional>
17067                         <optional>
17068                                 <attribute name="draw:draw-aspect">
17069                                         <choice>
17070                                                 <value>content</value>
17071                                                 <value>thumbnail</value>
17072                                                 <value>icon</value>
17073                                                 <value>print-view</value>
17074                                         </choice>
17075                                 </attribute>
17076                         </optional>
17077                         <optional>
17078                                 <attribute name="draw:ole-draw-aspect">
17079                                         <ref name="nonNegativeInteger"/>
17080                                 </attribute>
17081                         </optional>
17082                 </interleave>
17083         </define>
17084         <define name="style-graphic-fill-properties-attlist">
17085                 <interleave>
17086                         <optional>
17087                                 <attribute name="draw:fill">
17088                                         <choice>
17089                                                 <value>none</value>
17090                                                 <value>solid</value>
17091                                                 <value>bitmap</value>
17092                                                 <value>gradient</value>
17093                                                 <value>hatch</value>
17094                                         </choice>
17095                                 </attribute>
17096                         </optional>
17097                         <optional>
17098                                 <attribute name="draw:fill-color">
17099                                         <ref name="color"/>
17100                                 </attribute>
17101                         </optional>
17102                         <optional>
17103                                 <attribute name="draw:secondary-fill-color">
17104                                         <ref name="color"/>
17105                                 </attribute>
17106                         </optional>
17107                         <optional>
17108                                 <attribute name="draw:fill-gradient-name">
17109                                         <ref name="styleNameRef"/>
17110                                 </attribute>
17111                         </optional>
17112                         <optional>
17113                                 <attribute name="draw:gradient-step-count">
17114                                         <ref name="nonNegativeInteger"/>
17115                                 </attribute>
17116                         </optional>
17117                         <optional>
17118                                 <attribute name="draw:fill-hatch-name">
17119                                         <ref name="styleNameRef"/>
17120                                 </attribute>
17121                         </optional>
17122                         <optional>
17123                                 <attribute name="draw:fill-hatch-solid">
17124                                         <ref name="boolean"/>
17125                                 </attribute>
17126                         </optional>
17127                         <optional>
17128                                 <attribute name="draw:fill-image-name">
17129                                         <ref name="styleNameRef"/>
17130                                 </attribute>
17131                         </optional>
17132                         <optional>
17133                                 <attribute name="style:repeat">
17134                                         <choice>
17135                                                 <value>no-repeat</value>
17136                                                 <value>repeat</value>
17137                                                 <value>stretch</value>
17138                                         </choice>
17139                                 </attribute>
17140                         </optional>
17141                         <optional>
17142                                 <attribute name="draw:fill-image-width">
17143                                         <choice>
17144                                                 <ref name="length"/>
17145                                                 <ref name="percent"/>
17146                                         </choice>
17147                                 </attribute>
17148                         </optional>
17149                         <optional>
17150                                 <attribute name="draw:fill-image-height">
17151                                         <choice>
17152                                                 <ref name="length"/>
17153                                                 <ref name="percent"/>
17154                                         </choice>
17155                                 </attribute>
17156                         </optional>
17157                         <optional>
17158                                 <attribute name="draw:fill-image-ref-point-x">
17159                                         <ref name="percent"/>
17160                                 </attribute>
17161                         </optional>
17162                         <optional>
17163                                 <attribute name="draw:fill-image-ref-point-y">
17164                                         <ref name="percent"/>
17165                                 </attribute>
17166                         </optional>
17167                         <optional>
17168                                 <attribute name="draw:fill-image-ref-point">
17169                                         <choice>
17170                                                 <value>top-left</value>
17171                                                 <value>top</value>
17172                                                 <value>top-right</value>
17173                                                 <value>left</value>
17174                                                 <value>center</value>
17175                                                 <value>right</value>
17176                                                 <value>bottom-left</value>
17177                                                 <value>bottom</value>
17178                                                 <value>bottom-right</value>
17179                                         </choice>
17180                                 </attribute>
17181                         </optional>
17182                         <optional>
17183                                 <attribute name="draw:tile-repeat-offset">
17184                                         <list>
17185                                                 <ref name="zeroToHundredPercent"/>
17186                                                 <choice>
17187                                                         <value>horizontal</value>
17188                                                         <value>vertical</value>
17189                                                 </choice>
17190                                         </list>
17191                                 </attribute>
17192                         </optional>
17193                         <optional>
17194                                 <attribute name="draw:opacity">
17195                                         <ref name="zeroToHundredPercent"/>
17196                                 </attribute>
17197                         </optional>
17198                         <optional>
17199                                 <attribute name="draw:opacity-name">
17200                                         <ref name="styleNameRef"/>
17201                                 </attribute>
17202                         </optional>
17203                         <optional>
17204                                 <attribute name="svg:fill-rule">
17205                                         <choice>
17206                                                 <value>nonzero</value>
17207                                                 <value>evenodd</value>
17208                                         </choice>
17209                                 </attribute>
17210                         </optional>
17211                 </interleave>
17212         </define>
17213         <define name="style-graphic-properties-elements">
17214                 <interleave>
17215                         <optional>
17216                                 <ref name="text-list-style"/>
17217                         </optional>
17218                         <ref name="style-background-image"/>
17219                         <ref name="style-columns"/>
17220                 </interleave>
17221         </define>
17222         <define name="common-vertical-pos-attlist">
17223                 <optional>
17224                         <attribute name="style:vertical-pos">
17225                                 <choice>
17226                                         <value>top</value>
17227                                         <value>middle</value>
17228                                         <value>bottom</value>
17229                                         <value>from-top</value>
17230                                         <value>below</value>
17231                                 </choice>
17232                         </attribute>
17233                 </optional>
17234                 <optional>
17235                         <attribute name="svg:y">
17236                                 <ref name="coordinate"/>
17237                         </attribute>
17238                 </optional>
17239         </define>
17240         <define name="common-vertical-rel-attlist">
17241                 <optional>
17242                         <attribute name="style:vertical-rel">
17243                                 <choice>
17244                                         <value>page</value>
17245                                         <value>page-content</value>
17246                                         <value>frame</value>
17247                                         <value>frame-content</value>
17248                                         <value>paragraph</value>
17249                                         <value>paragraph-content</value>
17250                                         <value>char</value>
17251                                         <value>line</value>
17252                                         <value>baseline</value>
17253                                         <value>text</value>
17254                                 </choice>
17255                         </attribute>
17256                 </optional>
17257         </define>
17258         <define name="common-editable-attlist">
17259                 <optional>
17260                         <attribute name="style:editable">
17261                                 <ref name="boolean"/>
17262                         </attribute>
17263                 </optional>
17264         </define>
17265         <define name="horizontal-mirror">
17266                 <choice>
17267                         <value>horizontal</value>
17268                         <value>horizontal-on-odd</value>
17269                         <value>horizontal-on-even</value>
17270                 </choice>
17271         </define>
17272         <define name="clipShape">
17273                 <data type="string">
17274                         <param name="pattern">rect\([ ]*((-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)))|(auto))([ ]*,[ ]*((-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc))))|(auto)){3}[ ]*\)</param>
17275                 </data>
17276         </define>
17277         <define name="nonNegativePixelLength">
17278                 <data type="string">
17279                         <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)(px)</param>
17280                 </data>
17281         </define>
17282         <define name="style-chart-properties">
17283                 <element name="style:chart-properties">
17284                         <ref name="style-chart-properties-content-strict"/>
17285                 </element>
17286         </define>
17287         <define name="style-chart-properties-content-strict">
17288                 <ref name="style-chart-properties-attlist"/>
17289                 <ref name="style-chart-properties-elements"/>
17290         </define>
17291         <define name="style-chart-properties-elements">
17292                 <empty/>
17293         </define>
17294         <define name="style-chart-properties-attlist">
17295                 <interleave>
17296                         <optional>
17297                                 <attribute name="chart:scale-text">
17298                                         <ref name="boolean"/>
17299                                 </attribute>
17300                         </optional>
17301                         <optional>
17302                                 <attribute name="chart:three-dimensional">
17303                                         <ref name="boolean"/>
17304                                 </attribute>
17305                         </optional>
17306                         <optional>
17307                                 <attribute name="chart:deep">
17308                                         <ref name="boolean"/>
17309                                 </attribute>
17310                         </optional>
17311                         <optional>
17312                                 <attribute name="chart:right-angled-axes">
17313                                         <ref name="boolean"/>
17314                                 </attribute>
17315                         </optional>
17316                         <choice>
17317                                 <attribute name="chart:symbol-type">
17318                                         <value>none</value>
17319                                 </attribute>
17320                                 <attribute name="chart:symbol-type">
17321                                         <value>automatic</value>
17322                                 </attribute>
17323                                 <group>
17324                                         <attribute name="chart:symbol-type">
17325                                                 <value>named-symbol</value>
17326                                         </attribute>
17327                                         <attribute name="chart:symbol-name">
17328                                                 <choice>
17329                                                         <value>square</value>
17330                                                         <value>diamond</value>
17331                                                         <value>arrow-down</value>
17332                                                         <value>arrow-up</value>
17333                                                         <value>arrow-right</value>
17334                                                         <value>arrow-left</value>
17335                                                         <value>bow-tie</value>
17336                                                         <value>hourglass</value>
17337                                                         <value>circle</value>
17338                                                         <value>star</value>
17339                                                         <value>x</value>
17340                                                         <value>plus</value>
17341                                                         <value>asterisk</value>
17342                                                         <value>horizontal-bar</value>
17343                                                         <value>vertical-bar</value>
17344                                                 </choice>
17345                                         </attribute>
17346                                 </group>
17347                                 <group>
17348                                         <attribute name="chart:symbol-type">
17349                                                 <value>image</value>
17350                                         </attribute>
17351                                         <element name="chart:symbol-image">
17352                                                 <attribute name="xlink:href">
17353                                                         <ref name="anyIRI"/>
17354                                                 </attribute>
17355                                         </element>
17356                                 </group>
17357                                 <empty/>
17358                         </choice>
17359                         <optional>
17360                                 <attribute name="chart:symbol-width">
17361                                         <ref name="nonNegativeLength"/>
17362                                 </attribute>
17363                         </optional>
17364                         <optional>
17365                                 <attribute name="chart:symbol-height">
17366                                         <ref name="nonNegativeLength"/>
17367                                 </attribute>
17368                         </optional>
17369                         <optional>
17370                                 <attribute name="chart:sort-by-x-values">
17371                                         <ref name="boolean"/>
17372                                 </attribute>
17373                         </optional>
17374                         <optional>
17375                                 <attribute name="chart:vertical">
17376                                         <ref name="boolean"/>
17377                                 </attribute>
17378                         </optional>
17379                         <optional>
17380                                 <attribute name="chart:connect-bars">
17381                                         <ref name="boolean"/>
17382                                 </attribute>
17383                         </optional>
17384                         <optional>
17385                                 <attribute name="chart:gap-width">
17386                                         <ref name="integer"/>
17387                                 </attribute>
17388                         </optional>
17389                         <optional>
17390                                 <attribute name="chart:overlap">
17391                                         <ref name="integer"/>
17392                                 </attribute>
17393                         </optional>
17394                         <optional>
17395                                 <attribute name="chart:group-bars-per-axis">
17396                                         <ref name="boolean"/>
17397                                 </attribute>
17398                         </optional>
17399                         <optional>
17400                                 <attribute name="chart:japanese-candle-stick">
17401                                         <ref name="boolean"/>
17402                                 </attribute>
17403                         </optional>
17404                         <optional>
17405                                 <attribute name="chart:interpolation">
17406                                         <choice>
17407                                                 <value>none</value>
17408                                                 <value>cubic-spline</value>
17409                                                 <value>b-spline</value>
17410                                         </choice>
17411                                 </attribute>
17412                         </optional>
17413                         <optional>
17414                                 <attribute name="chart:spline-order">
17415                                         <ref name="positiveInteger"/>
17416                                 </attribute>
17417                         </optional>
17418                         <optional>
17419                                 <attribute name="chart:spline-resolution">
17420                                         <ref name="positiveInteger"/>
17421                                 </attribute>
17422                         </optional>
17423                         <optional>
17424                                 <attribute name="chart:pie-offset">
17425                                         <ref name="nonNegativeInteger"/>
17426                                 </attribute>
17427                         </optional>
17428                         <optional>
17429                                 <attribute name="chart:angle-offset">
17430                                         <ref name="angle"/>
17431                                 </attribute>
17432                         </optional>
17433                         <optional>
17434                                 <attribute name="chart:hole-size">
17435                                         <ref name="percent"/>
17436                                 </attribute>
17437                         </optional>
17438                         <optional>
17439                                 <attribute name="chart:lines">
17440                                         <ref name="boolean"/>
17441                                 </attribute>
17442                         </optional>
17443                         <optional>
17444                                 <attribute name="chart:solid-type">
17445                                         <choice>
17446                                                 <value>cuboid</value>
17447                                                 <value>cylinder</value>
17448                                                 <value>cone</value>
17449                                                 <value>pyramid</value>
17450                                         </choice>
17451                                 </attribute>
17452                         </optional>
17453                         <optional>
17454                                 <attribute name="chart:stacked">
17455                                         <ref name="boolean"/>
17456                                 </attribute>
17457                         </optional>
17458                         <optional>
17459                                 <attribute name="chart:percentage">
17460                                         <ref name="boolean"/>
17461                                 </attribute>
17462                         </optional>
17463                         <optional>
17464                                 <attribute name="chart:treat-empty-cells">
17465                                         <choice>
17466                                                 <value>use-zero</value>
17467                                                 <value>leave-gap</value>
17468                                                 <value>ignore</value>
17469                                         </choice>
17470                                 </attribute>
17471                         </optional>
17472                         <optional>
17473                                 <attribute name="chart:link-data-style-to-source">
17474                                         <ref name="boolean"/>
17475                                 </attribute>
17476                         </optional>
17477                         <optional>
17478                                 <attribute name="chart:logarithmic">
17479                                         <ref name="boolean"/>
17480                                 </attribute>
17481                         </optional>
17482                         <optional>
17483                                 <attribute name="chart:maximum">
17484                                         <ref name="double"/>
17485                                 </attribute>
17486                         </optional>
17487                         <optional>
17488                                 <attribute name="chart:minimum">
17489                                         <ref name="double"/>
17490                                 </attribute>
17491                         </optional>
17492                         <optional>
17493                                 <attribute name="chart:origin">
17494                                         <ref name="double"/>
17495                                 </attribute>
17496                         </optional>
17497                         <optional>
17498                                 <attribute name="chart:interval-major">
17499                                         <ref name="double"/>
17500                                 </attribute>
17501                         </optional>
17502                         <optional>
17503                                 <attribute name="chart:interval-minor-divisor">
17504                                         <ref name="positiveInteger"/>
17505                                 </attribute>
17506                         </optional>
17507                         <optional>
17508                                 <attribute name="chart:tick-marks-major-inner">
17509                                         <ref name="boolean"/>
17510                                 </attribute>
17511                         </optional>
17512                         <optional>
17513                                 <attribute name="chart:tick-marks-major-outer">
17514                                         <ref name="boolean"/>
17515                                 </attribute>
17516                         </optional>
17517                         <optional>
17518                                 <attribute name="chart:tick-marks-minor-inner">
17519                                         <ref name="boolean"/>
17520                                 </attribute>
17521                         </optional>
17522                         <optional>
17523                                 <attribute name="chart:tick-marks-minor-outer">
17524                                         <ref name="boolean"/>
17525                                 </attribute>
17526                         </optional>
17527                         <optional>
17528                                 <attribute name="chart:reverse-direction">
17529                                         <ref name="boolean"/>
17530                                 </attribute>
17531                         </optional>
17532                         <optional>
17533                                 <attribute name="chart:display-label">
17534                                         <ref name="boolean"/>
17535                                 </attribute>
17536                         </optional>
17537                         <optional>
17538                                 <attribute name="chart:text-overlap">
17539                                         <ref name="boolean"/>
17540                                 </attribute>
17541                         </optional>
17542                         <optional>
17543                                 <attribute name="text:line-break">
17544                                         <ref name="boolean"/>
17545                                 </attribute>
17546                         </optional>
17547                         <optional>
17548                                 <attribute name="chart:label-arrangement">
17549                                         <choice>
17550                                                 <value>side-by-side</value>
17551                                                 <value>stagger-even</value>
17552                                                 <value>stagger-odd</value>
17553                                         </choice>
17554                                 </attribute>
17555                         </optional>
17556                         <ref name="common-style-direction-attlist"/>
17557                         <ref name="common-rotation-angle-attlist"/>
17558                         <optional>
17559                                 <attribute name="chart:data-label-number">
17560                                         <choice>
17561                                                 <value>none</value>
17562                                                 <value>value</value>
17563                                                 <value>percentage</value>
17564                                                 <value>value-and-percentage</value>
17565                                         </choice>
17566                                 </attribute>
17567                         </optional>
17568                         <optional>
17569                                 <attribute name="chart:data-label-text">
17570                                         <ref name="boolean"/>
17571                                 </attribute>
17572                         </optional>
17573                         <optional>
17574                                 <attribute name="chart:data-label-symbol">
17575                                         <ref name="boolean"/>
17576                                 </attribute>
17577                         </optional>
17578                         <optional>
17579                                 <element name="chart:label-separator">
17580                                         <ref name="text-p"/>
17581                                 </element>
17582                         </optional>
17583                         <optional>
17584                                 <attribute name="chart:label-position">
17585                                         <ref name="labelPositions"/>
17586                                 </attribute>
17587                         </optional>
17588                         <optional>
17589                                 <attribute name="chart:label-position-negative">
17590                                         <ref name="labelPositions"/>
17591                                 </attribute>
17592                         </optional>
17593                         <optional>
17594                                 <attribute name="chart:visible">
17595                                         <ref name="boolean"/>
17596                                 </attribute>
17597                         </optional>
17598                         <optional>
17599                                 <attribute name="chart:auto-position">
17600                                         <ref name="boolean"/>
17601                                 </attribute>
17602                         </optional>
17603                         <optional>
17604                                 <attribute name="chart:auto-size">
17605                                         <ref name="boolean"/>
17606                                 </attribute>
17607                         </optional>
17608                         <optional>
17609                                 <attribute name="chart:mean-value">
17610                                         <ref name="boolean"/>
17611                                 </attribute>
17612                         </optional>
17613                         <optional>
17614                                 <attribute name="chart:error-category">
17615                                         <choice>
17616                                                 <value>none</value>
17617                                                 <value>variance</value>
17618                                                 <value>standard-deviation</value>
17619                                                 <value>percentage</value>
17620                                                 <value>error-margin</value>
17621                                                 <value>constant</value>
17622                                                 <value>standard-error</value>
17623                                                 <value>cell-range</value>
17624                                         </choice>
17625                                 </attribute>
17626                         </optional>
17627                         <optional>
17628                                 <attribute name="chart:error-percentage">
17629                                         <ref name="double"/>
17630                                 </attribute>
17631                         </optional>
17632                         <optional>
17633                                 <attribute name="chart:error-margin">
17634                                         <ref name="double"/>
17635                                 </attribute>
17636                         </optional>
17637                         <optional>
17638                                 <attribute name="chart:error-lower-limit">
17639                                         <ref name="double"/>
17640                                 </attribute>
17641                         </optional>
17642                         <optional>
17643                                 <attribute name="chart:error-upper-limit">
17644                                         <ref name="double"/>
17645                                 </attribute>
17646                         </optional>
17647                         <optional>
17648                                 <attribute name="chart:error-upper-indicator">
17649                                         <ref name="boolean"/>
17650                                 </attribute>
17651                         </optional>
17652                         <optional>
17653                                 <attribute name="chart:error-lower-indicator">
17654                                         <ref name="boolean"/>
17655                                 </attribute>
17656                         </optional>
17657                         <optional>
17658                                 <attribute name="chart:error-lower-range">
17659                                         <ref name="cellRangeAddressList"/>
17660                                 </attribute>
17661                         </optional>
17662                         <optional>
17663                                 <attribute name="chart:error-upper-range">
17664                                         <ref name="cellRangeAddressList"/>
17665                                 </attribute>
17666                         </optional>
17667                         <optional>
17668                                 <attribute name="chart:series-source">
17669                                         <choice>
17670                                                 <value>columns</value>
17671                                                 <value>rows</value>
17672                                         </choice>
17673                                 </attribute>
17674                         </optional>
17675                         <optional>
17676                                 <attribute name="chart:regression-type">
17677                                         <choice>
17678                                                 <value>none</value>
17679                                                 <value>linear</value>
17680                                                 <value>logarithmic</value>
17681                                                 <value>exponential</value>
17682                                                 <value>power</value>
17683                                         </choice>
17684                                 </attribute>
17685                         </optional>
17686                         <optional>
17687                                 <attribute name="chart:axis-position">
17688                                         <choice>
17689                                                 <value>start</value>
17690                                                 <value>end</value>
17691                                                 <ref name="double"/>
17692                                         </choice>
17693                                 </attribute>
17694                         </optional>
17695                         <optional>
17696                                 <attribute name="chart:axis-label-position">
17697                                         <choice>
17698                                                 <value>near-axis</value>
17699                                                 <value>near-axis-other-side</value>
17700                                                 <value>outside-start</value>
17701                                                 <value>outside-end</value>
17702                                         </choice>
17703                                 </attribute>
17704                         </optional>
17705                         <optional>
17706                                 <attribute name="chart:tick-mark-position">
17707                                         <choice>
17708                                                 <value>at-labels</value>
17709                                                 <value>at-axis</value>
17710                                                 <value>at-labels-and-axis</value>
17711                                         </choice>
17712                                 </attribute>
17713                         </optional>
17714                         <optional>
17715                                 <attribute name="chart:include-hidden-cells">
17716                                         <ref name="boolean"/>
17717                                 </attribute>
17718                         </optional>
17719                 </interleave>
17720         </define>
17721         <define name="labelPositions">
17722                 <choice>
17723                         <value>avoid-overlap</value>
17724                         <value>center</value>
17725                         <value>top</value>
17726                         <value>top-right</value>
17727                         <value>right</value>
17728                         <value>bottom-right</value>
17729                         <value>bottom</value>
17730                         <value>bottom-left</value>
17731                         <value>left</value>
17732                         <value>top-left</value>
17733                         <value>inside</value>
17734                         <value>outside</value>
17735                         <value>near-origin</value>
17736                 </choice>
17737         </define>
17738         <define name="style-drawing-page-properties-attlist">
17739                 <interleave>
17740                         <optional>
17741                                 <attribute name="presentation:transition-type">
17742                                         <choice>
17743                                                 <value>manual</value>
17744                                                 <value>automatic</value>
17745                                                 <value>semi-automatic</value>
17746                                         </choice>
17747                                 </attribute>
17748                         </optional>
17749                         <optional>
17750                                 <attribute name="presentation:transition-style">
17751                                         <choice>
17752                                                 <value>none</value>
17753                                                 <value>fade-from-left</value>
17754                                                 <value>fade-from-top</value>
17755                                                 <value>fade-from-right</value>
17756                                                 <value>fade-from-bottom</value>
17757                                                 <value>fade-from-upperleft</value>
17758                                                 <value>fade-from-upperright</value>
17759                                                 <value>fade-from-lowerleft</value>
17760                                                 <value>fade-from-lowerright</value>
17761                                                 <value>move-from-left</value>
17762                                                 <value>move-from-top</value>
17763                                                 <value>move-from-right</value>
17764                                                 <value>move-from-bottom</value>
17765                                                 <value>move-from-upperleft</value>
17766                                                 <value>move-from-upperright</value>
17767                                                 <value>move-from-lowerleft</value>
17768                                                 <value>move-from-lowerright</value>
17769                                                 <value>uncover-to-left</value>
17770                                                 <value>uncover-to-top</value>
17771                                                 <value>uncover-to-right</value>
17772                                                 <value>uncover-to-bottom</value>
17773                                                 <value>uncover-to-upperleft</value>
17774                                                 <value>uncover-to-upperright</value>
17775                                                 <value>uncover-to-lowerleft</value>
17776                                                 <value>uncover-to-lowerright</value>
17777                                                 <value>fade-to-center</value>
17778                                                 <value>fade-from-center</value>
17779                                                 <value>vertical-stripes</value>
17780                                                 <value>horizontal-stripes</value>
17781                                                 <value>clockwise</value>
17782                                                 <value>counterclockwise</value>
17783                                                 <value>open-vertical</value>
17784                                                 <value>open-horizontal</value>
17785                                                 <value>close-vertical</value>
17786                                                 <value>close-horizontal</value>
17787                                                 <value>wavyline-from-left</value>
17788                                                 <value>wavyline-from-top</value>
17789                                                 <value>wavyline-from-right</value>
17790                                                 <value>wavyline-from-bottom</value>
17791                                                 <value>spiralin-left</value>
17792                                                 <value>spiralin-right</value>
17793                                                 <value>spiralout-left</value>
17794                                                 <value>spiralout-right</value>
17795                                                 <value>roll-from-top</value>
17796                                                 <value>roll-from-left</value>
17797                                                 <value>roll-from-right</value>
17798                                                 <value>roll-from-bottom</value>
17799                                                 <value>stretch-from-left</value>
17800                                                 <value>stretch-from-top</value>
17801                                                 <value>stretch-from-right</value>
17802                                                 <value>stretch-from-bottom</value>
17803                                                 <value>vertical-lines</value>
17804                                                 <value>horizontal-lines</value>
17805                                                 <value>dissolve</value>
17806                                                 <value>random</value>
17807                                                 <value>vertical-checkerboard</value>
17808                                                 <value>horizontal-checkerboard</value>
17809                                                 <value>interlocking-horizontal-left</value>
17810                                                 <value>interlocking-horizontal-right</value>
17811                                                 <value>interlocking-vertical-top</value>
17812                                                 <value>interlocking-vertical-bottom</value>
17813                                                 <value>fly-away</value>
17814                                                 <value>open</value>
17815                                                 <value>close</value>
17816                                                 <value>melt</value>
17817                                         </choice>
17818                                 </attribute>
17819                         </optional>
17820                         <optional>
17821                                 <attribute name="presentation:transition-speed">
17822                                         <ref name="presentationSpeeds"/>
17823                                 </attribute>
17824                         </optional>
17825                         <optional>
17826                                 <attribute name="smil:type">
17827                                         <ref name="string"/>
17828                                 </attribute>
17829                         </optional>
17830                         <optional>
17831                                 <attribute name="smil:subtype">
17832                                         <ref name="string"/>
17833                                 </attribute>
17834                         </optional>
17835                         <optional>
17836                                 <attribute name="smil:direction">
17837                                         <choice>
17838                                                 <value>forward</value>
17839                                                 <value>reverse</value>
17840                                         </choice>
17841                                 </attribute>
17842                         </optional>
17843                         <optional>
17844                                 <attribute name="smil:fadeColor">
17845                                         <ref name="color"/>
17846                                 </attribute>
17847                         </optional>
17848                         <optional>
17849                                 <attribute name="presentation:duration">
17850                                         <ref name="duration"/>
17851                                 </attribute>
17852                         </optional>
17853                         <optional>
17854                                 <attribute name="presentation:visibility">
17855                                         <choice>
17856                                                 <value>visible</value>
17857                                                 <value>hidden</value>
17858                                         </choice>
17859                                 </attribute>
17860                         </optional>
17861                         <optional>
17862                                 <attribute name="draw:background-size">
17863                                         <choice>
17864                                                 <value>full</value>
17865                                                 <value>border</value>
17866                                         </choice>
17867                                 </attribute>
17868                         </optional>
17869                         <optional>
17870                                 <attribute name="presentation:background-objects-visible">
17871                                         <ref name="boolean"/>
17872                                 </attribute>
17873                         </optional>
17874                         <optional>
17875                                 <attribute name="presentation:background-visible">
17876                                         <ref name="boolean"/>
17877                                 </attribute>
17878                         </optional>
17879                         <optional>
17880                                 <attribute name="presentation:display-header">
17881                                         <ref name="boolean"/>
17882                                 </attribute>
17883                         </optional>
17884                         <optional>
17885                                 <attribute name="presentation:display-footer">
17886                                         <ref name="boolean"/>
17887                                 </attribute>
17888                         </optional>
17889                         <optional>
17890                                 <attribute name="presentation:display-page-number">
17891                                         <ref name="boolean"/>
17892                                 </attribute>
17893                         </optional>
17894                         <optional>
17895                                 <attribute name="presentation:display-date-time">
17896                                         <ref name="boolean"/>
17897                                 </attribute>
17898                         </optional>
17899                 </interleave>
17900         </define>
17901         <define name="style-drawing-page-properties-elements">
17902                 <optional>
17903                         <ref name="presentation-sound"/>
17904                 </optional>
17905         </define>
17906         <define name="string">
17907                 <data type="string"/>
17908         </define>
17909         <define name="date">
17910                 <data type="date"/>
17911         </define>
17912         <define name="time">
17913                 <data type="time"/>
17914         </define>
17915         <define name="dateTime">
17916                 <data type="dateTime"/>
17917         </define>
17918         <define name="duration">
17919                 <data type="duration"/>
17920         </define>
17921         <define name="integer">
17922                 <data type="integer"/>
17923         </define>
17924         <define name="nonNegativeInteger">
17925                 <data type="nonNegativeInteger"/>
17926         </define>
17927         <define name="positiveInteger">
17928                 <data type="positiveInteger"/>
17929         </define>
17930         <define name="double">
17931                 <data type="double"/>
17932         </define>
17933         <define name="anyURI">
17934                 <data type="anyURI"/>
17935         </define>
17936         <define name="base64Binary">
17937                 <data type="base64Binary"/>
17938         </define>
17939         <define name="ID">
17940                 <data type="ID"/>
17941         </define>
17942         <define name="IDREF">
17943                 <data type="IDREF"/>
17944         </define>
17945         <define name="IDREFS">
17946                 <data type="IDREFS"/>
17947         </define>
17948         <define name="NCName">
17949                 <data type="NCName"/>
17950         </define>
17951         <define name="boolean">
17952                 <choice>
17953                         <value>true</value>
17954                         <value>false</value>
17955                 </choice>
17956         </define>
17957         <define name="dateOrDateTime">
17958                 <choice>
17959                         <data type="date"/>
17960                         <data type="dateTime"/>
17961                 </choice>
17962         </define>
17963         <define name="timeOrDateTime">
17964                 <choice>
17965                         <data type="time"/>
17966                         <data type="dateTime"/>
17967                 </choice>
17968         </define>
17969         <define name="language">
17970                 <data type="language"/>
17971         </define>
17972         <define name="countryCode">
17973                 <data type="token">
17974                         <param name="pattern">[A-Za-z0-9]{1,8}</param>
17975                 </data>
17976         </define>
17977         <define name="languageCode">
17978                 <data type="token">
17979                         <param name="pattern">[A-Za-z]{1,8}</param>
17980                 </data>
17981         </define>
17982         <define name="scriptCode">
17983                 <data type="token">
17984                         <param name="pattern">[A-Za-z0-9]{1,8}</param>
17985                 </data>
17986         </define>
17987         <define name="character">
17988                 <data type="string">
17989                         <param name="length">1</param>
17990                 </data>
17991         </define>
17992         <define name="length">
17993                 <data type="string">
17994                         <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
17995                 </data>
17996         </define>
17997         <define name="nonNegativeLength">
17998                 <data type="string">
17999                         <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
18000                 </data>
18001         </define>
18002         <define name="positiveLength">
18003                 <data type="string">
18004                         <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>
18005                 </data>
18006         </define>
18007         <define name="percent">
18008                 <data type="string">
18009                         <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)%</param>
18010                 </data>
18011         </define>
18012         <define name="zeroToHundredPercent">
18013                 <data type="string">
18014                         <param name="pattern">([0-9]?[0-9](\.[0-9]*)?|100(\.0*)?|\.[0-9]+)%</param>
18015                 </data>
18016         </define>
18017         <define name="signedZeroToHundredPercent">
18018                 <data type="string">
18019                         <param name="pattern">-?([0-9]?[0-9](\.[0-9]*)?|100(\.0*)?|\.[0-9]+)%</param>
18020                 </data>
18021         </define>
18022         <define name="relativeLength">
18023                 <data type="string">
18024                         <param name="pattern">[0-9]+\*</param>
18025                 </data>
18026         </define>
18027         <define name="coordinate">
18028                 <ref name="length"/>
18029         </define>
18030         <define name="distance">
18031                 <ref name="length"/>
18032         </define>
18033         <define name="color">
18034                 <data type="string">
18035                         <param name="pattern">#[0-9a-fA-F]{6}</param>
18036                 </data>
18037         </define>
18038         <define name="angle">
18039                 <data type="string"/>
18040         </define>
18041         <define name="CURIE">
18042                 <data type="string">
18043                         <param name="pattern">(([\i-[:]][\c-[:]]*)?:)?.+</param>
18044                         <param name="minLength">1</param>
18045                 </data>
18046         </define>
18047         <define name="CURIEs">
18048                 <list>
18049                         <oneOrMore>
18050                                 <ref name="CURIE"/>
18051                         </oneOrMore>
18052                 </list>
18053         </define>
18054         <define name="SafeCURIE">
18055                 <data type="string">
18056                         <param name="pattern">\[(([\i-[:]][\c-[:]]*)?:)?.+\]</param>
18057                         <param name="minLength">3</param>
18058                 </data>
18059         </define>
18060         <define name="URIorSafeCURIE">
18061                 <choice>
18062                         <ref name="anyURI"/>
18063                         <ref name="SafeCURIE"/>
18064                 </choice>
18065         </define>
18066         <define name="styleName">
18067                 <data type="NCName"/>
18068         </define>
18069         <define name="styleNameRef">
18070                 <choice>
18071                         <data type="NCName"/>
18072                         <empty/>
18073                 </choice>
18074         </define>
18075         <define name="styleNameRefs">
18076                 <list>
18077                         <zeroOrMore>
18078                                 <data type="NCName"/>
18079                         </zeroOrMore>
18080                 </list>
18081         </define>
18082         <define name="variableName">
18083                 <data type="string"/>
18084         </define>
18085         <define name="targetFrameName">
18086                 <choice>
18087                         <value>_self</value>
18088                         <value>_blank</value>
18089                         <value>_parent</value>
18090                         <value>_top</value>
18091                         <ref name="string"/>
18092                 </choice>
18093         </define>
18094         <define name="valueType">
18095                 <choice>
18096                         <value>float</value>
18097                         <value>time</value>
18098                         <value>date</value>
18099                         <value>percentage</value>
18100                         <value>currency</value>
18101                         <value>boolean</value>
18102                         <value>string</value>
18103                 </choice>
18104         </define>
18105         <define name="points">
18106                 <data type="string">
18107                         <param name="pattern">-?[0-9]+,-?[0-9]+([ ]+-?[0-9]+,-?[0-9]+)*</param>
18108                 </data>
18109         </define>
18110         <define name="pathData">
18111                 <data type="string"/>
18112         </define>
18113         <define name="vector3D">
18114                 <data type="string">
18115                         <param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)){2}[ ]*\)</param>
18116                 </data>
18117         </define>
18118         <define name="namespacedToken">
18119                 <data type="QName">
18120                         <param name="pattern">[^:]+:[^:]+</param>
18121                 </data>
18122         </define>
18123         <define name="anyIRI">
18124                 <data type="anyURI"/>
18125                 <dc:description>An IRI-reference as defined in [RFC3987]. See ODF 1.2 Part 1 section 18.3.</dc:description> 
18126         </define>
18127         <define name="anyAttListOrElements">
18128                 <zeroOrMore>
18129                         <attribute>
18130                                 <anyName/>
18131                                 <text/>
18132                         </attribute>
18133                 </zeroOrMore>
18134                 <ref name="anyElements"/>
18135         </define>
18136         <define name="anyElements">
18137                 <zeroOrMore>
18138                         <element>
18139                                 <anyName/>
18140                                 <mixed>
18141                                         <ref name="anyAttListOrElements"/>
18142                                 </mixed>
18143                         </element>
18144                 </zeroOrMore>
18145         </define>
18146 </grammar>