23#include <svx/svxids.hrc>
26#include <fuconstr.hxx>
30#include <drawview.hxx>
34#define SC_MAXDRAGMOVE 3
38 :
FuDraw(rViewSh, pWin, pViewP, pDoc, rReq)
112 if ( pHdl !=
nullptr )
138 if ( nClicks == 2 && rMEvt.
IsLeft() )
153 sal_uInt16 nTextSlotId = bVertical ? SID_DRAW_TEXT_VERTICAL : SID_DRAW_TEXT;
156 Execute(nTextSlotId, SfxCallMode::SLOT | SfxCallMode::RECORD);
160 if ( pPoor && pPoor->
GetSlotID() == nTextSlotId )
196 else bReturn =
false;
208 rDisp.
Execute(SID_OBJECT_SELECT, SfxCallMode::SLOT | SfxCallMode::RECORD);
220 bool bReturn =
false;
virtual bool BegDragObj(const Point &rPnt, OutputDevice *pOut, SdrHdl *pHdl, short nMinMov=-3, SdrDragMethod *pForcedMeth=nullptr) override
virtual void MovAction(const Point &rPnt) override
bool SimpleMouseButtonUp(const MouseEvent &rMEvt)
virtual SC_DLLPUBLIC bool MouseMove(const MouseEvent &rMEvt) override
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
FuConstruct(ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
virtual bool KeyInput(const KeyEvent &rKEvt) override
virtual ~FuConstruct() override
Base class for all Drawmodule specific functions.
virtual bool KeyInput(const KeyEvent &rKEvt) override
virtual bool MouseMove(const MouseEvent &rMEvt) override
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
Base class for all functions.
sal_uInt16 GetSlotID() const
void SetMouseButtonCode(sal_uInt16 nNew)
void ForceScroll(const Point &aPixPos)
ScTabViewShell & rViewShell
VclPtr< vcl::Window > pWindow
Base class for Text functions.
void SetInEditMode(SdrObject *pObj=nullptr, const Point *pMousePixel=nullptr, bool bCursorToEnd=false, const KeyEvent *pInitialKey=nullptr)
const vcl::KeyCode & GetKeyCode() const
sal_uInt16 GetClicks() const
sal_uInt16 GetButtons() const
const Point & GetPosPixel() const
bool IsEffectivelyVertical() const
constexpr tools::Long Y() const
constexpr tools::Long X() const
virtual void DeleteMarked() override
FuPoor * GetDrawFuncPtr()
ScViewData & GetViewData()
void SetActivePointer(PointerStyle nPointer)
SfxDispatcher & GetDispatcher()
ScDBFunc * GetView() const
virtual void BrkAction() override
virtual bool IsAction() const override
virtual void BckAction() override
bool EndDragObj(bool bCopy=false)
virtual PointerStyle GetPointer() const
size_t GetMarkCount() const
SdrMark * GetMark(size_t nNum) const
SdrHdl * PickHandle(const Point &rPnt) const
const SdrMarkList & GetMarkedObjectList() const
bool AreObjectsMarked() const
bool IsMarkedHit(const Point &rPnt, short nTol=-2) const
bool MarkObj(const Point &rPnt, short nTol=-2, bool bToggle=false, bool bDeep=false)
SdrObject * GetMarkedSdrObj() const
virtual OutlinerParaObject * GetOutlinerParaObject() const
const SfxPoolItem * Execute(sal_uInt16 nSlot, SfxCallMode nCall=SfxCallMode::SLOT, const SfxPoolItem **pArgs=nullptr, sal_uInt16 nModi=0, const SfxPoolItem **pInternalArgs=nullptr)
sal_uInt16 GetSlot() const
virtual void Start(bool bStartTimer=true) override
sal_uInt16 GetCode() const
#define SC_MAXDRAGMOVE
fusel,fuconstr,futext - combine them!
constexpr sal_uInt16 KEY_ESCAPE
constexpr sal_uInt16 KEY_DELETE
SVXCORE_DLLPUBLIC SdrTextObj * DynCastSdrTextObj(SdrObject *)