interface XSubmit in module com::sun::star::form::

(Global Index)

Syntax

interface XSubmit : com::sun::star::uno::XInterface ;

Description

provides functionality to submit a component. This is used in common by forms.

When a form is submitted, the data contained in the form is sent to the target URL as a series of name/value pairs. The name portion of each pair is the name of a form component as specified by its NAME attribute. In most cases the value portion is the value displayed by the element, for example, the text displayed in a text field.

Method Summary

submit submits the component to a specified target.

addSubmitListener adds the specified listener to receive the "approveSubmit" event.

removeSubmitListener removes the specified listener.

Known Services Which Export this Interface

com::sun::star::form::component::HTMLForm

Method Details



submit

Syntax

oneway void submit (
com::sun::star::awt::XControl aControl,
com::sun::star::awt::MouseEvent aMouseEvt );

Description

submits the component to a specified target.

Parameter aControl

the control to be submitted.

Parameter aMouseEvt

the event happend.

See also

MouseEvent

addSubmitListener

Syntax

oneway void addSubmitListener (
com::sun::star::form::XSubmitListener aListener );

Description

adds the specified listener to receive the "approveSubmit" event.

Parameter aListener

the listener to add.

See also

XSubmitListener

removeSubmitListener

Syntax

oneway void removeSubmitListener (
com::sun::star::form::XSubmitListener aListener );

Description

removes the specified listener.

Parameter aListener

the listener to remove.

See also

XSubmitListener
Top of Page