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

            Bug ID: 157511
           Summary: Wrong link in Text of GluePointLeavingDirections and
                    GluePointType
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]

In EnhancedCustomShapePath Service Reference [1] in part Public Types you find:
typedef sequence< double >      GluePointLeavingDirections
        This property specifies GluePoint leaving directions.

"GluePoint" is a link to GluePoint Struct Reference [2]. That is wrong in
content. That "GluePoint" belongs to those, which can be set in the UI. Whereas
the GluePointLeavingDirections belongs to those glue points, which are defined
in the enhanced custom shape geometry. That are those in the item above:
typedef sequence<::com::sun::star::drawing::EnhancedCustomShapeParameterPair > 
GluePoints
        This property specifies custom gluepoints.

Proposal:
Instead of
    This property specifies GluePoint leaving directions.
use
    This property specifies leaving directions for the GluePoints.
Notice the plural s.
There should be no link at all, because the item "GluePoints" is just above the
item "GluePointLeavingDirections".

The same wrong link is in [1] for GluePointType:
short   GluePointType
        This property defines the GluePoint type.
and its long description.

Proposal:
Instead of
    This property defines the GluePoint type.
use
    This property defines automatically created glue points of an enhanced
custom shape geometry.

And in the long description
Instead of
    This property defines the GluePoint type. The values that can be used are
specified in com::sun::star::drawing::EnhancedCustomShapeGluePointType
use
    This property defines that glue points are automatically generated. It is
ignored in case the member GluePoints exists. The values that can be used are
specified in com::sun::star::drawing::EnhancedCustomShapeGluePointType.


These all belong to the ODF attributes "draw:glue-point-leaving-directions",
"draw:glue-points" and "draw:glue-point-type" of the <draw:enhanced-geometry>
element [3].


[1]
https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1drawing_1_1EnhancedCustomShapePath.html#a8a8363cd08ab2fef5c5bdffd58df99c4
[2]
https://api.libreoffice.org/docs/idl/ref/structcom_1_1sun_1_1star_1_1drawing_1_1GluePoint.html
[3]
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#element-draw_enhanced-geometry

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

Reply via email to