nsIEditorSpellCheck

IID:87ce8b81-1cf2-11d3-9ce4-c60a16061e7c
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void AddWordToDictionary ( PRUnichar* word ) PRBool CheckCurrentWord ( PRUnichar* suggestedWord ) PRUnichar* GetCurrentDictionary ( ) void GetDictionaryList ( out arrayof PRUnichar* dictionaryList , out PRUint32 count ) PRUnichar* GetNextMisspelledWord ( ) void GetPersonalDictionary ( ) PRUnichar* GetPersonalDictionaryWord ( ) PRUnichar* GetSuggestedWord ( ) void IgnoreWordAllOccurrences ( PRUnichar* word ) void InitSpellChecker ( nsIEditor editor , PRBool enableSelectionChecking ) void RemoveWordFromDictionary ( PRUnichar* word ) void ReplaceWord ( PRUnichar* misspelledWord , PRUnichar* replaceWord , PRBool allOccurrences ) void SetCurrentDictionary ( PRUnichar* dictionary ) void setFilter ( nsITextServicesFilter filter ) void UninitSpellChecker ( )

void AddWordToDictionary ( PRUnichar* word )

Arguments:
word

PRBool CheckCurrentWord ( PRUnichar* suggestedWord )

Arguments:
suggestedWord

PRUnichar* GetCurrentDictionary ( )


void GetDictionaryList ( out arrayof PRUnichar* dictionaryList , out PRUint32 count )

Arguments:
dictionaryList
count

PRUnichar* GetNextMisspelledWord ( )


void GetPersonalDictionary ( )


PRUnichar* GetPersonalDictionaryWord ( )


PRUnichar* GetSuggestedWord ( )


void IgnoreWordAllOccurrences ( PRUnichar* word )

Arguments:
word

void InitSpellChecker ( nsIEditor editor , PRBool enableSelectionChecking )

Arguments:
editor
enableSelectionChecking

void RemoveWordFromDictionary ( PRUnichar* word )

Arguments:
word

void ReplaceWord ( PRUnichar* misspelledWord , PRUnichar* replaceWord , PRBool allOccurrences )

Arguments:
misspelledWord
replaceWord
allOccurrences

void SetCurrentDictionary ( PRUnichar* dictionary )

Arguments:
dictionary

void setFilter ( nsITextServicesFilter filter )

Arguments:
filter

void UninitSpellChecker ( )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com