diff options
author | Sarper Akdemir <q.sarperakdemir@gmail.com> | 2020-06-25 20:33:05 +0300 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-08-20 15:21:07 +0200 |
commit | e33486189d5af3e651a5bc2e974b548fc07cc5bc (patch) | |
tree | 08af11ef308771f9c51efa660ce83dc25b5dc475 /schema | |
parent | a58fe88b5b406749f6e47c14f56d7490a7958bda (diff) |
make physics based animation effects importable-exportable
Makes physics based animation effects importable and exportable
on content.xml. Uses one new xml token animatePhysics.
Also adds a new animation preset called Physics Basic that is
available under Emphasis animation effect category.
Change-Id: I38b0511f973668655cff78becebe3f1e628d9083
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100247
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'schema')
-rw-r--r-- | schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng | 43 |
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> |