Page 1 of 1

Interop and OpenOffice

Posted: Tue Apr 28, 2015 2:27 am
by ZooGuy
I have a C#/WPF in Visual Studio 2010 using Interop/COM interface to automate Microsoft Word and Excel. I have about a dozen reports that are generated this way.

What is the easiest way to have this program automate OpenOffice Writer and Calc (because some machines don't have MS Office installed)? Using UNO/CLI seems to require a major rewrite of the code. Is there any other options?

It would be nice to support both Microsoft Office and OpenOffice.

Any help would be appreciated.

Re: Interop and OpenOffice

Posted: Tue Apr 28, 2015 6:53 am
by Zizi64
I have a C#/WPF in Visual Studio 2010 using Interop/COM interface to automate Microsoft Word and Excel.
I think: You need rewrite all of your routines, because the API of the Apache OpenOffice and LibreOffice is fundamentally different from the programming interface of the MS office suite.