LibreOffice
LibreOffice 7.4 SDK API Reference
|
is implemented by components which support submitting data. More...
import"XSubmission.idl";
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... | |
is implemented by components which support submitting data.
void addSubmissionVetoListener | ( | [in] XSubmissionVetoListener | listener | ) | |
raises | ( | com::sun::star::lang::NoSupportException | |||
) |
registers the given listener to be notified when a submission occurs
listener | the listener to register |
com::sun::star::lang::NoSupportException | when the component does not support external components vetoing the submission |
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
listener | the listener to revoke |
com::sun::star::lang::NoSupportException | when the component does not support external components vetoing the submission |
void submit | ( | ) | ||
raises | ( | com::sun::star::util::VetoException, | ||
com::sun::star::lang::WrappedTargetException | ||||
) |
tells the component to submit data
com::sun::star::util::VetoException | if 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::WrappedTargetException | if an error occurred during invoking the submission target |
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
aHandler | This handler allows additional user interaction, which may be necessary before the submission can be performed. |
com::sun::star::util::VetoException | if 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::WrappedTargetException | if an error occurred during invoking the submission target |