[Libreoffice-bugs] [Bug 112086] PPTX with zoom animation opens with repair in PowerPoint after roundtrip

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 18 11:03:55 UTC 2017


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

--- Comment #2 from Aron Budea <baron at caesar.elte.hu> ---
One of the issues is that the <p:val> element of type p:fltVal is not exported.

original snippet:
  <p:tavLst>
    <p:tav tm="0">
      <p:val>
        <p:fltVal val="0"/>
      </p:val>
    </p:tav>
    <p:tav tm="100000">
      <p:val>
        <p:strVal val="#ppt_w"/>
      </p:val>
    </p:tav>
  </p:tavLst>

exported snippet:
  <p:tavLst>
    <p:tav tm="0">
      <p:val/>
    </p:tav>
    <p:tav tm="100000">
      <p:val>
        <p:strVal val="#ppt_w"/>
      </p:val>
    </p:tav>
  </p:tavLst>

The code doesn't like p:fltVal for Width attribute, see what's in the 'if'
around here:
https://opengrok.libreoffice.org/xref/core/sd/source/filter/eppt/pptexanimations.cxx#1390

Not sure what's allowed, since conversion seems to be involved in general, but
maybe interpreting a double with the value 0 could be allowed there?
Adding that still exports a p:strVal instead of p:fltVal, though, so further
changes are needed.

-- 
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/20170918/5aa7a93b/attachment.html>


More information about the Libreoffice-bugs mailing list