LibreOffice
LibreOffice 24.2 SDK API Reference
|
Interface of Reference Resolved Broadcaster. More...
import"XReferenceResolvedBroadcaster.idl";
Public Member Functions | |
void | addReferenceResolvedListener ([in] long referenceId, [in] XReferenceResolvedListener listener) |
Adds a new reference resolved listener for an element collector. More... | |
void | removeReferenceResolvedListener ([in] long referenceId, [in] XReferenceResolvedListener listener) |
Removes a listener from an element collector. 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... | |
Interface of Reference Resolved Broadcaster.
This interface is used to manipulate reference resolved listener.
void addReferenceResolvedListener | ( | [in] long | referenceId, |
[in] XReferenceResolvedListener | listener | ||
) |
Adds a new reference resolved listener for an element collector.
When the element collector has completely collected that element, this listener will receive a notification.
referenceId | the id of the element collector for which the new listener is added |
listener | the listener to be added |
void removeReferenceResolvedListener | ( | [in] long | referenceId, |
[in] XReferenceResolvedListener | listener | ||
) |
Removes a listener from an element collector.
When a listener is removed, it will not receive notification when collection completes.
referenceId | the id of the element collector from which the listener is removed |
listener | the listener to be removed |