Lines Matching refs:nEndPos

459 									xub_StrLen nSttPos, xub_StrLen nEndPos,  in FnCptlSttWrd()  argument
467 for( ; nSttPos < nEndPos; ++nSttPos ) in FnCptlSttWrd()
470 for( ; nSttPos < nEndPos; --nEndPos ) in FnCptlSttWrd()
471 if( rCC.isLetterNumeric( rTxt, nEndPos - 1 )) in FnCptlSttWrd()
475 if( nSttPos+2 < nEndPos && in FnCptlSttWrd()
484 String sWord( rTxt.Copy( nSttPos - 1, nEndPos - nSttPos + 1 )); in FnCptlSttWrd()
504 xub_StrLen nSttPos, xub_StrLen nEndPos, in FnChgOrdinalNumber() argument
513 for( ; nSttPos < nEndPos; ++nSttPos ) in FnChgOrdinalNumber()
516 for( ; nSttPos < nEndPos; --nEndPos ) in FnChgOrdinalNumber()
517 if( !lcl_IsInAsciiArr( sImplEndSkipChars, rTxt.GetChar( nEndPos - 1 ) )) in FnChgOrdinalNumber()
520 if( 2 < nEndPos - nSttPos && in FnChgOrdinalNumber()
521 rCC.isDigit( rTxt, nEndPos - 3 ) ) in FnChgOrdinalNumber()
533 sal_Unicode c = rTxt.GetChar( nEndPos - 3 ); in FnChgOrdinalNumber()
538 rTxt.GetChar( nEndPos - 2 ) && in FnChgOrdinalNumber()
540 rTxt.GetChar( nEndPos - 1 )) || in FnChgOrdinalNumber()
541 ( 3 < nEndPos - nSttPos && in FnChgOrdinalNumber()
542 ( ((sal_Unicode)*(sAll+0)) == rTxt.GetChar( nEndPos - 2 ) && in FnChgOrdinalNumber()
543 ((sal_Unicode)*(sAll+1)) == rTxt.GetChar( nEndPos - 1 ))); in FnChgOrdinalNumber()
548 for( xub_StrLen n = nEndPos - 3; nSttPos < n; ) in FnChgOrdinalNumber()
559 rDoc.SetAttr( nEndPos - 2, nEndPos, in FnChgOrdinalNumber()
572 xub_StrLen nSttPos, xub_StrLen nEndPos, in FnChgToEnEmDash() argument
582 if( cEnDash && 1 < nSttPos && 1 <= nEndPos - nSttPos ) in FnChgToEnEmDash()
591 for( n = nSttPos+2; n < nEndPos && lcl_IsInAsciiArr( in FnChgToEnEmDash()
626 for( n = nSttPos; n < nEndPos && lcl_IsInAsciiArr( in FnChgToEnEmDash()
653 if( ((cEmDash && !bEnDash) || (cEnDash && bEnDash)) && 4 <= nEndPos - nSttPos ) in FnChgToEnEmDash()
655 String sTmp( rTxt.Copy( nSttPos, nEndPos - nSttPos ) ); in FnChgToEnEmDash()
675 xub_StrLen, xub_StrLen nEndPos, in FnAddNonBrkSpace() argument
691 sal_Unicode cChar = rTxt.GetChar( nEndPos ); in FnAddNonBrkSpace()
697 xub_StrLen nSttWdPos = nEndPos; in FnAddNonBrkSpace()
703 if ( STRING_NOTFOUND == nStrPos && nEndPos > 0 ) in FnAddNonBrkSpace()
706 sal_Unicode cPrevChar = rTxt.GetChar( nEndPos - 1 ); in FnAddNonBrkSpace()
710 xub_StrLen nPos = nEndPos - 1; in FnAddNonBrkSpace()
721 if ( nEndPos - nPos > 0 ) in FnAddNonBrkSpace()
722 rDoc.Delete( nPos, nEndPos ); in FnAddNonBrkSpace()
735 else if ( cChar == '/' && nEndPos > 1 && rTxt.Len() > (nEndPos - 1) ) in FnAddNonBrkSpace()
738 sal_Unicode cPrevChar = rTxt.GetChar( nEndPos - 1 ); in FnAddNonBrkSpace()
739 sal_Unicode cMaybeSpaceChar = rTxt.GetChar( nEndPos - 2 ); in FnAddNonBrkSpace()
742 rDoc.Delete( nEndPos - 2, nEndPos - 1 ); in FnAddNonBrkSpace()
752 xub_StrLen nSttPos, xub_StrLen nEndPos, in FnSetINetAttr() argument
755 String sURL( URIHelper::FindFirstURLInText( rTxt, nSttPos, nEndPos, in FnSetINetAttr()
759 rDoc.SetINetAttr( nSttPos, nEndPos, sURL ); in FnSetINetAttr()
765 xub_StrLen, xub_StrLen nEndPos, in FnChgWeightUnderl() argument
772 sal_Unicode c, cInsChar = rTxt.GetChar( nEndPos ); // unterstreichen oder fett in FnChgWeightUnderl()
773 if( ++nEndPos != rTxt.Len() && in FnChgWeightUnderl()
774 !IsWordDelim( rTxt.GetChar( nEndPos ) ) ) in FnChgWeightUnderl()
777 --nEndPos; in FnChgWeightUnderl()
780 xub_StrLen nPos = nEndPos, nFndPos = STRING_NOTFOUND; in FnChgWeightUnderl()
791 if( bAlphaNum && nPos+1 < nEndPos && ( !nPos || in FnChgWeightUnderl()
814 rDoc.SetAttr( nFndPos + 1, nEndPos, in FnChgWeightUnderl()
821 rDoc.SetAttr( nFndPos + 1, nEndPos, in FnChgWeightUnderl()
825 rDoc.Delete( nEndPos, nEndPos + 1 ); in FnChgWeightUnderl()
835 xub_StrLen nSttPos, xub_StrLen nEndPos, in FnCptlSttSntnc() argument
839 if( !rTxt.Len() || nEndPos <= nSttPos ) in FnCptlSttSntnc()
845 *pStr = pStart + nEndPos, in FnCptlSttSntnc()
1769 xub_StrLen& rStt, xub_StrLen nEndPos, SvxAutoCorrDoc& ) in lcl_SearchWordsInList() argument
1777 if( nEndPos >= rChk.Len() ) in lcl_SearchWordsInList()
1779 xub_StrLen nCalcStt = nEndPos - rChk.Len(); in lcl_SearchWordsInList()
1799 const String& rTxt, xub_StrLen& rStt, xub_StrLen nEndPos, in SearchWordsInList() argument
1815 pRet = lcl_SearchWordsInList( pList, rTxt, rStt, nEndPos, rDoc ); in SearchWordsInList()
1837 pRet = lcl_SearchWordsInList( pList, rTxt, rStt, nEndPos, rDoc); in SearchWordsInList()
1849 pRet = lcl_SearchWordsInList( pList, rTxt, rStt, nEndPos, rDoc); in SearchWordsInList()