Interop and OpenOffice

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

Interop and OpenOffice

Postby ZooGuy » Tue Apr 28, 2015 2:27 am

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
ZooGuy
 
Posts: 1
Joined: Tue Apr 28, 2015 2:18 am

Re: Interop and OpenOffice

Postby Zizi64 » Tue Apr 28, 2015 6:53 am

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; LO4.4.7, LO6.1.5 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.2.2; AOO4.1.5
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.
User avatar
Zizi64
Volunteer
 
Posts: 7920
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary


Return to External Programs

Who is online

Users browsing this forum: No registered users and 2 guests