[Libreoffice-bugs] [Bug 112480] New: wrong attribute 'enhanced-path' is saved

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 18 20:21:58 UTC 2017


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

            Bug ID: 112480
           Summary: wrong attribute 'enhanced-path' is saved
           Product: LibreOffice
           Version: 5.4.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jos at vandenoever.info

Created attachment 136349
  --> https://bugs.documentfoundation.org/attachment.cgi?id=136349&action=edit
file with enhanced-path

I've a file (imported from PPTX) that has an enhanced-geometry element with an
invalid attribute. draw:enhanced-path is present (good) and enhanced-path
(wrong).

This is the wrong XML snippet:

<draw:enhanced-geometry draw:mirror-horizontal="false"
draw:mirror-vertical="false" svg:viewBox="0 0 0 0" draw:text-areas="?f10 ?f13
?f11 ?f14" draw:type="ooxml-donut" draw:modifiers="25000" draw:enhanced-path="M
0 ?f12 Z M ?f3 ?f5 Z N" enhanced-path="M 0 ?f12 G ?f3 ?f5 ?f17 ?f18 ?f3 ?f5
?f19 ?f20 ?f3 ?f5 ?f21 ?f22 ?f3 ?f5 ?f23 ?f24 Z M ?f2 ?f12 G ?f4 ?f6 ?f25 ?f26
?f4 ?f6 ?f27 ?f28 ?f4 ?f6 ?f29 ?f30 ?f4 ?f6 ?f31 ?f32 Z N">

It is preserved when loading and saving again. It shows up in odp and odg at
least (see attachments).

In this example I wonder, why not use draw:type="ring" instead of
draw:type="ooxml-donut", they look similar enough.

-- 
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/60f29564/attachment.html>


More information about the Libreoffice-bugs mailing list