views:

16

answers:

0

I'm trying to port an application I've written in Qt from the windows platform to the Mac OS X platform.

The application is relatively simple: It queries the user for a document (either MS Word, or OOo Writer document). It than launches that that document inside the respective application, and than replaces various text elements with other data (Think Mailmerge). It starts up the application and does the text replacing using QAxObject which is wrapper for COM.

Now I'm wanting to port this to the Mac OS X. I've installed Qt Creator on the Mac etc., but obivously COM is a windows technique not available on the Mac OS X. So I've been looking around for techniques on the Mac OS X that are similiar to COM.

For now, I'm especially interested in using the OOo API http://api.openoffice.org/.

I'd like some pointers which techniques I should be looking at. I'm also willing to accept that this just plainly is not possible at all.

Thanks in advance.