Lines Matching refs:rPos

690 SwDoc::CopyRange( SwPaM& rPam, SwPosition& rPos, const bool bCopyAll ) const  in CopyRange()  argument
694 SwDoc* pDoc = rPos.nNode.GetNode().GetDoc(); in CopyRange()
715 lcl_ChkFlyFly( pDoc, nStt, nEnd, rPos.nNode.GetIndex() ) ) in CopyRange()
724 pRedlineRange = new SwPaM( rPos ); in CopyRange()
732 bRet = CopyImpl( rPam, rPos, true, bCopyAll, pRedlineRange ); in CopyRange()
736 else if( ! ( *pStt <= rPos && rPos < *pEnd && in CopyRange()
740 bRet = CopyImpl( rPam, rPos, true, bCopyAll, pRedlineRange ); in CopyRange()
754 SwPaM aPam( rPos ); // UndoBereich sichern in CopyRange()
779 pDoc->MoveRange( aPam, rPos, DOC_MOVEDEFAULT ); in CopyRange()
782 *aPam.GetPoint() = rPos; // Cursor umsetzen fuers Undo ! in CopyRange()
875 bool SwDoc::CopyImpl( SwPaM& rPam, SwPosition& rPos, in CopyImpl() argument
879 SwDoc* pDoc = rPos.nNode.GetNode().GetDoc(); in CopyImpl()
889 ( pDoc == this && *pStt <= rPos && rPos < *pEnd )) in CopyImpl()
894 const bool bEndEqualIns = pDoc == this && rPos == *pEnd; in CopyImpl()
898 SwPaM aCpyPam( rPos ); in CopyImpl()
920 SwNodeIndex aInsPos( rPos.nNode ); in CopyImpl()
927 ( !bOneNode && !rPos.nContent.GetIndex() ) ); in CopyImpl()
944 pDoc->SearchNumRule( rPos, false, true, false, 0, aListIdToPropagate, true ); in CopyImpl()
948 pDoc->SearchNumRule( rPos, false, false, false, 0, aListIdToPropagate, true ); in CopyImpl()
970 SwIndex aDestIdx( rPos.nContent ); in CopyImpl()
990 pDoc->SplitNode( rPos, false ); in CopyImpl()
993 if( bCanMoveBack && rPos == *aCpyPam.GetPoint() ) in CopyImpl()
1016 else if( rPos == *pEnd ) // Wurde das Ende auch verschoben in CopyImpl()
1107 if( rPos.nContent.GetIndex() == pDestTxtNd->Len() ) in CopyImpl()
1111 else if( rPos.nContent.GetIndex() ) in CopyImpl()
1120 pDoc->SplitNode( rPos, false ); in CopyImpl()
1123 if( bCanMoveBack && rPos == *aCpyPam.GetPoint() ) in CopyImpl()
1133 else if( rPos == *pEnd ) // Wurde das Ende auch verschoben in CopyImpl()
1135 rPos.nNode-=2; in CopyImpl()
1136 rPos.nContent.Assign( rPos.nNode.GetNode().GetCntntNode(), in CopyImpl()
1138 rPos.nNode++; in CopyImpl()
1157 SwIndex aDestIdx( rPos.nContent ); in CopyImpl()
1274 rPos.nContent.Assign( rPos.nNode.GetNode().GetCntntNode(), in CopyImpl()
1275 rPos.nContent.GetIndex() ); in CopyImpl()
1277 if( rPos.nNode != aInsPos ) in CopyImpl()
1281 rPos = *aCpyPam.GetMark(); in CopyImpl()
1284 *aCpyPam.GetMark() = rPos; in CopyImpl()