Public Member Functions | Public Attributes

mozISpellCheckingEngine Interface Reference

This interface represents a SpellChecker. More...

import "mozISpellCheckingEngine.idl";

Collaboration diagram for mozISpellCheckingEngine:

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

This interface represents a SpellChecker.


Member Function Documentation

boolean mozISpellCheckingEngine::check ( in wstring  word  ) 

check a word

void mozISpellCheckingEngine::getDictionaryList ( [array, size_is(count)] out wstring  dictionaries,
out PRUint32  count 
)

Get the list of dictionaries.

void mozISpellCheckingEngine::suggest ( in wstring  word,
[array, size_is(count)] out wstring  suggestions,
out PRUint32  count 
)

get a list of suggestions for a misspelled word


Member Data Documentation

readonly attribute wstring mozISpellCheckingEngine::copyright

a string indicating the copyright of the engine

The name of the current dictionary.

readonly attribute wstring mozISpellCheckingEngine::language

The language this spellchecker is using when checking.

readonly attribute wstring mozISpellCheckingEngine::name

The name of the engine.

the personal dictionary

Does the engine provide its own personal dictionary?

Does the engine provide its own word utils?


The documentation for this interface was generated from the following file: