6 messages in org.openoffice.fr.prog[prog] Dailog Enregistrer sous
FromSent OnAttachments
JovialSep 30, 2004 1:19 am 
BobSep 30, 2004 4:40 am 
JovialSep 30, 2004 2:02 pm 
Alain NowakOct 1, 2004 5:14 am 
Marie jo KOPP CASTINELOct 1, 2004 9:19 pm 
JovialOct 4, 2004 2:42 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:[prog] Dailog Enregistrer sous Actions...
From:Jovial (luck@free.fr)
Date:Sep 30, 2004 1:19:16 am
List:org.openoffice.fr.prog

Bonjour

J'ouvre la boite dialogue "Enregistrer sous" avec la macro ci-dessous Je voudrai pouvoir spécifier un nom de fichier qui s'incrira par défaut Comment faire ? merci d'avance Jluc :-)

Sub LoadDialogSaveAs

oDoc = ThisComponent

' Get the document's controller. oDocCtrl = oDoc.getCurrentController() ' Get the frame from the controller. oDocFrame = oDocCtrl.getFrame()

oDispatchHelper = createUnoService( "com.sun.star.frame.DispatchHelper" ) oDispatchHelper.executeDispatch( oDocFrame, ".uno:SaveAs", "", 0, Array() ) End Sub