Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: document ::
constants group MacroExecMode
Description Specify whether a macro can be executed. Since version OpenOffice.org 1.1.1

Constants
NEVER_EXECUTE | A macro should not be executed at all
FROM_LIST | Execute macros from list, posibility of warning output is specified by configuration.
ALWAYS_EXECUTE | A macro should be executed always, posibility of warning output is specified by configuration.
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 warning should be produced.
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. Mean cases when user confirmation required as approved.

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 list, posibility of warning output is specified by configuration.
ALWAYS_EXECUTE
const short ALWAYS_EXECUTE = 2; Description A macro should be executed always, posibility of warning output is specified by configuration.
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 warning should be produced.
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. Mean cases when user confirmation required as approved.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.