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

Aron Budea <ba...@caesar.elte.hu> changed:

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

--- Comment #3 from Aron Budea <ba...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to