Lines Matching refs:nEnd

121                          const xub_StrLen nStt, const xub_StrLen nEnd,  in lcl_MaskRedlines()  argument
143 if ( nRedlineEnd < nStt || nRedlineStart > nEnd ) in lcl_MaskRedlines()
146 while ( nRedlineStart < nRedlineEnd && nRedlineStart < nEnd ) in lcl_MaskRedlines()
148 if ( nRedlineStart >= nStt && nRedlineStart < nEnd ) in lcl_MaskRedlines()
166 const xub_StrLen nStt, const xub_StrLen nEnd, in lcl_MaskRedlinesAndHiddenText() argument
180 nRedlinesMasked = lcl_MaskRedlines( rNode, rText, nStt, nEnd, cChar ); in lcl_MaskRedlinesAndHiddenText()
190 SwScriptInfo::MaskHiddenRanges( rNode, rText, nStt, nEnd, cChar ); in lcl_MaskRedlinesAndHiddenText()
372 inline sal_Bool InRange(xub_StrLen nIdx, xub_StrLen nStart, xub_StrLen nEnd) { in InRange() argument
373 return ((nIdx >=nStart) && (nIdx <= nEnd)); in InRange()
408 xub_StrLen nEnd = nStt + nLen; in RstTxtAttr() local
414 …pTxtInputFld = dynamic_cast<const SwTxtInputFld*>(GetTxtAttrAt(nEnd, RES_TXTATR_INPUTFIELD, PARENT… in RstTxtAttr()
422 if ( nEnd < *(pTxtInputFld->End()) ) in RstTxtAttr()
424 nEnd = *(pTxtInputFld->End()); in RstTxtAttr()
446 && ( ( ( nAttrStart = *(*m_pSwpHints)[i]->GetStart()) < nEnd ) in RstTxtAttr()
522 if( nEnd > nAttrStart in RstTxtAttr()
523 || ( nEnd == nAttrEnd && nEnd == nAttrStart ) ) in RstTxtAttr()
532 bChanged = bChanged || nEnd > nAttrStart || bNoLen; in RstTxtAttr()
533 if( nAttrEnd <= nEnd ) // Fall: 1 in RstTxtAttr()
562 *pHt->GetStart() = nEnd; in RstTxtAttr()
565 if ( pStyleHandle.get() && nAttrStart < nEnd ) in RstTxtAttr()
568 *pStyleHandle, nAttrStart, nEnd ); in RstTxtAttr()
580 if( *pAttrEnd < nEnd ) // Fall: 2 in RstTxtAttr()
615 if ( pStyleHandle.get() && nStt < nEnd ) in RstTxtAttr()
618 *pStyleHandle, nStt, nEnd ); in RstTxtAttr()
622 if( nEnd < nTmpEnd ) in RstTxtAttr()
625 pHt->GetAttr(), nEnd, nTmpEnd ); in RstTxtAttr()
817 const sal_Int32 nEnd = Min( aBound.endPos, nScriptEnd ); in NextWord() local
832 nLen = (xub_StrLen)(nEnd - nBegin); in NextWord()
841 const sal_Int32 nEnd = Min( aBound.endPos, nScriptEnd ); in NextWord() local
843 nLen = (xub_StrLen)(nEnd - nBegin); in NextWord()
872 xub_StrLen nBegin, nEnd; in Spell() local
884 nEnd = ( pArgs->pEndNode != this ) in Spell()
908 if ( nEnd > m_Text.Len() ) in Spell()
910 nEnd = m_Text.Len(); in Spell()
916 if(nTemp > nEnd) in Spell()
934 nBegin, nEnd ); in Spell()
1183 xub_StrLen nEnd = pNode->GetTxt().Len(); in _AutoSpell() local
1198 nEnd = pNode->GetWrong()->GetEndInv(); in _AutoSpell()
1199 if ( nEnd > pNode->GetTxt().Len() ) in _AutoSpell()
1201 nEnd = pNode->GetTxt().Len(); in _AutoSpell()
1229 sal_Bool bFresh = nBegin < nEnd; in _AutoSpell()
1231 if( nBegin < nEnd ) in _AutoSpell()
1243 WordType::DICTIONARY_WORD, nBegin, nEnd); in _AutoSpell()
1271 pNode->GetWrong()->SetInvalid( 0, nEnd ); in _AutoSpell()
1307 nEnd, 0, nInsertPos, nActPos ); in _AutoSpell()
1356 xub_StrLen nEnd = static_cast< xub_StrLen >(rText.getLength()); in SmartTagScan() local
1363 nEnd = Min( pSmartTagList->GetEndInv(), (xub_StrLen)rText.getLength() ); in SmartTagScan()
1365 if ( nBegin < nEnd ) in SmartTagScan()
1370nEnd = static_cast< xub_StrLen >(Min( rText.getLength(), pBreakIt->GetBreakIter()->endOfSentence( … in SmartTagScan()
1385 … pSmartTagList->Fresh( nChgStart, nChgEnd, nBegin, nEnd - nBegin, nCurrentIndex, STRING_LEN ); in SmartTagScan()
1389 if ( nBegin < nEnd ) in SmartTagScan()
1403 SwPosition end (*pNode, nEnd); in SmartTagScan()
1410 xub_StrLen nLangEnd = nEnd; in SmartTagScan()
1419 nLangEnd = Min( nEnd, aIter.GetChgPos() ); in SmartTagScan()
1428 while ( aIter.Next() && nLangEnd < nEnd ); in SmartTagScan()
1454 if ( nBegin < nEnd && ( 0 != nNumberOfRemovedEntries || in SmartTagScan()
1457 aRet = lcl_CalculateRepaintRect( *this, nBegin, nEnd ); in SmartTagScan()
1478 xub_StrLen nEnd = pNode->GetTxt().Len(); in CollectAutoCmplWrds() local
1483 if( nBegin < nEnd ) in CollectAutoCmplWrds()
1487 WordType::DICTIONARY_WORD, nBegin, nEnd ); in CollectAutoCmplWrds()
1662 xub_StrLen nStt, xub_StrLen nEnd, in TransliterateText() argument
1665 if (nStt < nEnd && pBreakIt->GetBreakIter().is()) in TransliterateText()
1695 GetTxt(), nEnd, in TransliterateText()
1696 pBreakIt->GetLocale( GetLang( nEnd ) ), in TransliterateText()
1709 if (aEndBndry.startPos >= nEnd) in TransliterateText()
1721 nEnd = (xub_StrLen)aCurWordBndry.endPos; in TransliterateText()
1722 sal_Int32 nLen = nEnd - nStt; in TransliterateText()
1741 GetTxt(), nEnd, in TransliterateText()
1742 pBreakIt->GetLocale( GetLang( nEnd ) ), in TransliterateText()
1751 GetTxt(), nEnd, in TransliterateText()
1752 pBreakIt->GetLocale( GetLang( nEnd ) ) ); in TransliterateText()
1786 if (nLastStart >= nEnd) in TransliterateText()
1852 if( nEndPos > nEnd ) in TransliterateText()
1853 nEndPos = nEnd; in TransliterateText()
1858 nEndPos = nEnd; in TransliterateText()
1875 } while( nEndPos < nEnd && pIter && pIter->Next() ); in TransliterateText()
1940 xub_StrLen nStt, xub_StrLen nEnd ) const in CountWords()
1943 if( nStt < nEnd ) in CountWords()
1953 if ( 0 == nStt && GetTxt().Len() == nEnd && !IsWordCountDirty() ) in CountWords()
1966 lcl_MaskRedlinesAndHiddenText( *this, rCastStr, nStt, nEnd, cChar, false ); in CountWords()
1974 … const sal_uInt32 nExpandEnd = ModelToViewHelper::ConvertToViewPosition( pConversionMap, nEnd ); in CountWords()
2067 if ( 0 == nStt && GetTxt().Len() == nEnd ) in CountWords()