Lines Matching refs:sText
124 ::rtl::OUString sText( implGetText() ); in implGetGlyphBoundary()
126 if ( implIsValidIndex( nIndex, sText.getLength() ) ) in implGetGlyphBoundary()
133 …sal_Int32 nStartIndex = xBreakIter->previousCharacters( sText, nIndex, implGetLocale(), i18n::Char… in implGetGlyphBoundary()
135 …nStartIndex = xBreakIter->nextCharacters( sText, nStartIndex, implGetLocale(), i18n::CharacterIter… in implGetGlyphBoundary()
136 …sal_Int32 nEndIndex = xBreakIter->nextCharacters( sText, nStartIndex, implGetLocale(), i18n::Chara… in implGetGlyphBoundary()
156 ::rtl::OUString sText( implGetText() ); in implGetWordBoundary()
158 if ( implIsValidIndex( nIndex, sText.getLength() ) ) in implGetWordBoundary()
163 …rBoundary = xBreakIter->getWordBoundary( sText, nIndex, implGetLocale(), i18n::WordType::ANY_WORD,… in implGetWordBoundary()
169 sal_Int32 nType = xCharClass->getCharacterType( sText, rBoundary.startPos, implGetLocale() ); in implGetWordBoundary()
188 ::rtl::OUString sText( implGetText() ); in implGetSentenceBoundary()
190 if ( implIsValidIndex( nIndex, sText.getLength() ) ) in implGetSentenceBoundary()
196 rBoundary.endPos = xBreakIter->endOfSentence( sText, nIndex, aLocale ); in implGetSentenceBoundary()
197 rBoundary.startPos = xBreakIter->beginOfSentence( sText, rBoundary.endPos, aLocale ); in implGetSentenceBoundary()
211 ::rtl::OUString sText( implGetText() ); in implGetParagraphBoundary()
213 if ( implIsValidIndex( nIndex, sText.getLength() ) ) in implGetParagraphBoundary()
216 rBoundary.endPos = sText.getLength(); in implGetParagraphBoundary()
218 sal_Int32 nFound = sText.lastIndexOf( (sal_Unicode)'\n', nIndex ); in implGetParagraphBoundary()
222 nFound = sText.indexOf( (sal_Unicode)'\n', nIndex ); in implGetParagraphBoundary()
237 ::rtl::OUString sText( implGetText() ); in implGetLineBoundary()
238 sal_Int32 nLength = sText.getLength(); in implGetLineBoundary()
256 ::rtl::OUString sText( implGetText() ); in getCharacter()
258 if ( !implIsValidIndex( nIndex, sText.getLength() ) ) in getCharacter()
261 return sText.getStr()[nIndex]; in getCharacter()
275 ::rtl::OUString sText; in getSelectedText()
283 sText = getTextRange( nStartIndex, nEndIndex ); in getSelectedText()
289 return sText; in getSelectedText()
327 ::rtl::OUString sText( implGetText() ); in getTextRange()
329 if ( !implIsValidRange( nStartIndex, nEndIndex, sText.getLength() ) ) in getTextRange()
335 return sText.copy( nMinIndex, nMaxIndex - nMinIndex ); in getTextRange()
342 ::rtl::OUString sText( implGetText() ); in getTextAtIndex()
343 sal_Int32 nLength = sText.getLength(); in getTextAtIndex()
359 aResult.SegmentText = sText.copy( nIndex, 1 ); in getTextAtIndex()
371 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextAtIndex()
383 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextAtIndex()
395 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextAtIndex()
407 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextAtIndex()
419 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextAtIndex()
429 aResult.SegmentText = sText; in getTextAtIndex()
447 ::rtl::OUString sText( implGetText() ); in getTextBeforeIndex()
448 sal_Int32 nLength = sText.getLength(); in getTextBeforeIndex()
464 aResult.SegmentText = sText.copy( nIndex - 1, 1 ); in getTextBeforeIndex()
480 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBeforeIndex()
497 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBeforeIndex()
513 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBeforeIndex()
530 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBeforeIndex()
547 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBeforeIndex()
572 ::rtl::OUString sText( implGetText() ); in getTextBehindIndex()
573 sal_Int32 nLength = sText.getLength(); in getTextBehindIndex()
589 aResult.SegmentText = sText.copy( nIndex + 1, 1 ); in getTextBehindIndex()
605 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBehindIndex()
622 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBehindIndex()
643 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBehindIndex()
659 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBehindIndex()
676 aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBehindIndex()