Re: [api - dev] How to change Macro Security Level in program?

2010-01-29 Thread Marc Santhoff
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

Re: [api - dev] How to change Macro Security Level in program?

2010-01-29 Thread Cor Nouws
Marc Santhoff wrote (29-01-10 00:35) I would name this a dangerous security hole. Is it possible to switch it off using a configuration setting? Well, to turn it off with a macro, the user has to accept to run that macro. So I do not understand which hole you mean. Cor -- Your office 2010

Re: [api - dev] How to change Macro Security Level in program?

2010-01-29 Thread Fernand Vanrie
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

Re: [api - dev] How to change Macro Security Level in program?

2010-01-29 Thread Malte Timmermann
Correct - if you choose to run a macro, the macro can do everything the user is privileged to do. Including configuration manipulation and formatting discs and rebooting the system. See http://blogs.sun.com/malte/entry/some_words_about_macro_security Malte. Cor Nouws wrote, On 01/29/10 12:02:

Re: [api - dev] How to change Macro Security Level in program?

2010-01-29 Thread Bernard Marcelly
Hi, The option MacroExecutionMode does not change the security level in OpenOffice.org ! It only defines what to do if the document you are loading contains macros. If you decide to load a document so that macros that exist in the document will run without any warning, that is your

Re: [api - dev] How to change Macro Security Level in program?

2010-01-29 Thread Marc Santhoff
Am Freitag, den 29.01.2010, 12:02 +0100 schrieb Cor Nouws: Marc Santhoff wrote (29-01-10 00:35) I would name this a dangerous security hole. Is it possible to switch it off using a configuration setting? Well, to turn it off with a macro, the user has to accept to run that macro. So I

[api - dev] How to change Macro Security Level in program?

2010-01-28 Thread Lee
Hi, I am using OOo3. I want to change Macro Security Level in program. How to do it? Thanks in advance. Best regards.

Re: [api - dev] How to change Macro Security Level in program?

2010-01-28 Thread 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 =

[api-dev] How to change Macro Security Level in program?

2010-01-28 Thread Lee
Hi, I am using OOo3. I want to change Macro Security Level in program. How to do it? Thanks in advance. Best regards.

[api-dev] Re:Re: [api - dev] How to change Macro Security Level in program?

2010-01-28 Thread Lee
Hi, Fernand It's very useful and helpful for me. Thanks for your quick reply! Lee 在2010-01-28,Fernand Vanrie s...@pmgroup.be 写道: 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