mozISpellI18NUtil
| IID: | B075D5DC-1DF1-441A-BEBF-680D8CAAA19C |
| Inherits From: | nsISupports |
This interface contains various I18N related code used in various places by the spell checker.
Constants
| PRUint32 | kCheck | = 0 |
| PRUint32 | kSuggest | = 1 |
Properties
readonly PRUnichar* language
The language being used to check spelling
Methods
void findNextWord ( PRUnichar* word , PRUint32 length , PRUint32 offset , out PRInt32 begin , out PRInt32 end )
void fromRootForm ( PRUnichar* word , arrayof PRUnichar* iwords , PRUint32 icount , out arrayof PRUnichar* owords , out PRUint32 ocount )
void getRootForm ( PRUnichar* word , PRUint32 type , out arrayof PRUnichar* words , out PRUint32 count )
void findNextWord ( PRUnichar* word , PRUint32 length , PRUint32 offset , out PRInt32 begin , out PRInt32 end )
Given a unicode string and an offset, find the beginning and end of the next word. begin and end are -1 if there are no words remaining in the string. This should really be folded into the Line/WordBreaker.
- Arguments:
- word
- length
- offset
- begin
- end
void fromRootForm ( PRUnichar* word , arrayof PRUnichar* iwords , PRUint32 icount , out arrayof PRUnichar* owords , out PRUint32 ocount )
Given a word return a list of possible root forms of that word
- Arguments:
- word
- iwords
- icount
- owords
- ocount
void getRootForm ( PRUnichar* word , PRUint32 type , out arrayof PRUnichar* words , out PRUint32 count )
Given a word return a list of possible root forms of that word
- Arguments:
- word
- type
- words
- count
References
This interface is returned from the following methods:
Reference documentation is generated from Mozilla's source.
