Hi,
I'm trying to manage options from 'Tools->Options...' (almost all nodes)
using UNO API. Every changes are made on options with following code
...
XPropertySet propertySet =(XPropertySet) UnoRuntime
.queryInterface(XPropertySet.class, configurationUpdateAccess);
propertySet.setPropertyValue(someProperty, someValue);
XChangesBatch xUpdateControl =(XChangesBatch) UnoRuntime
.queryInterface(XChangesBatch.class, configurationUpdateAccess);
xUpdateControl.commitChanges();
this code sets new values into proper fields in 'Tools->Options...' immediately,
but affects only after OOo restart.
I know that this problem was brought up here:
http://api.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=16885
and
http://www.openoffice.org/issues/show_bug.cgi?id=51626
I wonder if somebody found more "clever" solution than restarting OOo.
Working with OOo and SDK 3.1 (OS Linux - Ubuntu) the problem still exists.
Any tips?
Regards,
Marek
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]