Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 2376

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>Constants' Group MacroExecMode</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimainnone">Use</td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#Constants" class="navisub">Constants</a></td>
<td class="navisub"><a href="#ConstantDetails" class="navisub">Constants' Details</a></td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">document</a> :: </p>
</td>
</tr>
<tr>
<td class="title">constants group MacroExecMode</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>Specify whether a macro can be executed.

 </dd>
<dt><b>Since </b></dt>
<dd>OpenOffice 1.1.2</dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="Constants"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Constants</td>
</tr>
<tr>
<td class="imsum_left"><a href="#NEVER_EXECUTE">NEVER_EXECUTE</a></td>
<td class="imsum_right">A macro should not be executed at all.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#FROM_LIST">FROM_LIST</a></td>
<td class="imsum_right">Execute macros from secure list quietly.
 
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#ALWAYS_EXECUTE">ALWAYS_EXECUTE</a></td>
<td class="imsum_right">Execute any macro, macros signed with trusted sertificates and macros
 from secure list are executed quietly.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#USE_CONFIG">USE_CONFIG</a></td>
<td class="imsum_right">Use configuration to retrieve macro settings. In case a user
 confirmation is required a dialog is output.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#ALWAYS_EXECUTE_NO_WARN">ALWAYS_EXECUTE_NO_WARN</a></td>
<td class="imsum_right">A macro should be executed always no conformation should be provided.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#USE_CONFIG_REJECT_CONFIRMATION">USE_CONFIG_REJECT_CONFIRMATION</a></td>
<td class="imsum_right">Use configuration to retrieve macro settings. Treat cases when user
 confirmation required as rejected.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#USE_CONFIG_APPROVE_CONFIRMATION">USE_CONFIG_APPROVE_CONFIRMATION</a></td>
<td class="imsum_right">Use configuration to retrieve macro settings. Treat cases when user
 confirmation required as approved.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#FROM_LIST_NO_WARN">FROM_LIST_NO_WARN</a></td>
<td class="imsum_right">Execute only macros from secure list. Macros that are not from the list
 are not executed.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#FROM_LIST_AND_SIGNED_WARN">FROM_LIST_AND_SIGNED_WARN</a></td>
<td class="imsum_right">Execute only macros from secure list or macros that are signed by
 trusted certificates.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#FROM_LIST_AND_SIGNED_NO_WARN">FROM_LIST_AND_SIGNED_NO_WARN</a></td>
<td class="imsum_right">Execute only macros from secure list or macros that are signed by
 trusted certificates. No warning/conformation should be shown.
 &nbsp;</td>
</tr>
</table>
<a name="ConstantDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Constants' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="NEVER_EXECUTE" class="membertitle">NEVER_EXECUTE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>NEVER_EXECUTE</b> = 0;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>A macro should not be executed at all.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="FROM_LIST" class="membertitle">FROM_LIST</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>FROM_LIST</b> = 1;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Execute macros from secure list quietly.
 
 </dd>
<dd><p>
 If a macro is not in the list a conformation for it executing will
 appear.
 </p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="ALWAYS_EXECUTE" class="membertitle">ALWAYS_EXECUTE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>ALWAYS_EXECUTE</b> = 2;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Execute any macro, macros signed with trusted sertificates and macros
 from secure list are executed quietly.

 </dd>
<dd><p>
 If the macro is neither in secure list nor signed a conformation
 will be requested.
 </p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="USE_CONFIG" class="membertitle">USE_CONFIG</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>USE_CONFIG</b> = 3;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Use configuration to retrieve macro settings. In case a user
 confirmation is required a dialog is output.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="ALWAYS_EXECUTE_NO_WARN" class="membertitle">ALWAYS_EXECUTE_NO_WARN</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>ALWAYS_EXECUTE_NO_WARN</b> = 4;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>A macro should be executed always no conformation should be provided.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="USE_CONFIG_REJECT_CONFIRMATION" class="membertitle">USE_CONFIG_REJECT_CONFIRMATION</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>USE_CONFIG_REJECT_CONFIRMATION</b> = 5;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Use configuration to retrieve macro settings. Treat cases when user
 confirmation required as rejected.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="USE_CONFIG_APPROVE_CONFIRMATION" class="membertitle">USE_CONFIG_APPROVE_CONFIRMATION</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>USE_CONFIG_APPROVE_CONFIRMATION</b> = 6;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Use configuration to retrieve macro settings. Treat cases when user
 confirmation required as approved.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="FROM_LIST_NO_WARN" class="membertitle">FROM_LIST_NO_WARN</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>FROM_LIST_NO_WARN</b> = 7;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Execute only macros from secure list. Macros that are not from the list
 are not executed.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="FROM_LIST_AND_SIGNED_WARN" class="membertitle">FROM_LIST_AND_SIGNED_WARN</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>FROM_LIST_AND_SIGNED_WARN</b> = 8;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Execute only macros from secure list or macros that are signed by
 trusted certificates.

 </dd>
<dd><p> If the macro is neither in secure list nor signed it will not be
 executed.
 </p>

 <p> 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.
 </p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="FROM_LIST_AND_SIGNED_NO_WARN" class="membertitle">FROM_LIST_AND_SIGNED_NO_WARN</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>FROM_LIST_AND_SIGNED_NO_WARN</b> = 9;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Execute only macros from secure list or macros that are signed by
 trusted certificates. No warning/conformation should be shown.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2008 Sun Microsystems, Inc.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>