Lines Matching refs:mpView
172 if(mpView) in disposing()
174 if(mpView->SdrEndTextEdit(sal_False) == SDRENDTEXTEDIT_DELETED) in disposing()
179 ::Outliner* pOutliner = mpView->GetTextEditOutliner(); in disposing()
206 mpView->SetCurrentObj(OBJ_TEXT); in DoExecute()
207 mpView->SetEditMode(SDREDITMODE_EDIT); in DoExecute()
214 SdrPageView* pPV = mpView->GetSdrPageView(); in DoExecute()
216 mpView->PickAnything(aMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in DoExecute()
217 mpView->MarkObj(aVEvt.pRootObj, pPV); in DoExecute()
221 else if (mpView->AreObjectsMarked()) in DoExecute()
223 const SdrMarkList& rMarkList = mpView->GetMarkedObjectList(); in DoExecute()
233 if (mpView->AreObjectsMarked()) in DoExecute()
235 const SdrMarkList& rMarkList = mpView->GetMarkedObjectList(); in DoExecute()
287 mpView->SetMarkHdlWhenTextEdit(sal_True); in MouseButtonDown()
289 SdrHitKind eHit = mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonDown()
294 if (mpView->MouseButtonDown(rMEvt, mpWindow)) in MouseButtonDown()
300 if (mpView->IsTextEdit() && eHit != SDRHIT_MARKEDOBJECT && eHit != SDRHIT_HANDLE) in MouseButtonDown()
303 if(mpView->SdrEndTextEdit() == SDRENDTEXTEDIT_DELETED) in MouseButtonDown()
314 eHit = mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonDown()
317 mpView->SetCurrentObj(OBJ_TEXT); in MouseButtonDown()
318 mpView->SetEditMode(SDREDITMODE_EDIT); in MouseButtonDown()
325 SdrPageView* pPV = mpView->GetSdrPageView(); in MouseButtonDown()
335 if (bMacro && mpView->PickObj(aMDPos,mpView->getHitTolLog(),pObj,pPV,SDRSEARCH_PICKMACRO)) in MouseButtonDown()
339 mpView->BegMacroObj(aMDPos,nHitLog,pObj,pPV,mpWindow); in MouseButtonDown()
348 mpView->UnmarkAll(); in MouseButtonDown()
349 mpView->SetDragMode(SDRDRAG_MOVE); in MouseButtonDown()
369 mpView->MarkObj(aVEvt.pRootObj, pPV); in MouseButtonDown()
424 if( mpView->IsTextEdit() ) in MouseButtonDown()
426 mpView->SdrEndTextEdit(); in MouseButtonDown()
433 mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonDown()
442 mpView->UnmarkAll(); in MouseButtonDown()
444 mpView->MarkObj(aVEvt.pRootObj, pPV); in MouseButtonDown()
456 eHit = mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonDown()
460 mpView->BegDragObj(aMDPos, (OutputDevice*) NULL, aVEvt.pHdl, nDrgLog); in MouseButtonDown()
472 mpView->SetCurrentObj(OBJ_TEXT); in MouseButtonDown()
473 mpView->SetEditMode(SDREDITMODE_CREATE); in MouseButtonDown()
475 mpView->BegCreateObj(aMDPos, (OutputDevice*) NULL, nDrgLog); in MouseButtonDown()
483 mpView->UnmarkAll(); in MouseButtonDown()
485 mpView->BegMarkObj( aMDPos ); in MouseButtonDown()
491 else if ( rMEvt.GetClicks() == 2 && !mpView->IsTextEdit() ) in MouseButtonDown()
524 if (!bReturn && mpView->IsAction() && !mpDocSh->IsReadOnly()) in MouseMove()
530 mpView->MovAction(aPnt); in MouseMove()
676 if( (mpView && mpView->MouseButtonUp(rMEvt, mpWindow)) || rMEvt.GetClicks() == 2 ) in MouseButtonUp()
683 const SdrMarkList& rMarkList = mpView->GetMarkedObjectList(); in MouseButtonUp()
699 if( mpView && mpView->IsDragObj()) in MouseButtonUp()
709 bDragWithCopy = !mpView->IsPresObjSelected(sal_False, sal_True); in MouseButtonUp()
712 mpView->SetDragWithCopy(bDragWithCopy); in MouseButtonUp()
713 mpView->EndDragObj( mpView->IsDragWithCopy() ); in MouseButtonUp()
714 mpView->ForceMarkedToAnotherPage(); in MouseButtonUp()
715 mpView->SetCurrentObj(OBJ_TEXT); in MouseButtonUp()
719 …if ( mpView->IsRotateAllowed() && mpViewShell->GetFrameView()->IsClickChangeRotation() && (rMEvt.G… in MouseButtonUp()
728 else if( mpView && mpView->IsCreateObj() && rMEvt.IsLeft()) in MouseButtonUp()
733 mxTextObj.reset( dynamic_cast< SdrTextObj* >( mpView->GetCreateObj() ) ); in MouseButtonUp()
770 if (!mpView->EndCreateObj(SDRCREATE_FORCEEND)) in MouseButtonUp()
795 mpView->AdjustMarkHdl(); in MouseButtonUp()
796 mpView->PickHandle(aPnt); in MouseButtonUp()
800 else if ( mpView && mpView->IsAction()) in MouseButtonUp()
802 mpView->EndAction(); in MouseButtonUp()
809 if ( mpView && !mpView->AreObjectsMarked() && in MouseButtonUp()
814 SdrPageView* pPV = mpView->GetSdrPageView(); in MouseButtonUp()
816 mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in MouseButtonUp()
817 mpView->MarkObj(aVEvt.pRootObj, pPV); in MouseButtonUp()
820 if ( !mxTextObj.is() && mpView ) in MouseButtonUp()
830 mpView->SetCurrentObj(OBJ_TEXT); in MouseButtonUp()
831 mpView->SetEditMode(SDREDITMODE_CREATE); in MouseButtonUp()
833 mpView->BegCreateObj(aMDPos, (OutputDevice*) NULL, nDrgLog); in MouseButtonUp()
835 sal_Bool bSnapEnabled = mpView->IsSnapEnabled(); in MouseButtonUp()
838 mpView->SetSnapEnabled(sal_False); in MouseButtonUp()
842 mpView->MovAction(aPnt); in MouseButtonUp()
844 mxTextObj.reset( dynamic_cast< SdrTextObj* >( mpView->GetCreateObj() ) ); in MouseButtonUp()
851 if(!mpView->EndCreateObj(SDRCREATE_FORCEEND)) in MouseButtonUp()
857 mpView->SetSnapEnabled(bSnapEnabled); in MouseButtonUp()
906 const SfxItemSet& rSet = mpView->GetDefaultAttr(); in MouseButtonUp()
929 const SfxItemSet& rSet = mpView->GetDefaultAttr(); in MouseButtonUp()
952 if (mpView->SdrEndTextEdit() == SDRENDTEXTEDIT_DELETED) in MouseButtonUp()
979 mpView->SetMarkHdlWhenTextEdit(sal_True); in KeyInput()
988 const SdrMarkList& rMarkList = mpView->GetMarkedObjectList(); in KeyInput()
1024 if (bOK && mpView->KeyInput(aKEvt, mpWindow) ) in KeyInput()
1040 mpView->SetCurrentObj(OBJ_TEXT); in KeyInput()
1041 mpView->SetEditMode(SDREDITMODE_CREATE); in KeyInput()
1062 mpView->SetQuickTextEditMode(mpViewShell->GetFrameView()->IsQuickEdit()); in Activate()
1066 mpView->SetHitTolerancePixel( 2 * HITPIX ); in Activate()
1068 OutlinerView* pOLV = mpView->GetTextEditOutlinerView(); in Activate()
1076 mpView->SetEditMode(SDREDITMODE_EDIT); in Activate()
1088 OutlinerView* pOLV = mpView->GetTextEditOutlinerView(); in Deactivate()
1093 mpView->SetHitTolerancePixel( HITPIX ); in Deactivate()
1107 SdrPageView* pPV = mpView->GetSdrPageView(); in SetInEditMode()
1110 mpView->SetCurrentObj(OBJ_TEXT); in SetInEditMode()
1113 mpView->SetEditMode(SDREDITMODE_CREATE); in SetInEditMode()
1115 mpView->SetEditMode(SDREDITMODE_EDIT); in SetInEditMode()
1119 if (!GetTextObj()->GetOutlinerParaObject() && mpView->GetTextEditOutliner()) in SetInEditMode()
1121 ::Outliner* pOutl = mpView->GetTextEditOutliner(); in SetInEditMode()
1135 if (GetTextObj() != mpView->GetTextEditObject() || bEmptyOutliner) in SetInEditMode()
1149 mpView->SdrEndTextEdit(sal_True); in SetInEditMode()
1165 …if (mpView->SdrBeginTextEdit(pTextObj, pPV, mpWindow, sal_True, pOutl) && mxTextObj->GetObjInvento… in SetInEditMode()
1170 OutlinerView* pOLV = mpView->GetTextEditOutlinerView(); in SetInEditMode()
1175 SdrHitKind eHit = mpView->PickAnything(rMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in SetInEditMode()
1207 mpView->RestoreDefaultText(dynamic_cast< SdrTextObj* >( mxTextObj.get() )); in SetInEditMode()
1244 ::Outliner* pOutliner = mpView->GetTextEditOutliner(); in DeleteDefaultText()
1289 OutlinerView* pOLV = mpView->GetTextEditOutlinerView(); in RequestHelp()
1353 mxTextObj.reset( dynamic_cast< SdrTextObj* >( mpView->GetTextEditObject() ) ); in ReceiveRequest()
1358 SdrPageView* pPV = mpView->GetSdrPageView(); in ReceiveRequest()
1360 mpView->PickAnything(aMEvt, SDRMOUSEBUTTONDOWN, aVEvt); in ReceiveRequest()
1361 mpView->MarkObj(aVEvt.pRootObj, pPV); in ReceiveRequest()
1369 else if (mpView->AreObjectsMarked()) in ReceiveRequest()
1371 const SdrMarkList& rMarkList = mpView->GetMarkedObjectList(); in ReceiveRequest()
1444 mpView->GetCurrentObjInventor(), mpView->GetCurrentObjIdentifier(), in CreateDefaultObject()
1477 SdrPageView* pPV = mpView->GetSdrPageView(); in CreateDefaultObject()
1478 mpView->SdrBeginTextEdit(pText, pPV); in CreateDefaultObject()
1500 if ( mpView->IsTextEdit() ) in cancel()
1502 if(mpView->SdrEndTextEdit() == SDRENDTEXTEDIT_DELETED) in cancel()
1505 mpView->SetCurrentObj(OBJ_TEXT); in cancel()
1506 mpView->SetEditMode(SDREDITMODE_EDIT); in cancel()