[Text Chains in Draw] A few question on general handling of chains of text boxes

Thorsten Behrens thb at documentfoundation.org
Thu Jul 23 15:14:11 PDT 2015


Matteo Campanelli wrote:
> *Question*: what is a good place to keep these chains in svx?
> They hold some kind of global information so my first guess would be
> SdrModel. Does that make sense?
> 
Absolutely.

> At some point it should be possible to specify next links from the UI.
> *Question*: where should one put such commands/methods (called from the UI)
> for setting/removing links ? SdrTextObj-s themselves?
> 
There, or as a binary op on the SdrModel again, with the two boxes
(upstream & downstream) as parameters. See what feels more natural
when calling it (SdrTextObj::setNextLink() or SdrModel::linkBoxes(up,
down))...

HTH,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150724/9fdae82b/attachment.sig>


More information about the LibreOffice mailing list