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

#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 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 ()
 
virtual void Deactivate ()
 

Static Public Member Functions

static OUString GetShapeTypeFromRequest (SfxRequest const &rReq)
 

Private Member Functions

void SetAttributes (SdrObject *pObj)
 

Private Attributes

OUString aCustomShape
 

Additional Inherited Members

- Protected Member Functions inherited from SwDrawBase
Point GetDefaultCenterPos ()
 
- 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 ( SwWrtShell pSh,
SwEditWin pWin,
SwView pView,
SfxRequest const &  rReq 
)

Definition at line 53 of file concustomshape.cxx.

References aCustomShape, and GetShapeTypeFromRequest().

Member Function Documentation

void ConstCustomShape::Activate ( const sal_uInt16  nSlotId)
overridevirtual
void ConstCustomShape::CreateDefaultObject ( )
overridevirtual
bool ConstCustomShape::doConstructOrthogonal ( ) const
overridevirtual

Reimplemented from SwDrawBase.

Definition at line 191 of file concustomshape.cxx.

References aCustomShape, and SdrObjCustomShape::doConstructOrthogonal().

const OUString & ConstCustomShape::GetShapeType ( ) const

Definition at line 59 of file concustomshape.cxx.

References aCustomShape.

Referenced by SwView::ExecDraw().

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

Member Data Documentation

OUString ConstCustomShape::aCustomShape
private

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