LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdrObjGroup Class Referencefinal

#include <svdogrp.hxx>

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

Public Member Functions

 SdrObjGroup (SdrModel &rSdrModel)
 
virtual SdrPagegetSdrPageFromSdrObjList () const override
 
virtual SdrObjectgetSdrObjectFromSdrObjList () const override
 
virtual SdrObjListgetChildrenOfSdrObject () const override
 
virtual void SetBoundRectDirty () override
 
virtual sal_uInt16 GetObjIdentifier () const override
 
virtual void TakeObjInfo (SdrObjTransformInfoRec &rInfo) const override
 
virtual SdrLayerID GetLayer () const override
 
virtual void NbcSetLayer (SdrLayerID nLayer) override
 
virtual void handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage) override
 
virtual SdrObjListGetSubList () const override
 
virtual const tools::RectangleGetCurrentBoundRect () const override
 
virtual const tools::RectangleGetSnapRect () const override
 
virtual SdrObjGroupCloneSdrObject (SdrModel &rTargetModel) const override
 
SdrObjGroupoperator= (const SdrObjGroup &rObj)
 
virtual OUString TakeObjNameSingul () const override
 
virtual OUString TakeObjNamePlural () const override
 
virtual void RecalcSnapRect () override
 Snap is not done on the BoundRect but if possible on logic coordinates (i.e. More...
 
virtual basegfx::B2DPolyPolygon TakeXorPoly () const override
 The Xor-Polygon is required by the View to drag the object. More...
 
virtual bool beginSpecialDrag (SdrDragStat &rDrag) const override
 
virtual bool BegCreate (SdrDragStat &rStat) override
 Every object must be able to create itself interactively. More...
 
virtual long GetRotateAngle () const override
 
virtual long GetShearAngle (bool bVertical=false) const override
 
virtual void Move (const Size &rSiz) override
 
virtual void Resize (const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bUnsetRelative=true) override
 
virtual void Rotate (const Point &rRef, long nAngle, double sn, double cs) override
 
virtual void Mirror (const Point &rRef1, const Point &rRef2) override
 
virtual void Shear (const Point &rRef, long nAngle, double tn, bool bVShear) override
 
virtual void SetAnchorPos (const Point &rPnt) override
 
virtual void SetRelativePos (const Point &rPnt) override
 
virtual void SetSnapRect (const tools::Rectangle &rRect) override
 
virtual void SetLogicRect (const tools::Rectangle &rRect) override
 
virtual void NbcMove (const Size &rSiz) override
 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) override
 
virtual void NbcRotate (const Point &rRef, long nAngle, double sn, double cs) override
 
virtual void NbcMirror (const Point &rRef1, const Point &rRef2) override
 
virtual void NbcShear (const Point &rRef, long nAngle, double tn, bool bVShear) override
 
virtual void NbcSetAnchorPos (const Point &rPnt) override
 
virtual void NbcSetRelativePos (const Point &rPnt) override
 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 NbcSetSnapRect (const tools::Rectangle &rRect) override
 
virtual void NbcSetLogicRect (const tools::Rectangle &rRect) override
 
virtual void NbcReformatText () override
 
virtual SdrObjectUniquePtr DoConvertToPolyObj (bool bBezier, bool bAddText) const override
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
- Public Member Functions inherited from SdrObject
const SdrObjectgetFillGeometryDefiningShape () const
 
 SdrObject (SdrModel &rSdrModel)
 
SdrPagegetSdrPageFromSdrObject () const
 
SdrModelgetSdrModelFromSdrObject () const
 
SdrObjListgetParentSdrObjListFromSdrObject () const
 
SdrObjectgetParentSdrObjectFromSdrObject () const
 
void AddObjectUser (sdr::ObjectUser &rNewUser)
 
void RemoveObjectUser (sdr::ObjectUser &rOldUser)
 
sdr::contact::ViewContactGetViewContact () const
 
virtual sdr::properties::BasePropertiesGetProperties () const
 
void ActionChanged () const
 
void SetRelativeWidth (double nValue)
 
void SetRelativeWidthRelation (sal_Int16 eValue)
 
void SetRelativeHeight (double nValue)
 
void SetRelativeHeightRelation (sal_Int16 eValue)
 
const double * GetRelativeWidth () const
 
sal_Int16 GetRelativeWidthRelation () const
 
const double * GetRelativeHeight () const
 
sal_Int16 GetRelativeHeightRelation () const
 
void SetDiagramData (std::shared_ptr< DiagramDataInterface > pDiagramData)
 
std::shared_ptr< DiagramDataInterfaceGetDiagramData () const
 
virtual void SetRectsDirty (bool bNotMyself=false, bool bRecursive=true)
 
SfxItemPoolGetObjectItemPool () const
 
void AddListener (SfxListener &rListener)
 
void RemoveListener (SfxListener &rListener)
 
void AddReference (SdrVirtObj &rVrtObj)
 
void DelReference (SdrVirtObj &rVrtObj)
 
virtual SdrInventor GetObjInventor () const
 
virtual void SetLayer (SdrLayerID nLayer)
 
void getMergedHierarchySdrLayerIDSet (SdrLayerIDSet &rSet) const
 
void SendUserCall (SdrUserCallType eUserCall, const tools::Rectangle &rBoundRect) const
 
void SetName (const OUString &rStr)
 
OUString GetName () const
 
void MakeNameUnique (std::unordered_set< OUString > &rNameSet)
 
void SetTitle (const OUString &rStr)
 
OUString GetTitle () const
 
void SetDescription (const OUString &rStr)
 
OUString GetDescription () const
 
bool IsGroupObject () const
 
sal_uInt32 GetOrdNum () const
 The order number (aka ZOrder, aka z-index) determines whether a SdrObject is located above or below another. More...
 
void SetOrdNum (sal_uInt32 nNum)
 
void GetGrabBagItem (css::uno::Any &rVal) const
 
void SetGrabBagItem (const css::uno::Any &rVal)
 
sal_uInt32 GetNavigationPosition () const
 
virtual const tools::RectangleGetLastBoundRect () const
 
virtual void RecalcBoundRect ()
 
void BroadcastObjectChange () const
 
const SfxBroadcasterGetBroadcaster () const
 
virtual void SetChanged ()
 
void SingleObjectPainter (OutputDevice &rOut) const
 
bool LineGeometryUsageIsNecessary () const
 
virtual bool HasLimitedRotation () const
 
SdrObjectoperator= (const SdrObject &rObj)
 
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 applySpecialDrag (SdrDragStat &rDrag)
 
virtual OUString getSpecialDragComment (const SdrDragStat &rDrag) const
 
virtual basegfx::B2DPolyPolygon getSpecialDragPoly (const SdrDragStat &rDrag) const
 
virtual bool supportsFullDrag () const
 
virtual SdrObjectUniquePtr getFullDragClone () const
 
virtual bool 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 NbcCrop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact)
 
virtual void Crop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact)
 
virtual Point GetRelativePos () const
 
void ImpSetAnchorPos (const Point &rPnt)
 
virtual const tools::RectangleGetLogicRect () const
 
virtual void AdjustToMaxRect (const tools::Rectangle &rMaxRect, bool bShrinkOnly=false)
 
virtual sal_uInt32 GetSnapPointCount () const
 snap to special points of an Object (polygon points, center of circle) More...
 
virtual Point GetSnapPoint (sal_uInt32 i) const
 
virtual bool IsPolyObj () const
 
virtual sal_uInt32 GetPointCount () const
 
virtual Point GetPoint (sal_uInt32 i) const
 
void SetPoint (const Point &rPnt, sal_uInt32 i)
 
virtual void NbcSetPoint (const Point &rPnt, sal_uInt32 i)
 
virtual SdrObjGeoDataGetGeoData () const
 
virtual void SetGeoData (const SdrObjGeoData &rGeo)
 
const SfxItemSetGetMergedItemSet () const
 
void SetMergedItem (const SfxPoolItem &rItem)
 
void ClearMergedItem (const sal_uInt16 nWhich=0)
 
void SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false)
 
const SfxPoolItemGetMergedItem (const sal_uInt16 nWhich) const
 
template<class T >
const T & GetMergedItem (TypedWhichId< T > nWhich) const
 
void SetMergedItemSetAndBroadcast (const SfxItemSet &rSet, bool bClearAllItems=false)
 
void TakeNotPersistAttr (SfxItemSet &rAttr) const
 
void ApplyNotPersistAttr (const SfxItemSet &rAttr)
 
void NbcApplyNotPersistAttr (const SfxItemSet &rAttr)
 
void SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
 
virtual void NbcSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
 
SfxStyleSheetGetStyleSheet () const
 
virtual bool HasTextEdit () const
 
void SetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject)
 
virtual void NbcSetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject)
 
virtual OutlinerParaObjectGetOutlinerParaObject () const
 
void BurnInStyleSheetAttributes ()
 
virtual bool HasMacro () const
 
virtual SdrObjectCheckMacroHit (const SdrObjMacroHitRec &rRec) const
 
virtual PointerStyle GetMacroPointer (const SdrObjMacroHitRec &rRec) const
 
virtual void PaintMacro (OutputDevice &rOut, const tools::Rectangle &rDirtyRect, const SdrObjMacroHitRec &rRec) const
 
virtual bool DoMacro (const SdrObjMacroHitRec &rRec)
 
bool IsMacroHit (const SdrObjMacroHitRec &rRec) const
 
virtual SdrGluePoint GetVertexGluePoint (sal_uInt16 nNum) const
 
virtual SdrGluePoint GetCornerGluePoint (sal_uInt16 nNum) const
 
virtual const SdrGluePointListGetGluePointList () const
 
virtual SdrGluePointListForceGluePointList ()
 
void SetGlueReallyAbsolute (bool bOn)
 
void NbcRotateGluePoints (const Point &rRef, long nAngle, double sn, double cs)
 
void NbcMirrorGluePoints (const Point &rRef1, const Point &rRef2)
 
void NbcShearGluePoints (const Point &rRef, double tn, bool bVShear)
 
virtual void ConnectToNode (bool bTail1, SdrObject *pObj)
 
virtual void DisconnectFromNode (bool bTail1)
 
virtual SdrObjectGetConnectedNode (bool bTail1) const
 
virtual void SetContextWritingMode (const sal_Int16 _nContextWritingMode)
 
SdrObjectUniquePtr ConvertToPolyObj (bool bBezier, bool bLineToArea) const
 
SdrObjectConvertToContourObj (SdrObject *pRet, bool bForceLineDash=false) const
 
bool IsVirtualObj () const
 
bool IsClosedObj () const
 
void InsertedStateChange ()
 
bool IsInserted () const
 
bool IsEdgeObj () const
 
bool Is3DObj () const
 
bool IsUnoObj () const
 
void SetMoveProtect (bool bProt)
 
bool IsMoveProtect () const
 
void SetResizeProtect (bool bProt)
 
bool IsResizeProtect () const
 
void SetPrintable (bool bPrn)
 
bool IsPrintable () const
 
void SetVisible (bool bVisible)
 
bool IsVisible () const
 
void SetMarkProtect (bool bProt)
 
bool IsMarkProtect () const
 
virtual bool shouldKeepAspectRatio () const
 Whether the aspect ratio should be kept by default when resizing. More...
 
sal_uInt16 GetUserDataCount () const
 
SdrObjUserDataGetUserData (sal_uInt16 nNum) const
 
void AppendUserData (std::unique_ptr< SdrObjUserData > pData)
 
void DeleteUserData (sal_uInt16 nNum)
 
virtual css::uno::Reference< css::uno::XInterface > getUnoShape ()
 
svx::PropertyChangeNotifiergetShapePropertyChangeNotifier ()
 
void notifyShapePropertyChange (const svx::ShapeProperty _eProperty) const
 
virtual bool TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const
 
virtual void TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon)
 
bool IsInDestruction () const
 
bool HasFillStyle () const
 
bool HasLineStyle () const
 
const tools::RectangleGetBLIPSizeRectangle () const
 
void SetBLIPSizeRectangle (const tools::Rectangle &aRect)
 
virtual bool HasText () const
 
bool Equals (const SdrObject &) const
 
virtual bool IsTextBox () const
 Is this a textbox of a drawinglayer shape? More...
 
void SetEmptyPresObj (bool bEpt)
 
bool IsEmptyPresObj () const
 
void SetNotVisibleAsMaster (bool bFlg)
 
bool IsNotVisibleAsMaster () const
 
void SetUserCall (SdrObjUserCall *pUser)
 
SdrObjUserCallGetUserCall () const
 
void SetDoNotInsertIntoPageAutomatically (bool bSet)
 
bool IsDoNotInsertIntoPageAutomatically () const
 
sal_uInt32 GetOrdNumDirect () const
 
bool DoesSupportTextIndentingOnLineWidthChange () const
 
const PointGetAnchorPos () const
 
bool LineIsOutsideGeometry () const
 
void SetNavigationPosition (const sal_uInt32 nPosition)
 
void setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape)
 
const css::uno::WeakReference< css::uno::XInterface > & getWeakUnoShape () const
 
void setSuitableOutlinerBg (Outliner &rOutliner) const
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
- Public Member Functions inherited from tools::WeakBase
 WeakBase ()
 
virtual ~WeakBase ()
 
void clearWeak ()
 
- Public Member Functions inherited from SdrObjList
void CopyObjects (const SdrObjList &rSrcList)
 
void ClearSdrObjList ()
 
void RecalcObjOrdNums ()
 recalculate order numbers / ZIndex More...
 
bool IsObjOrdNumsDirty () const
 
virtual void NbcInsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE)
 
virtual void InsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE)
 
void sort (std::vector< sal_Int32 > &sortOrder)
 
void InsertObjectThenMakeNameUnique (SdrObject *pObj)
 
void InsertObjectThenMakeNameUnique (SdrObject *pObj, std::unordered_set< rtl::OUString > &rNameSet, size_t nPos=SAL_MAX_SIZE)
 
virtual SdrObjectNbcRemoveObject (size_t nObjNum)
 remove from list without delete More...
 
virtual SdrObjectRemoveObject (size_t nObjNum)
 
virtual SdrObjectReplaceObject (SdrObject *pNewObj, size_t nObjNum)
 Replace existing object by different one. More...
 
virtual SdrObjectSetObjectOrdNum (size_t nOldObjNum, size_t nNewObjNum)
 Modify ZOrder of an SdrObject. More...
 
void SetSdrObjListRectsDirty ()
 
const tools::RectangleGetAllObjSnapRect () const
 
const tools::RectangleGetAllObjBoundRect () const
 
void NbcReformatAllTextObjects ()
 reformat all text objects, e.g. when changing printer More...
 
void ReformatAllTextObjects ()
 
void ReformatAllEdgeObjects ()
 #103122# reformats all edge objects that are connected to other objects More...
 
void BurnInStyleSheetAttributes ()
 convert attributes of the style to hard formatting More...
 
size_t GetObjCount () const
 
SdrObjectGetObj (size_t nNum) const
 
virtual bool IsReadOnly () const
 linked page or linked group object More...
 
void FlattenGroups ()
 Makes the object list flat, i.e. More...
 
void UnGroupObj (size_t nObjNum)
 Ungroup the object at the given index. More...
 
bool HasObjectNavigationOrder () const
 Return whether there is an explicit, user defined, object navigation order. More...
 
void SetObjectNavigationPosition (SdrObject &rObject, const sal_uInt32 nNewNavigationPosition)
 Set the navigation position of the given object to the specified value. More...
 
SdrObjectGetObjectForNavigationPosition (const sal_uInt32 nNavigationPosition) const
 Return the object for the given navigation position. More...
 
void ClearObjectNavigationOrder ()
 Restore the navigation order to that defined by the z-order. More...
 
bool RecalcNavigationPositions ()
 Set the navigation position of all SdrObjects to their position in the mxNavigationOrder list. More...
 
void SetNavigationOrder (const css::uno::Reference< css::container::XIndexAccess > &rxOrder)
 Set the navigation order to the one defined by the given list of XShape objects. More...
 

Private Member Functions

virtual std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact () override
 
virtual std::unique_ptr< sdr::properties::BasePropertiesCreateObjectSpecificProperties () override
 
virtual ~SdrObjGroup () override
 

Private Attributes

Point aRefPoint
 

Additional Inherited Members

- Static Public Member Functions inherited from SdrObject
static SdrItemPoolGetGlobalDrawObjectItemPool ()
 
static void Free (SdrObject *&_rpObject)
 
static SdrObjectgetSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt)
 
- Protected Member Functions inherited from SdrObject
virtual ~SdrObject () override
 
tools::Rectangle ImpDragCalcRect (const SdrDragStat &rDrag) const
 
OUString ImpGetDescriptionStr (const char *pStrCacheID) const
 
void ImpForcePlusData ()
 
OUString GetMetrStr (long nVal) const
 
virtual SdrObjGeoDataNewGeoData () const
 A derived class must override these 3 methods if it has own geometric data that must be saved for Undo. More...
 
virtual void SaveGeoData (SdrObjGeoData &rGeo) const
 
virtual void RestGeoData (const SdrObjGeoData &rGeo)
 
const SfxItemSetGetObjectItemSet () const
 
void SetObjectItem (const SfxPoolItem &rItem)
 
void SetObjectItemSet (const SfxItemSet &rSet)
 
const SfxPoolItemGetObjectItem (const sal_uInt16 nWhich) const
 
template<class T >
const T & GetObjectItem (TypedWhichId< T > nWhich) const
 
virtual void impl_setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape)
 Sets a new UNO shape. More...
 
template<typename T >
T * CloneHelper (SdrModel &rTargetModel) const
 
- Protected Member Functions inherited from SdrObjList
void RecalcRects ()
 
 SdrObjList ()
 
virtual ~SdrObjList ()
 
- Protected Attributes inherited from SdrObject
tools::Rectangle aOutRect
 
Point aAnchor
 
SdrObjUserCallpUserCall
 
std::unique_ptr< SdrObjPlusDatapPlusData
 
bool bVirtObj: 1
 
bool bSnapRectDirty: 1
 
bool bMovProt: 1
 
bool bSizProt: 1
 
bool bEmptyPresObj: 1
 
bool bNotVisibleAsMaster: 1
 
bool bClosedObj: 1
 
bool bIsEdge: 1
 
bool bIs3DObj: 1
 
bool bIsUnoObj: 1
 
bool mbLineIsOutsideGeometry: 1
 
bool mbSupportTextIndentingOnLineWidthChange: 1
 

Detailed Description

Definition at line 32 of file svdogrp.hxx.

Constructor & Destructor Documentation

SdrObjGroup::~SdrObjGroup ( )
overrideprivatevirtual

Definition at line 74 of file svdogrp.cxx.

SdrObjGroup::SdrObjGroup ( SdrModel rSdrModel)

Definition at line 66 of file svdogrp.cxx.

References SdrObject::bClosedObj.

Referenced by DoConvertToPolyObj().

Member Function Documentation

bool SdrObjGroup::BegCreate ( SdrDragStat rStat)
overridevirtual

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 from SdrObject.

Definition at line 314 of file svdogrp.cxx.

bool SdrObjGroup::beginSpecialDrag ( SdrDragStat rDrag) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 308 of file svdogrp.cxx.

SdrObjGroup * SdrObjGroup::CloneSdrObject ( SdrModel rTargetModel) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 215 of file svdogrp.cxx.

std::unique_ptr< sdr::properties::BaseProperties > SdrObjGroup::CreateObjectSpecificProperties ( )
overrideprivatevirtual

Reimplemented from SdrObject.

Definition at line 55 of file svdogrp.cxx.

std::unique_ptr< sdr::contact::ViewContact > SdrObjGroup::CreateObjectSpecificViewContact ( )
overrideprivatevirtual

Reimplemented from SdrObject.

Definition at line 61 of file svdogrp.cxx.

SdrObjectUniquePtr SdrObjGroup::DoConvertToPolyObj ( bool  bBezier,
bool  bAddText 
) const
overridevirtual
void SdrObjGroup::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 796 of file svdogrp.cxx.

References SdrObjList::dumpAsXml(), and SdrObject::dumpAsXml().

SdrObjList * SdrObjGroup::getChildrenOfSdrObject ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 88 of file svdogrp.cxx.

const tools::Rectangle & SdrObjGroup::GetCurrentBoundRect ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 191 of file svdogrp.cxx.

References SdrObject::aOutRect, SdrObjList::GetAllObjBoundRect(), and SdrObjList::GetObjCount().

SdrLayerID SdrObjGroup::GetLayer ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 153 of file svdogrp.cxx.

References SdrObject::GetLayer(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), and i.

sal_uInt16 SdrObjGroup::GetObjIdentifier ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 147 of file svdogrp.cxx.

References OBJ_GRUP.

long SdrObjGroup::GetRotateAngle ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 320 of file svdogrp.cxx.

References SdrObjList::GetObj(), SdrObjList::GetObjCount(), and SdrObject::GetRotateAngle().

SdrObject * SdrObjGroup::getSdrObjectFromSdrObjList ( ) const
overridevirtual

Reimplemented from SdrObjList.

Definition at line 83 of file svdogrp.cxx.

SdrPage * SdrObjGroup::getSdrPageFromSdrObjList ( ) const
overridevirtual

Reimplemented from SdrObjList.

Definition at line 78 of file svdogrp.cxx.

References SdrObject::getSdrPageFromSdrObject().

long SdrObjGroup::GetShearAngle ( bool  bVertical = false) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 335 of file svdogrp.cxx.

References SdrObjList::GetObj(), SdrObjList::GetObjCount(), and SdrObject::GetShearAngle().

const tools::Rectangle & SdrObjGroup::GetSnapRect ( ) const
overridevirtual
SdrObjList * SdrObjGroup::GetSubList ( ) const
overridevirtual
void SdrObjGroup::handlePageChange ( SdrPage pOldPage,
SdrPage pNewPage 
)
overridevirtual

Reimplemented from SdrObject.

Definition at line 175 of file svdogrp.cxx.

References SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::handlePageChange(), and i.

void SdrObjGroup::Mirror ( const Point rRef1,
const Point rRef2 
)
overridevirtual
void SdrObjGroup::Move ( const Size rSiz)
overridevirtual
void SdrObjGroup::NbcMirror ( const Point rRef1,
const Point rRef2 
)
overridevirtual
void SdrObjGroup::NbcMove ( const Size rSiz)
overridevirtual

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 from SdrObject.

Definition at line 376 of file svdogrp.cxx.

References SdrObject::aOutRect, aRefPoint, SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, tools::Rectangle::Move(), Point::Move(), SdrObject::NbcMove(), and SdrObject::SetRectsDirty().

Referenced by NbcSetRelativePos(), and NbcSetSnapRect().

void SdrObjGroup::NbcReformatText ( )
overridevirtual

Reimplemented from SdrObject.

Definition at line 773 of file svdogrp.cxx.

References SdrObjList::NbcReformatAllTextObjects().

void SdrObjGroup::NbcResize ( const Point rRef,
const Fraction xFact,
const Fraction yFact 
)
overridevirtual
void SdrObjGroup::NbcRotate ( const Point rRef,
long  nAngle,
double  sn,
double  cs 
)
overridevirtual
void SdrObjGroup::NbcSetAnchorPos ( const Point rPnt)
overridevirtual
void SdrObjGroup::NbcSetLayer ( SdrLayerID  nLayer)
overridevirtual

Reimplemented from SdrObject.

Definition at line 166 of file svdogrp.cxx.

References SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, and SdrObject::NbcSetLayer().

Referenced by SdrGrafObj::DoConvertToPolyObj().

void SdrObjGroup::NbcSetLogicRect ( const tools::Rectangle rRect)
overridevirtual

Reimplemented from SdrObject.

Definition at line 370 of file svdogrp.cxx.

References NbcSetSnapRect().

void SdrObjGroup::NbcSetRelativePos ( const Point rPnt)
overridevirtual

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

Reimplemented from SdrObject.

Definition at line 759 of file svdogrp.cxx.

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

void SdrObjGroup::NbcSetSnapRect ( const tools::Rectangle rRect)
overridevirtual
void SdrObjGroup::NbcShear ( const Point rRef,
long  nAngle,
double  tn,
bool  bVShear 
)
overridevirtual
SdrObjGroup & SdrObjGroup::operator= ( const SdrObjGroup rObj)
void SdrObjGroup::RecalcSnapRect ( )
overridevirtual

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 from SdrObject.

Definition at line 283 of file svdogrp.cxx.

void SdrObjGroup::Resize ( const Point rRef,
const Fraction xFact,
const Fraction yFact,
bool  bUnsetRelative = true 
)
overridevirtual
void SdrObjGroup::Rotate ( const Point rRef,
long  nAngle,
double  sn,
double  cs 
)
overridevirtual
void SdrObjGroup::SetAnchorPos ( const Point rPnt)
overridevirtual
void SdrObjGroup::SetBoundRectDirty ( )
overridevirtual

Reimplemented from SdrObject.

Definition at line 141 of file svdogrp.cxx.

void SdrObjGroup::SetLogicRect ( const tools::Rectangle rRect)
overridevirtual

Reimplemented from SdrObject.

Definition at line 534 of file svdogrp.cxx.

References SetSnapRect().

void SdrObjGroup::SetRelativePos ( const Point rPnt)
overridevirtual

Reimplemented from SdrObject.

Definition at line 766 of file svdogrp.cxx.

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

void SdrObjGroup::SetSnapRect ( const tools::Rectangle rRect)
overridevirtual
void SdrObjGroup::Shear ( const Point rRef,
long  nAngle,
double  tn,
bool  bVShear 
)
overridevirtual
void SdrObjGroup::TakeObjInfo ( SdrObjTransformInfoRec rInfo) const
overridevirtual
OUString SdrObjGroup::TakeObjNamePlural ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 275 of file svdogrp.cxx.

References SdrObjList::GetObjCount(), and SvxResId().

OUString SdrObjGroup::TakeObjNameSingul ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 248 of file svdogrp.cxx.

References aName, SdrObject::GetName(), SdrObjList::GetObjCount(), sName, and SvxResId().

basegfx::B2DPolyPolygon SdrObjGroup::TakeXorPoly ( ) const
overridevirtual

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 from SdrObject.

Definition at line 288 of file svdogrp.cxx.

References SdrObject::aOutRect, basegfx::B2DPolyPolygon::append(), vcl::unotools::b2DRectangleFromRectangle(), basegfx::B2DPolyPolygon::count(), basegfx::utils::createPolygonFromRect(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), and SdrObject::TakeXorPoly().

Member Data Documentation

Point SdrObjGroup::aRefPoint
private

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