LibreOffice
LibreOffice 6.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 XEmbeddedObject XGlobalEventBroadcaster GenericDrawingDocument OfficeDatabaseDocument SpreadsheetDocument GenericTextDocument GlobalEventBroadcaster theGlobalEventBroadcaster 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
OfficeDev - Document Events
OfficeDev - Component - Models - XEventBroadcaster
OfficeDev - Using the Desktop

Member Function Documentation

void addEventListener ( [in] XEventListener  Listener)

registers the given listener

Parameters
Listenerlistener which is interested on such events
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: