// Helper class that provides consecutively the words of a selected area // during spell check class SwScanner
{
std::function<LanguageType (sal_Int32, sal_Int32, bool)> m_pGetLangOfChar;
OUString m_aWord;
OUString m_aPrevWord; const OUString m_aPreDashReplacementText;
OUString m_aText; const LanguageType* m_pLanguage; const ModelToViewHelper m_ModelToView;
sal_Int32 m_nStartPos;
sal_Int32 m_nEndPos;
sal_Int32 m_nBegin;
sal_Int32 m_nLength;
sal_Int32 m_nOverriddenDashCount; // caches the CharClass for m_aCurrentLang, which can be expensive to repeatedly retrieve
std::optional<CharClass> moCharClass;
LanguageType m_aCurrentLang;
sal_uInt16 m_nWordType; bool m_bClip;
// This next word function tries to find the language for the next word // It should currently _not_ be used for spell checking, and works only for // ! bReverse bool NextWord();
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.