Interop and OpenOffice

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
ZooGuy
Posts: 1
Joined: Tue Apr 28, 2015 2:18 am

Interop and OpenOffice

Post 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.
OpenOffice 3.3/Windows 7
User avatar
Zizi64
Volunteer
Posts: 11359
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Interop and OpenOffice

Post 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.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Post Reply