[Libreoffice-bugs] [Bug 126896] New: FILESAVE: On roundtrip the information line joint is lost

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 13 21:20:11 UTC 2019


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

            Bug ID: 126896
           Summary: FILESAVE: On roundtrip the information line joint is
                    lost
           Product: LibreOffice
           Version: 6.4.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Created attachment 153360
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153360&action=edit
Shape with zigzag line as custGeom with LineJoint = "Miter"

The attached file contains a zigzag line as custGeom shape with lnTo commands.
The problem can be seen too if you use the shape "Callout Bent Line" in
PowerPoint. In that case drag the handles, so that you get a sharp corner. Test
it with a large line width to make the joint types better visible.

If you open the file and re-save it to pptx in LibreOffice and then open the
re-saved file, the line joint "Miter" is gone and line joint "Round" is used.

The information is correctly read and I see the correct values in in the shape
in the Basic IDE. The method DrawingML::WriteOutline() gets the case
aStyleLineJoint == eLineJoint when treating the property LineJoint and thus
does not write the a:miter element at the shape. But if you examine the
re-saved file, you will notice, that the element <a:miter> is missing in all
childs of the <a:lnStyleLst>.

In case of export from our own format there exists no scheme and the <a:miter>
element is written at the shape. Therefore there the error does not happen.

-- 
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/20190813/aaed2752/attachment-0001.html>


More information about the Libreoffice-bugs mailing list