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 )
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
This interface allows to guess the language of a text.
Definition: XLanguageGuessing.idl:109
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.
sequence< com::sun::star::lang::Locale > getAvailableLanguages()
returns a list of all supported languages.
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
void disableLanguages([in] sequence< com::sun::star::lang::Locale > aLanguages)
allows to explicitly discard some languages from the set of languages possibly returned.
void enableLanguages([in] sequence< com::sun::star::lang::Locale > aLanguages)
allows to explicitly re-enable some languages that got previously disabled.
Definition: Ambiguous.idl:22
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:38