/trunk/main/sw/source/core/txtnode/ |
H A D | txatritr.cxx | 47 nChgPos( rStr.Len() ), in SwScriptIterator() 72 nChgPos = bForward ? in SwScriptIterator() 92 --nChgPos; in Next() 100 nChgPos = rText.Len(); in Next() 144 nChgPos = nEndPos; in Next() 198 xub_StrLen nStt = nChgPos; in SearchNextChg() 221 if( nHtStt >= nChgPos ) in SearchNextChg() 229 if( nChgPos > nHtStt ) in SearchNextChg() 230 nChgPos = nHtStt; in SearchNextChg() 235 if( *pEnd < nChgPos ) in SearchNextChg() [all …]
|
/trunk/main/sw/source/core/bastyp/ |
H A D | breakit.cxx | 125 sal_Int32 nChgPos = 0; in GetRealScriptOfText() local 139 0 < (nChgPos = xBreak->beginOfScript( rTxt, nPos, nScript )) ) in GetRealScriptOfText() 140 nScript = xBreak->getScriptType( rTxt, nChgPos-1 ); in GetRealScriptOfText() 143 ( nChgPos = xBreak->endOfScript( rTxt, nPos, nScript ) ) && in GetRealScriptOfText() 144 0 <= nChgPos ) in GetRealScriptOfText() 145 nScript = xBreak->getScriptType( rTxt, nChgPos ); in GetRealScriptOfText()
|
/trunk/main/editeng/source/editeng/ |
H A D | textconv.cxx | 492 xub_StrLen nChgPos = STRING_NOTFOUND; in ChangeText() local 522 if (nChgPos != STRING_NOTFOUND && nConvChgPos != STRING_NOTFOUND) in ChangeText() 524 nChgLen = nIndex - nChgPos; in ChangeText() 527 String aInOrig( rOrigText.copy( nChgPos, nChgLen ) ); in ChangeText() 533 …rLen nChgInNodeStartIndex = static_cast< xub_StrLen >( nStartIndex + nCorrectionOffset + nChgPos ); in ChangeText() 548 nChgPos = STRING_NOTFOUND; in ChangeText() 555 if (nChgPos == STRING_NOTFOUND && nConvChgPos == STRING_NOTFOUND) in ChangeText() 557 nChgPos = nIndex; in ChangeText()
|
H A D | impedit2.cxx | 2721 sal_Int32 nChgPos = 0; in InsertText() local 2722 while ( nChgPos < nOldLen && nChgPos < nNewLen && in InsertText() 2723 pOldTxt[nChgPos] == pNewTxt[nChgPos] ) in InsertText() 2724 ++nChgPos; in InsertText() 2726 xub_StrLen nChgLen = static_cast< xub_StrLen >( nNewLen - nChgPos ); in InsertText() 2727 String aChgText( aNewText.copy( nChgPos ).getStr(), nChgLen ); in InsertText() 2730 EditSelection aSel( EditPaM( aPaM.GetNode(), (sal_uInt16) nChgPos ), aPaM ); in InsertText()
|
/trunk/main/sw/source/ui/lingu/ |
H A D | hhcwrp.cxx | 282 xub_StrLen nChgPos = STRING_NOTFOUND; in ChangeText() local 312 if (nChgPos != STRING_NOTFOUND && nConvChgPos != STRING_NOTFOUND) in ChangeText() 314 nChgLen = nIndex - nChgPos; in ChangeText() 317 String aInOrig( rOrigText.copy( nChgPos, nChgLen ) ); in ChangeText() 322 …rLen nChgInNodeStartIndex = static_cast< xub_StrLen >( nStartIndex + nCorrectionOffset + nChgPos ); in ChangeText() 337 nChgPos = STRING_NOTFOUND; in ChangeText() 344 if (nChgPos == STRING_NOTFOUND && nConvChgPos == STRING_NOTFOUND) in ChangeText() 346 nChgPos = nIndex; in ChangeText()
|
/trunk/main/sw/inc/ |
H A D | txatritr.hxx | 41 xub_StrLen nChgPos; member in SwScriptIterator 52 xub_StrLen GetScriptChgPos() const { return nChgPos; } in GetScriptChgPos() 63 xub_StrLen nChgPos; member in SwTxtAttrIterator 77 xub_StrLen GetChgPos() const { return nChgPos; } in GetChgPos()
|
/trunk/main/linguistic/source/ |
H A D | misc.cxx | 644 sal_Int16 nChgPos = 0, in RebuildHyphensAndControlChars() local 647 sal_Bool bAltSpelling = GetAltSpelling( nChgPos, nChgLen, aRplc, rxHyphWord ); in RebuildHyphensAndControlChars() 667 sal_Int16 nPos = GetOrigWordPos( rOrigWord, nChgPos ); in RebuildHyphensAndControlChars() 671 if (nChgPos > nHyphenationPos) in RebuildHyphensAndControlChars() 682 rxHyphWord->getHyphenPos() - nChgPos); in RebuildHyphensAndControlChars()
|
/trunk/main/vcl/source/control/ |
H A D | edit.cxx | 951 sal_Int32 nChgPos = 0; in ImplInsertText() local 952 while ( nChgPos < nOldLen && nChgPos < nTmpLen && in ImplInsertText() 953 pOldTxt[nChgPos] == pTmpTxt[nChgPos] ) in ImplInsertText() 954 ++nChgPos; in ImplInsertText() 956 xub_StrLen nChgLen = static_cast< xub_StrLen >( nTmpLen - nChgPos ); in ImplInsertText() 957 String aChgText( aTmpText.copy( nChgPos ).getStr(), nChgLen ); in ImplInsertText() 960 …maText.Erase( static_cast< xub_StrLen >( nChgPos ), static_cast< xub_StrLen >( nTmpPos - nChgPos )… in ImplInsertText() 965 aSelection.Min() = nChgPos; // position for new text to be inserted in ImplInsertText()
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 800 sal_Int32 nChgPos = 0; in ImpInsertText() local 801 while ( nChgPos < nOldLen && nChgPos < nNewLen && in ImpInsertText() 802 pOldTxt[nChgPos] == pNewTxt[nChgPos] ) in ImpInsertText() 803 ++nChgPos; in ImpInsertText() 805 xub_StrLen nChgLen = static_cast< xub_StrLen >(nNewLen - nChgPos); in ImpInsertText() 806 String aChgText( aNewText.copy( nChgPos ).getStr(), nChgLen ); in ImpInsertText() 809 TextSelection aSel( TextPaM( aPaM.GetPara(), (sal_uInt16) nChgPos ), aPaM ); in ImpInsertText()
|
/trunk/main/sw/source/ui/docvw/ |
H A D | edtwin.cxx | 782 sal_Int32 nChgPos = 0; in FlushInBuffer() local 783 while ( nChgPos < nOldLen && nChgPos < nNewLen && in FlushInBuffer() 784 pOldTxt[nChgPos] == pNewTxt[nChgPos] ) in FlushInBuffer() 785 ++nChgPos; in FlushInBuffer() 787 xub_StrLen nChgLen = static_cast< xub_StrLen >(nNewLen - nChgPos); in FlushInBuffer() 788 String aChgText( aNewText.copy( static_cast< xub_StrLen >(nChgPos), nChgLen ) ); in FlushInBuffer() 793 nExpandSelection = aLeftText.Len() - static_cast< xub_StrLen >(nChgPos); in FlushInBuffer()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlatr.cxx | 1998 xub_StrLen nChgPos = aScriptChgLst[i]; in Insert() local 1999 if( nPos >= nChgPos ) in Insert() 2005 if( nEnd <= nChgPos ) in Insert() 2020 InsertNoScript( rItem, nPos, nChgPos, rFmtInfos, bParaAttrs ); in Insert() 2021 nPos = nChgPos; in Insert()
|