LibreOffice Module svx (master) 1
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
SdrObject Class Referenceabstract

Abstract DrawObject. More...

#include <svdobj.hxx>

Inheritance diagram for SdrObject:
[legend]
Collaboration diagram for SdrObject:
[legend]

Classes

struct  Impl
 

Public Member Functions

virtual const std::shared_ptr< svx::diagram::IDiagramHelper > & getDiagramHelper () const
 
bool isDiagram () const
 
const SdrObjectgetFillGeometryDefiningShape () const
 
 SdrObject (SdrModel &rSdrModel)
 
 SdrObject (SdrModel &rSdrModel, SdrObject const &rSource)
 
virtual void SAL_CALL acquire () noexcept override final
 
virtual void SAL_CALL release () noexcept override final
 
SdrPagegetSdrPageFromSdrObject () const
 
SdrModelgetSdrModelFromSdrObject () const
 
virtual SdrObjListgetChildrenOfSdrObject () const
 
SdrObjListgetParentSdrObjListFromSdrObject () const
 
SdrObjectgetParentSdrObjectFromSdrObject () const
 
virtual void handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage)
 
void AddObjectUser (sdr::ObjectUser &rNewUser)
 
void RemoveObjectUser (sdr::ObjectUser &rOldUser)
 
sdr::contact::ViewContactGetViewContact () const
 
virtual sdr::properties::BasePropertiesGetProperties () const
 
void ActionChanged () const
 
void SetRelativeWidth (double nValue)
 
void SetRelativeWidthRelation (sal_Int16 eValue)
 
void SetRelativeHeight (double nValue)
 
void SetRelativeHeightRelation (sal_Int16 eValue)
 
const double * GetRelativeWidth () const
 
sal_Int16 GetRelativeWidthRelation () const
 
const double * GetRelativeHeight () const
 
sal_Int16 GetRelativeHeightRelation () const
 
virtual void SetBoundAndSnapRectsDirty (bool bNotMyself=false, bool bRecursive=true)
 
virtual void SetBoundRectDirty ()
 
SfxItemPoolGetObjectItemPool () const
 
void AddListener (SfxListener &rListener)
 
void RemoveListener (SfxListener &rListener)
 
void AddReference (SdrVirtObj &rVrtObj)
 
void DelReference (SdrVirtObj &rVrtObj)
 
virtual SdrInventor GetObjInventor () const
 
virtual SdrObjKind GetObjIdentifier () const
 
virtual void TakeObjInfo (SdrObjTransformInfoRec &rInfo) const
 
virtual SdrLayerID GetLayer () const
 
virtual void NbcSetLayer (SdrLayerID nLayer)
 
virtual void SetLayer (SdrLayerID nLayer)
 
bool isVisibleOnAnyOfTheseLayers (const SdrLayerIDSet &rSet) const
 
void SendUserCall (SdrUserCallType eUserCall, const tools::Rectangle &rBoundRect) const
 
virtual void SetName (const OUString &rStr, const bool bSetChanged=true)
 
virtual const OUString & GetName () const
 
void MakeNameUnique ()
 
void MakeNameUnique (std::unordered_set< OUString > &rNameSet)
 
virtual void SetTitle (const OUString &rStr)
 
virtual OUString GetTitle () const
 
virtual void SetDescription (const OUString &rStr)
 
virtual OUString GetDescription () const
 
virtual void SetDecorative (bool isDecorative)
 
virtual bool IsDecorative () const
 
bool IsGroupObject () const
 
virtual SdrObjListGetSubList () const
 
sal_uInt32 GetOrdNum () const
 The order number (aka ZOrder, aka z-index) determines whether a SdrObject is located above or below another. More...
 
void SetOrdNum (sal_uInt32 nNum)
 
void GetGrabBagItem (css::uno::Any &rVal) const
 
virtual void SetGrabBagItem (const css::uno::Any &rVal)
 
sal_uInt32 GetNavigationPosition () const
 
virtual const tools::RectangleGetCurrentBoundRect () const
 
virtual const tools::RectangleGetLastBoundRect () const
 
virtual void RecalcBoundRect ()
 
void BroadcastObjectChange () const
 
const SfxBroadcasterGetBroadcaster () const
 
virtual void SetChanged ()
 
void SingleObjectPainter (OutputDevice &rOut) const
 
bool LineGeometryUsageIsNecessary () const
 
virtual bool HasLimitedRotation () const
 
virtual rtl::Reference< SdrObjectCloneSdrObject (SdrModel &rTargetModel) const =0
 
SdrObjectoperator= (const SdrObject &rObj)=delete
 
SdrObjectoperator= (SdrObject &&rObj)=delete
 
virtual OUString TakeObjNameSingul () const
 
virtual OUString TakeObjNamePlural () const
 
virtual basegfx::B2DPolyPolygon TakeXorPoly () const
 The Xor-Polygon is required by the View to drag the object. More...
 
virtual basegfx::B2DPolyPolygon TakeContour () const
 contour for TextToContour More...
 
virtual sal_uInt32 GetHdlCount () const
 Via GetHdlCount the number of Handles can be retrieved. More...
 
virtual void AddToPlusHdlList (SdrHdlList &rHdlList, SdrHdl &rHdl) const
 
virtual void AddToHdlList (SdrHdlList &rHdlList) const
 
virtual void addCropHandles (SdrHdlList &rTarget) const
 
virtual bool hasSpecialDrag () const
 The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPoly(),...). More...
 
virtual bool beginSpecialDrag (SdrDragStat &rDrag) const
 
virtual bool applySpecialDrag (SdrDragStat &rDrag)
 
virtual OUString getSpecialDragComment (const SdrDragStat &rDrag) const
 
virtual basegfx::B2DPolyPolygon getSpecialDragPoly (const SdrDragStat &rDrag) const
 
virtual bool supportsFullDrag () const
 
virtual rtl::Reference< SdrObjectgetFullDragClone () const
 
virtual bool BegCreate (SdrDragStat &rStat)
 Every object must be able to create itself interactively. More...
 
virtual bool MovCreate (SdrDragStat &rStat)
 
virtual bool EndCreate (SdrDragStat &rStat, SdrCreateCmd eCmd)
 
virtual bool BckCreate (SdrDragStat &rStat)
 
virtual void BrkCreate (SdrDragStat &rStat)
 
virtual PointerStyle GetCreatePointer () const
 get the cursor/pointer that signals creating this object More...
 
virtual basegfx::B2DPolyPolygon TakeCreatePoly (const SdrDragStat &rDrag) const
 Polygon dragged by the user when creating the object. More...
 
virtual void NbcMove (const Size &rSiz)
 The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model. More...
 
virtual void NbcResize (const Point &rRef, const Fraction &xFact, const Fraction &yFact)
 
virtual void NbcCrop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact)
 
virtual void NbcRotate (const Point &rRef, Degree100 nAngle, double sn, double cs)=0
 
void NbcRotate (const Point &rRef, Degree100 nAngle)
 
virtual void NbcMirror (const Point &rRef1, const Point &rRef2)
 
virtual void NbcShear (const Point &rRef, Degree100 nAngle, double tn, bool bVShear)
 
virtual void Move (const Size &rSiz)
 
virtual void Resize (const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bUnsetRelative=true)
 
virtual void Crop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact)
 
virtual void Rotate (const Point &rRef, Degree100 nAngle, double sn, double cs)
 
virtual void Mirror (const Point &rRef1, const Point &rRef2)
 
virtual void Shear (const Point &rRef, Degree100 nAngle, double tn, bool bVShear)
 
virtual void NbcSetRelativePos (const Point &rPnt)
 The relative position of a SdrObject is the distance of the upper left corner of the logic bounding rectangle (SnapRect) to the anchor. More...
 
virtual void SetRelativePos (const Point &rPnt)
 
virtual Point GetRelativePos () const
 
void ImpSetAnchorPos (const Point &rPnt)
 
virtual void NbcSetAnchorPos (const Point &rPnt)
 
virtual void SetAnchorPos (const Point &rPnt)
 
virtual void RecalcSnapRect ()
 Snap is not done on the BoundRect but if possible on logic coordinates (i.e. More...
 
virtual const tools::RectangleGetSnapRect () const
 
virtual void SetSnapRect (const tools::Rectangle &rRect)
 
virtual void NbcSetSnapRect (const tools::Rectangle &rRect)
 
virtual const tools::RectangleGetLogicRect () const
 
virtual void SetLogicRect (const tools::Rectangle &rRect)
 
virtual void NbcSetLogicRect (const tools::Rectangle &rRect)
 
virtual void AdjustToMaxRect (const tools::Rectangle &rMaxRect, bool bShrinkOnly=false)
 
virtual Degree100 GetRotateAngle () const
 
virtual Degree100 GetShearAngle (bool bVertical=false) const
 
virtual sal_uInt32 GetSnapPointCount () const
 snap to special points of an Object (polygon points, center of circle) More...
 
virtual Point GetSnapPoint (sal_uInt32 i) const
 
virtual bool IsPolyObj () const
 
virtual sal_uInt32 GetPointCount () const
 
virtual Point GetPoint (sal_uInt32 i) const
 
void SetPoint (const Point &rPnt, sal_uInt32 i)
 
virtual void NbcSetPoint (const Point &rPnt, sal_uInt32 i)
 
virtual std::unique_ptr< SdrObjGeoDataGetGeoData () const
 
virtual void SetGeoData (const SdrObjGeoData &rGeo)
 
const SfxItemSetGetMergedItemSet () const
 
void SetMergedItem (const SfxPoolItem &rItem)
 
void ClearMergedItem (const sal_uInt16 nWhich=0)
 
void SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false)
 
const SfxPoolItemGetMergedItem (const sal_uInt16 nWhich) const
 
template<class T >
const T & GetMergedItem (TypedWhichId< T > nWhich) const
 
void SetMergedItemSetAndBroadcast (const SfxItemSet &rSet, bool bClearAllItems=false)
 
void TakeNotPersistAttr (SfxItemSet &rAttr) const
 
void ApplyNotPersistAttr (const SfxItemSet &rAttr)
 
void NbcApplyNotPersistAttr (const SfxItemSet &rAttr)
 
void SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
 
void NbcSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
 
SfxStyleSheetGetStyleSheet () const
 
virtual bool HasTextEdit () const
 
void SetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject)
 
virtual void NbcSetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject)
 
virtual OutlinerParaObjectGetOutlinerParaObject () const
 
virtual void NbcReformatText ()
 
void BurnInStyleSheetAttributes ()
 
virtual bool HasMacro () const
 
virtual SdrObjectCheckMacroHit (const SdrObjMacroHitRec &rRec) const
 
virtual PointerStyle GetMacroPointer (const SdrObjMacroHitRec &rRec) const
 
virtual void PaintMacro (OutputDevice &rOut, const tools::Rectangle &rDirtyRect, const SdrObjMacroHitRec &rRec) const
 
virtual bool DoMacro (const SdrObjMacroHitRec &rRec)
 
bool IsMacroHit (const SdrObjMacroHitRec &rRec) const
 
virtual SdrGluePoint GetVertexGluePoint (sal_uInt16 nNum) const
 
virtual SdrGluePoint GetCornerGluePoint (sal_uInt16 nNum) const
 
virtual const SdrGluePointListGetGluePointList () const
 
virtual SdrGluePointListForceGluePointList ()
 
void SetGlueReallyAbsolute (bool bOn)
 
void NbcRotateGluePoints (const Point &rRef, Degree100 nAngle, double sn, double cs)
 
void NbcMirrorGluePoints (const Point &rRef1, const Point &rRef2)
 
void NbcShearGluePoints (const Point &rRef, double tn, bool bVShear)
 
virtual void ConnectToNode (bool bTail1, SdrObject *pObj)
 
virtual void DisconnectFromNode (bool bTail1)
 
virtual SdrObjectGetConnectedNode (bool bTail1) const
 
virtual void SetContextWritingMode (const sal_Int16 _nContextWritingMode)
 
virtual rtl::Reference< SdrObjectDoConvertToPolyObj (bool bBezier, bool bAddText) const
 
rtl::Reference< SdrObjectConvertToPolyObj (bool bBezier, bool bLineToArea) const
 
rtl::Reference< SdrObjectConvertToContourObj (SdrObject *pRet, bool bForceLineDash=false) const
 
bool IsVirtualObj () const
 
bool IsClosedObj () const
 
void InsertedStateChange ()
 
bool IsInserted () const
 
bool IsEdgeObj () const
 
bool Is3DObj () const
 
bool IsUnoObj () const
 
void SetMoveProtect (bool bProt)
 
bool IsMoveProtect () const
 
void SetResizeProtect (bool bProt)
 
bool IsResizeProtect () const
 
void SetPrintable (bool bPrn)
 
bool IsPrintable () const
 
void SetVisible (bool bVisible)
 
bool IsVisible () const
 
void SetMarkProtect (bool bProt)
 
bool IsMarkProtect () const
 
virtual bool IsSdrTextObj () const
 
virtual bool IsTextPath () const
 
virtual bool shouldKeepAspectRatio () const
 Whether the aspect ratio should be kept by default when resizing. More...
 
sal_uInt16 GetUserDataCount () const
 
SdrObjUserDataGetUserData (sal_uInt16 nNum) const
 
void AppendUserData (std::unique_ptr< SdrObjUserData > pData)
 
void DeleteUserData (sal_uInt16 nNum)
 
virtual css::uno::Reference< css::drawing::XShape > getUnoShape ()
 
void notifyShapePropertyChange (const svx::ShapePropertyProviderId _eProperty) const
 
void registerProvider (const svx::ShapePropertyProviderId _eProperty, std::unique_ptr< svx::PropertyValueProvider > propProvider)
 
virtual bool TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const
 
virtual void TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon)
 
bool IsInDestruction () const
 
bool HasFillStyle () const
 
bool HasLineStyle () const
 
const tools::RectangleGetBLIPSizeRectangle () const
 
void SetBLIPSizeRectangle (const tools::Rectangle &aRect)
 
virtual bool HasText () const
 
bool Equals (const SdrObject &) const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual bool IsTextBox () const
 Is this a textbox of a drawinglayer shape? More...
 
void SetEmptyPresObj (bool bEpt)
 
bool IsEmptyPresObj () const
 
void SetNotVisibleAsMaster (bool bFlg)
 
bool IsNotVisibleAsMaster () const
 
void SetUserCall (SdrObjUserCall *pUser)
 
SdrObjUserCallGetUserCall () const
 
void SetDoNotInsertIntoPageAutomatically (bool bSet)
 
bool IsDoNotInsertIntoPageAutomatically () const
 
sal_uInt32 GetOrdNumDirect () const
 
bool DoesSupportTextIndentingOnLineWidthChange () const
 
const PointGetAnchorPos () const
 
bool LineIsOutsideGeometry () const
 
void SetNavigationPosition (const sal_uInt32 nPosition)
 
virtual void setUnoShape (const css::uno::Reference< css::drawing::XShape > &_rxUnoShape)
 Sets a new UNO representation of the shape. More...
 
const css::uno::WeakReference< css::drawing::XShape > & getWeakUnoShape () const
 
bool setSuitableOutlinerBg (Outliner &rOutliner) const
 
const GraphicgetFillGraphic () const
 
const OUString & getHyperlink () const
 
void setHyperlink (const OUString &sHyperlink)
 
void ForceMetricToItemPoolMetric (basegfx::B2DPolyPolygon &rPolyPolygon) const noexcept
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Static Public Member Functions

static SdrItemPoolGetGlobalDrawObjectItemPool ()
 
template<class T >
static rtl::Reference< T > Clone (T const &rObj, SdrModel &rTargetModel)
 
static SdrObjectgetSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt)
 

Protected Member Functions

const tools::RectanglegetOutRectangle () const
 
void setOutRectangleConst (tools::Rectangle const &rRectangle) const
 
void setOutRectangle (tools::Rectangle const &rRectangle)
 
void resetOutRectangle ()
 
void moveOutRectangle (sal_Int32 nXDelta, sal_Int32 nYDelta)
 
virtual ~SdrObject () override
 
virtual std::unique_ptr< sdr::properties::BasePropertiesCreateObjectSpecificProperties ()
 
virtual std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact ()
 
tools::Rectangle ImpDragCalcRect (const SdrDragStat &rDrag) const
 
OUString ImpGetDescriptionStr (TranslateId pStrCacheID) const
 
void ImpForcePlusData ()
 
OUString GetMetrStr (tools::Long nVal) const
 
virtual std::unique_ptr< SdrObjGeoDataNewGeoData () const
 A derived class must override these 3 methods if it has own geometric data that must be saved for Undo. More...
 
virtual void SaveGeoData (SdrObjGeoData &rGeo) const
 
virtual void RestoreGeoData (const SdrObjGeoData &rGeo)
 
const SfxItemSetGetObjectItemSet () const
 
void SetObjectItem (const SfxPoolItem &rItem)
 
void SetObjectItemSet (const SfxItemSet &rSet)
 
const SfxPoolItemGetObjectItem (const sal_uInt16 nWhich) const
 
template<class T >
const T & GetObjectItem (TypedWhichId< T > nWhich) const
 
const SfxItemSetgetBackgroundFillSet () const
 
virtual void InternalSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast)
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 

Protected Attributes

tools::Rectangle m_aOutRect
 
Point m_aAnchor
 
SdrObjUserCallm_pUserCall
 
std::unique_ptr< SdrObjPlusDatam_pPlusData
 
bool m_bVirtObj: 1
 
bool m_bSnapRectDirty: 1
 
bool m_bMovProt: 1
 
bool m_bSizProt: 1
 
bool m_bEmptyPresObj: 1
 
bool m_bNotVisibleAsMaster: 1
 
bool m_bClosedObj: 1
 
bool m_bIsEdge: 1
 
bool m_bIs3DObj: 1
 
bool m_bIsUnoObj: 1
 
bool mbLineIsOutsideGeometry: 1
 
bool mbSupportTextIndentingOnLineWidthChange: 1
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Private Member Functions

void setFillGeometryDefiningShape (const SdrObject *pNew)
 
SVX_DLLPRIVATE void setParentOfSdrObject (SdrObjList *pNew)
 
rtl::Reference< SdrObjectImpConvertToContourObj (bool bForceLineDash)
 
SvxShapegetSvxShape ()
 only for internal use! More...
 
 SdrObject (const SdrObject &)=delete
 

Private Attributes

const SdrObjectmpFillGeometryDefiningShape
 
SdrModelmrSdrModelFromSdrObject
 
std::unique_ptr< ImplmpImpl
 
SdrObjListmpParentOfSdrObject
 
sal_uInt32 m_nOrdNum
 
std::unique_ptr< SfxGrabBagItemm_pGrabBagItem
 
sal_uInt32 mnNavigationPosition
 
SdrLayerID mnLayerID
 
bool m_bNoPrint: 1
 
bool mbVisible: 1
 
bool m_bMarkProt: 1
 
tools::Rectangle maBLIPSizeRectangle
 
std::unique_ptr< sdr::properties::BasePropertiesmpProperties
 
std::unique_ptr< sdr::contact::ViewContactmpViewContact
 
SvxShapempSvxShape
 
css::uno::WeakReference< css::drawing::XShape > maWeakUnoShape
 
bool mbDoNotInsertIntoPageAutomatically
 
OUString msHyperlink
 

Friends

class SdrObjListIter
 
class SdrObjList
 
class SdrVirtObj
 
class SdrRectObj
 
class EnhancedCustomShape2d
 

Detailed Description

Abstract DrawObject.

Definition at line 259 of file svdobj.hxx.

Constructor & Destructor Documentation

◆ SdrObject() [1/3]

SdrObject::SdrObject ( SdrModel rSdrModel)

◆ SdrObject() [2/3]

SdrObject::SdrObject ( SdrModel rSdrModel,
SdrObject const &  rSource 
)

◆ ~SdrObject()

SdrObject::~SdrObject ( )
overrideprotectedvirtual

◆ SdrObject() [3/3]

SdrObject::SdrObject ( const SdrObject )
privatedelete

Member Function Documentation

◆ acquire()

void SdrObject::acquire ( )
finaloverridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 487 of file svdobj.cxx.

References cppu::OWeakObject::m_refCount.

◆ ActionChanged()

void SdrObject::ActionChanged ( ) const

◆ addCropHandles()

void SdrObject::addCropHandles ( SdrHdlList rTarget) const
virtual

Reimplemented in SdrGrafObj.

Definition at line 1255 of file svdobj.cxx.

Referenced by SdrMarkView::SetMarkHandles().

◆ AddListener()

void SdrObject::AddListener ( SfxListener rListener)

◆ AddObjectUser()

void SdrObject::AddObjectUser ( sdr::ObjectUser rNewUser)

◆ AddReference()

void SdrObject::AddReference ( SdrVirtObj rVrtObj)

Definition at line 702 of file svdobj.cxx.

References AddListener().

◆ AddToHdlList()

void SdrObject::AddToHdlList ( SdrHdlList rHdlList) const
virtual

◆ AddToPlusHdlList()

void SdrObject::AddToPlusHdlList ( SdrHdlList rHdlList,
SdrHdl rHdl 
) const
virtual

Reimplemented in SdrPathObj, and SdrVirtObj.

Definition at line 1251 of file svdobj.cxx.

Referenced by SdrMarkView::ImpMarkPoint(), and SdrMarkView::SetMarkHandles().

◆ AdjustToMaxRect()

void SdrObject::AdjustToMaxRect ( const tools::Rectangle rMaxRect,
bool  bShrinkOnly = false 
)
virtual

Reimplemented in SdrObjCustomShape, SdrGrafObj, SdrMediaObj, and sdr::table::SdrTableObj.

Definition at line 1682 of file svdobj.cxx.

References SetLogicRect().

◆ AppendUserData()

void SdrObject::AppendUserData ( std::unique_ptr< SdrObjUserData pData)

Definition at line 2729 of file svdobj.cxx.

References ImpForcePlusData(), m_pPlusData, and pData.

Referenced by IMapWindow::SdrObjCreated(), and SdrTextObj::SetTextLink().

◆ ApplyNotPersistAttr()

void SdrObject::ApplyNotPersistAttr ( const SfxItemSet rAttr)

◆ applySpecialDrag()

bool SdrObject::applySpecialDrag ( SdrDragStat rDrag)
virtual

◆ BckCreate()

bool SdrObject::BckCreate ( SdrDragStat rStat)
virtual

◆ BegCreate()

bool SdrObject::BegCreate ( SdrDragStat rStat)
virtual

Every object must be able to create itself interactively.

On MouseDown first an object is created, and its BegCreate() method is called. On every MouseMove, MovCreate() is called. BrkCreate() is called if the user cancels the interactive object creation. EndCreate() is called on the MouseUp event. If EndCreate() returns true, the creation is finished; the object is inserted into the corresponding list. Otherwise it is assumed that further points are necessary to create the object (Polygon, ...). The parameter eCmd contains the number of mouse clicks (if the application provides it). BckCreate() will undo the previous EndCreate(), e.g. to delete the last point of the Polygon. If BckCreate() returns false, creation is cancelled.

Reimplemented in E3dScene, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrObjGroup, SdrMeasureObj, SdrPathObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.

Definition at line 1383 of file svdobj.cxx.

References SdrDragStat::GetNow(), SdrDragStat::GetStart(), tools::Rectangle::Normalize(), SdrDragStat::SetActionRect(), SdrDragStat::SetOrtho4Possible(), and setOutRectangle().

◆ beginSpecialDrag()

bool SdrObject::beginSpecialDrag ( SdrDragStat rDrag) const
virtual

◆ BrkCreate()

void SdrObject::BrkCreate ( SdrDragStat rStat)
virtual

◆ BroadcastObjectChange()

void SdrObject::BroadcastObjectChange ( ) const

Definition at line 1018 of file svdobj.cxx.

References SfxBroadcaster::Broadcast(), getSdrModelFromSdrObject(), utl::ConfigManager::IsFuzzing(), IsInserted(), m_pPlusData, and ObjectChange.

Referenced by SdrTextObj::AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), sdr::table::SdrTableObj::AdjustTextFrameWidthAndHeight(), ApplyNotPersistAttr(), SdrTextObj::BegTextEdit(), sdr::properties::BaseProperties::BroadcastItemChange(), SdrOle2Obj::ClearGraphic(), Crop(), SdrGraphicLink::DataChanged(), SdrGlueEditView::DeleteMarkedGluePoints(), SdrDragObjOwn::EndSdrDrag(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), SdrGlueEditView::ImpDoMarkedGluePoints(), impl_execute(), svx::impl_execute(), SdrGrafObj::ImpSetLinkedGraphic(), SdrGlueEditView::ImpTransformMarkedGluePoints(), SdrMediaObj::mediaPropertiesChanged(), Mirror(), SdrObjGroup::Mirror(), SvxUnoShapeModifyListener::modified(), Move(), SdrObjCustomShape::Move(), SdrObjGroup::Move(), SdrVirtObj::Move(), SdrAttrObj::Notify(), sdr::properties::AttributeProperties::Notify(), sdr::table::SdrTableObj::onEditOutlinerStatusEvent(), SdrUndoObjSetText::Redo(), Resize(), SdrObjGroup::Resize(), Rotate(), SdrObjGroup::Rotate(), SetAnchorPos(), SdrObjGroup::SetAnchorPos(), SetDecorative(), SetDescription(), SetGeoData(), SetGrabBagItem(), SdrGrafObj::SetGraphic(), SdrOle2Obj::SetGraphic(), SdrGrafObj::SetGraphicObject(), SetLayer(), SetLogicRect(), SdrObjCustomShape::SetLogicRect(), SetMoveProtect(), SetName(), SdrOle2Obj::SetObjRef(), SetOutlinerParaObject(), SdrPathObj::SetPathPoly(), SetPoint(), SvxShape::setPropertyValueImpl(), SdrPageObj::SetReferencedPage(), SetRelativePos(), SetResizeProtect(), SetSnapRect(), SdrObjCustomShape::SetSnapRect(), SdrObjGroup::SetSnapRect(), SetStyleSheet(), SdrCaptionObj::SetTailPos(), SdrTextObj::SetText(), SetTitle(), E3dObject::SetTransform(), Shear(), SdrObjGroup::Shear(), SdrPathObj::ToggleClosed(), SdrMeasureObj::TRSetBaseGeometry(), SdrUndoObjSetText::Undo(), and sdr::table::SdrTableObjImpl::update().

◆ BurnInStyleSheetAttributes()

void SdrObject::BurnInStyleSheetAttributes ( )

◆ CheckMacroHit()

SdrObject * SdrObject::CheckMacroHit ( const SdrObjMacroHitRec rRec) const
virtual

◆ ClearMergedItem()

void SdrObject::ClearMergedItem ( const sal_uInt16  nWhich = 0)

◆ Clone()

template<class T >
static rtl::Reference< T > SdrObject::Clone ( T const &  rObj,
SdrModel rTargetModel 
)
inlinestatic

◆ CloneSdrObject()

virtual rtl::Reference< SdrObject > SdrObject::CloneSdrObject ( SdrModel rTargetModel) const
pure virtual

◆ ConnectToNode()

void SdrObject::ConnectToNode ( bool  bTail1,
SdrObject pObj 
)
virtual

◆ ConvertToContourObj()

rtl::Reference< SdrObject > SdrObject::ConvertToContourObj ( SdrObject pRet,
bool  bForceLineDash = false 
) const

◆ ConvertToPolyObj()

rtl::Reference< SdrObject > SdrObject::ConvertToPolyObj ( bool  bBezier,
bool  bLineToArea 
) const

◆ CreateObjectSpecificProperties()

std::unique_ptr< sdr::properties::BaseProperties > SdrObject::CreateObjectSpecificProperties ( )
protectedvirtual

◆ CreateObjectSpecificViewContact()

std::unique_ptr< sdr::contact::ViewContact > SdrObject::CreateObjectSpecificViewContact ( )
protectedvirtual

◆ Crop()

void SdrObject::Crop ( const basegfx::B2DPoint rRef,
double  fxFact,
double  fyFact 
)
virtual

◆ DeleteUserData()

void SdrObject::DeleteUserData ( sal_uInt16  nNum)

Definition at line 2744 of file svdobj.cxx.

References GetUserDataCount(), m_pPlusData, and nCount.

Referenced by SdrTextObj::ReleaseTextLink().

◆ DelReference()

void SdrObject::DelReference ( SdrVirtObj rVrtObj)

Definition at line 707 of file svdobj.cxx.

References RemoveListener().

◆ DisconnectFromNode()

void SdrObject::DisconnectFromNode ( bool  bTail1)
virtual

Reimplemented in SdrEdgeObj.

Definition at line 2372 of file svdobj.cxx.

Referenced by SvxShapeConnector::disconnectBegin(), and SvxShapeConnector::disconnectEnd().

◆ DoConvertToPolyObj()

rtl::Reference< SdrObject > SdrObject::DoConvertToPolyObj ( bool  bBezier,
bool  bAddText 
) const
virtual

◆ DoesSupportTextIndentingOnLineWidthChange()

bool SdrObject::DoesSupportTextIndentingOnLineWidthChange ( ) const
inline

Definition at line 847 of file svdobj.hxx.

Referenced by sdr::properties::TextProperties::ItemChange().

◆ DoMacro()

bool SdrObject::DoMacro ( const SdrObjMacroHitRec rRec)
virtual

Reimplemented in SdrVirtObj.

Definition at line 1884 of file svdobj.cxx.

Referenced by SdrObjEditView::EndMacroObj().

◆ dumpAsXml()

void SdrObject::dumpAsXml ( xmlTextWriterPtr  pWriter) const
virtual

◆ EndCreate()

bool SdrObject::EndCreate ( SdrDragStat rStat,
SdrCreateCmd  eCmd 
)
virtual

◆ Equals()

bool SdrObject::Equals ( const SdrObject rOtherObj) const

◆ ForceGluePointList()

SdrGluePointList * SdrObject::ForceGluePointList ( )
virtual

◆ ForceMetricToItemPoolMetric()

void SdrObject::ForceMetricToItemPoolMetric ( basegfx::B2DPolyPolygon rPolyPolygon) const
noexcept

◆ GetAnchorPos()

const Point & SdrObject::GetAnchorPos ( ) const

◆ getBackgroundFillSet()

const SfxItemSet * SdrObject::getBackgroundFillSet ( ) const
protected

◆ GetBLIPSizeRectangle()

const tools::Rectangle & SdrObject::GetBLIPSizeRectangle ( ) const
inline

Definition at line 819 of file svdobj.hxx.

◆ GetBroadcaster()

const SfxBroadcaster * SdrObject::GetBroadcaster ( ) const

Definition at line 697 of file svdobj.cxx.

References m_pPlusData.

Referenced by SdrEditView::CreateConnectorUndo(), SdrEdgeObj::Notify(), and SdrEdgeObj::Reformat().

◆ getChildrenOfSdrObject()

SdrObjList * SdrObject::getChildrenOfSdrObject ( ) const
virtual

Reimplemented in E3dScene, and SdrObjGroup.

Definition at line 323 of file svdobj.cxx.

Referenced by SdrObjList::ImplReformatAllEdgeObjects(), and SdrObjListIter::ImpProcessObj().

◆ GetConnectedNode()

SdrObject * SdrObject::GetConnectedNode ( bool  bTail1) const
virtual

Reimplemented in SdrEdgeObj.

Definition at line 2376 of file svdobj.cxx.

Referenced by SdrEditView::CreateConnectorUndo(), and SdrDragMethod::CreateOverlayGeometry().

◆ GetCornerGluePoint()

SdrGluePoint SdrObject::GetCornerGluePoint ( sal_uInt16  nNum) const
virtual

◆ GetCreatePointer()

PointerStyle SdrObject::GetCreatePointer ( ) const
virtual

get the cursor/pointer that signals creating this object

Reimplemented in SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, and SdrTextObj.

Definition at line 1433 of file svdobj.cxx.

◆ GetCurrentBoundRect()

const tools::Rectangle & SdrObject::GetCurrentBoundRect ( ) const
virtual

◆ GetDescription()

OUString SdrObject::GetDescription ( ) const
virtual

Reimplemented in SdrVirtObj.

Definition at line 861 of file svdobj.cxx.

References m_pPlusData.

Referenced by dumpAsXml(), accessibility::AccessibleShape::getAccessibleDescription(), and SetDescription().

◆ getDiagramHelper()

const std::shared_ptr< svx::diagram::IDiagramHelper > & SdrObject::getDiagramHelper ( ) const
virtual

Reimplemented in SdrObjGroup.

Definition at line 207 of file svdobj.cxx.

Referenced by SdrUndoDiagramModelData::SdrUndoDiagramModelData().

◆ getFillGeometryDefiningShape()

const SdrObject * SdrObject::getFillGeometryDefiningShape ( ) const
inline

Definition at line 290 of file svdobj.hxx.

◆ getFillGraphic()

const Graphic * SdrObject::getFillGraphic ( ) const

◆ getFullDragClone()

rtl::Reference< SdrObject > SdrObject::getFullDragClone ( ) const
virtual

◆ GetGeoData()

std::unique_ptr< SdrObjGeoData > SdrObject::GetGeoData ( ) const
virtual

Reimplemented in SdrVirtObj.

Definition at line 1950 of file svdobj.cxx.

References NewGeoData(), and SaveGeoData().

◆ GetGlobalDrawObjectItemPool()

SdrItemPool & SdrObject::GetGlobalDrawObjectItemPool ( )
static

◆ GetGluePointList()

const SdrGluePointList * SdrObject::GetGluePointList ( ) const
virtual

◆ GetGrabBagItem()

void SdrObject::GetGrabBagItem ( css::uno::Any &  rVal) const

Definition at line 922 of file svdobj.cxx.

References m_pGrabBagItem.

Referenced by SvxShape::getPropertyValueImpl(), and SdrObjGroup::SetGrabBagItem().

◆ GetHdlCount()

sal_uInt32 SdrObject::GetHdlCount ( ) const
virtual

Via GetHdlCount the number of Handles can be retrieved.

Normally 8, if it's a line 2. For Polygon objects (Polygon/Spline/Bezier) the number may be much larger. Polygon objects are also allowed to select a point of a selected object. The handle of that point will then be replaced by a new set of handles (PlusHdl). For a Polygon this would be a simple selection Handle, for a Bezier curve this may be up to 3 Handles (including Weights). GetHdl() and GetPlusHdl() must create Handle instances with new! An object that returns true from HasSpacialDrag() must provide these methods (incl. FillHdlList()).

Reimplemented in E3dCompoundObject, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrMeasureObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.

Definition at line 1226 of file svdobj.cxx.

◆ getHyperlink()

const OUString & SdrObject::getHyperlink ( ) const
inline

Definition at line 883 of file svdobj.hxx.

Referenced by SvxShape::getPropertyValueImpl(), and SdrView::PickAnything().

◆ GetLastBoundRect()

const tools::Rectangle & SdrObject::GetLastBoundRect ( ) const
virtual

◆ GetLayer()

SdrLayerID SdrObject::GetLayer ( ) const
virtual

◆ GetLogicRect()

const tools::Rectangle & SdrObject::GetLogicRect ( ) const
virtual

◆ GetMacroPointer()

PointerStyle SdrObject::GetMacroPointer ( const SdrObjMacroHitRec rRec) const
virtual

Reimplemented in SdrVirtObj.

Definition at line 1862 of file svdobj.cxx.

Referenced by SdrView::GetPreferredPointer().

◆ GetMergedItem() [1/2]

const SfxPoolItem & SdrObject::GetMergedItem ( const sal_uInt16  nWhich) const

Definition at line 2009 of file svdobj.cxx.

References SfxItemSet::Get(), and GetMergedItemSet().

Referenced by EnhancedCustomShape2d::AdaptObjColor(), SdrGrafObj::addCropHandles(), SdrTextObj::AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), SdrTextObj::BegTextEdit(), CalculateHorizontalScalingFactor(), svx::checkForFontWork(), svx::checkForSelectedCustomShapes(), SdrEditView::CombineMarkedObjects(), SdrEditView::CombineMarkedTextObjects(), CompressGraphicsDialog::CompressGraphicsDialog(), EnhancedCustomShape3d::Create3DObject(), EnhancedCustomShape2d::CreatePathObj(), EnhancedCustomShape2d::CreateSubPath(), sdr::contact::ViewContactOfSdrObjCustomShape::createViewIndependentPrimitive2DSequence(), SdrObjCustomShape::DoConvertToPolyObj(), SdrDragCrop::EndSdrDrag(), EnhancedCustomShape2d::EnhancedCustomShape2d(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), SdrObjCustomShape::GetCustomShapeEngine(), SdrObjCustomShape::GetCustomShapeName(), SdrObjCustomShape::GetExtraTextRotation(), getExtrusionColorState(), getExtrusionDepthState(), getExtrusionDirectionState(), getExtrusionLightingDirectionState(), getExtrusionLightingIntensityState(), getExtrusionProjectionState(), getExtrusionSurfaceState(), GetFontWorkOutline(), svx::GetGeometryForCustomShape(), GetTextAreaOutline(), ImpCreateShadowObjectClone(), SdrEditView::ImpDismantleOneObject(), ImpGetCustomShapeType(), SdrTextObj::ImpSetupDrawOutlinerForPaint(), InitializeFontWorkData(), SdrObjCustomShape::IsDefaultGeometry(), SdrObjCustomShape::IsMirroredX(), SdrObjCustomShape::IsMirroredY(), SdrObjCustomShape::IsTextPath(), LineGeometryUsageIsNecessary(), SdrObjCustomShape::MergeDefaultAttributes(), SdrDragObjOwn::MoveSdrDrag(), SdrObjCustomShape::RestoreGeoData(), SdrObjCustomShape::SaveGeoData(), SetAlignmentState(), SdrEditView::SetAttrToMarked(), SetCharacterSpacingState(), SetFontWorkShapeTypeState(), EnhancedCustomShape2d::SetHandleControllerPosition(), SetKernCharacterPairsState(), SdrObjCustomShape::SetMirroredX(), SdrObjCustomShape::SetMirroredY(), EnhancedCustomShape2d::SwapStartAndEndArrow(), SdrObjCustomShape::TakeTextEditArea(), SdrTextObj::TakeTextRect(), SdrObjCustomShape::TakeTextRect(), and SdrObjCustomShape::UseNoFillStyle().

◆ GetMergedItem() [2/2]

template<class T >
const T & SdrObject::GetMergedItem ( TypedWhichId< T >  nWhich) const
inline

Definition at line 619 of file svdobj.hxx.

◆ GetMergedItemSet()

const SfxItemSet & SdrObject::GetMergedItemSet ( ) const

Definition at line 1974 of file svdobj.cxx.

References sdr::properties::BaseProperties::GetMergedItemSet(), and GetProperties().

Referenced by SvxShape::_getPropertyState(), SdrDragMethod::AddConnectorOverlays(), SdrMarkView::AddDragModeHdl(), SdrObjEditView::ApplyFormatPaintBrush(), SdrEditView::CheckPossibilities(), EnhancedCustomShape3d::Create3DObject(), EnhancedCustomShape2d::CreatePathObj(), sdr::contact::createPrimitive2DSequenceImpl(), sdr::contact::ViewContactOfSdrOle2Obj::createPrimitive2DSequenceWithParameters(), SdrOle2Obj::createSdrGrafObjReplacement(), sdr::contact::ViewContactOfE3dScene::createSdrLightingAttribute(), CreateSdrObjectFromParagraphOutlines(), sdr::contact::ViewContactOfE3dScene::createSdrSceneAttribute(), sdr::contact::ViewContactOfGraphic::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrCaptionObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrCircObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrEdgeObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrMeasureObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrObjCustomShape::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrPathObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrRectObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfE3dCube::createViewIndependentPrimitive3DContainer(), sdr::contact::ViewContactOfE3dLathe::createViewIndependentPrimitive3DContainer(), sdr::contact::ViewContactOfE3dSphere::createViewIndependentPrimitive3DContainer(), Equals(), SvxGrafAttrHelper::ExecuteGrafAttr(), SdrHdlGradient::FromIAOToItem(), GetMergedItem(), sdr::properties::E3dSceneProperties::GetMergedItemSet(), sdr::properties::GroupProperties::GetMergedItemSet(), SvxShape::getPropertyStateImpl(), SvxShape::getPropertyValueImpl(), GetTextEditBackgroundColor(), E3dView::ImpChangeSomeAttributesFor3DConversion(), E3dView::ImpChangeSomeAttributesFor3DConversion2(), ImpConvertToContourObj(), SdrEditView::ImpCopyAttributes(), E3dView::ImpCreateSingle3DObjectFlat(), SdrEditView::ImpDismantleOneObject(), SdrObjCustomShape::IsAutoGrowHeight(), SdrObjCustomShape::IsAutoGrowWidth(), SdrEditView::MergeAttrFromMarked(), sdr::table::SvxTableController::onFormatTable(), SdrEditView::SetAttrToMarked(), Svx3DSceneObject::setPropertyValueImpl(), and SdrMeasureObj::TakeRepresentation().

◆ GetMetrStr()

OUString SdrObject::GetMetrStr ( tools::Long  nVal) const
protected

◆ GetName()

const OUString & SdrObject::GetName ( ) const
virtual

◆ GetNavigationPosition()

sal_uInt32 SdrObject::GetNavigationPosition ( ) const

◆ GetObjectItem() [1/2]

const SfxPoolItem & SdrObject::GetObjectItem ( const sal_uInt16  nWhich) const
protected

◆ GetObjectItem() [2/2]

template<class T >
const T & SdrObject::GetObjectItem ( TypedWhichId< T >  nWhich) const
inlineprotected

Definition at line 952 of file svdobj.hxx.

◆ GetObjectItemPool()

SfxItemPool & SdrObject::GetObjectItemPool ( ) const

Definition at line 616 of file svdobj.cxx.

References SdrModel::GetItemPool(), and getSdrModelFromSdrObject().

Referenced by TakeContour().

◆ GetObjectItemSet()

const SfxItemSet & SdrObject::GetObjectItemSet ( ) const
protected

Definition at line 1969 of file svdobj.cxx.

References sdr::properties::BaseProperties::GetObjectItemSet(), and GetProperties().

Referenced by SdrObjCustomShape::AdaptTextMinSize(), SdrTextObj::autoFitTextForCompatibility(), SdrTextObj::BegTextEdit(), SdrGrafObj::DoConvertToPolyObj(), SdrMeasureObj::DoConvertToPolyObj(), SdrPathObj::DoConvertToPolyObj(), getBackgroundFillSet(), E3dLatheObj::GetBackScale(), E3dLatheObj::GetBreakObj(), SdrTextObj::GetCameraZRotation(), E3dLatheObj::GetCharacterMode(), E3dLatheObj::GetCloseBack(), E3dLatheObj::GetCloseFront(), E3dScene::GetDistance(), SdrTextObj::GetEckenradius(), E3dLatheObj::GetEndAngle(), E3dScene::GetFocalLength(), E3dLatheObj::GetHorizontalSegments(), E3dSphereObj::GetHorizontalSegments(), SdrTextObj::GetMaxTextFrameHeight(), SdrTextObj::GetMaxTextFrameWidth(), SdrTextObj::GetMinTextFrameHeight(), SdrTextObj::GetMinTextFrameWidth(), GetObjectItem(), SdrText::GetObjectItemSet(), E3dLatheObj::GetPercentDiagonal(), E3dScene::GetPerspective(), SdrObjCustomShape::GetSdrObjectShadowFromCustomShape(), E3dLatheObj::GetSmoothLids(), E3dLatheObj::GetSmoothNormals(), SdrTextObj::GetTextAniDirection(), SdrTextObj::GetTextAniKind(), SdrTextObj::GetTextColumnsNumber(), SdrTextObj::GetTextColumnsSpacing(), SdrTextObj::GetTextHorizontalAdjust(), SdrTextObj::GetTextLeftDistance(), SdrTextObj::GetTextLowerDistance(), SdrTextObj::GetTextRightDistance(), SdrTextObj::GetTextScrollMetaFileAndRectangle(), SdrTextObj::GetTextUpperDistance(), SdrTextObj::GetTextVerticalAdjust(), E3dLatheObj::GetVerticalSegments(), E3dSphereObj::GetVerticalSegments(), SdrTextObj::HasTextColumnsNumber(), SdrTextObj::HasTextColumnsSpacing(), SdrEdgeObj::ImpCalcEdgeTrack(), SdrMeasureObj::ImpCalcGeometrics(), SdrTextObj::ImpConvertContainedTextToSdrPathObjs(), SdrTextObj::ImpConvertMakeObj(), SdrTextObj::impDecomposeBlockTextPrimitive(), SdrTextObj::impGetBlinkTextTiming(), SdrCaptionObj::ImpGetCaptParams(), SdrTextObj::impGetScrollTextTiming(), SdrCircObj::ImpSetAttrToCircInfo(), SdrEdgeObj::ImpSetAttrToEdgeInfo(), SdrGrafObj::ImpSetAttrToGrafInfo(), SdrCircObj::ImpSetCircInfoToAttr(), SdrTextObj::ImpSetContourPolygon(), SdrEdgeObj::ImpSetEdgeInfoToAttr(), SdrMeasureObj::ImpTakeAttr(), SdrTextObj::IsAutoGrowHeight(), SdrTextObj::IsAutoGrowWidth(), SdrTextObj::IsChainable(), SdrTextObj::IsContourTextFrame(), SdrTextObj::IsFontwork(), SdrTextObj::IsHideContour(), sdr::properties::CellProperties::ItemChange(), SdrCircObj::PaintNeedsXPolyCirc(), SdrTextObj::SetVerticalWriting(), SdrObjCustomShape::SetVerticalWriting(), SdrObjCustomShape::TakeTextRect(), and SdrMeasureObj::UndirtyText().

◆ GetObjIdentifier()

SdrObjKind SdrObject::GetObjIdentifier ( ) const
virtual

Reimplemented in E3dCubeObj, E3dLatheObj, E3dObject, E3dCompoundObject, E3dScene, E3dSphereObj, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrMediaObj, SdrOle2Obj, SdrPageObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, SdrUnoObj, and SdrVirtObj.

Definition at line 626 of file svdobj.cxx.

References NONE.

Referenced by SvxShape::_getSupportedServiceNames(), SdrObjEditView::ApplyFormatPaintBrush(), SdrCreateView::BegCreatePreparedObject(), sdr::properties::BaseProperties::BroadcastItemChange(), SvxXConnectionPreview::Construct(), SvxDrawPage::CreateShape(), sdr::contact::ViewObjectContact::createStructureTag(), DynCastE3dScene(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SC(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SD(), SvxTextEditSourceImpl::GetEditModeTextForwarder(), svx::sidebar::SelectionAnalyzer::GetObjectTypeFromGroup(), svx::sidebar::SelectionAnalyzer::GetObjectTypeFromMark(), getUnoShape(), SdrMarkView::ImpIsFrameHandles(), SvxShape::impl_initFromSdrObject(), SdrObjList::ImplReformatAllEdgeObjects(), sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible(), sdr::properties::ItemChangeBroadcaster::ItemChangeBroadcaster(), SdrView::MarkAll(), SdrMarkView::MarkListHasChanged(), SdrObjEditView::MarkListHasChanged(), svx::sidebar::PosSizePropertyPanel::NotifyItemUpdate(), IMapWindow::SdrObjChanged(), IMapWindow::SdrObjCreated(), SvxShape::setAllPropertiesToDefault(), SdrMarkView::SetMarkHandlesForLOKit(), svx_needLogicRectHack(), SdrObjEditView::TakeFormatPaintBrush(), and SvxShape::updateShapeKind().

◆ GetObjInventor()

SdrInventor SdrObject::GetObjInventor ( ) const
virtual

◆ GetOrdNum()

sal_uInt32 SdrObject::GetOrdNum ( ) const

◆ GetOrdNumDirect()

sal_uInt32 SdrObject::GetOrdNumDirect ( ) const
inline

◆ GetOutlinerParaObject()

OutlinerParaObject * SdrObject::GetOutlinerParaObject ( ) const
virtual

◆ getOutRectangle()

const tools::Rectangle & SdrObject::getOutRectangle ( ) const
protected

◆ getParentSdrObjectFromSdrObject()

SdrObject * SdrObject::getParentSdrObjectFromSdrObject ( ) const

◆ getParentSdrObjListFromSdrObject()

SdrObjList * SdrObject::getParentSdrObjListFromSdrObject ( ) const

◆ GetPoint()

Point SdrObject::GetPoint ( sal_uInt32  i) const
virtual

Reimplemented in SdrEdgeObj, SdrMeasureObj, SdrVirtObj, and SdrPathObj.

Definition at line 1735 of file svdobj.cxx.

Referenced by GetSnapPoint(), SdrEditView::ImpCrookObj(), and SdrEditView::ImpDistortObj().

◆ GetPointCount()

sal_uInt32 SdrObject::GetPointCount ( ) const
virtual

◆ GetProperties()

sdr::properties::BaseProperties & SdrObject::GetProperties ( ) const
virtual

◆ GetRelativeHeight()

const double * SdrObject::GetRelativeHeight ( ) const

Definition at line 603 of file svdobj.cxx.

References mpImpl.

◆ GetRelativeHeightRelation()

sal_Int16 SdrObject::GetRelativeHeightRelation ( ) const

Definition at line 611 of file svdobj.cxx.

References mpImpl.

◆ GetRelativePos()

Point SdrObject::GetRelativePos ( ) const
virtual

Reimplemented in SdrCaptionObj.

Definition at line 1625 of file svdobj.cxx.

References GetSnapRect(), m_aAnchor, and tools::Rectangle::TopLeft().

Referenced by SetRelativePos().

◆ GetRelativeWidth()

const double * SdrObject::GetRelativeWidth ( ) const

Definition at line 590 of file svdobj.cxx.

References mpImpl.

◆ GetRelativeWidthRelation()

sal_Int16 SdrObject::GetRelativeWidthRelation ( ) const

Definition at line 598 of file svdobj.cxx.

References mpImpl.

◆ GetRotateAngle()

Degree100 SdrObject::GetRotateAngle ( ) const
virtual

◆ getSdrModelFromSdrObject()

SdrModel & SdrObject::getSdrModelFromSdrObject ( ) const

Definition at line 289 of file svdobj.cxx.

References mrSdrModelFromSdrObject.

Referenced by SvxShape::_setPropertyToDefault(), SvxShape::_setPropertyValue(), accessibility::AccessibleEmptyEditSource::AccessibleEmptyEditSource(), SdrTextObj::AdaptTextMinSize(), SdrObjCustomShape::AdaptTextMinSize(), Svx3DSceneObject::add(), SdrOle2Obj::AddOwnLightClient(), Svx3DSceneObject::addShape(), SvxShapeGroup::addShape(), SdrTextObj::AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), sdr::table::SvxTableController::ApplyFormatPaintBrush(), sdr::properties::AttributeProperties::AttributeProperties(), SdrTextObj::BegTextEdit(), sdr::table::SdrTableObj::BegTextEdit(), SdrOle2Obj::BreakFileLink_Impl(), BroadcastObjectChange(), SdrOle2Obj::CalculateNewScaling(), sdr::table::SvxTableController::ChangeFontSize(), sdr::table::SvxTableController::changeTableEdge(), SdrOle2Obj::CheckFileLink_Impl(), SdrText::CheckPortionInfo(), SdrEditView::CombineMarkedObjects(), SdrOle2Obj::Connect_Impl(), SvxShapeConnector::connectEnd(), SvxShapeConnector::connectStart(), ConvertToContourObj(), SdrEditView::CopyMarkedObj(), EnhancedCustomShape3d::Create3DObject(), sdr::contact::ViewObjectContactOfUnoControl_Impl::createControlForDevice(), SvxOle2Shape::createLink(), drawinglayer::primitive2d::createNewSdrTextAttribute(), EnhancedCustomShape2d::CreateObject(), SvxOle2Shape::createObject(), EnhancedCustomShape2d::CreatePathObj(), SdrOle2Obj::createSdrGrafObjReplacement(), CreateSdrObjectFromParagraphOutlines(), EnhancedCustomShape2d::CreateSubPath(), ImpSdrObjTextLink::DataChanged(), SdrGraphicLink::DataChanged(), sdr::properties::DefaultProperties::DefaultProperties(), sdr::table::SvxTableController::DeleteMarked(), SdrOle2Obj::Disconnect_Impl(), SvxShapeConnector::disconnectBegin(), SvxShapeConnector::disconnectEnd(), SdrOle2Obj::DisconnectFileLink_Impl(), sdr::table::SdrTableObjImpl::disposing(), sdr::table::SvxTableController::DistributeColumns(), sdr::table::SvxTableController::DistributeRows(), SdrObjCustomShape::DoConvertToPolyObj(), SdrCaptionObj::DoConvertToPolyObj(), SdrGrafObj::DoConvertToPolyObj(), SdrObjGroup::DoConvertToPolyObj(), SdrMeasureObj::DoConvertToPolyObj(), sdr::table::SvxTableController::EditCell(), SdrDragCrop::EndSdrDrag(), sdr::table::SdrTableObj::EndTextEdit(), SdrText::ForceOutlinerParaObject(), sdr::properties::TextProperties::ForceStyleToHardAttributes(), SdrHdlGradient::FromIAOToItem(), drawinglayer::primitive2d::SdrTextPrimitive2D::get2DDecomposition(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), E3dLatheObj::GetBreakObj(), SvxOle2Shape::GetClassName_Impl(), CompressGraphicsDialog::GetCompressedSdrGrafObj(), SvxTextEditSourceImpl::GetEditViewForwarder(), getFullDragClone(), SdrEdgeObj::getFullDragClone(), SdrVirtObj::getFullDragClone(), SdrGrafObj::getMetafileFromEmbeddedVectorGraphicData(), GetMetrStr(), GetObjectItemPool(), SdrExchangeView::GetObjGraphic(), SdrOle2Obj::GetObjRef_Impl(), SdrGrafObj::getOriginalSize(), SdrOle2Obj::GetParentXModel(), sdr::contact::ViewObjectContact::getPrimitive2DSequence(), SvxShape::getPropertyValueImpl(), ImpPathForDragAndCreate::getSpecialDragComment(), sdr::table::SvxTableController::GetState(), SdrTextObj::GetTextChain(), SvxTextEditSourceImpl::GetTextForwarder(), SdrGrafObj::GetTransformedGraphic(), getUnoShape(), SdrEditView::GroupMarked(), SdrEdgeObj::ImpCalcEdgeTrack(), E3dView::ImpCloneAll3DObjectsToDestScene(), SdrTextObj::ImpConvertAddText(), SdrTextObj::ImpConvertContainedTextToSdrPathObjs(), SdrTextObj::ImpConvertMakeObj(), ImpConvertToContourObj(), ImpCreateShadowObjectClone(), E3dView::ImpCreateSingle3DObjectFlat(), SdrTextObj::impDecomposeBlockTextPrimitive(), SdrGrafObj::ImpDeregisterLink(), SdrTextObj::ImpDeregisterLink(), SdrEdgeObj::ImpDirtyEdgeTrack(), SdrEditView::ImpDismantleOneObject(), SdrTextObj::ImpGetDrawOutliner(), SdrTextObj::impHandleChainingEventsDuringDecomposition(), SdrEdgeObj::ImpRecalcEdgeTrack(), SdrGrafObj::ImpRegisterLink(), SdrTextObj::ImpRegisterLink(), SdrTextObj::ImpSetContourPolygon(), SdrGrafObj::ImpSetLinkedGraphic(), SdrTextObj::ImpSetTextStyleSheetListeners(), SdrOle2Obj::ImpSetVisAreaSize(), SdrEdgeObj::ImpUndirtyEdgeTrack(), SdrOle2Obj::Init(), InitializeFontWorkData(), sdr::table::TableModel::insertColumns(), ImpSdrPdfImport::InsertObj(), ImpSdrGDIMetaFileImport::InsertObj(), SdrObjList::InsertObject(), sdr::table::TableModel::insertRows(), IsInDestruction(), SdrMediaObj::mediaPropertiesChanged(), sdr::table::TableModel::merge(), SdrEditView::MergeMarkedObjects(), sdr::table::SvxTableController::MergeRange(), NbcApplyNotPersistAttr(), SdrOle2Obj::NbcMove(), SdrOle2Obj::NbcResize(), SdrTextObj::NbcResize(), SdrEdgeObj::NbcResize(), SdrOle2Obj::NbcSetLogicRect(), sdr::table::SdrTableObj::NbcSetOutlinerParaObject(), SdrOle2Obj::NbcSetSnapRect(), sdr::properties::AttributeProperties::Notify(), sdr::table::SvxTableController::onFormatTable(), sdr::table::SvxTableController::onInsert(), sdr::table::SvxTableController::onKeyInput(), sdr::table::SdrTableObjImpl::operator=(), RecalcBoundRect(), SvxShapeGroup::remove(), sdr::table::TableModel::removeColumns(), sdr::table::TableModel::removeRows(), SdrObjList::ReplaceObject(), SdrPathObj::RipPoint(), SdrObjEditView::SdrBeginTextEdit(), SdrObject(), SdrOle2Obj::SdrOle2Obj(), SvxShape::setAllPropertiesToDefault(), sdr::table::SvxTableController::SetAttrToSelectedCells(), SetChanged(), SvxShapeControl::setControl(), E3dView::SetCurrent3DObj(), SetDecorative(), SetDescription(), SdrObjList::SetExistingObjectOrdNum(), sdr::table::TableRow::setFastPropertyValue(), SdrOle2Obj::SetGeoData(), SdrGrafObj::SetGrafStreamURL(), ConstructHelper::SetLineEnds(), SetName(), SdrObjList::SetObjectNavigationPosition(), SetOutlinerParaObject(), SvxShape::setPosition(), SetPrintable(), SvxShape::setPropertyValueImpl(), SvxGraphicObject::setPropertyValueImpl(), SvxShape::setSize(), sdr::properties::TextProperties::SetStyleSheet(), sdr::table::SvxTableController::SetTableStyle(), sdr::table::SvxTableController::SetTableStyleSettings(), SetTitle(), sdr::table::SvxTableController::SetVertical(), SetVisible(), sdr::table::SvxTableController::SplitMarkedCells(), accessibility::AccessibleEmptyEditSource::Switch2ProxyEditSource(), TakeContour(), TakeNotPersistAttr(), SdrMeasureObj::TakeRepresentation(), sdr::table::SdrTableObj::TakeTextEditArea(), SdrTextObj::TakeTextEditArea(), SdrObjCustomShape::TakeTextEditArea(), SdrTextObj::TakeTextRect(), SdrObjCustomShape::TakeTextRect(), TRGetBaseGeometry(), SdrObjCustomShape::TRGetBaseGeometry(), SdrMeasureObj::TRGetBaseGeometry(), SdrPathObj::TRGetBaseGeometry(), SdrTextObj::TRGetBaseGeometry(), TRSetBaseGeometry(), SdrObjCustomShape::TRSetBaseGeometry(), SdrCaptionObj::TRSetBaseGeometry(), SdrMeasureObj::TRSetBaseGeometry(), SdrPathObj::TRSetBaseGeometry(), SdrTextObj::TRSetBaseGeometry(), SdrOle2Obj::UpdateLinkURL_Impl(), SdrTextObj::UpdateOutlinerFormatting(), accessibility::AccessibleEmptyEditSource::~AccessibleEmptyEditSource(), and ~SdrObject().

◆ getSdrObjectFromXShape()

SdrObject * SdrObject::getSdrObjectFromXShape ( const css::uno::Reference< css::uno::XInterface > &  xInt)
static

◆ getSdrPageFromSdrObject()

SdrPage * SdrObject::getSdrPageFromSdrObject ( ) const

◆ GetShearAngle()

Degree100 SdrObject::GetShearAngle ( bool  bVertical = false) const
virtual

◆ GetSnapPoint()

Point SdrObject::GetSnapPoint ( sal_uInt32  i) const
virtual

Reimplemented in SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, SdrTextObj, and SdrVirtObj.

Definition at line 1720 of file svdobj.cxx.

References GetPoint(), and i.

Referenced by SdrSnapView::SnapPos().

◆ GetSnapPointCount()

sal_uInt32 SdrObject::GetSnapPointCount ( ) const
virtual

snap to special points of an Object (polygon points, center of circle)

Reimplemented in SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, SdrTextObj, and SdrVirtObj.

Definition at line 1715 of file svdobj.cxx.

References GetPointCount().

Referenced by SdrSnapView::SnapPos().

◆ GetSnapRect()

const tools::Rectangle & SdrObject::GetSnapRect ( ) const
virtual

◆ getSpecialDragComment()

OUString SdrObject::getSpecialDragComment ( const SdrDragStat rDrag) const
virtual

◆ getSpecialDragPoly()

basegfx::B2DPolyPolygon SdrObject::getSpecialDragPoly ( const SdrDragStat rDrag) const
virtual

Reimplemented in SdrPathObj, sdr::table::SdrTableObj, and SdrVirtObj.

Definition at line 1375 of file svdobj.cxx.

◆ GetStyleSheet()

SfxStyleSheet * SdrObject::GetStyleSheet ( ) const

◆ GetSubList()

SdrObjList * SdrObject::GetSubList ( ) const
virtual

Reimplemented in E3dScene, SdrObjGroup, and SdrVirtObj.

Definition at line 717 of file svdobj.cxx.

Referenced by Svx3DSceneObject::add(), CloneList::AddPair(), Svx3DSceneObject::addShape(), SvxShapeGroup::addShape(), E3dView::BreakSingle3DObj(), SdrEditView::CheckPossibilities(), SdrMarkView::CheckSingleSdrObjectHit(), SdrEditView::CrookMarkedObj(), SdrEditView::DeleteLayer(), SdrEditView::DeleteMarkedObj(), SdrEditView::DismantleMarkedObjects(), SdrEditView::DistortMarkedObj(), SdrPageView::EnterGroup(), SvxShapeGroup::getByIndex(), Svx3DSceneObject::getByIndex(), SvxShapeGroup::getCount(), Svx3DSceneObject::getCount(), accessibility::AccessibleShape::getGroupPosition(), sdr::contact::ViewContactOfSdrObj::GetObjectCount(), svx::sidebar::SelectionAnalyzer::GetObjectTypeFromGroup(), sdr::contact::ViewContactOfSdrObj::GetViewContact(), SvxShapeGroup::hasElements(), Svx3DSceneObject::hasElements(), Imp_E3dView_InorderRun3DObjects(), SdrEditView::ImpCanConvertForCombine(), SdrEditView::ImpCanDismantle(), SdrEditView::ImpCopyAttributes(), SdrEditView::ImpDelLayerCheck(), SdrEditView::ImpDelLayerDelObjs(), SdrEditView::ImpGetPolyPolygon(), FmXUndoEnvironment::Inserted(), svxform::NavigatorTreeModel::InsertSdrObj(), isControlList(), IsGroupObject(), isVisibleOnAnyOfTheseLayers(), SdrPageView::LeaveOneGroup(), SdrPage::MakePageObjectsNamesUnique(), FmXUndoEnvironment::Removed(), svxform::NavigatorTreeModel::RemoveSdrObj(), FmXFormView::restoreMarkList(), FmXFormView::saveMarkList(), SdrObjectPrimitiveHit(), SdrUndoAttrObj::SdrUndoAttrObj(), SdrUndoGeoObj::SdrUndoGeoObj(), SdrEditView::UnGroupMarked(), and SdrObjList::UnGroupObj().

◆ getSvxShape()

SvxShape * SdrObject::getSvxShape ( )
private

only for internal use!

Definition at line 2852 of file svdobj.cxx.

References DBG_TESTSOLARMUTEX, maWeakUnoShape, and mpSvxShape.

Referenced by notifyShapePropertyChange(), and registerProvider().

◆ GetTitle()

OUString SdrObject::GetTitle ( ) const
virtual

◆ getUnoShape()

css::uno::Reference< css::drawing::XShape > SdrObject::getUnoShape ( )
virtual

◆ GetUserCall()

SdrObjUserCall * SdrObject::GetUserCall ( ) const
inline

◆ GetUserData()

SdrObjUserData * SdrObject::GetUserData ( sal_uInt16  nNum) const

◆ GetUserDataCount()

sal_uInt16 SdrObject::GetUserDataCount ( ) const

◆ GetVertexGluePoint()

SdrGluePoint SdrObject::GetVertexGluePoint ( sal_uInt16  nNum) const
virtual

◆ GetViewContact()

sdr::contact::ViewContact & SdrObject::GetViewContact ( ) const

Definition at line 261 of file svdobj.cxx.

References CreateObjectSpecificViewContact(), and mpViewContact.

Referenced by ActionChanged(), E3dCompoundObject::AddToHdlList(), SdrMediaObj::AdjustToMaxRect(), checkHitSingle3DObject(), E3dDragMethod::CreateOverlayGeometry(), SdrDragEntrySdrObject::createPrimitive2DSequenceInCurrentState(), SdrDragMove::createSdrDragEntryForSdrObject(), sdr::contact::ViewContactOfVirtObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrObjCustomShape::createViewIndependentPrimitive2DSequence(), E3dDragRotate::E3dDragRotate(), E3DModifySceneSnapRectUpdater::E3DModifySceneSnapRectUpdater(), E3dScene::E3dScene(), svx::MediaShellHelpers::Execute(), fillViewInformation3DForCompoundObject(), sdr::contact::ObjectContactOfPageView::getActiveViewContact(), getAllHit3DObjectsSortedFrontToBack(), getAllHit3DObjectWithRelativePoint(), SvxShape::GetBitmap(), SdrExchangeView::GetMarkedObjBitmapEx(), getMinimalDepthInViewCoordinates(), sdr::contact::ObjectContactOfObjListPainter::GetPaintObjectViewContact(), sdr::contact::ViewContactOfSdrObj::GetParentContact(), SdrMarkView::getPossibleGridOffsetForSdrObject(), svx::MediaShellHelpers::GetState(), SdrUnoObj::GetUnoControl(), sdr::contact::ViewContactOfSdrObj::GetViewContact(), sdr::contact::ViewContactOfMasterPageDescriptor::GetViewContact(), sdr::contact::ViewContactOfPageHierarchy::GetViewContact(), SdrObjList::impChildInserted(), SdrTextObj::ImpConvertContainedTextToSdrPathObjs(), ImpConvertToContourObj(), SdrUnoObj::impl_getViewContact(), E3dDragRotate::MoveSdrDrag(), E3dDragMove::MoveSdrDrag(), E3dObject::NbcMove(), SdrTextObj::NbcReformatText(), E3dObject::NbcResize(), RecalcBoundRect(), E3dObject::RecalcBoundVolume(), E3dCompoundObject::RecalcSnapRect(), SdrObjectPrimitiveHit(), SdrEditView::SetAttrToMarked(), SdrMediaObj::setMediaProperties(), SdrUnoObj::SetUnoControlModel(), E3dCompoundObject::TakeXorPoly(), E3dScene::TakeXorPoly(), E3dCompoundObject::TransformToScreenCoor(), OLEObjCache::UnloadObj(), and E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater().

◆ getWeakUnoShape()

const css::uno::WeakReference< css::drawing::XShape > & SdrObject::getWeakUnoShape ( ) const
inline

Definition at line 876 of file svdobj.hxx.

◆ handlePageChange()

void SdrObject::handlePageChange ( SdrPage pOldPage,
SdrPage pNewPage 
)
virtual

◆ HasFillStyle()

bool SdrObject::HasFillStyle ( ) const

Definition at line 3048 of file svdobj.cxx.

References GetObjectItem(), and XATTR_FILLSTYLE().

Referenced by E3dDragMethod::E3dDragMethod(), and SdrEditView::UnGroupMarked().

◆ HasLimitedRotation()

bool SdrObject::HasLimitedRotation ( ) const
virtual

Reimplemented in SdrVirtObj.

Definition at line 1081 of file svdobj.cxx.

Referenced by SdrMarkView::SetMarkHandles(), and SdrMarkView::SetMarkHandlesForLOKit().

◆ HasLineStyle()

bool SdrObject::HasLineStyle ( ) const

◆ HasMacro()

bool SdrObject::HasMacro ( ) const
virtual

Reimplemented in SdrVirtObj.

Definition at line 1847 of file svdobj.cxx.

Referenced by SdrObjEditView::BegMacroObj(), SdrView::PickAnything(), and SdrMarkView::PickObj().

◆ hasSpecialDrag()

bool SdrObject::hasSpecialDrag ( ) const
virtual

The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPoly(),...).

Object type specific dragging like corner radius of Rectangle, control points of Splines, weights of Bezier curves, pointer of Label objects must be handled by the object itself. To keep the Model free of state, the state is kept in the View and then passed to the object. EndDrag usually returns true for success, false may be returned if the dragging did not modify the object, where the View already handles the case that the pointer was not moved at all.

Reimplemented in SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, SdrUnoObj, and SdrVirtObj.

Definition at line 1331 of file svdobj.cxx.

Referenced by SdrDragView::BegDragObj(), and SdrMarkView::ImpIsFrameHandles().

◆ HasText()

bool SdrObject::HasText ( ) const
virtual

Reimplemented in sdr::table::SdrTableObj, and SdrTextObj.

Definition at line 3083 of file svdobj.cxx.

◆ HasTextEdit()

bool SdrObject::HasTextEdit ( ) const
virtual

Reimplemented in SdrMediaObj, and SdrTextObj.

Definition at line 1753 of file svdobj.cxx.

Referenced by SdrView::PickAnything(), and SdrMarkView::PickObj().

◆ ImpConvertToContourObj()

rtl::Reference< SdrObject > SdrObject::ImpConvertToContourObj ( bool  bForceLineDash)
private

◆ ImpDragCalcRect()

tools::Rectangle SdrObject::ImpDragCalcRect ( const SdrDragStat rDrag) const
protected

◆ ImpForcePlusData()

void SdrObject::ImpForcePlusData ( )
protected

◆ ImpGetDescriptionStr()

OUString SdrObject::ImpGetDescriptionStr ( TranslateId  pStrCacheID) const
protected

◆ ImpSetAnchorPos()

void SdrObject::ImpSetAnchorPos ( const Point rPnt)

Definition at line 1630 of file svdobj.cxx.

References m_aAnchor.

◆ InsertedStateChange()

void SdrObject::InsertedStateChange ( )

◆ InternalSetStyleSheet()

void SdrObject::InternalSetStyleSheet ( SfxStyleSheet pNewStyleSheet,
bool  bDontRemoveHardAttr,
bool  bBroadcast 
)
protectedvirtual

◆ Is3DObj()

bool SdrObject::Is3DObj ( ) const
inline

◆ IsClosedObj()

bool SdrObject::IsClosedObj ( ) const
inline

◆ IsDecorative()

bool SdrObject::IsDecorative ( ) const
virtual

Reimplemented in SdrVirtObj.

Definition at line 900 of file svdobj.cxx.

References m_pPlusData.

Referenced by sdr::contact::ViewObjectContact::createStructureTag().

◆ isDiagram()

bool SdrObject::isDiagram ( ) const
inline

◆ IsDoNotInsertIntoPageAutomatically()

bool SdrObject::IsDoNotInsertIntoPageAutomatically ( ) const
inline
See also
mbDoNotInsertIntoPageAutomatically

Definition at line 841 of file svdobj.hxx.

◆ IsEdgeObj()

bool SdrObject::IsEdgeObj ( ) const
inline

◆ IsEmptyPresObj()

bool SdrObject::IsEmptyPresObj ( ) const
inline

◆ IsGroupObject()

bool SdrObject::IsGroupObject ( ) const

◆ IsInDestruction()

bool SdrObject::IsInDestruction ( ) const

◆ IsInserted()

bool SdrObject::IsInserted ( ) const
inline

◆ IsMacroHit()

bool SdrObject::IsMacroHit ( const SdrObjMacroHitRec rRec) const

◆ IsMarkProtect()

bool SdrObject::IsMarkProtect ( ) const
inline

Definition at line 764 of file svdobj.hxx.

Referenced by SdrPageView::IsObjMarkable(), and SdrMarkView::IsObjMarkable().

◆ IsMoveProtect()

bool SdrObject::IsMoveProtect ( ) const
inline

◆ IsNotVisibleAsMaster()

bool SdrObject::IsNotVisibleAsMaster ( ) const
inline

◆ IsPolyObj()

bool SdrObject::IsPolyObj ( ) const
virtual

◆ IsPrintable()

bool SdrObject::IsPrintable ( ) const
inline

◆ IsResizeProtect()

bool SdrObject::IsResizeProtect ( ) const
inline

◆ IsSdrTextObj()

virtual bool SdrObject::IsSdrTextObj ( ) const
inlinevirtual

Reimplemented in SdrTextObj.

Definition at line 765 of file svdobj.hxx.

Referenced by DynCastSdrTextObj().

◆ IsTextBox()

bool SdrObject::IsTextBox ( ) const
virtual

Is this a textbox of a drawinglayer shape?

Definition at line 3088 of file svdobj.cxx.

◆ IsTextPath()

virtual bool SdrObject::IsTextPath ( ) const
inlinevirtual

Reimplemented in SdrObjCustomShape.

Definition at line 766 of file svdobj.hxx.

◆ IsUnoObj()

bool SdrObject::IsUnoObj ( ) const
inline

Definition at line 754 of file svdobj.hxx.

Referenced by FmFormView::ChangeDesignMode(), and SdrMarkView::IsObjMarkable().

◆ IsVirtualObj()

bool SdrObject::IsVirtualObj ( ) const
inline

Definition at line 740 of file svdobj.hxx.

Referenced by FmXUndoEnvironment::Removed().

◆ IsVisible()

bool SdrObject::IsVisible ( ) const
inline

◆ isVisibleOnAnyOfTheseLayers()

bool SdrObject::isVisibleOnAnyOfTheseLayers ( const SdrLayerIDSet rSet) const

◆ LineGeometryUsageIsNecessary()

bool SdrObject::LineGeometryUsageIsNecessary ( ) const

◆ LineIsOutsideGeometry()

bool SdrObject::LineIsOutsideGeometry ( ) const
inline

◆ MakeNameUnique() [1/2]

void SdrObject::MakeNameUnique ( )

◆ MakeNameUnique() [2/2]

void SdrObject::MakeNameUnique ( std::unordered_set< OUString > &  rNameSet)

◆ Mirror()

void SdrObject::Mirror ( const Point rRef1,
const Point rRef2 
)
virtual

◆ MovCreate()

bool SdrObject::MovCreate ( SdrDragStat rStat)
virtual

◆ Move()

void SdrObject::Move ( const Size rSiz)
virtual

◆ moveOutRectangle()

void SdrObject::moveOutRectangle ( sal_Int32  nXDelta,
sal_Int32  nYDelta 
)
protected

◆ NbcApplyNotPersistAttr()

void SdrObject::NbcApplyNotPersistAttr ( const SfxItemSet rAttr)

◆ NbcCrop()

void SdrObject::NbcCrop ( const basegfx::B2DPoint rRef,
double  fxFact,
double  fyFact 
)
virtual

Definition at line 1542 of file svdobj.cxx.

Referenced by Crop().

◆ NbcMirror()

void SdrObject::NbcMirror ( const Point rRef1,
const Point rRef2 
)
virtual

◆ NbcMirrorGluePoints()

void SdrObject::NbcMirrorGluePoints ( const Point rRef1,
const Point rRef2 
)

◆ NbcMove()

void SdrObject::NbcMove ( const Size rSiz)
virtual

The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model.

Derived classes should usually only override the Nbc methods. Nbc means "no broadcast".

Reimplemented in SdrCircObj, SdrEdgeObj, SdrPathObj, SdrObjCustomShape, SdrCaptionObj, SdrObjGroup, SdrMeasureObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, SdrVirtObj, E3dObject, E3dScene, and SdrOle2Obj.

Definition at line 1439 of file svdobj.cxx.

References Size::Height(), moveOutRectangle(), SetBoundAndSnapRectsDirty(), and Size::Width().

Referenced by ImpSdrPdfImport::MapScaling(), ImpSdrGDIMetaFileImport::MapScaling(), Move(), NbcApplyNotPersistAttr(), SdrObjCustomShape::NbcMove(), SdrObjGroup::NbcMove(), NbcSetAnchorPos(), and NbcSetRelativePos().

◆ NbcReformatText()

void SdrObject::NbcReformatText ( )
virtual

Reimplemented in SdrObjGroup, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.

Definition at line 1838 of file svdobj.cxx.

Referenced by SdrObjList::NbcReformatAllTextObjects().

◆ NbcResize()

void SdrObject::NbcResize ( const Point rRef,
const Fraction xFact,
const Fraction yFact 
)
virtual

◆ NbcRotate() [1/2]

void SdrObject::NbcRotate ( const Point rRef,
Degree100  nAngle 
)

Definition at line 1469 of file svdobj.cxx.

References a, NbcRotate(), and toRadians().

◆ NbcRotate() [2/2]

virtual void SdrObject::NbcRotate ( const Point rRef,
Degree100  nAngle,
double  sn,
double  cs 
)
pure virtual

◆ NbcRotateGluePoints()

void SdrObject::NbcRotateGluePoints ( const Point rRef,
Degree100  nAngle,
double  sn,
double  cs 
)

◆ NbcSetAnchorPos()

void SdrObject::NbcSetAnchorPos ( const Point rPnt)
virtual

◆ NbcSetLayer()

void SdrObject::NbcSetLayer ( SdrLayerID  nLayer)
virtual

◆ NbcSetLogicRect()

void SdrObject::NbcSetLogicRect ( const tools::Rectangle rRect)
virtual

◆ NbcSetOutlinerParaObject()

void SdrObject::NbcSetOutlinerParaObject ( std::optional< OutlinerParaObject pTextObject)
virtual

Reimplemented in SdrObjCustomShape, SdrObjCustomShape, SdrMeasureObj, sdr::table::SdrTableObj, and SdrTextObj.

Definition at line 1829 of file svdobj.cxx.

Referenced by SetOutlinerParaObject().

◆ NbcSetPoint()

void SdrObject::NbcSetPoint ( const Point rPnt,
sal_uInt32  i 
)
virtual

Reimplemented in SdrEdgeObj, SdrMeasureObj, SdrVirtObj, and SdrPathObj.

Definition at line 1749 of file svdobj.cxx.

Referenced by SetPoint().

◆ NbcSetRelativePos()

void SdrObject::NbcSetRelativePos ( const Point rPnt)
virtual

The relative position of a SdrObject is the distance of the upper left corner of the logic bounding rectangle (SnapRect) to the anchor.

Reimplemented in SdrCaptionObj, and SdrObjGroup.

Definition at line 1607 of file svdobj.cxx.

References GetSnapRect(), m_aAnchor, NbcMove(), TopLeft, Point::X(), and Point::Y().

Referenced by SetRelativePos().

◆ NbcSetSnapRect()

void SdrObject::NbcSetSnapRect ( const tools::Rectangle rRect)
virtual

◆ NbcSetStyleSheet()

void SdrObject::NbcSetStyleSheet ( SfxStyleSheet pNewStyleSheet,
bool  bDontRemoveHardAttr 
)

◆ NbcShear()

void SdrObject::NbcShear ( const Point rRef,
Degree100  nAngle,
double  tn,
bool  bVShear 
)
virtual

◆ NbcShearGluePoints()

void SdrObject::NbcShearGluePoints ( const Point rRef,
double  tn,
bool  bVShear 
)

◆ NewGeoData()

std::unique_ptr< SdrObjGeoData > SdrObject::NewGeoData ( ) const
protectedvirtual

A derived class must override these 3 methods if it has own geometric data that must be saved for Undo.

NewGeoData() creates an empty instance of a class derived from SdrObjGeoData.

Reimplemented in E3dObject, E3dScene, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrMeasureObj, SdrPathObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.

Definition at line 1895 of file svdobj.cxx.

Referenced by GetGeoData().

◆ notifyShapePropertyChange()

void SdrObject::notifyShapePropertyChange ( const svx::ShapePropertyProviderId  _eProperty) const

Definition at line 2956 of file svdobj.cxx.

References DBG_TESTSOLARMUTEX, getSvxShape(), and SvxShape::notifyPropertyChange().

Referenced by SendUserCall().

◆ operator=() [1/2]

SdrObject & SdrObject::operator= ( const SdrObject rObj)
delete

◆ operator=() [2/2]

SdrObject & SdrObject::operator= ( SdrObject &&  rObj)
delete

◆ PaintMacro()

void SdrObject::PaintMacro ( OutputDevice rOut,
const tools::Rectangle rDirtyRect,
const SdrObjMacroHitRec rRec 
) const
virtual

◆ RecalcBoundRect()

void SdrObject::RecalcBoundRect ( )
virtual

◆ RecalcSnapRect()

void SdrObject::RecalcSnapRect ( )
virtual

Snap is not done on the BoundRect but if possible on logic coordinates (i.e.

without considering stroke width, ...) SetSnapRect() tries to size the Object so that it fits into the passed Rect (without stroke width, ...)

Reimplemented in E3dObject, E3dCompoundObject, E3dScene, SdrCircObj, SdrEdgeObj, SdrObjGroup, SdrMeasureObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.

Definition at line 1658 of file svdobj.cxx.

Referenced by SdrAttrObj::GetSnapRect().

◆ registerProvider()

void SdrObject::registerProvider ( const svx::ShapePropertyProviderId  _eProperty,
std::unique_ptr< svx::PropertyValueProvider propProvider 
)

Definition at line 2965 of file svdobj.cxx.

References DBG_TESTSOLARMUTEX, getSvxShape(), and SvxShape::registerProvider().

◆ release()

void SdrObject::release ( )
finaloverridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 495 of file svdobj.cxx.

References cppu::OWeakObject::disposeWeakConnectionPoint(), cppu::OWeakObject::m_refCount, and x.

◆ RemoveListener()

void SdrObject::RemoveListener ( SfxListener rListener)

◆ RemoveObjectUser()

void SdrObject::RemoveObjectUser ( sdr::ObjectUser rOldUser)

◆ resetOutRectangle()

void SdrObject::resetOutRectangle ( )
protected

Definition at line 3188 of file svdobj.cxx.

References m_aOutRect.

Referenced by SetBoundRectDirty().

◆ Resize()

void SdrObject::Resize ( const Point rRef,
const Fraction xFact,
const Fraction yFact,
bool  bUnsetRelative = true 
)
virtual

◆ RestoreGeoData()

void SdrObject::RestoreGeoData ( const SdrObjGeoData rGeo)
protectedvirtual

◆ Rotate()

void SdrObject::Rotate ( const Point rRef,
Degree100  nAngle,
double  sn,
double  cs 
)
virtual

◆ SaveGeoData()

void SdrObject::SaveGeoData ( SdrObjGeoData rGeo) const
protectedvirtual

◆ SendUserCall()

void SdrObject::SendUserCall ( SdrUserCallType  eUserCall,
const tools::Rectangle rBoundRect 
) const

Definition at line 2763 of file svdobj.cxx.

References ChangeAttr, SdrObjUserCall::Changed(), ChildChangeAttr, ChildDelete, ChildInserted, ChildMoveOnly, ChildRemoved, ChildResize, Delete, getParentSdrObjectFromSdrObject(), GetUserCall(), Inserted, m_pUserCall, MoveOnly, notifyShapePropertyChange(), svx::Position, Removed, Resize, and svx::Size.

Referenced by SdrTextObj::AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), sdr::table::SdrTableObj::AdjustTextFrameWidthAndHeight(), ApplyNotPersistAttr(), sdr::properties::BaseProperties::BroadcastItemChange(), sdr::table::SvxTableController::changeTableEdge(), Crop(), SdrDragObjOwn::EndSdrDrag(), SdrEdgeObj::ImpRecalcEdgeTrack(), InsertedStateChange(), Mirror(), SdrObjGroup::Mirror(), SdrVirtObj::Mirror(), Move(), SdrObjCustomShape::Move(), SdrObjGroup::Move(), SdrVirtObj::Move(), SdrAttrObj::Notify(), SdrEdgeObj::Notify(), sdr::properties::AttributeProperties::Notify(), sdr::table::SdrTableObj::onEditOutlinerStatusEvent(), Resize(), SdrObjGroup::Resize(), SdrVirtObj::Resize(), Rotate(), SdrObjGroup::Rotate(), SdrVirtObj::Rotate(), SetAnchorPos(), SdrObjGroup::SetAnchorPos(), SetGeoData(), SdrVirtObj::SetGeoData(), SetLogicRect(), SdrObjCustomShape::SetLogicRect(), SdrVirtObj::SetLogicRect(), SetOutlinerParaObject(), SdrPathObj::SetPathPoly(), SetPoint(), SetRelativePos(), SetSnapRect(), SdrObjCustomShape::SetSnapRect(), SdrObjGroup::SetSnapRect(), SdrVirtObj::SetSnapRect(), SetStyleSheet(), SdrCaptionObj::SetTailPos(), SdrTextObj::SetText(), Shear(), SdrObjGroup::Shear(), SdrVirtObj::Shear(), SdrPathObj::ToggleClosed(), SdrMeasureObj::TRSetBaseGeometry(), and ~SdrObject().

◆ SetAnchorPos()

void SdrObject::SetAnchorPos ( const Point rPnt)
virtual

◆ SetBLIPSizeRectangle()

void SdrObject::SetBLIPSizeRectangle ( const tools::Rectangle aRect)

Definition at line 3066 of file svdobj.cxx.

References maBLIPSizeRectangle.

◆ SetBoundAndSnapRectsDirty()

void SdrObject::SetBoundAndSnapRectsDirty ( bool  bNotMyself = false,
bool  bRecursive = true 
)
virtual
Parameters
bNotMyself= true: set only ObjList to dirty, don't mark this object as dirty.

This is needed for instance for NbcMove, because usually one moves SnapRect and aOutRect at the same time to avoid recomputation.

Reimplemented in E3dScene.

Definition at line 509 of file svdobj.cxx.

References getParentSdrObjListFromSdrObject(), m_bSnapRectDirty, SetBoundRectDirty(), and SdrObjList::SetSdrObjListRectsDirty().

Referenced by SdrTextObj::AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), sdr::table::SdrTableObj::AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::applySpecialDrag(), SdrCircObj::applySpecialDrag(), SdrEdgeObj::applySpecialDrag(), SdrMeasureObj::applySpecialDrag(), SdrObjCustomShape::DragCreateObject(), SdrObjCustomShape::DragMoveCustomShapeHdl(), SdrObjCustomShape::EndCreate(), SdrCaptionObj::EndCreate(), SdrCircObj::EndCreate(), SdrEdgeObj::EndCreate(), SdrMeasureObj::EndCreate(), SdrTextObj::EndCreate(), sdr::properties::AttributeProperties::ForceStyleToHardAttributes(), SdrEdgeObj::ImpRecalcEdgeTrack(), SdrCaptionObj::ImpRecalcTail(), sdr::properties::AttributeProperties::ImpRemoveStyleSheet(), SdrCircObj::ImpSetAttrToCircInfo(), SdrGrafObj::ImpSetAttrToGrafInfo(), SdrEdgeObj::ImpSetTailPoint(), sdr::properties::AttributeProperties::ItemSetChanged(), SdrVirtObj::Mirror(), SdrObjCustomShape::MovCreate(), SdrObjGroup::Move(), SdrTextObj::NbcAdjustTextFrameWidthAndHeight(), SdrObjCustomShape::NbcAdjustTextFrameWidthAndHeight(), SdrPathObj::NbcInsPoint(), NbcMirror(), SdrMeasureObj::NbcMirror(), SdrTextObj::NbcMirror(), SdrVirtObj::NbcMirror(), SdrCircObj::NbcMove(), NbcMove(), SdrObjGroup::NbcMove(), SdrTextObj::NbcMove(), SdrVirtObj::NbcMove(), SdrTextObj::NbcReformatText(), NbcResize(), SdrObjGroup::NbcResize(), sdr::table::SdrTableObj::NbcResize(), SdrTextObj::NbcResize(), SdrUnoObj::NbcResize(), SdrVirtObj::NbcResize(), E3dObject::NbcRotate(), SdrMeasureObj::NbcRotate(), SdrTextObj::NbcRotate(), SdrVirtObj::NbcRotate(), SdrObjCustomShape::NbcSetLogicRect(), sdr::table::SdrTableObj::NbcSetLogicRect(), SdrTextObj::NbcSetLogicRect(), SdrVirtObj::NbcSetLogicRect(), SdrObjCustomShape::NbcSetOutlinerParaObject(), SdrTextObj::NbcSetOutlinerParaObjectForText(), SdrPathObj::NbcSetPathPoly(), SdrEdgeObj::NbcSetPoint(), SdrMeasureObj::NbcSetPoint(), SdrVirtObj::NbcSetPoint(), SdrPathObj::NbcSetPoint(), SdrObjCustomShape::NbcSetSnapRect(), SdrCircObj::NbcSetSnapRect(), SdrTextObj::NbcSetSnapRect(), SdrVirtObj::NbcSetSnapRect(), SdrMeasureObj::NbcShear(), SdrTextObj::NbcShear(), SdrVirtObj::NbcShear(), SdrAttrObj::Notify(), SdrVirtObj::Notify(), sdr::properties::AttributeProperties::Notify(), sdr::table::SdrTableObj::onEditOutlinerStatusEvent(), SdrObjGroup::Resize(), SdrVirtObj::Resize(), RestoreGeoData(), SdrVirtObj::RestoreGeoData(), SdrVirtObj::Rotate(), SdrObjGroup::SdrObjGroup(), E3dScene::SetBoundAndSnapRectsDirty(), SdrVirtObj::SetGeoData(), SdrEdgeObj::setGluePointIndex(), SdrVirtObj::SetLogicRect(), SdrObjList::SetSdrObjListRectsDirty(), SdrVirtObj::SetSnapRect(), sdr::properties::AttributeProperties::SetStyleSheet(), SdrMeasureObj::SetTextDirty(), SdrVirtObj::Shear(), SdrPathObj::ToggleClosed(), and sdr::table::SdrTableObjImpl::update().

◆ SetBoundRectDirty()

void SdrObject::SetBoundRectDirty ( )
virtual

◆ SetChanged()

void SdrObject::SetChanged ( )
virtual

Reimplemented in sdr::table::SdrTableObj.

Definition at line 1042 of file svdobj.cxx.

References ActionChanged(), getSdrModelFromSdrObject(), getSdrPageFromSdrObject(), and SdrModel::SetChanged().

Referenced by SdrTextObj::AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), ApplyNotPersistAttr(), SdrObjCustomShape::applySpecialDrag(), SdrCircObj::applySpecialDrag(), SdrMeasureObj::applySpecialDrag(), SdrOle2Obj::ClearGraphic(), SdrUnoObj::CreateUnoControlModel(), Crop(), SdrEmbedObjectLink::DataChanged(), SdrIFrameLink::DataChanged(), ImpSdrObjTextLink::DataChanged(), SdrGlueEditView::DeleteMarkedGluePoints(), SdrDragObjOwn::EndSdrDrag(), SdrGlueEditView::ImpDoMarkedGluePoints(), SdrGlueEditView::ImpTransformMarkedGluePoints(), sdr::properties::AttributeProperties::ItemSetChanged(), SdrMediaObj::mediaPropertiesChanged(), Mirror(), SdrObjGroup::Mirror(), SvxUnoShapeModifyListener::modified(), Move(), SdrObjCustomShape::Move(), SdrObjGroup::Move(), SdrVirtObj::Move(), SdrObjCustomShape::NbcAdjustTextFrameWidthAndHeight(), SdrObjCustomShape::NbcSetLogicRect(), SdrObjCustomShape::NbcSetSnapRect(), SdrAttrObj::Notify(), sdr::properties::AttributeProperties::Notify(), Resize(), SdrObjGroup::Resize(), Rotate(), SdrObjGroup::Rotate(), SetAnchorPos(), SdrObjGroup::SetAnchorPos(), sdr::table::SdrTableObj::SetChanged(), SetDecorative(), SetDescription(), SetGeoData(), SdrEdgeObj::setGluePointIndex(), SetGrabBagItem(), SdrGrafObj::SetGraphic(), SdrOle2Obj::SetGraphic(), SdrGrafObj::SetGraphicObject(), SetLayer(), SetLogicRect(), SetMoveProtect(), SetName(), SdrOle2Obj::SetObjRef(), SetOutlinerParaObject(), SdrPathObj::SetPathPoly(), SdrOle2Obj::SetPersistName(), SetPoint(), SetPrintable(), SvxShape::setPropertyValueImpl(), SdrPageObj::SetReferencedPage(), SetRelativePos(), SetResizeProtect(), SetSnapRect(), SdrObjGroup::SetSnapRect(), SetStyleSheet(), SdrEdgeObj::SetTailPoint(), SdrCaptionObj::SetTailPos(), SdrTextObj::SetText(), SetTitle(), E3dObject::SetTransform(), SetVisible(), Shear(), SdrObjGroup::Shear(), SdrPathObj::ToggleClosed(), SdrMeasureObj::TRSetBaseGeometry(), and FmUndoModelReplaceAction::Undo().

◆ SetContextWritingMode()

void SdrObject::SetContextWritingMode ( const sal_Int16  _nContextWritingMode)
virtual

Reimplemented in SdrUnoObj.

Definition at line 3071 of file svdobj.cxx.

◆ SetDecorative()

void SdrObject::SetDecorative ( bool  isDecorative)
virtual

◆ SetDescription()

void SdrObject::SetDescription ( const OUString &  rStr)
virtual

◆ SetDoNotInsertIntoPageAutomatically()

void SdrObject::SetDoNotInsertIntoPageAutomatically ( bool  bSet)

◆ SetEmptyPresObj()

void SdrObject::SetEmptyPresObj ( bool  bEpt)

◆ setFillGeometryDefiningShape()

void SdrObject::setFillGeometryDefiningShape ( const SdrObject pNew)
inlineprivate

Definition at line 288 of file svdobj.hxx.

Referenced by EnhancedCustomShape2d::CreatePathObj().

◆ SetGeoData()

void SdrObject::SetGeoData ( const SdrObjGeoData rGeo)
virtual

◆ SetGlueReallyAbsolute()

void SdrObject::SetGlueReallyAbsolute ( bool  bOn)

◆ SetGrabBagItem()

void SdrObject::SetGrabBagItem ( const css::uno::Any &  rVal)
virtual

Reimplemented in SdrObjGroup.

Definition at line 930 of file svdobj.cxx.

References BroadcastObjectChange(), m_pGrabBagItem, and SetChanged().

Referenced by SdrObjGroup::SetGrabBagItem(), and SetOutlinerParaObject().

◆ setHyperlink()

void SdrObject::setHyperlink ( const OUString &  sHyperlink)
inline

Definition at line 884 of file svdobj.hxx.

◆ SetLayer()

void SdrObject::SetLayer ( SdrLayerID  nLayer)
virtual

◆ SetLogicRect()

void SdrObject::SetLogicRect ( const tools::Rectangle rRect)
virtual

◆ SetMarkProtect()

void SdrObject::SetMarkProtect ( bool  bProt)

Definition at line 2562 of file svdobj.cxx.

References m_bMarkProt.

◆ SetMergedItem()

void SdrObject::SetMergedItem ( const SfxPoolItem rItem)

◆ SetMergedItemSet()

void SdrObject::SetMergedItemSet ( const SfxItemSet rSet,
bool  bClearAllItems = false 
)

◆ SetMergedItemSetAndBroadcast()

void SdrObject::SetMergedItemSetAndBroadcast ( const SfxItemSet rSet,
bool  bClearAllItems = false 
)

◆ SetMoveProtect()

void SdrObject::SetMoveProtect ( bool  bProt)

◆ SetName()

void SdrObject::SetName ( const OUString &  rStr,
const bool  bSetChanged = true 
)
virtual

◆ SetNavigationPosition()

void SdrObject::SetNavigationPosition ( const sal_uInt32  nPosition)

◆ SetNotVisibleAsMaster()

void SdrObject::SetNotVisibleAsMaster ( bool  bFlg)

Definition at line 2574 of file svdobj.cxx.

References m_bNotVisibleAsMaster.

◆ SetObjectItem()

void SdrObject::SetObjectItem ( const SfxPoolItem rItem)
protected

◆ SetObjectItemSet()

void SdrObject::SetObjectItemSet ( const SfxItemSet rSet)
protected

◆ SetOrdNum()

void SdrObject::SetOrdNum ( sal_uInt32  nNum)

◆ SetOutlinerParaObject()

void SdrObject::SetOutlinerParaObject ( std::optional< OutlinerParaObject pTextObject)

◆ setOutRectangle()

void SdrObject::setOutRectangle ( tools::Rectangle const &  rRectangle)
protected

◆ setOutRectangleConst()

void SdrObject::setOutRectangleConst ( tools::Rectangle const &  rRectangle) const
protected

◆ setParentOfSdrObject()

void SdrObject::setParentOfSdrObject ( SdrObjList pNew)
private

◆ SetPoint()

void SdrObject::SetPoint ( const Point rPnt,
sal_uInt32  i 
)

◆ SetPrintable()

void SdrObject::SetPrintable ( bool  bPrn)

◆ SetRelativeHeight()

void SdrObject::SetRelativeHeight ( double  nValue)

Definition at line 580 of file svdobj.cxx.

References mpImpl, and nValue.

◆ SetRelativeHeightRelation()

void SdrObject::SetRelativeHeightRelation ( sal_Int16  eValue)

Definition at line 585 of file svdobj.cxx.

References mpImpl.

◆ SetRelativePos()

void SdrObject::SetRelativePos ( const Point rPnt)
virtual

◆ SetRelativeWidth()

void SdrObject::SetRelativeWidth ( double  nValue)

Definition at line 570 of file svdobj.cxx.

References mpImpl, and nValue.

◆ SetRelativeWidthRelation()

void SdrObject::SetRelativeWidthRelation ( sal_Int16  eValue)

Definition at line 575 of file svdobj.cxx.

References mpImpl.

◆ SetResizeProtect()

void SdrObject::SetResizeProtect ( bool  bProt)

◆ SetSnapRect()

void SdrObject::SetSnapRect ( const tools::Rectangle rRect)
virtual

◆ SetStyleSheet()

void SdrObject::SetStyleSheet ( SfxStyleSheet pNewStyleSheet,
bool  bDontRemoveHardAttr 
)

◆ setSuitableOutlinerBg()

bool SdrObject::setSuitableOutlinerBg ( Outliner rOutliner) const

◆ SetTitle()

void SdrObject::SetTitle ( const OUString &  rStr)
virtual

◆ setUnoShape()

void SdrObject::setUnoShape ( const css::uno::Reference< css::drawing::XShape > &  _rxUnoShape)
virtual

Sets a new UNO representation of the shape.

Calling this function is only allowed for the UNO representation itself!

The default implementation of this function sets the new UNO shape. Derived classes should override the function to handle any other actions that are needed when the shape is being changed.

The implementation must call the same method of its parent class (preferably as the first step)!

Reimplemented in SdrObjCustomShape.

Definition at line 2824 of file svdobj.cxx.

References SvxShape::InvalidateSdrObject(), maWeakUnoShape, and mpSvxShape.

Referenced by getUnoShape(), SvxShape::impl_initFromSdrObject(), and SdrObjCustomShape::setUnoShape().

◆ SetUserCall()

void SdrObject::SetUserCall ( SdrObjUserCall pUser)

Definition at line 2757 of file svdobj.cxx.

References m_pUserCall.

Referenced by SvxShape::Create(), and GraphCtrl::MouseButtonDown().

◆ SetVisible()

void SdrObject::SetVisible ( bool  bVisible)

◆ Shear()

void SdrObject::Shear ( const Point rRef,
Degree100  nAngle,
double  tn,
bool  bVShear 
)
virtual

◆ shouldKeepAspectRatio()

virtual bool SdrObject::shouldKeepAspectRatio ( ) const
inlinevirtual

Whether the aspect ratio should be kept by default when resizing.

Reimplemented in SdrGrafObj, and SdrMediaObj.

Definition at line 769 of file svdobj.hxx.

◆ SingleObjectPainter()

void SdrObject::SingleObjectPainter ( OutputDevice rOut) const

◆ supportsFullDrag()

bool SdrObject::supportsFullDrag ( ) const
virtual

Reimplemented in SdrVirtObj.

Definition at line 1336 of file svdobj.cxx.

Referenced by SdrDragMethod::createSdrDragEntries_SolidDrag(), and SdrDragObjOwn::SdrDragObjOwn().

◆ TakeContour()

basegfx::B2DPolyPolygon SdrObject::TakeContour ( ) const
virtual

◆ TakeCreatePoly()

basegfx::B2DPolyPolygon SdrObject::TakeCreatePoly ( const SdrDragStat rDrag) const
virtual

◆ TakeNotPersistAttr()

void SdrObject::TakeNotPersistAttr ( SfxItemSet rAttr) const

◆ TakeObjInfo()

void SdrObject::TakeObjInfo ( SdrObjTransformInfoRec rInfo) const
virtual

◆ TakeObjNamePlural()

OUString SdrObject::TakeObjNamePlural ( ) const
virtual

◆ TakeObjNameSingul()

OUString SdrObject::TakeObjNameSingul ( ) const
virtual

◆ TakeXorPoly()

basegfx::B2DPolyPolygon SdrObject::TakeXorPoly ( ) const
virtual

◆ TRGetBaseGeometry()

bool SdrObject::TRGetBaseGeometry ( basegfx::B2DHomMatrix rMatrix,
basegfx::B2DPolyPolygon rPolyPolygon 
) const
virtual

◆ TRSetBaseGeometry()

void SdrObject::TRSetBaseGeometry ( const basegfx::B2DHomMatrix rMatrix,
const basegfx::B2DPolyPolygon rPolyPolygon 
)
virtual

Friends And Related Function Documentation

◆ EnhancedCustomShape2d

friend class EnhancedCustomShape2d
friend

Definition at line 286 of file svdobj.hxx.

◆ SdrObjList

friend class SdrObjList
friend

Definition at line 268 of file svdobj.hxx.

◆ SdrObjListIter

friend class SdrObjListIter
friend

Definition at line 267 of file svdobj.hxx.

◆ SdrRectObj

friend class SdrRectObj
friend

◆ SdrVirtObj

friend class SdrVirtObj
friend

Definition at line 269 of file svdobj.hxx.

Referenced by SdrVirtObj::CloneSdrObject().

Member Data Documentation

◆ m_aAnchor

Point SdrObject::m_aAnchor
protected

◆ m_aOutRect

tools::Rectangle SdrObject::m_aOutRect
mutableprotected

◆ m_bClosedObj

bool SdrObject::m_bClosedObj
protected

◆ m_bEmptyPresObj

bool SdrObject::m_bEmptyPresObj
protected

Definition at line 911 of file svdobj.hxx.

Referenced by Equals(), SdrObject(), SetEmptyPresObj(), and SdrGrafObj::TakeObjInfo().

◆ m_bIs3DObj

bool SdrObject::m_bIs3DObj
protected

Definition at line 917 of file svdobj.hxx.

Referenced by E3dObject::E3dObject(), Equals(), and SdrObject().

◆ m_bIsEdge

bool SdrObject::m_bIsEdge
protected

Definition at line 916 of file svdobj.hxx.

Referenced by Equals(), SdrEdgeObj::SdrEdgeObj(), and SdrObject().

◆ m_bIsUnoObj

bool SdrObject::m_bIsUnoObj
protected

Definition at line 918 of file svdobj.hxx.

Referenced by SdrObject(), and SdrUnoObj::SdrUnoObj().

◆ m_bMarkProt

bool SdrObject::m_bMarkProt
private

Definition at line 972 of file svdobj.hxx.

Referenced by Equals(), SdrObject(), and SetMarkProtect().

◆ m_bMovProt

bool SdrObject::m_bMovProt
protected

◆ m_bNoPrint

bool SdrObject::m_bNoPrint
private

Definition at line 970 of file svdobj.hxx.

Referenced by Equals(), RestoreGeoData(), SaveGeoData(), SdrObject(), and SetPrintable().

◆ m_bNotVisibleAsMaster

bool SdrObject::m_bNotVisibleAsMaster
protected

Definition at line 913 of file svdobj.hxx.

Referenced by Equals(), SdrObject(), and SetNotVisibleAsMaster().

◆ m_bSizProt

bool SdrObject::m_bSizProt
protected

◆ m_bSnapRectDirty

bool SdrObject::m_bSnapRectDirty
protected

◆ m_bVirtObj

bool SdrObject::m_bVirtObj
protected

Definition at line 901 of file svdobj.hxx.

Referenced by Equals(), SdrObject(), and SdrVirtObj::SdrVirtObj().

◆ m_nOrdNum

sal_uInt32 SdrObject::m_nOrdNum
private

Definition at line 965 of file svdobj.hxx.

Referenced by Equals(), GetOrdNum(), SdrObjList::SetExistingObjectOrdNum(), and SetOrdNum().

◆ m_pGrabBagItem

std::unique_ptr<SfxGrabBagItem> SdrObject::m_pGrabBagItem
private

Definition at line 966 of file svdobj.hxx.

Referenced by dumpAsXml(), GetGrabBagItem(), SdrObject(), SetGrabBagItem(), and ~SdrObject().

◆ m_pPlusData

std::unique_ptr<SdrObjPlusData> SdrObject::m_pPlusData
protected

◆ m_pUserCall

SdrObjUserCall* SdrObject::m_pUserCall
protected

◆ maBLIPSizeRectangle

tools::Rectangle SdrObject::maBLIPSizeRectangle
private

Definition at line 975 of file svdobj.hxx.

Referenced by SetBLIPSizeRectangle().

◆ maWeakUnoShape

css::uno::WeakReference< css::drawing::XShape > SdrObject::maWeakUnoShape
private

Definition at line 985 of file svdobj.hxx.

Referenced by getSvxShape(), getUnoShape(), and setUnoShape().

◆ mbDoNotInsertIntoPageAutomatically

bool SdrObject::mbDoNotInsertIntoPageAutomatically
private

Definition at line 989 of file svdobj.hxx.

Referenced by SetDoNotInsertIntoPageAutomatically().

◆ mbLineIsOutsideGeometry

bool SdrObject::mbLineIsOutsideGeometry
protected

Definition at line 920 of file svdobj.hxx.

Referenced by Equals(), SdrGrafObj::SdrGrafObj(), and SdrObject().

◆ mbSupportTextIndentingOnLineWidthChange

bool SdrObject::mbSupportTextIndentingOnLineWidthChange
protected

◆ mbVisible

bool SdrObject::mbVisible
private

Definition at line 971 of file svdobj.hxx.

Referenced by Equals(), RestoreGeoData(), SaveGeoData(), SdrObject(), and SetVisible().

◆ mnLayerID

SdrLayerID SdrObject::mnLayerID
private

Definition at line 969 of file svdobj.hxx.

Referenced by Equals(), GetLayer(), NbcSetLayer(), RestoreGeoData(), SaveGeoData(), and SdrObject().

◆ mnNavigationPosition

sal_uInt32 SdrObject::mnNavigationPosition
private

Definition at line 968 of file svdobj.hxx.

Referenced by Equals(), GetNavigationPosition(), and SetNavigationPosition().

◆ mpFillGeometryDefiningShape

const SdrObject* SdrObject::mpFillGeometryDefiningShape
private

Definition at line 287 of file svdobj.hxx.

◆ mpImpl

std::unique_ptr<Impl> SdrObject::mpImpl
private

◆ mpParentOfSdrObject

SdrObjList* SdrObject::mpParentOfSdrObject
private

Definition at line 964 of file svdobj.hxx.

Referenced by getParentSdrObjListFromSdrObject(), and setParentOfSdrObject().

◆ mpProperties

std::unique_ptr<sdr::properties::BaseProperties> SdrObject::mpProperties
private

Definition at line 977 of file svdobj.hxx.

Referenced by dumpAsXml(), GetProperties(), SdrObject(), and ~SdrObject().

◆ mpSvxShape

SvxShape* SdrObject::mpSvxShape
private

Definition at line 983 of file svdobj.hxx.

Referenced by getSvxShape(), getUnoShape(), and setUnoShape().

◆ mpViewContact

std::unique_ptr<sdr::contact::ViewContact> SdrObject::mpViewContact
private

Definition at line 979 of file svdobj.hxx.

Referenced by GetViewContact(), SdrObject(), and ~SdrObject().

◆ mrSdrModelFromSdrObject

SdrModel& SdrObject::mrSdrModelFromSdrObject
private

Definition at line 294 of file svdobj.hxx.

Referenced by getSdrModelFromSdrObject(), and MakeNameUnique().

◆ msHyperlink

OUString SdrObject::msHyperlink
private

Definition at line 991 of file svdobj.hxx.


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