LibreOffice
LibreOffice 25.8 SDK API Reference
|
is used to register a listener for LinguServiceEvents. More...
import "XLinguServiceEventBroadcaster.idl";
Public Member Functions | |
boolean | addLinguServiceEventListener ([in] com::sun::star::linguistic2::XLinguServiceEventListener xLstnr) |
boolean | removeLinguServiceEventListener ([in] com::sun::star::linguistic2::XLinguServiceEventListener xLstnr) |
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. |
is used to register a listener for LinguServiceEvents.
This interface may be used by spell checker or hyphenator implementations to allow clients to be registered and informed about com::sun::star::linguistic2::LinguServiceEvents.
Note: The LinguServiceManager forwards the com::sun::star::linguistic2::LinguServiceEvents it receives (from spell checkers or hyphenators) to its own listeners. Thus, there should be no need to register as a listener for a specific implementation./P>
boolean addLinguServiceEventListener | ( | [in] com::sun::star::linguistic2::XLinguServiceEventListener | xLstnr | ) |
xLstnr | the listener to be added. |
boolean removeLinguServiceEventListener | ( | [in] com::sun::star::linguistic2::XLinguServiceEventListener | xLstnr | ) |
xLstnr | the listener to be removed. |