Home
last modified time | relevance | path

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

123456789

/aoo41x/main/i18npool/source/breakiterator/
H A DbreakiteratorImpl.cxx228 if (nStartPos < 0 || nStartPos > Text.getLength()) in beginOfSentence()
237 if (nStartPos < 0 || nStartPos > Text.getLength()) in endOfSentence()
263 if (nStartPos + inc < 0 || nStartPos + inc >= nLen) { in iterateCodePoints()
265 nStartPos = nStartPos + inc < 0 ? -1 : nLen; in iterateCodePoints()
281 return nStartPos; in iterateCodePoints()
288 if (nStartPos < 0 || nStartPos >= Text.getLength()) in beginOfScript()
306 if (nStartPos < 0 || nStartPos >= Text.getLength()) in endOfScript()
374 if (nStartPos < 0 || nStartPos >= Text.getLength()) return -1; in beginOfCharBlock()
388 if (nStartPos < 0 || nStartPos >= strLen) return -1; in endOfCharBlock()
400 if (nStartPos < 0 || nStartPos >= Text.getLength()) return -1; in nextCharBlock()
[all …]
H A Dbreakiterator_unicode.cxx211 nStartPos = character.aBreakIterator->following(nStartPos); in nextCharacters()
219 return nStartPos; in nextCharacters()
230 nStartPos = character.aBreakIterator->preceding(nStartPos); in previousCharacters()
238 return nStartPos; in previousCharacters()
328 nStartPos = sentence.aBreakIterator->preceding(nStartPos); in beginOfSentence()
332 while (nStartPos < len && u_isWhitespace(ch)) ch = Text.iterateCodePoints(&nStartPos, 1); in beginOfSentence()
335 return nStartPos; in beginOfSentence()
346 nStartPos = sentence.aBreakIterator->following(nStartPos); in endOfSentence()
348 sal_Int32 nPos=nStartPos; in endOfSentence()
351 return nStartPos; in endOfSentence()
[all …]
H A Dbreakiterator_ctl.cxx78 nStartPos = previousCellIndex[nStartPos - 1]; in previousCharacters()
81 nStartPos = 0; in previousCharacters()
83 nDone = (nStartPos > nCount) ? nCount : nStartPos; in previousCharacters()
84 nStartPos -= nDone; in previousCharacters()
87 return nStartPos; in previousCharacters()
98 if (nStartPos < len) { in nextCharacters()
106 nStartPos = nextCellIndex[nStartPos]; in nextCharacters()
109 nStartPos = len; in nextCharacters()
111 nDone = (len - nStartPos > nCount) ? nCount : len - nStartPos; in nextCharacters()
112 nStartPos += nDone; in nextCharacters()
[all …]
H A Dbreakiterator_cjk.cxx99 const OUString& Text, sal_Int32 nStartPos, in getLineBreak() argument
107 hangingCharacters.indexOf(Text[nStartPos]) != -1 && in getLineBreak()
108 (Text.iterateCodePoints( &nStartPos, 1), nStartPos == Text.getLength())) { in getLineBreak()
110 } else if (bOptions.applyForbiddenRules && 0 < nStartPos && nStartPos < Text.getLength()) { in getLineBreak()
111 while (nStartPos > 0 && in getLineBreak()
112 (bOptions.forbiddenBeginCharacters.indexOf(Text[nStartPos]) != -1 || in getLineBreak()
113 bOptions.forbiddenEndCharacters.indexOf(Text[nStartPos-1]) != -1)) in getLineBreak()
114 Text.iterateCodePoints( &nStartPos, -1); in getLineBreak()
117 lbr.breakIndex = nStartPos; in getLineBreak()
/aoo41x/main/i18npool/source/inputchecker/
H A Dinputsequencechecker_th.cxx90 return check(Text[nStartPos], inputChar, inputCheckMode); in checkInputSequence()
121 if (check(Text[nStartPos], inputChar, inputCheckMode)) in correctInputSequence()
122 Text = Text.replaceAt(++nStartPos, 0, OUString(inputChar)); in correctInputSequence()
123 else if (nStartPos > 0 && getCharType(Text[nStartPos-1]) == CT_CONS) { in correctInputSequence()
130 (Text[nStartPos]==0x0E4C && CT_ABV1(t2)) ) // 8. in correctInputSequence()
133 nStartPos=Text.getLength(); in correctInputSequence()
134 } else if (nStartPos > 1 && getCharType(Text[nStartPos-2]) == CT_CONS) { in correctInputSequence()
135 …sal_uInt16 t1=getCharType(Text[nStartPos-1]), t2=getCharType(Text[nStartPos]), t3=getCharType(inpu… in correctInputSequence()
143 nStartPos=Text.getLength(); in correctInputSequence()
145 nStartPos=Text.getLength(); in correctInputSequence()
[all …]
/aoo41x/main/linguistic/source/
H A Dgciterator.cxx156 if (nStartPos < 0) in lcl_SkipWhiteSpaces()
159 nStartPos = 0; in lcl_SkipWhiteSpaces()
161 if (nStartPos > nLen) in lcl_SkipWhiteSpaces()
164 nStartPos = nLen; in lcl_SkipWhiteSpaces()
171 sal_Int32 nRes = nStartPos; in lcl_SkipWhiteSpaces()
172 if (0 <= nStartPos && nStartPos < nLen) in lcl_SkipWhiteSpaces()
191 if (nStartPos < 0) in lcl_BacktraceWhiteSpaces()
194 nStartPos = 0; in lcl_BacktraceWhiteSpaces()
196 if (nStartPos > nLen) in lcl_BacktraceWhiteSpaces()
199 nStartPos = nLen; in lcl_BacktraceWhiteSpaces()
[all …]
/aoo41x/main/i18npool/source/textconversion/
H A Dtextconversion_ko.cxx133 ch = aText[nStartPos]; in getCharConversions()
160 ch = aText[nStartPos + count]; in getCharConversions()
214 sal_Int32 start, end, length = aText.getLength() - nStartPos; in getConversions()
216 if (length < 0 || nStartPos < 0) in getConversions()
233 scriptType = checkScriptType(aText[nStartPos + start]); in getConversions()
282 result.Boundary.startPos = start + nStartPos;; in getConversions()
283 result.Boundary.endPos = start + len + nStartPos; in getConversions()
297 sal_Int32 length = aText.getLength() - nStartPos; in getConversion()
299 if (length <= 0 || nStartPos < 0) in getConversion()
308 for (sal_Int32 start = nStartPos; length + nStartPos > start; start = result.Boundary.endPos) { in getConversion()
[all …]
H A Dtextconversion_zh.cxx86 getOneCharConversion(aText[nStartPos+i], Data, Index); in getCharConversion()
120 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getWordConversion()
130 OUString word = aText.copy(nStartPos + currPos, len); in getWordConversion()
156 offset[count] = nStartPos + currPos + (current * in getWordConversion()
192 offset[count]=nStartPos + currPos + ((current-start) * in getWordConversion()
209 offset[count]=nStartPos+currPos; in getWordConversion()
211 getOneCharConversion(aText[nStartPos+currPos], charData, charIndex); in getWordConversion()
223 TextConversion_zh::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversions() argument
231 result.Boundary.startPos = nStartPos; in getConversions()
232 result.Boundary.endPos = nStartPos + nLength; in getConversions()
[all …]
H A DtextconversionImpl.cxx37 TextConversionImpl::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversions() argument
43 sal_Int32 len = aText.getLength() - nStartPos; in getConversions()
46 …return xTC->getConversions(aText, nStartPos, nLength, rLocale, nConversionType, nConversionOptions… in getConversions()
50 TextConversionImpl::getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversion() argument
56 sal_Int32 len = aText.getLength() - nStartPos; in getConversion()
59 …return xTC->getConversion(aText, nStartPos, nLength, rLocale, nConversionType, nConversionOptions); in getConversion()
63 TextConversionImpl::getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 … in getConversionWithOffset() argument
69 sal_Int32 len = aText.getLength() - nStartPos; in getConversionWithOffset()
72 …return xTC->getConversionWithOffset(aText, nStartPos, nLength, rLocale, nConversionType, nConversi… in getConversionWithOffset()
/aoo41x/main/offapi/com/sun/star/i18n/
H A DXBreakIterator.idl63 <em>nStartPos</em> forwards.
72 long nextCharacters( [in] string aText, [in] long nStartPos,
79 <em>nStartPos</em> backwards.
104 Boundary nextWord( [in] string aText, [in] long nStartPos,
219 long endOfSentence( [in] string aText, [in] long nStartPos,
224 <em>nStartPos</em>.
260 long beginOfScript( [in] string aText, [in] long nStartPos,
273 long endOfScript( [in] string aText, [in] long nStartPos,
286 long nextScript( [in] string aText, [in] long nStartPos,
299 long previousScript( [in] string aText, [in] long nStartPos,
[all …]
/aoo41x/main/chart2/source/tools/
H A DXMLRangeHelper.cxx124 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getSingleCellAddressFromXMLString() argument
131 …::rtl::OUString aCellStr = rXMLString.copy( nStartPos, nEndPos - nStartPos + 1 ).toAsciiUpperCase(… in lcl_getSingleCellAddressFromXMLString()
168 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getCellAddressFromXMLString() argument
178 sal_Int32 nDelimiterPos = nStartPos; in lcl_getCellAddressFromXMLString()
221 nDelimiterPos = nStartPos; in lcl_getCellAddressFromXMLString()
243 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getCellRangeAddressFromXMLString() argument
251 sal_Int32 nDelimiterPos = nStartPos; in lcl_getCellRangeAddressFromXMLString()
318 sal_Int32 nStartPos = 0; in getCellRangeFromXMLString() local
319 sal_Int32 nEndPos = nStartPos; in getCellRangeFromXMLString()
328 nStartPos = ++nEndPos, i++ ) in getCellRangeFromXMLString()
[all …]
/aoo41x/main/sd/source/ui/unoidl/
H A Dunosrch.cxx532 …if( (aStartSel.nStartPos == aEndSel.nStartPos) || ( (aStartSel.nStartPos == (aEndSel.nStartPos - 1… in Search()
538 *pPos++ = aStartSel.nStartPos; in Search()
550 nLastPos = aStartSel.nStartPos; in Search()
572 DBG_ASSERT( aEndSel.nStartPos == aStartSel.nStartPos, "Search is not working" ); in Search()
602 sal_Int32 nStartPos; in Search() local
604 for( nStartPos = 0; nStartPos < nTextLen; nStartPos++ ) in Search()
606 if( pConvertPara[nStartPos] == aSel.nStartPara && pConvertPos[nStartPos] == aSel.nStartPos ) in Search()
614 ESelection aSelection( (sal_uInt16)pConvertPara[nStartPos], (sal_uInt16)pConvertPos[nStartPos], in Search()
655 nStartPos = nFound; in Search()
660 if( (nStartPos > 0 && aText.getStr()[nStartPos-1] > ' ') || in Search()
[all …]
/aoo41x/main/sw/source/core/unocore/
H A DXMLRangeHelper.cxx124 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getSingleCellAddressFromXMLString() argument
131 …::rtl::OUString aCellStr = rXMLString.copy( nStartPos, nEndPos - nStartPos + 1 ).toAsciiUpperCase(… in lcl_getSingleCellAddressFromXMLString()
168 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getCellAddressFromXMLString() argument
178 sal_Int32 nDelimiterPos = nStartPos; in lcl_getCellAddressFromXMLString()
199 if( nDelimiterPos > nStartPos ) in lcl_getCellAddressFromXMLString()
243 sal_Int32 nStartPos, sal_Int32 nEndPos, in lcl_getCellRangeAddressFromXMLString() argument
251 sal_Int32 nDelimiterPos = nStartPos; in lcl_getCellRangeAddressFromXMLString()
312 sal_Int32 nStartPos = 0; in getCellRangeFromXMLString() local
313 sal_Int32 nEndPos = nStartPos; in getCellRangeFromXMLString()
322 nStartPos = ++nEndPos, i++ ) in getCellRangeFromXMLString()
[all …]
/aoo41x/main/i18npool/inc/
H A DbreakiteratorImpl.hxx57 virtual sal_Int32 SAL_CALL nextCharacters( const rtl::OUString& Text, sal_Int32 nStartPos,
64 virtual Boundary SAL_CALL previousWord( const rtl::OUString& Text, sal_Int32 nStartPos,
66 virtual Boundary SAL_CALL nextWord( const rtl::OUString& Text, sal_Int32 nStartPos,
79 virtual sal_Int32 SAL_CALL beginOfSentence( const rtl::OUString& Text, sal_Int32 nStartPos,
81 virtual sal_Int32 SAL_CALL endOfSentence( const rtl::OUString& Text, sal_Int32 nStartPos,
91 virtual sal_Int32 SAL_CALL beginOfScript( const rtl::OUString& Text, sal_Int32 nStartPos,
93 virtual sal_Int32 SAL_CALL endOfScript( const rtl::OUString& Text, sal_Int32 nStartPos,
95 virtual sal_Int32 SAL_CALL previousScript( const rtl::OUString& Text, sal_Int32 nStartPos,
97 virtual sal_Int32 SAL_CALL nextScript( const rtl::OUString& Text, sal_Int32 nStartPos,
106 virtual sal_Int32 SAL_CALL nextCharBlock( const rtl::OUString& Text, sal_Int32 nStartPos,
[all …]
H A Dtextconversion.hxx50 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
57 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
64 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
110 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
117 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
124 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
146 …getCharConversions(const rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, sal_Bool to…
166 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
173 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
180 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
[all …]
/aoo41x/main/svtools/source/contnr/
H A Dsvtreebx.cxx231 long nStartPos = TAB_STARTPOS; in SetTabs() local
267 AddTab( nStartPos, TABFLAGS_TEXT ); in SetTabs()
274 nStartPos += nContextWidthDIV2; in SetTabs()
280 AddTab( nStartPos, TABFLAGS_TEXT ); in SetTabs()
287 nStartPos += nCheckWidthDIV2; in SetTabs()
297 AddTab( nStartPos, TABFLAGS_TEXT ); in SetTabs()
301 nStartPos += nCheckWidthDIV2; in SetTabs()
2491 long nStartPos = TAB_STARTPOS; in GetTextOffset() local
2539 nStartPos += nCheckWidthDIV2; in GetTextOffset()
2550 nStartPos += nCheckWidthDIV2; in GetTextOffset()
[all …]
/aoo41x/main/cppcanvas/source/mtfrenderer/
H A Dtextaction.cxx630 sal_Int32 nStartPos,
637 sal_Int32 nStartPos,
859 maStringContext( rText, nStartPos, nLen ), in EffectTextAction()
899 maStringContext( rText, nStartPos, nLen ), in EffectTextAction()
1081 nStartPos, in TextArrayAction()
1104 nStartPos, in TextArrayAction()
1313 nStartPos, in EffectTextArrayAction()
1354 nStartPos, in EffectTextArrayAction()
2059 nStartPos, in createOutline()
2148 nStartPos, in createTextAction()
[all …]
/aoo41x/main/editeng/inc/editeng/
H A Deditdata.hxx127 xub_StrLen nStartPos; member
131 ESelection() : nStartPara( 0 ), nStartPos( 0 ), nEndPara( 0 ), nEndPos( 0 ) {} in ESelection()
135 nStartPos( nStPos ), in ESelection()
143 nStartPos( nPos ), in ESelection()
159 return ( nStartPara != nEndPara ) || ( nStartPos != nEndPos ); in HasRange()
164 return ( ( nStartPara == 0 ) && ( nStartPos == 0 ) && in IsZero()
170 return ( ( nStartPara == rS.nStartPara ) && ( nStartPos == rS.nStartPos ) && in IsEqual()
180 ( ( nEndPara == rS.nStartPara ) && ( nEndPos < rS.nStartPos ) && !IsEqual( rS ) ) ) in IsLess()
205 else if ( ( nStartPara == nEndPara ) && ( nStartPos > nEndPos ) ) in Adjust()
210 sal_uInt16 nSPar = nStartPara; sal_uInt16 nSPos = nStartPos; in Adjust()
[all …]
/aoo41x/main/sw/source/filter/ww8/dump/
H A Dww8scan.cxx2049 if( nStartPos >= 0 ) in WW8PLCFspecial()
2158 if( nStartPos >= 0 ) in WW8PLCF()
2177 if( nStartPos >= 0 ) in WW8PLCF()
2322 if( nStartPos >= 0 ) in WW8PLCFpcd_Iter()
3173 p->nStartPos = rSBase.WW8Fc2Cp( p->nStartPos ); in GetSprms()
3861 WW8_CP nStartPos; in GetLen() local
3869 nNum -= nStartPos; in GetLen()
4033 ASSERT((LONG_MAX == nStartPos) || (nStartPos <= nEndPos), in ReduceByOffset()
4045 nStartPos = 0; in ReduceByOffset()
4564 if (pPcd && ((p->nStartPos > pPcd->nStartPos) || in AdvSprm()
[all …]
/aoo41x/main/sc/source/core/tool/
H A Dreffind.cxx88 void ScRefFinder::ToggleRel( xub_StrLen nStartPos, xub_StrLen nEndPos ) in ToggleRel() argument
97 if ( nEndPos < nStartPos ) in ToggleRel()
99 xub_StrLen nTemp = nStartPos; nStartPos = nEndPos; nEndPos = nTemp; in ToggleRel()
101 while (nStartPos > 0 && IsText(pSource[nStartPos - 1]) ) in ToggleRel()
102 --nStartPos; in ToggleRel()
114 xub_StrLen nLoopStart = nStartPos; in ToggleRel()
139 xub_StrLen nAbsStart = nStartPos+aResult.Len()+aSep.Len(); in ToggleRel()
155 String aTotal = aFormula.Copy( 0, nStartPos ); in ToggleRel()
/aoo41x/main/sc/source/core/data/
H A Dolinetab.cxx332 void ScOutlineArray::RemoveSub( SCCOLROW nStartPos, SCCOLROW nEndPos, sal_uInt16 nLevel ) in RemoveSub() argument
346 if ( nStart>=nStartPos && nEnd<=nEndPos ) in RemoveSub()
376 if ( nStart>=nStartPos && nEnd<=nEndPos ) in PromoteSub()
572 void ScOutlineArray::InsertSpace( SCCOLROW nStartPos, SCSIZE nSize ) in InsertSpace() argument
578 if ( pEntry->GetStart() >= nStartPos ) in InsertSpace()
585 if ( nEnd >= nStartPos || ( nEnd+1 >= nStartPos && !pEntry->IsHidden() ) ) in InsertSpace()
595 sal_Bool ScOutlineArray::DeleteSpace( SCCOLROW nStartPos, SCSIZE nSize ) in DeleteSpace() argument
597 SCCOLROW nEndPos = nStartPos + nSize - 1; in DeleteSpace()
609 if ( nEntryEnd >= nStartPos ) in DeleteSpace()
626 pEntry->SetSize( static_cast<SCSIZE>(nStartPos-nEntryStart) ); in DeleteSpace()
[all …]
/aoo41x/main/svl/source/filerec/
H A Dfilerec.cxx56 #define SFX_REC_MINI_HEADER(nPreTag,nStartPos,nEndPos) \ argument
58 sal_uInt32(nEndPos-nStartPos-SFX_REC_HEADERSIZE_MINI) << 8 )
312 DBG( DbgOutf( "SfxFileRec: reading record at %ul", nStartPos ) ); in SfxMiniRecordReader()
325 pStream->Seek( nStartPos ); in SfxMiniRecordReader()
383 sal_uInt32 nStartPos = pStream->Tell(); in SfxMiniRecordReader() local
413 pStream->Seek( nStartPos ); in SfxMiniRecordReader()
525 sal_uInt32 nStartPos = pStream->Tell(); in SfxSingleRecordReader() local
546 sal_uInt32 nStartPos = pStream->Tell(); in SfxSingleRecordReader() local
553 pStream->Seek( nStartPos ); in SfxSingleRecordReader()
578 sal_uInt32 nStartPos = _pStream->Tell(); in FindHeader_Impl() local
[all …]
/aoo41x/main/oox/source/core/
H A Drelations.cxx112 sal_Int32 nStartPos = 0; in getFragmentPathFromRelation() local
113 while( nStartPos < rRelation.maTarget.getLength() ) in getFragmentPathFromRelation()
115 sal_Int32 nSepPos = rRelation.maTarget.indexOf( '/', nStartPos ); in getFragmentPathFromRelation()
118 …if( (nStartPos + 2 == nSepPos) && (rRelation.maTarget[ nStartPos ] == '.') && (rRelation.maTarget[… in getFragmentPathFromRelation()
121 … aPath = lclAppendFileName( aPath, rRelation.maTarget.copy( nStartPos, nSepPos - nStartPos ) ); in getFragmentPathFromRelation()
123 nStartPos = nSepPos + 1; in getFragmentPathFromRelation()
/aoo41x/main/sw/source/filter/ww8/
H A Dww8scan.cxx2228 if( nStartPos >= 0 ) in WW8PLCFspecial()
2338 WW8_CP nStartPos ) in WW8PLCF() argument
2351 if( nStartPos >= 0 ) in WW8PLCF()
2371 if( nStartPos >= 0 ) in WW8PLCF()
3513 p->nStartPos = rSBase.WW8Fc2Cp( p->nStartPos ); in GetSprms()
3976 p->nStartPos = nP; in GetSprms()
4286 WW8_CP nStartPos; in GetLen() local
4294 nNum -= nStartPos; in GetLen()
4479 ASSERT((WW8_CP_MAX == nStartPos) || (nStartPos <= nEndPos), in ReduceByOffset()
5011 if (pPcd && ((p->nStartPos > pPcd->nStartPos) || in AdvSprm()
[all …]
/aoo41x/main/connectivity/source/drivers/file/
H A Dquotedstring.cxx95 …void QuotedTokenizedString::GetTokenSpecial( ::rtl::OUString* _rStr,sal_Int32& nStartPos, sal_Unic… in GetTokenSpecial() argument
102 …sal_Bool bInString = (nStartPos < nLen) && (m_sString[ nStartPos ] == cStrDel); // Are we inside a… in GetTokenSpecial()
106 ++nStartPos; // ignore this character! in GetTokenSpecial()
107 if ( nStartPos >= nLen ) in GetTokenSpecial()
110 ::rtl::OUStringBuffer buffer( nLen - nStartPos); in GetTokenSpecial()
112 for( sal_Int32 i = nStartPos; i < nLen; ++i ) in GetTokenSpecial()
146 nStartPos = i+1; in GetTokenSpecial()

Completed in 174 milliseconds

123456789