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
Attachment:
signature.asc
Description: Digital signature