LibreOffice
LibreOffice 6.4 SDK API Reference
Public Member Functions | List of all members
XThesaurus Interface Referencepublished

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

import"XThesaurus.idl";

Inheritance diagram for XThesaurus:
XSupportedLocales XInterface Thesaurus

Public Member Functions

sequence< com::sun::star::linguistic2::XMeaningqueryMeanings ([in] string aTerm, [in] com::sun::star::lang::Locale aLocale, [in] com::sun::star::beans::PropertyValues aProperties) raises ( com::sun::star::lang::IllegalArgumentException )
 
- Public Member Functions inherited from XSupportedLocales
sequence< com::sun::star::lang::LocalegetLocales ()
 
boolean hasLocale ([in] com::sun::star::lang::Locale aLocale)
 
- 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

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
com::sun::star::linguistic2::XSupportedLocales

Member Function Documentation

◆ queryMeanings()

sequence< com::sun::star::linguistic2::XMeaning > queryMeanings ( [in] string  aTerm,
[in] com::sun::star::lang::Locale  aLocale,
[in] com::sun::star::beans::PropertyValues  aProperties 
)
raises (com::sun::star::lang::IllegalArgumentException
)
Returns
a list of meanings for the given word and language.
Parameters
aTermthe word to query for its meanings.
aLocalespecifies the language of the word.

If the language is not supported, an com::sun::star::lang::IllegalArgumentException exception is raised.

Parameters
aPropertiesprovides 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
com::sun::star::lang::Locale
com::sun::star::linguistic2::XMeaning

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