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

Abstract DrawObject. More...

#include <svdobj.hxx>

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

Classes

struct  Impl
 

Public Member Functions

const SdrObjectgetFillGeometryDefiningShape () const
 
 SdrObject (SdrModel &rSdrModel)
 
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
 
void SetDiagramData (std::shared_ptr< DiagramDataInterface > pDiagramData)
 
std::shared_ptr< DiagramDataInterfaceGetDiagramData () const
 
virtual void SetRectsDirty (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 sal_uInt16 GetObjIdentifier () const
 
virtual void TakeObjInfo (SdrObjTransformInfoRec &rInfo) const
 
virtual SdrLayerID GetLayer () const
 
virtual void NbcSetLayer (SdrLayerID nLayer)
 
virtual void SetLayer (SdrLayerID nLayer)
 
void getMergedHierarchySdrLayerIDSet (SdrLayerIDSet &rSet) const
 
void SendUserCall (SdrUserCallType eUserCall, const tools::Rectangle &rBoundRect) const
 
void SetName (const OUString &rStr)
 
OUString GetName () const
 
void MakeNameUnique (std::unordered_set< OUString > &rNameSet)
 
void SetTitle (const OUString &rStr)
 
OUString GetTitle () const
 
void SetDescription (const OUString &rStr)
 
OUString GetDescription () 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
 
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 SdrObjectCloneSdrObject (SdrModel &rTargetModel) const
 
SdrObjectoperator= (const SdrObject &rObj)
 
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 SdrObjectUniquePtr getFullDragClone () 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, long nAngle, double sn, double cs)
 
virtual void NbcMirror (const Point &rRef1, const Point &rRef2)
 
virtual void NbcShear (const Point &rRef, long 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, long nAngle, double sn, double cs)
 
virtual void Mirror (const Point &rRef1, const Point &rRef2)
 
virtual void Shear (const Point &rRef, long 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 long GetRotateAngle () const
 
virtual long 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 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)
 
virtual void NbcSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
 
SfxStyleSheetGetStyleSheet () const
 
virtual bool HasTextEdit () const
 
void SetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject)
 
virtual void NbcSetOutlinerParaObject (std::unique_ptr< 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, long 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 SdrObjectUniquePtr DoConvertToPolyObj (bool bBezier, bool bAddText) const
 
SdrObjectUniquePtr ConvertToPolyObj (bool bBezier, bool bLineToArea) const
 
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 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::uno::XInterface > getUnoShape ()
 
svx::PropertyChangeNotifiergetShapePropertyChangeNotifier ()
 
void notifyShapePropertyChange (const svx::ShapeProperty _eProperty) const
 
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)
 
void setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape)
 
const css::uno::WeakReference< css::uno::XInterface > & getWeakUnoShape () const
 
void setSuitableOutlinerBg (Outliner &rOutliner) const
 
- 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)
 
- Public Member Functions inherited from tools::WeakBase
 WeakBase ()
 
virtual ~WeakBase ()
 
void clearWeak ()
 

Static Public Member Functions

static SdrItemPoolGetGlobalDrawObjectItemPool ()
 
static void Free (SdrObject *&_rpObject)
 
static SdrObjectgetSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt)
 

Protected Member Functions

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 (const char *pStrCacheID) const
 
void ImpForcePlusData ()
 
OUString GetMetrStr (long nVal) const
 
virtual 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 RestGeoData (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
 
virtual void impl_setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape)
 Sets a new UNO shape. More...
 
template<typename T >
T * CloneHelper (SdrModel &rTargetModel) const
 

Protected Attributes

tools::Rectangle aOutRect
 
Point aAnchor
 
SdrObjUserCallpUserCall
 
std::unique_ptr< SdrObjPlusDatapPlusData
 
bool bVirtObj: 1
 
bool bSnapRectDirty: 1
 
bool bMovProt: 1
 
bool bSizProt: 1
 
bool bEmptyPresObj: 1
 
bool bNotVisibleAsMaster: 1
 
bool bClosedObj: 1
 
bool bIsEdge: 1
 
bool bIs3DObj: 1
 
bool bIsUnoObj: 1
 
bool mbLineIsOutsideGeometry: 1
 
bool mbSupportTextIndentingOnLineWidthChange: 1
 

Private Member Functions

void setFillGeometryDefiningShape (const SdrObject *pNew)
 
SVX_DLLPRIVATE void setParentOfSdrObject (SdrObjList *pNew)
 
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 nOrdNum
 
std::unique_ptr< SfxGrabBagItempGrabBagItem
 
sal_uInt32 mnNavigationPosition
 
SdrLayerID mnLayerID
 
bool bNoPrint: 1
 
bool mbVisible: 1
 
bool bMarkProt: 1
 
tools::Rectangle maBLIPSizeRectangle
 
std::unique_ptr< sdr::properties::BasePropertiesmpProperties
 
std::unique_ptr< sdr::contact::ViewContactmpViewContact
 
SvxShapempSvxShape
 
css::uno::WeakReference< css::uno::XInterface > maWeakUnoShape
 
bool mbDoNotInsertIntoPageAutomatically
 

Static Private Attributes

static SdrItemPoolmpGlobalItemPool = nullptr
 

Friends

class SdrObjListIter
 
class SdrVirtObj
 
class SdrRectObj
 
class EnhancedCustomShape2d
 
void SetParentAtSdrObjectFromSdrObjList (SdrObject &rSdrObject, SdrObjList *pNew)
 

Detailed Description

Abstract DrawObject.

Definition at line 312 of file svdobj.hxx.

Constructor & Destructor Documentation

SdrObject::SdrObject ( SdrModel rSdrModel)
SdrObject::~SdrObject ( )
overrideprotectedvirtual
SdrObject::SdrObject ( const SdrObject )
privatedelete

Member Function Documentation

void SdrObject::ActionChanged ( ) const

Definition at line 283 of file svdobj.cxx.

References sdr::contact::ViewContact::ActionChanged(), and GetViewContact().

Referenced by SdrCaptionObj::applySpecialDrag(), FmFormView::ChangeDesignMode(), SdrLightEmbeddedClient_Impl::changedPlacement(), SdrEdgeObj::ImpRecalcEdgeTrack(), SdrGrafObj::ImpSetLinkedGraphic(), SvxUnoGluePointAccess::insert(), SvxUnoGluePointAccess::insertByIndex(), SdrObjList::InsertObject(), sdr::properties::TextProperties::ItemSetChanged(), SdrCreateView::MovCreateObj(), SdrObjCustomShape::NbcMove(), SdrTextObj::NbcReformatText(), SdrTextObj::NbcSetOutlinerParaObjectForText(), SdrVirtObj::Notify(), sdr::properties::TextProperties::Notify(), SdrEdgeObj::Notify(), SdrLightEmbeddedClient_Impl::notifyEvent(), sdr::table::SdrTableObj::onEditOutlinerStatusEvent(), sdr::properties::E3dExtrudeProperties::PostItemChange(), sdr::properties::E3dLatheProperties::PostItemChange(), sdr::properties::E3dSphereProperties::PostItemChange(), sdr::properties::E3dCompoundProperties::PostItemChange(), SdrUndoGeoObj::Redo(), SdrUndoObjSetText::Redo(), SvxUnoGluePointAccess::removeByIdentifier(), SvxUnoGluePointAccess::removeByIndex(), SdrObjList::RemoveObject(), SvxUnoGluePointAccess::replaceByIdentifer(), SvxUnoGluePointAccess::replaceByIndex(), sdr::table::SdrTableObj::RestGeoData(), SdrObjEditView::SdrEndTextEdit(), E3dSphereObj::SetCenter(), SetChanged(), E3dCubeObj::SetCubePos(), E3dCubeObj::SetCubeSize(), sdr::table::CellUndo::setDataToCell(), E3dExtrudeObj::SetExtrudePolygon(), SdrGrafObj::SetGrafAnimationAllowed(), E3dPolygonObj::SetLineOnly(), SdrObjList::SetObjectOrdNum(), E3dPolygonObj::SetPolyNormals3D(), E3dLatheObj::SetPolyPoly2D(), E3dPolygonObj::SetPolyPolygon3D(), E3dPolygonObj::SetPolyTexture2D(), E3dCubeObj::SetPosIsCenter(), E3dSphereObj::SetSize(), SdrTextObj::SetTextAnimationAllowed(), SdrMeasureObj::TRSetBaseGeometry(), SdrUndoGeoObj::Undo(), SdrUndoObjSetText::Undo(), sdr::table::SdrTableObjImpl::update(), and sdr::table::SvxTableController::UpdateTableShape().

void SdrObject::addCropHandles ( SdrHdlList rTarget) const
virtual

Reimplemented in SdrGrafObj.

Definition at line 1220 of file svdobj.cxx.

Referenced by SdrMarkView::SetMarkHandles().

void SdrObject::AddListener ( SfxListener rListener)
void SdrObject::AddObjectUser ( sdr::ObjectUser rNewUser)
void SdrObject::AddReference ( SdrVirtObj rVrtObj)

Definition at line 659 of file svdobj.cxx.

References AddListener().

Referenced by SdrVirtObj::operator=(), and SdrVirtObj::SdrVirtObj().

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

Reimplemented in SdrPathObj, and SdrVirtObj.

Definition at line 1216 of file svdobj.cxx.

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

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

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

Definition at line 1644 of file svdobj.cxx.

References SetLogicRect().

void SdrObject::AppendUserData ( std::unique_ptr< SdrObjUserData pData)
void SdrObject::ApplyNotPersistAttr ( const SfxItemSet rAttr)
bool SdrObject::applySpecialDrag ( SdrDragStat rDrag)
virtual
bool SdrObject::BckCreate ( SdrDragStat rStat)
virtual
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 SdrTextObj, SdrEdgeObj, sdr::table::SdrTableObj, E3dScene, SdrCircObj, SdrCaptionObj, SdrMeasureObj, SdrPathObj, SdrVirtObj, and SdrObjGroup.

Definition at line 1348 of file svdobj.cxx.

References aOutRect, SdrDragStat::GetNow(), SdrDragStat::GetStart(), tools::Rectangle::Justify(), SdrDragStat::SetActionRect(), and SdrDragStat::SetOrtho4Possible().

Referenced by SdrVirtObj::BegCreate(), and SdrCreateView::ImpBegCreateObj().

bool SdrObject::beginSpecialDrag ( SdrDragStat rDrag) const
virtual
void SdrObject::BrkCreate ( SdrDragStat rStat)
virtual
void SdrObject::BroadcastObjectChange ( ) const

Definition at line 932 of file svdobj.cxx.

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

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

void SdrObject::BurnInStyleSheetAttributes ( )
SdrObject * SdrObject::CheckMacroHit ( const SdrObjMacroHitRec rRec) const
virtual
void SdrObject::ClearMergedItem ( const sal_uInt16  nWhich = 0)
template<typename T >
T * SdrObject::CloneHelper ( SdrModel rTargetModel) const
protected

Definition at line 1078 of file svdobj.hxx.

References GetObjIdentifier(), GetObjInventor(), and SdrObjFactory::MakeNewObject().

SdrObject * SdrObject::CloneSdrObject ( SdrModel rTargetModel) const
virtual
void SdrObject::ConnectToNode ( bool  bTail1,
SdrObject pObj 
)
virtual
SdrObject * SdrObject::ConvertToContourObj ( SdrObject pRet,
bool  bForceLineDash = false 
) const
SdrObjectUniquePtr SdrObject::ConvertToPolyObj ( bool  bBezier,
bool  bLineToArea 
) const
std::unique_ptr< sdr::properties::BaseProperties > SdrObject::CreateObjectSpecificProperties ( )
protectedvirtual
std::unique_ptr< sdr::contact::ViewContact > SdrObject::CreateObjectSpecificViewContact ( )
protectedvirtual
void SdrObject::Crop ( const basegfx::B2DPoint rRef,
double  fxFact,
double  fyFact 
)
virtual
void SdrObject::DeleteUserData ( sal_uInt16  nNum)

Definition at line 2657 of file svdobj.cxx.

References GetUserDataCount(), and pPlusData.

Referenced by SdrTextObj::ReleaseTextLink().

void SdrObject::DelReference ( SdrVirtObj rVrtObj)

Definition at line 664 of file svdobj.cxx.

References RemoveListener().

Referenced by SdrVirtObj::operator=(), and SdrVirtObj::~SdrVirtObj().

void SdrObject::DisconnectFromNode ( bool  bTail1)
virtual

Reimplemented in SdrEdgeObj.

Definition at line 2285 of file svdobj.cxx.

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

SdrObjectUniquePtr SdrObject::DoConvertToPolyObj ( bool  bBezier,
bool  bAddText 
) const
virtual
bool SdrObject::DoesSupportTextIndentingOnLineWidthChange ( ) const
inline

Definition at line 894 of file svdobj.hxx.

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

bool SdrObject::DoMacro ( const SdrObjMacroHitRec rRec)
virtual

Reimplemented in SdrVirtObj.

Definition at line 1821 of file svdobj.cxx.

Referenced by SdrVirtObj::DoMacro(), and SdrObjEditView::EndMacroObj().

void SdrObject::dumpAsXml ( xmlTextWriterPtr  pWriter) const
virtual
bool SdrObject::EndCreate ( SdrDragStat rStat,
SdrCreateCmd  eCmd 
)
virtual
bool SdrObject::Equals ( const SdrObject rOtherObj) const
SdrGluePointList * SdrObject::ForceGluePointList ( )
virtual
void SdrObject::Free ( SdrObject *&  _rpObject)
static

Definition at line 423 of file svdobj.cxx.

References DBG_UNHANDLED_EXCEPTION, getSvxShape(), getWeakUnoShape(), and SvxShape::InvalidateSdrObject().

Referenced by SvxDrawPage::add(), Svx3DSceneObject::add(), SdrCreateView::BrkCreateObj(), Svx3DLightControl::ConstructLightObjects(), LightControl3D::ConstructLightObjects(), E3dView::ConvertMarkedObjTo3D(), EnhancedCustomShape3d::Create3DObject(), EnhancedCustomShape2d::CreatePathObj(), sdr::contact::ViewContactOfGraphic::createVIP2DSForDraft(), SdrEditView::DeleteLayer(), SdrPolyEditView::DeleteMarkedPoints(), SdrEditView::DismantleMarkedObjects(), SvxShape::dispose(), SdrGrafObj::DoConvertToPolyObj(), SdrObjCustomShape::DoConvertToPolyObj(), SdrEditView::DoImportMarkedMtf(), SdrCreateView::EndCreateObj(), SdrCreateView::ImpBegCreateObj(), SdrObjList::impClearSdrObjList(), SdrTextObj::ImpConvertContainedTextToSdrPathObjs(), SdrEditView::ImpConvertOneObj(), E3dView::ImpCreate3DObject(), SdrEditView::ImpDelLayerDelObjs(), SdrTextObj::ImpSetContourPolygon(), ImpSdrGDIMetaFileImport::InsertObj(), SdrEditView::InsertObjectAtView(), svx::FontWorkGalleryDialog::insertSelectedFontwork(), SdrObjCustomShape::InvalidateRenderGeometry(), lcl_LazyDelete(), SvxShape::Notify(), SdrObjectFreeOp::operator()(), SvxDrawPage::remove(), SvxShapeGroup::remove(), Svx3DSceneObject::remove(), E3dScene::removeAllNonSelectedObjects(), SdrEditView::ReplaceObjectAtView(), SvxXRectPreview::Resize(), IMapWindow::SdrObjChanged(), IMapWindow::SdrObjCreated(), SdrCreateView::SetCurrentObj(), Svx3DPreviewControl::SetObjectType(), PreviewControl3D::SetObjectType(), TakeContour(), SdrEditView::UnGroupMarked(), SdrCreateView::~SdrCreateView(), SdrModel::~SdrModel(), SdrUndoObjList::~SdrUndoObjList(), SdrUndoReplaceObj::~SdrUndoReplaceObj(), SvxShape::~SvxShape(), SvxXLinePreview::~SvxXLinePreview(), SvxXRectPreview::~SvxXRectPreview(), and SvxXShadowPreview::~SvxXShadowPreview().

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

Definition at line 866 of file svdobj.hxx.

const SfxBroadcaster * SdrObject::GetBroadcaster ( ) const
SdrObjList * SdrObject::getChildrenOfSdrObject ( ) const
virtual

Reimplemented in E3dScene, and SdrObjGroup.

Definition at line 330 of file svdobj.cxx.

Referenced by SdrObjListIter::ImpProcessObj().

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

Reimplemented in SdrEdgeObj.

Definition at line 2289 of file svdobj.cxx.

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

SdrGluePoint SdrObject::GetCornerGluePoint ( sal_uInt16  nNum) const
virtual
PointerStyle SdrObject::GetCreatePointer ( ) const
virtual

get the cursor/pointer that signals creating this object

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

Definition at line 1395 of file svdobj.cxx.

Referenced by SdrView::GetPreferredPointer(), and SdrCreateView::SetCurrentObj().

const tools::Rectangle & SdrObject::GetCurrentBoundRect ( ) const
virtual
OUString SdrObject::GetDescription ( ) const
std::shared_ptr< DiagramDataInterface > SdrObject::GetDiagramData ( ) const

Definition at line 570 of file svdobj.cxx.

References mpImpl.

const SdrObject* SdrObject::getFillGeometryDefiningShape ( ) const
inline

Definition at line 337 of file svdobj.hxx.

SdrObjectUniquePtr SdrObject::getFullDragClone ( ) const
virtual
SdrObjGeoData * SdrObject::GetGeoData ( ) const
virtual
SdrItemPool & SdrObject::GetGlobalDrawObjectItemPool ( )
static
const SdrGluePointList * SdrObject::GetGluePointList ( ) const
virtual
void SdrObject::GetGrabBagItem ( css::uno::Any &  rVal) const

Definition at line 841 of file svdobj.cxx.

References pGrabBagItem.

Referenced by SvxShape::getPropertyValueImpl().

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 SdrTextObj, SdrObjCustomShape, SdrEdgeObj, sdr::table::SdrTableObj, SdrGrafObj, E3dCompoundObject, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, SdrPathObj, and SdrVirtObj.

Definition at line 1191 of file svdobj.cxx.

Referenced by SdrVirtObj::GetHdlCount().

const tools::Rectangle & SdrObject::GetLastBoundRect ( ) const
virtual
SdrLayerID SdrObject::GetLayer ( ) const
virtual
const tools::Rectangle & SdrObject::GetLogicRect ( ) const
virtual
PointerStyle SdrObject::GetMacroPointer ( const SdrObjMacroHitRec rRec) const
virtual

Reimplemented in SdrVirtObj.

Definition at line 1799 of file svdobj.cxx.

Referenced by SdrVirtObj::GetMacroPointer(), and SdrView::GetPreferredPointer().

void SdrObject::getMergedHierarchySdrLayerIDSet ( SdrLayerIDSet rSet) const
const SfxPoolItem & SdrObject::GetMergedItem ( const sal_uInt16  nWhich) const

Definition at line 1946 of file svdobj.cxx.

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

Referenced by EnhancedCustomShape2d::AdaptObjColor(), SdrGrafObj::addCropHandles(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), SdrTextObj::AdjustTextFrameWidthAndHeight(), SdrTextObj::BegTextEdit(), CalculateHorizontalScalingFactor(), EnhancedCustomShape3d::CalculateNewSnapRect(), svx::checkForSelectedCustomShapes(), svx::checkForSelectedFontWork(), 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::GetCameraRotation(), SdrObjCustomShape::GetCustomShapeEngine(), SdrObjCustomShape::GetCustomShapeName(), SdrObjCustomShape::GetExtraTextRotation(), getExtrusionColorState(), getExtrusionDepthState(), getExtrusionDirectionState(), getExtrusionLightingDirectionState(), getExtrusionLightingIntensityState(), getExtrusionProjectionState(), getExtrusionSurfaceState(), GetFontWorkOutline(), GetGeometryForCustomShape(), GetTextAreaOutline(), ImpCreateShadowObjectClone(), SdrEditView::ImpDismantleOneObject(), ImpGetCustomShapeType(), SdrObjEditView::ImpMakeOutlinerView(), SdrTextObj::ImpSetupDrawOutlinerForPaint(), InitializeFontWorkData(), SdrObjCustomShape::IsDefaultGeometry(), SdrObjCustomShape::IsMirroredX(), SdrObjCustomShape::IsMirroredY(), SdrObjCustomShape::IsTextPath(), LineGeometryUsageIsNecessary(), SdrObjCustomShape::MergeDefaultAttributes(), SdrDragObjOwn::MoveSdrDrag(), SdrObjCustomShape::RestGeoData(), SdrObjCustomShape::SaveGeoData(), SetAlignmentState(), SdrEditView::SetAttrToMarked(), SetCharacterSpacingState(), SetFontWorkShapeTypeState(), EnhancedCustomShape2d::SetHandleControllerPosition(), SetKernCharacterPairsState(), SdrObjCustomShape::SetMirroredX(), SdrObjCustomShape::SetMirroredY(), EnhancedCustomShape2d::SwapStartAndEndArrow(), SdrObjCustomShape::TakeTextEditArea(), SdrObjCustomShape::TakeTextRect(), SdrTextObj::TakeTextRect(), EnhancedCustomShape3d::Transformation2D::Transformation2D(), and SdrObjCustomShape::UseNoFillStyle().

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

Definition at line 661 of file svdobj.hxx.

const SfxItemSet & SdrObject::GetMergedItemSet ( ) const

Definition at line 1911 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::ViewContactOfSdrOle2Obj::createPrimitive2DSequenceWithParameters(), SdrOle2Obj::createSdrGrafObjReplacement(), sdr::contact::ViewContactOfE3dScene::createSdrLightingAttribute(), CreateSdrObjectFromParagraphOutlines(), sdr::contact::ViewContactOfE3dScene::createSdrSceneAttribute(), sdr::contact::ViewContactOfTableObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrCaptionObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrRectObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrEdgeObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrCircObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrMeasureObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrPathObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrObjCustomShape::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfGraphic::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfE3dCube::createViewIndependentPrimitive3DContainer(), sdr::contact::ViewContactOfE3dPolygon::createViewIndependentPrimitive3DContainer(), sdr::contact::ViewContactOfE3dExtrude::createViewIndependentPrimitive3DContainer(), sdr::contact::ViewContactOfE3dLathe::createViewIndependentPrimitive3DContainer(), sdr::contact::ViewContactOfE3dSphere::createViewIndependentPrimitive3DContainer(), ImpSdrGDIMetaFileImport::DoAction(), E3dView::DoDepthArrange(), Equals(), SvxGrafAttrHelper::ExecuteGrafAttr(), SdrHdlGradient::FromIAOToItem(), Svx3DPreviewControl::Get3DAttributes(), PreviewControl3D::Get3DAttributes(), SdrCreateView::GetAttributes(), SdrObjEditView::GetAttributes(), SvxXConnectionPreview::GetLineDeltaCount(), 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(), ImpSdrGDIMetaFileImport::InsertObj(), SdrObjCustomShape::IsAutoGrowHeight(), SdrObjCustomShape::IsAutoGrowWidth(), SdrEditView::MergeAttrFromMarked(), SvxXRectPreview::Resize(), SdrUndoAttrObj::SdrUndoAttrObj(), SdrEditView::SetAttrToMarked(), Svx3DPreviewControl::SetObjectType(), PreviewControl3D::SetObjectType(), Svx3DSceneObject::setPropertyValueImpl(), SdrCreateView::ShowCreateObj(), SdrMeasureObj::TakeRepresentation(), and SdrUndoAttrObj::Undo().

OUString SdrObject::GetMetrStr ( long  nVal) const
protected
OUString SdrObject::GetName ( ) const
sal_uInt32 SdrObject::GetNavigationPosition ( ) const
const SfxPoolItem & SdrObject::GetObjectItem ( const sal_uInt16  nWhich) const
protected
template<class T >
const T& SdrObject::GetObjectItem ( TypedWhichId< T >  nWhich) const
inlineprotected

Definition at line 978 of file svdobj.hxx.

SfxItemPool & SdrObject::GetObjectItemPool ( ) const

Definition at line 575 of file svdobj.cxx.

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

Referenced by TakeContour().

const SfxItemSet & SdrObject::GetObjectItemSet ( ) const
protected

Definition at line 1906 of file svdobj.cxx.

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

Referenced by SdrObjCustomShape::AdaptTextMinSize(), SdrTextObj::AdaptTextMinSize(), SdrTextObj::BegTextEdit(), SdrMeasureObj::DoConvertToPolyObj(), SdrPathObj::DoConvertToPolyObj(), SdrGrafObj::DoConvertToPolyObj(), E3dLatheObj::GetBackScale(), E3dExtrudeObj::GetBreakObj(), E3dLatheObj::GetBreakObj(), E3dExtrudeObj::GetCharacterMode(), E3dLatheObj::GetCharacterMode(), E3dExtrudeObj::GetCloseBack(), E3dLatheObj::GetCloseBack(), E3dExtrudeObj::GetCloseFront(), E3dLatheObj::GetCloseFront(), E3dScene::GetDistance(), SdrTextObj::GetEckenradius(), E3dLatheObj::GetEndAngle(), E3dExtrudeObj::GetExtrudeDepth(), E3dScene::GetFocalLength(), E3dSphereObj::GetHorizontalSegments(), E3dLatheObj::GetHorizontalSegments(), SdrTextObj::GetMaxTextFrameHeight(), SdrTextObj::GetMaxTextFrameWidth(), SdrTextObj::GetMinTextFrameHeight(), SdrTextObj::GetMinTextFrameWidth(), GetObjectItem(), SdrText::GetObjectItemSet(), sdr::table::Cell::GetObjectItemSet(), E3dExtrudeObj::GetPercentBackScale(), E3dExtrudeObj::GetPercentDiagonal(), E3dLatheObj::GetPercentDiagonal(), E3dScene::GetPerspective(), SdrObjCustomShape::GetSdrObjectShadowFromCustomShape(), E3dExtrudeObj::GetSmoothLids(), E3dLatheObj::GetSmoothLids(), E3dExtrudeObj::GetSmoothNormals(), E3dLatheObj::GetSmoothNormals(), SdrTextObj::GetTextAniDirection(), SdrTextObj::GetTextAniKind(), SdrTextObj::GetTextHorizontalAdjust(), SdrTextObj::GetTextLeftDistance(), SdrTextObj::GetTextLowerDistance(), SdrTextObj::GetTextRightDistance(), SdrTextObj::GetTextScrollMetaFileAndRectangle(), SdrTextObj::GetTextUpperDistance(), SdrTextObj::GetTextVerticalAdjust(), E3dSphereObj::GetVerticalSegments(), E3dLatheObj::GetVerticalSegments(), SdrEdgeObj::ImpCalcEdgeTrack(), SdrMeasureObj::ImpCalcGeometrics(), SdrCaptionObj::ImpGetCaptParams(), 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(), SdrObjCustomShape::SetVerticalWriting(), SdrTextObj::SetVerticalWriting(), SdrObjCustomShape::TakeTextRect(), and SdrMeasureObj::UndirtyText().

sal_uInt16 SdrObject::GetObjIdentifier ( ) const
virtual

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

Definition at line 585 of file svdobj.cxx.

References OBJ_NONE.

Referenced by SvxShape::_getSupportedServiceNames(), SdrObjEditView::ApplyFormatPaintBrush(), SdrCreateView::BegCreatePreparedObject(), CloneHelper(), SvxXConnectionPreview::Construct(), SvxDrawPage::CreateShape(), SvxShape::GetAnyForItem(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SC(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SD(), SvxTextEditSourceImpl::GetEditModeTextForwarder(), svx::sidebar::SelectionAnalyzer::GetObjectTypeFromGroup(), svx::sidebar::SelectionAnalyzer::GetObjectTypeFromMark(), SdrVirtObj::GetObjIdentifier(), getUnoShape(), SdrMarkView::ImpIsFrameHandles(), SvxShape::impl_initFromSdrObject(), sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible(), SdrMarkView::MarkListHasChanged(), svx::sidebar::PosSizePropertyPanel::NotifyItemUpdate(), SdrObjList::ReformatAllEdgeObjects(), IMapWindow::SdrObjChanged(), IMapWindow::SdrObjCreated(), SdrMarkView::SetMarkHandles(), SdrCreateView::ShowCreateObj(), svx_needLogicRectHack(), SdrObjEditView::TakeFormatPaintBrush(), and SvxShape::updateShapeKind().

SdrInventor SdrObject::GetObjInventor ( ) const
virtual
sal_uInt32 SdrObject::GetOrdNum ( ) const

The order number (aka ZOrder, aka z-index) determines whether a SdrObject is located above or below another.

Objects are painted from lowest to highest order number. If the order of SdrObjects in the SdrObjList is changed, the bObjOrdNumsDirty flag is set on the SdrPage and the next GetOrdNum() call recalculates the order number of all SdrObjects in the SdrObjList.

Definition at line 823 of file svdobj.cxx.

References getParentSdrObjListFromSdrObject(), nOrdNum, and SdrObjList::RecalcObjOrdNums().

Referenced by SvxShapeGroup::addUnoShape(), SdrEditView::CombineMarkedObjects(), SdrObjList::CopyObjects(), SdrEditView::DeleteLayer(), SdrEditView::DeleteMarkedList(), SdrPolyEditView::DeleteMarkedPoints(), SdrEditView::DismantleMarkedObjects(), SdrEditView::DoImportMarkedMtf(), SdrEditView::ForceMarkedObjToAnotherPage(), SdrUIObject::get_state(), GetNavigationPosition(), SvxShape::getPropertyValueImpl(), SdrEditView::GroupMarked(), SdrEditView::ImpCheckToTopBtmPossible(), SdrEditView::ImpConvertOneObj(), SdrEditView::ImpDelLayerDelObjs(), ImplSortHdlFunc(), SdrMarkList::InsertEntry(), SdrMarkView::MarkNextObj(), SdrEditView::MergeMarkedObjects(), SdrEditView::MovMarkedToBtm(), SdrEditView::MovMarkedToTop(), SdrEditView::PutMarkedBehindObj(), SdrEditView::PutMarkedInFrontOfObj(), SdrUndoRemoveObj::Redo(), SdrUndoReplaceObj::Redo(), E3dScene::removeAllNonSelectedObjects(), SdrEditView::ReplaceObjectAtView(), SdrPolyEditView::RipUpAtMarkedPoints(), SdrObjEditView::SdrEndTextEdit(), SdrUndoObjList::SdrUndoObjList(), Svx3DPreviewControl::SetObjectType(), PreviewControl3D::SetObjectType(), SdrUndoInsertObj::Undo(), SdrUndoReplaceObj::Undo(), SdrEditView::UnGroupMarked(), and SdrObjList::UnGroupObj().

sal_uInt32 SdrObject::GetOrdNumDirect ( ) const
inline
OutlinerParaObject * SdrObject::GetOutlinerParaObject ( ) const
virtual
SdrObject * SdrObject::getParentSdrObjectFromSdrObject ( ) const
SdrObjList * SdrObject::getParentSdrObjListFromSdrObject ( ) const
Point SdrObject::GetPoint ( sal_uInt32  i) const
virtual
sal_uInt32 SdrObject::GetPointCount ( ) const
virtual
sdr::properties::BaseProperties & SdrObject::GetProperties ( ) const
virtual
const double * SdrObject::GetRelativeHeight ( ) const

Definition at line 552 of file svdobj.cxx.

References mpImpl.

sal_Int16 SdrObject::GetRelativeHeightRelation ( ) const

Definition at line 560 of file svdobj.cxx.

References mpImpl.

Point SdrObject::GetRelativePos ( ) const
virtual

Reimplemented in SdrCaptionObj.

Definition at line 1587 of file svdobj.cxx.

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

Referenced by SetRelativePos().

const double * SdrObject::GetRelativeWidth ( ) const

Definition at line 539 of file svdobj.cxx.

References mpImpl.

sal_Int16 SdrObject::GetRelativeWidthRelation ( ) const

Definition at line 547 of file svdobj.cxx.

References mpImpl.

long SdrObject::GetRotateAngle ( ) const
virtual
SdrModel & SdrObject::getSdrModelFromSdrObject ( ) const

Definition at line 299 of file svdobj.cxx.

References mrSdrModelFromSdrObject.

Referenced by SvxShape::_setPropertyToDefault(), SvxShape::_setPropertyValue(), accessibility::AccessibleEmptyEditSource::AccessibleEmptyEditSource(), SdrObjCustomShape::AdaptTextMinSize(), SdrTextObj::AdaptTextMinSize(), SvxDrawPage::add(), Svx3DSceneObject::add(), SdrOle2Obj::AddOwnLightClient(), sdr::table::Cell::AddUndo(), SvxShapeGroup::addUnoShape(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), SdrTextObj::AdjustTextFrameWidthAndHeight(), SdrOle2Obj::assignFrom(), sdr::properties::AttributeProperties::AttributeProperties(), sdr::table::SdrTableObj::BegTextEdit(), SdrTextObj::BegTextEdit(), SdrOle2Obj::BreakFileLink_Impl(), BroadcastObjectChange(), SdrOle2Obj::CalculateNewScaling(), SdrOle2Obj::CheckFileLink_Impl(), SdrText::CheckPortionInfo(), SdrEditView::CombineMarkedObjects(), SdrOle2Obj::Connect_Impl(), SvxShapeConnector::connectEnd(), SvxShapeConnector::connectStart(), ConvertToContourObj(), sdr::table::Cell::copyFormatFrom(), EnhancedCustomShape3d::Create3DObject(), SvxOle2Shape::createLink(), drawinglayer::primitive2d::createNewSdrTextAttribute(), EnhancedCustomShape2d::CreateObject(), SvxOle2Shape::createObject(), EnhancedCustomShape2d::CreatePathObj(), SdrOle2Obj::createSdrGrafObjReplacement(), CreateSdrObjectFromParagraphOutlines(), EnhancedCustomShape2d::CreateSubPath(), ImpSdrObjTextLink::DataChanged(), SdrGraphicLink::DataChanged(), sdr::properties::DefaultProperties::DefaultProperties(), SdrOle2Obj::Disconnect_Impl(), SvxShapeConnector::disconnectBegin(), SvxShapeConnector::disconnectEnd(), SdrOle2Obj::DisconnectFileLink_Impl(), SvxShape::dispose(), SdrObjGroup::DoConvertToPolyObj(), SdrMeasureObj::DoConvertToPolyObj(), SdrCaptionObj::DoConvertToPolyObj(), SdrGrafObj::DoConvertToPolyObj(), SdrObjCustomShape::DoConvertToPolyObj(), SdrDragCrop::EndSdrDrag(), sdr::table::SdrTableObj::EndTextEdit(), SdrText::ForceOutlinerParaObject(), sdr::properties::TextProperties::ForceStyleToHardAttributes(), SdrHdlGradient::FromIAOToItem(), drawinglayer::primitive2d::SdrTextPrimitive2D::get2DDecomposition(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), E3dExtrudeObj::GetBreakObj(), E3dLatheObj::GetBreakObj(), SvxOle2Shape::GetClassName_Impl(), CompressGraphicsDialog::GetCompressedSdrGrafObj(), SvxTextEditSourceImpl::GetEditViewForwarder(), SdrVirtObj::getFullDragClone(), SdrEdgeObj::getFullDragClone(), getFullDragClone(), SdrGrafObj::getMetafileFromEmbeddedVectorGraphicData(), GetMetrStr(), GetObjectItemPool(), SdrExchangeView::GetObjGraphic(), SdrOle2Obj::GetObjRef_Impl(), SdrGrafObj::getOriginalSize(), SdrOle2Obj::GetParentXModel(), SvxShape::getPosition(), SvxCustomShape::getPosition(), SvxShape::getPropertyValueImpl(), ImpPathForDragAndCreate::getSpecialDragComment(), SdrTextObj::GetTextChain(), SvxTextEditSourceImpl::GetTextForwarder(), SdrGrafObj::GetTransformedGraphic(), getUnoShape(), SdrEditView::GroupMarked(), E3dView::ImpCloneAll3DObjectsToDestScene(), ImpConvertToContourObj(), ImpCreateShadowObjectClone(), E3dView::ImpCreateSingle3DObjectFlat(), SdrGrafObj::ImpDeregisterLink(), SdrTextObj::ImpDeregisterLink(), SdrEdgeObj::ImpDirtyEdgeTrack(), SdrEditView::ImpDismantleOneObject(), SdrTextObj::ImpGetDrawOutliner(), FmFormObj::impl_checkRefDevice_nothrow(), SdrEdgeObj::ImpRecalcEdgeTrack(), SdrGrafObj::ImpRegisterLink(), SdrTextObj::ImpRegisterLink(), SdrTextObj::ImpSetContourPolygon(), SdrGrafObj::ImpSetLinkedGraphic(), SdrTextObj::ImpSetTextStyleSheetListeners(), SdrOle2Obj::ImpSetVisAreaSize(), SdrUndoObj::ImpShowPageOfThisObject(), SdrEdgeObj::ImpUndirtyEdgeTrack(), SdrOle2Obj::Init(), sdr::table::TableModel::insertColumns(), ImpSdrGDIMetaFileImport::InsertObj(), SdrObjList::InsertObject(), sdr::table::TableModel::insertRows(), IsInDestruction(), SdrMediaObj::mediaPropertiesChanged(), sdr::table::TableModel::merge(), SdrEditView::MergeMarkedObjects(), NbcApplyNotPersistAttr(), SdrOle2Obj::NbcMove(), SdrOle2Obj::NbcResize(), SdrEdgeObj::NbcResize(), SdrOle2Obj::NbcSetLogicRect(), sdr::table::SdrTableObj::NbcSetOutlinerParaObject(), SdrOle2Obj::NbcSetSnapRect(), sdr::properties::AttributeProperties::Notify(), SvxShape::Notify(), sdr::table::SdrTableObjImpl::operator=(), SdrExchangeView::Paste(), RecalcBoundRect(), SdrUndoAttrObj::Redo(), SvxShapeGroup::remove(), sdr::table::TableModel::removeColumns(), SdrObjList::RemoveObject(), SdrText::RemoveOutlinerParaObject(), sdr::table::TableModel::removeRows(), sdr::table::Cell::replaceContentAndFormating(), SdrObjList::ReplaceObject(), SvxOle2Shape::resetModifiedState(), SdrPathObj::RipPoint(), SdrObjEditView::SdrBeginTextEdit(), SdrObjEditView::SdrEndTextEdit(), SdrExternalToolEdit::SdrExternalToolEdit(), SdrObject(), SdrUndoAttrObj::SdrUndoAttrObj(), SdrUndoGeoObj::SdrUndoGeoObj(), SdrViewIter::SdrViewIter(), SvxShape::setAllPropertiesToDefault(), SetChanged(), SvxShapeControl::setControl(), E3dView::SetCurrent3DObj(), SetDescription(), SdrOle2Obj::SetGeoData(), SdrGrafObj::SetGrafStreamURL(), SetName(), SdrObjList::SetObjectNavigationPosition(), SdrObjList::SetObjectOrdNum(), SdrText::SetOutlinerParaObject(), SvxShape::setPosition(), SetPrintable(), sdr::table::Cell::setPropertyToDefault(), sdr::table::Cell::setPropertyValue(), SvxShape::setPropertyValueImpl(), SvxGraphicObject::setPropertyValueImpl(), SvxShape::setSize(), sdr::properties::TextProperties::SetStyleSheet(), SetTitle(), SetVisible(), SvxGetGraphicForShape(), accessibility::AccessibleEmptyEditSource::Switch2ProxyEditSource(), TakeContour(), TakeNotPersistAttr(), SdrMeasureObj::TakeRepresentation(), SdrObjCustomShape::TakeTextEditArea(), sdr::table::SdrTableObj::TakeTextEditArea(), SdrTextObj::TakeTextEditArea(), SdrObjCustomShape::TakeTextRect(), SdrTextObj::TakeTextRect(), SdrMeasureObj::TRGetBaseGeometry(), SdrPathObj::TRGetBaseGeometry(), SdrObjCustomShape::TRGetBaseGeometry(), SdrTextObj::TRGetBaseGeometry(), TRGetBaseGeometry(), SdrMeasureObj::TRSetBaseGeometry(), SdrCaptionObj::TRSetBaseGeometry(), SdrPathObj::TRSetBaseGeometry(), SdrObjCustomShape::TRSetBaseGeometry(), SdrTextObj::TRSetBaseGeometry(), TRSetBaseGeometry(), SdrUndoAttrObj::Undo(), SdrExternalToolEdit::Update(), SdrOle2Obj::UpdateLinkURL_Impl(), SdrTextObj::UpdateOutlinerFormatting(), accessibility::AccessibleEmptyEditSource::~AccessibleEmptyEditSource(), ~SdrObject(), and SdrTextObj::~SdrTextObj().

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

Definition at line 4099 of file unoshape.cxx.

References SvxShape::GetSdrObject().

Referenced by SdrObjList::SetNavigationOrder().

SdrPage * SdrObject::getSdrPageFromSdrObject ( ) const
svx::PropertyChangeNotifier & SdrObject::getShapePropertyChangeNotifier ( )
long SdrObject::GetShearAngle ( bool  bVertical = false) const
virtual
Point SdrObject::GetSnapPoint ( sal_uInt32  i) const
virtual

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

Definition at line 1682 of file svdobj.cxx.

References GetPoint().

Referenced by SdrVirtObj::GetSnapPoint(), and SdrSnapView::SnapPos().

sal_uInt32 SdrObject::GetSnapPointCount ( ) const
virtual

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

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

Definition at line 1677 of file svdobj.cxx.

References GetPointCount().

Referenced by SdrVirtObj::GetSnapPointCount(), and SdrSnapView::SnapPos().

const tools::Rectangle & SdrObject::GetSnapRect ( ) const
virtual
OUString SdrObject::getSpecialDragComment ( const SdrDragStat rDrag) const
virtual
basegfx::B2DPolyPolygon SdrObject::getSpecialDragPoly ( const SdrDragStat rDrag) const
virtual

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

Definition at line 1340 of file svdobj.cxx.

Referenced by SdrVirtObj::getSpecialDragPoly().

SfxStyleSheet * SdrObject::GetStyleSheet ( ) const
SdrObjList * SdrObject::GetSubList ( ) const
virtual

Reimplemented in E3dScene, SdrVirtObj, and SdrObjGroup.

Definition at line 674 of file svdobj.cxx.

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

SvxShape * SdrObject::getSvxShape ( )
private

only for internal use!

Definition at line 2775 of file svdobj.cxx.

References DBG_TESTSOLARMUTEX, maWeakUnoShape, and mpSvxShape.

Referenced by Free(), getShapePropertyChangeNotifier(), handlePageChange(), and notifyShapePropertyChange().

OUString SdrObject::GetTitle ( ) const
css::uno::Reference< css::uno::XInterface > SdrObject::getUnoShape ( )
virtual
SdrObjUserCall* SdrObject::GetUserCall ( ) const
inline
SdrObjUserData * SdrObject::GetUserData ( sal_uInt16  nNum) const
sal_uInt16 SdrObject::GetUserDataCount ( ) const
SdrGluePoint SdrObject::GetVertexGluePoint ( sal_uInt16  nNum) const
virtual
sdr::contact::ViewContact & SdrObject::GetViewContact ( ) const

Definition at line 271 of file svdobj.cxx.

References mpViewContact.

Referenced by ActionChanged(), E3dCompoundObject::AddToHdlList(), SdrMediaObj::AdjustToMaxRect(), checkHitSingle3DObject(), ImpSdrCreateViewExtraData::CreateAndShowOverlay(), SdrDragEntrySdrObject::createPrimitive2DSequenceInCurrentState(), SdrDragMove::createSdrDragEntryForSdrObject(), E3DModifySceneSnapRectUpdater::E3DModifySceneSnapRectUpdater(), sdr::contact::ObjectContactOfPageView::getActiveViewContact(), getAllHit3DObjectsSortedFrontToBack(), getAllHit3DObjectWithRelativePoint(), SdrExchangeView::GetMarkedObjBitmapEx(), getMinimalDepthInViewCoordinates(), sdr::contact::ObjectContactOfObjListPainter::GetPaintObjectViewContact(), sdr::contact::ViewContactOfSdrObj::GetParentContact(), SdrMarkView::getPossibleGridOffsetForSdrObject(), SdrUnoObj::GetUnoControl(), sdr::contact::ViewContactOfSdrObj::GetViewContact(), sdr::contact::ViewContactOfMasterPageDescriptor::GetViewContact(), sdr::contact::ViewContactOfPageHierarchy::GetViewContact(), SdrObjList::impChildInserted(), ImpConvertToContourObj(), Impl3DMirrorConstructOverlay::Impl3DMirrorConstructOverlay(), SdrUnoObj::impl_getViewContact(), E3dObject::NbcMove(), SdrTextObj::NbcReformatText(), SdrObjList::NbcRemoveObject(), E3dObject::NbcResize(), E3dScene::operator=(), RecalcBoundRect(), E3dObject::RecalcBoundVolume(), E3dCompoundObject::RecalcSnapRect(), SdrObjList::RemoveObject(), SdrObjList::ReplaceObject(), SdrObjectPrimitiveHit(), SdrEditView::SetAttrToMarked(), SdrMediaObj::setMediaProperties(), SdrUnoObj::SetUnoControlModel(), TakeContour(), E3dScene::TakeXorPoly(), E3dCompoundObject::TakeXorPoly(), E3dCompoundObject::TransformToScreenCoor(), OLEObjCache::UnloadObj(), and E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater().

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

Definition at line 916 of file svdobj.hxx.

Referenced by SvxDrawPage::add(), Free(), getUnoShape(), and SvxShape::Notify().

void SdrObject::handlePageChange ( SdrPage pOldPage,
SdrPage pNewPage 
)
virtual
bool SdrObject::HasFillStyle ( ) const
bool SdrObject::HasLimitedRotation ( ) const
virtual

Reimplemented in SdrVirtObj.

Definition at line 995 of file svdobj.cxx.

Referenced by SdrVirtObj::HasLimitedRotation(), and SdrMarkView::SetMarkHandles().

bool SdrObject::HasLineStyle ( ) const
bool SdrObject::HasMacro ( ) const
virtual
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 SdrTextObj, SdrEdgeObj, sdr::table::SdrTableObj, SdrObjCustomShape, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, SdrPathObj, SdrUnoObj, and SdrVirtObj.

Definition at line 1296 of file svdobj.cxx.

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

bool SdrObject::HasText ( ) const
virtual

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

Definition at line 3011 of file svdobj.cxx.

Referenced by SdrUIObject::get_state().

bool SdrObject::HasTextEdit ( ) const
virtual

Reimplemented in SdrTextObj, and SdrMediaObj.

Definition at line 1715 of file svdobj.cxx.

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

SdrObject * SdrObject::ImpConvertToContourObj ( bool  bForceLineDash)
private
tools::Rectangle SdrObject::ImpDragCalcRect ( const SdrDragStat rDrag) const
protected
void SdrObject::ImpForcePlusData ( )
protected
OUString SdrObject::ImpGetDescriptionStr ( const char *  pStrCacheID) const
protected
void SdrObject::impl_setUnoShape ( const css::uno::Reference< css::uno::XInterface > &  _rxUnoShape)
protectedvirtual

Sets a new UNO shape.

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 2737 of file svdobj.cxx.

References SvxShape::HasSdrObjectOwnership(), SvxShape::InvalidateSdrObject(), maWeakUnoShape, mpSvxShape, SAL_WARN, and SvxShape::TakeSdrObjectOwnership().

Referenced by getUnoShape(), SdrObjCustomShape::impl_setUnoShape(), and setUnoShape().

void SdrObject::ImpSetAnchorPos ( const Point rPnt)

Definition at line 1592 of file svdobj.cxx.

References aAnchor.

Referenced by SdrTextObj::ImpConvertContainedTextToSdrPathObjs().

void SdrObject::InsertedStateChange ( )
bool SdrObject::Is3DObj ( ) const
inline
bool SdrObject::IsClosedObj ( ) const
inline
bool SdrObject::IsDoNotInsertIntoPageAutomatically ( ) const
inline
See also
mbDoNotInsertIntoPageAutomatically

Definition at line 888 of file svdobj.hxx.

Referenced by SvxDrawPage::CreateSdrObject().

bool SdrObject::IsEdgeObj ( ) const
inline
bool SdrObject::IsEmptyPresObj ( ) const
inline
bool SdrObject::IsGroupObject ( ) const
bool SdrObject::IsInDestruction ( ) const
bool SdrObject::IsInserted ( ) const
inline
bool SdrObject::IsMacroHit ( const SdrObjMacroHitRec rRec) const
bool SdrObject::IsMarkProtect ( ) const
inline

Definition at line 806 of file svdobj.hxx.

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

bool SdrObject::IsMoveProtect ( ) const
inline
bool SdrObject::IsNotVisibleAsMaster ( ) const
inline
bool SdrObject::IsPolyObj ( ) const
virtual
bool SdrObject::IsPrintable ( ) const
inline
bool SdrObject::IsResizeProtect ( ) const
inline
bool SdrObject::IsTextBox ( ) const
virtual

Is this a textbox of a drawinglayer shape?

Definition at line 3016 of file svdobj.cxx.

bool SdrObject::IsUnoObj ( ) const
inline
bool SdrObject::IsVirtualObj ( ) const
inline

Definition at line 782 of file svdobj.hxx.

Referenced by FmXUndoEnvironment::Removed().

bool SdrObject::IsVisible ( ) const
inline
bool SdrObject::LineGeometryUsageIsNecessary ( ) const
bool SdrObject::LineIsOutsideGeometry ( ) const
inline
void SdrObject::MakeNameUnique ( std::unordered_set< OUString > &  rNameSet)
void SdrObject::Mirror ( const Point rRef1,
const Point rRef2 
)
virtual
bool SdrObject::MovCreate ( SdrDragStat rStat)
virtual
void SdrObject::Move ( const Size rSiz)
virtual
void SdrObject::NbcApplyNotPersistAttr ( const SfxItemSet rAttr)
void SdrObject::NbcCrop ( const basegfx::B2DPoint rRef,
double  fxFact,
double  fyFact 
)
virtual

Definition at line 1505 of file svdobj.cxx.

Referenced by Crop().

void SdrObject::NbcMirror ( const Point rRef1,
const Point rRef2 
)
virtual
void SdrObject::NbcMirrorGluePoints ( const Point rRef1,
const Point rRef2 
)
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 SdrTextObj, SdrEdgeObj, sdr::table::SdrTableObj, SdrObjCustomShape, SdrOle2Obj, SdrCircObj, SdrCaptionObj, E3dScene, SdrMeasureObj, SdrRectObj, SdrPathObj, SdrVirtObj, E3dObject, and SdrObjGroup.

Definition at line 1401 of file svdobj.cxx.

References aOutRect, tools::Rectangle::Move(), and SetRectsDirty().

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

void SdrObject::NbcReformatText ( )
virtual
void SdrObject::NbcResize ( const Point rRef,
const Fraction xFact,
const Fraction yFact 
)
virtual
void SdrObject::NbcRotate ( const Point rRef,
long  nAngle,
double  sn,
double  cs 
)
virtual
void SdrObject::NbcRotateGluePoints ( const Point rRef,
long  nAngle,
double  sn,
double  cs 
)
void SdrObject::NbcSetAnchorPos ( const Point rPnt)
virtual
void SdrObject::NbcSetLayer ( SdrLayerID  nLayer)
virtual
void SdrObject::NbcSetLogicRect ( const tools::Rectangle rRect)
virtual
void SdrObject::NbcSetOutlinerParaObject ( std::unique_ptr< OutlinerParaObject pTextObject)
virtual
void SdrObject::NbcSetPoint ( const Point rPnt,
sal_uInt32  i 
)
virtual

Reimplemented in SdrEdgeObj, SdrVirtObj, SdrMeasureObj, and SdrPathObj.

Definition at line 1711 of file svdobj.cxx.

Referenced by SetPoint().

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 1569 of file svdobj.cxx.

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

Referenced by SetRelativePos().

void SdrObject::NbcSetSnapRect ( const tools::Rectangle rRect)
virtual
void SdrObject::NbcSetStyleSheet ( SfxStyleSheet pNewStyleSheet,
bool  bDontRemoveHardAttr 
)
virtual
void SdrObject::NbcShear ( const Point rRef,
long  nAngle,
double  tn,
bool  bVShear 
)
virtual
void SdrObject::NbcShearGluePoints ( const Point rRef,
double  tn,
bool  bVShear 
)
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 SdrTextObj, sdr::table::SdrTableObj, SdrEdgeObj, SdrObjCustomShape, SdrGrafObj, SdrCircObj, SdrCaptionObj, E3dScene, SdrPathObj, E3dObject, SdrMeasureObj, and SdrVirtObj.

Definition at line 1832 of file svdobj.cxx.

Referenced by GetGeoData(), and SdrVirtObj::NewGeoData().

void SdrObject::notifyShapePropertyChange ( const svx::ShapeProperty  _eProperty) const
SdrObject & SdrObject::operator= ( const SdrObject rObj)
void SdrObject::PaintMacro ( OutputDevice rOut,
const tools::Rectangle rDirtyRect,
const SdrObjMacroHitRec rRec 
) const
virtual
void SdrObject::RecalcBoundRect ( )
virtual
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 SdrTextObj, SdrEdgeObj, sdr::table::SdrTableObj, E3dCompoundObject, E3dScene, SdrMeasureObj, SdrVirtObj, SdrCircObj, SdrRectObj, E3dObject, SdrPathObj, and SdrObjGroup.

Definition at line 1620 of file svdobj.cxx.

Referenced by SdrAttrObj::GetSnapRect().

void SdrObject::RemoveListener ( SfxListener rListener)
void SdrObject::RemoveObjectUser ( sdr::ObjectUser rOldUser)
void SdrObject::Resize ( const Point rRef,
const Fraction xFact,
const Fraction yFact,
bool  bUnsetRelative = true 
)
virtual
void SdrObject::RestGeoData ( const SdrObjGeoData rGeo)
protectedvirtual
void SdrObject::Rotate ( const Point rRef,
long  nAngle,
double  sn,
double  cs 
)
virtual
void SdrObject::SaveGeoData ( SdrObjGeoData rGeo) const
protectedvirtual
void SdrObject::SendUserCall ( SdrUserCallType  eUserCall,
const tools::Rectangle rBoundRect 
) const

Definition at line 2676 of file svdobj.cxx.

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

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

void SdrObject::SetAnchorPos ( const Point rPnt)
virtual
void SdrObject::SetBLIPSizeRectangle ( const tools::Rectangle aRect)

Definition at line 2994 of file svdobj.cxx.

References maBLIPSizeRectangle.

void SdrObject::SetBoundRectDirty ( )
virtual
void SdrObject::SetChanged ( )
virtual

Reimplemented in sdr::table::SdrTableObj.

Definition at line 956 of file svdobj.cxx.

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

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

void SdrObject::SetContextWritingMode ( const sal_Int16  _nContextWritingMode)
virtual

Reimplemented in SdrUnoObj.

Definition at line 2999 of file svdobj.cxx.

void SdrObject::SetDescription ( const OUString &  rStr)
void SdrObject::SetDiagramData ( std::shared_ptr< DiagramDataInterface pDiagramData)

Definition at line 565 of file svdobj.cxx.

References mpImpl.

void SdrObject::SetDoNotInsertIntoPageAutomatically ( bool  bSet)
void SdrObject::SetEmptyPresObj ( bool  bEpt)
void SdrObject::setFillGeometryDefiningShape ( const SdrObject pNew)
inlineprivate

Definition at line 335 of file svdobj.hxx.

void SdrObject::SetGeoData ( const SdrObjGeoData rGeo)
virtual
void SdrObject::SetGlueReallyAbsolute ( bool  bOn)
void SdrObject::SetGrabBagItem ( const css::uno::Any &  rVal)

Definition at line 849 of file svdobj.cxx.

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

Referenced by SvxShape::setPropertyValueImpl().

void SdrObject::SetLayer ( SdrLayerID  nLayer)
virtual
void SdrObject::SetLogicRect ( const tools::Rectangle rRect)
virtual
void SdrObject::SetMarkProtect ( bool  bProt)

Definition at line 2475 of file svdobj.cxx.

References bMarkProt.

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

Definition at line 1936 of file svdobj.cxx.

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

Referenced by Svx3DLightControl::AdaptToSelectedLight(), LightControl3D::AdaptToSelectedLight(), ImpSdrGDIMetaFileImport::CheckLastPolyLineAndFillMerge(), Svx3DPreviewControl::Construct(), PreviewControl3D::Construct(), Svx3DLightControl::Construct2(), LightControl3D::Construct2(), Svx3DLightControl::ConstructLightObjects(), LightControl3D::ConstructLightObjects(), EnhancedCustomShape3d::Create3DObject(), EnhancedCustomShape2d::CreateObject(), SdrOle2Obj::createSdrGrafObjReplacement(), CreateSdrObjectFromParagraphOutlines(), EnhancedCustomShape2d::CreateSubPath(), ImpSdrGDIMetaFileImport::DoAction(), SdrMeasureObj::DoConvertToPolyObj(), SdrGrafObj::DoConvertToPolyObj(), SdrCreateView::ImpBegCreateObj(), SdrTextObj::ImpConvertContainedTextToSdrPathObjs(), ImpConvertToContourObj(), SdrEditView::ImpCopyAttributes(), E3dView::ImpCreateSingle3DObjectFlat(), SdrEditView::ImpDismantleOneObject(), ImpSdrGDIMetaFileImport::ImportText(), ImpSdrGDIMetaFileImport::InsertObj(), SdrEditView::InsertObjectAtView(), SdrExchangeView::Paste(), SdrUndoAttrObj::Redo(), Svx3DPreviewControl::Set3DAttributes(), PreviewControl3D::Set3DAttributes(), ImpSdrGDIMetaFileImport::SetAttributes(), SvxXRectPreview::SetAttributes(), SvxXLinePreview::SetLineAttributes(), sdr::properties::E3dSceneProperties::SetMergedItemSet(), sdr::properties::GroupProperties::SetMergedItemSet(), Svx3DPreviewControl::SetObjectType(), PreviewControl3D::SetObjectType(), Svx3DLightControl::SetPosition(), LightControl3D::SetPosition(), SvxXShadowPreview::SetRectangleAttributes(), SvxXShadowPreview::SetShadowAttributes(), TakeContour(), and SdrUndoAttrObj::Undo().

void SdrObject::SetMergedItemSetAndBroadcast ( const SfxItemSet rSet,
bool  bClearAllItems = false 
)
void SdrObject::SetMoveProtect ( bool  bProt)
void SdrObject::SetName ( const OUString &  rStr)
void SdrObject::SetNavigationPosition ( const sal_uInt32  nPosition)

Definition at line 871 of file svdobj.cxx.

References mnNavigationPosition.

Referenced by SdrObjList::InsertObjectIntoContainer().

void SdrObject::SetNotVisibleAsMaster ( bool  bFlg)

Definition at line 2487 of file svdobj.cxx.

References bNotVisibleAsMaster.

void SdrObject::SetObjectItem ( const SfxPoolItem rItem)
protected
void SdrObject::SetObjectItemSet ( const SfxItemSet rSet)
protected
void SdrObject::SetOrdNum ( sal_uInt32  nNum)
void SdrObject::SetOutlinerParaObject ( std::unique_ptr< OutlinerParaObject pTextObject)
void SdrObject::setParentOfSdrObject ( SdrObjList pNew)
private
void SdrObject::SetPoint ( const Point rPnt,
sal_uInt32  i 
)
void SdrObject::SetPrintable ( bool  bPrn)
void SdrObject::SetRectsDirty ( 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 462 of file svdobj.cxx.

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

Referenced by sdr::table::SdrTableObj::AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), SdrTextObj::AdjustTextFrameWidthAndHeight(), SdrMeasureObj::applySpecialDrag(), SdrCircObj::applySpecialDrag(), SdrObjCustomShape::applySpecialDrag(), SdrEdgeObj::applySpecialDrag(), SdrObjCustomShape::DragCreateObject(), SdrObjCustomShape::DragMoveCustomShapeHdl(), SdrMeasureObj::EndCreate(), SdrCaptionObj::EndCreate(), SdrCircObj::EndCreate(), SdrObjCustomShape::EndCreate(), SdrEdgeObj::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(), SdrObjCustomShape::NbcAdjustTextFrameWidthAndHeight(), SdrTextObj::NbcAdjustTextFrameWidthAndHeight(), SdrPathObj::NbcInsPoint(), SdrVirtObj::NbcMirror(), SdrMeasureObj::NbcMirror(), NbcMirror(), SdrObjGroup::NbcMove(), SdrVirtObj::NbcMove(), SdrCircObj::NbcMove(), NbcMove(), SdrTextObj::NbcReformatText(), SdrUnoObj::NbcResize(), SdrObjGroup::NbcResize(), SdrVirtObj::NbcResize(), sdr::table::SdrTableObj::NbcResize(), NbcResize(), SdrVirtObj::NbcRotate(), SdrMeasureObj::NbcRotate(), E3dObject::NbcRotate(), NbcRotate(), SdrVirtObj::NbcSetLogicRect(), SdrObjCustomShape::NbcSetLogicRect(), sdr::table::SdrTableObj::NbcSetLogicRect(), SdrObjCustomShape::NbcSetOutlinerParaObject(), SdrTextObj::NbcSetOutlinerParaObjectForText(), SdrPathObj::NbcSetPathPoly(), SdrPathObj::NbcSetPoint(), SdrMeasureObj::NbcSetPoint(), SdrVirtObj::NbcSetPoint(), SdrEdgeObj::NbcSetPoint(), SdrCircObj::NbcSetSnapRect(), SdrVirtObj::NbcSetSnapRect(), SdrObjCustomShape::NbcSetSnapRect(), SdrVirtObj::NbcShear(), SdrMeasureObj::NbcShear(), SdrVirtObj::Notify(), SdrAttrObj::Notify(), sdr::properties::AttributeProperties::Notify(), sdr::table::SdrTableObj::onEditOutlinerStatusEvent(), SdrObjGroup::operator=(), SdrObjGroup::Resize(), SdrVirtObj::Resize(), SdrVirtObj::RestGeoData(), RestGeoData(), SdrVirtObj::Rotate(), SdrVirtObj::SetGeoData(), SdrEdgeObj::setGluePointIndex(), SdrVirtObj::SetLogicRect(), E3dScene::SetRectsDirty(), SdrObjList::SetSdrObjListRectsDirty(), SdrVirtObj::SetSnapRect(), sdr::properties::AttributeProperties::SetStyleSheet(), SdrMeasureObj::SetTextDirty(), SdrVirtObj::Shear(), SdrPathObj::ToggleClosed(), and sdr::table::SdrTableObjImpl::update().

void SdrObject::SetRelativeHeight ( double  nValue)

Definition at line 529 of file svdobj.cxx.

References mpImpl.

void SdrObject::SetRelativeHeightRelation ( sal_Int16  eValue)

Definition at line 534 of file svdobj.cxx.

References mpImpl.

void SdrObject::SetRelativePos ( const Point rPnt)
virtual
void SdrObject::SetRelativeWidth ( double  nValue)

Definition at line 519 of file svdobj.cxx.

References mpImpl.

void SdrObject::SetRelativeWidthRelation ( sal_Int16  eValue)

Definition at line 524 of file svdobj.cxx.

References mpImpl.

void SdrObject::SetResizeProtect ( bool  bProt)
void SdrObject::SetSnapRect ( const tools::Rectangle rRect)
virtual
void SdrObject::SetStyleSheet ( SfxStyleSheet pNewStyleSheet,
bool  bDontRemoveHardAttr 
)
void SdrObject::setSuitableOutlinerBg ( Outliner rOutliner) const
void SdrObject::SetTitle ( const OUString &  rStr)
void SdrObject::setUnoShape ( const css::uno::Reference< css::uno::XInterface > &  _rxUnoShape)
void SdrObject::SetUserCall ( SdrObjUserCall pUser)

Definition at line 2670 of file svdobj.cxx.

References pUserCall.

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

void SdrObject::SetVisible ( bool  bVisible)
void SdrObject::Shear ( const Point rRef,
long  nAngle,
double  tn,
bool  bVShear 
)
virtual
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 809 of file svdobj.hxx.

void SdrObject::SingleObjectPainter ( OutputDevice rOut) const
bool SdrObject::supportsFullDrag ( ) const
virtual

Reimplemented in SdrVirtObj.

Definition at line 1301 of file svdobj.cxx.

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

basegfx::B2DPolyPolygon SdrObject::TakeContour ( ) const
virtual
basegfx::B2DPolyPolygon SdrObject::TakeCreatePoly ( const SdrDragStat rDrag) const
virtual
void SdrObject::TakeNotPersistAttr ( SfxItemSet rAttr) const
void SdrObject::TakeObjInfo ( SdrObjTransformInfoRec rInfo) const
virtual
OUString SdrObject::TakeObjNamePlural ( ) const
virtual
OUString SdrObject::TakeObjNameSingul ( ) const
virtual
basegfx::B2DPolyPolygon SdrObject::TakeXorPoly ( ) const
virtual
bool SdrObject::TRGetBaseGeometry ( basegfx::B2DHomMatrix rMatrix,
basegfx::B2DPolyPolygon rPolyPolygon 
) const
virtual
void SdrObject::TRSetBaseGeometry ( const basegfx::B2DHomMatrix rMatrix,
const basegfx::B2DPolyPolygon rPolyPolygon 
)
virtual

Friends And Related Function Documentation

friend class EnhancedCustomShape2d
friend

Definition at line 333 of file svdobj.hxx.

friend class SdrObjListIter
friend

Definition at line 315 of file svdobj.hxx.

friend class SdrRectObj
friend

Definition at line 317 of file svdobj.hxx.

friend class SdrVirtObj
friend

Definition at line 316 of file svdobj.hxx.

void SetParentAtSdrObjectFromSdrObjList ( SdrObject rSdrObject,
SdrObjList pNew 
)
friend

Definition at line 78 of file svdpage.cxx.

Member Data Documentation

Point SdrObject::aAnchor
protected
tools::Rectangle SdrObject::aOutRect
protected
bool SdrObject::bClosedObj
protected
bool SdrObject::bEmptyPresObj
protected

Definition at line 937 of file svdobj.hxx.

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

bool SdrObject::bIs3DObj
protected

Definition at line 943 of file svdobj.hxx.

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

bool SdrObject::bIsEdge
protected

Definition at line 942 of file svdobj.hxx.

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

bool SdrObject::bIsUnoObj
protected

Definition at line 944 of file svdobj.hxx.

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

bool SdrObject::bMarkProt
private

Definition at line 1008 of file svdobj.hxx.

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

bool SdrObject::bMovProt
protected
bool SdrObject::bNoPrint
private

Definition at line 1006 of file svdobj.hxx.

Referenced by Equals(), operator=(), RestGeoData(), SaveGeoData(), SdrObject(), and SetPrintable().

bool SdrObject::bNotVisibleAsMaster
protected

Definition at line 939 of file svdobj.hxx.

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

bool SdrObject::bSizProt
protected

Definition at line 931 of file svdobj.hxx.

Referenced by Equals(), operator=(), RestGeoData(), SaveGeoData(), SdrObject(), and SetResizeProtect().

bool SdrObject::bSnapRectDirty
protected
bool SdrObject::bVirtObj
protected

Definition at line 927 of file svdobj.hxx.

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

tools::Rectangle SdrObject::maBLIPSizeRectangle
private

Definition at line 1011 of file svdobj.hxx.

Referenced by SetBLIPSizeRectangle().

css::uno::WeakReference< css::uno::XInterface > SdrObject::maWeakUnoShape
private

Definition at line 1023 of file svdobj.hxx.

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

bool SdrObject::mbDoNotInsertIntoPageAutomatically
private

Definition at line 1026 of file svdobj.hxx.

Referenced by SetDoNotInsertIntoPageAutomatically().

bool SdrObject::mbLineIsOutsideGeometry
protected

Definition at line 946 of file svdobj.hxx.

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

bool SdrObject::mbSupportTextIndentingOnLineWidthChange
protected
bool SdrObject::mbVisible
private

Definition at line 1007 of file svdobj.hxx.

Referenced by Equals(), operator=(), RestGeoData(), SaveGeoData(), SdrObject(), and SetVisible().

SdrLayerID SdrObject::mnLayerID
private

Definition at line 1005 of file svdobj.hxx.

Referenced by Equals(), GetLayer(), NbcSetLayer(), operator=(), RestGeoData(), and SaveGeoData().

sal_uInt32 SdrObject::mnNavigationPosition
private

Definition at line 1004 of file svdobj.hxx.

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

const SdrObject* SdrObject::mpFillGeometryDefiningShape
private

Definition at line 334 of file svdobj.hxx.

SdrItemPool * SdrObject::mpGlobalItemPool = nullptr
staticprivate

Definition at line 1018 of file svdobj.hxx.

Referenced by GetGlobalDrawObjectItemPool().

std::unique_ptr<Impl> SdrObject::mpImpl
private
SdrObjList* SdrObject::mpParentOfSdrObject
private

Definition at line 1000 of file svdobj.hxx.

Referenced by getParentSdrObjListFromSdrObject(), and setParentOfSdrObject().

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

Definition at line 1013 of file svdobj.hxx.

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

SvxShape* SdrObject::mpSvxShape
private

Definition at line 1021 of file svdobj.hxx.

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

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

Definition at line 1015 of file svdobj.hxx.

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

SdrModel& SdrObject::mrSdrModelFromSdrObject
private

Definition at line 341 of file svdobj.hxx.

Referenced by getSdrModelFromSdrObject(), and MakeNameUnique().

sal_uInt32 SdrObject::nOrdNum
private

Definition at line 1001 of file svdobj.hxx.

Referenced by Equals(), GetOrdNum(), and SetOrdNum().

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

Definition at line 1002 of file svdobj.hxx.

Referenced by GetGrabBagItem(), operator=(), SetGrabBagItem(), and ~SdrObject().

std::unique_ptr<SdrObjPlusData> SdrObject::pPlusData
protected
SdrObjUserCall* SdrObject::pUserCall
protected

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