LibreOffice: com/sun/star/document/MacroExecMode.idl Source File

LibreOffice LibreOffice 5.3 SDK API Reference

MacroExecMode.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20 #ifndef __com_sun_star_document_MacroExecMode_idl__
21 #define __com_sun_star_document_MacroExecMode_idl__
22
23
24 module com { module sun { module star { module document {
25
30 published constants MacroExecMode
31 {
35 const short NEVER_EXECUTE = 0;
36
45 const short FROM_LIST = 1;
46
56 const short ALWAYS_EXECUTE = 2;
57
62 const short USE_CONFIG = 3;
63
64
68 const short ALWAYS_EXECUTE_NO_WARN = 4;
69
74 const short USE_CONFIG_REJECT_CONFIRMATION = 5;
75
80 const short USE_CONFIG_APPROVE_CONFIRMATION = 6;
81
85 const short FROM_LIST_NO_WARN = 7;
86
99 const short FROM_LIST_AND_SIGNED_WARN = 8;
100
104 const short FROM_LIST_AND_SIGNED_NO_WARN = 9;
105
106 };
107
108
109 }; }; }; };
110
111 #endif
112
113 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::document::MacroExecMode::ALWAYS_EXECUTE_NO_WARN
const short ALWAYS_EXECUTE_NO_WARN
A macro should be executed always no conformation should be provided.
Definition: MacroExecMode.idl:68
com::sun::star::document::MacroExecMode::ALWAYS_EXECUTE
const short ALWAYS_EXECUTE
Execute any macro, macros signed with trusted certificates and macros from secure list are executed q...
Definition: MacroExecMode.idl:56
com
Definition: Ambiguous.idl:22
com::sun::star::document::MacroExecMode::FROM_LIST_AND_SIGNED_WARN
const short FROM_LIST_AND_SIGNED_WARN
Execute only macros from secure list or macros that are signed by trusted certificates.
Definition: MacroExecMode.idl:99
com::sun::star::document::MacroExecMode::FROM_LIST_NO_WARN
const short FROM_LIST_NO_WARN
Execute only macros from secure list.
Definition: MacroExecMode.idl:85
com::sun::star::document::MacroExecMode::FROM_LIST_AND_SIGNED_NO_WARN
const short FROM_LIST_AND_SIGNED_NO_WARN
Execute only macros from secure list or macros that are signed by trusted certificates.
Definition: MacroExecMode.idl:104
com::sun::star::document::MacroExecMode::USE_CONFIG_REJECT_CONFIRMATION
const short USE_CONFIG_REJECT_CONFIRMATION
Use configuration to retrieve macro settings.
Definition: MacroExecMode.idl:74
com::sun::star::document::MacroExecMode::NEVER_EXECUTE
const short NEVER_EXECUTE
A macro should not be executed at all.
Definition: MacroExecMode.idl:35
com::sun::star::document::MacroExecMode::FROM_LIST
const short FROM_LIST
Execute macros from secure list quietly.
Definition: MacroExecMode.idl:45
com::sun::star::document::MacroExecMode::USE_CONFIG_APPROVE_CONFIRMATION
const short USE_CONFIG_APPROVE_CONFIRMATION
Use configuration to retrieve macro settings.
Definition: MacroExecMode.idl:80
com::sun::star::document::MacroExecMode::USE_CONFIG
const short USE_CONFIG
Use configuration to retrieve macro settings.
Definition: MacroExecMode.idl:62