Re: [Libreoffice] Dynamically relaod addon toolbar

2011-10-28 Thread Cor Nouws
Hi, This is no list for add-on /extensions questions (1) However.. othman wrote (27-10-11 23:15) what java code should i add to dynamically relaod addon toolbar or relaod the whole Addon context? Presumably there will be a whole representation of the configuration in memory. I would be surpr

Re: [Libreoffice] Dynamically relaod addon toolbar

2011-10-27 Thread othman
the following code to relaod the current document is not working. what am i doing wrong? PropertyValue[] loadProperties = new PropertyValue[0]; Object dispatchHelperObject = this.mxMSF.createInstance("com.sun.star.frame.DispatchHelper"); XDispatchHelper xDispat

[Libreoffice] Dynamically relaod addon toolbar

2011-10-27 Thread othman
Hello, I use the Configuration Update Manager to dynamically update addon Configuration data (adding new OfficeToolbar entry). after i commit changes to Configuration manager the results are not immediately reflected in toolbar. I have to open a new document to see the new updated toolbar. what ja