Lines Matching refs:nLine
262 sal_uInt16 nLine; in implGetLineBoundary() local
264 for( nLine=0, nCurIndex=0; nLine<nLineCount; ++nLine ) in implGetLineBoundary()
266 nCurIndex += rCacheTF.GetLineLen(nParaIndex, nLine); in implGetLineBoundary()
270 rBoundary.startPos = nCurIndex - rCacheTF.GetLineLen(nParaIndex, nLine); in implGetLineBoundary()
2093 sal_uInt16 nLine, nLineCount=rCacheTF.GetLineCount( nParaIndex ); in getTextAtIndex() local
2099 for( nLine=0, nCurIndex=0; nLine<nLineCount; ++nLine ) in getTextAtIndex()
2101 if (nLine == 0) in getTextAtIndex()
2111 sal_Int32 nLineLen = rCacheTF.GetLineLen(nParaIndex, nLine); in getTextAtIndex()
2112 if (nLine == 0) in getTextAtIndex()
2118 if (nLine ==0) in getTextAtIndex()
2206 sal_uInt16 nLine, nLineCount=rCacheTF.GetLineCount( nParaIndex ); in getTextBeforeIndex() local
2213 for( nLine=0, nCurIndex=0, nLastIndex=0; nLine<nLineCount; ++nLine ) in getTextBeforeIndex()
2216 if (nLine == 0) in getTextBeforeIndex()
2225 if (nLine == 1) in getTextBeforeIndex()
2229 nCurLineLen = rCacheTF.GetLineLen(nParaIndex, nLine); in getTextBeforeIndex()
2231 if (nLine == 0) in getTextBeforeIndex()
2240 if (nLine == 0) in getTextBeforeIndex()
2244 else if (nLine == 1) in getTextBeforeIndex()
2359 sal_uInt16 nLine, nLineCount=rCacheTF.GetLineCount( nParaIndex ); in getTextBehindIndex() local
2366 for( nLine=0, nCurIndex=0; nLine<nLineCount; ++nLine ) in getTextBehindIndex()
2368 if (nLine == 0) in getTextBehindIndex()
2378 sal_Int32 nLineLen = rCacheTF.GetLineLen(nParaIndex, nLine); in getTextBehindIndex()
2380 if (nLine == 0) in getTextBehindIndex()
2386 nLine < nLineCount-1 ) in getTextBehindIndex()
2389 aResult.SegmentEnd = nCurIndex + rCacheTF.GetLineLen(nParaIndex, nLine+1); in getTextBehindIndex()