Open Office Automation
Really hoping someone here will be able to help me. I am wanting to automate my applications and Open Office.
Can anyone point me in the correct direction? There is mountains of information out there for Microsoft Office Automation b开发者_StackOverflow中文版ut barely anything on Open Office.
I hope someone can recommend a good set of components to purchase or perhaps some good libraries to include in my projects that will make automation easier.
Any help would be appreciated!
Kind Regards
Donovan
There are quite a lot examples around. In the UNO OpenOffice Project, there are some samples also for Delphi. The samples for other languages are also helpfull, because the systematic of UNO (which is the API of OpenOffice also over COM) is a bit complicated.
There is also a forum with some Delphi-Code: http://www.oooforum.org/forum/
There are some Tools and Constanst and Example Units, this is a very good starting point: http://www.koders.com/delphi/fidB69083385CA27692654E24A4FBC81ED2AC516B49.aspx?s=ftp#L63
I have quite a lot of code for that task, but it is too much to post it here (sorry) and it is included in a very big application.
you can start by checking out the UNO OpenOffice automation project: http://udk.openoffice.org/
There was also a Sun Microsystems initiative called ODF Toolkit, but it never took off.
精彩评论