|
LibreOffice
LibreOffice 5.3 SDK API Reference
|
allows searching for an entry in all dictionaries of the dictionary-list. More...
import"XSearchableDictionaryList.idl";
Public Member Functions | |
| com::sun::star::linguistic2::XDictionaryEntry | queryDictionaryEntry ([in] string aWord, [in] com::sun::star::lang::Locale aLocale, [in] boolean bSearchPosDics, [in] boolean bSpellEntry) |
| looks for an entry for a given word in the list of dictionaries. More... | |
Public Member Functions inherited from XDictionaryList | |
| short | getCount () |
| sequence< com::sun::star::linguistic2::XDictionary > | getDictionaries () |
| com::sun::star::linguistic2::XDictionary | getDictionaryByName ([in] string aDictionaryName) |
| searches the list for a dictionary with a given name. More... | |
| boolean | addDictionary ([in] com::sun::star::linguistic2::XDictionary xDictionary) |
| adds a dictionary to the list. More... | |
| boolean | removeDictionary ([in] com::sun::star::linguistic2::XDictionary xDictionary) |
| removes a single dictionary from the list. More... | |
| boolean | addDictionaryListEventListener ([in] com::sun::star::linguistic2::XDictionaryListEventListener xListener, [in] boolean bReceiveVerbose) |
| adds an entry to the list of dictionary-list event listeners. More... | |
| boolean | removeDictionaryListEventListener ([in] com::sun::star::linguistic2::XDictionaryListEventListener xListener) |
| removes an entry from the list of dictionary-list event listeners. More... | |
| short | beginCollectEvents () |
| increases request level for event buffering by one. More... | |
| short | endCollectEvents () |
| flushes the event buffer and decreases the request level for event buffering by one. More... | |
| short | flushEvents () |
| notifies the listeners of all buffered events and then clears that buffer. More... | |
| com::sun::star::linguistic2::XDictionary | createDictionary ([in] string aName, [in] com::sun::star::lang::Locale aLocale, [in] com::sun::star::linguistic2::DictionaryType eDicType, [in] string aURL) |
| creates a new dictionary. More... | |
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... | |
allows searching for an entry in all dictionaries of the dictionary-list.
Only active dictionaries of a suitable language will be searched for the entry. The language is suitable if it is the same as the dictionary's language or the dictionary may hold entries of all languages.
| com::sun::star::linguistic2::XDictionaryEntry queryDictionaryEntry | ( | [in] string | aWord, |
| [in] com::sun::star::lang::Locale | aLocale, | ||
| [in] boolean | bSearchPosDics, | ||
| [in] boolean | bSpellEntry | ||
| ) |
looks for an entry for a given word in the list of dictionaries.
NULL otherwise.| aWord | the word (entry) to be looked for. |
| aLocale | the language of the word to be looked for. |
| bSearchPosDics | TRUE if only positive dictionaries should be searched. FALSE if only negative dictionaries should be searched. |
| bSpellEntry | TRUE if entries for purposes of spell checking are required. FALSE if only entries for hyphenation purposes are required. |
1.8.13