Hi Mikhail,
thanks for your explanation, that helped,
Regards
Peter
Mikhail Voitenko schrieb:
Hi Peter,
On 02/17/09 11:48, Peter Eberlein wrote:
MacroExecutionMode is not set. Beside that, I think that this was only
designed for macros "OnNew", "OnOpen", not for Macros generally.
MacroExecutionMode argument affects all the macros contained in the
document loaded with the loadComponentFromURL() call that gets the
argument. Thus in your case no macros from the document is allowed to be
executed, and in case the document contains macros a dialog should be
shown on loading.
Of course, to be able to show the dialog the loadComponentFromURL()
should get the correct InteractionHanler argument in the MediaDescriptor.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@framework.openoffice.org
For additional commands, e-mail: dev-h...@framework.openoffice.org