(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

interface XThesaurus
Base Interfaces
XThesaurusXSupportedLocales

XSupportedLocales
(referenced interface's summary:)
Offers information about which languages are supported by the object.
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

Methods' Summary
queryMeanings  
Methods' Details
queryMeanings
sequence< 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.
Parameter aTerm
the word to query for its meanings.
Parameter aLocale
specifies the language of the word.

If the language is not supported, an ::com::sun::star::lang::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
::com::sun::star::lang::Locale, XMeaning
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.