Document Conversion using Sockets

Java, C++, C#, Delphi, ??? - Using the UNO bridges

Document Conversion using Sockets

Postby rompetoto » Thu Jul 07, 2011 12:15 am what a headache the OO SDK is...

Basically I am trying to convert documents using the headless version of 3 and TCP sockets.

The python code from here works amazing! If only I could convert this to C#...

The problem I am facing seems to be happen when I am bootstrapping the Local Context.
The uno.util.Bootstrap.bootstrap() function is NOT what I want at all, becuase this just creates another soffice.exe process.

I want to use an already created soffice process to do the conversion work.

I have tried this code to bootstrap the system, but it always returns null.
Code: Select all   Expand viewCollapse view
XComponentContext xLocalContext = uno.util.Bootstrap.defaultBootstrap_InitialComponentContext();

Does anyone have any suggestions, if you have any questions about what I am trying to accomplish, please just ask.

Thanks, Richard
OpenOffice 3.2 on Windows Vista
Posts: 1
Joined: Thu Jul 07, 2011 12:07 am

Re: Document Conversion using Sockets

Postby hanya » Fri Jul 08, 2011 3:07 pm

Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
Posts: 885
Joined: Fri Nov 23, 2007 9:27 am
Location: Japan

Return to External Programs

Who is online

Users browsing this forum: No registered users and 1 guest