Lines Matching refs:rSh
88 SwWrtShell &rSh = rView.GetWrtShell(); in StartDrag() local
89 if( rSh.GetDrawView() ) in StartDrag()
92 if( rSh.GetDrawView()->Command( aDragEvent, this ) ) in StartDrag()
99 if ( !pApplyTempl && !rSh.IsDrawCreate() && !IsDrawAction()) in StartDrag()
104 if ( !rSh.IsInSelect() && rSh.ChgCurrPam( aDocPos, sal_True, sal_True)) in StartDrag()
108 else if ( !bFrmDrag && rSh.IsSelFrmMode() && in StartDrag()
109 rSh.IsInsideSelectedObj( aDocPos ) ) in StartDrag()
117 OBJCNT_NONE != rSh.GetObjCntType( aDocPos, pObj )) in StartDrag()
119 rSh.LockPaint(); in StartDrag()
120 if( rSh.SelectObj( aDocPos, 0, pObj )) in StartDrag()
123 rSh.UnlockPaint(); in StartDrag()
128 bStart = rSh.GetContentAtPos( aDocPos, in StartDrag()
145 rSh.UnSelectFrm(); in StartDrag()
146 rSh.UnlockPaint(); in StartDrag()
176 SwWrtShell &rSh = rView.GetWrtShell(); in DropCleanup() local
182 ((SwViewOption*)rSh.GetViewOptions())->SetIdle( bOldIdle ); in DropCleanup()
188 rSh.UnSetVisCrsr(); in DropCleanup()
217 SwWrtShell &rSh = rView.GetWrtShell(); in ExecuteDrop() local
221 rSh.GetObjCntType( aDocPt, pObj ); in ExecuteDrop()
223 if( pObj && 0 != ( pOLV = rSh.GetDrawView()->GetTextEditOutlinerView() )) in ExecuteDrop()
230 rSh.StartAllAction(); in ExecuteDrop()
232 rSh.EndAllAction(); in ExecuteDrop()
259 if( !SwTransferable::PasteData( aData, rSh, m_nDropAction, m_nDropFormat, in ExecuteDrop()
273 SwWrtShell &rSh = rView.GetWrtShell(); in GetDropDestination() local
275 if( rSh.ChgCurrPam( aDocPt ) in GetDropDestination()
276 || rSh.IsOverReadOnlyPos( aDocPt ) in GetDropDestination()
277 || rSh.DocPtInsideInputFld( aDocPt ) ) in GetDropDestination()
281 const ObjCntType eType = rSh.GetObjCntType( aDocPt, pObj ); in GetDropDestination()
286 OutlinerView* pOLV = rSh.GetDrawView()->GetTextEditOutlinerView(); in GetDropDestination()
308 bIMap = 0 != rSh.GetFmtFromObj( aDocPt )->GetURL().GetMap(); in GetDropDestination()
310 rSh.GetGrfAtPos( aDocPt, aDummy, bLink ); in GetDropDestination()
322 if( rSh.GetView().GetDocShell()->ISA(SwWebDocShell) ) in GetDropDestination()
338 if( rSh.GetView().GetDocShell()->ISA(SwWebDocShell) ) in GetDropDestination()
359 SwWrtShell &rSh = rView.GetWrtShell(); in AcceptDrop() local
378 bOldIdle = rSh.GetViewOptions()->IsIdle(); in AcceptDrop()
379 ((SwViewOption *)rSh.GetViewOptions())->SetIdle(sal_False); in AcceptDrop()
389 rSh.MakeVisible(rect); in AcceptDrop()
394 ((SwViewOption *)rSh.GetViewOptions())->SetIdle( bOldIdle ); in AcceptDrop()
428 (rSh.GetFrmType( &aDocPt, sal_False ) & (FRMTYPE_HEADER|FRMTYPE_FOOTER)) ) in AcceptDrop()
442 nEventAction = pSrcSh->GetDoc() == rSh.GetDoc() in AcceptDrop()
449 rSh.UnSetVisCrsr(); in AcceptDrop()
464 SdrMarkView* pMView = PTR_CAST( SdrMarkView, rSh.GetDrawView() ); in AcceptDrop()
479 if(rSh.GetContentAtPos(aDocPt, aCont)) in AcceptDrop()
480 rSh.SwCrsrShell::SetVisCrsr( aDocPt ); in AcceptDrop()
484 rSh.UnSetVisCrsr(); in AcceptDrop()
493 pUserMarker = new SdrDropMarkerOverlay( *rSh.GetDrawView(), *pUserMarkerObj ); in AcceptDrop()
501 rSh.UnSetVisCrsr(); in AcceptDrop()