Marc ,

You sayed: "dangerous security hole ?"

Every user can do exactly the same with the GUI no ?

greetz

Fernand



Am Donnerstag, den 28.01.2010, 10:29 +0100 schrieb Fernand Vanrie:
Lee ,

Security is part of the Document settings

so i use in basic by openiong the document:

Dim mFileProperties(0) As New com.sun.star.beans.PropertyValue

mFileProperties(0).Name="MacroExecutionMode"
mFileProperties(0).Value=4 ' see documentations for more value's

oDocument = StarDesktop.LoadComponentFromURL(ConvertToURL(filepath), "_blank", 0, mFileProperties())

hope it helps

I would name this a dangerous security hole. Is it possible to switch it
off using a configuration setting?

Marc



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to