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

Regina Henschel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Regina Henschel <[email protected]> ---
Problems are reported in bug 149440 and bug 149441.

The ODF attribute draw:glue-point-leaving-directions (19.173 ODF 1.3)
corresponds to the 'ang' attribute of the <cxn> (Shape Connection Site) element
in OOXMl (20.1.9.9 ISO/IEC 29500-1:2016). However, the ODF attribute is under
specified. The specification misses which direction is used for 0°, whether
positive angles go clockwise or counter-clockwise, and what units are allowed.

In MS Office binary formats it is 'pConnectionSitesDir'. Or look for 'Connector
Angles' in 'Microsoft Office Drawing 97-2007 Binary Format Specification'. That
document has a detailed description of the shapes. Our corresponding struct
mso_CustomShapes misses a member for it.

The attribute draw:glue-point-leaving-directions is interpreted by MS Office
and it writes it out, when it converts pptx to odp. But it seams it uses the
angle different from what is specified as 'Connector Angle' in binary format.

The attribute draw:glue-point-leaving-directions allows an author (not the
user!) of a custom shape to specify, that the connector has to connect to the
gluepoint using the specified direction. It is similar to the attribute
draw:escape-direction (19.147 ODF 1.3), that the user can set for user defined
glue points. Only that draw:escape-direction does not allow arbitrary angles
but only the keywords auto, down, horizontal, left, right, up, vertical.

The attribute is available in the API as GluePointLeavingDirections in service
EnhancedCustomShapePath.

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

Reply via email to