Sophie

Sophie

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

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

<html>
<head>
<title>Service SubmitButton</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="navimain"><a href="SubmitButton-xref.html" class="navimain">Use</a></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">Included Services</td>
<td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td>
<td class="navisub">Properties' Summary</td>
<td class="navisub">Properties' Details</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">form</a> :: <a href="module-ix.html" class="namechain">control</a> :: </p>
</td>
</tr>
<tr>
<td class="title"><table class="title-table" width="99%">
<tr>
<td width="25%" class="title2">unpublished </td>
<td width="50%" class="title">service SubmitButton</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>specifies a button control which can execute external submissions

 </dd>
<dd><p>The model of the control has to support the ::com::sun::star::form::<a href="../component/module-ix.html">component</a>::<a href="../component/SubmitButton.html">SubmitButton</a>
 service.</p>

 <p>The control is clickable. When clicked (by mouse or keyboard, or programmatically),
 the following happens:
 <ol><li>Any ::com::sun::star::form::<a href="../submission/module-ix.html">submission</a>::<a href="../submission/XSubmissionVetoListener.html">XSubmissionVetoListener</a>s registered
 at the component are given the chance to veto the submission.
 </li>
 <li>The model of the control is examined for an external submission object. That is,
 ::com::sun::star::form::<a href="../submission/module-ix.html">submission</a>::<a href="../submission/XSubmissionSupplier.html">XSubmissionSupplier</a>::<a href="../submission/XSubmissionSupplier.html#getSubmission">getSubmission</a>
 is called at the model.<br/>
 If there is such a submission object, its
 ::com::sun::star::form::<a href="../submission/module-ix.html">submission</a>::<a href="../submission/XSubmission.html">XSubmission</a>::<a href="../submission/XSubmission.html#submit">submit</a> method is invoked.
 </li>
 <li>If there is no external submission, the parent object of the model is examined
 for the presence of the ::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../XSubmit.html">XSubmit</a> interface. If it
 is present, it's ::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../XSubmit.html">XSubmit</a>::<a href="../XSubmit.html#submit">submit</a> method is
 invoked.<br/>
 Since the parent object of a submit button can only be a ::com::sun::star::form::<a href="../component/module-ix.html">component</a>::<a href="../component/Form.html">Form</a>,
 this means that <a href="SubmitButton.html">SubmitButton</a>s are also able to submit ::com::sun::star::form::<a href="../component/module-ix.html">component</a>::<a href="../component/HTMLForm.html">HTMLForm</a>s.
 </li>
 </ol>
 </p>
</dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::form::<a href="../submission/module-ix.html">submission</a>::<a href="../submission/XSubmission.html">XSubmission</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>allows interception (and vetoing) of submissions triggered by the control.
 </dd>
</dl>
</td>
</tr>
</table>
<br>&nbsp;<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>