LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XSearchableDictionary Interface Reference

This interfaces allows to retrieve suggestions for spell checking from a dictionary. More...

import"XSearchableDictionary.idl";

Inheritance diagram for XSearchableDictionary:
XDictionary XNamed XInterface Dictionary

Public Member Functions

sequence< com::sun::star::linguistic2::XDictionaryEntrysearchSimilarEntries ([in] string aWord)
 search for similar entries in the dictionary. More...
 
- Public Member Functions inherited from XDictionary
com::sun::star::linguistic2::DictionaryType getDictionaryType ()
 returns the type of the dictionary. More...
 
void setActive ([in] boolean bActivate)
 specifies whether the dictionary should be used or not . More...
 
boolean isActive ()
 
long getCount ()
 
com::sun::star::lang::Locale getLocale ()
 
void setLocale ([in] com::sun::star::lang::Locale aLocale)
 is used to set the language of the dictionary. More...
 
com::sun::star::linguistic2::XDictionaryEntry getEntry ([in] string aWord)
 searches for an entry that matches the given word. More...
 
boolean addEntry ([in] com::sun::star::linguistic2::XDictionaryEntry xDicEntry)
 is used to add an entry to the dictionary. More...
 
boolean add ([in] string aWord, [in] boolean bIsNegative, [in] string aRplcText)
 is used to make an entry in the dictionary. More...
 
boolean remove ([in] string aWord)
 removes an entry from the dictionary. More...
 
boolean isFull ()
 
sequence< com::sun::star::linguistic2::XDictionaryEntrygetEntries ()
 
void clear ()
 removes all entries from the dictionary. More...
 
boolean addDictionaryEventListener ([in] com::sun::star::linguistic2::XDictionaryEventListener xListener)
 adds an entry to the list of dictionary event listeners. More...
 
boolean removeDictionaryEventListener ([in] com::sun::star::linguistic2::XDictionaryEventListener xListener)
 removes an entry from the list of dictionary event listeners. More...
 
- Public Member Functions inherited from XNamed
string getName ()
 
void setName ([in] string aName)
 sets the programmatic name of the object. 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...
 

Detailed Description

This interfaces allows to retrieve suggestions for spell checking from a dictionary.

Member Function Documentation

◆ searchSimilarEntries()

sequence< com::sun::star::linguistic2::XDictionaryEntry > searchSimilarEntries ( [in] string  aWord)

search for similar entries in the dictionary.

Parameters
aWordthe word to find similar written entries for.
Returns
the list of similar entries found.
See also
com::sun::star::linguistic2::XDictionaryEntry
com::sun::star::linguistic2::XSearchableDictionaryList
Since
OOo 3.0.1

The documentation for this interface was generated from the following file: