summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
Diffstat (limited to 'schema')
-rw-r--r--schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng67
1 files changed, 61 insertions, 6 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
index e6510e6c0d7a..c0658b570f5d 100644
--- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
+++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
@@ -3295,11 +3295,66 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
</rng:element>
</rng:define>
- <!-- TODO no proposal -->
- <rng:define name="style-style" combine="interleave">
- <rng:optional>
- <rng:ref name="loext-theme"/>
- </rng:optional>
+ <rng:define name="office-styles" combine="choice">
+ <rng:optional>
+ <rng:element name="office:styles">
+ <rng:interleave>
+ <rng:ref name="styles"/>
+ <rng:zeroOrMore>
+ <rng:ref name="style-default-style"/>
+ </rng:zeroOrMore>
+ <rng:optional>
+ <rng:ref name="style-default-page-layout"/>
+ </rng:optional>
+ <rng:optional>
+ <rng:ref name="text-outline-style"/>
+ </rng:optional>
+ <rng:zeroOrMore>
+ <rng:ref name="text-notes-configuration"/>
+ </rng:zeroOrMore>
+ <rng:optional>
+ <rng:ref name="text-bibliography-configuration"/>
+ </rng:optional>
+ <rng:optional>
+ <rng:ref name="text-linenumbering-configuration"/>
+ </rng:optional>
+ <rng:optional>
+ <!-- TODO no proposal for defining a theme -->
+ <rng:ref name="loext-theme"/>
+ </rng:optional>
+ <rng:zeroOrMore>
+ <rng:ref name="draw-gradient"/>
+ </rng:zeroOrMore>
+ <rng:zeroOrMore>
+ <rng:ref name="svg-linearGradient"/>
+ </rng:zeroOrMore>
+ <rng:zeroOrMore>
+ <rng:ref name="svg-radialGradient"/>
+ </rng:zeroOrMore>
+ <rng:zeroOrMore>
+ <rng:ref name="draw-hatch"/>
+ </rng:zeroOrMore>
+ <rng:zeroOrMore>
+ <rng:ref name="draw-fill-image"/>
+ </rng:zeroOrMore>
+ <rng:zeroOrMore>
+ <rng:ref name="draw-marker"/>
+ </rng:zeroOrMore>
+ <rng:zeroOrMore>
+ <rng:ref name="draw-stroke-dash"/>
+ </rng:zeroOrMore>
+ <rng:zeroOrMore>
+ <rng:ref name="draw-opacity"/>
+ </rng:zeroOrMore>
+ <rng:zeroOrMore>
+ <rng:ref name="style-presentation-page-layout"/>
+ </rng:zeroOrMore>
+ <rng:zeroOrMore>
+ <rng:ref name="table-table-template"/>
+ </rng:zeroOrMore>
+ </rng:interleave>
+ </rng:element>
+ </rng:optional>
</rng:define>
<rng:define name="style-master-page" combine="choice">
@@ -3330,7 +3385,7 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
<rng:ref name="office-forms"/>
</rng:optional>
<rng:optional>
- <!-- TODO(vmiklos) no proposal for defining a theme -->
+ <!-- TODO no proposal for defining a theme -->
<rng:ref name="loext-theme"/>
</rng:optional>
<rng:zeroOrMore>