Hi Carsten
Thanks for your response
You should use the Add-On feature to deploy your toolbar. Please have a look at the Developer's Guide for OOo 1.1 which has a chapter about Add-Ons.
I already add a look but will dig again into it I didn't see anything dealing with user defined toolbar
My problem is that if i deploy my macro as a regular addon, it blocks the main toolbar until it finishes
Ok, now I see your problem. Normally this shouldn't happen as Basic yields internally and make the UI accessible. Is it possible to send me an example of your code, so we can investigate this problem?
OOo 2.0 creates separate toolbars for every Add-On, so this problem is automatically solved. OOo 2.0 also uses asynchronous calls when you press a toolbar button.
That's why i want to add it in a user defined toolbar
- deploy the macro - deploy a user defined toolbar pointing on it
It's not possible to deploy your own custom toolbar (xml file) into config/soffice.cfg.
I can give you a more detailed description. There is no automatic mechanism in pkgchk/unopkg or UNO package manager UI to deploy a customtoolbar.xml file into the conifg/soffice.cfg folder. For OOo 2.0 you can use our new UI configuration API which gives you the opportunity to create your toolbar on-demand.
i don't understand I can not build my own toolbar what about using an already existing toolbar ?
If not possible using pkgchk, a script modifying the fiel should to the trick but is dirty and bad (R)
Ok, that's possible, but as you already mentioned it's a dirty and bad solution. Users must restart OOo to see your new toolbar and we cannot guarantee you that this will work in the future.
Regards, Carsten
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]