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

            Bug ID: 157956
           Summary: Modernize the "Flowchart Alternate Process" shape to
                    use circular corner rounding in all sizes
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: easyHack
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 190461
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190461&action=edit
Flowchart Alternate Process as shape form LO compared to OOXML

This is a spin off to bug #77125. The "Flowchart Alternate Process" shape has
the same problem with its corner rounding as the "Rounded Rectangular Callout"
shape, but it is much easier to fix.

Insert a "Flowchart Alternate Process" shape. Drag it wider, so that it is not
square. Notice, that the corner quarter circles are no longer circles but
become ellipses.

This was the behavior in ancient MS Office 97. But already in the description
of the binary format 2007, the shape is described with "limo-stretch", which
means, that the quarter circles remain circles when the shape is not square.
[1] Appendix A, page 102

The similar shape in OOXML also keeps the corner circles as circles.

In addition, the radius of the corner rounding is too small compared with MS
Office. LibreOffice uses 2540/21600 of width or height. But MS Office specifies
for its binary format 2700/21600 and the corresponding shape defined in OOXML
presetShapeDefinitions.xml [2] has 1/6 = 3600/21600.

The attached file has a comparison of the shape in LibreOffice (red) with the
OOXML shape from MS Office (green). On the third slide, I have converted the
shapes to polygons, so that you can see the last point of the curve in Edit
Point mode.

The values to be changed are in msoFlowChartAlternateProcess in [3].

[1]
https://download.microsoft.com/download/0/b/e/0be8bdd7-e5e8-422a-abfd-4342ed7ad886/officedrawing97-2007binaryformatspecification.pdf
[2]
https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/customshapes/presetShapeDefinitions.xml
[3]
https://opengrok.libreoffice.org/xref/core/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to