LibreOffice
LibreOffice 24.2 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 
21 module com { module sun { module star { module document {
22 
27 published constants MacroExecMode
28 {
32  const short NEVER_EXECUTE = 0;
33 
42  const short FROM_LIST = 1;
43 
53  const short ALWAYS_EXECUTE = 2;
54 
59  const short USE_CONFIG = 3;
60 
61 
65  const short ALWAYS_EXECUTE_NO_WARN = 4;
66 
72 
78 
82  const short FROM_LIST_NO_WARN = 7;
83 
97  const short FROM_LIST_AND_SIGNED_WARN = 8;
98 
103 
104 };
105 
106 
107 }; }; }; };
108 
109 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short ALWAYS_EXECUTE_NO_WARN
A macro should be executed always no confirmation should be provided.
Definition: MacroExecMode.idl:65
const short ALWAYS_EXECUTE
Execute any macro, macros signed with trusted certificates and macros from secure list are executed q...
Definition: MacroExecMode.idl:53
Definition: Ambiguous.idl:20
const short FROM_LIST_AND_SIGNED_WARN
Execute only macros from secure list or macros that are signed by trusted certificates.
Definition: MacroExecMode.idl:97
const short FROM_LIST_NO_WARN
Execute only macros from secure list.
Definition: MacroExecMode.idl:82
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:102
const short USE_CONFIG_REJECT_CONFIRMATION
Use configuration to retrieve macro settings.
Definition: MacroExecMode.idl:71
const short NEVER_EXECUTE
A macro should not be executed at all.
Definition: MacroExecMode.idl:32
const short FROM_LIST
Execute macros from secure list quietly.
Definition: MacroExecMode.idl:42
const short USE_CONFIG_APPROVE_CONFIRMATION
Use configuration to retrieve macro settings.
Definition: MacroExecMode.idl:77
const short USE_CONFIG
Use configuration to retrieve macro settings.
Definition: MacroExecMode.idl:59