| /AOO42X/main/comphelper/source/misc/ |
| H A D | accessibletexthelper.cxx | 103 … >= 0 ) && ( rBoundary.startPos < nLength ) && ( rBoundary.endPos >= 0 ) && ( rBoundary.endPos <= … in implIsValidBoundary() 140 rBoundary.endPos = nEndIndex; in implGetGlyphBoundary() 147 rBoundary.endPos = nIndex; in implGetGlyphBoundary() 178 rBoundary.endPos = nIndex; in implGetWordBoundary() 196 rBoundary.endPos = xBreakIter->endOfSentence( sText, nIndex, aLocale ); in implGetSentenceBoundary() 197 … rBoundary.startPos = xBreakIter->beginOfSentence( sText, rBoundary.endPos, aLocale ); in implGetSentenceBoundary() 203 rBoundary.endPos = nIndex; in implGetSentenceBoundary() 216 rBoundary.endPos = sText.getLength(); in implGetParagraphBoundary() 224 rBoundary.endPos = nFound + 1; in implGetParagraphBoundary() 229 rBoundary.endPos = nIndex; in implGetParagraphBoundary() [all …]
|
| /AOO42X/main/i18npool/source/search/ |
| H A D | textsearch.cxx | 216 …Result TextSearch::searchForward( const OUString& searchStr, sal_Int32 startPos, sal_Int32 endPos ) in searchForward() argument 223 sal_Int32 newEndPos = endPos; in searchForward() 237 if( endPos < searchStr.getLength() ) in searchForward() 238 newEndPos = FindPosInSeq_Impl( offset, endPos ); in searchForward() 266 sres = (this->*fnForward)( in_str, startPos, endPos ); in searchForward() 281 if( endPos < searchStr.getLength() ) in searchForward() 282 endPos = FindPosInSeq_Impl( offset, endPos ); in searchForward() 284 endPos = in_str.getLength(); in searchForward() 287 sres2 = (this->*fnForward)( in_str, startPos, endPos ); in searchForward() 313 …esult TextSearch::searchBackward( const OUString& searchStr, sal_Int32 startPos, sal_Int32 endPos ) in searchBackward() argument [all …]
|
| H A D | textsearch.hxx | 70 sal_Int32 startPos, sal_Int32 endPos ); 87 sal_Int32 startPos, sal_Int32 endPos ) 91 sal_Int32 startPos, sal_Int32 endPos ) 98 sal_Int32 startPos, sal_Int32 endPos ) 102 sal_Int32 startPos, sal_Int32 endPos ) 112 sal_Int32 startPos, sal_Int32 endPos ) 116 sal_Int32 startPos, sal_Int32 endPos ) 137 sal_Int32 startPos, sal_Int32 endPos ) 141 sal_Int32 startPos, sal_Int32 endPos )
|
| /AOO42X/main/qadevOOo/tests/java/ifc/i18n/ |
| H A D | _XBreakIterator.java | 190 if (bounds.endPos - bounds.startPos > 3) { in _nextWord() 193 + bounds.startPos + "," + bounds.endPos + "): '" + in _nextWord() 195 bounds.endPos) + "'"); in _nextWord() 197 i = bounds.endPos - 1; in _nextWord() 217 if (bounds.endPos - bounds.startPos > 3) { in _previousWord() 220 + bounds.startPos + "," + bounds.endPos + "): '" in _previousWord() 221 + UnicodeString.substring(bounds.startPos, bounds.endPos) in _previousWord() 246 int iPos = (iBounds.endPos - iBounds.startPos) / 2 in _getWordBoundary() 251 "; endPos = " + iBounds.endPos); in _getWordBoundary() 253 + "; endPos = " + bounds.endPos + " Word is: '" in _getWordBoundary() [all …]
|
| /AOO42X/main/i18npool/source/breakiterator/ |
| H A D | breakiterator_unicode.cxx | 249 result.endPos = result.startPos; in nextWord() 256 result.endPos = word.aBreakIterator->following(result.startPos); in nextWord() 257 if(result.endPos == BreakIterator::DONE) in nextWord() 258 result.endPos = result.startPos; in nextWord() 271 result.endPos = result.startPos; in previousWord() 278 result.endPos = word.aBreakIterator->following(result.startPos); in previousWord() 279 if(result.endPos == BreakIterator::DONE) in previousWord() 280 result.endPos = result.startPos; in previousWord() 293 result.startPos = result.endPos = nPos; in getWordBoundary() 295 result.endPos = word.aBreakIterator->following(nPos); in getWordBoundary() [all …]
|
| H A D | xdictionary.cxx | 180 if (length != boundary.endPos - boundary.startPos) return sal_False; in equals() 198 segBoundary.endPos = segBoundary.startPos = pos; in seekSegment() 215 segBoundary.endPos = indexUtf16; in seekSegment() 222 return segBoundary.endPos > indexUtf16; in seekSegment() 246 sal_Int32 len = wordBoundary.endPos - wordBoundary.startPos; in getCache() 335 anyPos = boundary.endPos; in nextWord() 351 boundary.startPos = boundary.endPos = anyPos < 0 ? 0 : len; in getWordBoundary() 367 boundary.endPos = boundary.startPos; in getWordBoundary() 368 rText.iterateCodePoints(&boundary.endPos, aCache.wordboundary[i]); in getWordBoundary() 373 boundary.endPos = anyPos < len ? anyPos : len; in getWordBoundary() [all …]
|
| H A D | breakiteratorImpl.cxx | 109 result.endPos = result.startPos = 0; in nextWord() 111 result.endPos = result.startPos = len; in nextWord() 119 result.startPos = result.endPos = len; in nextWord() 139 result.endPos = result.startPos = 0; in previousWord() 142 result.endPos = result.startPos = len; in previousWord() 152 result.endPos = -1; in previousWord() 165 result.endPos = result.startPos = 0; in getWordBoundary() 167 result.endPos = result.startPos = len; in getWordBoundary() 173 result.endPos = result.startPos = nPos; in getWordBoundary() 175 result.endPos = result.startPos = 0; in getWordBoundary() [all …]
|
| H A D | breakiterator_th.cxx | 132 sal_Int32 len = cachedText.getLength(), startPos, endPos; in makeIndex() local 136 endPos = nStartPos+1; in makeIndex() 137 while (endPos < len && is_Thai(str[endPos])) endPos++; in makeIndex() 142 while (pos < endPos) { in makeIndex() 143 end += getACell(str, start, endPos); in makeIndex()
|
| H A D | breakiterator_cjk.cxx | 56 if (result.endPos - result.startPos != 1 || in previousWord() 60 if (result.endPos < anyPos) in previousWord() 73 if (result.endPos - result.startPos != 1 || in nextWord() 91 if (result.endPos - result.startPos != 1 || in getWordBoundary()
|
| /AOO42X/main/i18npool/source/transliteration/ |
| H A D | transliteration_Numeric.cxx | 70 sal_Int32 number = -1, j = 0, endPos = startPos + nCount; in transliterateBullet() local 72 if (endPos > inStr.getLength()) in transliterateBullet() 73 endPos = inStr.getLength(); in transliterateBullet() 81 for (sal_Int32 i = startPos; i < endPos; i++) { in transliterateBullet() 82 if (i < endPos && isNumber(inStr[i])) { in transliterateBullet() 104 } else if (i < endPos) { in transliterateBullet()
|
| /AOO42X/main/sw/source/core/txtnode/ |
| H A D | txtedt.cxx | 705 if (aBndry.startPos == aBndry.endPos) in GetCurWord() 713 if (aBndry.endPos != aBndry.startPos && IsSymbol( (xub_StrLen)aBndry.startPos )) in GetCurWord() 714 aBndry.endPos = aBndry.startPos; in GetCurWord() 717 static_cast<xub_StrLen>(aBndry.endPos - aBndry.startPos) ); in GetCurWord() 782 ASSERT( aBound.endPos >= aBound.startPos, "broken aBound result" ); in NextWord() 785 if(aBound.endPos == aBound.startPos) in NextWord() 789 if(aBound.endPos == nBegin) in NextWord() 802 if (static_cast< xub_StrLen >(aBound.endPos) > nBegin) in NextWord() 803 nLen = static_cast< xub_StrLen >(aBound.endPos) - nBegin; in NextWord() 810 ASSERT( aBound.endPos >= nBegin, "Unexpected aBound result" ) in NextWord() [all …]
|
| /AOO42X/main/sdext/source/presenter/ |
| H A D | PresenterTextView.cxx | 797 if (aWordBoundary.endPos>aWordBoundary.startPos) in Format() 798 AddWord(nWidth, aCurrentLine, aWordBoundary.endPos, rpFont); in Format() 800 if (aWordBoundary.startPos<0 || aWordBoundary.endPos<0) in Format() 802 if (nPosition >= aWordBoundary.endPos) in Format() 804 nPosition = aWordBoundary.endPos; in Format() 807 if (aCurrentLine.endPos>aCurrentLine.startPos) in Format() 918 nLineEnd = rCurrentLine.endPos; in AddWord() 936 rCurrentLine.endPos = nWordBoundary; in AddWord() 945 Line aLine (rCurrentLine.startPos, rCurrentLine.endPos); in AddLine() 972 rCurrentLine.startPos = rCurrentLine.endPos; in AddLine() [all …]
|
| /AOO42X/main/sc/source/core/tool/ |
| H A D | rangeutl.cxx | 67 ScRefAddress endPos; in MakeArea() local 76 nSuccess = ConvertDoubleRef( pDoc, aStrArea, nTab, startPos, endPos, rDetails ); in MakeArea() 81 endPos.Col(), endPos.Row() ); in MakeArea() 208 ScRefAddress endPos; in IsAbsArea() local 210 bIsAbsArea = ConvertDoubleRef( pDoc, rAreaStr, nTab, startPos, endPos, rDetails ); in IsAbsArea() 217 endPos .SetRelCol( sal_False ); in IsAbsArea() 218 endPos .SetRelRow( sal_False ); in IsAbsArea() 219 endPos .SetRelTab( sal_False ); in IsAbsArea() 225 *pCompleteStr += endPos .GetRefString( pDoc, nTab, rDetails ); in IsAbsArea() 231 *pEndPos = endPos; in IsAbsArea()
|
| /AOO42X/main/sw/source/core/access/ |
| H A D | accpara.cxx | 800 rBound.endPos = nPos+1; in GetCharBoundary() 875 rBound.endPos = nPos; in GetWordBoundary() 914 rBound.endPos = rText.getLength(); in GetParagraphBoundary() 948 rBound.endPos = pBreakIt->GetBreakIter()->nextCharacters( in GetGlyphBoundary() 951 rText, rBound.endPos, aLocale, nIterMode, 1, nDone ); in GetGlyphBoundary() 953 bRet = ((rBound.startPos <= nPos) && (nPos <= rBound.endPos)); in GetGlyphBoundary() 955 DBG_ASSERT( rBound.endPos >= nPos, "end pos too low" ); in GetGlyphBoundary() 961 rBound.endPos = nPos; in GetGlyphBoundary() 1053 … rBound.endPos = min(xub_StrLen(nNext + nLen),(xub_StrLen)rBound.endPos); in GetTextBoundary() 1059 rBound.endPos = min(nNext,(xub_StrLen)rBound.endPos); in GetTextBoundary() [all …]
|
| H A D | accportions.cxx | 439 rBound.endPos = rPositions[nPos+1]; in FillBoundary() 568 rBound.endPos = 0; in GetSentenceBoundary() 742 rBound.endPos = aFieldPosition[i + 1]; in FillBoundaryIFDateField()
|
| /AOO42X/main/offapi/com/sun/star/util/ |
| H A D | XTextSearch.idl | 49 /** search forward in the searchStr, starts at startPos and ends by endPos. 53 SearchResult searchForward ([in] string searchStr, [in] long startPos, [in] long endPos ); 55 /** search backward in the searchStr, starts at startPos and ends by endPos. 56 The endPos must be lower then the startPos, because the function searches backward! 60 SearchResult searchBackward ([in] string searchStr, [in] long startPos, [in] long endPos );
|
| /AOO42X/main/editeng/source/misc/ |
| H A D | hangulhanja.cxx | 405 sal_Bool bFoundPrimary = aResult.Boundary.startPos < aResult.Boundary.endPos; in implUpdateSuggestions() 418 if ( aSecondResult.Boundary.startPos < aSecondResult.Boundary.endPos ) in implUpdateSuggestions() 444 m_nCurrentEndIndex = aResult.Boundary.endPos; in implUpdateSuggestions() 450 && aResult.Boundary.endPos != aResult.Boundary.startPos ) in implUpdateSuggestions() 453 m_nCurrentEndIndex = aResult.Boundary.endPos; in implUpdateSuggestions() 1026 bool bHaveToHanja = ( aToHanja.Boundary.startPos < aToHanja.Boundary.endPos ); in IMPL_LINK() 1027 bool bHaveToHangul = ( aToHangul.Boundary.startPos < aToHangul.Boundary.endPos ); in IMPL_LINK()
|
| /AOO42X/main/qadevOOo/tests/java/ifc/util/ |
| H A D | _XTextSearch.java | 51 protected final int startPos = 2 , endPos = 20 ; field in _XTextSearch 81 SearchResult res = oObj.searchForward(str, startPos, endPos) ; in _searchForward() 101 SearchResult res = oObj.searchBackward(str, endPos, startPos) ; in _searchBackward()
|
| /AOO42X/main/i18npool/source/textconversion/ |
| H A D | textconversion_ko.cxx | 209 result.Boundary.startPos = result.Boundary.endPos = 0; in getConversions() 283 result.Boundary.endPos = start + len + nStartPos; in getConversions() 308 for (sal_Int32 start = nStartPos; length + nStartPos > start; start = result.Boundary.endPos) { in getConversion() 312 if (result.Boundary.endPos > 0) { in getConversion()
|
| /AOO42X/main/accessibility/source/extended/ |
| H A D | textwindowaccessibility.cxx | 621 return ::css::accessibility::TextSegment( getTextRange(aBoundary.startPos, aBoundary.endPos), in getTextAtLineNumber() 622 aBoundary.startPos, aBoundary.endPos); in getTextAtLineNumber() 748 rBoundary.endPos = nLength; in implGetParagraphBoundary() 753 rBoundary.endPos = nIndex; in implGetParagraphBoundary() 769 rBoundary.endPos = aBoundary.endPos; in implGetLineBoundary() 774 rBoundary.endPos = nIndex; in implGetLineBoundary() 1420 aBoundary.endPos = nIndex; in retrieveParagraphLineBoundary() 1445 aBoundary.endPos = nLineEnd; in retrieveParagraphLineBoundary() 1462 aBoundary.endPos = 0; in retrieveParagraphBoundaryOfLine() 1486 aBoundary.endPos = nLineEnd; in retrieveParagraphBoundaryOfLine()
|
| /AOO42X/main/sw/source/core/unocore/ |
| H A D | unotextmarkup.cxx | 103 SwPosition* endPos = aPam.End(); in commitTextRangeMarkup() local 105 …commitStringMarkup (nType, aIdentifier, startPos->nContent.GetIndex(), endPos->nContent.GetIndex()… in commitTextRangeMarkup() 112 SwPosition* endPos = aPam.End(); in commitTextRangeMarkup() local 114 …commitStringMarkup (nType, aIdentifier, startPos->nContent.GetIndex(), endPos->nContent.GetIndex()… in commitTextRangeMarkup()
|
| /AOO42X/main/editeng/source/accessibility/ |
| H A D | AccessibleEditableTextPara.cxx | 227 rBoundary.endPos = nLength; in implGetParagraphBoundary() 244 rBoundary.startPos = rBoundary.endPos = -1; in implGetLineBoundary() 257 rBoundary.endPos = nTextLen; in implGetLineBoundary() 271 rBoundary.endPos = nCurIndex; in implGetLineBoundary() 2287 while ( (preWordStart >= 0 && !bWord ) || ( aBoundary.endPos > curWordStart ) ) in getTextBeforeIndex() 2294 … aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBeforeIndex() 2296 aResult.SegmentEnd = aBoundary.endPos; in getTextBeforeIndex() 2409 if( nIndex <= aBoundary.endPos ) in getTextBehindIndex() 2411 nextWord = aBoundary.endPos; in getTextBehindIndex() 2418 … aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos ); in getTextBehindIndex() [all …]
|
| /AOO42X/main/basctl/source/dlged/ |
| H A D | managelang.cxx | 81 while ( aBoundary.startPos != aBoundary.endPos ) in getLongestWordWidth() 83 nStartPos = aBoundary.endPos; in getLongestWordWidth() 86 (sal_uInt16)aBoundary.endPos - (sal_uInt16)aBoundary.startPos ) ); in getLongestWordWidth()
|
| /AOO42X/main/xmerge/java/aportisdoc/src/main/java/org/openoffice/xmerge/converter/xml/sxw/aportisdoc/ |
| H A D | DocumentDeserializerImpl.java | 289 int startPos, int endPos) { in addTextNode() argument 291 String str = new String(text, startPos, endPos - startPos + 1); in addTextNode()
|
| /AOO42X/main/sw/source/core/text/ |
| H A D | wrong.cxx | 540 …t16 nWhere, std::vector<SwWrongArea>::iterator startPos, std::vector<SwWrongArea>::iterator endPos) in Insert() argument 547 maList.insert(i, startPos, endPos); // insert [startPos, endPos[ before i in Insert() 551 while ( startPos != endPos ) in Insert()
|