https://bugs.freedesktop.org/show_bug.cgi?id=74732

          Priority: medium
            Bug ID: 74732
          Assignee: [email protected]
           Summary: Cannot add glue point to a connector
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: UNCONFIRMED
           Version: 4.2.0.4 release
         Component: Drawing
           Product: LibreOffice

This appears to be a limitation in the current LO (and Apache OO)
implementation of ODF. The related AOO issue is:

https://issues.apache.org/ooo/show_bug.cgi?id=18806

... but there does not appear to be a related LO bug report, hence this report.

The ODF v1.2 specification indicates for the draw:connector element (10.3.10,
pp.212-213):

> Start and/or end points can be defined by references to glue points 10.3.16 
> or as absolute positions. ...
>
> The <draw:connector> element has the following child elements: 
> <draw:glue-point> 10.3.16 ...

For the `draw:glue-point` element (10.3.16, p.216) the spec states:

> The <draw:glue-point> element specifies a point in the area of a drawing 
> object
> to which a connector shape can connect. All drawing objects have four standard
> glue points located at the center of the four edges of the object's bounding 
> box.
> Additional glue points may be added to a drawing object by inserting one or 
> more
> <draw:glue-point> elements into a drawing object element.
>
> The <draw:glue-point> element is usable within the following elements: ...
> <draw:connector> 10.3.10, 

It would therefore seem it is possible to add a glue point to a connector.

Steps to reproduce:
1. Start Draw (empty document).
2. Insert two shapes e.g., rectangle and ellipse.
3. Connect the rectange and ellipse with a connector.
4. Select one of the shapes.
5. Click Glue Points toolbar button.
6. Click Insert Glue Point button on Gluepoints toolbar.
7. Notice that glue points can be added to the shape as required (mouse pointer
changes to crosshair).
8. Select the connector.
9. Repeat steps 5-6.

Observed behaviour:
- It is not possible to add a glue point to the connector (mouse point never
changes to required mode and clicking on the connector is ineffective).

Expected behaviour:
- In accordance with the ODF v1.2 spec it should be possible to add a glue
point to the connector in similar manner to that for a shape.

Tested with Debian v7.3.0 x86_64 using v4.1.4.2 Build ID:
0a0440ccc0227ad9829de5f46be37cfb6edcf72 and Crunchbang 11 x86_64 using v4.2.0.4
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to