LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
ConstRectangle Class Referencefinal

#include <conrect.hxx>

Inheritance diagram for ConstRectangle:
Collaboration diagram for ConstRectangle:

Public Member Functions

 ConstRectangle (SwWrtShell *pSh, SwEditWin *pWin, SwView *pView)
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
virtual void Activate (const sal_uInt16 nSlotId) 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

bool m_bMarquee
bool m_bCapVertical
bool mbVertical

Additional Inherited Members

- Protected Member Functions inherited from SwDrawBase
Point GetDefaultCenterPos () const
- Protected Attributes inherited from SwDrawBase
VclPtr< SwEditWinm_pWin
Point m_aStartPos
sal_uInt16 m_nSlotId
bool m_bCreateObj:1
bool m_bInsForm:1

Detailed Description

Definition at line 26 of file conrect.hxx.

Constructor & Destructor Documentation

◆ ConstRectangle()

ConstRectangle::ConstRectangle ( SwWrtShell pSh,
SwEditWin pWin,
SwView pView 

Definition at line 38 of file conrect.cxx.

Member Function Documentation

◆ Activate()

void ConstRectangle::Activate ( const sal_uInt16  nSlotId)

Reimplemented from SwDrawBase.

Definition at line 154 of file conrect.cxx.

References SwDrawBase::Activate(), m_bCapVertical, m_bMarquee, SwDrawBase::m_pWin, and mbVertical.

◆ MouseButtonDown()

bool ConstRectangle::MouseButtonDown ( const MouseEvent rMEvt)

◆ MouseButtonUp()

bool ConstRectangle::MouseButtonUp ( const MouseEvent rMEvt)

Member Data Documentation

◆ m_bCapVertical

bool ConstRectangle::m_bCapVertical

Definition at line 29 of file conrect.hxx.

Referenced by Activate(), and MouseButtonUp().

◆ m_bMarquee

bool ConstRectangle::m_bMarquee

Definition at line 28 of file conrect.hxx.

Referenced by Activate(), and MouseButtonUp().

◆ mbVertical

bool ConstRectangle::mbVertical

Definition at line 31 of file conrect.hxx.

Referenced by Activate(), and MouseButtonUp().

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