3 messages in org.openoffice.fr.progRe: [prog] Problème avec copier/coller
FromSent OnAttachments
Gilles DauratJul 13, 2006 7:37 am 
Bernard MarcellyJul 14, 2006 11:47 pm 
Gilles DauratJul 16, 2006 10:34 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] Problème avec copier/collerActions...
From:Gilles Daurat (gill@laposte.net)
Date:Jul 16, 2006 10:34:03 am
List:org.openoffice.fr.prog

Bernard Marcelly wrote:

Il faut que le document cible du collage soit en premier plan, ce qui n'est pas le cas pour ton document de dessin. En traitant un document après l'autre on y arriverait. Solution plus générale:

frameDessin = oDocumentDessin.CurrentController.Frame frameWriter = oDocumentTexte.CurrentController.Frame

frameDessin.ContainerWindow.toFront oDispatcher.executeDispatch( frameDessin, ".uno:Paste", "", 0, Array() ) frameWriter.ContainerWindow.toFront oDispatcher.executeDispatch( frameWriter, ".uno:Paste", "", 0, Array() )

Super !

Ca marche...

Merci pour ton aide.

A+ Gilles

Bernard