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

--- Comment #7 from Regina Henschel <[email protected]> ---
(In reply to Heiko Tietze from comment #6)
> We discussed the topic in the design meeting.
> 
> Since "Callouts" are just custom shapes and not actually connectors the
> request is questionable. Neither (random) gluepoints nor some anchoring is
> accepted nor is flexible enough for the task. Me recommends to resolve the
> ticket as WF.

Yes, there is a group of "SpeechBubble" custom shapes. But there exists in
addition true callout shapes. They are not in a toolbar in Writer as default,
but can be added. Look for  "Callouts" (.uno:DrawCaption). In Draw/Impress they
are available in the toolbar "Text".

These callout shapes are written as <draw:caption> element to file markup. The
position of the callout end point is written in attributes draw:caption-point-x
and draw:caption-point-y. That is the same as it is done with the
<office:annotation> element in a spreadsheet.

The movement of a callout shape is tricky:
- If you grab the rectangle of the content, only this rectangle moves and the
callout end point keeps its position.
- If you grab the connection line between content rectangle and callout end
point, then the whole shape moves.
- If you grab the callout end point, then only this callout end point is moved.

If this callout shape is anchored "to character", then it will move together
with its anchor character.

LibreOffice could change the UI of these callout shapes so, that the callout
end point can be set to a fixed value that is relative to the anchor character
and adapted automatically if needed. The place for that would be the "Callout"
dialog page in the "Position and Size" dialog of the shape. Such values would
be still written as draw:caption-point attributes to file. Only the UI would
get a new feature. Currently the draw:caption-point-x and draw:caption-point-y
values are not available in the UI.

I would not try to implement something special to the shapes of the
"SpeechBubble" group of the custom shapes, because all custom shapes follow the
same rules. Thus it would mean to implement a general "glue to anchor" for
handles of any custom shape.

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

Reply via email to