20 #ifndef _SPELLCHECKER_H_    21 #define _SPELLCHECKER_H_    24 #include <iutil/comp.h>    27 #include <hunspell.hxx>    30 #include <ispellchecker.h>    32 struct iObjectRegistry;
    44         virtual bool Initialize(iObjectRegistry* objReg);
    47         virtual void addWord(csString newWord);
    50         virtual bool hasDicts() {
return hunspellChecker.GetSize() != 0;};
    51         virtual bool correct(csString wordToCheck);
    59         csArray<Hunspell*> hunspellChecker;
    62         csArray<csString> personalDict; 
    67 #endif // _SPELLCHECKER_H_ 
virtual void clearPersonalDict()
virtual bool correct(csString wordToCheck)
virtual void addWord(csString newWord)
CS Plugin for a hunspell spellchecker. 
virtual void removeSpecialChars(csString &str)
Helper method that removes chars from a string which confuse the spellchecker. 
virtual const csArray< csString > & getPersonalDict()
virtual bool Initialize(iObjectRegistry *objReg)
SpellChecker(iBase *parent)