Home
last modified time | relevance | path

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

123

/aoo42x/main/comphelper/source/misc/
H A Daccessibletexthelper.cxx140 rBoundary.endPos = nEndIndex; in implGetGlyphBoundary()
147 rBoundary.endPos = nIndex; in implGetGlyphBoundary()
178 rBoundary.endPos = nIndex; in implGetWordBoundary()
203 rBoundary.endPos = nIndex; in implGetSentenceBoundary()
224 rBoundary.endPos = nFound + 1; in implGetParagraphBoundary()
229 rBoundary.endPos = nIndex; in implGetParagraphBoundary()
243 rBoundary.endPos = nLength; in implGetLineBoundary()
248 rBoundary.endPos = nIndex; in implGetLineBoundary()
600 if ( aBoundary.endPos < nLength ) in getTextBehindIndex()
634 sal_Int32 nI = aBoundary.endPos; in getTextBehindIndex()
[all …]
/aoo42x/main/i18npool/source/search/
H A Dtextsearch.cxx282 endPos = FindPosInSeq_Impl( offset, endPos ); in searchForward()
336 if( endPos ) in searchBackward()
380 if( endPos ) in searchBackward()
381 endPos = FindPosInSeq_Impl( offset, endPos ); in searchBackward()
795 if( ++startPos >= endPos) in RESrchFrwrd()
893 nEnd = aWBnd.endPos > endPos ? endPos : aWBnd.endPos; in ApproxSrchFrwrd()
910 (aWBnd.endPos != aWTemp.getLength() && aWBnd.endPos != nEnd) ); in ApproxSrchFrwrd()
937 if( aWBnd.endPos <= endPos ) in ApproxSrchBkwrd()
939 nStt = aWBnd.startPos < endPos ? endPos : aWBnd.startPos; in ApproxSrchBkwrd()
940 nEnd = aWBnd.endPos > startPos ? startPos : aWBnd.endPos; in ApproxSrchBkwrd()
[all …]
H A Dtextsearch.hxx70 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.java190 if (bounds.endPos - bounds.startPos > 3) { in _nextWord()
197 i = bounds.endPos - 1; in _nextWord()
217 if (bounds.endPos - bounds.startPos > 3) { in _previousWord()
257 bRes = bRes && iBounds.endPos == bounds.endPos; in _getWordBoundary()
342 log.println("At position + " + iBounds.endPos in _isEndWord()
579 iPos = endPos; in _beginOfCharBlock()
587 int endPos = ((Boundary)vCharBlockBounds.get(i)).endPos; in _beginOfCharBlock() local
589 bCharBlockRes &= endPos == startPos; in _beginOfCharBlock()
595 int endPos = ((Boundary)vCharBlockBounds.get in _beginOfCharBlock() local
596 (vCharBlockBounds.size() - 1)).endPos; in _beginOfCharBlock()
[all …]
/aoo42x/main/i18npool/source/breakiterator/
H A Dbreakiterator_unicode.cxx249 result.endPos = 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()
279 if(result.endPos == BreakIterator::DONE) in previousWord()
280 result.endPos = result.startPos; in previousWord()
293 result.startPos = result.endPos = nPos; in getWordBoundary()
304 result.endPos = len; in getWordBoundary()
311 result.startPos = result.endPos; in getWordBoundary()
312 else if (result.endPos == BreakIterator::DONE) in getWordBoundary()
[all …]
H A Dxdictionary.cxx198 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()
373 boundary.endPos = anyPos < len ? anyPos : len; in getWordBoundary()
377 while (boundary.endPos < len) in getWordBoundary()
379 sal_Int32 indexUtf16 = boundary.endPos; in getWordBoundary()
[all …]
H A DbreakiteratorImpl.cxx109 result.endPos = result.startPos = 0; in nextWord()
111 result.endPos = result.startPos = 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()
177 result.endPos = result.startPos = len; in getWordBoundary()
[all …]
H A Dbreakiterator_th.cxx132 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 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()
91 if (result.endPos - result.startPos != 1 || in getWordBoundary()
/aoo42x/main/i18npool/source/transliteration/
H A Dtransliteration_Numeric.cxx70 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 Dtxtedt.cxx705 if (aBndry.startPos == aBndry.endPos) in GetCurWord()
714 aBndry.endPos = aBndry.startPos; in GetCurWord()
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()
817 const sal_Int32 nEnd = Min( aBound.endPos, nScriptEnd ); in NextWord()
851 aBound.endPos = Min( (xub_StrLen)aBound.endPos, nEndPos ); in NextWord()
853 nLen = (xub_StrLen)(aBound.endPos - nBegin); in NextWord()
1701 if (aSttBndry.endPos <= nStt) in TransliterateText()
1704 GetTxt(), aSttBndry.endPos, in TransliterateText()
[all …]
/aoo42x/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 …]
/aoo42x/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()
/aoo42x/main/sw/source/core/access/
H A Daccpara.cxx800 rBound.endPos = nPos+1; in GetCharBoundary()
875 rBound.endPos = nPos; in GetWordBoundary()
914 rBound.endPos = rText.getLength(); in GetParagraphBoundary()
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()
1068 rBound.endPos = min(nNext,(xub_StrLen)rBound.endPos); in GetTextBoundary()
2930 aResult.SegmentEnd = aBound.endPos; in getTextAtIndex()
2980 aResult.SegmentEnd = preBound.endPos; in getTextBeforeIndex()
3001 aResult.SegmentEnd = aBound.endPos; in getTextBeforeIndex()
[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()
/aoo42x/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 );
/aoo42x/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()
/aoo42x/main/qadevOOo/tests/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()
/aoo42x/main/i18npool/source/textconversion/
H A Dtextconversion_ko.cxx209 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/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()
/aoo42x/main/accessibility/source/extended/
H A Dtextwindowaccessibility.cxx621 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/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 …]
/aoo42x/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()
/aoo42x/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()
/aoo42x/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()

Completed in 154 milliseconds

123