SergeM told me to uses the dispatcher for caling the "MailMerge" or the "Form Letter" dialogs.

so i found code like :
Sub Main
      oDoc = ThisComponent
      oDocCtrl = oDoc.getCurrentController()
      oDocFrame = oDocCtrl.getFrame()
oDispatchHelper = createUnoService( "com.sun.star.frame.DispatchHelper" )
   oDispatchHelper.executeDispatch( oDocFrame, ".uno:print", "", 0, Array() )
End Sub
for calling the "print" dialog

I tryed .uno:MailMerge and .uno:FormLetter to call the dialog for MailMarge printing but no luck The Macro recorder don't record this call's, so where can i find a list of all the existing .uno url's ?

Thanks again



At 11:12 14/12/05, you wrote:
Everyone should know that the Mail Merge Wizard is usseless for complex task and page layouts. Happly we have still the famous "Letter Form question" on printing from File> print. Problems is when the user had said that he not wonts to see this option again than he is forever in problems to uses Leter Form printing:
so:
- how can we undo this never again thing with a macro using the API ?
- can we call the "Form Letter printing option" with a macro using the API?

thanks for any hints

Fernand

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to