LibreOffice Module svx (master) 1
|
#include <svdogrp.hxx>
Public Member Functions | |
virtual const std::shared_ptr< svx::diagram::IDiagramHelper > & | getDiagramHelper () const override |
SdrObjGroup (SdrModel &rSdrModel) | |
SdrObjGroup (SdrModel &rSdrModel, SdrObjGroup const &rSource) | |
virtual | ~SdrObjGroup () override |
virtual SdrPage * | getSdrPageFromSdrObjList () const override |
virtual SdrObject * | getSdrObjectFromSdrObjList () const override |
virtual SdrObjList * | getChildrenOfSdrObject () const override |
virtual void | SetBoundRectDirty () override |
virtual SdrObjKind | 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 SdrObjList * | GetSubList () const override |
virtual void | SetGrabBagItem (const css::uno::Any &rVal) override |
virtual const tools::Rectangle & | GetCurrentBoundRect () const override |
virtual const tools::Rectangle & | GetSnapRect () const override |
virtual rtl::Reference< SdrObject > | CloneSdrObject (SdrModel &rTargetModel) const override |
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 Degree100 | GetRotateAngle () const override |
virtual Degree100 | 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, Degree100 nAngle, double sn, double cs) override |
virtual void | Mirror (const Point &rRef1, const Point &rRef2) override |
virtual void | Shear (const Point &rRef, Degree100 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, Degree100 nAngle, double sn, double cs) override |
virtual void | NbcMirror (const Point &rRef1, const Point &rRef2) override |
virtual void | NbcShear (const Point &rRef, Degree100 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 rtl::Reference< SdrObject > | DoConvertToPolyObj (bool bBezier, bool bAddText) const override |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
virtual void | AddToHdlList (SdrHdlList &rHdlList) const override |
Public Member Functions inherited from SdrObject | |
virtual const std::shared_ptr< svx::diagram::IDiagramHelper > & | getDiagramHelper () const |
bool | isDiagram () const |
const SdrObject * | getFillGeometryDefiningShape () const |
SdrObject (SdrModel &rSdrModel) | |
SdrObject (SdrModel &rSdrModel, SdrObject const &rSource) | |
virtual void SAL_CALL | acquire () noexcept override final |
virtual void SAL_CALL | release () noexcept override final |
SdrPage * | getSdrPageFromSdrObject () const |
SdrModel & | getSdrModelFromSdrObject () const |
virtual SdrObjList * | getChildrenOfSdrObject () const |
SdrObjList * | getParentSdrObjListFromSdrObject () const |
SdrObject * | getParentSdrObjectFromSdrObject () const |
virtual void | handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage) |
void | AddObjectUser (sdr::ObjectUser &rNewUser) |
void | RemoveObjectUser (sdr::ObjectUser &rOldUser) |
sdr::contact::ViewContact & | GetViewContact () const |
virtual sdr::properties::BaseProperties & | GetProperties () const |
void | ActionChanged () const |
void | SetRelativeWidth (double nValue) |
void | SetRelativeWidthRelation (sal_Int16 eValue) |
void | SetRelativeHeight (double nValue) |
void | SetRelativeHeightRelation (sal_Int16 eValue) |
const double * | GetRelativeWidth () const |
sal_Int16 | GetRelativeWidthRelation () const |
const double * | GetRelativeHeight () const |
sal_Int16 | GetRelativeHeightRelation () const |
virtual void | SetBoundAndSnapRectsDirty (bool bNotMyself=false, bool bRecursive=true) |
virtual void | SetBoundRectDirty () |
SfxItemPool & | GetObjectItemPool () const |
void | AddListener (SfxListener &rListener) |
void | RemoveListener (SfxListener &rListener) |
void | AddReference (SdrVirtObj &rVrtObj) |
void | DelReference (SdrVirtObj &rVrtObj) |
virtual SdrInventor | GetObjInventor () const |
virtual SdrObjKind | GetObjIdentifier () const |
virtual void | TakeObjInfo (SdrObjTransformInfoRec &rInfo) const |
virtual SdrLayerID | GetLayer () const |
virtual void | NbcSetLayer (SdrLayerID nLayer) |
virtual void | SetLayer (SdrLayerID nLayer) |
bool | isVisibleOnAnyOfTheseLayers (const SdrLayerIDSet &rSet) const |
void | SendUserCall (SdrUserCallType eUserCall, const tools::Rectangle &rBoundRect) const |
virtual void | SetName (const OUString &rStr, const bool bSetChanged=true) |
virtual const OUString & | GetName () const |
void | MakeNameUnique () |
void | MakeNameUnique (std::unordered_set< OUString > &rNameSet) |
virtual void | SetTitle (const OUString &rStr) |
virtual OUString | GetTitle () const |
virtual void | SetDescription (const OUString &rStr) |
virtual OUString | GetDescription () const |
virtual void | SetDecorative (bool isDecorative) |
virtual bool | IsDecorative () const |
bool | IsGroupObject () const |
virtual SdrObjList * | GetSubList () const |
sal_uInt32 | GetOrdNum () const |
The order number (aka ZOrder, aka z-index) determines whether a SdrObject is located above or below another. More... | |
void | SetOrdNum (sal_uInt32 nNum) |
void | GetGrabBagItem (css::uno::Any &rVal) const |
virtual void | SetGrabBagItem (const css::uno::Any &rVal) |
sal_uInt32 | GetNavigationPosition () const |
virtual const tools::Rectangle & | GetCurrentBoundRect () const |
virtual const tools::Rectangle & | GetLastBoundRect () const |
virtual void | RecalcBoundRect () |
void | BroadcastObjectChange () const |
const SfxBroadcaster * | GetBroadcaster () const |
virtual void | SetChanged () |
void | SingleObjectPainter (OutputDevice &rOut) const |
bool | LineGeometryUsageIsNecessary () const |
virtual bool | HasLimitedRotation () const |
virtual rtl::Reference< SdrObject > | CloneSdrObject (SdrModel &rTargetModel) const =0 |
SdrObject & | operator= (const SdrObject &rObj)=delete |
SdrObject & | operator= (SdrObject &&rObj)=delete |
virtual OUString | TakeObjNameSingul () const |
virtual OUString | TakeObjNamePlural () const |
virtual basegfx::B2DPolyPolygon | TakeXorPoly () const |
The Xor-Polygon is required by the View to drag the object. More... | |
virtual basegfx::B2DPolyPolygon | TakeContour () const |
contour for TextToContour More... | |
virtual sal_uInt32 | GetHdlCount () const |
Via GetHdlCount the number of Handles can be retrieved. More... | |
virtual void | AddToPlusHdlList (SdrHdlList &rHdlList, SdrHdl &rHdl) const |
virtual void | AddToHdlList (SdrHdlList &rHdlList) const |
virtual void | addCropHandles (SdrHdlList &rTarget) const |
virtual bool | hasSpecialDrag () const |
The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPoly(),...). More... | |
virtual bool | beginSpecialDrag (SdrDragStat &rDrag) const |
virtual bool | applySpecialDrag (SdrDragStat &rDrag) |
virtual OUString | getSpecialDragComment (const SdrDragStat &rDrag) const |
virtual basegfx::B2DPolyPolygon | getSpecialDragPoly (const SdrDragStat &rDrag) const |
virtual bool | supportsFullDrag () const |
virtual rtl::Reference< SdrObject > | getFullDragClone () const |
virtual bool | BegCreate (SdrDragStat &rStat) |
Every object must be able to create itself interactively. More... | |
virtual bool | MovCreate (SdrDragStat &rStat) |
virtual bool | EndCreate (SdrDragStat &rStat, SdrCreateCmd eCmd) |
virtual bool | BckCreate (SdrDragStat &rStat) |
virtual void | BrkCreate (SdrDragStat &rStat) |
virtual PointerStyle | GetCreatePointer () const |
get the cursor/pointer that signals creating this object More... | |
virtual basegfx::B2DPolyPolygon | TakeCreatePoly (const SdrDragStat &rDrag) const |
Polygon dragged by the user when creating the object. More... | |
virtual void | NbcMove (const Size &rSiz) |
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model. More... | |
virtual void | NbcResize (const Point &rRef, const Fraction &xFact, const Fraction &yFact) |
virtual void | NbcCrop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact) |
virtual void | NbcRotate (const Point &rRef, Degree100 nAngle, double sn, double cs)=0 |
void | NbcRotate (const Point &rRef, Degree100 nAngle) |
virtual void | NbcMirror (const Point &rRef1, const Point &rRef2) |
virtual void | NbcShear (const Point &rRef, Degree100 nAngle, double tn, bool bVShear) |
virtual void | Move (const Size &rSiz) |
virtual void | Resize (const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bUnsetRelative=true) |
virtual void | Crop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact) |
virtual void | Rotate (const Point &rRef, Degree100 nAngle, double sn, double cs) |
virtual void | Mirror (const Point &rRef1, const Point &rRef2) |
virtual void | Shear (const Point &rRef, Degree100 nAngle, double tn, bool bVShear) |
virtual void | NbcSetRelativePos (const Point &rPnt) |
The relative position of a SdrObject is the distance of the upper left corner of the logic bounding rectangle (SnapRect) to the anchor. More... | |
virtual void | SetRelativePos (const Point &rPnt) |
virtual Point | GetRelativePos () const |
void | ImpSetAnchorPos (const Point &rPnt) |
virtual void | NbcSetAnchorPos (const Point &rPnt) |
virtual void | SetAnchorPos (const Point &rPnt) |
virtual void | RecalcSnapRect () |
Snap is not done on the BoundRect but if possible on logic coordinates (i.e. More... | |
virtual const tools::Rectangle & | GetSnapRect () const |
virtual void | SetSnapRect (const tools::Rectangle &rRect) |
virtual void | NbcSetSnapRect (const tools::Rectangle &rRect) |
virtual const tools::Rectangle & | GetLogicRect () const |
virtual void | SetLogicRect (const tools::Rectangle &rRect) |
virtual void | NbcSetLogicRect (const tools::Rectangle &rRect) |
virtual void | AdjustToMaxRect (const tools::Rectangle &rMaxRect, bool bShrinkOnly=false) |
virtual Degree100 | GetRotateAngle () const |
virtual Degree100 | GetShearAngle (bool bVertical=false) const |
virtual sal_uInt32 | GetSnapPointCount () const |
snap to special points of an Object (polygon points, center of circle) More... | |
virtual Point | GetSnapPoint (sal_uInt32 i) const |
virtual bool | IsPolyObj () const |
virtual sal_uInt32 | GetPointCount () const |
virtual Point | GetPoint (sal_uInt32 i) const |
void | SetPoint (const Point &rPnt, sal_uInt32 i) |
virtual void | NbcSetPoint (const Point &rPnt, sal_uInt32 i) |
virtual std::unique_ptr< SdrObjGeoData > | GetGeoData () const |
virtual void | SetGeoData (const SdrObjGeoData &rGeo) |
const SfxItemSet & | GetMergedItemSet () const |
void | SetMergedItem (const SfxPoolItem &rItem) |
void | ClearMergedItem (const sal_uInt16 nWhich=0) |
void | SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false) |
const SfxPoolItem & | GetMergedItem (const sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetMergedItem (TypedWhichId< T > nWhich) const |
void | SetMergedItemSetAndBroadcast (const SfxItemSet &rSet, bool bClearAllItems=false) |
void | TakeNotPersistAttr (SfxItemSet &rAttr) const |
void | ApplyNotPersistAttr (const SfxItemSet &rAttr) |
void | NbcApplyNotPersistAttr (const SfxItemSet &rAttr) |
void | SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr) |
void | NbcSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr) |
SfxStyleSheet * | GetStyleSheet () const |
virtual bool | HasTextEdit () const |
void | SetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject) |
virtual void | NbcSetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject) |
virtual OutlinerParaObject * | GetOutlinerParaObject () const |
virtual void | NbcReformatText () |
void | BurnInStyleSheetAttributes () |
virtual bool | HasMacro () const |
virtual SdrObject * | CheckMacroHit (const SdrObjMacroHitRec &rRec) const |
virtual PointerStyle | GetMacroPointer (const SdrObjMacroHitRec &rRec) const |
virtual void | PaintMacro (OutputDevice &rOut, const tools::Rectangle &rDirtyRect, const SdrObjMacroHitRec &rRec) const |
virtual bool | DoMacro (const SdrObjMacroHitRec &rRec) |
bool | IsMacroHit (const SdrObjMacroHitRec &rRec) const |
virtual SdrGluePoint | GetVertexGluePoint (sal_uInt16 nNum) const |
virtual SdrGluePoint | GetCornerGluePoint (sal_uInt16 nNum) const |
virtual const SdrGluePointList * | GetGluePointList () const |
virtual SdrGluePointList * | ForceGluePointList () |
void | SetGlueReallyAbsolute (bool bOn) |
void | NbcRotateGluePoints (const Point &rRef, Degree100 nAngle, double sn, double cs) |
void | NbcMirrorGluePoints (const Point &rRef1, const Point &rRef2) |
void | NbcShearGluePoints (const Point &rRef, double tn, bool bVShear) |
virtual void | ConnectToNode (bool bTail1, SdrObject *pObj) |
virtual void | DisconnectFromNode (bool bTail1) |
virtual SdrObject * | GetConnectedNode (bool bTail1) const |
virtual void | SetContextWritingMode (const sal_Int16 _nContextWritingMode) |
virtual rtl::Reference< SdrObject > | DoConvertToPolyObj (bool bBezier, bool bAddText) const |
rtl::Reference< SdrObject > | ConvertToPolyObj (bool bBezier, bool bLineToArea) const |
rtl::Reference< SdrObject > | ConvertToContourObj (SdrObject *pRet, bool bForceLineDash=false) const |
bool | IsVirtualObj () const |
bool | IsClosedObj () const |
void | InsertedStateChange () |
bool | IsInserted () const |
bool | IsEdgeObj () const |
bool | Is3DObj () const |
bool | IsUnoObj () const |
void | SetMoveProtect (bool bProt) |
bool | IsMoveProtect () const |
void | SetResizeProtect (bool bProt) |
bool | IsResizeProtect () const |
void | SetPrintable (bool bPrn) |
bool | IsPrintable () const |
void | SetVisible (bool bVisible) |
bool | IsVisible () const |
void | SetMarkProtect (bool bProt) |
bool | IsMarkProtect () const |
virtual bool | IsSdrTextObj () const |
virtual bool | IsTextPath () const |
virtual bool | shouldKeepAspectRatio () const |
Whether the aspect ratio should be kept by default when resizing. More... | |
sal_uInt16 | GetUserDataCount () const |
SdrObjUserData * | GetUserData (sal_uInt16 nNum) const |
void | AppendUserData (std::unique_ptr< SdrObjUserData > pData) |
void | DeleteUserData (sal_uInt16 nNum) |
virtual css::uno::Reference< css::drawing::XShape > | getUnoShape () |
void | notifyShapePropertyChange (const svx::ShapePropertyProviderId _eProperty) const |
void | registerProvider (const svx::ShapePropertyProviderId _eProperty, std::unique_ptr< svx::PropertyValueProvider > propProvider) |
virtual bool | TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const |
virtual void | TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon) |
bool | IsInDestruction () const |
bool | HasFillStyle () const |
bool | HasLineStyle () const |
const tools::Rectangle & | GetBLIPSizeRectangle () const |
void | SetBLIPSizeRectangle (const tools::Rectangle &aRect) |
virtual bool | HasText () const |
bool | Equals (const SdrObject &) const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
virtual bool | IsTextBox () const |
Is this a textbox of a drawinglayer shape? More... | |
void | SetEmptyPresObj (bool bEpt) |
bool | IsEmptyPresObj () const |
void | SetNotVisibleAsMaster (bool bFlg) |
bool | IsNotVisibleAsMaster () const |
void | SetUserCall (SdrObjUserCall *pUser) |
SdrObjUserCall * | GetUserCall () const |
void | SetDoNotInsertIntoPageAutomatically (bool bSet) |
bool | IsDoNotInsertIntoPageAutomatically () const |
sal_uInt32 | GetOrdNumDirect () const |
bool | DoesSupportTextIndentingOnLineWidthChange () const |
const Point & | GetAnchorPos () const |
bool | LineIsOutsideGeometry () const |
void | SetNavigationPosition (const sal_uInt32 nPosition) |
virtual void | setUnoShape (const css::uno::Reference< css::drawing::XShape > &_rxUnoShape) |
Sets a new UNO representation of the shape. More... | |
const css::uno::WeakReference< css::drawing::XShape > & | getWeakUnoShape () const |
bool | setSuitableOutlinerBg (Outliner &rOutliner) const |
const Graphic * | getFillGraphic () const |
const OUString & | getHyperlink () const |
void | setHyperlink (const OUString &sHyperlink) |
void | ForceMetricToItemPoolMetric (basegfx::B2DPolyPolygon &rPolyPolygon) const noexcept |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Public Member Functions inherited from SdrObjList | |
virtual SdrPage * | getSdrPageFromSdrObjList () const |
virtual SdrObject * | getSdrObjectFromSdrObjList () const |
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 rtl::Reference< SdrObject > | NbcRemoveObject (size_t nObjNum) |
remove from list without delete More... | |
virtual rtl::Reference< SdrObject > | RemoveObject (size_t nObjNum) |
virtual rtl::Reference< SdrObject > | ReplaceObject (SdrObject *pNewObj, size_t nObjNum) |
Replace existing object by different one. More... | |
virtual SdrObject * | SetObjectOrdNum (size_t nOldObjNum, size_t nNewObjNum) |
Modify ZOrder of an SdrObject. More... | |
void | SetExistingObjectOrdNum (SdrObject *pExistingObj, size_t nNewObjNum) |
Modify ZOrder of an SdrObject, object must already be in the list. More... | |
void | SetSdrObjListRectsDirty () |
const tools::Rectangle & | GetAllObjSnapRect () const |
const tools::Rectangle & | GetAllObjBoundRect () 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 |
SdrObject * | GetObj (size_t nNum) const |
SdrObject * | GetObjByName (std::u16string_view sName) 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... | |
SdrObject * | GetObjectForNavigationPosition (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... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Member Functions | |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () override |
virtual std::unique_ptr< sdr::properties::BaseProperties > | CreateObjectSpecificProperties () override |
Private Attributes | |
Point | maRefPoint |
std::shared_ptr< svx::diagram::IDiagramHelper > | mp_DiagramHelper |
Friends | |
class | svx::diagram::IDiagramHelper |
Additional Inherited Members | |
Static Public Member Functions inherited from SdrObject | |
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 inherited from SdrObject | |
const tools::Rectangle & | getOutRectangle () const |
void | setOutRectangleConst (tools::Rectangle const &rRectangle) const |
void | setOutRectangle (tools::Rectangle const &rRectangle) |
void | resetOutRectangle () |
void | moveOutRectangle (sal_Int32 nXDelta, sal_Int32 nYDelta) |
virtual | ~SdrObject () override |
virtual std::unique_ptr< sdr::properties::BaseProperties > | CreateObjectSpecificProperties () |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () |
tools::Rectangle | ImpDragCalcRect (const SdrDragStat &rDrag) const |
OUString | ImpGetDescriptionStr (TranslateId pStrCacheID) const |
void | ImpForcePlusData () |
OUString | GetMetrStr (tools::Long nVal) const |
virtual std::unique_ptr< SdrObjGeoData > | NewGeoData () const |
A derived class must override these 3 methods if it has own geometric data that must be saved for Undo. More... | |
virtual void | SaveGeoData (SdrObjGeoData &rGeo) const |
virtual void | RestoreGeoData (const SdrObjGeoData &rGeo) |
const SfxItemSet & | GetObjectItemSet () const |
void | SetObjectItem (const SfxPoolItem &rItem) |
void | SetObjectItemSet (const SfxItemSet &rSet) |
const SfxPoolItem & | GetObjectItem (const sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetObjectItem (TypedWhichId< T > nWhich) const |
const SfxItemSet * | getBackgroundFillSet () const |
virtual void | InternalSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Member Functions inherited from SdrObjList | |
void | RecalcRects () |
SdrObjList () | |
virtual | ~SdrObjList () |
Protected Attributes inherited from SdrObject | |
tools::Rectangle | m_aOutRect |
Point | m_aAnchor |
SdrObjUserCall * | m_pUserCall |
std::unique_ptr< SdrObjPlusData > | m_pPlusData |
bool | m_bVirtObj: 1 |
bool | m_bSnapRectDirty: 1 |
bool | m_bMovProt: 1 |
bool | m_bSizProt: 1 |
bool | m_bEmptyPresObj: 1 |
bool | m_bNotVisibleAsMaster: 1 |
bool | m_bClosedObj: 1 |
bool | m_bIsEdge: 1 |
bool | m_bIs3DObj: 1 |
bool | m_bIsUnoObj: 1 |
bool | mbLineIsOutsideGeometry: 1 |
bool | mbSupportTextIndentingOnLineWidthChange: 1 |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 28 of file svdogrp.hxx.
SdrObjGroup::SdrObjGroup | ( | SdrModel & | rSdrModel | ) |
Definition at line 54 of file svdogrp.cxx.
References SdrObject::m_bClosedObj.
Referenced by CloneSdrObject(), and DoConvertToPolyObj().
SdrObjGroup::SdrObjGroup | ( | SdrModel & | rSdrModel, |
SdrObjGroup const & | rSource | ||
) |
Definition at line 63 of file svdogrp.cxx.
References SdrObjList::CopyObjects(), GetSubList(), SdrObject::m_bClosedObj, maRefPoint, and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Definition at line 98 of file svdogrp.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 89 of file svdogrp.cxx.
References svx::diagram::IDiagramHelper::AddAdditionalVisualization(), and SdrObject::isDiagram().
|
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 340 of file svdogrp.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 334 of file svdogrp.cxx.
|
overridevirtual |
|
overrideprivatevirtual |
Reimplemented from SdrObject.
Definition at line 43 of file svdogrp.cxx.
|
overrideprivatevirtual |
Reimplemented from SdrObject.
Definition at line 49 of file svdogrp.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 812 of file svdogrp.cxx.
References a, SdrObject::DoConvertToPolyObj(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::getSdrModelFromSdrObject(), and SdrObjGroup().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 830 of file svdogrp.cxx.
References SdrObject::dumpAsXml(), and SdrObjList::dumpAsXml().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 112 of file svdogrp.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 245 of file svdogrp.cxx.
References SdrObjList::GetAllObjBoundRect(), SdrObjList::GetObjCount(), SdrObject::getOutRectangle(), and SdrObject::setOutRectangleConst().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 37 of file svdogrp.cxx.
References mp_DiagramHelper.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 175 of file svdogrp.cxx.
References SdrObject::GetLayer(), GetLayer(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), and i.
Referenced by GetLayer().
|
overridevirtual |
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 346 of file svdogrp.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), and SdrObject::GetRotateAngle().
|
overridevirtual |
Reimplemented from SdrObjList.
Definition at line 107 of file svdogrp.cxx.
|
overridevirtual |
Reimplemented from SdrObjList.
Definition at line 102 of file svdogrp.cxx.
References SdrObject::getSdrPageFromSdrObject().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 361 of file svdogrp.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), and SdrObject::GetShearAngle().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 256 of file svdogrp.cxx.
References SdrObjList::GetAllObjSnapRect(), SdrObjList::GetObjCount(), and SdrObject::getOutRectangle().
Referenced by NbcResize(), NbcSetRelativePos(), NbcSetSnapRect(), Resize(), SetRelativePos(), and SetSnapRect().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 208 of file svdogrp.cxx.
Referenced by sdr::properties::ItemChangeBroadcaster::ItemChangeBroadcaster(), and SdrObjGroup().
Reimplemented from SdrObject.
Definition at line 197 of file svdogrp.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::handlePageChange(), and i.
Reimplemented from SdrObject.
Definition at line 696 of file svdogrp.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, SdrObject::IsEdgeObj(), SdrObject::m_pUserCall, maRefPoint, SdrObject::Mirror(), MirrorPoint(), SdrObject::NbcMirrorGluePoints(), Resize, SdrObject::SendUserCall(), SdrObject::SetChanged(), and SdrObject::SetGlueReallyAbsolute().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 569 of file svdogrp.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), Size::Height(), i, SdrObject::IsEdgeObj(), SdrObject::m_pUserCall, maRefPoint, SdrObject::Move(), Point::Move(), MoveOnly, SdrObject::moveOutRectangle(), SdrObject::SendUserCall(), SdrObject::SetBoundAndSnapRectsDirty(), SdrObject::SetChanged(), and Size::Width().
Referenced by SetRelativePos(), and SetSnapRect().
Reimplemented from SdrObject.
Definition at line 480 of file svdogrp.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, maRefPoint, MirrorPoint(), SdrObject::NbcMirror(), SdrObject::NbcMirrorGluePoints(), and SdrObject::SetGlueReallyAbsolute().
|
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 402 of file svdogrp.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), Size::Height(), i, maRefPoint, Point::Move(), SdrObject::moveOutRectangle(), SdrObject::NbcMove(), SdrObject::SetBoundAndSnapRectsDirty(), and Size::Width().
Referenced by NbcSetRelativePos(), and NbcSetSnapRect().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 807 of file svdogrp.cxx.
References SdrObjList::NbcReformatAllTextObjects().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 423 of file svdogrp.cxx.
References Point::AdjustX(), Point::AdjustY(), Center, Fraction::GetDenominator(), Fraction::GetNumerator(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::getOutRectangle(), GetSnapRect(), i, maRefPoint, SdrObject::NbcMirrorGluePoints(), SdrObject::NbcResize(), ResizePoint(), ResizeRect(), SdrObject::SetBoundAndSnapRectsDirty(), and SdrObject::setOutRectangle().
Referenced by NbcSetSnapRect().
|
overridevirtual |
Implements SdrObject.
Definition at line 463 of file svdogrp.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, maRefPoint, SdrObject::NbcRotate(), SdrObject::NbcRotateGluePoints(), RotatePoint(), and SdrObject::SetGlueReallyAbsolute().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 514 of file svdogrp.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, SdrObject::m_aAnchor, maRefPoint, Point::Move(), SdrObject::NbcSetAnchorPos(), Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 188 of file svdogrp.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, and SdrObject::NbcSetLayer().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 396 of file svdogrp.cxx.
References NbcSetSnapRect().
|
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 793 of file svdogrp.cxx.
References GetSnapRect(), SdrObject::m_aAnchor, NbcMove(), TopLeft, Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 376 of file svdogrp.cxx.
References tools::Rectangle::Bottom(), GetSnapRect(), tools::Rectangle::Left(), NbcMove(), NbcResize(), tools::Rectangle::Right(), tools::Rectangle::Top(), and tools::Rectangle::TopLeft().
Referenced by NbcSetLogicRect().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 497 of file svdogrp.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, maRefPoint, SdrObject::NbcShear(), SdrObject::NbcShearGluePoints(), SdrObject::SetGlueReallyAbsolute(), and ShearPoint().
|
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 309 of file svdogrp.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 607 of file svdogrp.cxx.
References Point::AdjustX(), Point::AdjustY(), SdrObject::BroadcastObjectChange(), Center, Fraction::GetDenominator(), SdrObject::GetLastBoundRect(), Fraction::GetNumerator(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::getOutRectangle(), GetSnapRect(), i, SdrObject::IsEdgeObj(), SdrObject::m_pUserCall, maRefPoint, SdrObject::NbcMirrorGluePoints(), Resize, SdrObject::Resize(), ResizePoint(), ResizeRect(), SdrObject::SendUserCall(), SdrObject::SetBoundAndSnapRectsDirty(), SdrObject::SetChanged(), and SdrObject::setOutRectangle().
Referenced by SetSnapRect().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 663 of file svdogrp.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, SdrObject::IsEdgeObj(), SdrObject::m_pUserCall, maRefPoint, SdrObject::NbcRotateGluePoints(), Resize, SdrObject::Rotate(), RotatePoint(), SdrObject::SendUserCall(), SdrObject::SetChanged(), and SdrObject::SetGlueReallyAbsolute().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 760 of file svdogrp.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, SdrObject::IsEdgeObj(), SdrObject::m_aAnchor, SdrObject::m_pUserCall, maRefPoint, Point::Move(), MoveOnly, SdrObject::SendUserCall(), SdrObject::SetAnchorPos(), SdrObject::SetChanged(), Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 164 of file svdogrp.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 227 of file svdogrp.cxx.
References containsOOXData(), SdrObject::GetGrabBagItem(), SdrObject::isDiagram(), mp_DiagramHelper, and SdrObject::SetGrabBagItem().
|
overridevirtual |
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 800 of file svdogrp.cxx.
References GetSnapRect(), Size::Height(), SdrObject::m_aAnchor, Move(), TopLeft, Size::Width(), Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 529 of file svdogrp.cxx.
References tools::Rectangle::Bottom(), SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), GetSnapRect(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), SdrObject::m_pUserCall, Move(), Resize, Resize(), tools::Rectangle::Right(), SdrObject::SendUserCall(), SdrObject::SetChanged(), tools::Rectangle::Top(), and tools::Rectangle::TopLeft().
Referenced by SetLogicRect().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 726 of file svdogrp.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, SdrObject::IsEdgeObj(), SdrObject::m_pUserCall, maRefPoint, SdrObject::NbcShearGluePoints(), Resize, SdrObject::SendUserCall(), SdrObject::SetChanged(), SdrObject::SetGlueReallyAbsolute(), SdrObject::Shear(), and ShearPoint().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 117 of file svdogrp.cxx.
References SdrObjTransformInfoRec::bCanConvToContour, SdrObjTransformInfoRec::bCanConvToPath, SdrObjTransformInfoRec::bCanConvToPathLineToArea, SdrObjTransformInfoRec::bCanConvToPoly, SdrObjTransformInfoRec::bCanConvToPolyLineToArea, SdrObjTransformInfoRec::bEdgeRadiusAllowed, SdrObjTransformInfoRec::bMirror45Allowed, SdrObjTransformInfoRec::bMirror90Allowed, SdrObjTransformInfoRec::bMirrorFreeAllowed, SdrObjTransformInfoRec::bMoveAllowed, SdrObjTransformInfoRec::bNoContortion, SdrObjTransformInfoRec::bNoOrthoDesired, SdrObjTransformInfoRec::bResizeFreeAllowed, SdrObjTransformInfoRec::bResizePropAllowed, SdrObjTransformInfoRec::bRotate90Allowed, SdrObjTransformInfoRec::bRotateFreeAllowed, SdrObjTransformInfoRec::bShearAllowed, SdrObjTransformInfoRec::bTransparenceAllowed, SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, and SdrObject::TakeObjInfo().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 299 of file svdogrp.cxx.
References SdrObjList::GetObjCount(), SdrObject::isDiagram(), and SvxResId().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 274 of file svdogrp.cxx.
References aName, SdrObject::GetName(), SdrObjList::GetObjCount(), SdrObject::isDiagram(), sName, and SvxResId().
|
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 314 of file svdogrp.cxx.
References a, basegfx::B2DPolyPolygon::append(), vcl::unotools::b2DRectangleFromRectangle(), basegfx::B2DPolyPolygon::count(), basegfx::utils::createPolygonFromRect(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::getOutRectangle(), and SdrObject::TakeXorPoly().
|
friend |
Definition at line 43 of file svdogrp.hxx.
|
private |
Definition at line 39 of file svdogrp.hxx.
Referenced by Mirror(), Move(), NbcMirror(), NbcMove(), NbcResize(), NbcRotate(), NbcSetAnchorPos(), NbcShear(), Resize(), Rotate(), SdrObjGroup(), SetAnchorPos(), and Shear().
|
private |
Definition at line 44 of file svdogrp.hxx.
Referenced by getDiagramHelper(), and SetGrabBagItem().