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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]