Hi Jan, *
what is the correct way to access document-specific options of an
extension through the gui?
The options are stored in an XNamedGraph.
But where would the user expect to find them in the GUI?
* File -> Properties?
Here ^^^ given that the options are persistent i.e. they're stored in the
document too.
* Extras -> Options -> Writer -> <some option page that is not global,
but document specific>
Rather not, Tools > Options should be really reserved for global, system-wide
options. Not all pages therein comply to that rule though, and it's an awful,
confusing user experience then.
Moreover, I'm not sure if it's possible at all to add a new options page via
extension ( what this means is just that I'd have no idea whatsoever how to do
it myself ;-) )
* New menu entry (the extension has its own menu in the menu bar anyway)
Or here, it should be [1] fairly easy to create simple dialogs with Basic
dialog editor and then interface with them from whatever language your
extension is written in (I've successfully tried and tested Java for this
purpose). You can even define some help texts for your dialog that way.
HTH
[1] "should be", but dialog editor is plagued with many bugs
--
Katarina Behrens
Softwareentwicklerin LibreOffice
–––
CIB software GmbH
Geschäftsstelle Hamburg
Flachsland 10
22083 Hamburg
–––
T +49 (40) / 28 48 42 -235
F +49 (40) / 28 48 42 -100
Katarina.Behrens@cib.de
www.cib.de
–––
Sitz: München
Registergericht München, HRB 123286
Geschäftsführer: Dipl.-Ing. Ulrich Brandner
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.