Bonjour Cezame concept Cezame Concept a écrit :
Un exemple de code pour une macro serait plus simple a comprendre ... que renvoies Stardesktop.currentComponent une chaîne ?
l'objet composant active, tout simplement
Quoi envoyer à StarDesktop.Components pour sélectionner un document ? Merci d'avance ...
une recherche dans les archives de la liste pourrait se relever peut etre fructueuse si ce n'est efficace
http://fr.openoffice.org/servlets/SearchList?list=prog&searchText=stardesktop&defaultField=body&Search=Search http://fr.openoffice.org/servlets/ReadMsg?list=prog&msgId=1565774 sinon regarde du cote de XRay http://fr.openoffice.org/Documentation/How-to/Basic/XrayTool50_fr.sxw et bien sur du SDK http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html http://api.openoffice.org/SDK/index.html Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org Livre "Programmation OpenOffice.org", Eyrolles 2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]