namespace com::sun::star::linguistic2 { class XSpellAlternatives;
}
namespace com::sun::star::linguistic2 { class XProofreader; }
namespace svx{ /** contains a portion of text that has the same language attributes applied andbelongstothesamescripttype.
*/ struct SpellPortion
{ /** contains the text of the portion.
*/
OUString sText; /** for wrong words this reference is filled with the error information otherwise it'sanemptyreference
*/
css::uno::Reference< css::linguistic2::XSpellAlternatives> xAlternatives; /** provides access to the grammar checker interface
*/
css::uno::Reference< css::linguistic2::XProofreader > xGrammarChecker; /** contains the proposed dialog title if the proof reading component provides one.
*/
OUString sDialogTitle; /** contains the grammar error information
*/
css::linguistic2::SingleProofreadingError aGrammarError; /** contains the language applied to the text. It has to match the script type.
*/
LanguageType eLanguage; /** Marks the portion as field, footnote symbol or any other special content that shouldbeprotectedagainstunintentionaldeletion.
*/ bool bIsField; /** Marks the portion hidden content that should not be touched by spell checking andnotberemovedlikeredlines.Thecreatoroftheportionshastotakecare forthem.
*/ bool bIsHidden; /** determines whether the error type is a grammar error
*/ bool bIsGrammarError; /** marks portion as to-be-ignored. This is a return parameter.
*/ bool bIgnoreThisError;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.