Openoffice pipe connection

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
Allen_liu
Posts: 1
Joined: Mon May 26, 2008 1:06 pm

Openoffice pipe connection

Post 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.
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Openoffice pipe connection

Post by acknak »

[Moved to Macros and UNO API > External Programs]
AOO4/LO5 • Linux • Fedora 23
hol.sten
Volunteer
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Openoffice pipe connection

Post 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:
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
Post Reply