Lines Matching refs:rText

194 sal_Bool xdictionary::seekSegment(const rtl::OUString &rText, sal_Int32 pos,   in seekSegment()  argument
203 sal_uInt32 ch = rText.iterateCodePoints(&indexUtf16, -1); in seekSegment()
211 while (indexUtf16 < rText.getLength()) in seekSegment()
213 sal_uInt32 ch = rText.iterateCodePoints(&indexUtf16, 1); in seekSegment()
221 rText.iterateCodePoints(&indexUtf16, 1); in seekSegment()
322 Boundary xdictionary::previousWord(const OUString& rText, sal_Int32 anyPos, sal_Int16 wordType) in previousWord() argument
325 sal_uInt32 ch = rText.iterateCodePoints(&anyPos, -1); in previousWord()
327 while (anyPos > 0 && u_isWhitespace(ch)) ch = rText.iterateCodePoints(&anyPos, -1); in previousWord()
329 return getWordBoundary(rText, anyPos, wordType, true); in previousWord()
332 Boundary xdictionary::nextWord(const OUString& rText, sal_Int32 anyPos, sal_Int16 wordType) in nextWord() argument
334 boundary = getWordBoundary(rText, anyPos, wordType, true); in nextWord()
336 if (anyPos < rText.getLength()) { in nextWord()
338 sal_uInt32 ch = rText.iterateCodePoints(&anyPos, 1); in nextWord()
339 while (u_isWhitespace(ch)) ch=rText.iterateCodePoints(&anyPos, 1); in nextWord()
340 rText.iterateCodePoints(&anyPos, -1); in nextWord()
343 return getWordBoundary(rText, anyPos, wordType, true); in nextWord()
346 Boundary xdictionary::getWordBoundary(const OUString& rText, sal_Int32 anyPos, sal_Int16 wordType, … in getWordBoundary() argument
348 const sal_Unicode *text=rText.getStr(); in getWordBoundary()
349 sal_Int32 len=rText.getLength(); in getWordBoundary()
352 } else if (seekSegment(rText, anyPos, boundary)) { // character in dict in getWordBoundary()
363 sal_uInt32 ch = rText.iterateCodePoints(&indexUtf16, 1); in getWordBoundary()
368 rText.iterateCodePoints(&boundary.endPos, aCache.wordboundary[i]); in getWordBoundary()
369 rText.iterateCodePoints(&boundary.startPos, aCache.wordboundary[i-1]); in getWordBoundary()
372 if (anyPos < len) rText.iterateCodePoints(&anyPos, 1); in getWordBoundary()
380 if (u_ispunct(rText.iterateCodePoints(&indexUtf16, 1))) in getWordBoundary()