LibreOffice
LibreOffice 26.2 SDK API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
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
{
31
32
const
short
NEVER_EXECUTE
= 0;
33
41
42
const
short
FROM_LIST
= 1;
43
52
53
const
short
ALWAYS_EXECUTE
= 2;
54
58
59
const
short
USE_CONFIG
= 3;
60
61
64
65
const
short
ALWAYS_EXECUTE_NO_WARN
= 4;
66
70
71
const
short
USE_CONFIG_REJECT_CONFIRMATION
= 5;
72
76
77
const
short
USE_CONFIG_APPROVE_CONFIRMATION
= 6;
78
82
const
short
FROM_LIST_NO_WARN
= 7;
83
97
const
short
FROM_LIST_AND_SIGNED_WARN
= 8;
98
102
const
short
FROM_LIST_AND_SIGNED_NO_WARN
= 9;
103
104
};
105
106
107
}; }; }; };
108
109
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::document::MacroExecMode
Specify whether a macro can be executed.
Definition
MacroExecMode.idl:28
com::sun::star::document::MacroExecMode::USE_CONFIG
const short USE_CONFIG
Use configuration to retrieve macro settings.
Definition
MacroExecMode.idl:59
com::sun::star::document::MacroExecMode::FROM_LIST
const short FROM_LIST
Execute macros from secure list quietly.
Definition
MacroExecMode.idl:42
com::sun::star::document::MacroExecMode::USE_CONFIG_REJECT_CONFIRMATION
const short USE_CONFIG_REJECT_CONFIRMATION
Use configuration to retrieve macro settings.
Definition
MacroExecMode.idl:71
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:53
com::sun::star::document::MacroExecMode::ALWAYS_EXECUTE_NO_WARN
const short ALWAYS_EXECUTE_NO_WARN
A macro should be executed always no confirmation should be provided.
Definition
MacroExecMode.idl:65
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:97
com::sun::star::document::MacroExecMode::FROM_LIST_NO_WARN
const short FROM_LIST_NO_WARN
Execute only macros from secure list.
Definition
MacroExecMode.idl:82
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:102
com::sun::star::document::MacroExecMode::USE_CONFIG_APPROVE_CONFIRMATION
const short USE_CONFIG_APPROVE_CONFIRMATION
Use configuration to retrieve macro settings.
Definition
MacroExecMode.idl:77
com::sun::star::document::MacroExecMode::NEVER_EXECUTE
const short NEVER_EXECUTE
A macro should not be executed at all.
Definition
MacroExecMode.idl:32
com
Definition
Ambiguous.idl:20
com
sun
star
document
MacroExecMode.idl
Generated by
1.17.0