Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XSearchableDictionaryList
Base Interfaces
XSearchableDictionaryListXDictionaryList

XDictionaryList
(referenced interface's summary:)
is used to manage and maintain a list of dictionaries.
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

Methods' Summary
queryDictionaryEntry looks for an entry for a given word in the list of dictionaries.  
Methods' Details
queryDictionaryEntry
XDictionaryEntry
queryDictionaryEntry( [in] string  aWord,
[in] ::com::sun::star::lang::Locale  aLocale,
[in] boolean  bSearchPosDics,
[in] 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.