Bug 162575 - EDITING: Allow connectors to snap to a table row or column
Summary: EDITING: Allow connectors to snap to a table row or column
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Connectors
  Show dependency treegraph
 
Reported: 2024-08-23 01:12 UTC by tguen
Modified: 2024-08-29 16:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file with connector and shapes. (10.34 KB, application/vnd.oasis.opendocument.text)
2024-08-24 02:27 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tguen 2024-08-23 01:12:12 UTC
I created two tables, and want to draw lines from rows in one table to rows in the other. I can do this with 'lines and arrows' in the shapes menu but they don't snap to the table, so if I move it or add/delete rows I have to move all the lines as well. I tried to use the 'connectors' but they only snap to the edge of the table at the center, not at the rows.
Comment 1 m_a_riosv 2024-08-23 20:28:38 UTC
I didn't try, but you can try:

Create a basic shape in the first cell of the row, anchor to paragraph, and make it transparent. Do the same in the cell/row of the second table. Create the lines.
Comment 2 tguen 2024-08-23 23:02:51 UTC
I spent quite a while trying to make this work. I added an invisible box, but the anchor options appear to be missing. I searched for it in the customize dialog, but it's not there. I can make a group out of the boxes and the table, but it's a hassle to get everything positioned correctly (especially since most are invisible). It's a usable but less-than-ideal workaround.
Comment 3 m_a_riosv 2024-08-24 02:27:47 UTC
Created attachment 195992 [details]
Sample file with connector and shapes.

Attached a sample file.

Sorry, but connectors can not be set up on Writer, but you can create the shapes with their connector on Draw and past it on Writer. Seems it works fine, deleting or adding rows to the tables.

To set up the anchor, right-click on the shape. If you have trouble to find the shapes, use the navigator on the sidebar to find and select them.
Comment 4 tguen 2024-08-24 02:40:44 UTC
This is a report for Draw, not for Writer.
Comment 5 m_a_riosv 2024-08-24 03:08:00 UTC
Sorry my bad.

Seems there are no way.

Well except inserting a Writer OLE object in Draw

Having shapes inside tables in Draw like in Writer seems a good option.