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@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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.