20#include <svx/svxids.hrc>
41 m_pWin->GetSdrDrawMode() != SdrObjKind::FreehandLine &&
42 m_pWin->GetSdrDrawMode() != SdrObjKind::FreehandFill)
70 case SID_DRAW_POLYGON_NOFILL:
71 case SID_DRAW_XPOLYGON_NOFILL:
72 m_pWin->SetSdrDrawMode(SdrObjKind::PolyLine);
75 case SID_DRAW_POLYGON:
76 case SID_DRAW_XPOLYGON:
77 m_pWin->SetSdrDrawMode(SdrObjKind::Polygon);
80 case SID_DRAW_BEZIER_NOFILL:
81 m_pWin->SetSdrDrawMode(SdrObjKind::PathLine);
84 case SID_DRAW_BEZIER_FILL:
85 m_pWin->SetSdrDrawMode(SdrObjKind::PathFill);
88 case SID_DRAW_FREELINE_NOFILL:
89 m_pWin->SetSdrDrawMode(SdrObjKind::FreehandLine);
92 case SID_DRAW_FREELINE:
93 m_pWin->SetSdrDrawMode(SdrObjKind::FreehandFill);
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
ConstPolygon(SwWrtShell *pSh, SwEditWin *pWin, SwView *pView)
virtual void Activate(const sal_uInt16 nSlotId) override
sal_uInt16 GetClicks() const
virtual void Activate(const sal_uInt16 nSlotId)
VclPtr< SwEditWin > m_pWin
virtual bool MouseButtonUp(const MouseEvent &rMEvt)
void EnterSelectMode(const MouseEvent &rMEvt)
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
bool EndCreate(SdrCreateCmd eSdrCreateCmd)
bool IsDrawCreate() const
Used by the UI to modify the document model.