Re: [api-dev] how to dispatch ".uno:ClosePreview" from java ?

2006-08-08 Thread Andreas Schlüns
Hello Oliver, If you wish to force a synchronous execution of your dispatch you should try the argument "Asynchron" as [bool] with a valud "false". are you sure, this works ? I can see no difference ... the preview is not closed even if I use xProps[0] = new PropertyValue(); x

Re: [api-dev] LoadComponentFromURL using an XInputStream in Basic

2006-08-08 Thread Andreas Schlüns
Hello Andrew, Andreas Schlüns wrote: I store a Write document into a Base document. I am storing Binary date in a Base Document, which uses the internal database. I know how to use a macro to open the file, read the file into a byte array and store the document into the database. I als

[api-dev] Integrating OpenOffice API to Java Application

2006-08-08 Thread aloizio
Hi everybody, I am trying to integrate my Java Application to OpenOffice API, but I get the following error: Unable to start OpenOffice. Starter says: no office executable found! java.lang.NullPointerException I included the following Jars: ju,jar, jut.jar, jut.jar, ridl.jar, sandbox.jar and un

Re: [api-dev] Integrating OpenOffice API to Java Application

2006-08-08 Thread Tobias Krais
Hi Aloizio, > Unable to start OpenOffice. Starter says: > no office executable found! > java.lang.NullPointerException > > I included the following Jars: ju,jar, jut.jar, jut.jar, ridl.jar, > sandbox.jar and unoil.jar. Colu someone help me? you need to add the path of soffice to your classpath.

Re: [api-dev] LoadComponentFromURL using an XInputStream in Basic

2006-08-08 Thread Andrew Douglas Pitonyak
:-) It can be solved ... if you implement an UNO Service which accepts a Sequence< sal_Int8 > as IN parameter and returns an XSeekable/XInputStream as result. Such service can be used in Java, C++, Basic, Phyton etcpp. Currently I do not know if such help service still exists .-)

[api-dev] [EMAIL PROTECTED] TOPIC: Contributing

2006-08-08 Thread Michael Hoennig
Dear OpenOffice.org community, This is the 2-weekly announcement of current issues regarding the OOo API project which I want to hightlight to the community. *** = *** Todays Issue: Contributing to the OOo API Project *** --