I am trying to rewrite a C # application in Java. I chose Java because our target platform is now Linux, not Windows.
My C # application used Microsoft Office Interop to automate things like Word and Excel. It will simply open different documents and apply our formatting to them (adjust the column width, delete italics, etc.). Finally, it will save the documents in PDF format.
Now that we focus on Java and Linux, and knowing that OpenOffice can do all this, I decided it would be a smooth transition. OpenOffice is open source, so it should have a relatively nice automation interface, right?
I was Google and looked at documents until the morning. I downloaded the OpenOffice SDK. I followed the installation instructions for MinGW and the Zip toolkit. I tried NetBeans plugins and Eclipse configuration settings.
The funny thing is, I'm not even sure that I'm in the right direction. I read about the OpenOffice UDO interface, but it is more like OpenOffice scripts like VBA or something like that.
Does anyone know if there is some kind of import that allows me to use OpenOffice to open and process documents like Office Interop libraries? If so, do you know any recent examples or blog posts, etc.?
Thanks in advance!
source
share