MacroExecMode.idl (34c958ab) MacroExecMode.idl (d7ee2044)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 31 unchanged lines hidden (view full) ---

40 */
41
42 const short NEVER_EXECUTE = 0;
43
44 //-------------------------------------------------------------------------
45 /** Execute macros from secure list quietly.
46
47 <p>
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 31 unchanged lines hidden (view full) ---

40 */
41
42 const short NEVER_EXECUTE = 0;
43
44 //-------------------------------------------------------------------------
45 /** Execute macros from secure list quietly.
46
47 <p>
48 If a macro is not in the list a conformation for it executing will
48 If a macro is not in the list a confirmation for it executing will
49 appear.
50 </p>
51 */
52
53 const short FROM_LIST = 1;
54
55 //-------------------------------------------------------------------------
56 /** Execute any macro, macros signed with trusted sertificates and macros
57 from secure list are executed quietly.
58
59 <p>
49 appear.
50 </p>
51 */
52
53 const short FROM_LIST = 1;
54
55 //-------------------------------------------------------------------------
56 /** Execute any macro, macros signed with trusted sertificates and macros
57 from secure list are executed quietly.
58
59 <p>
60 If the macro is neither in secure list nor signed a conformation
60 If the macro is neither in secure list nor signed a confirmation
61 will be requested.
62 </p>
63 */
64
65 const short ALWAYS_EXECUTE = 2;
66
67 //-------------------------------------------------------------------------
68 /** Use configuration to retrieve macro settings. In case a user
69 confirmation is required a dialog is output.
70 */
71
72 const short USE_CONFIG = 3;
73
74
75 //-------------------------------------------------------------------------
61 will be requested.
62 </p>
63 */
64
65 const short ALWAYS_EXECUTE = 2;
66
67 //-------------------------------------------------------------------------
68 /** Use configuration to retrieve macro settings. In case a user
69 confirmation is required a dialog is output.
70 */
71
72 const short USE_CONFIG = 3;
73
74
75 //-------------------------------------------------------------------------
76 /** A macro should be executed always no conformation should be provided.
76 /** A macro should be executed always no confirmation should be provided.
77 */
78
79 const short ALWAYS_EXECUTE_NO_WARN = 4;
80
81 //-------------------------------------------------------------------------
82 /** Use configuration to retrieve macro settings. Treat cases when user
83 confirmation required as rejected.
84 */

--- 18 unchanged lines hidden (view full) ---

103 trusted certificates.
104
105 <p> If the macro is neither in secure list nor signed it will not be
106 executed.
107 </p>
108
109 <p> If the macro is signed with unknown certificate a warning will
110 appear. The macro either will not be executed or if the warning
77 */
78
79 const short ALWAYS_EXECUTE_NO_WARN = 4;
80
81 //-------------------------------------------------------------------------
82 /** Use configuration to retrieve macro settings. Treat cases when user
83 confirmation required as rejected.
84 */

--- 18 unchanged lines hidden (view full) ---

103 trusted certificates.
104
105 <p> If the macro is neither in secure list nor signed it will not be
106 executed.
107 </p>
108
109 <p> If the macro is signed with unknown certificate a warning will
110 appear. The macro either will not be executed or if the warning
111 allows conformation, it will be executed after user agrees.
111 allows confirmation, it will be executed after user agrees.
112 </p>
113 */
114 const short FROM_LIST_AND_SIGNED_WARN = 8;
115
116 //-------------------------------------------------------------------------
117 /** Execute only macros from secure list or macros that are signed by
112 </p>
113 */
114 const short FROM_LIST_AND_SIGNED_WARN = 8;
115
116 //-------------------------------------------------------------------------
117 /** Execute only macros from secure list or macros that are signed by
118 trusted certificates. No warning/conformation should be shown.
118 trusted certificates. No warning/confirmation should be shown.
119 */
120 const short FROM_LIST_AND_SIGNED_NO_WARN = 9;
121
122};
123
124//=============================================================================
125
126}; }; }; };
127
128#endif
119 */
120 const short FROM_LIST_AND_SIGNED_NO_WARN = 9;
121
122};
123
124//=============================================================================
125
126}; }; }; };
127
128#endif