LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
sd::SmartHdl Class Reference

a derivation from this handle is the visual representation for a smart tag. More...

#include <smarttag.hxx>

Inheritance diagram for sd::SmartHdl:
[legend]
Collaboration diagram for sd::SmartHdl:
[legend]

Public Member Functions

 SmartHdl (SmartTagReference xTag, SdrObject *pObject, const Point &rPnt, SdrHdlKind eNewKind)
 
 SmartHdl (SmartTagReference xTag, const Point &rPnt, SdrHdlKind eNewKind)
 
const SmartTagReferencegetTag () const
 
- Public Member Functions inherited from SdrHdl
 SdrHdl ()
 
 SdrHdl (const Point &rPnt, SdrHdlKind eNewKind)
 
virtual ~SdrHdl ()
 
const sdr::overlay::OverlayObjectListgetOverlayObjectList () const
 
void SetHdlList (SdrHdlList *pList)
 
SdrHdlKind GetKind () const
 
void Touch ()
 
const PointGetPos () const
 
void SetPos (const Point &rPnt)
 
SdrPageViewGetPageView () const
 
void SetPageView (SdrPageView *pNewPV)
 
SdrObjectGetObj () const
 
void SetObj (SdrObject *pNewObj)
 
bool IsSelected () const
 
void SetSelected (bool bJa=true)
 
void Set1PixMore (bool bJa=true)
 
void SetRotationAngle (Degree100 n)
 
bool IsCornerHdl () const
 
bool IsVertexHdl () const
 
void SetObjHdlNum (sal_uInt32 nNum)
 
sal_uInt32 GetObjHdlNum () const
 
void SetPolyNum (sal_uInt32 nNum)
 
sal_uInt32 GetPolyNum () const
 
void SetPointNum (sal_uInt32 nNum)
 
sal_uInt32 GetPointNum () const
 
void SetPlusHdl (bool bOn)
 
bool IsPlusHdl () const
 
void SetSourceHdlNum (sal_uInt32 nNum)
 
sal_uInt32 GetSourceHdlNum () const
 
virtual PointerStyle GetPointer () const
 
bool IsHdlHit (const Point &rPnt) const
 
virtual bool IsFocusHdl () const
 
void SetMoveOutside (bool bMoveOutside)
 
virtual void onMouseEnter (const MouseEvent &rMEvt)
 
virtual void onHelpRequest ()
 
virtual void onMouseLeave ()
 

Private Attributes

SmartTagReference mxSmartTag
 

Additional Inherited Members

- Static Public Member Functions inherited from SdrHdl
static BitmapEx createGluePointBitmap ()
 
- Protected Member Functions inherited from SdrHdl
virtual void CreateB2dIAObject ()
 
void GetRidOfIAObject ()
 
std::unique_ptr< sdr::overlay::OverlayObjectCreateOverlayObject (const basegfx::B2DPoint &rPos, BitmapColorIndex eColIndex, BitmapMarkerKind eKindOfMarker, Point aMoveOutsideOffset=Point())
 
void insertNewlyCreatedOverlayObjectForSdrHdl (std::unique_ptr< sdr::overlay::OverlayObject > pOverlayObject, const sdr::contact::ObjectContact &rObjectContact, sdr::overlay::OverlayManager &rOverlayManager)
 
- Static Protected Member Functions inherited from SdrHdl
static BitmapMarkerKind GetNextBigger (BitmapMarkerKind eKnd)
 
- Protected Attributes inherited from SdrHdl
SdrObjectpObj
 
SdrPageViewpPV
 
SdrHdlListpHdlList
 
sdr::overlay::OverlayObjectList maOverlayGroup
 
Point aPos
 
SdrHdlKind eKind
 
Degree100 nRotationAngle
 
sal_uInt32 nObjHdlNum
 
sal_uInt32 nPolyNum
 
sal_uInt32 nPPntNum
 
sal_uInt32 nSourceHdlNum
 
bool bSelect
 
bool b1PixMore
 
bool bPlusHdl
 
bool mbMoveOutside
 

Detailed Description

a derivation from this handle is the visual representation for a smart tag.

One smart tag can have more than one handle.

Definition at line 156 of file smarttag.hxx.

Constructor & Destructor Documentation

◆ SmartHdl() [1/2]

sd::SmartHdl::SmartHdl ( SmartTagReference  xTag,
SdrObject pObject,
const Point rPnt,
SdrHdlKind  eNewKind 
)

Definition at line 319 of file smarttag.cxx.

References pObject, and SdrHdl::SetObj().

◆ SmartHdl() [2/2]

sd::SmartHdl::SmartHdl ( SmartTagReference  xTag,
const Point rPnt,
SdrHdlKind  eNewKind 
)

Definition at line 326 of file smarttag.cxx.

Member Function Documentation

◆ getTag()

const SmartTagReference & sd::SmartHdl::getTag ( ) const
inline

Member Data Documentation

◆ mxSmartTag

SmartTagReference sd::SmartHdl::mxSmartTag
private

Definition at line 165 of file smarttag.hxx.

Referenced by getTag().


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