Lines Matching refs:rView

176 SfxShell* lcl_GetShellFromDispatcher( SwView& rView, TypeId nType );
300 SwWrtShell &rSh = rView.GetWrtShell(); in UpdatePointer()
375 rView.GetViewFrame()->ShowStatusText( in UpdatePointer()
384 sal_Bool bExecHyperlinks = rView.GetDocShell()->IsReadOnly(); in UpdatePointer()
400 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in UpdatePointer()
414 if ( rView.GetDrawFuncPtr() && !bInsDraw && bNotInSelObj ) in UpdatePointer()
493 if ( rView.GetDrawFuncPtr() ) in UpdatePointer()
508 if (rView.GetDrawFuncPtr() && rView.GetDrawFuncPtr()->IsInsertForm() && !bHitHandle) in UpdatePointer()
557 SwWrtShell &rSh = rView.GetWrtShell(); in IMPL_LINK()
567 rView.Scroll( Rectangle(aModPt,Size(1,1)), nMaxScroll, nMaxScroll); in IMPL_LINK()
663 rView.SetDrawFuncPtr(new DrawSelection( &rView.GetWrtShell(), this, &rView )); in StdDrawMode()
665 rView.SetDrawFuncPtr(new SwDrawBase( &rView.GetWrtShell(), this, &rView )); in StdDrawMode()
667 rView.SetSelDrawSlot(); in StdDrawMode()
670 rView.GetDrawFuncPtr()->Activate( SID_OBJECT_SELECT ); in StdDrawMode()
672rView.GetDrawFuncPtr()->Activate( sal::static_int_cast< sal_uInt16 >(eSdrObjectKind) ); // don… in StdDrawMode()
681 if (rView.GetDrawFuncPtr()) in StopInsFrm()
683 rView.GetDrawFuncPtr()->Deactivate(); in StopInsFrm()
684 rView.SetDrawFuncPtr(NULL); in StopInsFrm()
686 rView.LeaveDrawCreate(); // Konstruktionsmode verlassen in StopInsFrm()
731 SwWrtShell& rSh = rView.GetWrtShell(); in FlushInBuffer()
837 rView.GetViewFrame()->GetBindings().GetRecorder(); in FlushInBuffer()
841 SfxShell *pSfxShell = lcl_GetShellFromDispatcher( rView, TYPE(SwTextShell) ); in FlushInBuffer()
845 SfxRequest aReq( rView.GetViewFrame(), FN_INSERT_STRING ); in FlushInBuffer()
864 SfxItemSet aLangSet(rView.GetPool(), nWhich, nWhich); in FlushInBuffer()
954 SwWrtShell &rSh = rView.GetWrtShell(); in ChangeFly()
1127 bSetPos = (::GetHtmlMode(rView.GetDocShell()) & HTMLMODE_SOME_ABS_POS) ? in ChangeFly()
1141 SwWrtShell &rSh = rView.GetWrtShell(); in ChangeDrawing()
1296 rView.GetViewFrame()->GetBindings().Invalidate(SID_FORMATPAINTBRUSH); in KeyInput()
1299 SfxObjectShell *pObjSh = (SfxObjectShell*)rView.GetViewFrame()->GetObjectShell(); in KeyInput()
1310 SwWrtShell &rSh = rView.GetWrtShell(); in KeyInput()
1311 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in KeyInput()
1337 if ( rView.GetDrawFuncPtr() && bInsFrm ) in KeyInput()
1459 rView.GetViewFrame()->GetBindings().GetRecorder(); in KeyInput()
2204 if( rView.KeyInput( aKeyEvent ) ) in KeyInput()
2226 if ( rView.GetCurShell()->ISA(SwDrawTextShell) ) in KeyInput()
2227 ((SwDrawTextShell*)rView.GetCurShell())->Init(); in KeyInput()
2235 rView.AttrChangedNotify(&rSh); in KeyInput()
2255 rView.AttrChangedNotify(&rSh); in KeyInput()
2265 if ( rView.GetCurShell()->ISA(SwDrawTextShell) ) in KeyInput()
2266 ((SwDrawTextShell*)rView.GetCurShell())->Init(); in KeyInput()
2281 if( rView.ISA( SwWebView )) //Kein Tabulator fuer Web! in KeyInput()
2461 rView.GetDrawFuncPtr() ) in KeyInput()
2463 rView.GetDrawFuncPtr()->Deactivate(); in KeyInput()
2464 rView.SetDrawFuncPtr(NULL); in KeyInput()
2465 rView.LeaveDrawCreate(); in KeyInput()
2466 rView.AttrChangedNotify( &rSh ); in KeyInput()
2564 ChangeFly( nDir, rView.ISA( SwWebView ) ); in KeyInput()
2572 if( nSlotId && rView.GetViewFrame()->GetBindings().GetRecorder().is() ) in KeyInput()
2574 SfxRequest aReq(rView.GetViewFrame(), nSlotId ); in KeyInput()
2629 SwWrtShell &rSh = rView.GetWrtShell(); in MouseButtonDown()
2646 if (rView.GetPostItMgr()->IsHit(rMEvt.GetPosPixel())) in MouseButtonDown()
2649 rView.GetPostItMgr()->SetActiveSidebarWin(0); in MouseButtonDown()
2681 lcl_SelectShellForDrop( rView ); in MouseButtonDown()
2683 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly(); in MouseButtonDown()
2738 rView.SetTabColFromDoc( sal_True ); in MouseButtonDown()
2740 rView.SetTabRowFromDoc( sal_True ); in MouseButtonDown()
2742 rView.SetTabColFromDocPos( aDocPos ); in MouseButtonDown()
2743 rView.InvalidateRulerPos(); in MouseButtonDown()
2744 SfxBindings& rBind = rView.GetViewFrame()->GetBindings(); in MouseButtonDown()
2749 rView.SetTabColFromDoc( sal_False ); in MouseButtonDown()
2750 rView.SetTabRowFromDoc( sal_False ); in MouseButtonDown()
2751 rView.InvalidateRulerPos(); in MouseButtonDown()
2765 rView.SetNumRuleNodeFromDoc( pNodeAtPos ); in MouseButtonDown()
2766 rView.InvalidateRulerPos(); in MouseButtonDown()
2767 SfxBindings& rBind = rView.GetViewFrame()->GetBindings(); in MouseButtonDown()
2773 rView.SetNumRuleNodeFromDoc( NULL ); in MouseButtonDown()
2774 rView.InvalidateRulerPos(); in MouseButtonDown()
2782 rView.SetNumRuleNodeFromDoc( NULL ); in MouseButtonDown()
2829 else if ( rView.GetDrawFuncPtr() && bInsFrm ) in MouseButtonDown()
2866 sal_Bool bExecHyperlinks = rView.GetDocShell()->IsReadOnly(); in MouseButtonDown()
2917 rView.NoRotate(); in MouseButtonDown()
2936 if (rSh.IsFrmSelected() && rView.GetDrawFuncPtr()) in MouseButtonDown()
2938 rView.GetDrawFuncPtr()->Deactivate(); in MouseButtonDown()
2939 rView.SetDrawFuncPtr(NULL); in MouseButtonDown()
2940 rView.LeaveDrawCreate(); in MouseButtonDown()
2941 rView.AttrChangedNotify( &rSh ); in MouseButtonDown()
2953 if (!rView.GetDrawFuncPtr()) in MouseButtonDown()
2963 rView.NoRotate(); in MouseButtonDown()
2986 rView.AttrChangedNotify(&rSh); in MouseButtonDown()
3000 rView.AttrChangedNotify( &rSh ); in MouseButtonDown()
3011 rView.GetDrawFuncPtr() ) in MouseButtonDown()
3013 rView.GetDrawFuncPtr()->Deactivate(); in MouseButtonDown()
3014 rView.SetDrawFuncPtr(NULL); in MouseButtonDown()
3015 rView.LeaveDrawCreate(); in MouseButtonDown()
3016 rView.AttrChangedNotify( &rSh ); in MouseButtonDown()
3062 if ( rView.GetCurShell()->ISA(SwDrawTextShell) ) in MouseButtonDown()
3063 ((SwDrawTextShell*)rView.GetCurShell())->Init(); in MouseButtonDown()
3177 rView.NoRotate(); in MouseButtonDown()
3206 rView.NoRotate(); in MouseButtonDown()
3264 rView.NoRotate(); in MouseButtonDown()
3274 rView.AttrChangedNotify(&rSh); in MouseButtonDown()
3304 rView.AttrChangedNotify(&rSh); in MouseButtonDown()
3439 SwWrtShell &rSh = rView.GetWrtShell(); in MouseMove()
3446 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly(); in MouseMove()
3459 rView.GetViewFrame()->HideStatusText(); in MouseMove()
3499 if(rView.GetDrawFuncPtr()) in MouseMove()
3503 rView.GetDrawFuncPtr()->MouseMove( rMEvt ); in MouseMove()
3646 if ( rView.GetDrawFuncPtr() ) in MouseMove()
3649 rView.GetDrawFuncPtr()->MouseMove( rMEvt ); in MouseMove()
3807rView.GetPostItMgr()->SetShadowState(reinterpret_cast<const SwPostItField*>(pFld),false); in MouseMove()
3810 rView.GetPostItMgr()->SetShadowState(0,false); in MouseMove()
3813 rView.GetPostItMgr()->SetShadowState(0,false); in MouseMove()
3927 rView.SetTabColFromDoc( sal_False ); in MouseButtonUp()
3928 rView.SetNumRuleNodeFromDoc(NULL); in MouseButtonUp()
3930 SwWrtShell &rSh = rView.GetWrtShell(); in MouseButtonUp()
3978 if ( bInsDraw && rView.GetDrawFuncPtr() ) in MouseButtonUp()
3980 if ( rView.GetDrawFuncPtr()->MouseButtonUp( rMEvt ) ) in MouseButtonUp()
3982 if (rView.GetDrawFuncPtr()) // Koennte im MouseButtonUp zerstoert worden sein in MouseButtonUp()
3984 rView.GetDrawFuncPtr()->Deactivate(); in MouseButtonUp()
3986 if (!rView.IsDrawMode()) in MouseButtonUp()
3988 rView.SetDrawFuncPtr(NULL); in MouseButtonUp()
3989 SfxBindings& rBind = rView.GetViewFrame()->GetBindings(); in MouseButtonUp()
3998 if (!rView.GetDrawFuncPtr()) in MouseButtonUp()
4013 rView.AttrChangedNotify( &rSh ); in MouseButtonUp()
4016 rView.GetDrawFuncPtr()->BreakCreate(); // Zeichnen abbrechen in MouseButtonUp()
4028 … if ( rView.GetDrawFuncPtr() && rView.GetDrawFuncPtr()->MouseButtonUp(rMEvt) == sal_True ) in MouseButtonUp()
4030 rView.GetDrawFuncPtr()->Deactivate(); in MouseButtonUp()
4031 rView.AttrChangedNotify( &rSh ); in MouseButtonUp()
4034 if ( rView.GetDrawFuncPtr() && bInsFrm ) in MouseButtonUp()
4175 sal_Bool bExecHyperlinks = rView.GetDocShell()->IsReadOnly(); in MouseButtonUp()
4223 rView.ExecSmartTagPopup( aDocPt ); in MouseButtonUp()
4236 rSh.InvalidateWindows( rView.GetVisArea() ); in MouseButtonUp()
4238 rView.ExecFieldPopup( aDocPt, fieldBM ); in MouseButtonUp()
4240 rSh.InvalidateWindows( rView.GetVisArea() ); in MouseButtonUp()
4332 SwWrtShell& rWrtShell = rView.GetWrtShell(); in MouseButtonUp()
4337 SwDocShell* pDocSh = rView.GetDocShell(); in MouseButtonUp()
4457 rView.GetViewFrame()->GetBindings().GetRecorder(); in MouseButtonUp()
4460 SfxShell *pSfxShell = lcl_GetShellFromDispatcher( rView, TYPE(SwTextShell) ); in MouseButtonUp()
4463 SfxRequest aReq( rView.GetViewFrame(), SID_STYLE_APPLY ); in MouseButtonUp()
4496 SwWrtShell &rSh = rView.GetWrtShell(); in SetApplyTemplate()
4539 rView.GetViewFrame()->GetBindings().Invalidate(aInva); in SetApplyTemplate()
4560 rView( rMyView ), in SwEditWin()
4618 if( pQuickHlpData->bClear && rView.GetWrtShellPtr() ) in ~SwEditWin()
4619 pQuickHlpData->Stop( rView.GetWrtShell() ); in ~SwEditWin()
4622 rView.SetDrawFuncPtr(NULL); in ~SwEditWin()
4640 if ( rView.EnterDrawTextMode(aDocPos) == sal_True ) in EnterDrawTextMode()
4642 if (rView.GetDrawFuncPtr()) in EnterDrawTextMode()
4644 rView.GetDrawFuncPtr()->Deactivate(); in EnterDrawTextMode()
4645 rView.SetDrawFuncPtr(NULL); in EnterDrawTextMode()
4646 rView.LeaveDrawCreate(); in EnterDrawTextMode()
4648 rView.NoRotate(); in EnterDrawTextMode()
4649 rView.AttrChangedNotify( &rView.GetWrtShell() ); in EnterDrawTextMode()
4661 SwWrtShell &rSh = rView.GetWrtShell(); in EnterDrawMode()
4664 if ( rView.GetDrawFuncPtr() ) in EnterDrawMode()
4669 sal_Bool bRet = rView.GetDrawFuncPtr()->MouseButtonDown( rMEvt ); in EnterDrawMode()
4670 rView.AttrChangedNotify( &rSh ); in EnterDrawMode()
4691 rView.AttrChangedNotify( &rSh ); in EnterDrawMode()
4715 if ( rView.GetPostItMgr()->HasActiveSidebarWin() ) in GetFocus()
4717 rView.GetPostItMgr()->GrabFocusOnActiveSidebarWin(); in GetFocus()
4721 rView.GotFocus(); in GetFocus()
4723 rView.GetWrtShell().InvalidateAccessibleFocus(); in GetFocus()
4735 rView.GetWrtShell().InvalidateAccessibleFocus(); in LoseFocus()
4738 pQuickHlpData->Stop( rView.GetWrtShell() ); in LoseFocus()
4739 rView.LostFocus(); in LoseFocus()
4750 SwWrtShell &rSh = rView.GetWrtShell(); in Command()
4752 if ( !rView.GetViewFrame() ) in Command()
4782 if (rView.GetPostItMgr()->IsHit(rCEvt.GetMousePosPixel())) in Command()
4785 if((!pChildWin || pChildWin->GetView() != &rView) && in Command()
4803 rView.StopShellTimer(); in Command()
4808 if ( rView.GetDocShell()->IsReadOnly() ) in Command()
4810 SwReadOnlyPopup* pROPopup = new SwReadOnlyPopup( aDocPos, rView ); in Command()
4824 … if( !::ExecuteMenuCommand( *static_cast<PopupMenu*>(pMenu), *rView.GetViewFrame(), nExecId )) in Command()
4832 else if ( !rView.ExecSpellPopup( aDocPos ) ) in Command()
4847 bCallBase = !rView.HandleWheelCommands( rCEvt ); in Command()
4913 rView.GetWrtShell().Insert( pCData->GetText() ); in Command()
4942 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in Command()
4965 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in Command()
4979 rView.GetViewFrame()->GetBindings().GetRecorder(); in Command()
5000 … SfxShell *pSfxShell = lcl_GetShellFromDispatcher( rView, TYPE(SwTextShell) ); in Command()
5004 SfxRequest aReq( rView.GetViewFrame(), FN_INSERT_STRING ); in Command()
5016 sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly() && in Command()
5043 rView.GetViewFrame()->GetBindings().GetRecorder(); in Command()
5064 if( !rView.GetDocShell()->IsReadOnly() ) in Command()
5210 if ( !bIsInsideSelectedObj && rView.GetDrawFuncPtr() ) in SelectMenuPosition()
5213 rView.GetDrawFuncPtr()->Deactivate(); in SelectMenuPosition()
5214 rView.SetDrawFuncPtr(NULL); in SelectMenuPosition()
5215 rView.LeaveDrawCreate(); in SelectMenuPosition()
5216 SfxBindings& rBind = rView.GetViewFrame()->GetBindings(); in SelectMenuPosition()
5271 if ( rView.GetDrawFuncPtr() && bInsFrm ) in SelectMenuPosition()
5288 rView.NoRotate(); in SelectMenuPosition()
5307 if (rSh.IsFrmSelected() && rView.GetDrawFuncPtr()) in SelectMenuPosition()
5309 rView.GetDrawFuncPtr()->Deactivate(); in SelectMenuPosition()
5310 rView.SetDrawFuncPtr(NULL); in SelectMenuPosition()
5311 rView.LeaveDrawCreate(); in SelectMenuPosition()
5312 rView.AttrChangedNotify( &rSh ); in SelectMenuPosition()
5322 if (!rView.GetDrawFuncPtr()) in SelectMenuPosition()
5330 rView.NoRotate(); in SelectMenuPosition()
5339 rView.AttrChangedNotify(&rSh); in SelectMenuPosition()
5354 rView.LeaveDrawCreate(); in SelectMenuPosition()
5355 rView.AttrChangedNotify( &rSh ); in SelectMenuPosition()
5366 rView.GetDrawFuncPtr() ) in SelectMenuPosition()
5368 rView.GetDrawFuncPtr()->Deactivate(); in SelectMenuPosition()
5369 rView.SetDrawFuncPtr(NULL); in SelectMenuPosition()
5370 rView.LeaveDrawCreate(); in SelectMenuPosition()
5371 rView.AttrChangedNotify( &rSh ); in SelectMenuPosition()
5418 SfxShell* lcl_GetShellFromDispatcher( SwView& rView, TypeId nType ) in lcl_GetShellFromDispatcher() argument
5422 SfxDispatcher* pDispatcher = rView.GetViewFrame()->GetDispatcher(); in lcl_GetShellFromDispatcher()
5467 pQuickHlpData->Stop( rView.GetWrtShell() ); in StopQuickHelp()
5495 rView.GetViewFrame()->HideStatusText(); in SetChainMode()
5501 rView.GetViewFrame()->GetBindings().Invalidate(aInva); in SetChainMode()
5508 SwWrtShell *pSh = rView.GetWrtShellPtr(); in CreateAccessible()
5660 SwWrtShell& rSh = rView.GetWrtShell(); in ShowAutoTextCorrectQuickHelp()
5708 SwWrtShell& rSh = rView.GetWrtShell(); in GetSurroundingText()
5735 SwWrtShell& rSh = rView.GetWrtShell(); in GetSurroundingTextSelection()
5769 rView.GetWrtShell().InvalidateAccessibleFocus(); in SwitchView()