:: com :: sun :: star :: form :: control ::
|
unpublished |
service SubmitButton |
|
|
- Usage Restrictions
- not published
- Description
- specifies a button control which can execute external submissions
The model of the control has to support the ::com::sun::star::form::component::SubmitButton
service.
The control is clickable. When clicked (by mouse or keyboard, or programmatically),
the following happens:
- Any ::com::sun::star::form::submission::XSubmissionVetoListeners registered
at the component are given the chance to veto the submission.
- The model of the control is examined for an external submission object. That is,
::com::sun::star::form::submission::XSubmissionSupplier::getSubmission
is called at the model.
If there is such a submission object, its
::com::sun::star::form::submission::XSubmission::submit method is invoked.
- If there is no external submission, the parent object of the model is examined
for the presence of the ::com::sun::star::form::XSubmit interface. If it
is present, it's ::com::sun::star::form::XSubmit::submit method is
invoked.
Since the parent object of a submit button can only be a ::com::sun::star::form::component::Form,
this means that SubmitButtons are also able to submit ::com::sun::star::form::component::HTMLForms.
|
Exported Interfaces - Summary |
::com::sun::star::form::submission::XSubmission |
allows interception (and vetoing) of submissions triggered by the control.
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.