LibreOffice
LibreOffice 6.4 SDK API Reference
|
Go to the documentation of this file.
20 #ifndef __com_sun_star_linguistic2_XLanguageGuessing_idl__
21 #define __com_sun_star_linguistic2_XLanguageGuessing_idl__
27 module
com { module sun { module star { module linguistic2 {
153 [in] sequence< com::sun::star::lang::Locale > aLanguages )
162 [in] sequence< com::sun::star::lang::Locale > aLanguages )
sequence< com::sun::star::lang::Locale > getAvailableLanguages()
returns a list of all supported languages.
void disableLanguages([in] sequence< com::sun::star::lang::Locale > aLanguages)
allows to explicitly discard some languages from the set of languages possibly returned.
sequence< com::sun::star::lang::Locale > getDisabledLanguages()
returns the list of all disabled languages
sequence< com::sun::star::lang::Locale > getEnabledLanguages()
returns the list of all enabled languages
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:48
Definition: Ambiguous.idl:22
This interface allows to guess the language of a text.
Definition: XLanguageGuessing.idl:109
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
com::sun::star::lang::Locale guessPrimaryLanguage([in] string aText, [in] long nStartPos, [in] long nLen)
determines the single most probable language of a sub-string.
void enableLanguages([in] sequence< com::sun::star::lang::Locale > aLanguages)
allows to explicitly re-enable some languages that got previously disabled.