[Libreoffice-bugs] [Bug 116899] Fly-in animation doesn' t play after roundtripping from LO through PP (PPT format)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 11 04:16:15 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=116899

Aron Budea <baron at caesar.elte.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #3 from Aron Budea <baron at caesar.elte.hu> ---
The problem is with the unusual key times.

Dumping animation data gives the following:
- good:
...
<animate fill="hold" dur="0.5" calcmode="linear" valueType="number"
keyTimes="0.000000;1.000000;" values="#ppt_x;#ppt_x" additive="replace"
attributeName="ppt_x" paragraph 0, 5 characters target=""/>
<animate fill="hold" dur="0.5" calcmode="linear" valueType="number"
keyTimes="0.000000;1.000000;" values="1+#ppt_h/2;#ppt_y" additive="replace"
attributeName="ppt_y" paragraph 0, 5 characters target=""/>
...

- bad:
...
<animate fill="hold" dur="0.5" calcmode="linear" valueType="number"
keyTimes="1.000000;-1.000000;" values="#ppt_x;#ppt_x" additive="replace"
attributeName="ppt_x" paragraph 0, 5 characters target=""/>
<animate fill="hold" dur="0.5" calcmode="linear" valueType="number"
keyTimes="1.000000;-1.000000;" values="1+#ppt_h/2;#ppt_y" additive="replace"
attributeName="ppt_y" paragraph 0, 5 characters target=""/>
...

Animations only permit key times in the range of [0, 1], and the first entry
has to be 0.
Solution: if the key times are outside the range, normalize key times during
import, at least both for PPT and PPTX formats.

Note: in OOXML format the key times are stored in element 'tav'.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180411/509b22e5/attachment.html>


More information about the Libreoffice-bugs mailing list