Lines Matching refs:m_pSh
52 #define MINMOVE ((sal_uInt16)m_pSh->GetOut()->PixelToLogic(Size(m_pSh->GetDrawView()->GetMarkHdlSiz…
64 m_pSh(pSwWrtShell), in SwDrawBase()
70 if ( !m_pSh->HasDrawView() ) in SwDrawBase()
71 m_pSh->MakeDrawView(); in SwDrawBase()
83 m_pSh->GetDrawView()->SetEditMode(sal_True); in ~SwDrawBase()
97 SdrView *pSdrView = m_pSh->GetDrawView(); in MouseButtonDown()
121 …if (IsCreateObj() && (eHit == SDRHIT_UNMARKEDOBJECT || eHit == SDRHIT_NONE || m_pSh->IsDrawCreate(… in MouseButtonDown()
128 … bReturn = m_pSh->BeginCreate( static_cast< sal_uInt16 >(m_pWin->GetSdrDrawMode()), m_aStartPos); in MouseButtonDown()
221 if (m_pSh->IsObjSelectable(m_aStartPos) && eHit == SDRHIT_UNMARKEDOBJECT) in MouseButtonDown()
233 if (m_pSh->IsObjSelected()) in MouseButtonDown()
241 sal_Bool bUnlockView = !m_pSh->IsViewLocked(); in MouseButtonDown()
242 m_pSh->LockView( sal_True ); //lock visible section in MouseButtonDown()
243 m_pSh->SelectObj(Point(LONG_MAX, LONG_MAX)); // Alles deselektieren in MouseButtonDown()
245 m_pSh->LockView( sal_False ); in MouseButtonDown()
251 if (!m_pSh->IsSelFrmMode()) in MouseButtonDown()
252 m_pSh->EnterSelFrmMode(NULL); in MouseButtonDown()
254 if( 0 != (bReturn = m_pSh->BeginMark(m_aStartPos)) ) in MouseButtonDown()
273 SdrView *pSdrView = m_pSh->GetDrawView(); in MouseMove()
284 m_pSh->MoveCreate(aPnt); in MouseMove()
289 m_pSh->MoveMark(aPnt); in MouseMove()
311 if (IsCreateObj() && m_pSh->IsDrawCreate() && !m_pWin->IsDrawSelMode()) in MouseButtonUp()
320 m_pSh->BreakCreate(); in MouseButtonUp()
330 m_pSh->StartUndo(UNDO_INSERT, &aRewriter); in MouseButtonUp()
333 m_pSh->EndCreate(SDRCREATE_FORCEEND); in MouseButtonUp()
337 m_pSh->GetView().GetViewFrame()->GetBindings().GetRecorder(); in MouseButtonUp()
340 SfxRequest aReq(m_pSh->GetView().GetViewFrame(),FN_INSERT_FRAME); in MouseButtonUp()
343 aReq.AppendItem(SfxPointItem( FN_PARAM_1, m_pSh->GetAnchorObjDiff())); in MouseButtonUp()
344 aReq.AppendItem(SvxSizeItem( FN_PARAM_2, m_pSh->GetObjSize())); in MouseButtonUp()
355 SwFrmFmt* pFmt = m_pSh->GetCurFrmFmt(); in MouseButtonUp()
357 m_pSh->AutoUpdateFrame(pFmt, aSet); in MouseButtonUp()
359 m_pSh->SetFlyFrmAttr( aSet ); in MouseButtonUp()
364 m_pSh->EndUndo(); in MouseButtonUp()
374 SdrView *pSdrView = m_pSh->GetDrawView(); in MouseButtonUp()
381 if ((m_pSh->GetDrawView()->IsMarkObj() || m_pSh->GetDrawView()->IsMarkPoints()) in MouseButtonUp()
384 bReturn = m_pSh->EndMark(); in MouseButtonUp()
388 if (aPnt == m_aStartPos && m_pSh->IsObjSelectable(aPnt)) in MouseButtonUp()
390 m_pSh->SelectObj(aPnt, ( rMEvt.IsShift() && in MouseButtonUp()
391 m_pSh->IsSelFrmMode()) ? SW_ADD_SELECT : 0); in MouseButtonUp()
393 if (!m_pSh->IsObjSelected()) in MouseButtonUp()
397 m_pSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_INSERT_DRAW); in MouseButtonUp()
399 if (m_pSh->IsSelFrmMode()) in MouseButtonUp()
400 m_pSh->LeaveSelFrmMode(); in MouseButtonUp()
406 else if (!m_pSh->IsObjSelected() && !m_pWin->IsDrawAction()) in MouseButtonUp()
408 if (m_pSh->IsObjSelectable(aPnt)) in MouseButtonUp()
409 m_pSh->SelectObj(aPnt, ( rMEvt.IsShift() && in MouseButtonUp()
410 m_pSh->IsSelFrmMode() ) ? SW_ADD_SELECT : 0 ); in MouseButtonUp()
414 if (m_pSh->IsSelFrmMode()) in MouseButtonUp()
415 m_pSh->LeaveSelFrmMode(); in MouseButtonUp()
443 if (!m_pSh->IsObjSelectable(aPnt)) in MouseButtonUp()
444 m_pSh->SelectObj(Point(LONG_MAX, LONG_MAX)); in MouseButtonUp()
449 m_pSh->SelectObj(aPnt, (rMEvt.IsShift() && in MouseButtonUp()
450 m_pSh->IsSelFrmMode()) ? SW_ADD_SELECT :0); in MouseButtonUp()
453 if (!m_pSh->IsObjSelected()) in MouseButtonUp()
457 m_pSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_INSERT_DRAW); in MouseButtonUp()
459 if (m_pSh->IsSelFrmMode()) in MouseButtonUp()
460 m_pSh->LeaveSelFrmMode(); in MouseButtonUp()
470 if (!m_pSh->IsObjSelected() && !m_pWin->IsDrawAction()) in MouseButtonUp()
473 if (m_pSh->IsSelFrmMode()) in MouseButtonUp()
474 m_pSh->LeaveSelFrmMode(); in MouseButtonUp()
483 m_pView->AttrChangedNotify( m_pSh ); // ggf BezierShell anwerfen in MouseButtonUp()
502 SdrView *pSdrView = m_pSh->GetDrawView(); in Activate()
508 m_pSh->NoEdit(); in Activate()
520 SdrView *pSdrView = m_pSh->GetDrawView(); in Deactivate()
524 if (m_pWin->IsDrawAction() && m_pSh->IsDrawCreate()) in Deactivate()
525 m_pSh->BreakCreate(); in Deactivate()
537 m_pSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_INSERT_DRAW); in Deactivate()
571 m_pSh->DelSelectedObj(); in KeyInput()
581 SdrView *pSdrView = m_pSh->GetDrawView(); in KeyInput()
643 m_pSh->BreakCreate(); in BreakCreate()
660 SdrView *pSdrView = m_pSh->GetDrawView(); in SetDrawPointer()
663 const Pointer aPointTyp = pSdrView->GetPreferedPointer(aPnt, m_pSh->GetOut()); in SetDrawPointer()
678 if (!m_pSh->IsObjSelected() && !m_pWin->IsDrawAction()) in EnterSelectMode()
682 if (m_pSh->IsObjSelectable(aPnt)) in EnterSelectMode()
684 m_pSh->SelectObj(aPnt); in EnterSelectMode()
685 if (rMEvt.GetModifier() == KEY_SHIFT || !m_pSh->IsObjSelected()) in EnterSelectMode()
689 m_pSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_INSERT_DRAW); in EnterSelectMode()
695 if (m_pSh->IsSelFrmMode()) in EnterSelectMode()
696 m_pSh->LeaveSelFrmMode(); in EnterSelectMode()
713 … m_pSh->CreateDefaultShape( static_cast< sal_uInt16 >(m_pWin->GetSdrDrawMode()), aRect, m_nSlotId); in CreateDefaultObject()
720 Size aDocSz(m_pSh->GetDocSize()); in GetDefaultCenterPos()
721 const SwRect& rVisArea = m_pSh->VisArea(); in GetDefaultCenterPos()