Lines Matching refs:rMEvt
188 sal_Bool DlgEdFunc::MouseButtonDown( const MouseEvent& rMEvt ) in MouseButtonDown() argument
190 m_aMDPos = m_pParent->PixelToLogic( rMEvt.GetPosPixel() ); in MouseButtonDown()
193 if ( rMEvt.IsLeft() ) in MouseButtonDown()
195 if ( rMEvt.GetClicks() > 1 ) in MouseButtonDown()
227 …else if ( rMEvt.IsRight() && !rMEvt.IsLeft() && rMEvt.GetClicks() == 1 ) // mark object when conte… in MouseButtonDown()
231 …if ( m_rView.PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt) != SDRHIT_MARKEDOBJECT && !rMEvt.IsShi… in MouseButtonDown()
240 else if( !rMEvt.IsLeft() ) in MouseButtonDown()
256 void DlgEdFunc::checkTwoCklicks(const MouseEvent& rMEvt) in checkTwoCklicks() argument
260 const sal_uInt16 nClicks = rMEvt.GetClicks(); in checkTwoCklicks()
261 if ( nClicks == 2 && rMEvt.IsLeft() ) in checkTwoCklicks()
522 bool DlgEdFunc::isOverlapping(const MouseEvent& rMEvt) in isOverlapping() argument
526 bOverlapping = m_rView.PickAnything(rMEvt, SDRMOUSEBUTTONUP, aVEvt) != SDRHIT_NONE; in isOverlapping()
539 void DlgEdFunc::checkMovementAllowed(const MouseEvent& rMEvt) in checkMovementAllowed() argument
543 if ( isRectangleHit(rMEvt) ) in checkMovementAllowed()
549 Point aPnt( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in checkMovementAllowed()
556 bool bControlKeyPressed = rMEvt.IsMod1(); in checkMovementAllowed()
598 bool DlgEdFunc::isRectangleHit(const MouseEvent& rMEvt) in isRectangleHit() argument
606 const SdrHitKind eHit = m_rView.PickAnything(rMEvt, SDRMOUSEMOVE, aVEvt); in isRectangleHit()
656 bool DlgEdFunc::setMovementPointer(const MouseEvent& rMEvt) in setMovementPointer() argument
658 bool bIsSetPoint = isRectangleHit(rMEvt); in setMovementPointer()
663 bool bCtrlKey = rMEvt.IsMod1(); in setMovementPointer()
690 sal_Bool DlgEdFuncInsert::MouseButtonDown( const MouseEvent& rMEvt ) in MouseButtonDown() argument
692 if ( DlgEdFunc::MouseButtonDown(rMEvt) ) in MouseButtonDown()
698 const SdrHitKind eHit = m_rView.PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonDown()
727 if( !rMEvt.IsShift() ) in MouseButtonDown()
739 sal_Bool DlgEdFuncInsert::MouseButtonUp( const MouseEvent& rMEvt ) in MouseButtonUp() argument
741 if ( DlgEdFunc::MouseButtonUp( rMEvt ) ) in MouseButtonUp()
744 const Point aPos( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp()
784 checkMovementAllowed(rMEvt); in MouseButtonUp()
789 !rMEvt.IsShift() && !rMEvt.IsMod2() ) in MouseButtonUp()
793 m_rView.PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonUp()
796 checkTwoCklicks(rMEvt); in MouseButtonUp()
803 sal_Bool DlgEdFuncInsert::MouseMove( const MouseEvent& rMEvt ) in MouseMove() argument
805 if ( DlgEdFunc::MouseMove(rMEvt ) ) in MouseMove()
807 Point aPos( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseMove()
811 …tion()->getSectionWindow()->getViewsWindow()->getShapeType()) ? !rMEvt.IsShift() : rMEvt.IsShift()… in MouseMove()
812 m_rView.SetAngleSnapEnabled(rMEvt.IsShift()); in MouseMove()
826 bIsSetPoint = setMovementPointer(rMEvt); in MouseMove()
855 sal_Bool DlgEdFuncSelect::MouseButtonDown( const MouseEvent& rMEvt ) in MouseButtonDown() argument
858 if ( DlgEdFunc::MouseButtonDown(rMEvt) ) in MouseButtonDown()
862 const SdrHitKind eHit = m_rView.PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonDown()
866 if ( !rMEvt.IsShift() ) in MouseButtonDown()
869 if ( m_rView.MarkObj(m_aMDPos) && rMEvt.IsLeft() ) in MouseButtonDown()
882 if( !rMEvt.IsShift() ) in MouseButtonDown()
886 if ( rMEvt.GetClicks() == 1 ) in MouseButtonDown()
902 sal_Bool DlgEdFuncSelect::MouseButtonUp( const MouseEvent& rMEvt ) in MouseButtonUp() argument
904 if ( DlgEdFunc::MouseButtonUp( rMEvt ) ) in MouseButtonUp()
908 const Point aPnt( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp()
910 if ( rMEvt.IsLeft() ) // left mousebutton pressed in MouseButtonUp()
911 checkMovementAllowed(rMEvt); in MouseButtonUp()
914 checkTwoCklicks(rMEvt); in MouseButtonUp()
926 sal_Bool DlgEdFuncSelect::MouseMove( const MouseEvent& rMEvt ) in MouseMove() argument
928 if ( DlgEdFunc::MouseMove(rMEvt ) ) in MouseMove()
931 Point aPnt( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseMove()
936 bIsSetPoint = setMovementPointer(rMEvt); in MouseMove()
963 bool bControlKey = rMEvt.IsMod1(); in MouseMove()