20#ifndef INCLUDED_SVX_SVDHDL_HXX
21#define INCLUDED_SVX_SVDHDL_HXX
159 virtual void CreateB2dIAObject();
162 void GetRidOfIAObject();
168 std::unique_ptr<sdr::overlay::OverlayObject> CreateOverlayObject(
181 void insertNewlyCreatedOverlayObjectForSdrHdl(
182 std::unique_ptr<sdr::overlay::OverlayObject> pOverlayObject,
207 void SetSelected(
bool bJa=
true);
209 void Set1PixMore(
bool bJa=
true);
231 bool IsHdlHit(
const Point& rPnt)
const;
233 virtual bool IsFocusHdl()
const;
239 virtual void onMouseEnter(
const MouseEvent& rMEvt);
242 virtual void onHelpRequest();
246 virtual void onMouseLeave();
248 static BitmapEx createGluePointBitmap();
252#define SDR_HANDLE_COLOR_SIZE_NORMAL Size(13, 13)
253#define SDR_HANDLE_COLOR_SIZE_SELECTED Size(17, 17)
283 void SetColor(
Color aNew,
bool bCallLink =
false);
285 void SetSize(
const Size& rNew);
432 std::deque<std::unique_ptr<SdrHdl>>
maList;
447 void TravelFocusHdl(
bool bForward);
448 SdrHdl* GetFocusHdl()
const;
449 void SetFocusHdl(
SdrHdl* pNew);
450 void ResetFocusHdl();
460 SdrHdl*
GetHdl(
size_t nNum)
const {
return nNum < maList.size() ? maList[nNum].get() :
nullptr; }
461 size_t GetHdlNum(
const SdrHdl* pHdl)
const;
462 void SetHdlSize(sal_uInt16 nSiz);
464 void SetMoveOutside(
bool bOn);
466 void SetRotateShear(
bool bOn);
468 void SetDistortShear(
bool bOn);
473 void AddHdl(std::unique_ptr<SdrHdl> pHdl);
474 std::unique_ptr<SdrHdl> RemoveHdl(
size_t nNum);
497 virtual void CreateB2dIAObject()
override;
virtual void CreateB2dIAObject() override
basegfx::B2DPolyPolygon aWireframePoly
E3dVolumeMarker(const basegfx::B2DPolyPolygon &rWireframePoly)
ImpEdgeHdl(const Point &rPnt, SdrHdlKind eNewKind)
SdrEdgeLineCode GetLineCode() const
virtual PointerStyle GetPointer() const override
virtual ~ImpEdgeHdl() override
SdrEdgeLineCode eLineCode
virtual void CreateB2dIAObject() override
void SetLineCode(SdrEdgeLineCode eCode)
virtual void CreateB2dIAObject() override
virtual ~ImpMeasureHdl() override
ImpMeasureHdl(const Point &rPnt, SdrHdlKind eNewKind)
virtual PointerStyle GetPointer() const override
ImpTextframeHdl(const tools::Rectangle &rRect)
virtual void CreateB2dIAObject() override
const tools::Rectangle maRect
SdrCropViewHdl(basegfx::B2DHomMatrix aObjectTransform, Graphic aGraphic, double fCropLeft, double fCropTop, double fCropRight, double fCropBottom)
basegfx::B2DHomMatrix maObjectTransform
virtual void CreateB2dIAObject() override
virtual void CreateB2dIAObject() override
virtual ~SdrHdlBezWgt() override
SdrHdlBezWgt(const SdrHdl *pRefHdl1, SdrHdlKind eNewKind=SdrHdlKind::BezierWeight)
const Color & GetColor() const
void SetColorChangeHdl(const Link< SdrHdlColor *, void > &rLink)
bool IsUseLuminance() const
Link< SdrHdlColor *, void > aColorChangeHdl
bool IsMoveFirstHandle() const
void FromIAOToItem(SdrObject *pObj, bool bSetItemOnObject, bool bUndo)
virtual ~SdrHdlGradient() override
const Point & Get2ndPos() const
SdrHdlColor * GetColorHdl2() const
void SetMoveFirstHandle(bool bNew)
void SetMoveSingleHandle(bool bNew)
SdrHdlColor * GetColorHdl1() const
void Set2ndPos(const Point &rPnt)
void SetColorHandles(SdrHdlColor *pL1, SdrHdlColor *pL2)
bool IsMoveSingleHandle() const
virtual void CreateB2dIAObject() override
SdrHdlGradient(const Point &rRef1, const Point &rRef2, bool bGrad)
DECL_LINK(ColorChangeHdl, SdrHdlColor *, void)
virtual ~SdrHdlLine() override
SdrHdlLine(SdrHdl &rHdl1, SdrHdl &rHdl2, SdrHdlKind eNewKind)
virtual PointerStyle GetPointer() const override
virtual void CreateB2dIAObject() override
bool IsMoveOutside() const
size_t GetHdlCount() const
std::deque< std::unique_ptr< SdrHdl > > maList
sal_uInt16 GetHdlSize() const
bool IsRotateShear() const
SdrMarkView * GetView() const
SVX_DLLPRIVATE SdrHdlList(const SdrHdlList &)=delete
SVX_DLLPRIVATE void operator=(const SdrHdlList &)=delete
bool IsDistortShear() const
SdrHdl * GetHdl(size_t nNum) const
void SetMoveOutside(bool bOn)
SdrPageView * GetPageView() const
SdrHdlKind GetKind() const
sal_uInt32 GetObjHdlNum() const
sal_uInt32 GetSourceHdlNum() const
sdr::overlay::OverlayObjectList maOverlayGroup
const sdr::overlay::OverlayObjectList & getOverlayObjectList() const
sal_uInt32 GetPolyNum() const
void SetPlusHdl(bool bOn)
SdrObject * GetObj() const
const Point & GetPos() const
sal_uInt32 GetPointNum() const
void SetObjHdlNum(sal_uInt32 nNum)
void SetPolyNum(sal_uInt32 nNum)
void SetPointNum(sal_uInt32 nNum)
void SetSourceHdlNum(sal_uInt32 nNum)
void SetPageView(SdrPageView *pNewPV)
void Clear(EHistoryType eHistory)
#define SVXCORE_DLLPUBLIC