LibreOffice Module svx (master) 1
|
Abstract DrawObject. More...
#include <svdobj.hxx>
Classes | |
struct | Impl |
Public Member Functions | |
virtual const std::shared_ptr< svx::diagram::IDiagramHelper > & | getDiagramHelper () const |
bool | isDiagram () const |
const SdrObject * | getFillGeometryDefiningShape () 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 |
SdrPage * | getSdrPageFromSdrObject () const |
SdrModel & | getSdrModelFromSdrObject () const |
virtual SdrObjList * | getChildrenOfSdrObject () const |
SdrObjList * | getParentSdrObjListFromSdrObject () const |
SdrObject * | getParentSdrObjectFromSdrObject () const |
virtual void | handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage) |
void | AddObjectUser (sdr::ObjectUser &rNewUser) |
void | RemoveObjectUser (sdr::ObjectUser &rOldUser) |
sdr::contact::ViewContact & | GetViewContact () const |
virtual sdr::properties::BaseProperties & | GetProperties () 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 () |
SfxItemPool & | GetObjectItemPool () 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 SdrObjList * | GetSubList () 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::Rectangle & | GetCurrentBoundRect () const |
virtual const tools::Rectangle & | GetLastBoundRect () const |
virtual void | RecalcBoundRect () |
void | BroadcastObjectChange () const |
const SfxBroadcaster * | GetBroadcaster () const |
virtual void | SetChanged () |
void | SingleObjectPainter (OutputDevice &rOut) const |
bool | LineGeometryUsageIsNecessary () const |
virtual bool | HasLimitedRotation () const |
virtual rtl::Reference< SdrObject > | CloneSdrObject (SdrModel &rTargetModel) const =0 |
SdrObject & | operator= (const SdrObject &rObj)=delete |
SdrObject & | operator= (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< SdrObject > | 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, 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::Rectangle & | GetSnapRect () const |
virtual void | SetSnapRect (const tools::Rectangle &rRect) |
virtual void | NbcSetSnapRect (const tools::Rectangle &rRect) |
virtual const tools::Rectangle & | GetLogicRect () 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< SdrObjGeoData > | GetGeoData () const |
virtual void | SetGeoData (const SdrObjGeoData &rGeo) |
const SfxItemSet & | GetMergedItemSet () const |
void | SetMergedItem (const SfxPoolItem &rItem) |
void | ClearMergedItem (const sal_uInt16 nWhich=0) |
void | SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false) |
const SfxPoolItem & | GetMergedItem (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) |
SfxStyleSheet * | GetStyleSheet () const |
virtual bool | HasTextEdit () const |
void | SetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject) |
virtual void | NbcSetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject) |
virtual OutlinerParaObject * | GetOutlinerParaObject () const |
virtual void | NbcReformatText () |
void | BurnInStyleSheetAttributes () |
virtual bool | HasMacro () const |
virtual SdrObject * | CheckMacroHit (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 SdrGluePointList * | GetGluePointList () const |
virtual SdrGluePointList * | ForceGluePointList () |
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 SdrObject * | GetConnectedNode (bool bTail1) const |
virtual void | SetContextWritingMode (const sal_Int16 _nContextWritingMode) |
virtual rtl::Reference< SdrObject > | DoConvertToPolyObj (bool bBezier, bool bAddText) const |
rtl::Reference< SdrObject > | ConvertToPolyObj (bool bBezier, bool bLineToArea) const |
rtl::Reference< SdrObject > | ConvertToContourObj (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 |
SdrObjUserData * | GetUserData (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::Rectangle & | GetBLIPSizeRectangle () 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) |
SdrObjUserCall * | GetUserCall () const |
void | SetDoNotInsertIntoPageAutomatically (bool bSet) |
bool | IsDoNotInsertIntoPageAutomatically () const |
sal_uInt32 | GetOrdNumDirect () const |
bool | DoesSupportTextIndentingOnLineWidthChange () const |
const Point & | GetAnchorPos () 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 Graphic * | getFillGraphic () 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 |
SfxBroadcaster * | GetBroadcasterJOE (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 SdrItemPool & | GetGlobalDrawObjectItemPool () |
template<class T > | |
static rtl::Reference< T > | Clone (T const &rObj, SdrModel &rTargetModel) |
static SdrObject * | getSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt) |
Protected Member Functions | |
const tools::Rectangle & | getOutRectangle () 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::BaseProperties > | CreateObjectSpecificProperties () |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () |
tools::Rectangle | ImpDragCalcRect (const SdrDragStat &rDrag) const |
OUString | ImpGetDescriptionStr (TranslateId pStrCacheID) const |
void | ImpForcePlusData () |
OUString | GetMetrStr (tools::Long nVal) const |
virtual std::unique_ptr< SdrObjGeoData > | NewGeoData () 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 SfxItemSet & | GetObjectItemSet () const |
void | SetObjectItem (const SfxPoolItem &rItem) |
void | SetObjectItemSet (const SfxItemSet &rSet) |
const SfxPoolItem & | GetObjectItem (const sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetObjectItem (TypedWhichId< T > nWhich) const |
const SfxItemSet * | getBackgroundFillSet () 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 |
SdrObjUserCall * | m_pUserCall |
std::unique_ptr< SdrObjPlusData > | m_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< SdrObject > | ImpConvertToContourObj (bool bForceLineDash) |
SvxShape * | getSvxShape () |
only for internal use! More... | |
SdrObject (const SdrObject &)=delete | |
Private Attributes | |
const SdrObject * | mpFillGeometryDefiningShape |
SdrModel & | mrSdrModelFromSdrObject |
std::unique_ptr< Impl > | mpImpl |
SdrObjList * | mpParentOfSdrObject |
sal_uInt32 | m_nOrdNum |
std::unique_ptr< SfxGrabBagItem > | m_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::BaseProperties > | mpProperties |
std::unique_ptr< sdr::contact::ViewContact > | mpViewContact |
SvxShape * | mpSvxShape |
css::uno::WeakReference< css::drawing::XShape > | maWeakUnoShape |
bool | mbDoNotInsertIntoPageAutomatically |
OUString | msHyperlink |
Friends | |
class | SdrObjListIter |
class | SdrObjList |
class | SdrVirtObj |
class | SdrRectObj |
class | EnhancedCustomShape2d |
Abstract DrawObject.
Definition at line 259 of file svdobj.hxx.
SdrObject::SdrObject | ( | SdrModel & | rSdrModel | ) |
Definition at line 349 of file svdobj.cxx.
References getSdrModelFromSdrObject(), impAddIncarnatedSdrObjectToSdrModel(), m_bClosedObj, m_bEmptyPresObj, m_bIs3DObj, m_bIsEdge, m_bIsUnoObj, m_bMarkProt, m_bMovProt, m_bNoPrint, m_bNotVisibleAsMaster, m_bSizProt, m_bSnapRectDirty, m_bVirtObj, mbLineIsOutsideGeometry, mbSupportTextIndentingOnLineWidthChange, mbVisible, and SAL_MAX_UINT32.
Definition at line 387 of file svdobj.cxx.
References sdr::properties::BaseProperties::Clone(), getOutRectangle(), GetProperties(), getSdrModelFromSdrObject(), impAddIncarnatedSdrObjectToSdrModel(), m_aAnchor, m_bClosedObj, m_bEmptyPresObj, m_bIs3DObj, m_bIsEdge, m_bIsUnoObj, m_bMarkProt, m_bMovProt, m_bNoPrint, m_bNotVisibleAsMaster, m_bSizProt, m_bSnapRectDirty, m_bVirtObj, m_pGrabBagItem, m_pPlusData, mbLineIsOutsideGeometry, mbSupportTextIndentingOnLineWidthChange, mbVisible, mnLayerID, mpProperties, mpViewContact, SAL_MAX_UINT32, and setOutRectangle().
|
overrideprotectedvirtual |
Definition at line 457 of file svdobj.cxx.
References DBG_ASSERT, Delete, GetLastBoundRect(), getSdrModelFromSdrObject(), impRemoveIncarnatedSdrObjectToSdrModel(), m_pGrabBagItem, m_pPlusData, cppu::OWeakObject::m_refCount, mpImpl, mpProperties, mpViewContact, o3tl::reset_preserve_ptr_during(), and SendUserCall().
|
privatedelete |
|
finaloverridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Definition at line 487 of file svdobj.cxx.
References cppu::OWeakObject::m_refCount.
void SdrObject::ActionChanged | ( | ) | const |
Definition at line 273 of file svdobj.cxx.
References sdr::contact::ViewContact::ActionChanged(), and GetViewContact().
Referenced by SdrCaptionObj::applySpecialDrag(), FmFormView::ChangeDesignMode(), SdrMediaObj::getSnapshot(), SdrEdgeObj::ImpRecalcEdgeTrack(), SdrGrafObj::ImpSetLinkedGraphic(), SdrObjList::InsertObject(), sdr::properties::TextProperties::ItemSetChanged(), SdrObjCustomShape::NbcMove(), SdrTextObj::NbcReformatText(), SdrTextObj::NbcSetOutlinerParaObjectForText(), SdrEdgeObj::Notify(), SdrVirtObj::Notify(), sdr::properties::TextProperties::Notify(), sdr::table::SdrTableObj::onEditOutlinerStatusEvent(), sdr::properties::E3dCompoundProperties::PostItemChange(), sdr::properties::E3dLatheProperties::PostItemChange(), sdr::properties::E3dSphereProperties::PostItemChange(), SdrUndoObjSetText::Redo(), SdrObjList::RemoveObject(), sdr::table::SdrTableObj::RestoreGeoData(), E3dSphereObj::SetCenter(), SetChanged(), E3dCubeObj::SetCubePos(), E3dCubeObj::SetCubeSize(), SdrObjList::SetExistingObjectOrdNum(), SdrGrafObj::SetGrafAnimationAllowed(), E3dLatheObj::SetPolyPoly2D(), E3dCubeObj::SetPosIsCenter(), E3dSphereObj::SetSize(), SdrTextObj::SetTextAnimationAllowed(), SdrMeasureObj::TRSetBaseGeometry(), SdrUndoObjSetText::Undo(), and sdr::table::SdrTableObjImpl::update().
|
virtual |
Reimplemented in SdrGrafObj.
Definition at line 1255 of file svdobj.cxx.
Referenced by SdrMarkView::SetMarkHandles().
void SdrObject::AddListener | ( | SfxListener & | rListener | ) |
Definition at line 676 of file svdobj.cxx.
References ImpForcePlusData(), m_pPlusData, and SfxListener::StartListening().
Referenced by AddReference(), SdrEdgeObj::ConnectToNode(), and SdrEdgeObj::RestoreGeoData().
void SdrObject::AddObjectUser | ( | sdr::ObjectUser & | rNewUser | ) |
Definition at line 238 of file svdobj.cxx.
References mpImpl.
Referenced by sdr::table::CellUndo::CellUndo(), SdrMark::SdrMark(), SdrMark::SetMarkedSdrObj(), and SvxTextEditSourceImpl::SvxTextEditSourceImpl().
void SdrObject::AddReference | ( | SdrVirtObj & | rVrtObj | ) |
Definition at line 702 of file svdobj.cxx.
References AddListener().
|
virtual |
Reimplemented in E3dCompoundObject, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1231 of file svdobj.cxx.
References SdrHdlList::AddHdl(), tools::Rectangle::BottomCenter(), tools::Rectangle::BottomLeft(), tools::Rectangle::BottomRight(), GetSnapRect(), Left, tools::Rectangle::LeftCenter(), Lower, LowerLeft, LowerRight, Right, tools::Rectangle::RightCenter(), tools::Rectangle::TopCenter(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), Upper, UpperLeft, and UpperRight.
Referenced by SdrMarkView::SetMarkHandles().
|
virtual |
Reimplemented in SdrPathObj, and SdrVirtObj.
Definition at line 1251 of file svdobj.cxx.
Referenced by SdrMarkView::ImpMarkPoint(), and SdrMarkView::SetMarkHandles().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrGrafObj, SdrMediaObj, and sdr::table::SdrTableObj.
Definition at line 1682 of file svdobj.cxx.
References SetLogicRect().
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().
void SdrObject::ApplyNotPersistAttr | ( | const SfxItemSet & | rAttr | ) |
Definition at line 2019 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), m_pUserCall, NbcApplyNotPersistAttr(), Resize, SendUserCall(), and SetChanged().
Referenced by SvxShape::_setPropertyValue(), SvxShape::ObtainSettingsFromPropertySet(), and SdrEditView::SetNotPersistAttrToMarked().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1358 of file svdobj.cxx.
References GetSnapRect(), ImpDragCalcRect(), and NbcSetSnapRect().
Referenced by SdrDragObjOwn::EndSdrDrag().
|
virtual |
Reimplemented in E3dScene, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1417 of file svdobj.cxx.
|
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().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrObjGroup, SdrMeasureObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, and SdrVirtObj.
Definition at line 1347 of file svdobj.cxx.
References SdrDragStat::GetHdl(), SdrHdl::GetKind(), Left, Lower, LowerLeft, LowerRight, Move, Right, Upper, UpperLeft, and UpperRight.
Referenced by SdrDragObjOwn::BeginSdrDrag(), SdrCircObj::beginSpecialDrag(), and SdrRectObj::beginSpecialDrag().
|
virtual |
Reimplemented in E3dScene, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1413 of file svdobj.cxx.
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().
void SdrObject::BurnInStyleSheetAttributes | ( | ) |
Definition at line 1842 of file svdobj.cxx.
References sdr::properties::BaseProperties::ForceStyleToHardAttributes(), and GetProperties().
Referenced by SdrObjList::BurnInStyleSheetAttributes().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1852 of file svdobj.cxx.
References SdrObjMacroHitRec::aPos, SdrObjMacroHitRec::pPageView, SdrObjMacroHitRec::pVisiLayer, and SdrObjectPrimitiveHit().
Referenced by IsMacroHit().
void SdrObject::ClearMergedItem | ( | const sal_uInt16 | nWhich = 0 | ) |
Definition at line 1989 of file svdobj.cxx.
References sdr::properties::BaseProperties::ClearMergedItem(), and GetProperties().
Referenced by SvxShape::_setPropertyToDefault(), sdr::properties::E3dSceneProperties::ClearMergedItem(), CorrectCalloutArrows(), SdrEditView::ImpCopyAttributes(), impl_execute(), SvxShape::setAllPropertiesToDefault(), and SvxShape::setPropertyToDefaultImpl().
|
inlinestatic |
Definition at line 449 of file svdobj.hxx.
Referenced by SvxXConnectionPreview::Construct(), CompressGraphicsDialog::GetCompressedSdrGrafObj(), SdrEdgeObj::getFullDragClone(), sdr::table::SvxTableController::GetMarkedSdrObjClone(), E3dView::ImpCloneAll3DObjectsToDestScene(), SdrTextObj::ImpSetContourPolygon(), SdrPathObj::RipPoint(), and SdrExternalToolEdit::Update().
|
pure virtual |
Implemented 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.
Referenced by SvxXConnectionPreview::Construct(), SdrEditView::CopyMarkedObj(), SdrObjList::CopyObjects(), SdrObjCustomShape::DoConvertToPolyObj(), getFullDragClone(), ImpConvertToContourObj(), ImpCreateShadowObjectClone(), SdrEditView::ImpDismantleOneObject(), ImpSdrPdfImport::InsertObj(), ImpSdrGDIMetaFileImport::InsertObj(), svx::FontWorkGalleryDialog::insertSelectedFontwork(), SdrExchangeView::Paste(), and TakeContour().
|
virtual |
Reimplemented in SdrEdgeObj.
Definition at line 2368 of file svdobj.cxx.
Referenced by SvxShapeConnector::connectEnd(), SvxShapeConnector::connectStart(), and SdrDragMethod::CreateOverlayGeometry().
rtl::Reference< SdrObject > SdrObject::ConvertToContourObj | ( | SdrObject * | pRet, |
bool | bForceLineDash = false |
||
) | const |
Definition at line 2581 of file svdobj.cxx.
References a, ConvertToContourObj(), get(), GetLayer(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), getSdrModelFromSdrObject(), and basegfx::utils::simplifyCurveSegments().
Referenced by ConvertToContourObj(), ConvertToPolyObj(), EnhancedCustomShape3d::Create3DObject(), and E3dView::ImpCreate3DObject().
rtl::Reference< SdrObject > SdrObject::ConvertToPolyObj | ( | bool | bBezier, |
bool | bLineToArea | ||
) | const |
Definition at line 2620 of file svdobj.cxx.
References ConvertToContourObj(), DoConvertToPolyObj(), and GetLayer().
Referenced by E3dView::ConvertMarkedToPolyObj(), EnhancedCustomShape3d::Create3DObject(), SdrEditView::ImpConvertOneObj(), E3dView::ImpCreate3DObject(), SdrEditView::ImpGetPolyPolygon1(), ImpSdrPdfImport::InsertObj(), ImpSdrGDIMetaFileImport::InsertObj(), IMapWindow::SdrObjChanged(), and IMapWindow::SdrObjCreated().
|
protectedvirtual |
Reimplemented in E3dLatheObj, E3dObject, E3dCompoundObject, E3dScene, E3dSphereObj, SdrObjCustomShape, SdrAttrObj, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrOle2Obj, SdrPageObj, SdrRectObj, sdr::table::SdrTableObj, and SdrTextObj.
Definition at line 215 of file svdobj.cxx.
Referenced by GetProperties().
|
protectedvirtual |
Reimplemented in E3dCubeObj, E3dLatheObj, E3dScene, E3dSphereObj, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrMediaObj, SdrOle2Obj, SdrPageObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, SdrUnoObj, and SdrVirtObj.
Definition at line 256 of file svdobj.cxx.
Referenced by GetViewContact().
|
virtual |
Definition at line 1567 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), m_pUserCall, NbcCrop(), Resize, SendUserCall(), and SetChanged().
Referenced by SdrDragCrop::EndSdrDrag(), and SdrUIObject::execute().
void SdrObject::DeleteUserData | ( | sal_uInt16 | nNum | ) |
Definition at line 2744 of file svdobj.cxx.
References GetUserDataCount(), m_pPlusData, and nCount.
Referenced by SdrTextObj::ReleaseTextLink().
void SdrObject::DelReference | ( | SdrVirtObj & | rVrtObj | ) |
Definition at line 707 of file svdobj.cxx.
References RemoveListener().
|
virtual |
Reimplemented in SdrEdgeObj.
Definition at line 2372 of file svdobj.cxx.
Referenced by SvxShapeConnector::disconnectBegin(), and SvxShapeConnector::disconnectEnd().
|
virtual |
Reimplemented in E3dCubeObj, E3dLatheObj, E3dSphereObj, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrOle2Obj, SdrPathObj, SdrRectObj, and SdrTextObj.
Definition at line 2639 of file svdobj.cxx.
Referenced by ConvertToPolyObj(), and SdrObjGroup::DoConvertToPolyObj().
|
inline |
Definition at line 847 of file svdobj.hxx.
Referenced by sdr::properties::TextProperties::ItemChange().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1884 of file svdobj.cxx.
Referenced by SdrObjEditView::EndMacroObj().
|
virtual |
Reimplemented in SdrObjGroup, and sdr::table::SdrTableObj.
Definition at line 1771 of file svdobj.cxx.
References GetDescription(), GetName(), GetOrdNumDirect(), GetOutlinerParaObject(), getOutRectangle(), GetTitle(), m_pGrabBagItem, mpProperties, and toString().
Referenced by SdrObjGroup::dumpAsXml(), and sdr::table::SdrTableObj::dumpAsXml().
|
virtual |
Reimplemented in E3dScene, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1403 of file svdobj.cxx.
References ForceEnd, SdrDragStat::GetPointCount(), tools::Rectangle::Normalize(), setOutRectangle(), and SdrDragStat::TakeCreateRect().
bool SdrObject::Equals | ( | const SdrObject & | rOtherObj | ) | const |
Definition at line 1758 of file svdobj.cxx.
References Equals(), GetMergedItemSet(), m_aAnchor, m_bClosedObj, m_bEmptyPresObj, m_bIs3DObj, m_bIsEdge, m_bMarkProt, m_bMovProt, m_bNoPrint, m_bNotVisibleAsMaster, m_bSizProt, m_bVirtObj, m_nOrdNum, mbLineIsOutsideGeometry, mbSupportTextIndentingOnLineWidthChange, mbVisible, mnLayerID, mnNavigationPosition, Point::X(), and Point::Y().
Referenced by Equals().
|
virtual |
Reimplemented in SdrObjCustomShape, and SdrEdgeObj.
Definition at line 2319 of file svdobj.cxx.
References ImpForcePlusData(), and m_pPlusData.
Referenced by EnhancedCustomShape2d::ApplyGluePoints(), SdrDragView::BegInsGluePoint(), SdrGlueEditView::DeleteMarkedGluePoints(), SdrObjCustomShape::ForceGluePointList(), SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded(), SdrGlueEditView::ImpCopyMarkedGluePoints(), SdrGlueEditView::ImpDoMarkedGluePoints(), SdrGlueEditView::ImpTransformMarkedGluePoints(), NbcMirrorGluePoints(), NbcRotateGluePoints(), NbcShearGluePoints(), and SetGlueReallyAbsolute().
|
noexcept |
Definition at line 3156 of file svdobj.cxx.
References o3tl::convert(), basegfx::utils::createScaleB2DHomMatrix(), o3tl::invalid, MapToO3tlLength(), and o3tl::mm100.
const Point & SdrObject::GetAnchorPos | ( | ) | const |
Definition at line 1653 of file svdobj.cxx.
References m_aAnchor.
Referenced by SvxShape::getPosition(), SvxCustomShape::getPosition(), SvxShape::getPropertyValueImpl(), SdrTextObj::ImpConvertContainedTextToSdrPathObjs(), SdrObjList::InsertObject(), SvxShape::setPosition(), TRGetBaseGeometry(), SdrObjCustomShape::TRGetBaseGeometry(), SdrMeasureObj::TRGetBaseGeometry(), SdrPathObj::TRGetBaseGeometry(), SdrTextObj::TRGetBaseGeometry(), TRSetBaseGeometry(), SdrObjCustomShape::TRSetBaseGeometry(), SdrCaptionObj::TRSetBaseGeometry(), SdrMeasureObj::TRSetBaseGeometry(), SdrPathObj::TRSetBaseGeometry(), SdrTextObj::TRSetBaseGeometry(), and SdrUndoRemoveObj::Undo().
|
protected |
Definition at line 897 of file svdotextdecomposition.cxx.
References SfxItemSet::Get(), SdrPageProperties::GetItemSet(), GetObjectItemSet(), getSdrPageFromSdrObject(), SdrPage::getSdrPageProperties(), SdrPage::IsMasterPage(), SdrPage::TRG_GetMasterPage(), SdrPage::TRG_HasMasterPage(), and XATTR_FILLSTYLE().
Referenced by getFillGraphic(), and setSuitableOutlinerBg().
|
inline |
Definition at line 819 of file svdobj.hxx.
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().
|
virtual |
Reimplemented in E3dScene, and SdrObjGroup.
Definition at line 323 of file svdobj.cxx.
Referenced by SdrObjList::ImplReformatAllEdgeObjects(), and SdrObjListIter::ImpProcessObj().
|
virtual |
Reimplemented in SdrEdgeObj.
Definition at line 2376 of file svdobj.cxx.
Referenced by SdrEditView::CreateConnectorUndo(), and SdrDragMethod::CreateOverlayGeometry().
|
virtual |
Reimplemented in SdrEdgeObj, and SdrRectObj.
Definition at line 2296 of file svdobj.cxx.
References tools::Rectangle::BottomLeft(), tools::Rectangle::BottomRight(), tools::Rectangle::Center(), GetCurrentBoundRect(), GetSnapRect(), SdrGluePoint::SetPercent(), tools::Rectangle::TopLeft(), and tools::Rectangle::TopRight().
Referenced by SdrEdgeObj::CheckNodeConnection(), and SdrObjConnection::TakeGluePoint().
|
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.
|
virtual |
Reimplemented in SdrEdgeObj, SdrObjGroup, and SdrVirtObj.
Definition at line 962 of file svdobj.cxx.
References getOutRectangle(), and RecalcBoundRect().
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), SdrMarkView::CheckSingleSdrObjectHit(), sdr::table::SdrTableObj::createTableEdgesJson(), SvxTextEditSourceImpl::CreateViewForwarder(), SdrEditView::ForceMarkedObjToAnotherPage(), GetCornerGluePoint(), SdrEdgeObj::GetCurrentBoundRect(), SdrMarkView::GetMarkedObjBoundRect(), SdrGrafObj::getMetafileFromEmbeddedVectorGraphicData(), SdrExchangeView::GetObjGraphic(), SdrEdgeObj::ImpCalcEdgeTrack(), SdrEdgeObj::ImpFindConnector(), svxform::FormControlFactory::initializeControlModel(), SdrMarkView::MarkObj(), SdrDragMove::MoveSdrDrag(), SdrEditView::MovMarkedToBtm(), SdrEditView::MovMarkedToTop(), SdrView::PickAnything(), SdrMarkView::PickMarkedObj(), SdrObjList::RecalcRects(), FmFormPage::RequestHelp(), SaveGeoData(), SetOutlinerParaObject(), SvxTextEditSourceImpl::SetupOutliner(), SdrSnapView::SnapPos(), SdrObjEditView::TakeActionRect(), SdrMarkList::TakeBoundRect(), TakeXorPoly(), and SvxTextEditSourceImpl::UpdateOutliner().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 861 of file svdobj.cxx.
References m_pPlusData.
Referenced by dumpAsXml(), accessibility::AccessibleShape::getAccessibleDescription(), and SetDescription().
|
virtual |
Reimplemented in SdrObjGroup.
Definition at line 207 of file svdobj.cxx.
Referenced by SdrUndoDiagramModelData::SdrUndoDiagramModelData().
|
inline |
Definition at line 290 of file svdobj.hxx.
const Graphic * SdrObject::getFillGraphic | ( | ) | const |
Definition at line 920 of file svdotextdecomposition.cxx.
References SfxItemSet::Get(), getBackgroundFillSet(), IsGroupObject(), XATTR_FILLBITMAP(), and XATTR_FILLSTYLE().
|
virtual |
Reimplemented in SdrEdgeObj, SdrGrafObj, SdrOle2Obj, SdrTextObj, and SdrVirtObj.
Definition at line 1341 of file svdobj.cxx.
References CloneSdrObject(), and getSdrModelFromSdrObject().
Referenced by SdrDragObjOwn::BeginSdrDrag(), SdrDragCrop::EndSdrDrag(), SdrTextObj::getFullDragClone(), SdrDragObjOwn::MoveSdrDrag(), and SdrDragEntrySdrObject::prepareCurrentState().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1950 of file svdobj.cxx.
References NewGeoData(), and SaveGeoData().
|
static |
Definition at line 548 of file svdobj.cxx.
References EditEngine::CreatePool(), SdrEngineDefaults::GetMapUnit(), comphelper::getProcessComponentContext(), utl::ConfigManager::IsFuzzing(), and mpGlobalItemPool.
Referenced by SvxDrawPage::CreateShapeByTypeAndInventor(), and ImplGetSvxCellPropertySet().
|
virtual |
Reimplemented in SdrObjCustomShape, and SdrEdgeObj.
Definition at line 2312 of file svdobj.cxx.
References m_pPlusData.
Referenced by SdrEdgeObj::CheckNodeConnection(), sdr::contact::ViewContactOfSdrObj::createGluePointPrimitive2DSequence(), SdrDragMethod::createSdrDragEntries_GlueDrag(), SdrMarkView::dumpGluePointsToJSON(), SdrObjCustomShape::GetGluePointList(), SdrPaintView::GlueInvalidate(), SdrMarkView::HasMarkableGluePoints(), SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded(), SdrGlueEditView::ImpDoMarkedGluePoints(), SdrEdgeObj::ImpFindConnector(), SdrMarkView::MarkGluePoints(), SdrDragMove::MoveSdrDrag(), NbcMirrorGluePoints(), NbcRotateGluePoints(), NbcShearGluePoints(), SdrMarkView::PickGluePoint(), SdrEdgeObj::setGluePointIndex(), SetGlueReallyAbsolute(), SdrMarkView::SetMarkHandles(), SdrObjConnection::TakeGluePoint(), and SdrMarkView::UndirtyMrkPnt().
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().
|
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.
|
inline |
Definition at line 883 of file svdobj.hxx.
Referenced by SvxShape::getPropertyValueImpl(), and SdrView::PickAnything().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 977 of file svdobj.cxx.
References getOutRectangle().
Referenced by SdrTextObj::AdjustTextFrameWidthAndHeight(), sdr::table::SdrTableObj::AdjustTextFrameWidthAndHeight(), ApplyNotPersistAttr(), sdr::table::SvxTableController::changeTableEdge(), sdr::contact::ViewObjectContactOfPageObj::createPrimitive2DSequence(), Crop(), SdrDragObjOwn::EndSdrDrag(), InsertedStateChange(), sdr::properties::ItemChangeBroadcaster::ItemChangeBroadcaster(), Mirror(), SdrObjGroup::Mirror(), Move(), SdrObjCustomShape::Move(), SdrObjGroup::Move(), SdrAttrObj::Notify(), sdr::properties::AttributeProperties::Notify(), Resize(), SdrObjGroup::Resize(), Rotate(), SdrObjGroup::Rotate(), SetAnchorPos(), SdrObjGroup::SetAnchorPos(), SetGeoData(), SetLogicRect(), SdrObjCustomShape::SetLogicRect(), SetOutlinerParaObject(), SdrPathObj::SetPathPoly(), SetPoint(), SetRelativePos(), SetSnapRect(), SdrObjCustomShape::SetSnapRect(), SdrObjGroup::SetSnapRect(), SetStyleSheet(), SdrCaptionObj::SetTailPos(), SdrTextObj::SetText(), Shear(), SdrObjGroup::Shear(), SdrPathObj::ToggleClosed(), SdrMeasureObj::TRSetBaseGeometry(), and ~SdrObject().
|
virtual |
Reimplemented in SdrObjGroup.
Definition at line 645 of file svdobj.cxx.
References mnLayerID.
Referenced by sdr::contact::ViewObjectContactOfUnoControl::ActionChanged(), SdrMarkView::CheckSingleSdrObjectHit(), ConvertToContourObj(), ConvertToPolyObj(), EnhancedCustomShape3d::Create3DObject(), SdrEditView::DeleteLayer(), SdrGrafObj::DoConvertToPolyObj(), SdrEditView::DoImportMarkedMtf(), SdrObjGroup::GetLayer(), SdrExchangeView::GetMarkedObjects(), SvxShape::getPropertyValueImpl(), E3dView::ImpCloneAll3DObjectsToDestScene(), SdrTextObj::ImpConvertContainedTextToSdrPathObjs(), SdrTextObj::ImpConvertMakeObj(), SdrEditView::ImpCopyAttributes(), E3dView::ImpCreateSingle3DObjectFlat(), SdrEditView::ImpDelLayerCheck(), SdrEditView::ImpDelLayerDelObjs(), SdrEdgeObj::ImpFindConnector(), sdr::contact::ViewObjectContactOfUnoControl_Impl::impl_adjustControlVisibilityToLayerVisibility_throw(), SdrPageView::IsObjMarkable(), isVisibleOnAnyOfTheseLayers(), SdrEditView::MergeNotPersistAttrFromMarked(), SdrUnoObj::NbcSetLayer(), SdrView::PickAnything(), SdrMarkView::PickObj(), E3dScene::RebuildLists(), SdrObjEditView::SdrBeginTextEdit(), SdrObjectPrimitiveHit(), and TakeNotPersistAttr().
|
virtual |
Reimplemented in SdrCaptionObj, SdrPathObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1672 of file svdobj.cxx.
References GetSnapRect().
Referenced by SdrMarkView::dumpGluePointsToJSON(), SdrEditView::EqualizeMarkedObjects(), SvxIMapInfo::GetHitIMapObject(), SdrEditView::MergeNotPersistAttrFromMarked(), NbcApplyNotPersistAttr(), svx_getLogicRectHack(), and TakeNotPersistAttr().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1862 of file svdobj.cxx.
Referenced by SdrView::GetPreferredPointer().
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().
|
inline |
Definition at line 619 of file svdobj.hxx.
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().
|
protected |
Definition at line 1126 of file svdobj.cxx.
References SdrModel::GetMetricString(), and getSdrModelFromSdrObject().
Referenced by SdrRectObj::getSpecialDragComment().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 771 of file svdobj.cxx.
References EMPTY, m_pPlusData, and u.
Referenced by sdr::contact::ViewContactOfGraphic::createVIP2DSForDraft(), dumpAsXml(), accessibility::AccessibleShape::GetFullAccessibleName(), SvxShape::getName(), SdrObjList::GetObjByName(), ImpGetObjByName(), SdrTextObj::IsChainable(), MakeNameUnique(), SdrPage::MakePageObjectsNamesUnique(), SdrMarkView::SetMarkHandlesForLOKit(), SetName(), TakeNotPersistAttr(), SdrGrafObj::TakeObjNamePlural(), TakeObjNameSingul(), E3dCubeObj::TakeObjNameSingul(), E3dLatheObj::TakeObjNameSingul(), E3dObject::TakeObjNameSingul(), E3dScene::TakeObjNameSingul(), E3dSphereObj::TakeObjNameSingul(), SdrObjCustomShape::TakeObjNameSingul(), SdrCaptionObj::TakeObjNameSingul(), SdrCircObj::TakeObjNameSingul(), SdrEdgeObj::TakeObjNameSingul(), SdrGrafObj::TakeObjNameSingul(), SdrObjGroup::TakeObjNameSingul(), SdrMeasureObj::TakeObjNameSingul(), SdrMediaObj::TakeObjNameSingul(), SdrOle2Obj::TakeObjNameSingul(), SdrPageObj::TakeObjNameSingul(), SdrPathObj::TakeObjNameSingul(), SdrRectObj::TakeObjNameSingul(), sdr::table::SdrTableObj::TakeObjNameSingul(), SdrTextObj::TakeObjNameSingul(), and SdrUnoObj::TakeObjNameSingul().
sal_uInt32 SdrObject::GetNavigationPosition | ( | ) | const |
Definition at line 941 of file svdobj.cxx.
References GetOrdNum(), getParentSdrObjListFromSdrObject(), and mnNavigationPosition.
Referenced by ImpSdrMarkListSorter(), and SdrMarkView::MarkNextObj().
|
protected |
Definition at line 2004 of file svdobj.cxx.
References SfxItemSet::Get(), and GetObjectItemSet().
Referenced by SdrObjCustomShape::AdaptTextMinSize(), SdrEdgeObj::AddToHdlList(), SdrTextObj::autoFitTextForCompatibility(), SdrTextObj::GetFitToSize(), SdrEdgeObj::GetHdlCount(), HasFillStyle(), HasLineStyle(), SdrEdgeObj::ImpCalcEdgeTrack(), SdrAttrObj::ImpGetLineWdt(), ImpEdgeHdl::IsHorzDrag(), sdr::table::SdrTableObj::IsVerticalWriting(), SdrGrafObj::TakeObjNamePlural(), and SdrGrafObj::TakeObjNameSingul().
|
inlineprotected |
Definition at line 952 of file svdobj.hxx.
SfxItemPool & SdrObject::GetObjectItemPool | ( | ) | const |
Definition at line 616 of file svdobj.cxx.
References SdrModel::GetItemPool(), and getSdrModelFromSdrObject().
Referenced by TakeContour().
|
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().
|
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().
|
virtual |
Reimplemented in E3dObject, and SdrVirtObj.
Definition at line 621 of file svdobj.cxx.
References Default.
Referenced by SdrObjEditView::ApplyFormatPaintBrush(), SdrCreateView::BegCreatePreparedObject(), SvxXConnectionPreview::Construct(), SvxDrawPage::CreateShape(), SvxFmDrawPage::CreateShape(), sdr::contact::ViewObjectContact::createStructureTag(), DynCastE3dObject(), DynCastE3dScene(), sdr::properties::TextProperties::ForceDefaultAttributes(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SC(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SD(), SvxTextEditSourceImpl::GetEditModeTextForwarder(), svx::sidebar::SelectionAnalyzer::GetInventorTypeFromMark(), getUnoShape(), SdrEditView::ImpDismantleOneObject(), SdrMarkView::ImpIsFrameHandles(), SvxShape::impl_initFromSdrObject(), FmXUndoEnvironment::Inserted(), isControlList(), SdrView::MarkAll(), SdrMarkView::MarkListHasChanged(), SdrObjEditView::MarkListHasChanged(), FmXUndoEnvironment::Removed(), FmXFormView::restoreMarkList(), FmXFormView::saveMarkList(), sdr::properties::TextProperties::SetStyleSheet(), svx_needLogicRectHack(), and SdrObjEditView::TakeFormatPaintBrush().
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 905 of file svdobj.cxx.
References getParentSdrObjListFromSdrObject(), and m_nOrdNum.
Referenced by SdrEditView::CombineMarkedObjects(), SdrEditView::DeleteLayer(), SdrEditView::DeleteMarkedList(), SdrPolyEditView::DeleteMarkedPoints(), SdrEditView::DismantleMarkedObjects(), SdrEditView::DoImportMarkedMtf(), SdrMarkView::dumpGluePointsToJSON(), SdrEditView::ForceMarkedObjToAnotherPage(), GetNavigationPosition(), SdrEditView::GroupMarked(), SdrEditView::ImpCheckToTopBtmPossible(), SdrEditView::ImpConvertOneObj(), SdrEditView::ImpDelLayerDelObjs(), SdrMarkList::InsertEntry(), SdrMarkView::MarkNextObj(), SdrEditView::MergeMarkedObjects(), SdrEditView::MovMarkedToBtm(), SdrEditView::MovMarkedToTop(), SdrEditView::PutMarkedBehindObj(), SdrEditView::PutMarkedInFrontOfObj(), E3dScene::removeAllNonSelectedObjects(), SdrEditView::ReplaceObjectAtView(), SdrEditView::ReverseOrderOfMarked(), SdrPolyEditView::RipUpAtMarkedPoints(), and SdrEditView::UnGroupMarked().
|
inline |
Definition at line 844 of file svdobj.hxx.
Referenced by SdrEditView::DeleteMarkedList(), SdrEditView::DismantleMarkedObjects(), dumpAsXml(), SdrEditView::GroupMarked(), SdrEdgeObj::ImpFindConnector(), SdrEditView::MovMarkedToBtm(), SdrEditView::MovMarkedToTop(), SdrEditView::PutMarkedBehindObj(), SdrEditView::PutMarkedInFrontOfObj(), and SdrEditView::ReverseOrderOfMarked().
|
virtual |
Reimplemented in SdrMeasureObj, sdr::table::SdrTableObj, and SdrTextObj.
Definition at line 1833 of file svdobj.cxx.
Referenced by SdrEditView::CheckPossibilities(), dumpAsXml(), SdrObjEditView::GetScriptType(), SdrEditView::ImpGetPolyPolygon1(), accessibility::AccessibleShape::Init(), accessibility::AccessibleEmptyEditSource::Notify(), ImpSdrPdfImport::SetAttributes(), and ImpSdrGDIMetaFileImport::SetAttributes().
|
protected |
Definition at line 3173 of file svdobj.cxx.
References m_aOutRect.
Referenced by dumpAsXml(), GetCurrentBoundRect(), SdrObjGroup::GetCurrentBoundRect(), SdrVirtObj::GetCurrentBoundRect(), GetLastBoundRect(), SdrVirtObj::GetLastBoundRect(), GetSnapRect(), SdrObjGroup::GetSnapRect(), SdrEdgeObj::GetTailPoint(), SdrEdgeObj::ImpCalcEdgeTrack(), NbcMirror(), NbcResize(), SdrObjGroup::NbcResize(), RecalcBoundRect(), SdrObjGroup::Resize(), E3dScene::RotateScene(), SdrObject(), SdrMeasureObj::SetTextDirty(), and SdrObjGroup::TakeXorPoly().
SdrObject * SdrObject::getParentSdrObjectFromSdrObject | ( | ) | const |
Definition at line 722 of file svdobj.cxx.
References getParentSdrObjListFromSdrObject(), and SdrObjList::getSdrObjectFromSdrObjList().
Referenced by SdrPageView::CheckCurrentGroup(), sdr::contact::ViewObjectContact::createStructureTag(), SdrPageView::GetEnteredLevel(), accessibility::AccessibleShape::getGroupPosition(), E3dObject::getParentE3dSceneFromE3dObject(), SdrPageView::LeaveAllGroup(), SdrPageView::LeaveOneGroup(), SdrMarkView::MarkNextObj(), SdrView::PickAnything(), SvxShapeGroup::remove(), Svx3DSceneObject::remove(), SendUserCall(), and SetOutlinerParaObject().
SdrObjList * SdrObject::getParentSdrObjListFromSdrObject | ( | ) | const |
Definition at line 318 of file svdobj.cxx.
References mpParentOfSdrObject.
Referenced by SdrPageView::CheckCurrentGroup(), SdrEditView::CombineMarkedObjects(), SdrEditView::DeleteMarkedList(), SdrEditView::DismantleMarkedObjects(), SdrEditView::DoImportMarkedMtf(), GetNavigationPosition(), GetOrdNum(), sdr::contact::ViewContactOfSdrObj::GetParentContact(), getParentSdrObjectFromSdrObject(), getSdrPageFromSdrObject(), SdrEditView::GroupMarked(), SdrEditView::ImpCheckToTopBtmPossible(), SdrEditView::ImpConvertOneObj(), ImpSdrMarkListSorter(), InsertedStateChange(), SdrMarkList::InsertEntry(), SdrMarkView::MarkNextObj(), SdrEditView::MergeMarkedObjects(), SdrEditView::MovMarkedToBtm(), SdrEditView::MovMarkedToTop(), SdrView::PickAnything(), SdrEditView::PutMarkedBehindObj(), SdrEditView::PutMarkedInFrontOfObj(), SvxShapeGroup::remove(), Svx3DSceneObject::remove(), SdrEditView::ReplaceObjectAtView(), and SetBoundAndSnapRectsDirty().
|
virtual |
Reimplemented in SdrEdgeObj, SdrMeasureObj, SdrVirtObj, and SdrPathObj.
Definition at line 1735 of file svdobj.cxx.
Referenced by GetSnapPoint(), SdrEditView::ImpCrookObj(), and SdrEditView::ImpDistortObj().
|
virtual |
Reimplemented in SdrEdgeObj, SdrMeasureObj, SdrPathObj, and SdrVirtObj.
Definition at line 1730 of file svdobj.cxx.
Referenced by SdrMarkView::GetMarkablePointCount(), GetSnapPointCount(), SdrEditView::ImpCrookObj(), SdrEditView::ImpDistortObj(), and SdrMarkView::UndirtyMrkPnt().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 220 of file svdobj.cxx.
References CreateObjectSpecificProperties(), and mpProperties.
Referenced by BurnInStyleSheetAttributes(), sdr::properties::GroupProperties::ClearMergedItem(), ClearMergedItem(), sdr::properties::GroupProperties::ClearObjectItem(), EnhancedCustomShape3d::Create3DObject(), E3dLatheObj::E3dLatheObj(), E3dScene::E3dScene(), sdr::properties::GroupProperties::ForceStyleToHardAttributes(), GetMergedItemSet(), sdr::properties::E3dCompoundProperties::GetMergedItemSet(), GetObjectItemSet(), GetStyleSheet(), SdrAttrObj::HasFill(), SdrAttrObj::HasLine(), drawinglayer::attribute::ImpSdrTextAttribute::ImpSdrTextAttribute(), SdrCircObj::ImpSetCircInfoToAttr(), SdrEdgeObj::ImpSetEdgeInfoToAttr(), InternalSetStyleSheet(), sdr::table::SdrTableObjImpl::modified(), SdrTextObj::NbcSetOutlinerParaObjectForText(), SdrObject(), E3dScene::SetCamera(), E3dLatheObj::SetDefaultAttributes(), SetMergedItem(), sdr::properties::GroupProperties::SetMergedItem(), SetMergedItemSet(), sdr::properties::E3dCompoundProperties::SetMergedItemSet(), SetMergedItemSetAndBroadcast(), SetObjectItem(), SdrTextObj::SetObjectItemNoBroadcast(), SetObjectItemSet(), and E3dLatheObj::SetPolyPoly2D().
const double * SdrObject::GetRelativeHeight | ( | ) | const |
Definition at line 603 of file svdobj.cxx.
References mpImpl.
sal_Int16 SdrObject::GetRelativeHeightRelation | ( | ) | const |
Definition at line 611 of file svdobj.cxx.
References mpImpl.
|
virtual |
Reimplemented in SdrCaptionObj.
Definition at line 1625 of file svdobj.cxx.
References GetSnapRect(), m_aAnchor, and tools::Rectangle::TopLeft().
Referenced by SetRelativePos().
const double * SdrObject::GetRelativeWidth | ( | ) | const |
Definition at line 590 of file svdobj.cxx.
References mpImpl.
sal_Int16 SdrObject::GetRelativeWidthRelation | ( | ) | const |
Definition at line 598 of file svdobj.cxx.
References mpImpl.
|
virtual |
Reimplemented in SdrObjGroup, SdrMeasureObj, SdrTextObj, and SdrVirtObj.
Definition at line 1705 of file svdobj.cxx.
Referenced by SdrEditView::GetMarkedObjRotate(), SdrObjGroup::GetRotateAngle(), SdrEditView::MergeNotPersistAttrFromMarked(), NbcApplyNotPersistAttr(), SdrMarkView::SetMarkHandlesForLOKit(), and TakeNotPersistAttr().
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().
|
static |
Definition at line 4020 of file unoshape.cxx.
References SvxShape::GetSdrObject().
Referenced by accessibility::AccessibleShape::AccessibleShape(), SvxShapeConnector::connectEnd(), SvxShapeConnector::connectStart(), accessibility::ShapeTypeHandler::CreateAccessibleBaseName(), SdrObjCustomShape::DoConvertToPolyObj(), accessibility::AccessibleShape::getGroupPosition(), accessibility::AccessibleShape::getObjectLink(), EnhancedCustomShapeHandle::getPosition(), SdrObjCustomShape::GetSdrObjectFromCustomShape(), accessibility::AccessibleShape::Init(), accessibility::AccessibleControlShape::Init(), SdrObjCustomShape::NbcMove(), SvxDrawPage::remove(), SvxShapeGroup::remove(), Svx3DSceneObject::remove(), EnhancedCustomShapeHandle::setControllerPosition(), SdrObjList::SetNavigationOrder(), SvxShape::setPropertyValueImpl(), and SdrObjCustomShape::TakeObjInfo().
SdrPage * SdrObject::getSdrPageFromSdrObject | ( | ) | const |
Definition at line 279 of file svdobj.cxx.
References getParentSdrObjListFromSdrObject(), and SdrPage::getSdrPageFromSdrObjList().
Referenced by SdrEditView::AlignMarkedObjects(), SdrPageView::CheckCurrentGroup(), SdrEdgeObj::CheckNodeConnection(), SdrEditView::CreateConnectorUndo(), sdr::contact::createPrimitive2DSequenceImpl(), sdr::contact::ViewObjectContact::createStructureTag(), sdr::table::SvxTableController::EditCell(), getBackgroundFillSet(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), SdrEdgeObj::GetConnectedNode(), E3dScene::getSdrPageFromSdrObjList(), SdrObjGroup::getSdrPageFromSdrObjList(), SdrUnoObj::GetUnoControl(), getUnoShape(), SdrEdgeObj::ImpCalcEdgeTrack(), E3dView::ImpChangeSomeAttributesFor3DConversion(), E3dView::ImpChangeSomeAttributesFor3DConversion2(), SdrTextObj::impHandleChainingEventsDuringDecomposition(), ImpUpdateChainLinks(), SdrObjList::InsertObject(), E3dScene::InsertObject(), SdrPageView::IsObjMarkable(), SdrObjList::IsReadOnly(), sdr::properties::AttributeProperties::isUsedByModel(), NbcApplyNotPersistAttr(), E3dScene::NbcInsertObject(), SdrEdgeObj::NbcMirror(), SdrEdgeObj::NbcRotate(), SdrEdgeObj::NbcShear(), SdrEdgeObj::Notify(), SdrObjList::ReplaceObject(), SdrObjEditView::SdrBeginTextEdit(), SetChanged(), SdrObjList::SetExistingObjectOrdNum(), setParentOfSdrObject(), SingleObjectPainter(), and TakeNotPersistAttr().
|
virtual |
Reimplemented in SdrObjGroup, SdrTextObj, and SdrVirtObj.
Definition at line 1710 of file svdobj.cxx.
Referenced by SdrEditView::GetMarkedObjShear(), SdrObjGroup::GetShearAngle(), SdrEditView::MergeNotPersistAttrFromMarked(), NbcApplyNotPersistAttr(), and TakeNotPersistAttr().
|
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().
|
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().
|
virtual |
Reimplemented in SdrAttrObj, SdrEdgeObj, SdrObjGroup, sdr::table::SdrTableObj, and SdrVirtObj.
Definition at line 1662 of file svdobj.cxx.
References getOutRectangle().
Referenced by AddToHdlList(), SdrEditView::AlignMarkedObjects(), applySpecialDrag(), E3dView::ConvertMarkedObjTo3D(), sdr::contact::ViewContactOfSdrPathObj::createViewIndependentPrimitive2DSequence(), SdrDragCrook::EndSdrDrag(), SdrGluePoint::GetAbsolutePos(), GetCornerGluePoint(), GetLogicRect(), SdrMarkView::GetMarkedObjRect(), GetRelativePos(), GetVertexGluePoint(), GradTransformer::GradToVec(), SdrEdgeObj::ImpCalcEdgeTrack(), SdrEdgeObj::ImpCalcEscAngle(), SdrEditView::ImpCrookObj(), ImpDragCalcRect(), SdrEdgeObj::ImplAddConnectorOverlay(), SdrEditView::MergeNotPersistAttrFromMarked(), NbcApplyNotPersistAttr(), NbcResize(), NbcSetRelativePos(), SdrView::PickAnything(), SdrObjList::RecalcRects(), SdrGluePoint::SetAbsolutePos(), SdrEditView::SetMarkedObjRect(), SvxShape::setSize(), SdrSnapView::SnapPos(), svx_getLogicRectHack(), TakeNotPersistAttr(), SdrMarkList::TakeSnapRect(), TRGetBaseGeometry(), and GradTransformer::VecToGrad().
|
virtual |
Reimplemented in SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, SdrRectObj, SdrTextObj, and SdrVirtObj.
Definition at line 1370 of file svdobj.cxx.
Referenced by SdrDragObjOwn::GetSdrDragComment().
|
virtual |
Reimplemented in SdrPathObj, sdr::table::SdrTableObj, and SdrVirtObj.
Definition at line 1375 of file svdobj.cxx.
SfxStyleSheet * SdrObject::GetStyleSheet | ( | ) | const |
Definition at line 2244 of file svdobj.cxx.
References GetProperties(), and sdr::properties::BaseProperties::GetStyleSheet().
Referenced by SdrTextObj::BegTextEdit(), SdrOle2Obj::createSdrGrafObjReplacement(), SdrMeasureObj::DoConvertToPolyObj(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), SdrText::GetStyleSheet(), sdr::properties::E3dSceneProperties::GetStyleSheet(), sdr::properties::GroupProperties::GetStyleSheet(), SdrEditView::GetStyleSheetFromMarked(), SdrPage::GetTextStyleSheetForObject(), sdr::table::SdrTableObj::GetWritingMode(), E3dView::ImpCloneAll3DObjectsToDestScene(), SdrTextObj::ImpConvertContainedTextToSdrPathObjs(), SdrTextObj::ImpConvertMakeObj(), SdrEditView::ImpCopyAttributes(), E3dView::ImpCreateSingle3DObjectFlat(), SdrTextObj::ImpSetTextStyleSheetListeners(), SdrTextObj::NbcSetText(), sdr::table::SdrTableRTFParser::SdrTableRTFParser(), and SdrMeasureObj::UndirtyText().
|
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().
|
private |
only for internal use!
Definition at line 2852 of file svdobj.cxx.
References DBG_TESTSOLARMUTEX, maWeakUnoShape, and mpSvxShape.
Referenced by notifyShapePropertyChange(), and registerProvider().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 817 of file svdobj.cxx.
References m_pPlusData.
Referenced by dumpAsXml(), accessibility::AccessibleGraphicShape::getAccessibleImageDescription(), accessibility::AccessibleShape::getAccessibleName(), and SetTitle().
|
virtual |
Definition at line 2866 of file svdobj.cxx.
References SvxDrawPage::CreateShape(), SvxDrawPage::CreateShapeByTypeAndInventor(), GetObjIdentifier(), GetObjInventor(), SdrModel::GetPage(), getSdrModelFromSdrObject(), getSdrPageFromSdrObject(), SdrPage::getUnoPage(), maWeakUnoShape, mpSvxShape, and setUnoShape().
Referenced by SvxDrawPage::getByIndex(), SvxShapeGroup::getByIndex(), Svx3DSceneObject::getByIndex(), SvxShape::getParent(), SdrObjEditView::getTextSelection(), SvxDrawPage::group(), svx::SignatureLineHelper::setShapeCertificate(), and SvxGetGraphicForShape().
|
inline |
Definition at line 837 of file svdobj.hxx.
Referenced by sdr::table::SvxTableController::changeTableEdge(), SvxShape::Create(), sdr::contact::ViewObjectContact::createStructureTag(), SdrDragObjOwn::EndSdrDrag(), GraphCtrl::MouseButtonDown(), and SendUserCall().
SdrObjUserData * SdrObject::GetUserData | ( | sal_uInt16 | nNum | ) | const |
Definition at line 2723 of file svdobj.cxx.
References m_pPlusData.
Referenced by CreateIMapGraphic(), IMapWindow::GetImageMap(), IMapWindow::GetIMapObj(), SdrTextObj::GetLinkUserData(), SdrTextObj::ReleaseTextLink(), and IMapWindow::SdrObjChanged().
sal_uInt16 SdrObject::GetUserDataCount | ( | ) | const |
Definition at line 2717 of file svdobj.cxx.
References m_pPlusData.
Referenced by CreateIMapGraphic(), DeleteUserData(), SdrTextObj::GetLinkUserData(), and SdrTextObj::ReleaseTextLink().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrEdgeObj, and SdrRectObj.
Definition at line 2275 of file svdobj.cxx.
References tools::Rectangle::BottomCenter(), tools::Rectangle::Center(), GetSnapRect(), tools::Rectangle::LeftCenter(), tools::Rectangle::RightCenter(), SdrGluePoint::SetPercent(), and tools::Rectangle::TopCenter().
Referenced by SdrEdgeObj::CheckNodeConnection(), SdrMarkView::dumpGluePointsToJSON(), SdrEdgeObj::ImpFindConnector(), ImplConnectMarkerOverlay::ImplConnectMarkerOverlay(), and SdrObjConnection::TakeGluePoint().
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().
|
inline |
Definition at line 876 of file svdobj.hxx.
Reimplemented in E3dScene, SdrObjCustomShape, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrOle2Obj, and SdrTextObj.
Definition at line 523 of file svdobj.cxx.
Referenced by E3dScene::handlePageChange(), SdrObjGroup::handlePageChange(), SdrTextObj::handlePageChange(), and setParentOfSdrObject().
bool SdrObject::HasFillStyle | ( | ) | const |
Definition at line 3048 of file svdobj.cxx.
References GetObjectItem(), and XATTR_FILLSTYLE().
Referenced by E3dDragMethod::E3dDragMethod(), and SdrEditView::UnGroupMarked().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1081 of file svdobj.cxx.
Referenced by SdrMarkView::SetMarkHandles(), and SdrMarkView::SetMarkHandlesForLOKit().
bool SdrObject::HasLineStyle | ( | ) | const |
Definition at line 3053 of file svdobj.cxx.
References GetObjectItem(), and XATTR_LINESTYLE().
Referenced by SdrDragMethod::AddConnectorOverlays(), SdrDragMethod::createSdrDragEntries_SolidDrag(), E3dDragMethod::E3dDragMethod(), and SdrEditView::UnGroupMarked().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1847 of file svdobj.cxx.
Referenced by SdrObjEditView::BegMacroObj(), SdrView::PickAnything(), and SdrMarkView::PickObj().
|
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().
|
virtual |
Reimplemented in sdr::table::SdrTableObj, and SdrTextObj.
Definition at line 3083 of file svdobj.cxx.
|
virtual |
Reimplemented in SdrMediaObj, and SdrTextObj.
Definition at line 1753 of file svdobj.cxx.
Referenced by SdrView::PickAnything(), and SdrMarkView::PickObj().
|
private |
Definition at line 2408 of file svdobj.cxx.
References basegfx::B2DPolyPolygon::append(), SfxItemSet::ClearItem(), CloneSdrObject(), basegfx::B2DPolyPolygon::count(), extractLineContourFromPrimitive2DSequence(), SfxItemSet::Get(), GetMergedItemSet(), getSdrModelFromSdrObject(), GetViewContact(), sdr::contact::ViewContact::getViewIndependentPrimitive2DContainer(), SdrPathObj::IsClosed(), utl::ConfigManager::IsFuzzing(), LineGeometryUsageIsNecessary(), basegfx::utils::mergeToSinglePolyPolygon(), PathFill, PathLine, SfxItemSet::Put(), XATTR_FILLSTYLE(), XATTR_LINECOLOR(), and XATTR_LINETRANSPARENCE().
|
protected |
Definition at line 1261 of file svdobj.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustTop(), tools::Rectangle::Bottom(), Fraction::GetDenominator(), SdrDragStat::GetHdl(), SdrHdl::GetKind(), SdrDragStat::GetNow(), Fraction::GetNumerator(), GetSnapRect(), SdrDragStat::GetView(), SdrSnapView::IsBigOrtho(), SdrSnapView::IsOrtho(), tools::Rectangle::Left(), Left, Lower, LowerLeft, LowerRight, Move, tools::Rectangle::Normalize(), tools::Rectangle::Right(), Right, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), tools::Rectangle::Top(), Upper, UpperLeft, UpperRight, Point::X(), and Point::Y().
Referenced by applySpecialDrag().
|
protected |
Definition at line 1120 of file svdobj.cxx.
References m_pPlusData.
Referenced by AddListener(), AppendUserData(), ForceGluePointList(), RestoreGeoData(), SetDecorative(), SetDescription(), SetName(), and SetTitle().
|
protected |
Definition at line 1102 of file svdobj.cxx.
References aStr, nPos, SvxResId(), TakeObjNameSingul(), and u.
Referenced by ImpPathForDragAndCreate::getSpecialDragComment(), SdrCaptionObj::getSpecialDragComment(), SdrCircObj::getSpecialDragComment(), SdrEdgeObj::getSpecialDragComment(), SdrRectObj::getSpecialDragComment(), and SdrTextObj::getSpecialDragComment().
void SdrObject::ImpSetAnchorPos | ( | const Point & | rPnt | ) |
Definition at line 1630 of file svdobj.cxx.
References m_aAnchor.
void SdrObject::InsertedStateChange | ( | ) |
Definition at line 2645 of file svdobj.cxx.
References GetLastBoundRect(), getParentSdrObjListFromSdrObject(), Inserted, m_pPlusData, ObjectInserted, ObjectRemoved, Removed, and SendUserCall().
Referenced by SdrObjList::NbcInsertObject(), and SdrObjList::ReplaceObject().
|
protectedvirtual |
Reimplemented in SdrObjCustomShape.
Definition at line 2267 of file svdobj.cxx.
References GetProperties(), and sdr::properties::BaseProperties::SetStyleSheet().
Referenced by SdrObjCustomShape::InternalSetStyleSheet(), NbcSetStyleSheet(), and SetStyleSheet().
|
inline |
Definition at line 753 of file svdobj.hxx.
Referenced by SdrEditView::DismantleMarkedObjects(), SdrEditView::ImpCanConvertForCombine(), SdrEditView::ImpConvertTo(), SdrEditView::ImpCopyAttributes(), SdrEditView::ImpGetPolyPolygon(), and SdrPageView::IsObjMarkable().
|
inline |
Definition at line 745 of file svdobj.hxx.
Referenced by SdrPathObj::EndCreate(), SdrPolyEditView::GetMarkedObjectsClosedState(), GetTextEditBackgroundColor(), SdrPolyEditView::IsRipUpAtMarkedPointsPossible(), SdrOle2Obj::SdrOle2Obj(), ImpSdrPdfImport::SetAttributes(), and ImpSdrGDIMetaFileImport::SetAttributes().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 900 of file svdobj.cxx.
References m_pPlusData.
Referenced by sdr::contact::ViewObjectContact::createStructureTag().
|
inline |
Definition at line 264 of file svdobj.hxx.
Referenced by SdrObjGroup::AddToHdlList(), SdrEditView::CheckPossibilities(), SdrPageView::EnterGroup(), SdrUndoDiagramModelData::SdrUndoDiagramModelData(), SdrObjGroup::SetGrabBagItem(), SdrMarkView::SetMarkHandles(), SdrObjGroup::TakeObjNamePlural(), SdrObjGroup::TakeObjNameSingul(), and SdrEditView::UnGroupMarked().
|
inline |
Definition at line 841 of file svdobj.hxx.
|
inline |
Definition at line 752 of file svdobj.hxx.
Referenced by SdrObjGroup::Mirror(), SdrObjGroup::Move(), SdrObjGroup::Resize(), SdrObjGroup::Rotate(), SdrObjGroup::SetAnchorPos(), and SdrObjGroup::Shear().
|
inline |
Definition at line 833 of file svdobj.hxx.
Referenced by SdrOle2Obj::Connect(), SvxDrawPage::CreateShapeByTypeAndInventor(), SdrOle2Obj::Disconnect(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), SdrOle2Obj::GetObjRef_Impl(), SdrOle2Obj::Init(), SdrOle2Obj::SdrOle2Obj(), SdrUndoObjSetText::SdrUndoObjSetText(), SvxTextEditSourceImpl::UpdateData(), and sdr::contact::ViewContactOfGraphic::visualisationUsesPresObj().
bool SdrObject::IsGroupObject | ( | ) | const |
Definition at line 712 of file svdobj.cxx.
References GetSubList().
Referenced by CloneList::AddPair(), SdrPageView::EnterGroup(), SdrMarkView::EnterMarkedGroup(), getFillGraphic(), Imp_E3dView_InorderRun3DObjects(), SdrEditView::ImpConvertTo(), E3dView::ImpCreate3DObject(), E3dView::ImpIsConvertTo3DPossible(), FmXUndoEnvironment::Inserted(), svxform::NavigatorTreeModel::InsertSdrObj(), isControlList(), FmXUndoEnvironment::Removed(), svxform::NavigatorTreeModel::RemoveSdrObj(), FmXFormView::restoreMarkList(), FmXFormView::saveMarkList(), and SdrEditView::UnGroupMarked().
bool SdrObject::IsInDestruction | ( | ) | const |
Definition at line 3042 of file svdobj.cxx.
References getSdrModelFromSdrObject(), and SdrModel::IsInDestruction().
Referenced by SdrOle2Obj::Disconnect_Impl(), and sdr::properties::AttributeProperties::Notify().
|
inline |
Definition at line 750 of file svdobj.hxx.
Referenced by sdr::table::SdrTableObj::applySpecialDrag(), BroadcastObjectChange(), SdrPageView::CheckCurrentGroup(), SdrDragObjOwn::EndSdrDrag(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), sdr::table::TableModel::insertColumns(), SdrEditView::InsertObjectAtView(), sdr::table::TableModel::insertRows(), sdr::table::SdrTableObjImpl::isInUse(), SdrPageView::IsObjMarkable(), sdr::properties::AttributeProperties::isUsedByModel(), SdrMarkView::MarkPoints(), sdr::table::TableModel::merge(), SdrObjList::NbcInsertObject(), sdr::table::TableModel::removeColumns(), sdr::table::TableModel::removeRows(), SdrObjList::SetExistingObjectOrdNum(), sdr::table::TableRow::setFastPropertyValue(), SetPrintable(), and SetVisible().
bool SdrObject::IsMacroHit | ( | const SdrObjMacroHitRec & | rRec | ) | const |
Definition at line 1889 of file svdobj.cxx.
References CheckMacroHit().
Referenced by SdrObjEditView::MovMacroObj(), SdrView::PickAnything(), and SdrMarkView::PickObj().
|
inline |
Definition at line 764 of file svdobj.hxx.
Referenced by SdrPageView::IsObjMarkable(), and SdrMarkView::IsObjMarkable().
|
inline |
Definition at line 756 of file svdobj.hxx.
Referenced by SdrEditView::AlignMarkedObjects(), SdrEditView::CheckPossibilities(), SdrEditView::GetGeoAttrFromMarked(), SvxShape::getPropertyValueImpl(), SdrEditView::MergeNotPersistAttrFromMarked(), NbcApplyNotPersistAttr(), SdrEditView::SetGeoAttrToMarked(), SetMoveProtect(), TakeNotPersistAttr(), and SdrEditView::UnGroupMarked().
|
inline |
Definition at line 835 of file svdobj.hxx.
Referenced by SdrMarkView::CheckSingleSdrObjectHit(), and sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible().
|
virtual |
Reimplemented in SdrEdgeObj, SdrMeasureObj, SdrPathObj, and SdrVirtObj.
Definition at line 1725 of file svdobj.cxx.
Referenced by SdrMarkView::GetMarkablePointCount(), SdrMarkView::HasMarkablePoints(), SdrEditView::ImpCrookObj(), SdrEditView::ImpDistortObj(), SdrMarkView::ImpIsFrameHandles(), SdrMarkView::ImpMarkPoint(), SdrDragView::IsInsObjPointPossible(), SdrMarkView::IsPointMarkable(), SdrMarkView::SetMarkHandles(), and SdrMarkView::UndirtyMrkPnt().
|
inline |
Definition at line 760 of file svdobj.hxx.
Referenced by SvxShape::getPropertyValueImpl(), sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible(), SdrEditView::MergeNotPersistAttrFromMarked(), and TakeNotPersistAttr().
|
inline |
Definition at line 758 of file svdobj.hxx.
Referenced by SdrDragObjOwn::BeginSdrDrag(), SdrEditView::CheckPossibilities(), sdr::contact::ViewObjectContactOfSdrOle2Obj::createPrimitive2DSequence(), SdrEditView::GetGeoAttrFromMarked(), SvxShape::getPropertyValueImpl(), SdrEditView::MergeNotPersistAttrFromMarked(), SdrEditView::SetGeoAttrToMarked(), SetResizeProtect(), TakeNotPersistAttr(), and SdrEditView::UnGroupMarked().
|
inlinevirtual |
Reimplemented in SdrTextObj.
Definition at line 765 of file svdobj.hxx.
Referenced by DynCastSdrTextObj().
|
virtual |
Is this a textbox of a drawinglayer shape?
Definition at line 3088 of file svdobj.cxx.
|
inlinevirtual |
Reimplemented in SdrObjCustomShape.
Definition at line 766 of file svdobj.hxx.
|
inline |
Definition at line 754 of file svdobj.hxx.
Referenced by FmFormView::ChangeDesignMode(), and SdrMarkView::IsObjMarkable().
|
inline |
Definition at line 740 of file svdobj.hxx.
Referenced by FmXUndoEnvironment::Removed().
|
inline |
Definition at line 762 of file svdobj.hxx.
References mbVisible.
Referenced by sdr::contact::ViewObjectContactOfUnoControl::ActionChanged(), SdrMarkView::CheckSingleSdrObjectHit(), SvxShape::getPropertyValueImpl(), SdrEdgeObj::ImpFindConnector(), sdr::contact::ViewObjectContactOfUnoControl_Impl::impl_adjustControlVisibilityToLayerVisibility_throw(), SdrPageView::IsObjMarkable(), sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible(), SdrEditView::MergeNotPersistAttrFromMarked(), SdrObjectPrimitiveHit(), and TakeNotPersistAttr().
bool SdrObject::isVisibleOnAnyOfTheseLayers | ( | const SdrLayerIDSet & | rSet | ) | const |
Definition at line 650 of file svdobj.cxx.
References GetLayer(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), GetSubList(), isVisibleOnAnyOfTheseLayers(), and rSet.
Referenced by sdr::contact::ViewObjectContactOfGroup::isPrimitiveVisibleOnAnyLayer(), and isVisibleOnAnyOfTheseLayers().
bool SdrObject::LineGeometryUsageIsNecessary | ( | ) | const |
Definition at line 1075 of file svdobj.cxx.
References GetMergedItem(), and XATTR_LINESTYLE().
Referenced by ImpConvertToContourObj(), SdrCaptionObj::TakeObjInfo(), SdrCircObj::TakeObjInfo(), SdrEdgeObj::TakeObjInfo(), SdrGrafObj::TakeObjInfo(), SdrMeasureObj::TakeObjInfo(), SdrPathObj::TakeObjInfo(), SdrRectObj::TakeObjInfo(), and SdrTextObj::TakeObjInfo().
|
inline |
Definition at line 852 of file svdobj.hxx.
Referenced by SdrRectObj::GetCornerGluePoint(), SdrObjCustomShape::GetVertexGluePoint(), and SdrRectObj::GetVertexGluePoint().
void SdrObject::MakeNameUnique | ( | ) |
Definition at line 3093 of file svdobj.cxx.
References aName, DynCastE3dScene(), GetName(), SdrObjList::GetObj(), MakeNameUnique(), SetName(), and TakeObjNameSingul().
Referenced by SdrEditView::InsertObjectAtView(), MakeNameUnique(), SdrPage::MakePageObjectsNamesUnique(), and SdrMediaObj::SdrMediaObj().
void SdrObject::MakeNameUnique | ( | std::unordered_set< OUString > & | rNameSet | ) |
Definition at line 3117 of file svdobj.cxx.
References DeepWithGroups, GetName(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrObjListIter::IsMore(), mrSdrModelFromSdrObject, n, SdrObjListIter::Next(), nPos, SetName(), sName, o3tl::trim(), and trim().
Reimplemented in SdrObjGroup, and SdrVirtObj.
Definition at line 1587 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), m_pUserCall, NbcMirror(), Resize, SendUserCall(), and SetChanged().
Referenced by SdrUIObject::execute(), SdrObjGroup::Mirror(), SdrEditView::MirrorMarkedObj(), SdrObjCustomShape::TRSetBaseGeometry(), and SdrTextObj::TRSetBaseGeometry().
|
virtual |
Reimplemented in E3dScene, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1393 of file svdobj.cxx.
References tools::Rectangle::Normalize(), SdrDragStat::SetActionRect(), setOutRectangle(), and SdrDragStat::TakeCreateRect().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrObjGroup, and SdrVirtObj.
Definition at line 1531 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), Size::Height(), m_pUserCall, MoveOnly, NbcMove(), SendUserCall(), SetChanged(), and Size::Width().
Referenced by SdrEditView::AlignMarkedObjects(), SdrDragCrook::EndSdrDrag(), SdrUIObject::execute(), SdrEditView::ImpCrookObj(), SdrObjGroup::Move(), SdrEditView::MoveMarkedObj(), SvxShape::setPosition(), and SdrTextObj::TRSetBaseGeometry().
|
protected |
Definition at line 3193 of file svdobj.cxx.
References m_aOutRect, and tools::Rectangle::Move().
Referenced by SdrObjCustomShape::DragMoveCustomShapeHdl(), SdrObjGroup::Move(), SdrCircObj::NbcMove(), NbcMove(), SdrObjGroup::NbcMove(), and SdrTextObj::NbcMove().
void SdrObject::NbcApplyNotPersistAttr | ( | const SfxItemSet & | rAttr | ) |
Definition at line 2028 of file svdobj.cxx.
References aName, tools::Rectangle::Center(), Fraction, SdrLayer::GetID(), SfxItemSet::GetItemIfSet(), SdrLayerAdmin::GetLayer(), GetLogicRect(), GetRotateAngle(), getSdrModelFromSdrObject(), getSdrPageFromSdrObject(), GetShearAngle(), tools::Rectangle::GetSize(), GetSnapRect(), IsMoveProtect(), tools::Rectangle::Left(), tools::Rectangle::Move(), n, NbcMove(), NbcResize(), NbcRotate(), NbcSetLayer(), NbcSetLogicRect(), NbcSetSnapRect(), NbcShear(), SDRATTR_HORZSHEARONE(), SDRATTR_LAYERID(), SDRATTR_LAYERNAME(), SDRATTR_LOGICSIZEHEIGHT(), SDRATTR_LOGICSIZEWIDTH(), SDRATTR_MOVEX(), SDRATTR_MOVEY(), SDRATTR_OBJECTNAME(), SDRATTR_OBJMOVEPROTECT(), SDRATTR_OBJPRINTABLE(), SDRATTR_OBJSIZEPROTECT(), SDRATTR_OBJVISIBLE(), SDRATTR_ONEPOSITIONX(), SDRATTR_ONEPOSITIONY(), SDRATTR_ONESIZEHEIGHT(), SDRATTR_ONESIZEWIDTH(), SDRATTR_RESIZEXONE(), SDRATTR_RESIZEYONE(), SDRATTR_ROTATEANGLE(), SDRATTR_ROTATEONE(), SDRATTR_SHEARANGLE(), SDRATTR_TRANSFORMREF1X(), SDRATTR_TRANSFORMREF1Y(), SDRATTR_VERTSHEARONE(), SDRLAYER_NOTFOUND(), tools::Rectangle::SetBottom(), SetMoveProtect(), SetName(), SetPrintable(), SetResizeProtect(), tools::Rectangle::SetRight(), SetVisible(), Point::setX(), Point::setY(), tools::Rectangle::Top(), and toRadians().
Referenced by ApplyNotPersistAttr().
|
virtual |
Definition at line 1542 of file svdobj.cxx.
Referenced by Crop().
Reimplemented in SdrObjCustomShape, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrRectObj, SdrTextObj, SdrVirtObj, and SdrPathObj.
Definition at line 1511 of file svdobj.cxx.
References getOutRectangle(), NbcMirrorGluePoints(), SetBoundAndSnapRectsDirty(), SetGlueReallyAbsolute(), and setOutRectangle().
Referenced by Mirror(), and SdrObjGroup::NbcMirror().
Definition at line 2348 of file svdobj.cxx.
References ForceGluePointList(), GetGluePointList(), and SdrGluePointList::Mirror().
Referenced by ImpPathForDragAndCreate::endPathDrag(), SdrObjGroup::Mirror(), NbcMirror(), SdrObjGroup::NbcMirror(), SdrTextObj::NbcMirror(), NbcResize(), SdrObjGroup::NbcResize(), SdrTextObj::NbcResize(), and SdrObjGroup::Resize().
|
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().
|
virtual |
Reimplemented in SdrObjGroup, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1838 of file svdobj.cxx.
Referenced by SdrObjList::NbcReformatAllTextObjects().
|
virtual |
Reimplemented in E3dScene, E3dObject, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrOle2Obj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, SdrUnoObj, SdrVirtObj, SdrEdgeObj, and SdrPathObj.
Definition at line 1445 of file svdobj.cxx.
References Point::AdjustX(), Point::AdjustY(), Center, Fraction::GetDenominator(), Fraction::GetNumerator(), getOutRectangle(), GetSnapRect(), NbcMirrorGluePoints(), ResizeRect(), SetBoundAndSnapRectsDirty(), and setOutRectangle().
Referenced by NbcApplyNotPersistAttr(), SdrObjGroup::NbcResize(), and Resize().
Definition at line 1469 of file svdobj.cxx.
References a, NbcRotate(), and toRadians().
|
pure virtual |
Implemented in SdrPageObj, E3dObject, E3dScene, SdrObjCustomShape, SdrEdgeObj, SdrObjGroup, SdrMeasureObj, SdrRectObj, SdrTextObj, SdrVirtObj, and SdrPathObj.
References Crop, Mirror, Move, Resize, and Rotate.
Referenced by SdrEditView::DoImportMarkedMtf(), NbcApplyNotPersistAttr(), NbcRotate(), SdrObjGroup::NbcRotate(), and Rotate().
Definition at line 2338 of file svdobj.cxx.
References ForceGluePointList(), GetGluePointList(), and SdrGluePointList::Rotate().
Referenced by E3dObject::NbcRotate(), E3dScene::NbcRotate(), SdrObjGroup::NbcRotate(), SdrTextObj::NbcRotate(), and SdrObjGroup::Rotate().
|
virtual |
Reimplemented in SdrVirtObj, SdrEdgeObj, and SdrObjGroup.
Definition at line 1635 of file svdobj.cxx.
References m_aAnchor, NbcMove(), Point::X(), and Point::Y().
Referenced by SdrObjList::InsertObject(), SdrEdgeObj::NbcSetAnchorPos(), SdrObjGroup::NbcSetAnchorPos(), and SetAnchorPos().
|
virtual |
Reimplemented in E3dScene, SdrObjGroup, and SdrUnoObj.
Definition at line 664 of file svdobj.cxx.
References mnLayerID.
Referenced by SdrEditView::ImpCopyAttributes(), SdrEditView::InsertObjectAtView(), NbcApplyNotPersistAttr(), E3dScene::NbcSetLayer(), SdrObjGroup::NbcSetLayer(), SdrUnoObj::NbcSetLayer(), E3dScene::RebuildLists(), and SetLayer().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrCaptionObj, SdrObjGroup, SdrOle2Obj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1677 of file svdobj.cxx.
References NbcSetSnapRect().
Referenced by NbcApplyNotPersistAttr(), and SetLogicRect().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrObjCustomShape, SdrMeasureObj, sdr::table::SdrTableObj, and SdrTextObj.
Definition at line 1829 of file svdobj.cxx.
Referenced by SetOutlinerParaObject().
|
virtual |
Reimplemented in SdrEdgeObj, SdrMeasureObj, SdrVirtObj, and SdrPathObj.
Definition at line 1749 of file svdobj.cxx.
Referenced by SetPoint().
|
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().
|
virtual |
Reimplemented in E3dScene, SdrObjCustomShape, SdrCircObj, SdrEdgeObj, SdrObjGroup, SdrOle2Obj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1667 of file svdobj.cxx.
References setOutRectangle().
Referenced by applySpecialDrag(), NbcApplyNotPersistAttr(), NbcSetLogicRect(), E3dScene::NbcSetSnapRect(), and SetSnapRect().
void SdrObject::NbcSetStyleSheet | ( | SfxStyleSheet * | pNewStyleSheet, |
bool | bDontRemoveHardAttr | ||
) |
Definition at line 2262 of file svdobj.cxx.
References InternalSetStyleSheet().
Referenced by SdrEditView::ImpCopyAttributes(), SdrEditView::InsertObjectAtView(), sdr::properties::E3dSceneProperties::SetStyleSheet(), and sdr::properties::GroupProperties::SetStyleSheet().
Reimplemented in SdrObjCustomShape, SdrCircObj, SdrEdgeObj, SdrObjGroup, SdrMeasureObj, SdrRectObj, SdrTextObj, SdrVirtObj, and SdrPathObj.
Definition at line 1524 of file svdobj.cxx.
References NbcShearGluePoints(), and SetGlueReallyAbsolute().
Referenced by SdrEditView::DoImportMarkedMtf(), NbcApplyNotPersistAttr(), SdrObjGroup::NbcShear(), and Shear().
void SdrObject::NbcShearGluePoints | ( | const Point & | rRef, |
double | tn, | ||
bool | bVShear | ||
) |
Definition at line 2358 of file svdobj.cxx.
References ForceGluePointList(), GetGluePointList(), and SdrGluePointList::Shear().
Referenced by NbcShear(), SdrObjGroup::NbcShear(), SdrTextObj::NbcShear(), and SdrObjGroup::Shear().
|
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().
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().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1867 of file svdobj.cxx.
References COL_BLACK(), OutputDevice::DrawPolyLine(), OutputDevice::GetRasterOp(), OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), OutputDevice::SetRasterOp(), and TakeXorPoly().
Referenced by SdrObjEditView::ImpMacroDown(), and SdrObjEditView::ImpMacroUp().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 982 of file svdobj.cxx.
References drawinglayer::primitive2d::Primitive2DContainer::getB2DRange(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), getOutRectangle(), getSdrModelFromSdrObject(), GetViewContact(), sdr::contact::ViewContact::getViewIndependentPrimitive2DContainer(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), utl::ConfigManager::IsFuzzing(), and setOutRectangle().
Referenced by GetCurrentBoundRect().
|
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().
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().
|
finaloverridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Definition at line 495 of file svdobj.cxx.
References cppu::OWeakObject::disposeWeakConnectionPoint(), cppu::OWeakObject::m_refCount, and x.
void SdrObject::RemoveListener | ( | SfxListener & | rListener | ) |
Definition at line 687 of file svdobj.cxx.
References SfxListener::EndListening(), and m_pPlusData.
Referenced by DelReference(), SdrEdgeObj::DisconnectFromNode(), and SdrEdgeObj::RestoreGeoData().
void SdrObject::RemoveObjectUser | ( | sdr::ObjectUser & | rOldUser | ) |
Definition at line 243 of file svdobj.cxx.
References mpImpl.
Referenced by SvxTextEditSourceImpl::dispose(), SdrMark::SetMarkedSdrObj(), SdrMark::~SdrMark(), and SvxTextEditSourceImpl::~SvxTextEditSourceImpl().
|
protected |
Definition at line 3188 of file svdobj.cxx.
References m_aOutRect.
Referenced by SetBoundRectDirty().
|
virtual |
Reimplemented in SdrObjGroup, and SdrVirtObj.
Definition at line 1548 of file svdobj.cxx.
References BroadcastObjectChange(), Fraction::GetDenominator(), GetLastBoundRect(), Fraction::GetNumerator(), m_pUserCall, mpImpl, NbcResize(), Resize, SendUserCall(), and SetChanged().
Referenced by SdrUIObject::execute(), SdrObjGroup::Resize(), SdrEditView::ResizeMarkedObj(), SdrEditView::ResizeMultMarkedObj(), and SvxShape::setSize().
|
protectedvirtual |
Reimplemented in E3dObject, E3dScene, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrMeasureObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1923 of file svdobj.cxx.
References SdrObjGeoData::aAnchor, SdrObjGeoData::aBoundRect, SdrObjGeoData::bClosedObj, SdrObjGeoData::bMovProt, SdrObjGeoData::bNoPrint, SdrObjGeoData::bSizProt, ImpForcePlusData(), m_aAnchor, m_bClosedObj, m_bMovProt, m_bNoPrint, m_bSizProt, m_pPlusData, SdrObjGeoData::mbVisible, mbVisible, SdrObjGeoData::mnLayerID, mnLayerID, SdrObjGeoData::pGPL, SetBoundAndSnapRectsDirty(), and setOutRectangle().
Referenced by E3dObject::RestoreGeoData(), SdrTextObj::RestoreGeoData(), and SetGeoData().
Reimplemented in SdrObjGroup, and SdrVirtObj.
Definition at line 1576 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), m_pUserCall, NbcRotate(), Resize, SendUserCall(), and SetChanged().
Referenced by SdrUIObject::execute(), SdrEditView::ImpCrookObj(), SdrObjGroup::Rotate(), SdrEditView::RotateMarkedObj(), SdrObjCustomShape::TRSetBaseGeometry(), and SdrTextObj::TRSetBaseGeometry().
|
protectedvirtual |
Reimplemented in E3dObject, E3dScene, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrMeasureObj, SdrPathObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1900 of file svdobj.cxx.
References SdrObjGeoData::aAnchor, SdrObjGeoData::aBoundRect, SdrObjGeoData::bClosedObj, SdrObjGeoData::bMovProt, SdrObjGeoData::bNoPrint, SdrObjGeoData::bSizProt, GetCurrentBoundRect(), m_aAnchor, m_bClosedObj, m_bMovProt, m_bNoPrint, m_bSizProt, m_pPlusData, SdrObjGeoData::mbVisible, mbVisible, SdrObjGeoData::mnLayerID, mnLayerID, and SdrObjGeoData::pGPL.
Referenced by GetGeoData(), E3dObject::SaveGeoData(), and SdrTextObj::SaveGeoData().
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().
|
virtual |
Reimplemented in SdrObjGroup.
Definition at line 1642 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), m_aAnchor, m_pUserCall, MoveOnly, NbcSetAnchorPos(), SendUserCall(), and SetChanged().
Referenced by SdrObjGroup::SetAnchorPos().
void SdrObject::SetBLIPSizeRectangle | ( | const tools::Rectangle & | aRect | ) |
Definition at line 3066 of file svdobj.cxx.
References maBLIPSizeRectangle.
|
virtual |
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().
|
virtual |
Reimplemented in E3dScene, SdrObjGroup, and SdrPageObj.
Definition at line 329 of file svdobj.cxx.
References resetOutRectangle().
Referenced by SdrObjCustomShape::DragCreateObject(), sdr::properties::AttributeProperties::ForceStyleToHardAttributes(), sdr::properties::AttributeProperties::ImpRemoveStyleSheet(), sdr::properties::AttributeProperties::ItemSetChanged(), SdrCaptionObj::MovCreate(), SdrCircObj::MovCreate(), SdrEdgeObj::MovCreate(), SdrMeasureObj::MovCreate(), sdr::table::SdrTableObj::MovCreate(), SdrTextObj::MovCreate(), SdrTextObj::NbcReformatText(), SdrObjCustomShape::NbcSetOutlinerParaObject(), SdrTextObj::NbcSetOutlinerParaObjectForText(), SdrAttrObj::Notify(), SetBoundAndSnapRectsDirty(), E3dScene::SetBoundRectDirty(), sdr::properties::AttributeProperties::SetStyleSheet(), and SdrMeasureObj::SetTextDirty().
|
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().
|
virtual |
Reimplemented in SdrUnoObj.
Definition at line 3071 of file svdobj.cxx.
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 871 of file svdobj.cxx.
References SdrModel::AddUndo(), SdrModel::BegUndo(), BroadcastObjectChange(), SdrUndoFactory::CreateUndoObjectDecorative(), SdrModel::EndUndo(), getSdrModelFromSdrObject(), ImpForcePlusData(), m_pPlusData, and SetChanged().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 827 of file svdobj.cxx.
References SdrModel::AddUndo(), SdrModel::BegUndo(), BroadcastObjectChange(), SdrUndoFactory::CreateUndoObjectStrAttr(), SdrUndoObjStrAttr::Description, SdrModel::EndUndo(), GetDescription(), getSdrModelFromSdrObject(), ImpForcePlusData(), m_pPlusData, and SetChanged().
Referenced by SdrGrafObj::onGraphicChanged().
void SdrObject::SetDoNotInsertIntoPageAutomatically | ( | bool | bSet | ) |
Definition at line 3076 of file svdobj.cxx.
References mbDoNotInsertIntoPageAutomatically.
void SdrObject::SetEmptyPresObj | ( | bool | bEpt | ) |
Definition at line 2568 of file svdobj.cxx.
References m_bEmptyPresObj.
Referenced by SvxTextEditSourceImpl::GetBackgroundTextForwarder(), SdrUndoObjSetText::Undo(), and SvxTextEditSourceImpl::UpdateData().
|
inlineprivate |
Definition at line 288 of file svdobj.hxx.
Referenced by EnhancedCustomShape2d::CreatePathObj().
|
virtual |
Reimplemented in SdrOle2Obj, and SdrVirtObj.
Definition at line 1957 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), m_pUserCall, Resize, RestoreGeoData(), SendUserCall(), and SetChanged().
Referenced by SdrOle2Obj::SetGeoData().
void SdrObject::SetGlueReallyAbsolute | ( | bool | bOn | ) |
Definition at line 2328 of file svdobj.cxx.
References ForceGluePointList(), GetGluePointList(), and SdrGluePointList::SetReallyAbsolute().
Referenced by SdrObjGroup::Mirror(), NbcMirror(), SdrObjGroup::NbcMirror(), SdrTextObj::NbcMirror(), E3dObject::NbcRotate(), E3dScene::NbcRotate(), SdrObjGroup::NbcRotate(), SdrTextObj::NbcRotate(), NbcShear(), SdrObjGroup::NbcShear(), SdrTextObj::NbcShear(), SdrObjGroup::Rotate(), and SdrObjGroup::Shear().
|
virtual |
Reimplemented in SdrObjGroup.
Definition at line 930 of file svdobj.cxx.
References BroadcastObjectChange(), m_pGrabBagItem, and SetChanged().
Referenced by SdrObjGroup::SetGrabBagItem(), and SetOutlinerParaObject().
|
inline |
Definition at line 884 of file svdobj.hxx.
|
virtual |
Definition at line 669 of file svdobj.cxx.
References BroadcastObjectChange(), NbcSetLayer(), and SetChanged().
Referenced by ImpSdrPdfImport::SetAttributes(), ImpSdrGDIMetaFileImport::SetAttributes(), and SdrCreateView::SetupObjLayer().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrObjGroup, and SdrVirtObj.
Definition at line 1696 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), m_pUserCall, NbcSetLogicRect(), Resize, SendUserCall(), and SetChanged().
Referenced by AdjustToMaxRect(), SdrGrafObj::AdjustToMaxRect(), SdrMediaObj::AdjustToMaxRect(), sdr::table::SdrTableObj::AdjustToMaxRect(), SvxOle2Shape::createLink(), SvxOle2Shape::createObject(), SdrEditView::EqualizeMarkedObjects(), SdrTextObj::FitFrameToTextSize(), SdrExchangeView::ImpPasteObject(), and svx_setLogicRectHack().
void SdrObject::SetMarkProtect | ( | bool | bProt | ) |
Definition at line 2562 of file svdobj.cxx.
References m_bMarkProt.
void SdrObject::SetMergedItem | ( | const SfxPoolItem & | rItem | ) |
Definition at line 1984 of file svdobj.cxx.
References GetProperties(), and sdr::properties::BaseProperties::SetMergedItem().
Referenced by EnhancedCustomShape2d::AdaptObjColor(), SvxDrawPage::CreateSdrObject_(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), E3dView::ImpChangeSomeAttributesFor3DConversion(), E3dView::ImpChangeSomeAttributesFor3DConversion2(), impl_execute(), svx::impl_execute(), SdrObjCustomShape::MergeDefaultAttributes(), SdrDragObjOwn::MoveSdrDrag(), SdrObjCustomShape::RestoreGeoData(), SvxShape::setAllPropertiesToDefault(), ImpSdrPdfImport::SetAttributes(), ImpSdrGDIMetaFileImport::SetAttributes(), SdrEditView::SetAttrToMarked(), EnhancedCustomShape2d::SetHandleControllerPosition(), sdr::properties::E3dSceneProperties::SetMergedItem(), SdrObjCustomShape::SetMirroredX(), SdrObjCustomShape::SetMirroredY(), SvxShape::setPropertyValueImpl(), and EnhancedCustomShape2d::SwapStartAndEndArrow().
void SdrObject::SetMergedItemSet | ( | const SfxItemSet & | rSet, |
bool | bClearAllItems = false |
||
) |
Definition at line 1999 of file svdobj.cxx.
References GetProperties(), rSet, and sdr::properties::BaseProperties::SetMergedItemSet().
Referenced by ImpSdrPdfImport::CheckLastPolyLineAndFillMerge(), ImpSdrGDIMetaFileImport::CheckLastPolyLineAndFillMerge(), SdrEditView::ImpCopyAttributes(), SdrEditView::InsertObjectAtView(), ImpSdrPdfImport::SetAttributes(), ImpSdrGDIMetaFileImport::SetAttributes(), sdr::properties::E3dSceneProperties::SetMergedItemSet(), and sdr::properties::GroupProperties::SetMergedItemSet().
void SdrObject::SetMergedItemSetAndBroadcast | ( | const SfxItemSet & | rSet, |
bool | bClearAllItems = false |
||
) |
Definition at line 2014 of file svdobj.cxx.
References GetProperties(), rSet, and sdr::properties::BaseProperties::SetMergedItemSetAndBroadcast().
Referenced by SvxShape::_setPropertyValue(), SdrMarkView::AddDragModeHdl(), SdrHdlGradient::FromIAOToItem(), SvxShape::ObtainSettingsFromPropertySet(), E3dAttributesUndoAction::Redo(), SdrEditView::SetAttrToMarked(), SvxShape::SetFillAttribute(), SvxShape::setPropertyValues(), and E3dAttributesUndoAction::Undo().
void SdrObject::SetMoveProtect | ( | bool | bProt | ) |
Definition at line 2666 of file svdobj.cxx.
References BroadcastObjectChange(), IsMoveProtect(), m_bMovProt, and SetChanged().
Referenced by NbcApplyNotPersistAttr(), SdrEditView::SetGeoAttrToMarked(), and SdrEditView::UnGroupMarked().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 734 of file svdobj.cxx.
References SdrModel::AddUndo(), SdrModel::BegUndo(), BroadcastObjectChange(), SdrUndoFactory::CreateUndoObjectStrAttr(), SdrModel::EndUndo(), GetName(), getSdrModelFromSdrObject(), ImpForcePlusData(), m_pPlusData, SdrUndoObjStrAttr::Name, and SetChanged().
Referenced by SvxShape::Create(), MakeNameUnique(), NbcApplyNotPersistAttr(), SdrGrafObj::onGraphicChanged(), and SvxShape::setName().
void SdrObject::SetNavigationPosition | ( | const sal_uInt32 | nPosition | ) |
Definition at line 952 of file svdobj.cxx.
References mnNavigationPosition.
Referenced by SdrObjList::InsertObjectIntoContainer(), and SdrObjList::SetExistingObjectOrdNum().
void SdrObject::SetNotVisibleAsMaster | ( | bool | bFlg | ) |
Definition at line 2574 of file svdobj.cxx.
References m_bNotVisibleAsMaster.
|
protected |
Definition at line 1979 of file svdobj.cxx.
References GetProperties(), and sdr::properties::BaseProperties::SetObjectItem().
Referenced by SdrMeasureObj::applySpecialDrag(), SdrTextObj::NbcSetEckenradius(), SdrTextObj::SetTextColumnsNumber(), SdrTextObj::SetTextColumnsSpacing(), and sdr::table::SdrTableObj::SetVerticalWriting().
|
protected |
Definition at line 1994 of file svdobj.cxx.
References GetProperties(), rSet, and sdr::properties::BaseProperties::SetObjectItemSet().
Referenced by SdrObjCustomShape::AdaptTextMinSize(), sdr::properties::CellProperties::ItemChange(), SdrTextObj::SetVerticalWriting(), and SdrObjCustomShape::SetVerticalWriting().
void SdrObject::SetOrdNum | ( | sal_uInt32 | nNum | ) |
Definition at line 917 of file svdobj.cxx.
References m_nOrdNum.
Referenced by SdrObjList::NbcInsertObject(), SdrObjList::ReplaceObject(), and SdrObjList::SetExistingObjectOrdNum().
void SdrObject::SetOutlinerParaObject | ( | std::optional< OutlinerParaObject > | pTextObject | ) |
Definition at line 1798 of file svdobj.cxx.
References BroadcastObjectChange(), GetCurrentBoundRect(), GetLastBoundRect(), getParentSdrObjectFromSdrObject(), getSdrModelFromSdrObject(), m_pUserCall, NbcSetOutlinerParaObject(), Resize, SendUserCall(), SetChanged(), and SetGrabBagItem().
Referenced by SdrTextObj::EndTextEdit(), sdr::table::SdrTableObj::EndTextEdit(), SdrEditView::ImpDismantleOneObject(), and SdrUndoObjSetText::SdrRepeat().
|
protected |
Definition at line 3183 of file svdobj.cxx.
References m_aOutRect.
Referenced by BegCreate(), EndCreate(), MovCreate(), NbcMirror(), NbcResize(), SdrObjGroup::NbcResize(), NbcSetSnapRect(), RecalcBoundRect(), SdrVirtObj::RecalcBoundRect(), SdrObjGroup::Resize(), RestoreGeoData(), SdrObject(), and SdrPageObj::SdrPageObj().
|
protected |
Definition at line 3178 of file svdobj.cxx.
References m_aOutRect.
Referenced by SdrObjGroup::GetCurrentBoundRect(), SdrVirtObj::GetCurrentBoundRect(), and SdrVirtObj::GetLastBoundRect().
|
private |
Definition at line 294 of file svdobj.cxx.
References getSdrPageFromSdrObject(), handlePageChange(), and mpParentOfSdrObject.
Referenced by SdrObjList::NbcInsertObject(), and SdrObjList::ReplaceObject().
void SdrObject::SetPoint | ( | const Point & | rPnt, |
sal_uInt32 | i | ||
) |
Definition at line 1740 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), i, m_pUserCall, NbcSetPoint(), Resize, SendUserCall(), and SetChanged().
Referenced by SdrEditView::ImpCrookObj(), and SdrEditView::ImpDistortObj().
void SdrObject::SetPrintable | ( | bool | bPrn | ) |
Definition at line 2688 of file svdobj.cxx.
References SfxBroadcaster::Broadcast(), getSdrModelFromSdrObject(), IsInserted(), m_bNoPrint, ObjectChange, and SetChanged().
Referenced by NbcApplyNotPersistAttr().
void SdrObject::SetRelativeHeight | ( | double | nValue | ) |
Definition at line 580 of file svdobj.cxx.
void SdrObject::SetRelativeHeightRelation | ( | sal_Int16 | eValue | ) |
Definition at line 585 of file svdobj.cxx.
References mpImpl.
|
virtual |
Reimplemented in SdrObjGroup.
Definition at line 1614 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), GetRelativePos(), m_pUserCall, MoveOnly, NbcSetRelativePos(), SendUserCall(), and SetChanged().
void SdrObject::SetRelativeWidth | ( | double | nValue | ) |
Definition at line 570 of file svdobj.cxx.
void SdrObject::SetRelativeWidthRelation | ( | sal_Int16 | eValue | ) |
Definition at line 575 of file svdobj.cxx.
References mpImpl.
void SdrObject::SetResizeProtect | ( | bool | bProt | ) |
Definition at line 2677 of file svdobj.cxx.
References BroadcastObjectChange(), IsResizeProtect(), m_bSizProt, and SetChanged().
Referenced by NbcApplyNotPersistAttr(), SdrEditView::SetGeoAttrToMarked(), SdrOle2Obj::SetObjRef(), and SdrEditView::UnGroupMarked().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrObjGroup, and SdrVirtObj.
Definition at line 1687 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), m_pUserCall, NbcSetSnapRect(), Resize, SendUserCall(), and SetChanged().
Referenced by E3dView::CreateMarkedObjModel(), SvxGrafAttrHelper::ExecuteGrafAttr(), sdr::properties::CellProperties::ItemChange(), SdrEditView::SetMarkedObjRect(), SdrTextObj::SetVerticalWriting(), svx_setLogicRectHack(), TRSetBaseGeometry(), SdrCaptionObj::TRSetBaseGeometry(), SdrTextObj::TRSetBaseGeometry(), and E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater().
void SdrObject::SetStyleSheet | ( | SfxStyleSheet * | pNewStyleSheet, |
bool | bDontRemoveHardAttr | ||
) |
Definition at line 2249 of file svdobj.cxx.
References BroadcastObjectChange(), ChangeAttr, GetLastBoundRect(), InternalSetStyleSheet(), m_pUserCall, SendUserCall(), and SetChanged().
Referenced by sdr::properties::E3dSceneProperties::SetStyleSheet(), sdr::properties::GroupProperties::SetStyleSheet(), and SdrEditView::SetStyleSheetToMarked().
bool SdrObject::setSuitableOutlinerBg | ( | Outliner & | rOutliner | ) | const |
Definition at line 884 of file svdotextdecomposition.cxx.
References SfxItemSet::Get(), Outliner::GetBackgroundColor(), getBackgroundFillSet(), GetDraftFillColor(), Outliner::SetBackgroundColor(), and XATTR_FILLSTYLE().
Referenced by SdrTextObj::impDecomposeAutoFitTextPrimitive(), and SdrTextObj::impDecomposeBlockTextPrimitive().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 783 of file svdobj.cxx.
References SdrModel::AddUndo(), SdrModel::BegUndo(), BroadcastObjectChange(), SdrUndoFactory::CreateUndoObjectStrAttr(), SdrModel::EndUndo(), getSdrModelFromSdrObject(), GetTitle(), ImpForcePlusData(), m_pPlusData, SetChanged(), and SdrUndoObjStrAttr::Title.
Referenced by SdrGrafObj::onGraphicChanged().
|
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().
void SdrObject::SetUserCall | ( | SdrObjUserCall * | pUser | ) |
Definition at line 2757 of file svdobj.cxx.
References m_pUserCall.
Referenced by SvxShape::Create(), and GraphCtrl::MouseButtonDown().
void SdrObject::SetVisible | ( | bool | bVisible | ) |
Definition at line 2702 of file svdobj.cxx.
References SfxBroadcaster::Broadcast(), bVisible, getSdrModelFromSdrObject(), IsInserted(), mbVisible, ObjectChange, and SetChanged().
Referenced by NbcApplyNotPersistAttr().
Reimplemented in SdrObjCustomShape, SdrObjGroup, and SdrVirtObj.
Definition at line 1596 of file svdobj.cxx.
References BroadcastObjectChange(), GetLastBoundRect(), m_pUserCall, NbcShear(), Resize, SendUserCall(), and SetChanged().
Referenced by SdrUIObject::execute(), SdrObjCustomShape::Shear(), SdrObjGroup::Shear(), SdrEditView::ShearMarkedObj(), and SdrTextObj::TRSetBaseGeometry().
|
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.
void SdrObject::SingleObjectPainter | ( | OutputDevice & | rOut | ) | const |
Definition at line 1064 of file svdobj.cxx.
References getSdrPageFromSdrObject(), sdr::contact::ObjectContactOfObjListPainter::ProcessDisplay(), and sdr::contact::SdrObjectVector.
Referenced by E3dView::DrawMarkedObj(), SvxShape::GetBitmap(), SdrGrafObj::getMetafileFromEmbeddedVectorGraphicData(), and SdrExchangeView::GetObjGraphic().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1336 of file svdobj.cxx.
Referenced by SdrDragMethod::createSdrDragEntries_SolidDrag(), and SdrDragObjOwn::SdrDragObjOwn().
|
virtual |
contour for TextToContour
Reimplemented in SdrObjCustomShape, and SdrTextObj.
Definition at line 1140 of file svdobj.cxx.
References a, basegfx::B2DPolyPolygon::append(), CloneSdrObject(), COL_BLACK(), DynCastSdrTextObj(), SdrEdgeObj::GetConnectedNode(), drawinglayer::processor2d::ContourExtractor2D::getExtractedContour(), GetObjectItemPool(), getSdrModelFromSdrObject(), sdr::contact::ViewContact::getViewIndependentPrimitive2DContainer(), NONE, drawinglayer::processor2d::BaseProcessor2D::process(), and SfxItemSet::Put().
Referenced by SdrObjCustomShape::TakeContour(), and SdrTextObj::TakeContour().
|
virtual |
Polygon dragged by the user when creating the object.
Reimplemented in E3dScene, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1422 of file svdobj.cxx.
References basegfx::B2DPolyPolygon::append(), vcl::unotools::b2DRectangleFromRectangle(), basegfx::utils::createPolygonFromRect(), tools::Rectangle::Normalize(), and SdrDragStat::TakeCreateRect().
void SdrObject::TakeNotPersistAttr | ( | SfxItemSet & | rAttr | ) | const |
Definition at line 2200 of file svdobj.cxx.
References Point::AdjustY(), aName, tools::Rectangle::Center(), tools::Rectangle::GetHeight(), GetLayer(), SdrLayerAdmin::GetLayerPerID(), GetLogicRect(), SdrLayer::GetName(), GetName(), GetRotateAngle(), getSdrModelFromSdrObject(), getSdrPageFromSdrObject(), GetShearAngle(), GetSnapRect(), tools::Rectangle::GetWidth(), IsMoveProtect(), IsPrintable(), IsResizeProtect(), IsVisible(), tools::Rectangle::Left(), SfxItemSet::Put(), SDRATTR_OBJECTNAME(), SDRATTR_OBJMOVEPROTECT(), SDRATTR_OBJSIZEPROTECT(), SDRATTR_ROTATEANGLE(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by SvxShape::_getPropertyValue(), and SvxShape::_setPropertyValue().
|
virtual |
Reimplemented in E3dObject, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrMediaObj, SdrOle2Obj, SdrPageObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, SdrUnoObj, and SdrVirtObj.
Definition at line 631 of file svdobj.cxx.
References SdrObjTransformInfoRec::bCanConvToContour, SdrObjTransformInfoRec::bCanConvToPath, SdrObjTransformInfoRec::bCanConvToPathLineToArea, SdrObjTransformInfoRec::bCanConvToPoly, SdrObjTransformInfoRec::bCanConvToPolyLineToArea, SdrObjTransformInfoRec::bEdgeRadiusAllowed, SdrObjTransformInfoRec::bMirrorFreeAllowed, SdrObjTransformInfoRec::bRotateFreeAllowed, SdrObjTransformInfoRec::bShearAllowed, and SdrObjTransformInfoRec::bTransparenceAllowed.
Referenced by SdrEditView::AlignMarkedObjects(), SdrEditView::CheckPossibilities(), SdrEditView::ImpCanConvertForCombine1(), SdrEditView::ImpCanDismantle(), SdrObjCustomShape::TakeObjInfo(), and SdrObjGroup::TakeObjInfo().
|
virtual |
Reimplemented in E3dCubeObj, E3dLatheObj, E3dObject, E3dScene, E3dSphereObj, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrMediaObj, SdrOle2Obj, SdrPageObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, SdrUnoObj, and SdrVirtObj.
Definition at line 1097 of file svdobj.cxx.
References SvxResId().
Referenced by SdrMarkList::GetMarkDescription(), SdrMarkList::GetPointMarkDescription(), SvxShape::getPropertyValueImpl(), and SdrEditView::UnGroupMarked().
|
virtual |
Reimplemented in E3dCubeObj, E3dLatheObj, E3dObject, E3dScene, E3dSphereObj, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrMediaObj, SdrOle2Obj, SdrPageObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, SdrUnoObj, and SdrVirtObj.
Definition at line 1087 of file svdobj.cxx.
References aName, GetName(), sName, and SvxResId().
Referenced by SdrDragView::BegInsGluePoint(), SdrUndoObj::GetDescriptionStringForObject(), SdrMarkList::GetMarkDescription(), SdrMarkList::GetPointMarkDescription(), SvxShape::getPropertyValueImpl(), SdrDragView::ImpBegInsObjPoint(), ImpGetDescriptionStr(), MakeNameUnique(), SvxDrawPage::remove(), and SdrEditView::UnGroupMarked().
|
virtual |
The Xor-Polygon is required by the View to drag the object.
All polygons within the PolyPolygon are interpreted as PolyLine. To get a closed Polygon, close it explicitly.
Reimplemented in E3dCompoundObject, E3dScene, SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrObjGroup, SdrMeasureObj, SdrPathObj, SdrRectObj, SdrTextObj, and SdrVirtObj.
Definition at line 1131 of file svdobj.cxx.
References basegfx::B2DPolyPolygon::append(), vcl::unotools::b2DRectangleFromRectangle(), basegfx::utils::createPolygonFromRect(), and GetCurrentBoundRect().
Referenced by SdrDragMethod::createSdrDragEntries_PolygonDrag(), SdrDragMethod::createSdrDragEntries_SolidDrag(), ImplConnectMarkerOverlay::ImplConnectMarkerOverlay(), PaintMacro(), SdrDropMarkerOverlay::SdrDropMarkerOverlay(), SdrMarkView::SetMarkHandlesForLOKit(), E3dView::Start3DCreation(), and SdrObjGroup::TakeXorPoly().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrEdgeObj, SdrMeasureObj, SdrPathObj, and SdrTextObj.
Definition at line 2981 of file svdobj.cxx.
References basegfx::utils::createScaleTranslateB2DHomMatrix(), GetAnchorPos(), tools::Rectangle::GetHeight(), getSdrModelFromSdrObject(), GetSnapRect(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), tools::Rectangle::Top(), X, and Y.
Referenced by SdrEditView::GetGeoAttrFromMarked(), SvxShape::getPropertyValueImpl(), SvxShapePolyPolygon::getPropertyValueImpl(), SvxShapePolyPolygon::setPropertyValueImpl(), and SdrEdgeObj::TRGetBaseGeometry().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrCaptionObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, and SdrTextObj.
Definition at line 3008 of file svdobj.cxx.
References basegfx::B2DHomMatrix::decompose(), FRound(), GetAnchorPos(), getSdrModelFromSdrObject(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), basegfx::fTools::less(), SetSnapRect(), basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), X, and Y.
Referenced by SvxShapePolyPolygon::setPropertyValueImpl(), and SdrEdgeObj::TRSetBaseGeometry().
|
friend |
Definition at line 286 of file svdobj.hxx.
|
friend |
Definition at line 268 of file svdobj.hxx.
|
friend |
Definition at line 267 of file svdobj.hxx.
|
friend |
Definition at line 270 of file svdobj.hxx.
Referenced by SdrRectObj::CloneSdrObject(), and SdrOle2Obj::createSdrGrafObjReplacement().
|
friend |
Definition at line 269 of file svdobj.hxx.
Referenced by SdrVirtObj::CloneSdrObject().
|
protected |
Definition at line 896 of file svdobj.hxx.
Referenced by SdrVirtObj::AddToHdlList(), SdrVirtObj::AddToPlusHdlList(), Equals(), GetAnchorPos(), SdrVirtObj::GetCurrentBoundRect(), SdrVirtObj::GetLastBoundRect(), SdrVirtObj::GetLogicRect(), SdrVirtObj::GetOffset(), SdrVirtObj::GetPoint(), GetRelativePos(), SdrCaptionObj::GetRelativePos(), SdrVirtObj::GetSnapPoint(), SdrVirtObj::GetSnapRect(), SdrTextObj::ImpConvertMakeObj(), ImpSetAnchorPos(), SdrVirtObj::Mirror(), SdrVirtObj::NbcMirror(), SdrVirtObj::NbcMove(), SdrVirtObj::NbcResize(), SdrVirtObj::NbcRotate(), SdrVirtObj::NbcSetAnchorPos(), NbcSetAnchorPos(), SdrObjGroup::NbcSetAnchorPos(), SdrVirtObj::NbcSetLogicRect(), SdrVirtObj::NbcSetPoint(), NbcSetRelativePos(), SdrCaptionObj::NbcSetRelativePos(), SdrObjGroup::NbcSetRelativePos(), SdrVirtObj::NbcSetSnapRect(), SdrVirtObj::NbcShear(), SdrVirtObj::RecalcBoundRect(), SdrVirtObj::RecalcSnapRect(), SdrVirtObj::Resize(), RestoreGeoData(), SdrVirtObj::Rotate(), SaveGeoData(), SdrObject(), SdrVirtObj::SdrVirtObj(), SetAnchorPos(), SdrObjGroup::SetAnchorPos(), SdrVirtObj::SetLogicRect(), SdrObjGroup::SetRelativePos(), SdrVirtObj::SetSnapRect(), SdrVirtObj::Shear(), and SdrVirtObj::TakeXorPoly().
|
mutableprotected |
Definition at line 895 of file svdobj.hxx.
Referenced by getOutRectangle(), moveOutRectangle(), resetOutRectangle(), setOutRectangle(), and setOutRectangleConst().
|
protected |
Definition at line 915 of file svdobj.hxx.
Referenced by E3dObject::E3dObject(), SdrCircObj::EndCreate(), Equals(), SdrAttrObj::HasFill(), SdrPathObj::ImpForceKind(), SdrPathObj::ImpSetClosed(), sdr::table::SdrTableObj::init(), SdrVirtObj::Notify(), RestoreGeoData(), SaveGeoData(), SdrCircObj::SdrCircObj(), SdrEdgeObj::SdrEdgeObj(), SdrObjCustomShape::SdrObjCustomShape(), SdrObject(), SdrObjGroup::SdrObjGroup(), SdrPathObj::SdrPathObj(), SdrRectObj::SdrRectObj(), SdrVirtObj::SdrVirtObj(), and SdrOle2Obj::SetClosedObj().
|
protected |
Definition at line 911 of file svdobj.hxx.
Referenced by Equals(), SdrObject(), SetEmptyPresObj(), and SdrGrafObj::TakeObjInfo().
|
protected |
Definition at line 917 of file svdobj.hxx.
Referenced by E3dObject::E3dObject(), Equals(), and SdrObject().
|
protected |
Definition at line 916 of file svdobj.hxx.
Referenced by Equals(), SdrEdgeObj::SdrEdgeObj(), and SdrObject().
|
protected |
Definition at line 918 of file svdobj.hxx.
Referenced by SdrObject(), and SdrUnoObj::SdrUnoObj().
|
private |
Definition at line 972 of file svdobj.hxx.
Referenced by Equals(), SdrObject(), and SetMarkProtect().
|
protected |
Definition at line 904 of file svdobj.hxx.
Referenced by SdrCaptionObj::beginSpecialDrag(), Equals(), RestoreGeoData(), SaveGeoData(), SdrObject(), and SetMoveProtect().
|
private |
Definition at line 970 of file svdobj.hxx.
Referenced by Equals(), RestoreGeoData(), SaveGeoData(), SdrObject(), and SetPrintable().
|
protected |
Definition at line 913 of file svdobj.hxx.
Referenced by Equals(), SdrObject(), and SetNotVisibleAsMaster().
|
protected |
Definition at line 905 of file svdobj.hxx.
Referenced by Equals(), RestoreGeoData(), SaveGeoData(), SdrObject(), SdrOle2Obj::SdrOle2Obj(), and SetResizeProtect().
|
protected |
Definition at line 902 of file svdobj.hxx.
Referenced by SdrObjCustomShape::DragCreateObject(), SdrAttrObj::GetSnapRect(), E3dScene::MovCreate(), SdrCaptionObj::MovCreate(), SdrCircObj::MovCreate(), SdrEdgeObj::MovCreate(), SdrMeasureObj::MovCreate(), sdr::table::SdrTableObj::MovCreate(), SdrTextObj::MovCreate(), SdrObject(), and SetBoundAndSnapRectsDirty().
|
protected |
Definition at line 901 of file svdobj.hxx.
Referenced by Equals(), SdrObject(), and SdrVirtObj::SdrVirtObj().
|
private |
Definition at line 965 of file svdobj.hxx.
Referenced by Equals(), GetOrdNum(), SdrObjList::SetExistingObjectOrdNum(), and SetOrdNum().
|
private |
Definition at line 966 of file svdobj.hxx.
Referenced by dumpAsXml(), GetGrabBagItem(), SdrObject(), SetGrabBagItem(), and ~SdrObject().
|
protected |
Definition at line 899 of file svdobj.hxx.
Referenced by AddListener(), AppendUserData(), BroadcastObjectChange(), DeleteUserData(), ForceGluePointList(), GetBroadcaster(), GetDescription(), GetGluePointList(), GetName(), GetTitle(), GetUserData(), GetUserDataCount(), SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded(), ImpForcePlusData(), InsertedStateChange(), IsDecorative(), RemoveListener(), RestoreGeoData(), SaveGeoData(), SdrObject(), SetDecorative(), SetDescription(), SetName(), SetTitle(), and ~SdrObject().
|
protected |
Definition at line 897 of file svdobj.hxx.
Referenced by SdrTextObj::AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), sdr::table::SdrTableObj::AdjustTextFrameWidthAndHeight(), ApplyNotPersistAttr(), Crop(), SdrEdgeObj::ImpRecalcEdgeTrack(), Mirror(), SdrObjGroup::Mirror(), SdrVirtObj::Mirror(), Move(), SdrObjCustomShape::Move(), SdrObjGroup::Move(), SdrVirtObj::Move(), SdrEdgeObj::Notify(), Resize(), SdrObjGroup::Resize(), SdrVirtObj::Resize(), Rotate(), SdrObjGroup::Rotate(), SdrVirtObj::Rotate(), SendUserCall(), 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(), E3dObject::SetTransform(), SetUserCall(), Shear(), SdrObjGroup::Shear(), SdrVirtObj::Shear(), SdrPathObj::ToggleClosed(), and SdrMeasureObj::TRSetBaseGeometry().
|
private |
Definition at line 975 of file svdobj.hxx.
Referenced by SetBLIPSizeRectangle().
|
private |
Definition at line 985 of file svdobj.hxx.
Referenced by getSvxShape(), getUnoShape(), and setUnoShape().
|
private |
Definition at line 989 of file svdobj.hxx.
Referenced by SetDoNotInsertIntoPageAutomatically().
|
protected |
Definition at line 920 of file svdobj.hxx.
Referenced by Equals(), SdrGrafObj::SdrGrafObj(), and SdrObject().
|
protected |
Definition at line 922 of file svdobj.hxx.
Referenced by Equals(), SdrGrafObj::SdrGrafObj(), SdrMeasureObj::SdrMeasureObj(), SdrObject(), and SdrTextObj::SdrTextObj().
|
private |
Definition at line 971 of file svdobj.hxx.
Referenced by Equals(), RestoreGeoData(), SaveGeoData(), SdrObject(), and SetVisible().
|
private |
Definition at line 969 of file svdobj.hxx.
Referenced by Equals(), GetLayer(), NbcSetLayer(), RestoreGeoData(), SaveGeoData(), and SdrObject().
|
private |
Definition at line 968 of file svdobj.hxx.
Referenced by Equals(), GetNavigationPosition(), and SetNavigationPosition().
|
private |
Definition at line 287 of file svdobj.hxx.
|
private |
Definition at line 963 of file svdobj.hxx.
Referenced by AddObjectUser(), GetRelativeHeight(), GetRelativeHeightRelation(), GetRelativeWidth(), GetRelativeWidthRelation(), RemoveObjectUser(), Resize(), SetRelativeHeight(), SetRelativeHeightRelation(), SetRelativeWidth(), SetRelativeWidthRelation(), and ~SdrObject().
|
private |
Definition at line 964 of file svdobj.hxx.
Referenced by getParentSdrObjListFromSdrObject(), and setParentOfSdrObject().
|
private |
Definition at line 977 of file svdobj.hxx.
Referenced by dumpAsXml(), GetProperties(), SdrObject(), and ~SdrObject().
|
private |
Definition at line 983 of file svdobj.hxx.
Referenced by getSvxShape(), getUnoShape(), and setUnoShape().
|
private |
Definition at line 979 of file svdobj.hxx.
Referenced by GetViewContact(), SdrObject(), and ~SdrObject().
|
private |
Definition at line 294 of file svdobj.hxx.
Referenced by getSdrModelFromSdrObject(), and MakeNameUnique().
|
private |
Definition at line 991 of file svdobj.hxx.