4 messages in org.openoffice.fr.progRe: [prog] insertDoc
FromSent OnAttachments
Daniel HucherotNov 17, 2008 1:03 pm 
Francois GattoNov 17, 2008 9:43 pm 
SEGUIN FrançoisNov 17, 2008 10:04 pm 
Daniel HucherotNov 18, 2008 10:39 am 
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] insertDocActions...
From:Francois Gatto (oo@volcar.org)
Date:Nov 17, 2008 9:43:41 pm
List:org.openoffice.fr.prog

Bonjour,

Daniel Hucherot wrote:

Bonsoir, lorsque j'écris args2(0).Name = "Name" 'args2(0).Value = "" args2(1).Name = "Filter" args2(1).Value = "Text" dispatcher.executeDispatch(document, ".uno:InsertDoc", "", 0, args2()) avec args2(0).Value en commentaire il ouvre une boite de dialogue pour choisir un fichier Peut-on me dire comment je récupère le nom du fichier sélectionné par l'utilisateur? Merci pour votre aide daniel

Je procèderai en deux temps :

1) utiliser une procédure "FilePicker" 2) insérer le document ainsi récupéré