Lines Matching refs:rVEvt

302 …nd SdrView::PickAnything(const MouseEvent& rMEvt, sal_uInt16 nEventKind, SdrViewEvent& rVEvt) const  in PickAnything()
304 rVEvt.bMouseDown=nEventKind==SDRMOUSEBUTTONDOWN; in PickAnything()
305 rVEvt.bMouseUp=nEventKind==SDRMOUSEBUTTONUP; in PickAnything()
306 rVEvt.nMouseClicks=rMEvt.GetClicks(); in PickAnything()
307 rVEvt.nMouseMode=rMEvt.GetMode(); in PickAnything()
308 rVEvt.nMouseCode=rMEvt.GetButtons() | rMEvt.GetModifier(); in PickAnything()
317 rVEvt.aLogicPos=aPnt; in PickAnything()
318 return PickAnything(aPnt,rVEvt); in PickAnything()
344 SdrHitKind SdrView::PickAnything(const Point& rLogicPos, SdrViewEvent& rVEvt) const in PickAnything()
364 sal_Bool bShift=(rVEvt.nMouseCode & KEY_SHIFT) !=0; in PickAnything()
365 sal_Bool bCtrl=(rVEvt.nMouseCode & KEY_MOD1) !=0; in PickAnything()
366 sal_Bool bAlt=(rVEvt.nMouseCode & KEY_MOD2) !=0; in PickAnything()
476 rVEvt.pRootObj=pObj; in PickAnything()
527 rVEvt.pURLField=pURL; in PickAnything()
579 rVEvt.pRootObj=pObj; in PickAnything()
590 sal_Bool bMouseLeft=(rVEvt.nMouseCode&MOUSE_LEFT)!=0; in PickAnything()
591 sal_Bool bMouseRight=(rVEvt.nMouseCode&MOUSE_RIGHT)!=0; in PickAnything()
592 sal_Bool bMouseDown=rVEvt.bMouseDown; in PickAnything()
593 sal_Bool bMouseUp=rVEvt.bMouseUp; in PickAnything()
611 rVEvt.bDragWithCopy=MODKEY_CopyDrag; in PickAnything()
616 rVEvt.eEndCreateCmd=SDRCREATE_NEXTPOINT; in PickAnything()
617 if (MODKEY_PolyPoly) rVEvt.eEndCreateCmd=SDRCREATE_NEXTOBJECT; in PickAnything()
618 if (rVEvt.nMouseClicks>1) rVEvt.eEndCreateCmd=SDRCREATE_FORCEEND; in PickAnything()
626 rVEvt.bAddMark=MODKEY_MultiMark; in PickAnything()
642 …if (rVEvt.nMouseClicks==2 && rVEvt.nMouseCode==MOUSE_LEFT && pObj!=NULL && pHitObj!=NULL && pHitOb… in PickAnything()
644 rVEvt.pRootObj=pObj; in PickAnything()
659 rVEvt.bAddMark=MODKEY_MultiMark || MODKEY_DeepMark; // falls bei Deep nicht getroffen in PickAnything()
672 rVEvt.bAddMark=sal_True; in PickAnything()
673 rVEvt.bPrevNextMark=sal_True; in PickAnything()
674 rVEvt.bMarkPrev=MODKEY_DeepBackw; in PickAnything()
678 rVEvt.bAddMark=sal_True; in PickAnything()
679 rVEvt.bUnmark=bMarked; // Toggle in PickAnything()
695 rVEvt.bInsPointNewObj=MODKEY_PolyPoly; in PickAnything()
749 rVEvt.bAddMark=MODKEY_MultiMark || MODKEY_DeepMark; // falls bei Deep nicht getroffen in PickAnything()
750 rVEvt.bPrevNextMark=MODKEY_DeepMark; in PickAnything()
751 rVEvt.bMarkPrev=MODKEY_DeepMark && MODKEY_DeepBackw; in PickAnything()
755 rVEvt.bAddMark=MODKEY_MultiMark; in PickAnything()
756 rVEvt.bUnmark=MODKEY_Unmark; in PickAnything()
759 rVEvt.bIsAction=bIsAction; in PickAnything()
760 rVEvt.bIsTextEdit=bIsTextEdit; in PickAnything()
761 rVEvt.bTextEditHit=bTextEditHit; in PickAnything()
762 rVEvt.aLogicPos=aLocalLogicPosition; in PickAnything()
763 rVEvt.pHdl=pHdl; in PickAnything()
764 rVEvt.pObj=pObj; in PickAnything()
765 if(rVEvt.pRootObj==NULL) in PickAnything()
766 rVEvt.pRootObj=pObj; in PickAnything()
767 rVEvt.pPV=pPV; in PickAnything()
768 rVEvt.nHlplIdx=nHlplIdx; in PickAnything()
769 rVEvt.nGlueId=nGlueId; in PickAnything()
770 rVEvt.eHit=eHit; in PickAnything()
771 rVEvt.eEvent=eEvent; in PickAnything()
772 rVEvt.bCaptureMouse=bMouseLeft && bMouseDown && eEvent!=SDREVENT_NONE; in PickAnything()
773 rVEvt.bReleaseMouse=bMouseLeft && bMouseUp; in PickAnything()
775 if (rVEvt.pRootObj!=NULL) { in PickAnything()
776 if (rVEvt.pRootObj->GetObjList()!=rVEvt.pPV->GetObjList()) { in PickAnything()
784 sal_Bool SdrView::DoMouseEvent(const SdrViewEvent& rVEvt) in DoMouseEvent() argument
787 SdrHitKind eHit=rVEvt.eHit; in DoMouseEvent()
788 Point aLogicPos(rVEvt.aLogicPos); in DoMouseEvent()
790 sal_Bool bShift=(rVEvt.nMouseCode & KEY_SHIFT) !=0; in DoMouseEvent()
791 sal_Bool bCtrl=(rVEvt.nMouseCode & KEY_MOD1) !=0; in DoMouseEvent()
792 sal_Bool bAlt=(rVEvt.nMouseCode & KEY_MOD2) !=0; in DoMouseEvent()
793 sal_Bool bMouseLeft=(rVEvt.nMouseCode&MOUSE_LEFT)!=0; in DoMouseEvent()
795 sal_Bool bMouseDown=rVEvt.bMouseDown; in DoMouseEvent()
796 sal_Bool bMouseUp=rVEvt.bMouseUp; in DoMouseEvent()
825 …if (bMouseLeft && bMouseDown && rVEvt.bIsTextEdit && (eHit==SDRHIT_UNMARKEDOBJECT || eHit==SDRHIT_… in DoMouseEvent()
830 switch (rVEvt.eEvent) { in DoMouseEvent()
840 if (!MarkObj(aLogicPos,nHitTolLog,rVEvt.bAddMark)) { in DoMouseEvent()
845 if (!rVEvt.bAddMark) UnmarkAll(); in DoMouseEvent()
852 if (rVEvt.nMouseClicks>1) eCmd=SDRCREATE_FORCEEND; in DoMouseEvent()
855 MarkObj(rVEvt.pRootObj,rVEvt.pPV); in DoMouseEvent()
859 … SdrBeginTextEdit(rVEvt.pObj, rVEvt.pPV, (Window*)pActualOutDev, sal_False, (SdrOutliner*)0L)); in DoMouseEvent()
864 1,rVEvt.nMouseMode,rVEvt.nMouseCode,rVEvt.nMouseCode); in DoMouseEvent()
882 if (!rVEvt.bAddMark) UnmarkAllObj(); in DoMouseEvent()
883 sal_Bool bUnmark=rVEvt.bUnmark; in DoMouseEvent()
884 if (rVEvt.bPrevNextMark) { in DoMouseEvent()
885 bRet=MarkNextObj(aLogicPos,nHitTolLog,rVEvt.bMarkPrev); in DoMouseEvent()
889 bRet=MarkObj(aLogicPos,nHitTolLog,rVEvt.bAddMark); in DoMouseEvent()
900 if (!rVEvt.bAddMark) UnmarkAllPoints(); in DoMouseEvent()
901 if (rVEvt.bPrevNextMark) { in DoMouseEvent()
902 bRet=MarkNextPoint(aLogicPos,rVEvt.bMarkPrev); in DoMouseEvent()
904 bRet=MarkPoint(*rVEvt.pHdl,rVEvt.bUnmark); in DoMouseEvent()
906 if (!rVEvt.bUnmark && !rVEvt.bPrevNextMark) { in DoMouseEvent()
907 BegDragObj(aLogicPos,NULL,rVEvt.pHdl,nMinMovLog); in DoMouseEvent()
912 if (!rVEvt.bAddMark) UnmarkAllGluePoints(); in DoMouseEvent()
913 if (rVEvt.bPrevNextMark) { in DoMouseEvent()
914 bRet=MarkNextGluePoint(aLogicPos,rVEvt.bMarkPrev); in DoMouseEvent()
916 bRet=MarkGluePoint(rVEvt.pObj,rVEvt.nGlueId,rVEvt.pPV,rVEvt.bUnmark); in DoMouseEvent()
918 if (!rVEvt.bUnmark && !rVEvt.bPrevNextMark) { in DoMouseEvent()
919 SdrHdl* pHdl=GetGluePointHdl(rVEvt.pObj,rVEvt.nGlueId); in DoMouseEvent()
924 case SDREVENT_BEGMARK: bRet=BegMark(aLogicPos,rVEvt.bAddMark,rVEvt.bUnmark); break; in DoMouseEvent()
929 if (rVEvt.nMouseClicks>1) eCmd=SDRCREATE_FORCEEND; in DoMouseEvent()
934 case SDREVENT_BEGDRAGHELPLINE: bRet=BegDragHelpLine(rVEvt.nHlplIdx,rVEvt.pPV); break; in DoMouseEvent()
935 case SDREVENT_BEGDRAGOBJ: bRet=BegDragObj(aLogicPos,NULL,rVEvt.pHdl,nMinMovLog); break; in DoMouseEvent()
942 …case SDREVENT_BEGMACROOBJ: bRet=BegMacroObj(aLogicPos,nHitTolLog,rVEvt.pObj,rVEvt.pPV,(Window*)pAc… in DoMouseEvent()
944 if (!IsObjMarked(rVEvt.pObj)) { in DoMouseEvent()
946 MarkObj(rVEvt.pRootObj,rVEvt.pPV); in DoMouseEvent()
950 SdrBeginTextEdit(rVEvt.pObj, rVEvt.pPV, (Window*)pActualOutDev, sal_False, (SdrOutliner*)0L); in DoMouseEvent()
955 1,rVEvt.nMouseMode,rVEvt.nMouseCode,rVEvt.nMouseCode); in DoMouseEvent()
965 sal_Bool bLeftDown=(rVEvt.nMouseCode&MOUSE_LEFT)!=0 && rVEvt.bMouseDown; in DoMouseEvent()
967 sal_Bool bLeftUp=(rVEvt.nMouseCode&MOUSE_LEFT)!=0 && rVEvt.bMouseUp; in DoMouseEvent()
969 sal_Bool bLeftDown1=(rVEvt.nMouseCode&MOUSE_LEFT)!=0 && !rVEvt.bMouseUp; in DoMouseEvent()
970 pWin->SetPointer(GetPreferedPointer(rVEvt.aLogicPos,pWin, in DoMouseEvent()
971 rVEvt.nMouseCode & (KEY_SHIFT|KEY_MOD1|KEY_MOD2),bLeftDown1)); in DoMouseEvent()
974 else if (bLeftUp || (rVEvt.bIsAction && !bAction)) pWin->ReleaseMouse(); in DoMouseEvent()