Lines Matching refs:nLen

399     const xub_StrLen nLen,  in RstTxtAttr()  argument
408 xub_StrLen nEnd = nStt + nLen; in RstTxtAttr()
447 || nLen==0 ) ) in RstTxtAttr()
601 else if( nLen ) // Fall: 4 in RstTxtAttr()
723 …: rNode( rNd ), rText( rTxt), pLanguage( pLang ), pConversionMap( pConvMap ), nLen( 0 ), nWordType… in SwScanner()
743 nBegin = nBegin + nLen; in NextWord()
801 nLen = 0; in NextWord()
803 nLen = static_cast< xub_StrLen >(aBound.endPos) - nBegin; in NextWord()
832 nLen = (xub_StrLen)(nEnd - nBegin); in NextWord()
843 nLen = (xub_StrLen)(nEnd - nBegin); in NextWord()
853 nLen = (xub_StrLen)(aBound.endPos - nBegin); in NextWord()
856 if( ! nLen ) in NextWord()
859 aWord = rText.Copy( nBegin, nLen ); in NextWord()
1060 xub_StrLen nLen = 0; in Convert() local
1095 nLen = nChPos - nBegin; in Convert()
1096 bFound = bLangOk && nLen > 0; in Convert()
1103 aCurPaM.GetPoint()->nContent = nBegin + nLen; in Convert()
1126 if (nBegin + nLen > nTextEnd) in Convert()
1127 nLen = nTextEnd - nBegin; in Convert()
1132 const XubString aTxtPortion = m_Text.Copy( nBegin, nLen ); in Convert()
1134 rArgs.aConvText = m_Text.Copy( nBegin, nLen ); in Convert()
1139 rArgs.pStartIdx->Assign(this, nBegin + nLen ); in Convert()
1249 xub_StrLen nLen = aScanner.GetLen(); in _AutoSpell() local
1274 nBegin, nLen, nInsertPos, nActPos ) ) in _AutoSpell()
1275 … pNode->GetWrong()->Insert( rtl::OUString(), 0, nBegin, nLen, nInsertPos++ ); in _AutoSpell()
1279 nInvEnd = nBegin + nLen; in _AutoSpell()
1479 xub_StrLen nLen; in CollectAutoCmplWrds() local
1491 nLen = aScanner.GetLen(); in CollectAutoCmplWrds()
1492 if( rACW.GetMinWordLen() <= nLen ) in CollectAutoCmplWrds()
1496 if( nActPos < nBegin || ( nBegin + nLen ) < nActPos ) in CollectAutoCmplWrds()
1567 rHyphInf.nLen = rHyphInf.nLen - (pFrm->GetOfst() - rHyphInf.nStart); in Hyphenate()
1595 const int nLen = strlen(pPath); in Flush() local
1597 pLogName = new char[nLen + strlen(pName) + 3]; in Flush()
1598 if(nLen && (pPath[nLen-1] == '\\') || (pPath[nLen-1] == '/')) in Flush()
1652 xub_StrLen nLen; member
1722 sal_Int32 nLen = nEnd - nStt; in TransliterateText() local
1723 DBG_ASSERT( nLen > 0, "invalid word length of 0" ); in TransliterateText()
1725 String aText( GetTxt().Copy( nStt, nLen ) ); in TransliterateText()
1729 … String sChgd( rTrans.transliterate( GetTxt(), GetLang( nStt ), nStt, nLen, &aOffsets )); in TransliterateText()
1731 if (!m_Text.Equals( sChgd, nStt, nLen )) in TransliterateText()
1734 aChgData.nLen = nLen; in TransliterateText()
1805 sal_Int32 nLen = nCurrentEnd - nCurrentStart; in TransliterateText() local
1806 DBG_ASSERT( nLen > 0, "invalid word length of 0" ); in TransliterateText()
1808 String aText( GetTxt().Copy( nCurrentStart, nLen ) ); in TransliterateText()
1813 GetLang( nCurrentStart ), nCurrentStart, nLen, &aOffsets )); in TransliterateText()
1815 if (!m_Text.Equals( sChgd, nStt, nLen )) in TransliterateText()
1818 aChgData.nLen = nLen; in TransliterateText()
1860 xub_StrLen nLen = nEndPos - nStt; in TransliterateText() local
1863 String sChgd( rTrans.transliterate( m_Text, nLang, nStt, nLen, &aOffsets )); in TransliterateText()
1865 if (!m_Text.Equals( sChgd, nStt, nLen )) in TransliterateText()
1868 aChgData.nLen = nLen; in TransliterateText()
1887 pUndo->AddChanges( *this, rData.nStart, rData.nLen, rData.aOffsets ); in TransliterateText()
1888 ReplaceTextOnly( rData.nStart, rData.nLen, rData.sChanged, rData.aOffsets ); in TransliterateText()
1895 void SwTxtNode::ReplaceTextOnly( xub_StrLen nPos, xub_StrLen nLen, in ReplaceTextOnly() argument
1899 m_Text.Replace( nPos, nLen, rText ); in ReplaceTextOnly()
1927 if( nMyOff < nLen ) in ReplaceTextOnly()
1929 Update( SwIndex( this, nMyOff ), nLen - nMyOff, sal_True ); in ReplaceTextOnly()