3 messages in org.openoffice.fr.progRe: [prog] Appeler une macro écrite e...
FromSent OnAttachments
Sébastien VINOTOct 15, 2007 11:33 pm 
Laurent GodardOct 15, 2007 11:42 pm 
Sébastien VINOTOct 15, 2007 11:49 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] Appeler une macro écrite en pythonActions...
From:Sébastien VINOT (seba@logisphere.fr)
Date:Oct 15, 2007 11:49:32 pm
List:org.openoffice.fr.prog

Merci pour ces liens ! En tout cas ça me réconforte car je commençais à me demander si c'était possible.

Je regarde tout ça ce soir car vraiment pouvoir utiliser du Python c'est vraiment très intéressant.

Sébastien

Laurent Godard a écrit :

Bonjour

Je me permet de poster car après plusieurs jours (soirées est en fait plus précis) d'investigations sur les macros en Python je n'arrive pas à trouver comment appeler une macro écrite en python depuis une macro OpenOffice.

Quelqu'un aurait-il un exemple de ce genre d'appel ?

il faut creer un eservie UNO et ensuite dans ta macro OOoBasic, faire une createUNOService

je t'invite à regarder ce lien http://wiki.services.openoffice.org/wiki/UNO_component_packaging http://wiki.services.openoffice.org/wiki/Extensions_development_python

Bon courage

Tiens nous au courant