Lines Matching refs:nPos

162 	sal_uInt16 nPos = mpViews->GetPos( pTextView );  in RemoveView()  local
163 if( nPos != USHRT_MAX ) in RemoveView()
166 mpViews->Remove( nPos, 1 ); in RemoveView()
1492 void TextEngine::SeekCursor( sal_uLong nPara, sal_uInt16 nPos, Font& rFont, OutputDevice* pOutDev ) in SeekCursor() argument
1503 if ( pAttrib->GetStart() > nPos ) in SeekCursor()
1512 if ( ( ( pAttrib->GetStart() < nPos ) && ( pAttrib->GetEnd() >= nPos ) ) in SeekCursor()
1528 …( nPos > mpIMEInfos->aPos.GetIndex() ) && ( nPos <= ( mpIMEInfos->aPos.GetIndex() + mpIMEInfos->nL… in SeekCursor()
1530 sal_uInt16 nAttr = mpIMEInfos->pAttribs[ nPos - mpIMEInfos->aPos.GetIndex() - 1 ]; in SeekCursor()
1775 sal_uInt16 nPos = (sal_uInt16) pTEParaPortion->GetTextPortions().Count() - 1 ; in CreateAndInsertEmptyLine() local
1776 pTmpLine->SetStartPortion( nPos ); in CreateAndInsertEmptyLine()
1777 pTmpLine->SetEndPortion( nPos ); in CreateAndInsertEmptyLine()
1831 sal_uInt16 TextEngine::SplitTextPortion( sal_uLong nPara, sal_uInt16 nPos ) in SplitTextPortion() argument
1836 if ( nPos == 0 ) in SplitTextPortion()
1848 if ( nTmpPos >= nPos ) in SplitTextPortion()
1850 if ( nTmpPos == nPos ) // dann braucht nichts geteilt werden in SplitTextPortion()
1859 sal_uInt16 nOverlapp = nTmpPos - nPos; in SplitTextPortion()
1863 …pTextPortion->GetWidth() = (long)CalcTextWidth( nPara, nPos-pTextPortion->GetLen(), pTextPortion->… in SplitTextPortion()
2025 sal_uInt16 nPos = 0; in RecalcTextPortion() local
2032 if ( ( nPos+pTP->GetLen() ) > nStartPos ) in RecalcTextPortion()
2034 DBG_ASSERT( nPos <= nStartPos, "Start falsch!" ); in RecalcTextPortion()
2035 DBG_ASSERT( nPos+pTP->GetLen() >= nEnd, "End falsch!" ); in RecalcTextPortion()
2038 nPos = nPos + pTP->GetLen(); in RecalcTextPortion()
2041 if ( ( nPos == nStartPos ) && ( (nPos+pTP->GetLen()) == nEnd ) ) in RecalcTextPortion()
2336 sal_uInt16 nPos = 0; in CreateLines() local
2342 nPos = nPos + pTP->GetLen(); in CreateLines()
2343 if ( ( nPos > nStart ) && ( nPos < nEnd ) ) in CreateLines()
2960 void TextEngine::ImpCharsRemoved( sal_uLong nPara, sal_uInt16 nPos, sal_uInt16 nChars ) in ImpCharsRemoved() argument
2969 sal_uInt16 nEnd = nPos+nChars; in ImpCharsRemoved()
2977 else if ( rPaM.GetIndex() > nPos ) in ImpCharsRemoved()
2978 rPaM.GetIndex() = nPos; in ImpCharsRemoved()
2987 void TextEngine::ImpCharsInserted( sal_uLong nPara, sal_uInt16 nPos, sal_uInt16 nChars ) in ImpCharsInserted() argument
3001 if ( rPaM.GetIndex() >= nPos ) in ImpCharsInserted()
3127 sal_uInt8 TextEngine::ImpGetRightToLeft( sal_uLong nPara, sal_uInt16 nPos, sal_uInt16* pStart, sal_… in ImpGetRightToLeft() argument
3141 if ( ( rDirInfos[n].nStartPos <= nPos ) && ( rDirInfos[n].nEndPos >= nPos ) ) in ImpGetRightToLeft()