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

Matteo Campanelli matteo.campanelli at gmail.com
Wed Jul 29 10:15:15 PDT 2015


This part has been completed; also we can chain-links are set directly
after loading from file now.
Thorsten, everything that worked already is working after setting the UNO
property but the solution is a bit dirty. Please see my last chat message
today.

Matteo


On Fri, Jul 24, 2015 at 12:14 AM Thorsten Behrens <
thb at documentfoundation.org> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150729/ac126830/attachment.html>


More information about the LibreOffice mailing list