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) |
void | getMergedHierarchySdrLayerIDSet (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 |
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 |
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) |
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 () |
svx::PropertyChangeNotifier & | getShapePropertyChangeNotifier () |
void | notifyShapePropertyChange (const svx::ShapePropertyProviderId _eProperty) const |
virtual bool | TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const |
virtual void | TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon) |
bool | IsInDestruction () const |
bool | HasFillStyle () const |
bool | HasLineStyle () const |
const tools::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 |
![]() | |
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 |
![]() | |
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) |
![]() | |
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 |
![]() | |
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 260 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.
Referenced by CloneSdrObject().
Definition at line 387 of file svdobj.cxx.
References sdr::properties::BaseProperties::Clone(), GetProperties(), getSdrModelFromSdrObject(), impAddIncarnatedSdrObjectToSdrModel(), m_aAnchor, m_aOutRect, 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, and SAL_MAX_UINT32.
|
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 1220 of file svdobj.cxx.
Referenced by SdrMarkView::SetMarkHandles().
void SdrObject::AddListener | ( | SfxListener & | rListener | ) |
Definition at line 674 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 700 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 1196 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 1216 of file svdobj.cxx.
Referenced by SdrMarkView::ImpMarkPoint(), and SdrMarkView::SetMarkHandles().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrGrafObj, SdrMediaObj, and sdr::table::SdrTableObj.
Definition at line 1685 of file svdobj.cxx.
References SetLogicRect().
void SdrObject::AppendUserData | ( | std::unique_ptr< SdrObjUserData > | pData | ) |
Definition at line 2732 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 2022 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 1323 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 1382 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 1348 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 1312 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 1378 of file svdobj.cxx.
void SdrObject::BroadcastObjectChange | ( | ) | const |
Definition at line 978 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(), 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 1845 of file svdobj.cxx.
References sdr::properties::BaseProperties::ForceStyleToHardAttributes(), and GetProperties().
Referenced by SdrObjList::BurnInStyleSheetAttributes().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1855 of file svdobj.cxx.
References SdrObjMacroHitRec::aPos, SdrObjMacroHitRec::nTol, SdrObjMacroHitRec::pPageView, SdrObjMacroHitRec::pVisiLayer, and SdrObjectPrimitiveHit().
Referenced by IsMacroHit().
void SdrObject::ClearMergedItem | ( | const sal_uInt16 | nWhich = 0 | ) |
Definition at line 1992 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().
|
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 1047 of file svdobj.cxx.
References SdrObject().
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 2371 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 2584 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 2623 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 1570 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 2747 of file svdobj.cxx.
References GetUserDataCount(), m_pPlusData, and nCount.
Referenced by SdrTextObj::ReleaseTextLink().
void SdrObject::DelReference | ( | SdrVirtObj & | rVrtObj | ) |
Definition at line 705 of file svdobj.cxx.
References RemoveListener().
|
virtual |
Reimplemented in SdrEdgeObj.
Definition at line 2375 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 2642 of file svdobj.cxx.
Referenced by ConvertToPolyObj(), and SdrObjGroup::DoConvertToPolyObj().
|
inline |
Definition at line 854 of file svdobj.hxx.
Referenced by sdr::properties::TextProperties::ItemChange().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1887 of file svdobj.cxx.
Referenced by SdrObjEditView::EndMacroObj().
|
virtual |
Reimplemented in SdrObjGroup, and sdr::table::SdrTableObj.
Definition at line 1774 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 1368 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 1761 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, and mnNavigationPosition.
Referenced by Equals().
|
virtual |
Reimplemented in SdrObjCustomShape, and SdrEdgeObj.
Definition at line 2322 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 3161 of file svdobj.cxx.
References o3tl::convert(), basegfx::utils::createScaleB2DHomMatrix(), o3tl::invalid, MapToO3tlLength(), and o3tl::mm100.
const Point & SdrObject::GetAnchorPos | ( | ) | const |
Definition at line 1656 of file svdobj.cxx.
References m_aAnchor, and Point.
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 891 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 826 of file svdobj.hxx.
const SfxBroadcaster * SdrObject::GetBroadcaster | ( | ) | const |
Definition at line 695 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 2379 of file svdobj.cxx.
Referenced by SdrEditView::CreateConnectorUndo(), and SdrDragMethod::CreateOverlayGeometry().
|
virtual |
Reimplemented in SdrEdgeObj, and SdrRectObj.
Definition at line 2299 of file svdobj.cxx.
References tools::Rectangle::BottomLeft(), tools::Rectangle::BottomRight(), tools::Rectangle::Center(), GetCurrentBoundRect(), GetSnapRect(), Point, 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 1398 of file svdobj.cxx.
|
virtual |
Reimplemented in SdrEdgeObj, SdrObjGroup, and SdrVirtObj.
Definition at line 926 of file svdobj.cxx.
References tools::Rectangle::IsEmpty(), m_aOutRect, 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 859 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 291 of file svdobj.hxx.
const Graphic * SdrObject::getFillGraphic | ( | ) | const |
Definition at line 914 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 1306 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 1953 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 2315 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 886 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 1191 of file svdobj.cxx.
|
inline |
Definition at line 890 of file svdobj.hxx.
Referenced by SvxShape::getPropertyValueImpl(), and SdrView::PickAnything().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 940 of file svdobj.cxx.
References m_aOutRect.
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(), getMergedHierarchySdrLayerIDSet(), 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(), 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 1675 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 1865 of file svdobj.cxx.
Referenced by SdrView::GetPreferredPointer().
void SdrObject::getMergedHierarchySdrLayerIDSet | ( | SdrLayerIDSet & | rSet | ) | const |
Definition at line 650 of file svdobj.cxx.
References GetLayer(), getMergedHierarchySdrLayerIDSet(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), GetSubList(), rSet, and SfxItemSet::Set().
Referenced by getMergedHierarchySdrLayerIDSet(), SdrViewIter::ImpCheckPageView(), and sdr::contact::ViewObjectContactOfGroup::isPrimitiveVisibleOnAnyLayer().
const SfxPoolItem & SdrObject::GetMergedItem | ( | const sal_uInt16 | nWhich | ) | const |
Definition at line 2012 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 1977 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 1091 of file svdobj.cxx.
References SdrModel::GetMetricString(), and getSdrModelFromSdrObject().
Referenced by SdrRectObj::getSpecialDragComment().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 769 of file svdobj.cxx.
References EMPTY, m_pPlusData, and u.
Referenced by sdr::contact::ViewContactOfGraphic::createVIP2DSForDraft(), dumpAsXml(), accessibility::AccessibleShape::GetFullAccessibleName(), SvxShape::getName(), 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 905 of file svdobj.cxx.
References GetOrdNum(), getParentSdrObjListFromSdrObject(), and mnNavigationPosition.
Referenced by ImpSdrMarkListSorter(), and SdrMarkView::MarkNextObj().
|
protected |
Definition at line 2007 of file svdobj.cxx.
References SfxItemSet::Get(), and GetObjectItemSet().
Referenced by SdrObjCustomShape::AdaptTextMinSize(), SdrEdgeObj::AddToHdlList(), SdrTextObj::GetFitToSize(), SdrEdgeObj::GetHdlCount(), HasFillStyle(), HasLineStyle(), SdrTextObj::ImpAutoFitText(), SdrEdgeObj::ImpCalcEdgeTrack(), SdrAttrObj::ImpGetLineWdt(), ImpEdgeHdl::IsHorzDrag(), sdr::table::SdrTableObj::IsVerticalWriting(), SdrGrafObj::TakeObjNamePlural(), and SdrGrafObj::TakeObjNameSingul().
|
inlineprotected |
Definition at line 959 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 1972 of file svdobj.cxx.
References sdr::properties::BaseProperties::GetObjectItemSet(), and GetProperties().
Referenced by SdrTextObj::AdaptTextMinSize(), SdrObjCustomShape::AdaptTextMinSize(), 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(), DynCastE3dScene(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SC(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SD(), SvxTextEditSourceImpl::GetEditModeTextForwarder(), svx::sidebar::SelectionAnalyzer::GetObjectTypeFromGroup(), svx::sidebar::SelectionAnalyzer::GetObjectTypeFromMark(), sdr::contact::ViewObjectContact::getPrimitive2DSequence(), 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(), DynCastE3dObject(), DynCastE3dScene(), sdr::properties::TextProperties::ForceDefaultAttributes(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SC(), svx::sidebar::SelectionAnalyzer::GetContextForSelection_SD(), SvxTextEditSourceImpl::GetEditModeTextForwarder(), svx::sidebar::SelectionAnalyzer::GetInventorTypeFromMark(), sdr::contact::ViewObjectContact::getPrimitive2DSequence(), 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 869 of file svdobj.cxx.
References getParentSdrObjListFromSdrObject(), and m_nOrdNum.
Referenced by SdrEditView::CombineMarkedObjects(), SdrObjList::CopyObjects(), 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 851 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 1836 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 3178 of file svdobj.cxx.
References m_aOutRect.
Referenced by dumpAsXml(), SdrEdgeObj::GetTailPoint(), SdrEdgeObj::ImpCalcEdgeTrack(), NbcMirror(), NbcResize(), SdrObjGroup::NbcResize(), NbcRotate(), SdrObjGroup::Resize(), and SdrObjGroup::TakeXorPoly().
SdrObject * SdrObject::getParentSdrObjectFromSdrObject | ( | ) | const |
Definition at line 720 of file svdobj.cxx.
References getParentSdrObjListFromSdrObject(), and SdrObjList::getSdrObjectFromSdrObjList().
Referenced by SdrPageView::CheckCurrentGroup(), 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(), SdrObjList::CopyObjects(), 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 1738 of file svdobj.cxx.
References Point.
Referenced by GetSnapPoint(), SdrEditView::ImpCrookObj(), and SdrEditView::ImpDistortObj().
|
virtual |
Reimplemented in SdrEdgeObj, SdrMeasureObj, SdrPathObj, and SdrVirtObj.
Definition at line 1733 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 1628 of file svdobj.cxx.
References GetSnapRect(), m_aAnchor, Point, 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 1708 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(), 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(), SdrText::RemoveOutlinerParaObject(), sdr::table::TableModel::removeRows(), SdrObjList::ReplaceObject(), SvxOle2Shape::resetModifiedState(), SdrPathObj::RipPoint(), SdrObjEditView::SdrBeginTextEdit(), SdrObject(), SdrOle2Obj::SdrOle2Obj(), SvxShape::setAllPropertiesToDefault(), sdr::table::SvxTableController::SetAttrToSelectedCells(), SetChanged(), SvxShapeControl::setControl(), E3dView::SetCurrent3DObj(), SetDescription(), SdrObjList::SetExistingObjectOrdNum(), sdr::table::TableRow::setFastPropertyValue(), SdrOle2Obj::SetGeoData(), SdrGrafObj::SetGrafStreamURL(), SetName(), SdrObjList::SetObjectNavigationPosition(), SetOutlinerParaObject(), SdrText::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(), SvxGetGraphicForShape(), 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 3996 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::table::SvxTableController::EditCell(), getBackgroundFillSet(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), SdrEdgeObj::GetConnectedNode(), sdr::contact::ViewObjectContact::getPrimitive2DSequence(), 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().
svx::PropertyChangeNotifier & SdrObject::getShapePropertyChangeNotifier | ( | ) |
Definition at line 2959 of file svdobj.cxx.
References DBG_TESTSOLARMUTEX, ENSURE_OR_THROW, SvxShape::getShapePropertyChangeNotifier(), and getSvxShape().
|
virtual |
Reimplemented in SdrObjGroup, SdrTextObj, and SdrVirtObj.
Definition at line 1713 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 1723 of file svdobj.cxx.
References GetPoint(), i, and Point.
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 1718 of file svdobj.cxx.
References GetPointCount().
Referenced by SdrSnapView::SnapPos().
|
virtual |
Reimplemented in SdrAttrObj, SdrEdgeObj, SdrObjGroup, sdr::table::SdrTableObj, and SdrVirtObj.
Definition at line 1665 of file svdobj.cxx.
References m_aOutRect.
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::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 1335 of file svdobj.cxx.
Referenced by SdrDragObjOwn::GetSdrDragComment().
|
virtual |
Reimplemented in SdrPathObj, sdr::table::SdrTableObj, and SdrVirtObj.
Definition at line 1340 of file svdobj.cxx.
SfxStyleSheet * SdrObject::GetStyleSheet | ( | ) | const |
Definition at line 2247 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 715 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(), getMergedHierarchySdrLayerIDSet(), 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(), 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 2855 of file svdobj.cxx.
References DBG_TESTSOLARMUTEX, maWeakUnoShape, and mpSvxShape.
Referenced by getShapePropertyChangeNotifier(), and notifyShapePropertyChange().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 815 of file svdobj.cxx.
References m_pPlusData.
Referenced by dumpAsXml(), accessibility::AccessibleGraphicShape::getAccessibleImageDescription(), accessibility::AccessibleShape::getAccessibleName(), and SetTitle().
|
virtual |
Definition at line 2869 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 844 of file svdobj.hxx.
Referenced by sdr::table::SvxTableController::changeTableEdge(), SvxShape::Create(), SdrDragObjOwn::EndSdrDrag(), sdr::contact::ViewObjectContact::getPrimitive2DSequence(), GraphCtrl::MouseButtonDown(), and SendUserCall().
SdrObjUserData * SdrObject::GetUserData | ( | sal_uInt16 | nNum | ) | const |
Definition at line 2726 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 2720 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 2278 of file svdobj.cxx.
References tools::Rectangle::BottomCenter(), tools::Rectangle::Center(), GetSnapRect(), tools::Rectangle::LeftCenter(), Point, 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 883 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 3053 of file svdobj.cxx.
References GetObjectItem(), and XATTR_FILLSTYLE().
Referenced by E3dDragMethod::E3dDragMethod(), and SdrEditView::UnGroupMarked().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1041 of file svdobj.cxx.
Referenced by SdrMarkView::SetMarkHandles(), and SdrMarkView::SetMarkHandlesForLOKit().
bool SdrObject::HasLineStyle | ( | ) | const |
Definition at line 3058 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 1850 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 1296 of file svdobj.cxx.
Referenced by SdrDragView::BegDragObj(), and SdrMarkView::ImpIsFrameHandles().
|
virtual |
Reimplemented in sdr::table::SdrTableObj, and SdrTextObj.
Definition at line 3088 of file svdobj.cxx.
|
virtual |
Reimplemented in SdrMediaObj, and SdrTextObj.
Definition at line 1756 of file svdobj.cxx.
Referenced by SdrView::PickAnything(), and SdrMarkView::PickObj().
|
private |
Definition at line 2411 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 1226 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(), Point, tools::Rectangle::Right(), Right, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), tools::Rectangle::Top(), Upper, UpperLeft, and UpperRight.
Referenced by applySpecialDrag().
|
protected |
Definition at line 1085 of file svdobj.cxx.
References m_pPlusData.
Referenced by AddListener(), AppendUserData(), ForceGluePointList(), RestoreGeoData(), SetDescription(), SetName(), and SetTitle().
|
protected |
Definition at line 1067 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 1633 of file svdobj.cxx.
References m_aAnchor.
void SdrObject::InsertedStateChange | ( | ) |
Definition at line 2648 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 2270 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().
|
inline |
Definition at line 265 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 848 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 840 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 710 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 3047 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 1892 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 842 of file svdobj.hxx.
Referenced by SdrMarkView::CheckSingleSdrObjectHit(), SdrViewIter::ImpCheckPageView(), and sdr::contact::ViewObjectContactOfSdrObj::isPrimitiveVisible().
|
virtual |
Reimplemented in SdrEdgeObj, SdrMeasureObj, SdrPathObj, and SdrVirtObj.
Definition at line 1728 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 3093 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::LineGeometryUsageIsNecessary | ( | ) | const |
Definition at line 1035 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 859 of file svdobj.hxx.
Referenced by SdrRectObj::GetCornerGluePoint(), SdrObjCustomShape::GetVertexGluePoint(), and SdrRectObj::GetVertexGluePoint().
void SdrObject::MakeNameUnique | ( | ) |
Definition at line 3098 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 3122 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 1590 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 1358 of file svdobj.cxx.
References tools::Rectangle::Normalize(), SdrDragStat::SetActionRect(), setOutRectangle(), and SdrDragStat::TakeCreateRect().
|
virtual |
Reimplemented in SdrObjCustomShape, SdrObjGroup, and SdrVirtObj.
Definition at line 1534 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 3198 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 2031 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(), Point, 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(), tools::Rectangle::Top(), and toRadians().
Referenced by ApplyNotPersistAttr().
|
virtual |
Definition at line 1545 of file svdobj.cxx.
Referenced by Crop().
Reimplemented in SdrObjCustomShape, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrObjGroup, SdrMeasureObj, SdrRectObj, SdrTextObj, SdrVirtObj, and SdrPathObj.
Definition at line 1514 of file svdobj.cxx.
References getOutRectangle(), NbcMirrorGluePoints(), SetBoundAndSnapRectsDirty(), SetGlueReallyAbsolute(), and setOutRectangle().
Referenced by Mirror(), and SdrObjGroup::NbcMirror().
Definition at line 2351 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 1404 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 1841 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 1410 of file svdobj.cxx.
References Center, Fraction::GetDenominator(), Fraction::GetNumerator(), getOutRectangle(), GetSnapRect(), NbcMirrorGluePoints(), Point, ResizeRect(), SetBoundAndSnapRectsDirty(), and setOutRectangle().
Referenced by NbcApplyNotPersistAttr(), SdrObjGroup::NbcResize(), and Resize().
Definition at line 1434 of file svdobj.cxx.
References a, NbcRotate(), and toRadians().
Reimplemented in E3dObject, E3dScene, SdrObjCustomShape, SdrEdgeObj, SdrObjGroup, SdrMeasureObj, SdrRectObj, SdrTextObj, SdrVirtObj, and SdrPathObj.
Definition at line 1503 of file svdobj.cxx.
References getOutRectangle(), NbcRotateGluePoints(), SetBoundAndSnapRectsDirty(), SetGlueReallyAbsolute(), and setOutRectangle().
Referenced by SdrEditView::DoImportMarkedMtf(), NbcApplyNotPersistAttr(), NbcRotate(), SdrObjGroup::NbcRotate(), and Rotate().
Definition at line 2341 of file svdobj.cxx.
References ForceGluePointList(), GetGluePointList(), and SdrGluePointList::Rotate().
Referenced by NbcRotate(), E3dObject::NbcRotate(), E3dScene::NbcRotate(), SdrObjGroup::NbcRotate(), SdrTextObj::NbcRotate(), and SdrObjGroup::Rotate().
|
virtual |
Reimplemented in SdrVirtObj, SdrEdgeObj, and SdrObjGroup.
Definition at line 1638 of file svdobj.cxx.
References m_aAnchor, and NbcMove().
Referenced by SdrObjList::InsertObject(), SdrEdgeObj::NbcSetAnchorPos(), SdrObjGroup::NbcSetAnchorPos(), and SetAnchorPos().
|
virtual |
Reimplemented in E3dScene, SdrObjGroup, and SdrUnoObj.
Definition at line 662 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 1680 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 1832 of file svdobj.cxx.
Referenced by SetOutlinerParaObject().
|
virtual |
Reimplemented in SdrEdgeObj, SdrMeasureObj, SdrVirtObj, and SdrPathObj.
Definition at line 1752 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 1610 of file svdobj.cxx.
References GetSnapRect(), m_aAnchor, NbcMove(), Point, and TopLeft.
Referenced by SetRelativePos().
|
virtual |
Reimplemented in E3dScene, SdrObjCustomShape, SdrCircObj, SdrEdgeObj, SdrObjGroup, SdrOle2Obj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, SdrTextObj, and SdrVirtObj.
Definition at line 1670 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 2265 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 1527 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 2361 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 1898 of file svdobj.cxx.
Referenced by GetGeoData().
void SdrObject::notifyShapePropertyChange | ( | const svx::ShapePropertyProviderId | _eProperty | ) | const |
Definition at line 2968 of file svdobj.cxx.
References DBG_TESTSOLARMUTEX, SvxShape::getShapePropertyChangeNotifier(), getSvxShape(), and svx::PropertyChangeNotifier::notifyPropertyChange().
Referenced by SendUserCall().
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 1870 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 945 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(), getSdrModelFromSdrObject(), GetViewContact(), sdr::contact::ViewContact::getViewIndependentPrimitive2DContainer(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), tools::Rectangle::IsEmpty(), utl::ConfigManager::IsFuzzing(), and m_aOutRect.
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 1661 of file svdobj.cxx.
Referenced by SdrAttrObj::GetSnapRect().
|
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 685 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 3193 of file svdobj.cxx.
References m_aOutRect.
|
virtual |
Reimplemented in SdrObjGroup, and SdrVirtObj.
Definition at line 1551 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 1926 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 1579 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 1903 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 2766 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 1645 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 3071 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(), NbcRotate(), 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 m_aOutRect.
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 1002 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(), 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(), 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 3076 of file svdobj.cxx.
|
virtual |
Reimplemented in SdrVirtObj.
Definition at line 825 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 3081 of file svdobj.cxx.
References mbDoNotInsertIntoPageAutomatically.
void SdrObject::SetEmptyPresObj | ( | bool | bEpt | ) |
Definition at line 2571 of file svdobj.cxx.
References m_bEmptyPresObj.
Referenced by SvxTextEditSourceImpl::GetBackgroundTextForwarder(), SdrUndoObjSetText::Undo(), and SvxTextEditSourceImpl::UpdateData().
|
inlineprivate |
Definition at line 289 of file svdobj.hxx.
Referenced by EnhancedCustomShape2d::CreatePathObj().
|
virtual |
Reimplemented in SdrOle2Obj, and SdrVirtObj.
Definition at line 1960 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 2331 of file svdobj.cxx.
References ForceGluePointList(), GetGluePointList(), and SdrGluePointList::SetReallyAbsolute().
Referenced by SdrObjGroup::Mirror(), NbcMirror(), SdrObjGroup::NbcMirror(), SdrTextObj::NbcMirror(), NbcRotate(), 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 894 of file svdobj.cxx.
References BroadcastObjectChange(), m_pGrabBagItem, and SetChanged().
Referenced by SdrObjGroup::SetGrabBagItem(), and SetOutlinerParaObject().
|
inline |
Definition at line 891 of file svdobj.hxx.
|
virtual |
Definition at line 667 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 1699 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 2565 of file svdobj.cxx.
References m_bMarkProt.
void SdrObject::SetMergedItem | ( | const SfxPoolItem & | rItem | ) |
Definition at line 1987 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 2002 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 2017 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 2669 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 732 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 916 of file svdobj.cxx.
References mnNavigationPosition.
Referenced by SdrObjList::InsertObjectIntoContainer(), and SdrObjList::SetExistingObjectOrdNum().
void SdrObject::SetNotVisibleAsMaster | ( | bool | bFlg | ) |
Definition at line 2577 of file svdobj.cxx.
References m_bNotVisibleAsMaster.
|
protected |
Definition at line 1982 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 1997 of file svdobj.cxx.
References GetProperties(), rSet, and sdr::properties::BaseProperties::SetObjectItemSet().
Referenced by SdrTextObj::AdaptTextMinSize(), SdrObjCustomShape::AdaptTextMinSize(), sdr::properties::CellProperties::ItemChange(), SdrTextObj::SetVerticalWriting(), and SdrObjCustomShape::SetVerticalWriting().
void SdrObject::SetOrdNum | ( | sal_uInt32 | nNum | ) |
Definition at line 881 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 1801 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 3188 of file svdobj.cxx.
References m_aOutRect.
Referenced by BegCreate(), EndCreate(), MovCreate(), NbcMirror(), NbcResize(), SdrObjGroup::NbcResize(), NbcRotate(), NbcSetSnapRect(), SdrVirtObj::RecalcBoundRect(), SdrObjGroup::Resize(), RestoreGeoData(), and SdrPageObj::SdrPageObj().
|
protected |
Definition at line 3183 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(), SdrObjList::ReplaceObject(), and SdrObjList::~SdrObjList().
void SdrObject::SetPoint | ( | const Point & | rPnt, |
sal_uInt32 | i | ||
) |
Definition at line 1743 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 2691 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 1617 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 2680 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 1690 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 2252 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 878 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 781 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 2827 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 2760 of file svdobj.cxx.
References m_pUserCall.
Referenced by SvxShape::Create(), and GraphCtrl::MouseButtonDown().
void SdrObject::SetVisible | ( | bool | bVisible | ) |
Definition at line 2705 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 1599 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 1024 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 1301 of file svdobj.cxx.
Referenced by SdrDragMethod::createSdrDragEntries_SolidDrag(), and SdrDragObjOwn::SdrDragObjOwn().
|
virtual |
contour for TextToContour
Reimplemented in SdrObjCustomShape, and SdrTextObj.
Definition at line 1105 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 1387 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 2203 of file svdobj.cxx.
References 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(), Point, SfxItemSet::Put(), SDRATTR_OBJECTNAME(), SDRATTR_OBJMOVEPROTECT(), SDRATTR_OBJSIZEPROTECT(), SDRATTR_ROTATEANGLE(), and tools::Rectangle::Top().
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 1062 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 1052 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 1096 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 2986 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 3013 of file svdobj.cxx.
References basegfx::B2DHomMatrix::decompose(), FRound(), GetAnchorPos(), getSdrModelFromSdrObject(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), basegfx::fTools::less(), Point, 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 287 of file svdobj.hxx.
|
friend |
Definition at line 269 of file svdobj.hxx.
|
friend |
Definition at line 268 of file svdobj.hxx.
|
friend |
Definition at line 271 of file svdobj.hxx.
Referenced by SdrRectObj::CloneSdrObject(), and SdrOle2Obj::createSdrGrafObjReplacement().
|
friend |
Definition at line 270 of file svdobj.hxx.
Referenced by SdrVirtObj::CloneSdrObject().
|
protected |
Definition at line 903 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 902 of file svdobj.hxx.
Referenced by GetCurrentBoundRect(), SdrObjGroup::GetCurrentBoundRect(), SdrVirtObj::GetCurrentBoundRect(), GetLastBoundRect(), SdrVirtObj::GetLastBoundRect(), getOutRectangle(), GetSnapRect(), SdrObjGroup::GetSnapRect(), moveOutRectangle(), RecalcBoundRect(), resetOutRectangle(), E3dScene::RotateScene(), SdrObject(), SetBoundRectDirty(), setOutRectangle(), and setOutRectangleConst().
|
protected |
Definition at line 922 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 918 of file svdobj.hxx.
Referenced by Equals(), SdrObject(), SetEmptyPresObj(), and SdrGrafObj::TakeObjInfo().
|
protected |
Definition at line 924 of file svdobj.hxx.
Referenced by E3dObject::E3dObject(), Equals(), and SdrObject().
|
protected |
Definition at line 923 of file svdobj.hxx.
Referenced by Equals(), SdrEdgeObj::SdrEdgeObj(), and SdrObject().
|
protected |
Definition at line 925 of file svdobj.hxx.
Referenced by SdrObject(), and SdrUnoObj::SdrUnoObj().
|
private |
Definition at line 979 of file svdobj.hxx.
Referenced by Equals(), SdrObject(), and SetMarkProtect().
|
protected |
Definition at line 911 of file svdobj.hxx.
Referenced by SdrCaptionObj::beginSpecialDrag(), Equals(), RestoreGeoData(), SaveGeoData(), SdrObject(), and SetMoveProtect().
|
private |
Definition at line 977 of file svdobj.hxx.
Referenced by Equals(), RestoreGeoData(), SaveGeoData(), SdrObject(), and SetPrintable().
|
protected |
Definition at line 920 of file svdobj.hxx.
Referenced by Equals(), SdrObject(), and SetNotVisibleAsMaster().
|
protected |
Definition at line 912 of file svdobj.hxx.
Referenced by Equals(), RestoreGeoData(), SaveGeoData(), SdrObject(), SdrOle2Obj::SdrOle2Obj(), and SetResizeProtect().
|
protected |
Definition at line 909 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 908 of file svdobj.hxx.
Referenced by Equals(), SdrObject(), and SdrVirtObj::SdrVirtObj().
|
private |
Definition at line 972 of file svdobj.hxx.
Referenced by Equals(), GetOrdNum(), SdrObjList::SetExistingObjectOrdNum(), and SetOrdNum().
|
private |
Definition at line 973 of file svdobj.hxx.
Referenced by dumpAsXml(), GetGrabBagItem(), SdrObject(), SetGrabBagItem(), and ~SdrObject().
|
protected |
Definition at line 906 of file svdobj.hxx.
Referenced by AddListener(), AppendUserData(), BroadcastObjectChange(), DeleteUserData(), ForceGluePointList(), GetBroadcaster(), GetDescription(), GetGluePointList(), GetName(), GetTitle(), GetUserData(), GetUserDataCount(), SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded(), ImpForcePlusData(), InsertedStateChange(), RemoveListener(), RestoreGeoData(), SaveGeoData(), SdrObject(), SetDescription(), SetName(), SetTitle(), and ~SdrObject().
|
protected |
Definition at line 904 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 982 of file svdobj.hxx.
Referenced by SetBLIPSizeRectangle().
|
private |
Definition at line 992 of file svdobj.hxx.
Referenced by getSvxShape(), getUnoShape(), and setUnoShape().
|
private |
Definition at line 996 of file svdobj.hxx.
Referenced by SetDoNotInsertIntoPageAutomatically().
|
protected |
Definition at line 927 of file svdobj.hxx.
Referenced by Equals(), SdrGrafObj::SdrGrafObj(), and SdrObject().
|
protected |
Definition at line 929 of file svdobj.hxx.
Referenced by Equals(), SdrGrafObj::SdrGrafObj(), SdrMeasureObj::SdrMeasureObj(), SdrObject(), and SdrTextObj::SdrTextObj().
|
private |
Definition at line 978 of file svdobj.hxx.
Referenced by Equals(), RestoreGeoData(), SaveGeoData(), SdrObject(), and SetVisible().
|
private |
Definition at line 976 of file svdobj.hxx.
Referenced by Equals(), GetLayer(), NbcSetLayer(), RestoreGeoData(), SaveGeoData(), and SdrObject().
|
private |
Definition at line 975 of file svdobj.hxx.
Referenced by Equals(), GetNavigationPosition(), and SetNavigationPosition().
|
private |
Definition at line 288 of file svdobj.hxx.
|
private |
Definition at line 970 of file svdobj.hxx.
Referenced by AddObjectUser(), GetRelativeHeight(), GetRelativeHeightRelation(), GetRelativeWidth(), GetRelativeWidthRelation(), RemoveObjectUser(), Resize(), SetRelativeHeight(), SetRelativeHeightRelation(), SetRelativeWidth(), SetRelativeWidthRelation(), and ~SdrObject().
|
private |
Definition at line 971 of file svdobj.hxx.
Referenced by getParentSdrObjListFromSdrObject(), and setParentOfSdrObject().
|
private |
Definition at line 984 of file svdobj.hxx.
Referenced by dumpAsXml(), GetProperties(), SdrObject(), and ~SdrObject().
|
private |
Definition at line 990 of file svdobj.hxx.
Referenced by getSvxShape(), getUnoShape(), and setUnoShape().
|
private |
Definition at line 986 of file svdobj.hxx.
Referenced by GetViewContact(), SdrObject(), and ~SdrObject().
|
private |
Definition at line 295 of file svdobj.hxx.
Referenced by getSdrModelFromSdrObject(), and MakeNameUnique().
|
private |
Definition at line 998 of file svdobj.hxx.