LibreOffice Module linguistic (master) 1
|
#include <iprcache.hxx>
Public Member Functions | |
SpellCache () | |
~SpellCache () | |
void | Flush () |
void | AddWord (const OUString &rWord, LanguageType nLang) |
bool | CheckWord (const OUString &rWord, LanguageType nLang) |
Private Types | |
typedef std::set< OUString > | WordList_t |
typedef std::map< LanguageType, WordList_t > | LangWordList_t |
Private Member Functions | |
SpellCache (const SpellCache &)=delete | |
SpellCache & | operator= (const SpellCache &)=delete |
Private Attributes | |
rtl::Reference< FlushListener > | mxFlushLstnr |
LangWordList_t | aWordLists |
Definition at line 73 of file iprcache.hxx.
|
private |
Definition at line 78 of file iprcache.hxx.
|
private |
Definition at line 77 of file iprcache.hxx.
|
privatedelete |
linguistic::SpellCache::SpellCache | ( | ) |
after reference is established
after reference is established
Definition at line 185 of file iprcache.cxx.
References linguistic::GetDictionaryList(), linguistic::GetLinguProperties(), and mxFlushLstnr.
linguistic::SpellCache::~SpellCache | ( | ) |
Definition at line 194 of file iprcache.cxx.
References mxFlushLstnr.
void linguistic::SpellCache::AddWord | ( | const OUString & | rWord, |
LanguageType | nLang | ||
) |
Definition at line 217 of file iprcache.cxx.
References aWordLists, and linguistic::GetLinguMutex().
Referenced by SpellCheckerDispatcher::isValid_Impl(), and SpellCheckerDispatcher::spell_Impl().
bool linguistic::SpellCache::CheckWord | ( | const OUString & | rWord, |
LanguageType | nLang | ||
) |
Definition at line 209 of file iprcache.cxx.
References aWordLists, and linguistic::GetLinguMutex().
Referenced by SpellCheckerDispatcher::isValid_Impl(), and SpellCheckerDispatcher::spell_Impl().
void linguistic::SpellCache::Flush | ( | void | ) |
Definition at line 202 of file iprcache.cxx.
References aWordLists, and linguistic::GetLinguMutex().
Referenced by linguistic::FlushListener::processDictionaryListEvent(), and linguistic::FlushListener::propertyChange().
|
privatedelete |
|
private |
Definition at line 79 of file iprcache.hxx.
Referenced by AddWord(), CheckWord(), and Flush().
|
private |
Definition at line 75 of file iprcache.hxx.
Referenced by SpellCache(), and ~SpellCache().