Re: ConfigurationProvider getByHierarchicalName regression

Carsten Driesner <[email protected]> Mon, 10 Jan 2011 10:50:24 +0100
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
Am 10.01.2011 10:16, schrieb Fernand Vanrie:
> Bernard ,
>
> could that also been the  reason why
>
>
> oCfgManager = oDoc.getUIConfigurationManager()
>  oToolbarSettings = oCfgManager.getSettings( xResourceURL, True)
>
> no longer works ?
Hi Fernand,

No, this is definitely not the cause. The user interface configuration 
manager is a completely different implementation. I answered this 
question some days ago. There is nothing wrong here. Normally the 
document doesn't contain any user interface settings, therefore your 
second line won't work! You have to insert a user interface element 
setting to a document first. The default settings are stored for every 
module at the module ui configuration manager.

Regards,
Carsten