Hi Mikhail,
Mikhail Voitenko schrieb:
Hi Peter,
Please check the arguments that are sent to loadComponentFromURL() call.
Is there MacroExecutionMode argument? If yes, which value is set to the
argument?
In general if no MacroExecutionMode is provided to the
loadComponentFromURL() call, no macro should be executed. The absence of
this argument lets the default value NEVER_EXECUTE be used.
MacroExecutionMode is not set. Beside that, I think that this was only
designed for macros "OnNew", "OnOpen", not for Macros generally.
So macros triggered by form elements are not affected, I think.
Regards Peter
On 02/17/09 10:28, Peter Eberlein wrote:
Hi,
We've set the security level to the highest value (3) in common.xcu.
Nevertheless there ain't a warning message appearing.
All macros can be executed.
The reason for this seems to be the localization of the documents.
They are stored in a database and loadComponentfromURL() has an
XInputStream as parameter.
Any hints how to prohibit the execution of macros?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@framework.openoffice.org
For additional commands, e-mail: dev-h...@framework.openoffice.org