Planeshift
SpellChecker Class Reference

CS Plugin for a hunspell spellchecker. More...

#include <spellchecker.h>

Public Member Functions

virtual void addWord (csString newWord)
 
virtual void clearPersonalDict ()
 
virtual bool correct (csString wordToCheck)
 
virtual const csArray< csString > & getPersonalDict ()
 
virtual bool hasDicts ()
 
virtual bool Initialize (iObjectRegistry *objReg)
 
 SpellChecker (iBase *parent)
 
virtual ~SpellChecker ()
 

Protected Member Functions

virtual void removeSpecialChars (csString &str)
 Helper method that removes chars from a string which confuse the spellchecker. More...
 

Detailed Description

CS Plugin for a hunspell spellchecker.

Definition at line 37 of file spellchecker.h.

Constructor & Destructor Documentation

SpellChecker::SpellChecker ( iBase parent)
virtual SpellChecker::~SpellChecker ( )
virtual

Member Function Documentation

virtual void SpellChecker::addWord ( csString  newWord)
virtual
virtual void SpellChecker::clearPersonalDict ( )
virtual
virtual bool SpellChecker::correct ( csString  wordToCheck)
virtual
virtual const csArray<csString>& SpellChecker::getPersonalDict ( )
inlinevirtual

Definition at line 48 of file spellchecker.h.

virtual bool SpellChecker::hasDicts ( )
inlinevirtual

Definition at line 50 of file spellchecker.h.

virtual bool SpellChecker::Initialize ( iObjectRegistry *  objReg)
virtual
virtual void SpellChecker::removeSpecialChars ( csString &  str)
protectedvirtual

Helper method that removes chars from a string which confuse the spellchecker.

Called from "bool correct(csString wordToCheck)"


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