schema: update to latest available ODF 1.3 draft schemas

OpenDocument-schema-v1.3-wd06.rng
OpenDocument-manifest-schema-v1.3-wd01.rng
OpenDocument-dsig-schema-v1.3-wd01.rng

(same for libreoffice dir, those are unchanged currently)

Change-Id: I8f5c3069d436a501ce87223c4fdaa7c657fe7218
Reviewed-on: https://gerrit.libreoffice.org/56397
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
This commit is contained in:
Michael Stahl
2018-06-19 17:27:18 +02:00
parent ab9ab9d381
commit 72225e1a70
6 changed files with 678 additions and 190 deletions

View File

@@ -43,7 +43,7 @@
<!-- content of the Signature element defined by W3C XML --> <!-- content of the Signature element defined by W3C XML -->
<!-- Signature Syntax and Processing (Second Edition). --> <!-- Signature Syntax and Processing (Second Edition). -->
<!-- See OpenDocument v1.3 part 2, section 5.3. --> <!-- See OpenDocument v1.3 part 2, section 5.3. -->
<!-- resolved by https://issues.oasis-open.org/browse/OFFICE-3874 --> <!-- Office-3874 -->
<rng:ref name="dsMarkup"/> <rng:ref name="dsMarkup"/>
</rng:element> </rng:element>
</rng:define> </rng:define>

View File

@@ -81,6 +81,34 @@
<rng:define name="base64Binary"> <rng:define name="base64Binary">
<rng:data type="base64Binary"/> <rng:data type="base64Binary"/>
</rng:define> </rng:define>
<rng:define name="encrypted-key">
<rng:element name="manifest:encrypted-key">
<rng:optional>
<rng:element name="manifest:encryption-method">
<rng:attribute name="manifest:PGPAlgorithm">
<rng:ref name="anyURI"/>
</rng:attribute>
</rng:element>
</rng:optional>
<rng:element name="manifest:keyinfo">
<rng:element name="manifest:PGPData">
<rng:element name="manifest:PGPKeyID">
<rng:ref name="base64Binary"/>
</rng:element>
<rng:optional>
<rng:element name="manifest:PGPKeyPacket">
<rng:ref name="base64Binary"/>
</rng:element>
</rng:optional>
</rng:element>
</rng:element>
<rng:element name="manifest:CipherData">
<rng:element name="manifest:CipherValue">
<rng:ref name="base64Binary"/>
</rng:element>
</rng:element>
</rng:element>
</rng:define>
<rng:define name="encryption-data"> <rng:define name="encryption-data">
<rng:element name="manifest:encryption-data"> <rng:element name="manifest:encryption-data">
<rng:ref name="encryption-data-attlist"/> <rng:ref name="encryption-data-attlist"/>
@@ -149,29 +177,38 @@
</rng:element> </rng:element>
</rng:define> </rng:define>
<rng:define name="key-derivation-attlist"> <rng:define name="key-derivation-attlist">
<rng:interleave> <rng:choice>
<rng:attribute name="manifest:key-derivation-name"> <rng:attribute name="manifest:key-derivation-name">
<rng:choice> <rng:value>PGP</rng:value>
<rng:value>PBKDF2</rng:value>
<rng:ref name="anyURI"/>
</rng:choice>
</rng:attribute> </rng:attribute>
<rng:attribute name="manifest:salt"> <rng:interleave>
<rng:ref name="base64Binary"/> <rng:attribute name="manifest:key-derivation-name">
</rng:attribute> <rng:choice>
<rng:attribute name="manifest:iteration-count"> <rng:value>PBKDF2</rng:value>
<rng:ref name="nonNegativeInteger"/> <rng:ref name="anyURI"/>
</rng:attribute> </rng:choice>
<rng:optional> </rng:attribute>
<rng:attribute name="manifest:key-size"> <rng:attribute name="manifest:salt">
<rng:ref name="base64Binary"/>
</rng:attribute>
<rng:attribute name="manifest:iteration-count">
<rng:ref name="nonNegativeInteger"/> <rng:ref name="nonNegativeInteger"/>
</rng:attribute> </rng:attribute>
</rng:optional> <rng:optional>
</rng:interleave> <rng:attribute name="manifest:key-size">
<rng:ref name="nonNegativeInteger"/>
</rng:attribute>
</rng:optional>
</rng:interleave>
</rng:choice>
</rng:define> </rng:define>
<rng:define name="manifest"> <rng:define name="manifest">
<rng:element name="manifest:manifest"> <rng:element name="manifest:manifest">
<rng:ref name="manifest-attlist"/> <rng:ref name="manifest-attlist"/>
<rng:zeroOrMore>
<rng:ref name="encrypted-key"/>
</rng:zeroOrMore>
<!-- https://issues.oasis-open.org/browse/OFFICE-3940 -->
<rng:oneOrMore> <rng:oneOrMore>
<rng:ref name="file-entry"/> <rng:ref name="file-entry"/>
</rng:oneOrMore> </rng:oneOrMore>
@@ -184,7 +221,7 @@
</rng:define> </rng:define>
<rng:define name="namespacedToken"> <rng:define name="namespacedToken">
<rng:data type="QName"> <rng:data type="QName">
<rng:param name="pattern">[^:]+:[^:]+</rng:param> <rng:param name="pattern">[^:]:[^:]</rng:param>
</rng:data> </rng:data>
</rng:define> </rng:define>
<rng:define name="nonNegativeInteger"> <rng:define name="nonNegativeInteger">

View File

@@ -491,6 +491,10 @@
<rng:ref name="chart-legend"/> <rng:ref name="chart-legend"/>
</rng:optional> </rng:optional>
<rng:ref name="chart-plot-area"/> <rng:ref name="chart-plot-area"/>
<rng:zeroOrMore>
<rng:ref name="shape"/>
</rng:zeroOrMore>
<!-- https://issues.oasis-open.org/browse/OFFICE-2123 -->
<rng:optional> <rng:optional>
<rng:ref name="table-table"/> <rng:ref name="table-table"/>
</rng:optional> </rng:optional>
@@ -749,6 +753,7 @@
<rng:ref name="double"/> <rng:ref name="double"/>
<ref name="common-draw-size-attlist"/> <ref name="common-draw-size-attlist"/>
</rng:attribute> </rng:attribute>
<!-- https://issues.oasis-open.org/browse/OFFICE-3883 -->
</rng:group> </rng:group>
<rng:empty/> <rng:empty/>
</rng:choice> </rng:choice>
@@ -775,6 +780,10 @@
<rng:define name="chart-plot-area"> <rng:define name="chart-plot-area">
<rng:element name="chart:plot-area"> <rng:element name="chart:plot-area">
<rng:ref name="chart-plot-area-attlist"/> <rng:ref name="chart-plot-area-attlist"/>
<rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3928 -->
<rng:ref name="chart-coordinate-region"/>
</rng:optional>
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="dr3d-light"/> <rng:ref name="dr3d-light"/>
</rng:zeroOrMore> </rng:zeroOrMore>
@@ -832,6 +841,16 @@
</rng:optional> </rng:optional>
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="chart-coordinate-region">
<rng:element name="chart:coordinate-region">
<rng:ref name="chart-coordinate-region-attlist"/>
<empty/>
</rng:element>
</rng:define>
<rng:define name="chart-coordinate-region-attlist" combine="interleave">
<rng:ref name="common-draw-position-attlist"/>
<rng:ref name="common-draw-size-attlist"/>
</rng:define>
<rng:define name="chart-regression-curve"> <rng:define name="chart-regression-curve">
<rng:element name="chart:regression-curve"> <rng:element name="chart:regression-curve">
<rng:ref name="chart-regression-curve-attlist"/> <rng:ref name="chart-regression-curve-attlist"/>
@@ -1504,6 +1523,11 @@
<rng:ref name="integer"/> <rng:ref name="integer"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:optional>
<rng:attribute name="number:min-decimal-places">
<rng:ref name="integer"/>
</rng:attribute>
</rng:optional>
</rng:define> </rng:define>
<rng:define name="common-delay-for-repeat"> <rng:define name="common-delay-for-repeat">
<rng:optional> <rng:optional>
@@ -2206,9 +2230,10 @@
<rng:optional> <rng:optional>
<rng:attribute name="style:page-number"> <rng:attribute name="style:page-number">
<rng:choice> <rng:choice>
<rng:ref name="positiveInteger"/> <rng:ref name="nonNegativeInteger"/>
<rng:value>auto</rng:value> <rng:value>auto</rng:value>
</rng:choice> </rng:choice>
<!-- https://issues.oasis-open.org/browse/OFFICE-3923 -->
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
</rng:define> </rng:define>
@@ -2955,7 +2980,8 @@
<rng:define name="currency-symbol-and-text"> <rng:define name="currency-symbol-and-text">
<rng:ref name="number-currency-symbol"/> <rng:ref name="number-currency-symbol"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
</rng:optional> </rng:optional>
</rng:define> </rng:define>
<rng:define name="current-selected"> <rng:define name="current-selected">
@@ -4967,6 +4993,14 @@
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:empty/> <rng:empty/>
<rng:choice>
<rng:group>
<rng:ref name="common-draw-data-attlist"/>
<rng:empty/>
</rng:group>
<rng:ref name="office-binary-data"/>
</rng:choice>
<!-- https://issues.oasis-open.org/browse/OFFICE-3933 -->
</rng:element> </rng:element>
</rng:define> </rng:define>
<rng:define name="draw-fill-image-attlist"> <rng:define name="draw-fill-image-attlist">
@@ -5293,11 +5327,20 @@
<rng:ref name="string"/> <rng:ref name="string"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:ref name="common-draw-mime-type-attlist"/>
<rng:optional> <rng:optional>
<rng:ref name="xml-id"/> <rng:ref name="xml-id"/>
</rng:optional> </rng:optional>
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="common-draw-mime-type-attlist">
<rng:optional>
<rng:attribute name="draw:mime-type">
<rng:ref name="string"/>
</rng:attribute>
</rng:optional>
</rng:define>
<!-- https://issues.oasis-open.org/browse/OFFICE-3943 -->
<rng:define name="draw-image-map"> <rng:define name="draw-image-map">
<rng:element name="draw:image-map"> <rng:element name="draw:image-map">
<rng:zeroOrMore> <rng:zeroOrMore>
@@ -5650,16 +5693,13 @@
</rng:define> </rng:define>
<rng:define name="draw-plugin-attlist"> <rng:define name="draw-plugin-attlist">
<rng:interleave> <rng:interleave>
<rng:optional> <rng:ref name="common-draw-mime-type-attlist"/>
<rng:attribute name="draw:mime-type">
<rng:ref name="string"/>
</rng:attribute>
</rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="xml-id"/> <rng:ref name="xml-id"/>
</rng:optional> </rng:optional>
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<!-- https://issues.oasis-open.org/browse/OFFICE-3943 -->
<rng:define name="draw-polygon"> <rng:define name="draw-polygon">
<rng:element name="draw:polygon"> <rng:element name="draw:polygon">
<rng:ref name="common-draw-points-attlist"/> <rng:ref name="common-draw-points-attlist"/>
@@ -6975,8 +7015,9 @@
<rng:define name="number-and-text"> <rng:define name="number-and-text">
<rng:ref name="number-number"/> <rng:ref name="number-number"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
</rng:define> </rng:define>
<rng:define name="number-boolean"> <rng:define name="number-boolean">
<rng:element name="number:boolean"> <rng:element name="number:boolean">
@@ -7011,8 +7052,9 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:optional> <rng:optional>
<rng:choice> <rng:choice>
<rng:group> <rng:group>
@@ -7071,13 +7113,15 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:oneOrMore> <rng:oneOrMore>
<rng:ref name="any-date"/> <rng:ref name="any-date"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
</rng:oneOrMore> </rng:oneOrMore>
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="style-map"/> <rng:ref name="style-map"/>
@@ -7264,14 +7308,16 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:optional> <rng:optional>
<rng:ref name="any-number"/> <rng:ref name="any-number"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="style-map"/> <rng:ref name="style-map"/>
</rng:zeroOrMore> </rng:zeroOrMore>
@@ -7284,8 +7330,9 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:optional> <rng:optional>
<rng:ref name="number-and-text"/> <rng:ref name="number-and-text"/>
</rng:optional> </rng:optional>
@@ -7325,6 +7372,11 @@
<rng:ref name="integer"/> <rng:ref name="integer"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:optional>
<rng:attribute name="number:forced-exponent-sign">
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
</rng:define> </rng:define>
<rng:define name="number-seconds"> <rng:define name="number-seconds">
<rng:element name="number:seconds"> <rng:element name="number:seconds">
@@ -7349,6 +7401,23 @@
</rng:optional> </rng:optional>
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="number-text-with-fillchar">
<rng:optional>
<rng:ref name="number-text"/>
</rng:optional>
<rng:optional>
<rng:ref name="number-fill-character"/>
<rng:optional>
<rng:ref name="number-text"/>
</rng:optional>
</rng:optional>
</rng:define>
<rng:define name="number-fill-character">
<rng:element name="number:fill-character">
<rng:text/>
</rng:element>
</rng:define>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:define name="number-text"> <rng:define name="number-text">
<rng:element name="number:text"> <rng:element name="number:text">
<rng:text/> <rng:text/>
@@ -7366,13 +7435,15 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="number-text-content"/> <rng:ref name="number-text-content"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
</rng:zeroOrMore> </rng:zeroOrMore>
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="style-map"/> <rng:ref name="style-map"/>
@@ -7388,13 +7459,15 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:oneOrMore> <rng:oneOrMore>
<rng:ref name="any-time"/> <rng:ref name="any-time"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
</rng:oneOrMore> </rng:oneOrMore>
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="style-map"/> <rng:ref name="style-map"/>
@@ -7447,6 +7520,12 @@
<rng:optional> <rng:optional>
<rng:ref name="meta-date-string"/> <rng:ref name="meta-date-string"/>
</rng:optional> </rng:optional>
<rng:optional>
<rng:element name="meta:creator-initials">
<rng:text/>
</rng:element>
</rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3776 -->
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:choice> <rng:choice>
<rng:ref name="text-p"/> <rng:ref name="text-p"/>
@@ -8210,6 +8289,27 @@
</rng:define> </rng:define>
<rng:define name="paragraph-content"> <rng:define name="paragraph-content">
<rng:choice> <rng:choice>
<rng:element name="text:drop-down">
<rng:attribute name="text:name">
<rng:ref name="string"/>
</rng:attribute>
<rng:zeroOrMore>
<rng:element name="text:label">
<rng:optional>
<rng:attribute name="text:value">
<rng:ref name="string"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="text:current-selected">
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
</rng:element>
</rng:zeroOrMore>
<rng:text/>
</rng:element>
<rng:text/> <rng:text/>
<rng:element name="text:s"> <rng:element name="text:s">
<rng:optional> <rng:optional>
@@ -9995,9 +10095,31 @@
<rng:value>logarithmic</rng:value> <rng:value>logarithmic</rng:value>
<rng:value>exponential</rng:value> <rng:value>exponential</rng:value>
<rng:value>power</rng:value> <rng:value>power</rng:value>
<rng:value>polynomial</rng:value>
</rng:choice> </rng:choice>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:optional>
<rng:attribute name="chart:regression-max-degree">
<rng:ref name="positiveInteger"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="chart:regression-force-intercept">
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="chart:regression-intercept-value">
<rng:ref name="double"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="chart:regression-name">
<rng:ref name="string"/>
</rng:attribute>
</rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3958 -->
<rng:optional> <rng:optional>
<rng:attribute name="chart:axis-position"> <rng:attribute name="chart:axis-position">
<rng:choice> <rng:choice>
@@ -10031,6 +10153,12 @@
<rng:ref name="boolean"/> <rng:ref name="boolean"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:optional>
<rng:attribute name="chart:data-label-series">
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-2117 -->
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="style-chart-properties-content-strict"> <rng:define name="style-chart-properties-content-strict">
@@ -10575,6 +10703,12 @@
</rng:optional> </rng:optional>
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="style-header-first">
<rng:element name="style:header-first">
<rng:ref name="common-style-header-footer-attlist"/>
<rng:ref name="header-footer-content"/>
</rng:element>
</rng:define>
<rng:define name="style-footer"> <rng:define name="style-footer">
<rng:element name="style:footer"> <rng:element name="style:footer">
<rng:ref name="common-style-header-footer-attlist"/> <rng:ref name="common-style-header-footer-attlist"/>
@@ -10587,6 +10721,13 @@
<rng:ref name="header-footer-content"/> <rng:ref name="header-footer-content"/>
</rng:element> </rng:element>
</rng:define> </rng:define>
<rng:define name="style-footer-first">
<rng:element name="style:footer-first">
<rng:ref name="common-style-header-footer-attlist"/>
<rng:ref name="header-footer-content"/>
<!-- https://issues.oasis-open.org/browse/OFFICE-3789 -->
</rng:element>
</rng:define>
<rng:define name="style-footer-style"> <rng:define name="style-footer-style">
<rng:element name="style:footer-style"> <rng:element name="style:footer-style">
<rng:optional> <rng:optional>
@@ -10989,8 +11130,9 @@
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:attribute name="draw:luminance"> <rng:attribute name="draw:luminance">
<rng:ref name="zeroToHundredPercent"/> <rng:ref name="signedZeroToHundredPercent"/>
</rng:attribute> </rng:attribute>
<!-- https://issues.oasis-open.org/browse/OFFICE-3821 -->
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:attribute name="draw:contrast"> <rng:attribute name="draw:contrast">
@@ -11840,12 +11982,18 @@
<rng:optional> <rng:optional>
<rng:ref name="style-header-left"/> <rng:ref name="style-header-left"/>
</rng:optional> </rng:optional>
<rng:optional>
<rng:ref name="style-header-first"/>
</rng:optional>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="style-footer"/> <rng:ref name="style-footer"/>
<rng:optional> <rng:optional>
<rng:ref name="style-footer-left"/> <rng:ref name="style-footer-left"/>
</rng:optional> </rng:optional>
<rng:optional>
<rng:ref name="style-footer-first"/>
</rng:optional>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="draw-layer-set"/> <rng:ref name="draw-layer-set"/>
@@ -12024,6 +12172,31 @@
<rng:ref name="positiveInteger"/> <rng:ref name="positiveInteger"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:choice>
<!-- https://issues.oasis-open.org/browse/OFFICE-3857 -->
<rng:optional>
<rng:attribute name="style:scale-to">
<rng:ref name="percent"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="style:scale-to-pages">
<rng:ref name="positiveInteger"/>
</rng:attribute>
</rng:optional>
<rng:group>
<rng:optional>
<rng:attribute name="style:scale-to-X">
<rng:ref name="positiveInteger"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="style:scale-to-Y">
<rng:ref name="positiveInteger"/>
</rng:attribute>
</rng:optional>
</rng:group>
</rng:choice>
<rng:optional> <rng:optional>
<rng:attribute name="style:table-centering"> <rng:attribute name="style:table-centering">
<rng:choice> <rng:choice>
@@ -12119,6 +12292,12 @@
</rng:define> </rng:define>
<rng:define name="style-paragraph-properties-attlist"> <rng:define name="style-paragraph-properties-attlist">
<rng:interleave> <rng:interleave>
<rng:optional>
<rng:attribute name="style:contextual-spacing">
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3767 -->
<rng:optional> <rng:optional>
<rng:attribute name="fo:line-height"> <rng:attribute name="fo:line-height">
<rng:choice> <rng:choice>
@@ -12891,6 +13070,12 @@
<rng:ref name="boolean"/> <rng:ref name="boolean"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:optional>
<rng:attribute name="table:tab-color">
<rng:ref name="color"/>
</rng:attribute>
</rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-2173 -->
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="style-table-properties-content-strict"> <rng:define name="style-table-properties-content-strict">
@@ -14105,63 +14290,64 @@
<rng:ref name="string"/> <rng:ref name="string"/>
</rng:attribute> </rng:attribute>
</rng:define> </rng:define>
<rng:define name="table-data-pilot-groups">
<rng:element name="table:data-pilot-groups">
<rng:ref name="table-data-pilot-groups-attlist"/>
<rng:oneOrMore>
<rng:ref name="table-data-pilot-group"/>
</rng:oneOrMore>
</rng:element>
</rng:define>
<rng:define name="table-data-pilot-groups-attlist"> <rng:define name="table-data-pilot-groups-attlist">
<rng:interleave> <rng:interleave>
<rng:attribute name="table:source-field-name"> <rng:attribute name="table:source-field-name">
<rng:ref name="string"/> <rng:ref name="string"/>
</rng:attribute> </rng:attribute>
<rng:choice> <rng:optional>
<rng:attribute name="table:date-start"> <rng:choice>
<rng:choice> <rng:attribute name="table:date-start">
<rng:ref name="dateOrDateTime"/> <rng:choice>
<rng:value>auto</rng:value> <rng:ref name="dateOrDateTime"/>
</rng:choice> <rng:value>auto</rng:value>
</rng:attribute> </rng:choice>
<rng:attribute name="table:start"> </rng:attribute>
<rng:choice> <rng:attribute name="table:start">
<rng:ref name="double"/> <rng:choice>
<rng:value>auto</rng:value> <rng:ref name="double"/>
</rng:choice> <rng:value>auto</rng:value>
</rng:attribute> </rng:choice>
</rng:choice> </rng:attribute>
<rng:choice> </rng:choice>
<rng:attribute name="table:date-end"> </rng:optional>
<rng:choice> <rng:optional>
<rng:ref name="dateOrDateTime"/> <rng:choice>
<rng:value>auto</rng:value> <rng:attribute name="table:date-end">
</rng:choice> <rng:choice>
</rng:attribute> <rng:ref name="dateOrDateTime"/>
<rng:attribute name="table:end"> <rng:value>auto</rng:value>
<rng:choice> </rng:choice>
<rng:ref name="double"/> </rng:attribute>
<rng:value>auto</rng:value> <rng:attribute name="table:end">
</rng:choice> <rng:choice>
</rng:attribute> <rng:ref name="double"/>
</rng:choice> <rng:value>auto</rng:value>
<rng:attribute name="table:step"> </rng:choice>
<rng:ref name="double"/> </rng:attribute>
</rng:attribute> </rng:choice>
<rng:attribute name="table:grouped-by"> </rng:optional>
<rng:choice> <rng:optional>
<rng:value>seconds</rng:value> <rng:attribute name="table:step">
<rng:value>minutes</rng:value> <rng:ref name="double"/>
<rng:value>hours</rng:value> </rng:attribute>
<rng:value>days</rng:value> </rng:optional>
<rng:value>months</rng:value> <rng:optional>
<rng:value>quarters</rng:value> <rng:attribute name="table:grouped-by">
<rng:value>years</rng:value> <rng:choice>
</rng:choice> <rng:value>seconds</rng:value>
</rng:attribute> <rng:value>minutes</rng:value>
</rng:interleave> <rng:value>hours</rng:value>
<rng:value>days</rng:value>
<rng:value>months</rng:value>
<rng:value>quarters</rng:value>
<rng:value>years</rng:value>
</rng:choice>
</rng:attribute>
</rng:optional>
</rng:interleave>
</rng:define> </rng:define>
<!-- https://issues.oasis-open.org/browse/OFFICE-2118 -->
<rng:define name="table-data-pilot-layout-info"> <rng:define name="table-data-pilot-layout-info">
<rng:element name="table:data-pilot-layout-info"> <rng:element name="table:data-pilot-layout-info">
<rng:ref name="table-data-pilot-layout-info-attlist"/> <rng:ref name="table-data-pilot-layout-info-attlist"/>
@@ -15383,9 +15569,23 @@
</rng:element> </rng:element>
</rng:define> </rng:define>
<rng:define name="table-source-cell-range-attlist"> <rng:define name="table-source-cell-range-attlist">
<rng:attribute name="table:cell-range-address"> <rng:interleave>
<rng:ref name="cellRangeAddress"/> <rng:choice>
</rng:attribute> <rng:attribute name="table:cell-range-address">
<rng:ref name="cellRangeAddress"/>
</rng:attribute>
<rng:group>
<rng:attribute name="table:name">
<rng:ref name="string"/>
</rng:attribute>
<rng:optional>
<rng:attribute name="table:cell-range-address">
<rng:ref name="cellRangeAddress"/>
</rng:attribute>
</rng:optional>
</rng:group>
</rng:choice>
</rng:interleave>
</rng:define> </rng:define>
<rng:define name="table-source-range-address"> <rng:define name="table-source-range-address">
<rng:element name="table:source-range-address"> <rng:element name="table:source-range-address">
@@ -16683,6 +16883,9 @@
<rng:ref name="text-index-entry-text"/> <rng:ref name="text-index-entry-text"/>
<rng:ref name="text-index-entry-span"/> <rng:ref name="text-index-entry-span"/>
<rng:ref name="text-index-entry-tab-stop"/> <rng:ref name="text-index-entry-tab-stop"/>
<rng:ref name="text-index-entry-link-start"/>
<rng:ref name="text-index-entry-link-end"/>
<!-- https://issues.oasis-open.org/browse/OFFICE-3941 -->
</rng:choice> </rng:choice>
</rng:zeroOrMore> </rng:zeroOrMore>
</rng:define> </rng:define>
@@ -16915,11 +17118,12 @@
<rng:define name="text-index-source-style"> <rng:define name="text-index-source-style">
<rng:element name="text:index-source-style"> <rng:element name="text:index-source-style">
<rng:attribute name="text:style-name"> <rng:attribute name="text:style-name">
<rng:ref name="styleName"/> <rng:ref name="styleNameRef"/>
</rng:attribute> </rng:attribute>
<rng:empty/> <rng:empty/>
</rng:element> </rng:element>
</rng:define> </rng:define>
<!-- https://issues.oasis-open.org/browse/OFFICE-3675 -->
<rng:define name="text-index-source-styles"> <rng:define name="text-index-source-styles">
<rng:element name="text:index-source-styles"> <rng:element name="text:index-source-styles">
<rng:attribute name="text:outline-level"> <rng:attribute name="text:outline-level">
@@ -17922,6 +18126,9 @@
<rng:ref name="text-index-entry-text"/> <rng:ref name="text-index-entry-text"/>
<rng:ref name="text-index-entry-span"/> <rng:ref name="text-index-entry-span"/>
<rng:ref name="text-index-entry-tab-stop"/> <rng:ref name="text-index-entry-tab-stop"/>
<rng:ref name="text-index-entry-link-start"/>
<rng:ref name="text-index-entry-link-end"/>
<!-- https://issues.oasis-open.org/browse/OFFICE-3941 -->
</rng:choice> </rng:choice>
</rng:zeroOrMore> </rng:zeroOrMore>
</rng:element> </rng:element>

View File

@@ -43,7 +43,7 @@
<!-- content of the Signature element defined by W3C XML --> <!-- content of the Signature element defined by W3C XML -->
<!-- Signature Syntax and Processing (Second Edition). --> <!-- Signature Syntax and Processing (Second Edition). -->
<!-- See OpenDocument v1.3 part 2, section 5.3. --> <!-- See OpenDocument v1.3 part 2, section 5.3. -->
<!-- resolved by https://issues.oasis-open.org/browse/OFFICE-3874 --> <!-- Office-3874 -->
<rng:ref name="dsMarkup"/> <rng:ref name="dsMarkup"/>
</rng:element> </rng:element>
</rng:define> </rng:define>

View File

@@ -81,6 +81,34 @@
<rng:define name="base64Binary"> <rng:define name="base64Binary">
<rng:data type="base64Binary"/> <rng:data type="base64Binary"/>
</rng:define> </rng:define>
<rng:define name="encrypted-key">
<rng:element name="manifest:encrypted-key">
<rng:optional>
<rng:element name="manifest:encryption-method">
<rng:attribute name="manifest:PGPAlgorithm">
<rng:ref name="anyURI"/>
</rng:attribute>
</rng:element>
</rng:optional>
<rng:element name="manifest:keyinfo">
<rng:element name="manifest:PGPData">
<rng:element name="manifest:PGPKeyID">
<rng:ref name="base64Binary"/>
</rng:element>
<rng:optional>
<rng:element name="manifest:PGPKeyPacket">
<rng:ref name="base64Binary"/>
</rng:element>
</rng:optional>
</rng:element>
</rng:element>
<rng:element name="manifest:CipherData">
<rng:element name="manifest:CipherValue">
<rng:ref name="base64Binary"/>
</rng:element>
</rng:element>
</rng:element>
</rng:define>
<rng:define name="encryption-data"> <rng:define name="encryption-data">
<rng:element name="manifest:encryption-data"> <rng:element name="manifest:encryption-data">
<rng:ref name="encryption-data-attlist"/> <rng:ref name="encryption-data-attlist"/>
@@ -149,29 +177,38 @@
</rng:element> </rng:element>
</rng:define> </rng:define>
<rng:define name="key-derivation-attlist"> <rng:define name="key-derivation-attlist">
<rng:interleave> <rng:choice>
<rng:attribute name="manifest:key-derivation-name"> <rng:attribute name="manifest:key-derivation-name">
<rng:choice> <rng:value>PGP</rng:value>
<rng:value>PBKDF2</rng:value>
<rng:ref name="anyURI"/>
</rng:choice>
</rng:attribute> </rng:attribute>
<rng:attribute name="manifest:salt"> <rng:interleave>
<rng:ref name="base64Binary"/> <rng:attribute name="manifest:key-derivation-name">
</rng:attribute> <rng:choice>
<rng:attribute name="manifest:iteration-count"> <rng:value>PBKDF2</rng:value>
<rng:ref name="nonNegativeInteger"/> <rng:ref name="anyURI"/>
</rng:attribute> </rng:choice>
<rng:optional> </rng:attribute>
<rng:attribute name="manifest:key-size"> <rng:attribute name="manifest:salt">
<rng:ref name="base64Binary"/>
</rng:attribute>
<rng:attribute name="manifest:iteration-count">
<rng:ref name="nonNegativeInteger"/> <rng:ref name="nonNegativeInteger"/>
</rng:attribute> </rng:attribute>
</rng:optional> <rng:optional>
</rng:interleave> <rng:attribute name="manifest:key-size">
<rng:ref name="nonNegativeInteger"/>
</rng:attribute>
</rng:optional>
</rng:interleave>
</rng:choice>
</rng:define> </rng:define>
<rng:define name="manifest"> <rng:define name="manifest">
<rng:element name="manifest:manifest"> <rng:element name="manifest:manifest">
<rng:ref name="manifest-attlist"/> <rng:ref name="manifest-attlist"/>
<rng:zeroOrMore>
<rng:ref name="encrypted-key"/>
</rng:zeroOrMore>
<!-- https://issues.oasis-open.org/browse/OFFICE-3940 -->
<rng:oneOrMore> <rng:oneOrMore>
<rng:ref name="file-entry"/> <rng:ref name="file-entry"/>
</rng:oneOrMore> </rng:oneOrMore>
@@ -184,7 +221,7 @@
</rng:define> </rng:define>
<rng:define name="namespacedToken"> <rng:define name="namespacedToken">
<rng:data type="QName"> <rng:data type="QName">
<rng:param name="pattern">[^:]+:[^:]+</rng:param> <rng:param name="pattern">[^:]:[^:]</rng:param>
</rng:data> </rng:data>
</rng:define> </rng:define>
<rng:define name="nonNegativeInteger"> <rng:define name="nonNegativeInteger">

View File

@@ -491,6 +491,10 @@
<rng:ref name="chart-legend"/> <rng:ref name="chart-legend"/>
</rng:optional> </rng:optional>
<rng:ref name="chart-plot-area"/> <rng:ref name="chart-plot-area"/>
<rng:zeroOrMore>
<rng:ref name="shape"/>
</rng:zeroOrMore>
<!-- https://issues.oasis-open.org/browse/OFFICE-2123 -->
<rng:optional> <rng:optional>
<rng:ref name="table-table"/> <rng:ref name="table-table"/>
</rng:optional> </rng:optional>
@@ -749,6 +753,7 @@
<rng:ref name="double"/> <rng:ref name="double"/>
<ref name="common-draw-size-attlist"/> <ref name="common-draw-size-attlist"/>
</rng:attribute> </rng:attribute>
<!-- https://issues.oasis-open.org/browse/OFFICE-3883 -->
</rng:group> </rng:group>
<rng:empty/> <rng:empty/>
</rng:choice> </rng:choice>
@@ -775,6 +780,10 @@
<rng:define name="chart-plot-area"> <rng:define name="chart-plot-area">
<rng:element name="chart:plot-area"> <rng:element name="chart:plot-area">
<rng:ref name="chart-plot-area-attlist"/> <rng:ref name="chart-plot-area-attlist"/>
<rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3928 -->
<rng:ref name="chart-coordinate-region"/>
</rng:optional>
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="dr3d-light"/> <rng:ref name="dr3d-light"/>
</rng:zeroOrMore> </rng:zeroOrMore>
@@ -832,6 +841,16 @@
</rng:optional> </rng:optional>
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="chart-coordinate-region">
<rng:element name="chart:coordinate-region">
<rng:ref name="chart-coordinate-region-attlist"/>
<empty/>
</rng:element>
</rng:define>
<rng:define name="chart-coordinate-region-attlist" combine="interleave">
<rng:ref name="common-draw-position-attlist"/>
<rng:ref name="common-draw-size-attlist"/>
</rng:define>
<rng:define name="chart-regression-curve"> <rng:define name="chart-regression-curve">
<rng:element name="chart:regression-curve"> <rng:element name="chart:regression-curve">
<rng:ref name="chart-regression-curve-attlist"/> <rng:ref name="chart-regression-curve-attlist"/>
@@ -1504,6 +1523,11 @@
<rng:ref name="integer"/> <rng:ref name="integer"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:optional>
<rng:attribute name="number:min-decimal-places">
<rng:ref name="integer"/>
</rng:attribute>
</rng:optional>
</rng:define> </rng:define>
<rng:define name="common-delay-for-repeat"> <rng:define name="common-delay-for-repeat">
<rng:optional> <rng:optional>
@@ -2206,9 +2230,10 @@
<rng:optional> <rng:optional>
<rng:attribute name="style:page-number"> <rng:attribute name="style:page-number">
<rng:choice> <rng:choice>
<rng:ref name="positiveInteger"/> <rng:ref name="nonNegativeInteger"/>
<rng:value>auto</rng:value> <rng:value>auto</rng:value>
</rng:choice> </rng:choice>
<!-- https://issues.oasis-open.org/browse/OFFICE-3923 -->
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
</rng:define> </rng:define>
@@ -2955,7 +2980,8 @@
<rng:define name="currency-symbol-and-text"> <rng:define name="currency-symbol-and-text">
<rng:ref name="number-currency-symbol"/> <rng:ref name="number-currency-symbol"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
</rng:optional> </rng:optional>
</rng:define> </rng:define>
<rng:define name="current-selected"> <rng:define name="current-selected">
@@ -4967,6 +4993,14 @@
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:empty/> <rng:empty/>
<rng:choice>
<rng:group>
<rng:ref name="common-draw-data-attlist"/>
<rng:empty/>
</rng:group>
<rng:ref name="office-binary-data"/>
</rng:choice>
<!-- https://issues.oasis-open.org/browse/OFFICE-3933 -->
</rng:element> </rng:element>
</rng:define> </rng:define>
<rng:define name="draw-fill-image-attlist"> <rng:define name="draw-fill-image-attlist">
@@ -5293,11 +5327,20 @@
<rng:ref name="string"/> <rng:ref name="string"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:ref name="common-draw-mime-type-attlist"/>
<rng:optional> <rng:optional>
<rng:ref name="xml-id"/> <rng:ref name="xml-id"/>
</rng:optional> </rng:optional>
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="common-draw-mime-type-attlist">
<rng:optional>
<rng:attribute name="draw:mime-type">
<rng:ref name="string"/>
</rng:attribute>
</rng:optional>
</rng:define>
<!-- https://issues.oasis-open.org/browse/OFFICE-3943 -->
<rng:define name="draw-image-map"> <rng:define name="draw-image-map">
<rng:element name="draw:image-map"> <rng:element name="draw:image-map">
<rng:zeroOrMore> <rng:zeroOrMore>
@@ -5650,16 +5693,13 @@
</rng:define> </rng:define>
<rng:define name="draw-plugin-attlist"> <rng:define name="draw-plugin-attlist">
<rng:interleave> <rng:interleave>
<rng:optional> <rng:ref name="common-draw-mime-type-attlist"/>
<rng:attribute name="draw:mime-type">
<rng:ref name="string"/>
</rng:attribute>
</rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="xml-id"/> <rng:ref name="xml-id"/>
</rng:optional> </rng:optional>
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<!-- https://issues.oasis-open.org/browse/OFFICE-3943 -->
<rng:define name="draw-polygon"> <rng:define name="draw-polygon">
<rng:element name="draw:polygon"> <rng:element name="draw:polygon">
<rng:ref name="common-draw-points-attlist"/> <rng:ref name="common-draw-points-attlist"/>
@@ -6975,8 +7015,9 @@
<rng:define name="number-and-text"> <rng:define name="number-and-text">
<rng:ref name="number-number"/> <rng:ref name="number-number"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
</rng:define> </rng:define>
<rng:define name="number-boolean"> <rng:define name="number-boolean">
<rng:element name="number:boolean"> <rng:element name="number:boolean">
@@ -7011,8 +7052,9 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:optional> <rng:optional>
<rng:choice> <rng:choice>
<rng:group> <rng:group>
@@ -7071,13 +7113,15 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:oneOrMore> <rng:oneOrMore>
<rng:ref name="any-date"/> <rng:ref name="any-date"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
</rng:oneOrMore> </rng:oneOrMore>
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="style-map"/> <rng:ref name="style-map"/>
@@ -7264,14 +7308,16 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:optional> <rng:optional>
<rng:ref name="any-number"/> <rng:ref name="any-number"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="style-map"/> <rng:ref name="style-map"/>
</rng:zeroOrMore> </rng:zeroOrMore>
@@ -7284,8 +7330,9 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:optional> <rng:optional>
<rng:ref name="number-and-text"/> <rng:ref name="number-and-text"/>
</rng:optional> </rng:optional>
@@ -7325,6 +7372,11 @@
<rng:ref name="integer"/> <rng:ref name="integer"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:optional>
<rng:attribute name="number:forced-exponent-sign">
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
</rng:define> </rng:define>
<rng:define name="number-seconds"> <rng:define name="number-seconds">
<rng:element name="number:seconds"> <rng:element name="number:seconds">
@@ -7349,6 +7401,23 @@
</rng:optional> </rng:optional>
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="number-text-with-fillchar">
<rng:optional>
<rng:ref name="number-text"/>
</rng:optional>
<rng:optional>
<rng:ref name="number-fill-character"/>
<rng:optional>
<rng:ref name="number-text"/>
</rng:optional>
</rng:optional>
</rng:define>
<rng:define name="number-fill-character">
<rng:element name="number:fill-character">
<rng:text/>
</rng:element>
</rng:define>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:define name="number-text"> <rng:define name="number-text">
<rng:element name="number:text"> <rng:element name="number:text">
<rng:text/> <rng:text/>
@@ -7366,13 +7435,15 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="number-text-content"/> <rng:ref name="number-text-content"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
</rng:zeroOrMore> </rng:zeroOrMore>
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="style-map"/> <rng:ref name="style-map"/>
@@ -7388,13 +7459,15 @@
<rng:ref name="style-text-properties"/> <rng:ref name="style-text-properties"/>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
<rng:oneOrMore> <rng:oneOrMore>
<rng:ref name="any-time"/> <rng:ref name="any-time"/>
<rng:optional> <rng:optional>
<rng:ref name="number-text"/> <rng:ref name="number-text-with-fillchar"/>
</rng:optional> </rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3765 -->
</rng:oneOrMore> </rng:oneOrMore>
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:ref name="style-map"/> <rng:ref name="style-map"/>
@@ -7447,6 +7520,12 @@
<rng:optional> <rng:optional>
<rng:ref name="meta-date-string"/> <rng:ref name="meta-date-string"/>
</rng:optional> </rng:optional>
<rng:optional>
<rng:element name="meta:creator-initials">
<rng:text/>
</rng:element>
</rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3776 -->
<rng:zeroOrMore> <rng:zeroOrMore>
<rng:choice> <rng:choice>
<rng:ref name="text-p"/> <rng:ref name="text-p"/>
@@ -8210,6 +8289,27 @@
</rng:define> </rng:define>
<rng:define name="paragraph-content"> <rng:define name="paragraph-content">
<rng:choice> <rng:choice>
<rng:element name="text:drop-down">
<rng:attribute name="text:name">
<rng:ref name="string"/>
</rng:attribute>
<rng:zeroOrMore>
<rng:element name="text:label">
<rng:optional>
<rng:attribute name="text:value">
<rng:ref name="string"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="text:current-selected">
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
</rng:element>
</rng:zeroOrMore>
<rng:text/>
</rng:element>
<rng:text/> <rng:text/>
<rng:element name="text:s"> <rng:element name="text:s">
<rng:optional> <rng:optional>
@@ -9995,9 +10095,31 @@
<rng:value>logarithmic</rng:value> <rng:value>logarithmic</rng:value>
<rng:value>exponential</rng:value> <rng:value>exponential</rng:value>
<rng:value>power</rng:value> <rng:value>power</rng:value>
<rng:value>polynomial</rng:value>
</rng:choice> </rng:choice>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:optional>
<rng:attribute name="chart:regression-max-degree">
<rng:ref name="positiveInteger"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="chart:regression-force-intercept">
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="chart:regression-intercept-value">
<rng:ref name="double"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="chart:regression-name">
<rng:ref name="string"/>
</rng:attribute>
</rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3958 -->
<rng:optional> <rng:optional>
<rng:attribute name="chart:axis-position"> <rng:attribute name="chart:axis-position">
<rng:choice> <rng:choice>
@@ -10031,6 +10153,12 @@
<rng:ref name="boolean"/> <rng:ref name="boolean"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:optional>
<rng:attribute name="chart:data-label-series">
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-2117 -->
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="style-chart-properties-content-strict"> <rng:define name="style-chart-properties-content-strict">
@@ -10575,6 +10703,12 @@
</rng:optional> </rng:optional>
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="style-header-first">
<rng:element name="style:header-first">
<rng:ref name="common-style-header-footer-attlist"/>
<rng:ref name="header-footer-content"/>
</rng:element>
</rng:define>
<rng:define name="style-footer"> <rng:define name="style-footer">
<rng:element name="style:footer"> <rng:element name="style:footer">
<rng:ref name="common-style-header-footer-attlist"/> <rng:ref name="common-style-header-footer-attlist"/>
@@ -10587,6 +10721,13 @@
<rng:ref name="header-footer-content"/> <rng:ref name="header-footer-content"/>
</rng:element> </rng:element>
</rng:define> </rng:define>
<rng:define name="style-footer-first">
<rng:element name="style:footer-first">
<rng:ref name="common-style-header-footer-attlist"/>
<rng:ref name="header-footer-content"/>
<!-- https://issues.oasis-open.org/browse/OFFICE-3789 -->
</rng:element>
</rng:define>
<rng:define name="style-footer-style"> <rng:define name="style-footer-style">
<rng:element name="style:footer-style"> <rng:element name="style:footer-style">
<rng:optional> <rng:optional>
@@ -10989,8 +11130,9 @@
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:attribute name="draw:luminance"> <rng:attribute name="draw:luminance">
<rng:ref name="zeroToHundredPercent"/> <rng:ref name="signedZeroToHundredPercent"/>
</rng:attribute> </rng:attribute>
<!-- https://issues.oasis-open.org/browse/OFFICE-3821 -->
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:attribute name="draw:contrast"> <rng:attribute name="draw:contrast">
@@ -11840,12 +11982,18 @@
<rng:optional> <rng:optional>
<rng:ref name="style-header-left"/> <rng:ref name="style-header-left"/>
</rng:optional> </rng:optional>
<rng:optional>
<rng:ref name="style-header-first"/>
</rng:optional>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="style-footer"/> <rng:ref name="style-footer"/>
<rng:optional> <rng:optional>
<rng:ref name="style-footer-left"/> <rng:ref name="style-footer-left"/>
</rng:optional> </rng:optional>
<rng:optional>
<rng:ref name="style-footer-first"/>
</rng:optional>
</rng:optional> </rng:optional>
<rng:optional> <rng:optional>
<rng:ref name="draw-layer-set"/> <rng:ref name="draw-layer-set"/>
@@ -12024,6 +12172,31 @@
<rng:ref name="positiveInteger"/> <rng:ref name="positiveInteger"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:choice>
<!-- https://issues.oasis-open.org/browse/OFFICE-3857 -->
<rng:optional>
<rng:attribute name="style:scale-to">
<rng:ref name="percent"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="style:scale-to-pages">
<rng:ref name="positiveInteger"/>
</rng:attribute>
</rng:optional>
<rng:group>
<rng:optional>
<rng:attribute name="style:scale-to-X">
<rng:ref name="positiveInteger"/>
</rng:attribute>
</rng:optional>
<rng:optional>
<rng:attribute name="style:scale-to-Y">
<rng:ref name="positiveInteger"/>
</rng:attribute>
</rng:optional>
</rng:group>
</rng:choice>
<rng:optional> <rng:optional>
<rng:attribute name="style:table-centering"> <rng:attribute name="style:table-centering">
<rng:choice> <rng:choice>
@@ -12119,6 +12292,12 @@
</rng:define> </rng:define>
<rng:define name="style-paragraph-properties-attlist"> <rng:define name="style-paragraph-properties-attlist">
<rng:interleave> <rng:interleave>
<rng:optional>
<rng:attribute name="style:contextual-spacing">
<rng:ref name="boolean"/>
</rng:attribute>
</rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-3767 -->
<rng:optional> <rng:optional>
<rng:attribute name="fo:line-height"> <rng:attribute name="fo:line-height">
<rng:choice> <rng:choice>
@@ -12891,6 +13070,12 @@
<rng:ref name="boolean"/> <rng:ref name="boolean"/>
</rng:attribute> </rng:attribute>
</rng:optional> </rng:optional>
<rng:optional>
<rng:attribute name="table:tab-color">
<rng:ref name="color"/>
</rng:attribute>
</rng:optional>
<!-- https://issues.oasis-open.org/browse/OFFICE-2173 -->
</rng:interleave> </rng:interleave>
</rng:define> </rng:define>
<rng:define name="style-table-properties-content-strict"> <rng:define name="style-table-properties-content-strict">
@@ -14105,63 +14290,64 @@
<rng:ref name="string"/> <rng:ref name="string"/>
</rng:attribute> </rng:attribute>
</rng:define> </rng:define>
<rng:define name="table-data-pilot-groups">
<rng:element name="table:data-pilot-groups">
<rng:ref name="table-data-pilot-groups-attlist"/>
<rng:oneOrMore>
<rng:ref name="table-data-pilot-group"/>
</rng:oneOrMore>
</rng:element>
</rng:define>
<rng:define name="table-data-pilot-groups-attlist"> <rng:define name="table-data-pilot-groups-attlist">
<rng:interleave> <rng:interleave>
<rng:attribute name="table:source-field-name"> <rng:attribute name="table:source-field-name">
<rng:ref name="string"/> <rng:ref name="string"/>
</rng:attribute> </rng:attribute>
<rng:choice> <rng:optional>
<rng:attribute name="table:date-start"> <rng:choice>
<rng:choice> <rng:attribute name="table:date-start">
<rng:ref name="dateOrDateTime"/> <rng:choice>
<rng:value>auto</rng:value> <rng:ref name="dateOrDateTime"/>
</rng:choice> <rng:value>auto</rng:value>
</rng:attribute> </rng:choice>
<rng:attribute name="table:start"> </rng:attribute>
<rng:choice> <rng:attribute name="table:start">
<rng:ref name="double"/> <rng:choice>
<rng:value>auto</rng:value> <rng:ref name="double"/>
</rng:choice> <rng:value>auto</rng:value>
</rng:attribute> </rng:choice>
</rng:choice> </rng:attribute>
<rng:choice> </rng:choice>
<rng:attribute name="table:date-end"> </rng:optional>
<rng:choice> <rng:optional>
<rng:ref name="dateOrDateTime"/> <rng:choice>
<rng:value>auto</rng:value> <rng:attribute name="table:date-end">
</rng:choice> <rng:choice>
</rng:attribute> <rng:ref name="dateOrDateTime"/>
<rng:attribute name="table:end"> <rng:value>auto</rng:value>
<rng:choice> </rng:choice>
<rng:ref name="double"/> </rng:attribute>
<rng:value>auto</rng:value> <rng:attribute name="table:end">
</rng:choice> <rng:choice>
</rng:attribute> <rng:ref name="double"/>
</rng:choice> <rng:value>auto</rng:value>
<rng:attribute name="table:step"> </rng:choice>
<rng:ref name="double"/> </rng:attribute>
</rng:attribute> </rng:choice>
<rng:attribute name="table:grouped-by"> </rng:optional>
<rng:choice> <rng:optional>
<rng:value>seconds</rng:value> <rng:attribute name="table:step">
<rng:value>minutes</rng:value> <rng:ref name="double"/>
<rng:value>hours</rng:value> </rng:attribute>
<rng:value>days</rng:value> </rng:optional>
<rng:value>months</rng:value> <rng:optional>
<rng:value>quarters</rng:value> <rng:attribute name="table:grouped-by">
<rng:value>years</rng:value> <rng:choice>
</rng:choice> <rng:value>seconds</rng:value>
</rng:attribute> <rng:value>minutes</rng:value>
</rng:interleave> <rng:value>hours</rng:value>
<rng:value>days</rng:value>
<rng:value>months</rng:value>
<rng:value>quarters</rng:value>
<rng:value>years</rng:value>
</rng:choice>
</rng:attribute>
</rng:optional>
</rng:interleave>
</rng:define> </rng:define>
<!-- https://issues.oasis-open.org/browse/OFFICE-2118 -->
<rng:define name="table-data-pilot-layout-info"> <rng:define name="table-data-pilot-layout-info">
<rng:element name="table:data-pilot-layout-info"> <rng:element name="table:data-pilot-layout-info">
<rng:ref name="table-data-pilot-layout-info-attlist"/> <rng:ref name="table-data-pilot-layout-info-attlist"/>
@@ -15383,9 +15569,23 @@
</rng:element> </rng:element>
</rng:define> </rng:define>
<rng:define name="table-source-cell-range-attlist"> <rng:define name="table-source-cell-range-attlist">
<rng:attribute name="table:cell-range-address"> <rng:interleave>
<rng:ref name="cellRangeAddress"/> <rng:choice>
</rng:attribute> <rng:attribute name="table:cell-range-address">
<rng:ref name="cellRangeAddress"/>
</rng:attribute>
<rng:group>
<rng:attribute name="table:name">
<rng:ref name="string"/>
</rng:attribute>
<rng:optional>
<rng:attribute name="table:cell-range-address">
<rng:ref name="cellRangeAddress"/>
</rng:attribute>
</rng:optional>
</rng:group>
</rng:choice>
</rng:interleave>
</rng:define> </rng:define>
<rng:define name="table-source-range-address"> <rng:define name="table-source-range-address">
<rng:element name="table:source-range-address"> <rng:element name="table:source-range-address">
@@ -16683,6 +16883,9 @@
<rng:ref name="text-index-entry-text"/> <rng:ref name="text-index-entry-text"/>
<rng:ref name="text-index-entry-span"/> <rng:ref name="text-index-entry-span"/>
<rng:ref name="text-index-entry-tab-stop"/> <rng:ref name="text-index-entry-tab-stop"/>
<rng:ref name="text-index-entry-link-start"/>
<rng:ref name="text-index-entry-link-end"/>
<!-- https://issues.oasis-open.org/browse/OFFICE-3941 -->
</rng:choice> </rng:choice>
</rng:zeroOrMore> </rng:zeroOrMore>
</rng:define> </rng:define>
@@ -16915,11 +17118,12 @@
<rng:define name="text-index-source-style"> <rng:define name="text-index-source-style">
<rng:element name="text:index-source-style"> <rng:element name="text:index-source-style">
<rng:attribute name="text:style-name"> <rng:attribute name="text:style-name">
<rng:ref name="styleName"/> <rng:ref name="styleNameRef"/>
</rng:attribute> </rng:attribute>
<rng:empty/> <rng:empty/>
</rng:element> </rng:element>
</rng:define> </rng:define>
<!-- https://issues.oasis-open.org/browse/OFFICE-3675 -->
<rng:define name="text-index-source-styles"> <rng:define name="text-index-source-styles">
<rng:element name="text:index-source-styles"> <rng:element name="text:index-source-styles">
<rng:attribute name="text:outline-level"> <rng:attribute name="text:outline-level">
@@ -17922,6 +18126,9 @@
<rng:ref name="text-index-entry-text"/> <rng:ref name="text-index-entry-text"/>
<rng:ref name="text-index-entry-span"/> <rng:ref name="text-index-entry-span"/>
<rng:ref name="text-index-entry-tab-stop"/> <rng:ref name="text-index-entry-tab-stop"/>
<rng:ref name="text-index-entry-link-start"/>
<rng:ref name="text-index-entry-link-end"/>
<!-- https://issues.oasis-open.org/browse/OFFICE-3941 -->
</rng:choice> </rng:choice>
</rng:zeroOrMore> </rng:zeroOrMore>
</rng:element> </rng:element>