Hi Jorge,
I'd like to write a macro setting some of OOo's options (Menu Tools->Options) programatically. Can this be done?
So far, by means of recording a macro, I've just got to:
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") dispatcher.executeDispatch(document, ".uno:OptionsTreeDialog", "", 0, Array())
which displays the options dialog. I guess using the right command URLs might do it, but I cannot find this sort of info in the docs.
most of the settings in this dialogue should be accessible through the configuration api, you might want to take a look at the corresponding developers guide chapter http://api.openoffice.org/docs/DevelopersGuide/Config/Config.htm
Hope that helps
Regards
Stephan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]