Lines Matching refs:aDocPos
2666 const Point aDocPos( PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonDown() local
2673 if ( !rSh.Chainable( aDummy, *pFmt, aDocPos ) ) in MouseButtonDown()
2674 rSh.Chain( *pFmt, aDocPos ); in MouseButtonDown()
2675 UpdatePointer( aDocPos, rMEvt.GetModifier() ); in MouseButtonDown()
2714 0 != (nMouseTabCol = rSh.WhichMouseTabCol( aDocPos ) ) && in MouseButtonDown()
2715 !rSh.IsObjSelectable( aDocPos ) ) in MouseButtonDown()
2721 rSh.SelectTableRowCol( aDocPos ); in MouseButtonDown()
2724 pRowColumnSelectionStart = new Point( aDocPos ); in MouseButtonDown()
2742 rView.SetTabColFromDocPos( aDocPos ); in MouseButtonDown()
2762 rSh.IsNumLabel(aDocPos)) in MouseButtonDown()
2764 SwTxtNode* pNodeAtPos = rSh.GetNumRuleNodeAtPos( aDocPos ); in MouseButtonDown()
2771 rSh.IsVerticalModeAtNdAndPos( *pNodeAtPos, aDocPos ) ) ) in MouseButtonDown()
2813 0 != ( pHdl = pSdrView->PickHandle(aDocPos) ) && in MouseButtonDown()
2820 UpdatePointer( aDocPos, rMEvt.GetModifier() ); in MouseButtonDown()
2824 if ( EnterDrawMode( rMEvt, aDocPos ) ) in MouseButtonDown()
2840 SdrHdl* pHdl = rSh.GetDrawView()->PickHandle(aDocPos); in MouseButtonDown()
2844 if ((rSh.IsInsideSelectedObj(aDocPos) || bHitHandle) && in MouseButtonDown()
2847 rSh.EnterSelFrmMode( &aDocPos ); in MouseButtonDown()
2854 SwEditWin::nDDStartPosY = aDocPos.Y(); in MouseButtonDown()
2855 SwEditWin::nDDStartPosX = aDocPos.X(); in MouseButtonDown()
2892 UpdatePointer( aDocPos, rMEvt.GetModifier() ); in MouseButtonDown()
2893 SwEditWin::nDDStartPosY = aDocPos.Y(); in MouseButtonDown()
2894 SwEditWin::nDDStartPosX = aDocPos.X(); in MouseButtonDown()
2913 sal_Bool bShould = rSh.ShouldObjectBeSelected(aDocPos); in MouseButtonDown()
2922 sal_Bool bSelObj = rSh.SelectObj( aDocPos, in MouseButtonDown()
2944 rSh.EnterSelFrmMode( &aDocPos ); in MouseButtonDown()
2946 UpdatePointer( aDocPos, rMEvt.GetModifier() ); in MouseButtonDown()
2951 … bOnlyText = static_cast< sal_Bool >(rSh.IsObjSelectable( aDocPos )); in MouseButtonDown()
2961 !rSh.IsInsideSelectedObj( aDocPos ))) in MouseButtonDown()
2966 ( pHdl = pSdrView->PickHandle(aDocPos) ) && in MouseButtonDown()
2971 UpdatePointer( aDocPos, rMEvt.GetModifier() ); in MouseButtonDown()
2989 sal_Bool bSelObj = rSh.SelectObj( aDocPos, nFlag ); in MouseButtonDown()
2998 … bValidCrsrPos = !(CRSR_POSCHG & (rSh.*rSh.fnSetCrsr)(&aDocPos,sal_False)); in MouseButtonDown()
3006 rSh.EnterSelFrmMode( &aDocPos ); in MouseButtonDown()
3018 UpdatePointer( aDocPos, rMEvt.GetModifier() ); in MouseButtonDown()
3029 if ( !bIsDocReadOnly && rSh.IsInsideSelectedObj(aDocPos) && in MouseButtonDown()
3061 EnterDrawTextMode(aDocPos); in MouseButtonDown()
3119 rSh.SelWrd( &aDocPos ); in MouseButtonDown()
3123 rSh.SelWrd( &aDocPos ); in MouseButtonDown()
3151 rSh.SelSentence( &aDocPos ); in MouseButtonDown()
3153 rSh.SelPara( &aDocPos ); in MouseButtonDown()
3175 if ( !bInsDraw && IsDrawObjSelectable( rSh, aDocPos ) ) in MouseButtonDown()
3180 rSh.SelectObj(aDocPos, SW_ADD_SELECT | SW_ENTER_GROUP); in MouseButtonDown()
3182 { if ( rSh.SelectObj( aDocPos, SW_ADD_SELECT | SW_ENTER_GROUP ) ) in MouseButtonDown()
3184 rSh.EnterSelFrmMode( &aDocPos ); in MouseButtonDown()
3185 SwEditWin::nDDStartPosY = aDocPos.Y(); in MouseButtonDown()
3186 SwEditWin::nDDStartPosX = aDocPos.X(); in MouseButtonDown()
3193 rSh.GetDrawView()->PickHandle( aDocPos )) in MouseButtonDown()
3204 if ( !bInsDraw && IsDrawObjSelectable( rSh, aDocPos ) ) in MouseButtonDown()
3209 rSh.SelectObj(aDocPos, SW_ENTER_GROUP); in MouseButtonDown()
3211 { if ( rSh.SelectObj( aDocPos, SW_ENTER_GROUP ) ) in MouseButtonDown()
3213 rSh.EnterSelFrmMode( &aDocPos ); in MouseButtonDown()
3214 SwEditWin::nDDStartPosY = aDocPos.Y(); in MouseButtonDown()
3215 SwEditWin::nDDStartPosX = aDocPos.X(); in MouseButtonDown()
3222 rSh.GetDrawView()->PickHandle( aDocPos )) in MouseButtonDown()
3262 if ( !bInsDraw && IsDrawObjSelectable( rSh, aDocPos ) ) in MouseButtonDown()
3268 rSh.SelectObj(aDocPos, SW_ADD_SELECT); in MouseButtonDown()
3279 { if ( rSh.SelectObj( aDocPos ) ) in MouseButtonDown()
3281 rSh.EnterSelFrmMode( &aDocPos ); in MouseButtonDown()
3282 SwEditWin::nDDStartPosY = aDocPos.Y(); in MouseButtonDown()
3283 SwEditWin::nDDStartPosX = aDocPos.X(); in MouseButtonDown()
3292 rSh.IsInsideSelectedObj( aDocPos ) ) in MouseButtonDown()
3294 rSh.EnterSelFrmMode( &aDocPos ); in MouseButtonDown()
3295 SwEditWin::nDDStartPosY = aDocPos.Y(); in MouseButtonDown()
3296 SwEditWin::nDDStartPosX = aDocPos.X(); in MouseButtonDown()
3323 if( rSh.GetContentAtPos( aDocPos, aCntntAtPos ) ) in MouseButtonDown()
3332 else if( rSh.IsURLGrfAtPos( aDocPos )) in MouseButtonDown()
3349 if( rSh.GetContentAtPos( aDocPos, aCntntAtPos, sal_False ) && in MouseButtonDown()
3362 sal_Bool bOverSelect = rSh.ChgCurrPam( aDocPos ), bOverURLGrf = sal_False; in MouseButtonDown()
3364 bOverURLGrf = bOverSelect = 0 != rSh.IsURLGrfAtPos( aDocPos ); in MouseButtonDown()
3381 nTmpSetCrsr = (rSh.*rSh.fnSetCrsr)(&aDocPos,bOnlyText); in MouseButtonDown()
3402 || rSh.IsObjSelectable( aDocPos ) ) in MouseButtonDown()
4008 const Point aDocPos( PixelToLogic( aStartPos ) ); in MouseButtonUp() local
4009 bValidCrsrPos = !(CRSR_POSCHG & (rSh.*rSh.fnSetCrsr)(&aDocPos,sal_False)); in MouseButtonUp()
4155 const Point aDocPos( PixelToLogic( aStartPos ) ); in MouseButtonUp() local
4156 bValidCrsrPos = !(CRSR_POSCHG & (rSh.*rSh.fnSetCrsr)(&aDocPos,sal_False)); in MouseButtonUp()
4638 void SwEditWin::EnterDrawTextMode( const Point& aDocPos ) in EnterDrawTextMode() argument
4640 if ( rView.EnterDrawTextMode(aDocPos) == sal_True ) in EnterDrawTextMode()
4659 sal_Bool SwEditWin::EnterDrawMode(const MouseEvent& rMEvt, const Point& aDocPos) in EnterDrawMode() argument
4680 rSh.SelectObj( aDocPos ); in EnterDrawMode()
4685 SwEditWin::nDDStartPosY = aDocPos.Y(); in EnterDrawMode()
4686 SwEditWin::nDDStartPosX = aDocPos.X(); in EnterDrawMode()
4797 Point aDocPos( PixelToLogic( rCEvt.GetMousePosPixel() ) ); in Command() local
4799 aDocPos = rSh.GetCharRect().Center(); in Command()
4806 const Point aPixPos = LogicToPixel( aDocPos ); in Command()
4810 SwReadOnlyPopup* pROPopup = new SwReadOnlyPopup( aDocPos, rView ); in Command()
4832 else if ( !rView.ExecSpellPopup( aDocPos ) ) in Command()
5233 const Point aDocPos( PixelToLogic( rMousePos ) ); in SelectMenuPosition() local
5234 const bool bIsInsideSelectedObj( rSh.IsInsideSelectedObj( aDocPos ) ); in SelectMenuPosition()
5264 Point aEEPos(aDocPos); in SelectMenuPosition()
5299 if ( EnterDrawMode( aMEvt, aDocPos ) ) in SelectMenuPosition()
5309 UpdatePointer( aDocPos, 0 ); in SelectMenuPosition()
5316 sal_Bool bShould = rSh.ShouldObjectBeSelected(aDocPos); in SelectMenuPosition()
5325 sal_Bool bSelObj = rSh.SelectObj( aDocPos, 0); in SelectMenuPosition()
5347 rSh.EnterSelFrmMode( &aDocPos ); in SelectMenuPosition()
5349 UpdatePointer( aDocPos, 0 ); in SelectMenuPosition()
5375 sal_Bool bSelObj = rSh.SelectObj( aDocPos, nFlag ); in SelectMenuPosition()
5384 bValidCrsrPos = !(CRSR_POSCHG & (rSh.*rSh.fnSetCrsr)(&aDocPos,sal_False)); in SelectMenuPosition()
5393 rSh.EnterSelFrmMode( &aDocPos ); in SelectMenuPosition()
5405 UpdatePointer( aDocPos, 0 ); in SelectMenuPosition()
5421 sal_Bool bOverSelect = rSh.ChgCurrPam( aDocPos ), bOverURLGrf = sal_False; in SelectMenuPosition()
5423 bOverURLGrf = bOverSelect = 0 != rSh.IsURLGrfAtPos( aDocPos ); in SelectMenuPosition()
5430 (rSh.*rSh.fnSetCrsr)(&aDocPos, sal_False); in SelectMenuPosition()