Lines Matching refs:pDestShell

295 sal_Bool SwFEShell::CopyDrawSel( SwFEShell* pDestShell, const Point& rSttPt,  in CopyDrawSel()  argument
304 if( !pDestShell->Imp()->GetDrawView() ) in CopyDrawSel()
306 pDestShell->MakeDrawView(); in CopyDrawSel()
308 pDestShell->Imp()->GetDrawView()->UnmarkAll(); in CopyDrawSel()
310 SdrPageView *pDestPgView = pDestShell->Imp()->GetPageView(), in CopyDrawSel()
312 SwDrawView *pDestDrwView = pDestShell->Imp()->GetDrawView(), in CopyDrawSel()
314 SwDoc* pDestDoc = pDestShell->GetDoc(); in CopyDrawSel()
353 if ( this == pDestShell ) in CopyDrawSel()
367 *pDestShell, aAnchor, aNewAnch, sal_False ); in CopyDrawSel()
371 SwPaM *pCrsr = pDestShell->GetCrsr(); in CopyDrawSel()
377 *pDestShell, aAnchor, in CopyDrawSel()
383 aAnchor.SetPageNum( pDestShell->GetPageNumber( rInsPt ) ); in CopyDrawSel()
384 const SwRootFrm* pTmpRoot = pDestShell->GetLayout(); in CopyDrawSel()
399 pFmt = pDestDoc->InsertDrawObj( *pDestShell->GetCrsr(), *pNew, aSet ); in CopyDrawSel()
434 if( pDestShell == this ) in CopyDrawSel()
461 sal_Bool SwFEShell::Copy( SwFEShell* pDestShell, const Point& rSttPt, in Copy() argument
466 ASSERT( pDestShell, "Copy ohne DestShell." ); in Copy()
467 ASSERT( this == pDestShell || !pDestShell->IsObjSelected(), in Copy()
470 SET_CURR_SHELL( pDestShell ); in Copy()
472 pDestShell->StartAllAction(); in Copy()
473 pDestShell->GetDoc()->LockExpFlds(); in Copy()
481 RedlineMode_t eOldRedlMode = pDestShell->GetDoc()->GetRedlineMode(); in Copy()
482pDestShell->GetDoc()->SetRedlineMode_intern( (RedlineMode_t)(eOldRedlMode | nsRedlineMode_t::REDLI… in Copy()
488 SwFieldType* pTblFldTyp = pDestShell->GetDoc()->GetSysFldType( RES_TABLEFLD ); in Copy()
503 if ( this == pDestShell ) in Copy()
525 *pDestShell, aAnchor, aNewAnch, sal_True ); in Copy()
530 const SwPaM *pCrsr = pDestShell->GetCrsr(); in Copy()
535 pFly, rInsPt, *pDestShell, aAnchor, in Copy()
536 aNewAnch, GetDoc() == pDestShell->GetDoc()); in Copy()
541 aAnchor.SetPageNum( pDestShell->GetPageNumber( rInsPt ) ); in Copy()
542 const SwRootFrm* pTmpRoot = pDestShell->GetLayout(); in Copy()
554 pFlyFmt = pDestShell->GetDoc()->CopyLayoutFmt( *pFlyFmt, aAnchor, true, true ); in Copy()
565 const Point aPt( pDestShell->GetCrsrDocPos() ); in Copy()
578 pDestShell->Imp()->GetDrawView()->UnmarkAll(); in Copy()
579 pDestShell->SelectFlyFrm( *pFlyFrm, sal_True ); in Copy()
583 if( this != pDestShell && !pDestShell->HasShFcs() ) in Copy()
584 pDestShell->Imp()->GetDrawView()->hideMarkHandles(); in Copy()
588 bRet = CopyDrawSel( pDestShell, rSttPt, rInsPt, bIsMove, bSelectInsert ); in Copy()
603 if( this == pDestShell ) in Copy()
613 else if( !pDestShell->GetCrsr()->GetNode()->IsNoTxtNode() ) in Copy()
615 pDstPos = new SwPosition( *pDestShell->GetCrsr()->GetPoint() ); in Copy()
621 if( GetDoc() == pDestShell->GetDoc() ) in Copy()
624 bRet = pDestShell->GetDoc()->InsCopyOfTbl( *pDstPos, aBoxes,0, in Copy()
625 bIsMove && this == pDestShell && in Copy()
628 this != pDestShell ); in Copy()
630 if( this != pDestShell ) in Copy()
631 *pDestShell->GetCrsr()->GetPoint() = *pDstPos; in Copy()
634 if( GetDoc() == pDestShell->GetDoc() ) in Copy()
639 if( this == pDestShell ) in Copy()
648 if( this == pDestShell ) in Copy()
657 else if( pDestShell->GetCrsr()->GetNode()->IsNoTxtNode() ) in Copy()
661 bRet = 0 != SwEditShell::Copy( pDestShell ); in Copy()
664 pDestShell->GetDoc()->SetRedlineMode_intern( eOldRedlMode ); in Copy()
673 for( nActCnt = 0; pDestShell->ActionPend(); ++nActCnt ) in Copy()
674 pDestShell->EndAllAction(); in Copy()
677 pDestShell->StartAllAction(); in Copy()
679 pDestShell->GetDoc()->UnlockExpFlds(); in Copy()
680 pDestShell->GetDoc()->UpdateFlds(NULL, false); in Copy()
682 pDestShell->EndAllAction(); in Copy()