LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows for the retrieval of possible meanings for a given word and language. More...
import"XThesaurus.idl";
Public Member Functions | |
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 ) |
Public Member Functions inherited from XSupportedLocales | |
sequence< com::sun::star::lang::Locale > | getLocales () |
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... | |
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.
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 | |
) |
aTerm | the word to query for its meanings. |
aLocale | specifies the language of the word. |
If the language is not supported, an com::sun::star::lang::IllegalArgumentException exception is raised.
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. |