|
LibreOfficeDev
LibreOfficeDev 25.8 SDK API Reference
|
used to listen on objects which allow updating their data. More...
import"XUpdateListener.idl";
Public Member Functions | |
| boolean | approveUpdate ([in] com::sun::star::lang::EventObject aEvent) |
| is invoked to check the current data. More... | |
| void | updated ([in] com::sun::star::lang::EventObject aEvent) |
| is invoked when an object has finished processing the updates and the data has been successfully written. More... | |
Public Member Functions inherited from XEventListener | |
| void | disposing ([in] com::sun::star::lang::EventObject Source) |
| gets called when the broadcaster is about to be disposed. 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... | |
used to listen on objects which allow updating their data.
In addition to just get notified when a data update happened, the listener has a chance to veto updates before they happen.
| boolean approveUpdate | ( | [in] com::sun::star::lang::EventObject | aEvent | ) |
is invoked to check the current data.
For a given update process, if one of the XUpdateListeners vetoes the change, the update is canceled, and no further notification happens.
| aEvent | An event descriptor specifying the broadcaster of the change. |
TRUE when the update was approved, otherwise FALSE. | void updated | ( | [in] com::sun::star::lang::EventObject | aEvent | ) |
is invoked when an object has finished processing the updates and the data has been successfully written.
| aEvent | A event descriptor specifying the broadcaster of the change. |
1.8.14