Re: [api-dev] OfficeToolbar titlebar?

2006-05-15 Thread Laurent Godard
Hi Carsten Thanks for your response The title settings will be ignored as older version use a different resource URL schema for add-on toolbars. Therefore no problem with an older 2.0.x version. yes, this was obvious, but i wanted a confirmation to make things clear thanks Laurent --

Re: [api-dev] OfficeToolbar titlebar?

2006-04-20 Thread Carsten Driesner
Tim Tow wrote: In my Essbase addon, I have a custom toolbar that now works properly. However, if the users undocks the toolbar and drags it down into it's own window. The title bar on the resultant window is 'Add-on 1'. Is there a way I can customize that title bar to say 'Essbase'? I didn't

RE: [api-dev] OfficeToolbar titlebar?

2006-04-20 Thread Tim Tow
This is currently not really possible (there is only a ugly and complex way), but we want to support this for OOo 2.0.3. If you can wait for OOo 2.0.3 you can easily set it with the Addon.xcu file. I will put it in when it is easy as long as the addons.xcu with the new info is backward

Re: [api-dev] OfficeToolbar titlebar?

2006-04-20 Thread Didier Dorange-Pattoret
Hello Tim, I hope that this code will work for you ... :-) The user have to restart OOo, included quickstarter. oConfigAccess = GetConfigAccess( "/org.openoffice.Office.UI.WriterWindowState/UIElements/States", True ) If oConfigAccess.HasByName( "private:resource/toolbar/addon_1") Then

Re: [api-dev] OfficeToolbar titlebar?

2006-04-20 Thread Carsten Driesner
Didier Dorange-Pattoret wrote: Hello Tim, I hope that this code will work for you ... :-) The user have to restart OOo, included quickstarter. oConfigAccess = GetConfigAccess( /org.openoffice.Office.UI.WriterWindowState/UIElements/States, True ) If oConfigAccess.HasByName(