Basically I am trying to convert documents using the headless version of OpenOffice.org 3 and TCP sockets.
The python code from here http://www.artofsolving.com/opensource/pyodconverter 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
XComponentContext xLocalContext = uno.util.Bootstrap.defaultBootstrap_InitialComponentContext();
Thanks, Richard