(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.