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

--- Comment #3 from Regina Henschel <[email protected]> ---
Created attachment 190100
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190100&action=edit
bentConnector3

Open attached document and compare rendering with rendering in PowerPoint. The
connector is a bentConnector3, which means that it has three straight line
segments and one handle on the middle segment. The handle is set in PowerPoint
so, that the vertical line segment is near to the right vertex of the triangle.

An analysis gives this reason:
The angle calculated in lcl_GetAngle(xStartSp, aStartPt) in slidepersist.cxx is
270, but should be 0 according definition in the preset shape. A calculation
with the correct angle 0 would give the correct position of the handle.

Problematic are those cases where the glue point is not on the edge of the
snap-rectangle of the shape, like here for the gluepoint on the hypotenuse.
Then the angle even depends on whether the shape is stretched to portrait or
landscape.

@Tibor: It would be possible to generate a fix map of preset name to connection
angles for those cases where the preset has fixed angles like "cd4". But I have
no idea, how to handle cases, where the angle is calculated. Do you have an
idea how to get the leaving directions?

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

Reply via email to