Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: document ::
constants group MacroExecMode
Description
Specify whether a macro can be executed.
Since
OOo 1.1.2
Constants
NEVER_EXECUTE
A macro should not be executed at all.
FROM_LIST
Execute macros from secure list quietly.
ALWAYS_EXECUTE
Execute any macro, macros signed with trusted sertificates and macros
from secure list are executed quietly.
USE_CONFIG
Use configuration to retrieve macro settings. In case a user
confirmation is required a dialog is output.
ALWAYS_EXECUTE_NO_WARN
A macro should be executed always no conformation should be provided.
USE_CONFIG_REJECT_CONFIRMATION
Use configuration to retrieve macro settings. Treat cases when user
confirmation required as rejected.
USE_CONFIG_APPROVE_CONFIRMATION
Use configuration to retrieve macro settings. Treat cases when user
confirmation required as approved.
FROM_LIST_NO_WARN
Execute only macros from secure list. Macros that are not from the list
are not executed.
FROM_LIST_AND_SIGNED_WARN
Execute only macros from secure list or macros that are signed by
trusted certificates.
FROM_LIST_AND_SIGNED_NO_WARN
Execute only macros from secure list or macros that are signed by
trusted certificates. No warning/conformation should be shown.
Constants' Details
NEVER_EXECUTE
const short NEVER_EXECUTE = 0;
Description
A macro should not be executed at all.
FROM_LIST
const short FROM_LIST = 1;
Description
Execute macros from secure list quietly.
If a macro is not in the list a conformation for it executing will
appear.
ALWAYS_EXECUTE
const short ALWAYS_EXECUTE = 2;
Description
Execute any macro, macros signed with trusted sertificates and macros
from secure list are executed quietly.
If the macro is neither in secure list nor signed a conformation
will be requested.
USE_CONFIG
const short USE_CONFIG = 3;
Description
Use configuration to retrieve macro settings. In case a user
confirmation is required a dialog is output.
ALWAYS_EXECUTE_NO_WARN
const short ALWAYS_EXECUTE_NO_WARN = 4;
Description
A macro should be executed always no conformation should be provided.
USE_CONFIG_REJECT_CONFIRMATION
const short USE_CONFIG_REJECT_CONFIRMATION = 5;
Description
Use configuration to retrieve macro settings. Treat cases when user
confirmation required as rejected.
USE_CONFIG_APPROVE_CONFIRMATION
const short USE_CONFIG_APPROVE_CONFIRMATION = 6;
Description
Use configuration to retrieve macro settings. Treat cases when user
confirmation required as approved.
FROM_LIST_NO_WARN
const short FROM_LIST_NO_WARN = 7;
Description
Execute only macros from secure list. Macros that are not from the list
are not executed.
FROM_LIST_AND_SIGNED_WARN
const short FROM_LIST_AND_SIGNED_WARN = 8;
Description
Execute only macros from secure list or macros that are signed by
trusted certificates.
If the macro is neither in secure list nor signed it will not be
executed.
If the macro is signed with unknown certificate a warning will
appear. The macro either will not be executed or if the warning
allows conformation, it will be executed after user agrees.
FROM_LIST_AND_SIGNED_NO_WARN
const short FROM_LIST_AND_SIGNED_NO_WARN = 9;
Description
Execute only macros from secure list or macros that are signed by
trusted certificates. No warning/conformation should be shown.
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.