Lines Matching refs:startPos
247 result.startPos = word.aBreakIterator->following(nStartPos); in nextWord()
248 if( result.startPos >= Text.getLength() || result.startPos == BreakIterator::DONE ) in nextWord()
249 result.endPos = result.startPos; in nextWord()
253 u_isWhitespace(Text.iterateCodePoints(&result.startPos, 0)) ) in nextWord()
254 result.startPos = word.aBreakIterator->following(result.startPos); in nextWord()
256 result.endPos = word.aBreakIterator->following(result.startPos); in nextWord()
258 result.endPos = result.startPos; in nextWord()
269 result.startPos = word.aBreakIterator->preceding(nStartPos); in previousWord()
270 if( result.startPos < 0 || result.startPos == BreakIterator::DONE) in previousWord()
271 result.endPos = result.startPos; in previousWord()
275 u_isWhitespace(Text.iterateCodePoints(&result.startPos, 0)) ) in previousWord()
276 result.startPos = word.aBreakIterator->preceding(result.startPos); in previousWord()
278 result.endPos = word.aBreakIterator->following(result.startPos); in previousWord()
280 result.endPos = result.startPos; in previousWord()
293 result.startPos = result.endPos = nPos; in getWordBoundary()
297 result.startPos = word.aBreakIterator->preceding(nPos); in getWordBoundary()
300 result.startPos = 0; in getWordBoundary()
303 result.startPos = word.aBreakIterator->preceding(len); in getWordBoundary()
306 result.startPos = word.aBreakIterator->preceding(nPos); in getWordBoundary()
310 if (result.startPos == BreakIterator::DONE) in getWordBoundary()
311 result.startPos = result.endPos; in getWordBoundary()
313 result.endPos = result.startPos; in getWordBoundary()
379 aHyphenatedWord = hOptions.rHyphenator->hyphenate(Text.copy(wBoundary.startPos, in getLineBreak()
380 wBoundary.endPos - wBoundary.startPos), rLocale, in getLineBreak()
381 … (sal_Int16) (hOptions.hyphenIndex - wBoundary.startPos), hOptions.aHyphenationOptions); in getLineBreak()
384 … if(wBoundary.startPos + aHyphenatedWord->getHyphenationPos() + 1 < nMinBreakPos ) in getLineBreak()
387 lbr.breakIndex = wBoundary.startPos; //aHyphenatedWord->getHyphenationPos(); in getLineBreak()