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

is implemented by components which support submitting data. More...

import"XSubmission.idl";

Inheritance diagram for XSubmission:
XInterface SubmitButton XSubmission

Public Member Functions

void submit () raises ( com::sun::star::util::VetoException, com::sun::star::lang::WrappedTargetException )
 tells the component to submit data More...
 
void submitWithInteraction ([in] com::sun::star::task::XInteractionHandler aHandler) raises ( com::sun::star::util::VetoException, com::sun::star::lang::WrappedTargetException )
 tells the component to submit data More...
 
void addSubmissionVetoListener ([in] XSubmissionVetoListener listener) raises ( com::sun::star::lang::NoSupportException )
 registers the given listener to be notified when a submission occurs More...
 
void removeSubmissionVetoListener ([in] XSubmissionVetoListener listener) raises ( com::sun::star::lang::NoSupportException )
 revokes a listener which has previously been registered to be notified when a submission occurs 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

is implemented by components which support submitting data.

Member Function Documentation

◆ addSubmissionVetoListener()

void addSubmissionVetoListener ( [in] XSubmissionVetoListener  listener)
raises (com::sun::star::lang::NoSupportException
)

registers the given listener to be notified when a submission occurs

Parameters
listenerthe listener to register
Exceptions
com::sun::star::lang::NoSupportExceptionwhen the component does not support external components vetoing the submission

◆ removeSubmissionVetoListener()

void removeSubmissionVetoListener ( [in] XSubmissionVetoListener  listener)
raises (com::sun::star::lang::NoSupportException
)

revokes a listener which has previously been registered to be notified when a submission occurs

Parameters
listenerthe listener to revoke
Exceptions
com::sun::star::lang::NoSupportExceptionwhen the component does not support external components vetoing the submission

◆ submit()

tells the component to submit data

Exceptions
com::sun::star::util::VetoExceptionif the submission has been vetoed. Usually, this indicates that not all requirements for the submission, e.g. data consistency, are fulfilled.
com::sun::star::lang::WrappedTargetExceptionif an error occurred during invoking the submission target

◆ submitWithInteraction()

tells the component to submit data

Parameters
aHandlerThis handler allows additional user interaction, which may be necessary before the submission can be performed.
Exceptions
com::sun::star::util::VetoExceptionif the submission has been vetoed. Usually, this indicates that not all requirements for the submission, e.g. data consistency, are fulfilled.
com::sun::star::lang::WrappedTargetExceptionif an error occurred during invoking the submission target

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