Hi Jo,
it's not clear to me what your goal is, can you be a bit more specific
so that people can more easily help you find a solution?
2006/6/3, Jo <[EMAIL PROTECTED]>:
Hi,
I created the following with Record Macro to record all changes made to
a document. I was wondering if there would be a cleaner way to
accomplish this. (i.e. without dispatcher)
Sub AcceptTrackedChanges
dim document as object
dim dispatcher as object
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dispatcher.executeDispatch(document, ".uno:AcceptTrackedChanges", "",
0, Array())
End Sub
Kind regards,
Jo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Best Regards
Christian Junker
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]