automation

Is there a way to 'drive' libre office from another application like we can do with excel:

lnexcel = CREATEOBJECT("excel.application")

In fact, I have a Visual Foxpro app who will have to drive Excel or Calc depending of its client. I'd like to know if I can build only one procedure.

Est-il possible de piloter Calc à partir d'une autre application comme on peut le faire avec Excel ? En fait, j'ai une application Visual Foxpro qui devra remplir des tableaux soit dans Excel soit dans Calc selon ce que le client a.

D'avance merci pour vos réponses.
Thanks

You can try looking here:
<http://api.libreoffice.org/>
for starters.

Note that this list is english only; there is localized mailing list for
other languages. For example: <http://fr.libreoffice.org/forums/>​​

So I have my answer : I must build two procedures !

Thanks.

PS As it is my first question and answer : do you usually leave the initial message in the answer ? I use not to but I'll follow your general choice .... and I'll avoid french !

The general process is to leave the question and the answer in the last
email that you send to the list. Add (SOLVED), or something to that
effect, to the subject of the email so that those who search the mail
archives later can more easily find the solution.

Something like this:

Re: [libreoffice-users] automation (SOLVED)