WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

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.

Copyright © 1999-2006 XULPlanet.com