LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XEventBroadcaster Interface Referencepublished

makes it possible to register listeners which are called whenever a document event (see EventObject) occurs More...

import"XEventBroadcaster.idl";

Inheritance diagram for XEventBroadcaster:
XInterface OfficeDocument XShapeEventBroadcaster XEmbeddedObject GenericDrawingDocument OfficeDatabaseDocument SpreadsheetDocument GenericTextDocument DrawingDocument PresentationDocument GlobalDocument TextDocument WebDocument

Public Member Functions

void addEventListener ([in] XEventListener Listener)
 registers the given listener More...
 
void removeEventListener ([in] XEventListener Listener)
 unregisters the given listener 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

makes it possible to register listeners which are called whenever a document event (see EventObject) occurs

Deprecated:
See also
XDocumentEventBroadcaster
Developers Guide
Office Development - Document Events
Office Development - Component - Models - XEventBroadcaster
Office Development - Using the Desktop

Member Function Documentation

◆ addEventListener()

void addEventListener ( [in] XEventListener  Listener)

registers the given listener

Parameters
Listenerlistener which is interested on such events

◆ removeEventListener()

void removeEventListener ( [in] XEventListener  Listener)

unregisters the given listener

Parameters
Listenerlistener which isn't interested on such events any longer

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