:: com :: sun :: star :: linguistic2 ::
|
interface XSpellAlternatives |
|
- Description
- Gives access to the results of failed
spellchecking attempts and may provide spelling alternatives.
This is used by the
XSpellChecker::spell
function when the word was not found to be correct.
Suggestions for other words to be used may be provided along with
a failure-type that may specifiy why the word was not correct.
- See also
- ? (no identifier found)
SpellFailure
|
Methods' Details |
getWord
- Returns
- the word that was misspelled.
|
|
getLocale
- Returns
- the Locale which specifies the language of the misspelled word.
|
|
getFailureType
- Returns
- the type (reason) for spellchecking to have failed verification.
- See also
- ? (no identifier found)
SpellFailure
|
|
getAlternativesCount
short |
getAlternativesCount(); |
- Returns
- the number of suggested spelling alternatives available.
|
|
getAlternatives
sequence< string > |
getAlternatives(); |
- Returns
- the sequence of suggested spelling alternatives.
|
|
Top of Page
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.