(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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' Summary
getWord  
getLocale  
getFailureType  
getAlternativesCount  
getAlternatives  
Methods' Details
getWord
string
getWord();

Returns
the word that was misspelled.
getLocale
::com::sun::star::lang::Locale
getLocale();

Returns
the Locale which specifies the language of the misspelled word.
getFailureType
short
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

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.