Re: [Libreoffice] config & register toolbar controller in adddon

2011-10-21 Thread othman
>From my humble experience with OOo , i conclude that the designers decided to have a limited functionality for toolbars. I would be happy to know of some people willing to improve OOo toolbars API allowing more power and flexibility to build complex toolbars with rich controls and dynamic events.

Re: [Libreoffice] config & register toolbar controller in adddon

2011-10-21 Thread othman
Thanks this seems very interesting. So we could include Tool Panels in a toolbar too and not only in a Task Pane is that correct? I'll be very interested to see some snippet code (java or python) on how to make a Tool Panel and add it to a addon toolbar. I can work on this if you give me some guide

Re: [Libreoffice] config & register toolbar controller in adddon

2011-10-21 Thread Laurent Godard
HI , > I looked to this one but these are not flexible enough. i need more complex > controls (like XFixedText and progressbar). i also want to dynamically > show/hide toolbar controls at runtime. do you know how we can do this? i'm currently exploring this http://wiki.services.openoffice.org/wik

Re: [Libreoffice] config & register toolbar controller in adddon

2011-10-21 Thread othman
Hi, I looked to this one but these are not flexible enough. i need more complex controls (like XFixedText and progressbar). i also want to dynamically show/hide toolbar controls at runtime. do you know how we can do this? thanks -- View this message in context: http://nabble.documentfoundation.

Re: [Libreoffice] config & register toolbar controller in adddon

2011-10-21 Thread Laurent Godard
Hi > > why? is it impossible to configure a custom toolbar in addon using > controller.xcu ? and how to get it work in my addon? > does OOO provides an API to give advanced custom toolbar configuration in > a addon. > > can someone help on this please? you may have a look at the sdk, there ar

[Libreoffice] config & register toolbar controller in adddon

2011-10-20 Thread othman
i write the following controller.xcu http://openoffice.org/2001/registry"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; oor:name="Controller" oor:package="org.openoffice.Office.UI">