Lines Matching refs:aBoundary
2159 i18n::Boundary aBoundary; in getTextBeforeIndex() local
2270 implGetWordBoundary( aBoundary, nIndex ); in getTextBeforeIndex()
2276 if( aBoundary.startPos == -1 || aBoundary.startPos > nIndex) in getTextBeforeIndex()
2279 curWordStart = preWordStart = aBoundary.startPos; in getTextBeforeIndex()
2286 while ( (preWordStart >= 0 && !bWord ) || ( aBoundary.endPos > curWordStart ) ) in getTextBeforeIndex()
2289 bWord = implGetWordBoundary( aBoundary, preWordStart ); in getTextBeforeIndex()
2291 if ( bWord && implIsValidBoundary( aBoundary, nLength ) ) in getTextBeforeIndex()
2293 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBeforeIndex()
2294 aResult.SegmentStart = aBoundary.startPos; in getTextBeforeIndex()
2295 aResult.SegmentEnd = aBoundary.endPos; in getTextBeforeIndex()
2327 i18n::Boundary aBoundary; in getTextBehindIndex() local
2403 sal_Bool bWord = implGetWordBoundary( aBoundary, nIndex ); in getTextBehindIndex()
2408 if( nIndex <= aBoundary.endPos ) in getTextBehindIndex()
2410 nextWord = aBoundary.endPos; in getTextBehindIndex()
2412 bWord = implGetWordBoundary( aBoundary, nextWord ); in getTextBehindIndex()
2415 if ( bWord && implIsValidBoundary( aBoundary, nLength ) ) in getTextBehindIndex()
2417 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBehindIndex()
2418 aResult.SegmentStart = aBoundary.startPos; in getTextBehindIndex()
2419 aResult.SegmentEnd = aBoundary.endPos; in getTextBehindIndex()