Lines Matching refs:nIndex

1035 long TextEngine::ImpGetXPos( sal_uLong nPara, TextLine* pLine, sal_uInt16 nIndex, sal_Bool bPreferP…  in ImpGetXPos()  argument
1037 …DBG_ASSERT( ( nIndex >= pLine->GetStart() ) && ( nIndex <= pLine->GetEnd() ) , "ImpGetXPos muss ri… in ImpGetXPos()
1041 if ( nIndex == pLine->GetStart() ) in ImpGetXPos()
1043 else if ( nIndex == pLine->GetEnd() ) in ImpGetXPos()
1049 …sal_uInt16 nTextPortion = pParaPortion->GetTextPortions().FindPortion( nIndex, nTextPortionStart, … in ImpGetXPos()
1059 if ( nTextPortionStart != nIndex ) in ImpGetXPos()
1062 if ( nIndex == ( nTextPortionStart + pPortion->GetLen() ) ) in ImpGetXPos()
1080 nX = ImpGetXPos( nPara, pLine, nIndex, sal_True ); in ImpGetXPos()
1088 DBG_ASSERT( nIndex != pLine->GetStart(), "Strange behavior in new ImpGetXPos()" ); in ImpGetXPos()
1090 … long nPosInPortion = (long)CalcTextWidth( nPara, nTextPortionStart, nIndex-nTextPortionStart ); in ImpGetXPos()
2097 sal_uInt16 nIndex = 0; in ImpPaint() local
2118 nIndex = pLine->GetStart(); in ImpPaint()
2128 … aTmpPos.X() = rStartPos.X() + ImpGetOutputOffset( nPara, pLine, nIndex, nIndex ); in ImpPaint()
2133 ( TextPaM( nPara, nIndex ) < pPaintRange->GetEnd() ) && in ImpPaint()
2134 ( TextPaM( nPara, nIndex + pTextPortion->GetLen() ) > pPaintRange->GetStart() ) ) ) ) in ImpPaint()
2142 SeekCursor( nPara, nIndex+1, aFont, pOutDev ); in ImpPaint()
2149 sal_uInt16 nTmpIndex = nIndex; in ImpPaint()
2232 TextPaM aTextStart( nPara, nIndex ); in ImpPaint()
2233 TextPaM aTextEnd( nPara, nIndex+1 ); in ImpPaint()
2261 nIndex = nIndex + pTextPortion->GetLen(); in ImpPaint()
2386 sal_uInt16 nIndex = pLine->GetStart(); in CreateLines() local
2393 while ( nIndex < pNode->GetText().Len() ) in CreateLines()
2400 sal_uInt16 nTmpPos = nIndex; in CreateLines()
2574 nIndex = pLine->GetEnd(); // naechste Zeile Start = letzte Zeile Ende in CreateLines()
2583 if ( pLine && ( nIndex >= pNode->GetText().Len() ) ) in CreateLines()
2588 if ( !pLine && ( nIndex < pNode->GetText().Len() ) ) in CreateLines()
2596 pLine->SetStart( nIndex ); in CreateLines()
2597 pLine->SetEnd( nIndex ); in CreateLines()
3259 long TextEngine::ImpGetOutputOffset( sal_uLong nPara, TextLine* pLine, sal_uInt16 nIndex, sal_uInt1… in ImpGetOutputOffset() argument
3264 … sal_uInt16 nPortion = pPortion->GetTextPortions().FindPortion( nIndex, nPortionStart, sal_True ); in ImpGetOutputOffset()
3270 if ( ( nIndex == nPortionStart ) && ( nIndex == nIndex2 ) ) in ImpGetOutputOffset()
3282 nX = ImpGetXPos( nPara, pLine, nIndex, nIndex == nPortionStart ); in ImpGetOutputOffset()
3283 if ( nIndex2 != nIndex ) in ImpGetOutputOffset()