Lines Matching refs:nIndex

2651 		sal_uInt16 nIndex = aSel.Max().GetIndex();  in AutoCorrect()  local
2652 EdtAutoCorrDoc aAuto( this, pNode, nIndex, c ); in AutoCorrect()
2653 pAutoCorrect->AutoCorrect( aAuto, *pNode, nIndex, c, !bOverwrite ); in AutoCorrect()
3370 sal_uInt16 ImpEditEngine::GetLineNumberAtIndex( sal_uInt32 nPara, sal_uInt16 nIndex ) const in GetLineNumberAtIndex()
3378 const bool bValidIndex = /*0 <= nIndex &&*/ nIndex <= pNode->Len(); in GetLineNumberAtIndex()
3381 if (nIndex == pNode->Len()) in GetLineNumberAtIndex()
3389 if (nStart <= nIndex && nIndex < nEnd) in GetLineNumberAtIndex()
3505 sal_uInt16 nIndex = nStartPos; in ConvertSelection() local
3509 nIndex = pNode->Len(); in ConvertSelection()
3511 else if ( nIndex > pNode->Len() ) in ConvertSelection()
3512 nIndex = pNode->Len(); in ConvertSelection()
3515 aNewSelection.Min().SetIndex( nIndex ); in ConvertSelection()
3519 nIndex = nEndPos; in ConvertSelection()
3523 nIndex = pNode->Len(); in ConvertSelection()
3525 else if ( nIndex > pNode->Len() ) in ConvertSelection()
3526 nIndex = pNode->Len(); in ConvertSelection()
3529 aNewSelection.Max().SetIndex( nIndex ); in ConvertSelection()
4177 long ImpEditEngine::GetXPos( ParaPortion* pParaPortion, EditLine* pLine, sal_uInt16 nIndex, sal_Boo… in GetXPos() argument
4180 …DBG_ASSERT( ( nIndex >= pLine->GetStart() ) && ( nIndex <= pLine->GetEnd() ) , "GetXPos muss richt… in GetXPos()
4184 if ( nIndex == pLine->GetStart() ) in GetXPos()
4186 else if ( nIndex == pLine->GetEnd() ) in GetXPos()
4190 …sal_uInt16 nTextPortion = pParaPortion->GetTextPortions().FindPortion( nIndex, nTextPortionStart, … in GetXPos()
4204 if ( nTextPortionStart != nIndex ) in GetXPos()
4207 if ( nIndex == ( nTextPortionStart + pPortion->GetLen() ) ) in GetXPos()
4220 nX = GetXPos( pParaPortion, pLine, nIndex, sal_True ); in GetXPos()
4237 DBG_ASSERT( nIndex != pLine->GetStart(), "Strange behavior in new GetXPos()" ); in GetXPos()
4242 sal_uInt16 nPos = nIndex - 1 - pLine->GetStart(); in GetXPos()
4266 sal_uInt8 nType = GetCharTypeForCompression( pParaPortion->GetNode()->GetChar( nIndex ) ); in GetXPos()
4269 sal_uInt16 n = nIndex - nTextPortionStart; in GetXPos()
4276 nType = GetCharTypeForCompression( pParaPortion->GetNode()->GetChar( nIndex+1 ) ); in GetXPos()
4408 Rectangle ImpEditEngine::GetEditCursor( ParaPortion* pPortion, sal_uInt16 nIndex, sal_uInt16 nFlags… in GetEditCursor() argument
4433 if ( ( pTmpLine->GetStart() == nIndex ) || ( pTmpLine->IsIn( nIndex, bEOL ) ) ) in GetEditCursor()
4447 DBG_ASSERT( nIndex == nCurIndex, "Index voll daneben in GetEditCursor!" ); in GetEditCursor()
4465 if ( ( nIndex == pLine->GetStart() ) && ( nFlags & GETCRSR_STARTOFLINE ) ) in GetEditCursor()
4470 else if ( ( nIndex == pLine->GetEnd() ) && ( nFlags & GETCRSR_ENDOFLINE ) ) in GetEditCursor()
4477 …nX = GetXPos( pPortion, pLine, nIndex, ( nFlags & GETCRSR_PREFERPORTIONSTART ) ? sal_True : sal_Fa… in GetEditCursor()