Lines Matching refs:nCurIndex

263             sal_Int32 nCurIndex;  in implGetLineBoundary()  local
264 for( nLine=0, nCurIndex=0; nLine<nLineCount; ++nLine ) in implGetLineBoundary()
266 nCurIndex += rCacheTF.GetLineLen( static_cast< sal_uInt16 >( nParaIndex ), nLine); in implGetLineBoundary()
268 if( nCurIndex > nIndex ) in implGetLineBoundary()
270 …rBoundary.startPos = nCurIndex - rCacheTF.GetLineLen(static_cast< sal_uInt16 >( nParaIndex ), nLin… in implGetLineBoundary()
271 rBoundary.endPos = nCurIndex; in implGetLineBoundary()
2093 sal_Int32 nCurIndex; in getTextAtIndex() local
2098 for( nLine=0, nCurIndex=0; nLine<nLineCount; ++nLine ) in getTextAtIndex()
2112 nCurIndex += nLineLen - nBulletLen; in getTextAtIndex()
2114 nCurIndex += nLineLen; in getTextAtIndex()
2115 if( nCurIndex > nIndex ) in getTextAtIndex()
2121 aResult.SegmentEnd = nCurIndex; in getTextAtIndex()
2129 aResult.SegmentStart = nCurIndex - nLineLen; in getTextAtIndex()
2130 aResult.SegmentEnd = nCurIndex; in getTextAtIndex()
2209 sal_Int32 nCurIndex=0, nLastIndex=0, nCurLineLen=0; in getTextBeforeIndex() local
2212 for( nLine=0, nCurIndex=0, nLastIndex=0; nLine<nLineCount; ++nLine ) in getTextBeforeIndex()
2214 nLastIndex = nCurIndex; in getTextBeforeIndex()
2231 nCurIndex += nCurLineLen - nBulletLen; in getTextBeforeIndex()
2233 nCurIndex += nCurLineLen; in getTextBeforeIndex()
2237 if (nCurIndex > nIndex) in getTextBeforeIndex()
2359 sal_Int32 nCurIndex; in getTextBehindIndex() local
2365 for( nLine=0, nCurIndex=0; nLine<nLineCount; ++nLine ) in getTextBehindIndex()
2380 nCurIndex += nLineLen - nBulletLen; in getTextBehindIndex()
2382 nCurIndex += nLineLen; in getTextBehindIndex()
2384 if( nCurIndex > nIndex && in getTextBehindIndex()
2387 aResult.SegmentStart = nCurIndex; in getTextBehindIndex()
2388 …aResult.SegmentEnd = nCurIndex + rCacheTF.GetLineLen(static_cast< sal_uInt16 >( nParaIndex ), nLin… in getTextBehindIndex()