Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenOffice Automation delphi

We want to automate OpenOffice, When i search on internet couldnot find a end-to-end help for that and delphi examples are too less. Our intention is to insert document variables and replace the document variable with there values and copying paragraphs etc.

Can any one help me to find an end-to-end help or a pas file like word2000.pas where i can find all the word routines.

Thanks, Basil

like image 980
iambasiljoy Avatar asked Dec 04 '25 13:12

iambasiljoy


1 Answers

I do use OpenOffice-Automation with Delphi a lot and I think there is no "wrapper" with higher functionality for Delphi.

There is a Delphi OO Project on SourceForge with helpers and examples as a starting point: http://sourceforge.net/projects/ooomacros/files/Delphi%20OOo/Version%201.2/Delphi_OOo_v12en.zip/download

Then you have to study the UNO-API and use COM to call the UNO functions.

like image 57
Andreas Avatar answered Dec 07 '25 03:12

Andreas