Home
last modified time | relevance | path

Searched refs:endPos (Results 1 – 25 of 52) sorted by relevance

123

/trunk/main/comphelper/source/misc/
H A Daccessibletexthelper.cxx103 … >= 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 …]
/trunk/main/i18npool/source/search/
H A Dtextsearch.cxx215 …Result TextSearch::searchForward( const OUString& searchStr, sal_Int32 startPos, sal_Int32 endPos ) in searchForward() argument
221 sal_Int32 newEndPos = endPos; in searchForward()
235 if( endPos < searchStr.getLength() ) in searchForward()
236 newEndPos = FindPosInSeq_Impl( offset, endPos ); in searchForward()
264 sres = (this->*fnForward)( in_str, startPos, endPos ); in searchForward()
279 if( endPos < searchStr.getLength() ) in searchForward()
280 endPos = FindPosInSeq_Impl( offset, endPos ); in searchForward()
282 endPos = in_str.getLength(); in searchForward()
285 sres2 = (this->*fnForward)( in_str, startPos, endPos ); in searchForward()
311 …esult TextSearch::searchBackward( const OUString& searchStr, sal_Int32 startPos, sal_Int32 endPos ) in searchBackward() argument
[all …]
H A Dtextsearch.hxx70 sal_Int32 startPos, sal_Int32 endPos );
87 sal_Int32 startPos, sal_Int32 endPos );
90 sal_Int32 startPos, sal_Int32 endPos );
96 sal_Int32 startPos, sal_Int32 endPos );
99 sal_Int32 startPos, sal_Int32 endPos );
108 sal_Int32 startPos, sal_Int32 endPos );
111 sal_Int32 startPos, sal_Int32 endPos );
129 sal_Int32 startPos, sal_Int32 endPos );
132 sal_Int32 startPos, sal_Int32 endPos );
/trunk/test/testuno/source/api/i18n/
H A DXBreakIteratorTest.java236 if (bounds.endPos - bounds.startPos > 3) { in nextWord()
239 + bounds.startPos + "," + bounds.endPos + "): '" + in nextWord()
241 bounds.endPos) + "'"); in nextWord()
243 i = bounds.endPos - 1; in nextWord()
264 if (bounds.endPos - bounds.startPos > 3) { in _previousWord()
267 + bounds.startPos + "," + bounds.endPos + "): '" in _previousWord()
268 + UnicodeString.substring(bounds.startPos, bounds.endPos) in _previousWord()
294 int iPos = (iBounds.endPos - iBounds.startPos) / 2 in _getWordBoundary()
299 "; endPos = " + iBounds.endPos); in _getWordBoundary()
301 + "; endPos = " + bounds.endPos + " Word is: '" in _getWordBoundary()
[all …]
/trunk/main/i18npool/source/breakiterator/
H A Dbreakiterator_unicode.cxx247 result.endPos = result.startPos; in nextWord()
254 result.endPos = word.aBreakIterator->following(result.startPos); in nextWord()
255 if(result.endPos == BreakIterator::DONE) in nextWord()
256 result.endPos = result.startPos; in nextWord()
269 result.endPos = result.startPos; in previousWord()
276 result.endPos = word.aBreakIterator->following(result.startPos); in previousWord()
277 if(result.endPos == BreakIterator::DONE) in previousWord()
278 result.endPos = result.startPos; in previousWord()
291 result.startPos = result.endPos = nPos; in getWordBoundary()
293 result.endPos = word.aBreakIterator->following(nPos); in getWordBoundary()
[all …]
H A Dxdictionary.cxx180 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 DbreakiteratorImpl.cxx107 result.endPos = result.startPos = 0; in nextWord()
109 result.endPos = result.startPos = len; in nextWord()
117 result.startPos = result.endPos = len; in nextWord()
137 result.endPos = result.startPos = 0; in previousWord()
140 result.endPos = result.startPos = len; in previousWord()
150 result.endPos = -1; in previousWord()
163 result.endPos = result.startPos = 0; in getWordBoundary()
165 result.endPos = result.startPos = len; in getWordBoundary()
171 result.endPos = result.startPos = nPos; in getWordBoundary()
173 result.endPos = result.startPos = 0; in getWordBoundary()
[all …]
H A Dbreakiterator_th.cxx131 sal_Int32 len = cachedText.getLength(), startPos, endPos; in makeIndex() local
135 endPos = nStartPos+1; in makeIndex()
136 while (endPos < len && is_Thai(str[endPos])) endPos++; in makeIndex()
141 while (pos < endPos) { in makeIndex()
142 end += getACell(str, start, endPos); in makeIndex()
H A Dbreakiterator_cjk.cxx56 if (result.endPos - result.startPos != 1 || in previousWord()
60 if (result.endPos < anyPos) in previousWord()
73 if (result.endPos - result.startPos != 1 || in nextWord()
90 if (result.endPos - result.startPos != 1 || in getWordBoundary()
/trunk/main/i18npool/source/transliteration/
H A Dtransliteration_Numeric.cxx67 sal_Int32 number = -1, j = 0, endPos = startPos + nCount; in transliterateBullet() local
69 if (endPos > inStr.getLength()) in transliterateBullet()
70 endPos = inStr.getLength(); in transliterateBullet()
78 for (sal_Int32 i = startPos; i < endPos; i++) { in transliterateBullet()
79 if (i < endPos && isNumber(inStr[i])) { in transliterateBullet()
101 } else if (i < endPos) { in transliterateBullet()
/trunk/main/sw/source/core/txtnode/
H A Dtxtedt.cxx705 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 …]
/trunk/main/sw/source/core/access/
H A Daccpara.cxx799 rBound.endPos = nPos+1; in GetCharBoundary()
874 rBound.endPos = nPos; in GetWordBoundary()
913 rBound.endPos = rText.getLength(); in GetParagraphBoundary()
947 rBound.endPos = pBreakIt->GetBreakIter()->nextCharacters( in GetGlyphBoundary()
950 rText, rBound.endPos, aLocale, nIterMode, 1, nDone ); in GetGlyphBoundary()
952 bRet = ((rBound.startPos <= nPos) && (nPos <= rBound.endPos)); in GetGlyphBoundary()
954 DBG_ASSERT( rBound.endPos >= nPos, "end pos too low" ); in GetGlyphBoundary()
960 rBound.endPos = nPos; in GetGlyphBoundary()
1048 … rBound.endPos = min(xub_StrLen(nNext + nLen),(xub_StrLen)rBound.endPos); in GetTextBoundary()
1054 rBound.endPos = min(nNext,(xub_StrLen)rBound.endPos); in GetTextBoundary()
[all …]
H A Daccportions.cxx439 rBound.endPos = rPositions[nPos+1]; in FillBoundary()
568 rBound.endPos = 0; in GetSentenceBoundary()
742 rBound.endPos = aFieldPosition[i + 1]; in FillBoundaryIFDateField()
/trunk/main/sdext/source/presenter/
H A DPresenterTextView.cxx797 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 …]
/trunk/main/offapi/com/sun/star/util/
H A DXTextSearch.idl49 /** 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 );
/trunk/main/sc/source/core/tool/
H A Drangeutl.cxx67 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()
/trunk/main/editeng/source/misc/
H A Dhangulhanja.cxx405 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()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/util/
H A D_XTextSearch.java51 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()
/trunk/main/i18npool/source/textconversion/
H A Dtextconversion_ko.cxx208 result.Boundary.startPos = result.Boundary.endPos = 0; in getConversions()
282 result.Boundary.endPos = start + len + nStartPos; in getConversions()
306 for (sal_Int32 start = nStartPos; length + nStartPos > start; start = result.Boundary.endPos) { in getConversion()
310 if (result.Boundary.endPos > 0) { in getConversion()
/trunk/main/accessibility/source/extended/
H A Dtextwindowaccessibility.cxx559 return ::css::accessibility::TextSegment( getTextRange(aBoundary.startPos, aBoundary.endPos), in getTextAtLineNumber()
560 aBoundary.startPos, aBoundary.endPos); in getTextAtLineNumber()
682 rBoundary.endPos = nLength; in implGetParagraphBoundary()
687 rBoundary.endPos = nIndex; in implGetParagraphBoundary()
703 rBoundary.endPos = aBoundary.endPos; in implGetLineBoundary()
708 rBoundary.endPos = nIndex; in implGetLineBoundary()
1354 aBoundary.endPos = nIndex; in retrieveParagraphLineBoundary()
1379 aBoundary.endPos = nLineEnd; in retrieveParagraphLineBoundary()
1396 aBoundary.endPos = 0; in retrieveParagraphBoundaryOfLine()
1420 aBoundary.endPos = nLineEnd; in retrieveParagraphBoundaryOfLine()
/trunk/main/sw/source/core/unocore/
H A Dunotextmarkup.cxx103 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()
/trunk/main/editeng/source/accessibility/
H A DAccessibleEditableTextPara.cxx227 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 …]
/trunk/main/basctl/source/dlged/
H A Dmanagelang.cxx81 while ( aBoundary.startPos != aBoundary.endPos ) in getLongestWordWidth()
83 nStartPos = aBoundary.endPos; in getLongestWordWidth()
86 (sal_uInt16)aBoundary.endPos - (sal_uInt16)aBoundary.startPos ) ); in getLongestWordWidth()
/trunk/main/xmerge/java/aportisdoc/src/main/java/org/openoffice/xmerge/converter/xml/sxw/aportisdoc/
H A DDocumentDeserializerImpl.java289 int startPos, int endPos) { in addTextNode() argument
291 String str = new String(text, startPos, endPos - startPos + 1); in addTextNode()
/trunk/main/sw/source/core/text/
H A Dwrong.cxx540 …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()

123