This interface represents a Personal Dictionary.
[scriptable, uuid(7ef52eaf-b7e1-462b-87e2-5d1dbaca9048)]
interface mozIPersonalDictionary : nsISupports

Attributes

 Get the (lexicographically sorted) list of words
readonly attribute nsIStringEnumerator wordList

Methods

 
 These three functions are here in case we want to store previous 
 misspellings and return them at the head of the misspell list.


 Add a misspelling to the list of corrections
void addCorrection(in wstring word, in wstring correction, in wstring lang)
 Add a word to the personal dictionary
void addWord(in wstring word, in wstring lang)
 Check a unicode string
boolean check(in wstring word, in wstring lang)
 Clear the ignore list
void endSession()
 Get a list of previous corrections for the word
void getCorrection(in wstring word, [array, size_is(count)] out wstring words, out PRUint32 count)
 Add a word to the ignore all list
void ignoreWord(in wstring word)
 Load the dictionary
void load()
 Remove a misspelling from the list of corrections
void removeCorrection(in wstring word, in wstring correction, in wstring lang)
 Remove a word from the personal dictionary
void removeWord(in wstring word, in wstring lang)
 Save the dictionary
void save()