mozISpellCheckingEngine

IID:43987F7B-0FAA-4019-811E-42BECAC73FC5
Inherits From:nsISupports

This interface represents a SpellChecker.

This interface is implemented by the following components:


Properties

readonly PRUnichar* copyright

A string indicating the copyright of the engine

PRUnichar* dictionary

The name of the current dictionary

readonly PRUnichar* language

The language this spellchecker is using when checking

readonly PRUnichar* name

The name of the engine

mozIPersonalDictionary* personalDictionary

The personal dictionary

readonly PRBool providesPersonalDictionary

Does the engine provide its own personal dictionary?

readonly PRBool providesWordUtils

Does the engine provide its own word utils?


Methods

PRBool check ( PRUnichar* word ) void getDictionaryList ( out arrayof PRUnichar* dictionaries , out PRUint32 count ) void suggest ( PRUnichar* word , out arrayof PRUnichar* suggestions , out PRUint32 count )

PRBool check ( PRUnichar* word )

Check a word

Arguments:
word

void getDictionaryList ( out arrayof PRUnichar* dictionaries , out PRUint32 count )

Get the list of dictionaries

Arguments:
dictionaries
count

void suggest ( PRUnichar* word , out arrayof PRUnichar* suggestions , out PRUint32 count )

Get a list of suggestions for a misspelled word

Arguments:
word
suggestions
count

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com