LibreOffice Module sw (master) 1
|
#include <conform.hxx>
Public Member Functions | |
ConstFormControl (SwWrtShell *pSh, SwEditWin *pWin, SwView *pView, SdrObjKind eObjKind) | |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual void | Activate (const sal_uInt16 nSlotId) override |
virtual void | CreateDefaultObject () override |
Public Member Functions inherited from SwDrawBase | |
SwDrawBase (SwWrtShell *pSh, SwEditWin *pWin, SwView *pView) | |
virtual | ~SwDrawBase () |
void | SetDrawPointer () |
void | EnterSelectMode (const MouseEvent &rMEvt) |
bool | IsInsertForm () const |
bool | IsCreateObj () const |
bool | MouseMove (const MouseEvent &rMEvt) |
virtual bool | MouseButtonUp (const MouseEvent &rMEvt) |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) |
void | BreakCreate () |
void | SetSlotId (sal_uInt16 nSlot) |
sal_uInt16 | GetSlotId () const |
virtual void | Activate (const sal_uInt16 nSlotId) |
virtual void | Deactivate () |
virtual void | CreateDefaultObject () |
virtual void | CreateDefaultObjectAtPosWithSize (Point aPos, Size aSize) |
virtual bool | doConstructOrthogonal () const |
Private Attributes | |
SdrObjKind | m_eObjKind |
Additional Inherited Members | |
Protected Member Functions inherited from SwDrawBase | |
Point | GetDefaultCenterPos () const |
Protected Attributes inherited from SwDrawBase | |
SwView * | m_pView |
SwWrtShell * | m_pSh |
VclPtr< SwEditWin > | m_pWin |
Point | m_aStartPos |
sal_uInt16 | m_nSlotId |
bool | m_bCreateObj:1 |
bool | m_bInsForm:1 |
Definition at line 24 of file conform.hxx.
ConstFormControl::ConstFormControl | ( | SwWrtShell * | pSh, |
SwEditWin * | pWin, | ||
SwView * | pView, | ||
SdrObjKind | eObjKind | ||
) |
Definition at line 30 of file conform.cxx.
References SwDrawBase::m_bInsForm.
|
overridevirtual |
Reimplemented from SwDrawBase.
Definition at line 81 of file conform.cxx.
References SwDrawBase::Activate(), SwViewShell::GetDrawView(), m_eObjKind, SwDrawBase::m_pSh, SwDrawBase::m_pWin, and SdrCreateView::SetCurrentObj().
|
overridevirtual |
Reimplemented from SwDrawBase.
Definition at line 90 of file conform.cxx.
References Point::AdjustX(), Point::AdjustY(), SwFEShell::BeginCreate(), constTwips_5mm, SwFEShell::EndCreate(), SwDrawBase::GetDefaultCenterPos(), SwViewShell::GetDrawView(), SwViewShell::HasDrawView(), SwDrawBase::m_pSh, SwDrawBase::m_pWin, SwViewShell::MakeDrawView(), o3tl::mm, SwFEShell::MoveCreate(), SdrMarkView::SetDesignMode(), and o3tl::toTwips().
|
overridevirtual |
Reimplemented from SwDrawBase.
Definition at line 37 of file conform.cxx.
References SwFEShell::BeginCreate(), g_bNoInterrupt, SwViewShell::GetDrawView(), MouseEvent::GetPosPixel(), SwFEShell::IsDrawCreate(), MouseEvent::IsLeft(), MouseEvent::IsMod2(), MouseEvent::IsShift(), SwDrawBase::m_aStartPos, SwDrawBase::m_pSh, SwDrawBase::m_pWin, SwDrawBase::MouseButtonDown(), SdrView::PickAnything(), SdrSnapView::SetAngleSnapEnabled(), SdrCreateView::SetCreate1stPointAsCenter(), SdrSnapView::SetOrtho(), and SdrDragView::SetResizeAtCenter().
|
private |
Definition at line 27 of file conform.hxx.
Referenced by Activate().