LibreOffice: XEventListener Interface Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
XEventListener Interface Referencepublished

base interface for all event listeners interfaces. More...

`import "XEventListener.idl";`

Inheritance diagram for XEventListener:

## Public Member Functions
void | disposing ([in] com::sun::star::lang::EventObject Source)
| gets called when the broadcaster is about to be disposed.
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## Detailed Description

base interface for all event listeners interfaces.

Developers Guide
  Professional UNO - Event Model
  Professional UNO - Bridge - Automation Objects with UNO Interfaces
  Professional UNO - Basic - Listeners

## Member Function Documentation

## ◆ disposing()

void disposing | ( | [in] com::sun::star::lang::EventObject | Source | ) |

gets called when the broadcaster is about to be disposed.

All listeners and all other objects, which reference the broadcaster should release the reference to the source. No method should be invoked anymore on this object ( including XComponent::removeEventListener() ).

This method is called for every listener registration of derived listener interfaced, not only for registrations at XComponent.

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

- com/sun/star/lang/XEventListener.idl