Lines Matching refs:_rVclEvent
742 awt::MouseEvent VCLUnoHelper::createMouseEvent( const ::MouseEvent& _rVclEvent, const uno::Referenc… in createMouseEvent() argument
748 if ( _rVclEvent.IsShift() ) in createMouseEvent()
750 if ( _rVclEvent.IsMod1() ) in createMouseEvent()
752 if ( _rVclEvent.IsMod2() ) in createMouseEvent()
756 if ( _rVclEvent.IsLeft() ) in createMouseEvent()
758 if ( _rVclEvent.IsRight() ) in createMouseEvent()
760 if ( _rVclEvent.IsMiddle() ) in createMouseEvent()
763 aMouseEvent.X = _rVclEvent.GetPosPixel().X(); in createMouseEvent()
764 aMouseEvent.Y = _rVclEvent.GetPosPixel().Y(); in createMouseEvent()
765 aMouseEvent.ClickCount = _rVclEvent.GetClicks(); in createMouseEvent()
771 awt::KeyEvent VCLUnoHelper::createKeyEvent( const ::KeyEvent& _rVclEvent, const uno::Reference< uno… in createKeyEvent() argument
777 if ( _rVclEvent.GetKeyCode().IsShift() ) in createKeyEvent()
779 if ( _rVclEvent.GetKeyCode().IsMod1() ) in createKeyEvent()
781 if ( _rVclEvent.GetKeyCode().IsMod2() ) in createKeyEvent()
783 if ( _rVclEvent.GetKeyCode().IsMod3() ) in createKeyEvent()
786 aKeyEvent.KeyCode = _rVclEvent.GetKeyCode().GetCode(); in createKeyEvent()
787 aKeyEvent.KeyChar = _rVclEvent.GetCharCode(); in createKeyEvent()
788 aKeyEvent.KeyFunc = ::sal::static_int_cast< sal_Int16 >( _rVclEvent.GetKeyCode().GetFunction()); in createKeyEvent()