Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: 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 certificates 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 certificates 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 © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.