LibreOffice: XSupportedLocales Interface Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
XSupportedLocales Interface Referencepublished

Offers information about which languages are supported by the object. More...

`import "XSupportedLocales.idl";`

Inheritance diagram for XSupportedLocales:

## Public Member Functions
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.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## Detailed Description

Offers information about which languages are supported by the object.

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

See also
  com::sun::star::lang::Locale
  com::sun::star::uno::XInterface

## Member Function Documentation

## ◆ getLocales()

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

Returns
  the sequence of all supported languages.

## ◆ hasLocale()

boolean hasLocale | ( | [in] com::sun::star::lang::Locale | aLocale | ) |

Parameters

  aLocale | specifies the language being checked for support by the object.

Returns
  TRUE if the language is supported, otherwise FALSE.

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

- com/sun/star/linguistic2/XSupportedLocales.idl