Using Office 2007 PIA vs OpenOffice.Org

I am using Office 2007 PIA to run PowerPoint files in my C # application.

I know that for this, Office 2007 must be installed on Office.

I wanted to know if it is possible to run the same setup with OpenOffice.org instead of Microsoft Office?

Note. I am using a Qindows machine.

+3
source share
2 answers

While OpenOffice has an Automation Bridge that allows you to access OpenOffice applications in Automation (the correct subset of COM, which in turn can be accessed through COM Interop ), the API profile is definitely not the same.

However, any code you write that uses the PIA Office 2007 is not compatible with the automation model provided by OpenOffice.

Of course, you can probably do many of the things that you could do in Office, it's just how you did it (the methods you call) would be completely different.

+4
source

In a word, No.

PIAs contain the mapping information related to the DLL that they wrap, in your case, the MS Office application DLLs.

+1

Source: https://habr.com/ru/post/1733645/


All Articles