Home
last modified time | relevance | path

Searched refs:nStartPos (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/dports/editors/libreoffice6/libreoffice-6.4.7.2/i18npool/source/breakiterator/
H A DbreakiteratorImpl.cxx119 if (result.startPos < nStartPos) result.startPos = nStartPos; in nextWord()
224 if (nStartPos < 0 || nStartPos > Text.getLength()) in beginOfSentence()
233 if (nStartPos < 0 || nStartPos > Text.getLength()) in endOfSentence()
258 if (nStartPos + inc < 0 || nStartPos + inc >= nLen) { in iterateCodePoints()
260 nStartPos = nStartPos + inc < 0 ? -1 : nLen; in iterateCodePoints()
283 if (nStartPos < 0 || nStartPos >= Text.getLength()) in beginOfScript()
301 if (nStartPos < 0 || nStartPos >= Text.getLength()) in endOfScript()
364 if (nStartPos < 0 || nStartPos >= Text.getLength()) return -1; in beginOfCharBlock()
378 if (nStartPos < 0 || nStartPos >= strLen) return -1; in endOfCharBlock()
390 if (nStartPos < 0 || nStartPos >= Text.getLength()) return -1; in nextCharBlock()
[all …]
H A Dbreakiterator_cjk.cxx111 (Text.iterateCodePoints( &nStartPos ), nStartPos == Text.getLength())) { in getLineBreak()
113 } else if (bOptions.applyForbiddenRules && 0 < nStartPos && nStartPos < Text.getLength()) { in getLineBreak()
115 while (nStartPos > 0 && in getLineBreak()
122 if (nOldStartPos == nStartPos && nStartPos < Text.getLength() in getLineBreak()
123 && isHangul(Text[nStartPos])) in getLineBreak()
125 while ( nStartPos >= 0 && isHangul( Text[nStartPos] ) ) in getLineBreak()
126 --nStartPos; in getLineBreak()
130 ++nStartPos; in getLineBreak()
132 if ( nStartPos == 0 ) in getLineBreak()
133 nStartPos = nOldStartPos; in getLineBreak()
[all …]
H A Dbreakiterator_th.cxx61 makeIndex(Text, nStartPos); in previousCharacters()
68 nStartPos = m_aPreviousCellIndex[nStartPos - 1]; in previousCharacters()
71 nStartPos = 0; in previousCharacters()
77 return nStartPos; in previousCharacters()
87 if (nStartPos < len) { in nextCharacters()
95 nStartPos = m_aNextCellIndex[nStartPos]; in nextCharacters()
98 nStartPos = len; in nextCharacters()
104 return nStartPos; in nextCharacters()
197 else if (nStartPos >= Text.getLength() || m_aNextCellIndex[nStartPos] > 0 in makeIndex()
204 sal_Int32 startPos = nStartPos; in makeIndex()
[all …]
H A Dbreakiterator_unicode.cxx333 nStartPos = pBI->following(nStartPos); in nextCharacters()
341 return nStartPos; in nextCharacters()
352 nStartPos = pBI->preceding(nStartPos); in previousCharacters()
360 return nStartPos; in previousCharacters()
453 nStartPos = sentence.mpValue->mpBreakIterator->preceding(nStartPos); in beginOfSentence()
460 return nStartPos; in beginOfSentence()
471 nStartPos = sentence.mpValue->mpBreakIterator->following(nStartPos); in endOfSentence()
476 return nStartPos; in endOfSentence()
499 if (pLineBI->preceding(nStartPos + 1) == nStartPos in getLineBreak()
500 && (nStartPos == 0 || Text[nStartPos - 1] != '/')) in getLineBreak()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/i18npool/source/breakiterator/
H A DbreakiteratorImpl.cxx261 if (nStartPos < 0 || nStartPos > Text.getLength()) in beginOfSentence()
270 if (nStartPos < 0 || nStartPos > Text.getLength()) in endOfSentence()
295 if (nStartPos + inc < 0 || nStartPos + inc >= nLen) { in iterateCodePoints()
297 nStartPos = nStartPos + inc < 0 ? -1 : nLen; in iterateCodePoints()
320 if (nStartPos < 0 || nStartPos >= Text.getLength()) in beginOfScript()
338 if (nStartPos < 0 || nStartPos >= Text.getLength()) in endOfScript()
351 return nStartPos; in endOfScript()
401 if (nStartPos < 0 || nStartPos >= Text.getLength()) return -1; in beginOfCharBlock()
415 if (nStartPos < 0 || nStartPos >= strLen) return -1; in endOfCharBlock()
427 if (nStartPos < 0 || nStartPos >= Text.getLength()) return -1; in nextCharBlock()
[all …]
H A Dbreakiterator_cjk.cxx111 (Text.iterateCodePoints( &nStartPos ), nStartPos == Text.getLength())) { in getLineBreak()
113 } else if (bOptions.applyForbiddenRules && 0 < nStartPos && nStartPos < Text.getLength()) { in getLineBreak()
115 while (nStartPos > 0 && in getLineBreak()
122 if (nOldStartPos == nStartPos && nStartPos < Text.getLength() in getLineBreak()
123 && isHangul(Text[nStartPos])) in getLineBreak()
125 while ( nStartPos >= 0 && isHangul( Text[nStartPos] ) ) in getLineBreak()
126 --nStartPos; in getLineBreak()
130 ++nStartPos; in getLineBreak()
132 if ( nStartPos == 0 ) in getLineBreak()
133 nStartPos = nOldStartPos; in getLineBreak()
[all …]
H A Dbreakiterator_th.cxx60 makeIndex(Text, nStartPos); in previousCharacters()
67 nStartPos = m_aPreviousCellIndex[nStartPos - 1]; in previousCharacters()
70 nStartPos = 0; in previousCharacters()
76 return nStartPos; in previousCharacters()
86 if (nStartPos < len) { in nextCharacters()
94 nStartPos = m_aNextCellIndex[nStartPos]; in nextCharacters()
97 nStartPos = len; in nextCharacters()
103 return nStartPos; in nextCharacters()
196 else if (nStartPos >= Text.getLength() || m_aNextCellIndex[nStartPos] > 0 in makeIndex()
203 sal_Int32 startPos = nStartPos; in makeIndex()
[all …]
H A Dbreakiterator_unicode.cxx337 nStartPos = pBI->following(nStartPos); in nextCharacters()
345 return nStartPos; in nextCharacters()
356 nStartPos = pBI->preceding(nStartPos); in previousCharacters()
364 return nStartPos; in previousCharacters()
457 nStartPos = sentence.mpValue->mpBreakIterator->preceding(nStartPos); in beginOfSentence()
464 return nStartPos; in beginOfSentence()
475 nStartPos = sentence.mpValue->mpBreakIterator->following(nStartPos); in endOfSentence()
480 return nStartPos; in endOfSentence()
503 if (pLineBI->preceding(nStartPos + 1) == nStartPos in getLineBreak()
504 && (nStartPos == 0 || Text[nStartPos - 1] != '/')) in getLineBreak()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/i18npool/source/inputchecker/
H A Dinputsequencechecker_th.cxx83 return check(Text[nStartPos], inputChar, inputCheckMode); in checkInputSequence()
113 if (check(Text[nStartPos], inputChar, inputCheckMode)) in correctInputSequence()
114 Text = Text.replaceAt(++nStartPos, 0, OUString(inputChar)); in correctInputSequence()
115 else if (nStartPos > 0 && getCharType(Text[nStartPos-1]) == CT_CONS) { in correctInputSequence()
122 (Text[nStartPos]==0x0E4C && CT_ABV1(t2)) ) // 8. in correctInputSequence()
125 nStartPos=Text.getLength(); in correctInputSequence()
126 } else if (nStartPos > 1 && getCharType(Text[nStartPos-2]) == CT_CONS) { in correctInputSequence()
127 …sal_uInt16 t1=getCharType(Text[nStartPos-1]), t2=getCharType(Text[nStartPos]), t3=getCharType(inpu… in correctInputSequence()
135 nStartPos=Text.getLength(); in correctInputSequence()
137 nStartPos=Text.getLength(); in correctInputSequence()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/i18npool/source/inputchecker/
H A Dinputsequencechecker_th.cxx83 return check(Text[nStartPos], inputChar, inputCheckMode); in checkInputSequence()
113 if (check(Text[nStartPos], inputChar, inputCheckMode)) in correctInputSequence()
114 Text = Text.replaceAt(++nStartPos, 0, OUString(inputChar)); in correctInputSequence()
115 else if (nStartPos > 0 && getCharType(Text[nStartPos-1]) == CT_CONS) { in correctInputSequence()
122 (Text[nStartPos]==0x0E4C && CT_ABV1(t2)) ) // 8. in correctInputSequence()
125 nStartPos=Text.getLength(); in correctInputSequence()
126 } else if (nStartPos > 1 && getCharType(Text[nStartPos-2]) == CT_CONS) { in correctInputSequence()
127 …sal_uInt16 t1=getCharType(Text[nStartPos-1]), t2=getCharType(Text[nStartPos]), t3=getCharType(inpu… in correctInputSequence()
135 nStartPos=Text.getLength(); in correctInputSequence()
137 nStartPos=Text.getLength(); in correctInputSequence()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/offapi/com/sun/star/i18n/
H A DXBreakIterator.idl49 @param nStartPos
80 @param nStartPos
109 @param nStartPos
132 @param nStartPos
243 @param nStartPos
261 @param nStartPos
279 @param nStartPos
315 @param nStartPos
333 @param nStartPos
351 @param nStartPos
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/offapi/com/sun/star/i18n/
H A DXBreakIterator.idl49 @param nStartPos
80 @param nStartPos
109 @param nStartPos
132 @param nStartPos
243 @param nStartPos
261 @param nStartPos
279 @param nStartPos
315 @param nStartPos
333 @param nStartPos
351 @param nStartPos
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/core/tool/
H A Dreffind.cxx68 while (nStartPos <= nEndPos && !IsText(p[nStartPos])) in FindStartPos()
69 ++nStartPos; in FindStartPos()
71 return nStartPos; in FindStartPos()
77 sal_Int32 nNewEnd = nStartPos; in FindEndPosA1()
86 sal_Int32 nNewEnd = nStartPos; in FindEndPosR1C1()
87 p = &p[nStartPos]; in FindEndPosR1C1()
125 return FindEndPosR1C1(p, nStartPos, nEndPos); in FindEndPos()
129 return FindEndPosA1(p, nStartPos, nEndPos); in FindEndPos()
243 if ( nEndPos < nStartPos ) in ToggleRel()
244 ::std::swap(nEndPos, nStartPos); in ToggleRel()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/core/tool/
H A Dreffind.cxx68 while (nStartPos <= nEndPos && !IsText(p[nStartPos])) in FindStartPos()
69 ++nStartPos; in FindStartPos()
71 return nStartPos; in FindStartPos()
77 sal_Int32 nNewEnd = nStartPos; in FindEndPosA1()
86 sal_Int32 nNewEnd = nStartPos; in FindEndPosR1C1()
87 p = &p[nStartPos]; in FindEndPosR1C1()
125 return FindEndPosR1C1(p, nStartPos, nEndPos); in FindEndPos()
129 return FindEndPosA1(p, nStartPos, nEndPos); in FindEndPos()
243 if ( nEndPos < nStartPos ) in ToggleRel()
244 ::std::swap(nEndPos, nStartPos); in ToggleRel()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/i18npool/source/textconversion/
H A Dtextconversion_ko.cxx136 ch = aText[nStartPos]; in getCharConversions()
169 ch = aText[nStartPos + count]; in getCharConversions()
210 sal_Int32 start, end, length = aText.getLength() - nStartPos; in getConversions()
212 if (length < 0 || nStartPos < 0) in getConversions()
229 scriptType = checkScriptType(aText[nStartPos + start]); in getConversions()
243 if (checkScriptType(aText[nStartPos + end]) != scriptType) in getConversions()
278 result.Boundary.startPos = start + nStartPos; in getConversions()
279 result.Boundary.endPos = start + len + nStartPos; in getConversions()
291 sal_Int32 length = aText.getLength() - nStartPos; in getConversion()
293 if (length <= 0 || nStartPos < 0) in getConversion()
[all …]
H A Dtextconversion_zh.cxx111 getOneCharConversion(aText[nStartPos+i], Data, Index); in getCharConversion()
165 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getWordConversion()
175 OUString word = aText.copy(nStartPos + currPos, len); in getWordConversion()
201 offset[count] = nStartPos + currPos + (current * in getWordConversion()
238 offset[count]=nStartPos + currPos + ((current-start) * in getWordConversion()
255 offset[count]=nStartPos+currPos; in getWordConversion()
257 getOneCharConversion(aText[nStartPos+currPos], charData, charIndex); in getWordConversion()
275 result.Boundary.startPos = nStartPos; in getConversions()
276 result.Boundary.endPos = nStartPos + nLength; in getConversions()
293 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getConversion()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/i18npool/source/textconversion/
H A Dtextconversion_ko.cxx141 ch = aText[nStartPos]; in getCharConversions()
169 ch = aText[nStartPos + count]; in getCharConversions()
213 sal_Int32 start, end, length = aText.getLength() - nStartPos; in getConversions()
215 if (length < 0 || nStartPos < 0) in getConversions()
232 scriptType = checkScriptType(aText[nStartPos + start]); in getConversions()
246 if (checkScriptType(aText[nStartPos + end]) != scriptType) in getConversions()
281 result.Boundary.startPos = start + nStartPos; in getConversions()
282 result.Boundary.endPos = start + len + nStartPos; in getConversions()
294 sal_Int32 length = aText.getLength() - nStartPos; in getConversion()
296 if (length <= 0 || nStartPos < 0) in getConversion()
[all …]
H A Dtextconversion_zh.cxx111 getOneCharConversion(aText[nStartPos+i], Data, Index); in getCharConversion()
165 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getWordConversion()
175 OUString word = aText.copy(nStartPos + currPos, len); in getWordConversion()
201 offset[count] = nStartPos + currPos + (current * in getWordConversion()
237 offset[count]=nStartPos + currPos + ((current-start) * in getWordConversion()
254 offset[count]=nStartPos+currPos; in getWordConversion()
256 getOneCharConversion(aText[nStartPos+currPos], charData, charIndex); in getWordConversion()
274 result.Boundary.startPos = nStartPos; in getConversions()
275 result.Boundary.endPos = nStartPos + nLength; in getConversions()
292 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getConversion()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/i18npool/inc/
H A DbreakiteratorImpl.hxx45 virtual sal_Int32 SAL_CALL nextCharacters( const OUString& Text, sal_Int32 nStartPos,
48 virtual sal_Int32 SAL_CALL previousCharacters( const OUString& Text, sal_Int32 nStartPos,
66 virtual sal_Int32 SAL_CALL beginOfSentence( const OUString& Text, sal_Int32 nStartPos,
68 virtual sal_Int32 SAL_CALL endOfSentence( const OUString& Text, sal_Int32 nStartPos,
77 virtual sal_Int32 SAL_CALL beginOfScript( const OUString& Text, sal_Int32 nStartPos,
79 virtual sal_Int32 SAL_CALL endOfScript( const OUString& Text, sal_Int32 nStartPos,
81 virtual sal_Int32 SAL_CALL previousScript( const OUString& Text, sal_Int32 nStartPos,
83 virtual sal_Int32 SAL_CALL nextScript( const OUString& Text, sal_Int32 nStartPos,
86 virtual sal_Int32 SAL_CALL beginOfCharBlock( const OUString& Text, sal_Int32 nStartPos,
88 virtual sal_Int32 SAL_CALL endOfCharBlock( const OUString& Text, sal_Int32 nStartPos,
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/i18npool/inc/
H A DbreakiteratorImpl.hxx46 virtual sal_Int32 SAL_CALL nextCharacters( const OUString& Text, sal_Int32 nStartPos,
49 virtual sal_Int32 SAL_CALL previousCharacters( const OUString& Text, sal_Int32 nStartPos,
67 virtual sal_Int32 SAL_CALL beginOfSentence( const OUString& Text, sal_Int32 nStartPos,
69 virtual sal_Int32 SAL_CALL endOfSentence( const OUString& Text, sal_Int32 nStartPos,
78 virtual sal_Int32 SAL_CALL beginOfScript( const OUString& Text, sal_Int32 nStartPos,
80 virtual sal_Int32 SAL_CALL endOfScript( const OUString& Text, sal_Int32 nStartPos,
82 virtual sal_Int32 SAL_CALL previousScript( const OUString& Text, sal_Int32 nStartPos,
84 virtual sal_Int32 SAL_CALL nextScript( const OUString& Text, sal_Int32 nStartPos,
87 virtual sal_Int32 SAL_CALL beginOfCharBlock( const OUString& Text, sal_Int32 nStartPos,
89 virtual sal_Int32 SAL_CALL endOfCharBlock( const OUString& Text, sal_Int32 nStartPos,
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/chart2/source/tools/
H A DXMLRangeHelper.cxx107 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getSingleCellAddressFromXMLString() argument
114 OUString aCellStr = rXMLString.copy( nStartPos, nEndPos - nStartPos + 1 ).toAsciiUpperCase(); in lcl_getSingleCellAddressFromXMLString()
151 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getCellAddressFromXMLString() argument
159 sal_Int32 nNextDelimiterPos = nStartPos; in lcl_getCellAddressFromXMLString()
161 sal_Int32 nDelimiterPos = nStartPos; in lcl_getCellAddressFromXMLString()
204 nDelimiterPos = nStartPos; in lcl_getCellAddressFromXMLString()
226 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getCellRangeAddressFromXMLString() argument
234 sal_Int32 nDelimiterPos = nStartPos; in lcl_getCellRangeAddressFromXMLString()
303 for( sal_Int32 nStartPos = 0, nEndPos = nStartPos; in getCellRangeFromXMLString() local
305 nStartPos = ++nEndPos ) in getCellRangeFromXMLString()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/chart2/source/tools/
H A DXMLRangeHelper.cxx107 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getSingleCellAddressFromXMLString() argument
114 OUString aCellStr = rXMLString.copy( nStartPos, nEndPos - nStartPos + 1 ).toAsciiUpperCase(); in lcl_getSingleCellAddressFromXMLString()
151 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getCellAddressFromXMLString() argument
159 sal_Int32 nNextDelimiterPos = nStartPos; in lcl_getCellAddressFromXMLString()
161 sal_Int32 nDelimiterPos = nStartPos; in lcl_getCellAddressFromXMLString()
204 nDelimiterPos = nStartPos; in lcl_getCellAddressFromXMLString()
226 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getCellRangeAddressFromXMLString() argument
234 sal_Int32 nDelimiterPos = nStartPos; in lcl_getCellRangeAddressFromXMLString()
305 for( sal_Int32 nStartPos = 0, nEndPos = nStartPos; in getCellRangeFromXMLString() local
307 nStartPos = ++nEndPos ) in getCellRangeFromXMLString()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/connectivity/source/drivers/file/
H A Dquotedstring.cxx83 …OUString QuotedTokenizedString::GetTokenSpecial(sal_Int32& nStartPos, sal_Unicode cTok, sal_Unicod… in GetTokenSpecial() argument
88 …bool bInString = (nStartPos < nLen) && (m_sString[nStartPos] == cStrDel); // are we WITHIN a (cS… in GetTokenSpecial()
92 ++nStartPos; // skip this character! in GetTokenSpecial()
93 if ( nStartPos >= nLen ) in GetTokenSpecial()
96 OUStringBuffer sBuff( nLen - nStartPos + 1 ); in GetTokenSpecial()
99 for( sal_Int32 i = nStartPos; i < nLen; ++i ) in GetTokenSpecial()
131 nStartPos = i+1; in GetTokenSpecial()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/connectivity/source/drivers/file/
H A Dquotedstring.cxx83 …OUString QuotedTokenizedString::GetTokenSpecial(sal_Int32& nStartPos, sal_Unicode cTok, sal_Unicod… in GetTokenSpecial() argument
88 …bool bInString = (nStartPos < nLen) && (m_sString[nStartPos] == cStrDel); // are we WITHIN a (cS… in GetTokenSpecial()
92 ++nStartPos; // skip this character! in GetTokenSpecial()
93 if ( nStartPos >= nLen ) in GetTokenSpecial()
96 OUStringBuffer sBuff( nLen - nStartPos + 1 ); in GetTokenSpecial()
99 for( sal_Int32 i = nStartPos; i < nLen; ++i ) in GetTokenSpecial()
131 nStartPos = i+1; in GetTokenSpecial()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/unocore/
H A DXMLRangeHelper.cxx106 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getSingleCellAddressFromXMLString() argument
113 OUString aCellStr = rXMLString.copy( nStartPos, nEndPos - nStartPos + 1 ).toAsciiUpperCase(); in lcl_getSingleCellAddressFromXMLString()
150 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getCellAddressFromXMLString() argument
160 sal_Int32 nDelimiterPos = nStartPos; in lcl_getCellAddressFromXMLString()
181 if( nDelimiterPos > nStartPos ) in lcl_getCellAddressFromXMLString()
225 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getCellRangeAddressFromXMLString() argument
233 sal_Int32 nDelimiterPos = nStartPos; in lcl_getCellRangeAddressFromXMLString()
290 sal_Int32 nStartPos = 0; in getCellRangeFromXMLString() local
291 sal_Int32 nEndPos = nStartPos; in getCellRangeFromXMLString()
300 nStartPos = ++nEndPos, i++ ) in getCellRangeFromXMLString()
[all …]

12345678910>>...22