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:
[legend]
Collaboration diagram for ConstCustomShape:
[legend]

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)
 
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
 

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
SwViewm_pView
 
SwWrtShellm_pSh
 
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::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

◆ Activate()

void ConstCustomShape::Activate ( const sal_uInt16  nSlotId)
overridevirtual

Reimplemented from SwDrawBase.

Definition at line 90 of file concustomshape.cxx.

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

◆ CreateDefaultObject()

void ConstCustomShape::CreateDefaultObject ( )
overridevirtual

◆ CreateDefaultObjectAtPosWithSize()

void ConstCustomShape::CreateDefaultObjectAtPosWithSize ( Point  aPos,
Size  aSize 
)
overridevirtual

◆ doConstructOrthogonal()

bool ConstCustomShape::doConstructOrthogonal ( ) const
overridevirtual

Reimplemented from SwDrawBase.

Definition at line 191 of file concustomshape.cxx.

References SdrObjCustomShape::doConstructOrthogonal(), and m_aCustomShape.

◆ GetShapeType()

const OUString & ConstCustomShape::GetShapeType ( ) const

Definition at line 47 of file concustomshape.cxx.

References m_aCustomShape.

Referenced by SwView::ExecDraw().

◆ GetShapeTypeFromRequest()

OUString ConstCustomShape::GetShapeTypeFromRequest ( SfxRequest const &  rReq)
static

◆ MouseButtonDown()

bool ConstCustomShape::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual

◆ SetAttributes()

void ConstCustomShape::SetAttributes ( SdrObject pObj)
private

Member Data Documentation

◆ m_aCustomShape

OUString ConstCustomShape::m_aCustomShape
private

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