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

(Global Index)

Syntax

interface XThesaurus : com::sun::star::linguistic2::XSupportedLocales ;

Description

allows for the retrieval of possible meanings for a given word and language.

The meaning of a word is in essence a descriptive text for that word. Each meaning may have several synonyms where a synonym is a word (or small text) with the same or similar meaning.

See also

XSupportedLocales

Method Summary

queryMeanings

Known Services Which Export this Interface

com::sun::star::linguistic2::Thesaurus

Method Details



queryMeanings

Syntax

sequence< com::sun::star::linguistic2::XMeaning > queryMeanings (
string aTerm,
com::sun::star::lang::Locale aLocale,
com::sun::star::beans::PropertyValues aProperties )
raises ( com::sun::star::lang::IllegalArgumentException );

Description

Returns

a list of meanings for the given word and language.

Parameter aTerm

the word to query for its meanings.

Parameter aLocale

specifies the language of the word.

If the language is not supported, an IllegalArgumentException exception is raised.

Parameter aProperties

provides property values to be used for this function call only. It is usually empty in order to use the default values supplied with the property set.

See also

Locale

See also

XMeaning
Top of Page