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

(Global Index)

Syntax

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

Description

Offers information about which languages are supported by the object.

This interface has to be implemented by SpellChecker , Hyphenator and Thesaurus implementations in order to be queried for the languages they can use.

See also

Locale

See also

XInterface

Method Summary

getLocales

hasLocale

Method Details



getLocales

Syntax

sequence< com::sun::star::lang::Locale > getLocales ();

Description

Returns

the sequence of all supported languages.

See also

Locale

hasLocale

Syntax

boolean hasLocale (
com::sun::star::lang::Locale aLocale );

Description

Parameter aLocale

specifies the language being checked for support by the object.

Returns

true if the language is supported, otherwise false .

See also

Locale
Top of Page