This interface represents a SpellChecker.
[scriptable, uuid(43987f7b-0faa-4019-811e-42becac73fc5)]
interface mozISpellCheckingEngine : nsISupports

Attributes

 
 a string indicating the copyright of the engine
readonly attribute wstring copyright
 The name of the current dictionary
attribute wstring dictionary
 The language this spellchecker is using when checking
readonly attribute wstring language
 The name of the engine
readonly attribute wstring name
 the personal dictionary
attribute mozIPersonalDictionary personalDictionary
 Does the engine provide its own personal dictionary?
readonly attribute boolean providesPersonalDictionary
 Does the engine provide its own word utils?
readonly attribute boolean providesWordUtils

Methods

 check a word
boolean check(in wstring word)
 Get the list of dictionaries
void getDictionaryList([array, size_is(count)] out wstring dictionaries, out PRUint32 count)
 get a list of suggestions for a misspelled word
void suggest(in wstring word, [array, size_is(count)] out wstring suggestions, out PRUint32 count)