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

#include <conarc.hxx>

Inheritance diagram for ConstArc:
Collaboration diagram for ConstArc:

Public Member Functions

 ConstArc (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
virtual void Deactivate () 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)
void BreakCreate ()
void SetSlotId (sal_uInt16 nSlot)
sal_uInt16 GetSlotId () const
virtual void CreateDefaultObject ()
virtual bool doConstructOrthogonal () const

Private Attributes

Point m_aStartPoint
sal_uInt16 m_nButtonUpCount

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 25 of file conarc.hxx.

Constructor & Destructor Documentation

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

Definition at line 29 of file conarc.cxx.

Member Function Documentation

void ConstArc::Activate ( const sal_uInt16  nSlotId)

Reimplemented from SwDrawBase.

Definition at line 73 of file conarc.cxx.

References SwDrawBase::Activate(), SwDrawBase::m_pWin, OBJ_CARC, OBJ_CCUT, OBJ_NONE, OBJ_SECT, and SwEditWin::SetSdrDrawMode().

void ConstArc::Deactivate ( )

Reimplemented from SwDrawBase.

Definition at line 94 of file conarc.cxx.

References SwDrawBase::Deactivate(), and m_nButtonUpCount.

bool ConstArc::MouseButtonDown ( const MouseEvent rMEvt)
bool ConstArc::MouseButtonUp ( const MouseEvent rMEvt)

Member Data Documentation

Point ConstArc::m_aStartPoint

Definition at line 27 of file conarc.hxx.

Referenced by MouseButtonDown(), and MouseButtonUp().

sal_uInt16 ConstArc::m_nButtonUpCount

Definition at line 28 of file conarc.hxx.

Referenced by Deactivate(), MouseButtonDown(), and MouseButtonUp().

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