Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Where do I start with API programming in LO?

Years ago, I wrote a VB app that opens an MS Word doc, and does 'stuff'. Now, I would like to migrate that program to use LibreOffice (4.3.1) instead of MS Word. I've spent some time looking around, but perhaps I'm not using the correct terminology?

The 'stuff' I do is fairly simple using the DOM model in MS Word 1) find the first table on the first page, get the row/col count and read the data. 2) find all subsequent occurrences of that table (same rows/cols) throughout the document, read the data.

I'd like to interact with the Word doc using C++ or PHP (Using Windows 7). I'm actually wondering if LibreOffice's API (if there is one) is actually the way to go with this? Is there a better way?

Any pointers where to start would be very much appreciated... Many thanks in advance...

Where do I start with API programming in LO?

Years ago, I wrote a VB app that opens an MS Word doc, and does 'stuff'. Now, I would like to migrate that program to use LibreOffice (4.3.1) instead of MS Word. I've spent some time looking around, but perhaps I'm not using the correct terminology?

The 'stuff' I do is fairly simple using the DOM model in MS Word 1) find the first table on the first page, get the row/col count and read the data. 2) find all subsequent occurrences of that table (same rows/cols) throughout the document, read the data.

I'd like to interact with the Word doc using C++ or PHP (Using Windows 7). I'm actually wondering if LibreOffice's API (if there is one) is actually the way to go with this? Is there a better way?

Any pointers where to start would be very much appreciated... Many thanks in advance...