LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XSubmit Interface Referencepublished

provides functionality to submit data from a component. More...

import"XSubmit.idl";

Inheritance diagram for XSubmit:
XInterface HTMLForm

Public Member Functions

void submit ([in] com::sun::star::awt::XControl aControl, [in] com::sun::star::awt::MouseEvent aMouseEvt)
 submits the component's data to a specified target. More...
 
void addSubmitListener ([in] com::sun::star::form::XSubmitListener aListener)
 adds the specified listener to receive the "approveSubmit" event. More...
 
void removeSubmitListener ([in] com::sun::star::form::XSubmitListener aListener)
 removes the specified listener. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

provides functionality to submit data from a component.

Usually, this is used by com::sun::star::form::component::HTMLForms.

See the HTML specification to learn about submitting forms.

Member Function Documentation

◆ addSubmitListener()

void addSubmitListener ( [in] com::sun::star::form::XSubmitListener  aListener)

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

Parameters
aListenerthe listener to add.
See also
com::sun::star::form::XSubmitListener

◆ removeSubmitListener()

void removeSubmitListener ( [in] com::sun::star::form::XSubmitListener  aListener)

removes the specified listener.

Parameters
aListenerthe listener to remove.
See also
com::sun::star::form::XSubmitListener

◆ submit()

void submit ( [in] com::sun::star::awt::XControl  aControl,
[in] com::sun::star::awt::MouseEvent  aMouseEvt 
)

submits the component's data to a specified target.

Parameters
aControlthe control whose data is to be submitted
aMouseEvtthe event which triggered the submit, if it was a mouse event
See also
com::sun::star::awt::MouseEvent

The documentation for this interface was generated from the following file: