LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | List of all members
FuConstRectangle Class Reference

Draw rectangle. More...

#include <fuconrec.hxx>

Inheritance diagram for FuConstRectangle:
[legend]
Collaboration diagram for FuConstRectangle:
[legend]

Public Member Functions

 FuConstRectangle (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
 
virtual ~FuConstRectangle () override
 
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual SdrObjectUniquePtr CreateDefaultObject (const sal_uInt16 nID, const tools::Rectangle &rRectangle) override
 
- Public Member Functions inherited from FuConstruct
 FuConstruct (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
 
virtual ~FuConstruct () override
 
virtual bool KeyInput (const KeyEvent &rKEvt) override
 
virtual bool MouseMove (const MouseEvent &rMEvt) override
 
bool SimpleMouseButtonUp (const MouseEvent &rMEvt)
 
- Public Member Functions inherited from FuDraw
 FuDraw (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
 
virtual ~FuDraw () override
 
virtual void ForcePointer (const MouseEvent *pMEvt)
 
bool IsEditingANote () const
 
bool IsSizingOrMovingNote (const MouseEvent &rMEvt) const
 
- Public Member Functions inherited from FuPoor
 FuPoor (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
 
virtual ~FuPoor ()
 
void SetMouseButtonCode (sal_uInt16 nNew)
 
sal_uInt16 GetMouseButtonCode () const
 
sal_uInt8 Command (const CommandEvent &rCEvt)
 
void SetWindow (vcl::Window *pWin)
 
sal_uInt16 GetSlotID () const
 
bool IsDetectiveHit (const Point &rLogicPos)
 
void StopDragTimer ()
 
virtual bool doConstructOrthogonal () const
 

Static Public Member Functions

static void SetLineEnds (SfxItemSet &rAttr, const SdrObject &rObj, sal_uInt16 nSlotId)
 

Additional Inherited Members

- Protected Member Functions inherited from FuPoor
 DECL_LINK (ScrollHdl, Timer *, void)
 
void ForceScroll (const Point &aPixPos)
 
 DECL_LINK (DragTimerHdl, Timer *, void)
 
 DECL_LINK (DragHdl, void *, void)
 
- Static Protected Member Functions inherited from FuPoor
static void ImpForceQuadratic (tools::Rectangle &rRect)
 
- Protected Attributes inherited from FuDraw
PointerStyle aNewPointer
 
PointerStyle aOldPointer
 
- Protected Attributes inherited from FuPoor
ScDrawViewpView
 
ScTabViewShellrViewShell
 
VclPtr< vcl::WindowpWindow
 
SdrModelpDrDoc
 
SfxRequest aSfxRequest
 
Timer aScrollTimer
 
Timer aDragTimer
 
bool bIsInDragMode
 
Point aMDPos
 

Detailed Description

Draw rectangle.

Definition at line 26 of file fuconrec.hxx.

Constructor & Destructor Documentation

FuConstRectangle::FuConstRectangle ( ScTabViewShell rViewSh,
vcl::Window pWin,
ScDrawView pView,
SdrModel pDoc,
const SfxRequest rReq 
)

Definition at line 42 of file fuconrec.cxx.

FuConstRectangle::~FuConstRectangle ( )
overridevirtual

Definition at line 48 of file fuconrec.cxx.

Member Function Documentation

void FuConstRectangle::Activate ( )
overridevirtual
SdrObjectUniquePtr FuConstRectangle::CreateDefaultObject ( const sal_uInt16  nID,
const tools::Rectangle rRectangle 
)
overridevirtual
void FuConstRectangle::Deactivate ( )
overridevirtual

Reimplemented from FuPoor.

Definition at line 339 of file fuconrec.cxx.

References FuDraw::aOldPointer, FuPoor::Deactivate(), FuPoor::rViewShell, and ScTabView::SetActivePointer().

bool FuConstRectangle::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual
bool FuConstRectangle::MouseButtonUp ( const MouseEvent rMEvt)
overridevirtual
void FuConstRectangle::SetLineEnds ( SfxItemSet rAttr,
const SdrObject rObj,
sal_uInt16  nSlotId 
)
static

The documentation for this class was generated from the following files: