Re: [api-dev] Load a document and run macro

2007-12-14 Thread Tobias Krais
Hi Antoine, To load the document, I tried : String vUrl = file://.concat(((File) pSrc).toURL().toExternalForm().substring(5)); Just a hint: the way you create the UNO compatible URL is not the best. See this snippet:

Re: [api-dev] NB Plugin - Configuration on Wiki page is incorrect - OO plugin does not show up in NB 6.0 plugin manager

2007-12-14 Thread Steffen Grund
Hi Wade, you are right, it states NB 6 on the plugin portal page, but the information there is wrong. We will update this. For issues regarding NB 6, see http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration/Releases/Release_1.2 Regards, Steffen Wade Chandler wrote: My

Re: [api-dev] NB Plugin - Configuration on Wiki page is incorrect - OO plugin does not show up in NB 6.0 plugin manager

2007-12-14 Thread Wade Chandler
Steffen, Is there anything you guys specifically need help with? Are all those issues still open ended issues with no solution in sight? I might be able to help or get you guys some help from different NB community members in and out of Sun. Just need to know what you guys need etc. Wade

Re: [api-dev] NB Plugin - Configuration on Wiki page is incorrect - OO plugin does not show up in NB 6.0 plugin manager

2007-12-14 Thread Wade Chandler
Thanks Steffen, I'll forward this Wiki page on to users who wrote me directly. Wade == Wade Chandler, CCE Software Engineer and Developer, Certified Forensic Computer Examiner, NetBeans Dream Team Member, and NetBeans Board Member http://www.certified-computer-examiner.com

RE: [api-dev] Load a document and run macro

2007-12-14 Thread Antoine POURCHEZ
Thanks for your answer. I am near the solution. - To Open the document with correct rights, I must write vProps[2] = new PropertyValue(); vProps[2].Name = MacroExecutionMode; vProps[2].Value = new Short(MacroExecMode.ALWAYS_EXECUTE_NO_WARN); and not new Integer(...). -