summaryrefslogtreecommitdiff
path: root/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
diff options
context:
space:
mode:
Diffstat (limited to 'schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng')
-rw-r--r--schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng43
1 files changed, 43 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
index 920cc0348111..b65dd74407a6 100644
--- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
+++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
@@ -2420,4 +2420,47 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
</rng:element>
</rng:define>
+ <!-- TODO no proposal -->
+ <rng:define name="animation-element" combine="choice">
+ <rng:choice>
+ <rng:element name="loext:animatePhysics">
+ <rng:ref name="common-anim-target-attlist"/>
+ <rng:ref name="common-timing-attlist"/>
+ <rng:ref name="animate-physics-attlist"/>
+ </rng:element>
+ </rng:choice>
+ </rng:define>
+
+ <rng:define name="animate-physics-attlist">
+ <rng:optional>
+ <!-- default value: 0 -->
+ <rng:attribute name="loext:velocity-x">
+ <rng:ref name="double"/>
+ </rng:attribute>
+ </rng:optional>
+ <rng:optional>
+ <!-- default value: 0 -->
+ <rng:attribute name="loext:velocity-y">
+ <rng:ref name="double"/>
+ </rng:attribute>
+ </rng:optional>
+ <rng:optional>
+ <!-- default value: 0.1 -->
+ <rng:attribute name="loext:bounciness">
+ <rng:data type="double">
+ <rng:param name="minExclusive">0</rng:param>
+ <rng:param name="maxInclusive">1</rng:param>
+ </rng:data>
+ </rng:attribute>
+ </rng:optional>
+ <rng:optional>
+ <!-- default value: 1 -->
+ <rng:attribute name="loext:density">
+ <rng:data type="double">
+ <rng:param name="minInclusive">0</rng:param>
+ </rng:data>
+ </rng:attribute>
+ </rng:optional>
+ </rng:define>
+
</rng:grammar>