interface XLinguServiceEventBroadcaster in module com::sun::star::linguistic2::

(Global Index)

Syntax

interface XLinguServiceEventBroadcaster : com::sun::star::uno::XInterface ;

Description

is used to register a listener for LinguServiceEvents.

This interface may be used by spellchecker or hyphenator implementations to allow clients to be registered and informed about LinguServiceEvent s.

Note: The LinguServiceManager forwards the LinguServiceEvent s it receives (from spellcheckers or hyphenators) to its own listeners. Thus, there should be no need to register as a listener for a specific implementation./P>

See also

XLinguServiceManager

See also

XLinguServiceEventListener

Method Summary

addLinguServiceEventListener

removeLinguServiceEventListener

Known Services Which Export this Interface

com::sun::star::linguistic2::SpellChecker

com::sun::star::linguistic2::Hyphenator

Method Details



addLinguServiceEventListener

Syntax

boolean addLinguServiceEventListener (
com::sun::star::linguistic2::XLinguServiceEventListener xLstnr );

Description

Returns

true if the listener was successfully added, false otherwise.

Parameter xLstnr

the listener to be addded.

removeLinguServiceEventListener

Syntax

boolean removeLinguServiceEventListener (
com::sun::star::linguistic2::XLinguServiceEventListener xLstnr );

Description

Returns

true if the listener was successfully removed, false otherwise.

Parameter xLstnr

the listener to be removed.
Top of Page