Lines Matching refs:aCursor
1419 TextPaM aCursor(rCurrentSelection.GetStart()); in PreNotify() local
1420 …const TextCharAttrib* pBackAttr = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_BACKGROUND … in PreNotify()
1421 … const TextCharAttrib* pErrorAttr = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_ERROR ); in PreNotify()
1425 bHasField = pBackAttr != 0 && (bHasRange || pBackAttr->GetEnd() > aCursor.GetIndex()); in PreNotify()
1426 bHasError = pErrorAttr != 0 && (bHasRange || pErrorAttr->GetEnd() > aCursor.GetIndex()); in PreNotify()
1444 while(aCursor.GetIndex() < rCurrentSelection.GetEnd().GetIndex()) in PreNotify()
1446 ++aCursor.GetIndex(); in PreNotify()
1447 …const TextCharAttrib* pIntBackAttr = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_BACKGROU… in PreNotify()
1448 …const TextCharAttrib* pIntErrorAttr = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_ERROR ); in PreNotify()
1471 bHasFieldLeft = pBackAttr && pBackAttr->GetEnd() == aCursor.GetIndex(); in PreNotify()
1477 bHasErrorLeft = pErrorAttr && pErrorAttr->GetEnd() == aCursor.GetIndex(); in PreNotify()
1487 if(aCursor.GetIndex()) in PreNotify()
1489 --aCursor.GetIndex(); in PreNotify()
1490 … pBackAttrLeft = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_BACKGROUND ); in PreNotify()
1491 pErrorAttrLeft = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_ERROR ); in PreNotify()
1495 ++aCursor.GetIndex(); in PreNotify()
1526 nAction = bHasError && !aCursor.GetIndex() ? ACTION_CONTINUE : in PreNotify()
1640 … const TextCharAttrib* pFontColor = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_FONTCOLOR ); in PreNotify()
1684 TextPaM aCursor(0, m_nErrorEnd ? m_nErrorEnd + 1 : 0); in MarkNextError() local
1691 while(aCursor.GetIndex() < nTextLen) in MarkNextError()
1693 while(aCursor.GetIndex() < nTextLen && in MarkNextError()
1694 0 == (pNextError = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_ERROR))) in MarkNextError()
1696 ++aCursor.GetIndex(); in MarkNextError()
1717 … aCursor.GetIndex() = aCursor.GetIndex() + (sal_uInt16)(xEntry->getReplacementText().getLength()); in MarkNextError()
1724 if(aCursor.GetIndex() < nTextLen) in MarkNextError()
1726 m_nErrorStart = aCursor.GetIndex(); in MarkNextError()
1844 TextPaM aCursor(0, m_nErrorStart); in GetAlternatives() local
1846 GetTextEngine()->FindAttrib( aCursor, TEXTATTR_SPELL_ERROR)); in GetAlternatives()
1854 TextPaM aCursor(0, m_nErrorStart); in RestoreCurrentError() local
1856 GetTextEngine()->FindAttrib( aCursor, TEXTATTR_SPELL_ERROR)); in RestoreCurrentError()
1869 TextPaM aCursor(0, m_nErrorStart); in SetAlternatives() local
1871 GetTextEngine()->FindAttrib( aCursor, TEXTATTR_SPELL_ERROR)), "no error set?"); in SetAlternatives()
1956 TextPaM aCursor(0, 0); in CreateSpellPortions() local
1962 while(aCursor.GetIndex() < nTextLen) in CreateSpellPortions()
1964 … const TextCharAttrib* pLang = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_LANGUAGE); in CreateSpellPortions()
1972 pError = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_ERROR); in CreateSpellPortions()
1980 aCursor.GetIndex()++; in CreateSpellPortions()