Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.3 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.