interface XSearchableDictionaryList in module com::sun::star::linguistic2::

(Global Index)

Syntax

interface XSearchableDictionaryList : com::sun::star::linguistic2::XDictionaryList ;

Description

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 langauges.

See also

XDictionaryList

Method Summary

queryDictionaryEntry looks for an entry for a given word in the list of dictionaries.

Known Services Which Export this Interface

com::sun::star::linguistic2::DictionaryList

Method Details



queryDictionaryEntry

Syntax

com::sun::star::linguistic2::XDictionaryEntry queryDictionaryEntry (
string aWord,
com::sun::star::lang::Locale aLocale,
boolean bSearchPosDics,
boolean bSpellEntry );

Description

looks for an entry for a given word in the list of dictionaries.

Returns

the dictionary entry that was found, NULL otherwise.

Parameter aWord

the word (entry) to be looked for.

Parameter aLocale

the language of the word to be looked for.

Parameter bSearchPosDic

true if only positive dictionaries should be searched. false if only negative dictionaries should be searched.

Parameter bSpellEntry

true if entries for purposes of spellchecking are required. false if only entries for hyphenation purposes are required.
Top of Page