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

#include <concustomshape.hxx>

Inheritance diagram for ConstCustomShape:
Collaboration diagram for ConstCustomShape:

Public Member Functions

 ConstCustomShape (SwWrtShell *pSh, SwEditWin *pWin, SwView *pView, SfxRequest const &rReq)
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
virtual void Activate (const sal_uInt16 nSlotId) override
const OUString & GetShapeType () const
virtual void CreateDefaultObject () override
virtual void CreateDefaultObjectAtPosWithSize (Point aPos, Size aSize) override
virtual bool doConstructOrthogonal () const 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)
void BreakCreate ()
void SetSlotId (sal_uInt16 nSlot)
sal_uInt16 GetSlotId () const
virtual void Deactivate ()

Static Public Member Functions

static OUString GetShapeTypeFromRequest (SfxRequest const &rReq)

Private Member Functions

void SetAttributes (SdrObject *pObj)

Private Attributes

OUString m_aCustomShape

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 30 of file concustomshape.hxx.

Constructor & Destructor Documentation

ConstCustomShape::ConstCustomShape ( SwWrtShell pSh,
SwEditWin pWin,
SwView pView,
SfxRequest const &  rReq 

Definition at line 41 of file concustomshape.cxx.

References GetShapeTypeFromRequest(), and m_aCustomShape.

Member Function Documentation

void ConstCustomShape::Activate ( const sal_uInt16  nSlotId)

Reimplemented from SwDrawBase.

Definition at line 90 of file concustomshape.cxx.

References SwDrawBase::Activate(), SwDrawBase::m_pWin, and SwEditWin::SetSdrDrawMode().

void ConstCustomShape::CreateDefaultObject ( )
void ConstCustomShape::CreateDefaultObjectAtPosWithSize ( Point  aPos,
Size  aSize 
bool ConstCustomShape::doConstructOrthogonal ( ) const

Reimplemented from SwDrawBase.

Definition at line 191 of file concustomshape.cxx.

References SdrObjCustomShape::doConstructOrthogonal(), and m_aCustomShape.

const OUString & ConstCustomShape::GetShapeType ( ) const

Definition at line 47 of file concustomshape.cxx.

References m_aCustomShape.

Referenced by SwView::ExecDraw().

OUString ConstCustomShape::GetShapeTypeFromRequest ( SfxRequest const &  rReq)
bool ConstCustomShape::MouseButtonDown ( const MouseEvent rMEvt)
void ConstCustomShape::SetAttributes ( SdrObject pObj)

Member Data Documentation

OUString ConstCustomShape::m_aCustomShape

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