Page 1 of 1

Openoffice pipe connection

Posted: Mon May 26, 2008 1:20 pm
by Allen_liu
HI All:
I have a openoffice connection problem. I want to integrate some function to my Application, because I want to implement convert MS Office document format such as doc, xls, ppt to openoffice formats "odt, odp, ods". Openoffice is XML Format. In order to complete this, I have installed Openoffice. In order to connect Openoffice, I used Socket connection; fine. It works fine.

I can convert it successful. In order to close the opening openoffice, I also implement XTerminateListener. So I can close it.

But there is a problem ...if i start openoffice editing some document, but i haven't saved my file. Now I start up my application, it will close the editing file. So it not my wants. I think I have to use pipe connection in openoffice. but I'm lack of information.

Can anyone give me some information or advice?
thanks in advance.

Re: Openoffice pipe connection

Posted: Mon May 26, 2008 6:17 pm
by acknak
[Moved to Macros and UNO API > External Programs]

Re: Openoffice pipe connection

Posted: Mon May 26, 2008 7:29 pm
by hol.sten
Allen_liu wrote:I think I have to use pipe connection in openoffice. but I'm lack of information.
Although my guess is, that you cannot solve your problem by changing a socket connection to a named pipe connection, here are threads covering named pipe connections: