20#ifndef INCLUDED_EDITENG_SPELLPORTIONS_HXX
21#define INCLUDED_EDITENG_SPELLPORTIONS_HXX
24#include <rtl/ustring.hxx>
25#include <com/sun/star/uno/Reference.h>
26#include <com/sun/star/linguistic2/SingleProofreadingError.hpp>
30 class XSpellAlternatives;
47 css::uno::Reference< css::linguistic2::XSpellAlternatives>
xAlternatives;
#define LANGUAGE_DONTKNOW
std::vector< SpellPortion > SpellPortions
contains a portion of text that has the same language attributes applied and belongs to the same scri...
OUString sText
contains the text of the portion.
css::uno::Reference< css::linguistic2::XSpellAlternatives > xAlternatives
for wrong words this reference is filled with the error information otherwise it's an empty reference
bool bIsHidden
Marks the portion hidden content that should not be touched by spell checking and not be removed like...
css::uno::Reference< css::linguistic2::XProofreader > xGrammarChecker
provides access to the grammar checker interface
css::linguistic2::SingleProofreadingError aGrammarError
contains the grammar error information
OUString sDialogTitle
contains the proposed dialog title if the proof reading component provides one.
bool bIgnoreThisError
marks portion as to-be-ignored.
bool bIsField
Marks the portion as field, footnote symbol or any other special content that should be protected aga...
LanguageType eLanguage
contains the language applied to the text.
bool bIsGrammarError
determines whether the error type is a grammar error