Lines Matching refs:aCursor
1417 TextPaM aCursor(rCurrentSelection.GetStart()); in PreNotify() local
1418 …const TextCharAttrib* pBackAttr = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_BACKGROUND … in PreNotify()
1419 … const TextCharAttrib* pErrorAttr = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_ERROR ); in PreNotify()
1423 bHasField = pBackAttr != 0 && (bHasRange || pBackAttr->GetEnd() > aCursor.GetIndex()); in PreNotify()
1424 bHasError = pErrorAttr != 0 && (bHasRange || pErrorAttr->GetEnd() > aCursor.GetIndex()); in PreNotify()
1442 while(aCursor.GetIndex() < rCurrentSelection.GetEnd().GetIndex()) in PreNotify()
1444 ++aCursor.GetIndex(); in PreNotify()
1445 …const TextCharAttrib* pIntBackAttr = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_BACKGROU… in PreNotify()
1446 …const TextCharAttrib* pIntErrorAttr = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_ERROR ); in PreNotify()
1469 bHasFieldLeft = pBackAttr && pBackAttr->GetEnd() == aCursor.GetIndex(); in PreNotify()
1475 bHasErrorLeft = pErrorAttr && pErrorAttr->GetEnd() == aCursor.GetIndex(); in PreNotify()
1485 if(aCursor.GetIndex()) in PreNotify()
1487 --aCursor.GetIndex(); in PreNotify()
1488 … pBackAttrLeft = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_BACKGROUND ); in PreNotify()
1489 pErrorAttrLeft = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_ERROR ); in PreNotify()
1493 ++aCursor.GetIndex(); in PreNotify()
1524 nAction = bHasError && !aCursor.GetIndex() ? ACTION_CONTINUE : in PreNotify()
1638 … const TextCharAttrib* pFontColor = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_FONTCOLOR ); in PreNotify()
1682 TextPaM aCursor(0, m_nErrorEnd ? m_nErrorEnd + 1 : 0); in MarkNextError() local
1689 while(aCursor.GetIndex() < nTextLen) in MarkNextError()
1691 while(aCursor.GetIndex() < nTextLen && in MarkNextError()
1692 0 == (pNextError = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_ERROR))) in MarkNextError()
1694 ++aCursor.GetIndex(); in MarkNextError()
1715 … aCursor.GetIndex() = aCursor.GetIndex() + (sal_uInt16)(xEntry->getReplacementText().getLength()); in MarkNextError()
1722 if(aCursor.GetIndex() < nTextLen) in MarkNextError()
1724 m_nErrorStart = aCursor.GetIndex(); in MarkNextError()
1842 TextPaM aCursor(0, m_nErrorStart); in GetAlternatives() local
1844 GetTextEngine()->FindAttrib( aCursor, TEXTATTR_SPELL_ERROR)); in GetAlternatives()
1852 TextPaM aCursor(0, m_nErrorStart); in RestoreCurrentError() local
1854 GetTextEngine()->FindAttrib( aCursor, TEXTATTR_SPELL_ERROR)); in RestoreCurrentError()
1867 TextPaM aCursor(0, m_nErrorStart); in SetAlternatives() local
1869 GetTextEngine()->FindAttrib( aCursor, TEXTATTR_SPELL_ERROR)), "no error set?"); in SetAlternatives()
1954 TextPaM aCursor(0, 0); in CreateSpellPortions() local
1960 while(aCursor.GetIndex() < nTextLen) in CreateSpellPortions()
1962 … const TextCharAttrib* pLang = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_LANGUAGE); in CreateSpellPortions()
1970 pError = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_ERROR); in CreateSpellPortions()
1978 aCursor.GetIndex()++; in CreateSpellPortions()