LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XSupportedLocales Interface Referencepublished

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

import"XSupportedLocales.idl";

Inheritance diagram for XSupportedLocales:
XInterface XHyphenator XProofreader XSpellChecker XThesaurus Hyphenator Proofreader SpellChecker Thesaurus

Public Member Functions

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

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
aLocalespecifies 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: