|
LibreOffice Module sw (master) 1
|
new class for re-direct methods calls at a 'virtual' drawing object to its referenced object. More...
#include <dcontact.hxx>
Public Member Functions | |
| SwDrawVirtObj (SdrModel &rSdrModel, SdrObject &_rNewObj, SwDrawContact &_rDrawContact) | |
| SwDrawVirtObj (SdrModel &rSdrModel, SwDrawVirtObj const &rSource) | |
| virtual Point | GetOffset () const override |
| access to offset More... | |
| virtual rtl::Reference< SdrObject > | CloneSdrObject (SdrModel &rTargetModel) const override |
| const SwAnchoredObject & | GetAnchoredObj () const |
| connection to writer layout More... | |
| SwAnchoredObject & | AnchoredObj () |
| const SwFrame * | GetAnchorFrame () const |
| SwFrame * | AnchorFrame () |
| void | RemoveFromWriterLayout () |
| void | AddToDrawingPage (SwFrame const &rAnchorFrame) |
| connection to drawing layer More... | |
| void | RemoveFromDrawingPage () |
| bool | IsConnected () const |
| is 'virtual' drawing object connected to writer layout and / to drawing layer. More... | |
| virtual void | NbcSetAnchorPos (const Point &rPnt) override |
| virtual void | RecalcBoundRect () override |
| All overridden methods which need to use the offset. More... | |
| virtual ::basegfx::B2DPolyPolygon | TakeXorPoly () const override |
| virtual ::basegfx::B2DPolyPolygon | TakeContour () const override |
| virtual void | AddToHdlList (SdrHdlList &rHdlList) const override |
| virtual void | NbcMove (const Size &rSiz) override |
| 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 | 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 | RecalcSnapRect () override |
| virtual const tools::Rectangle & | GetSnapRect () const override |
| virtual void | SetSnapRect (const tools::Rectangle &rRect) override |
| virtual void | NbcSetSnapRect (const tools::Rectangle &rRect) override |
| virtual const tools::Rectangle & | GetLogicRect () const override |
| virtual void | SetLogicRect (const tools::Rectangle &rRect) override |
| virtual void | NbcSetLogicRect (const tools::Rectangle &rRect) override |
| virtual Point | GetSnapPoint (sal_uInt32 i) const override |
| virtual Point | GetPoint (sal_uInt32 i) const override |
| virtual void | NbcSetPoint (const Point &rPnt, sal_uInt32 i) override |
| virtual bool | HasTextEdit () const override |
| virtual SdrLayerID | GetLayer () const override |
| virtual void | NbcSetLayer (SdrLayerID nLayer) override |
| virtual void | SetLayer (SdrLayerID nLayer) override |
| virtual void | SetBoundRectDirty () override |
| virtual const tools::Rectangle & | GetCurrentBoundRect () const override |
| virtual const tools::Rectangle & | GetLastBoundRect () const override |
Public Member Functions inherited from SdrVirtObj | |
| virtual sdr::properties::BaseProperties & | GetProperties () const override |
| SdrVirtObj (SdrModel &rSdrModel, SdrObject &rNewObj) | |
| SdrVirtObj (SdrModel &rSdrModel, SdrVirtObj const &rSource) | |
| SdrObject & | ReferencedObj () |
| const SdrObject & | GetReferencedObj () const |
| virtual void | NbcSetAnchorPos (const Point &rAnchorPos) override |
| virtual void | TakeObjInfo (SdrObjTransformInfoRec &rInfo) const override |
| virtual SdrInventor | GetObjInventor () const override |
| virtual SdrObjKind | GetObjIdentifier () const override |
| virtual SdrObjList * | GetSubList () const override |
| virtual void | SetName (const OUString &rStr, const bool bSetChanged=true) override |
| virtual const OUString & | GetName () const override |
| virtual void | SetTitle (const OUString &rStr) override |
| virtual OUString | GetTitle () const override |
| virtual void | SetDescription (const OUString &rStr) override |
| virtual OUString | GetDescription () const override |
| virtual void | SetDecorative (bool isDecorative) override |
| virtual bool | IsDecorative () const override |
| virtual const tools::Rectangle & | GetCurrentBoundRect () const override |
| virtual const tools::Rectangle & | GetLastBoundRect () const override |
| virtual void | RecalcBoundRect () override |
| virtual rtl::Reference< SdrObject > | CloneSdrObject (SdrModel &rTargetModel) const override |
| virtual OUString | TakeObjNameSingul () const override |
| virtual OUString | TakeObjNamePlural () const override |
| virtual bool | HasLimitedRotation () const override |
| virtual basegfx::B2DPolyPolygon | TakeXorPoly () const override |
| virtual sal_uInt32 | GetHdlCount () const override |
| virtual void | AddToPlusHdlList (SdrHdlList &rHdlList, SdrHdl &rHdl) const override |
| virtual void | AddToHdlList (SdrHdlList &rHdlList) const override |
| virtual bool | hasSpecialDrag () const override |
| virtual bool | beginSpecialDrag (SdrDragStat &rDrag) const override |
| virtual bool | applySpecialDrag (SdrDragStat &rDrag) override |
| virtual OUString | getSpecialDragComment (const SdrDragStat &rDrag) const override |
| virtual basegfx::B2DPolyPolygon | getSpecialDragPoly (const SdrDragStat &rDrag) const override |
| virtual bool | supportsFullDrag () const override |
| virtual rtl::Reference< SdrObject > | getFullDragClone () const override |
| virtual bool | BegCreate (SdrDragStat &rStat) override |
| virtual bool | MovCreate (SdrDragStat &rStat) override |
| virtual bool | EndCreate (SdrDragStat &rStat, SdrCreateCmd eCmd) override |
| virtual bool | BckCreate (SdrDragStat &rStat) override |
| virtual void | BrkCreate (SdrDragStat &rStat) override |
| virtual basegfx::B2DPolyPolygon | TakeCreatePoly (const SdrDragStat &rDrag) const override |
| virtual void | NbcMove (const Size &rSiz) override |
| 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 | 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 | RecalcSnapRect () override |
| virtual const tools::Rectangle & | GetSnapRect () const override |
| virtual void | SetSnapRect (const tools::Rectangle &rRect) override |
| virtual void | NbcSetSnapRect (const tools::Rectangle &rRect) override |
| virtual const tools::Rectangle & | GetLogicRect () const override |
| virtual void | SetLogicRect (const tools::Rectangle &rRect) override |
| virtual void | NbcSetLogicRect (const tools::Rectangle &rRect) override |
| virtual Degree100 | GetRotateAngle () const override |
| virtual Degree100 | GetShearAngle (bool bVertical=false) const override |
| virtual sal_uInt32 | GetSnapPointCount () const override |
| virtual Point | GetSnapPoint (sal_uInt32 i) const override |
| virtual bool | IsPolyObj () const override |
| virtual sal_uInt32 | GetPointCount () const override |
| virtual Point | GetPoint (sal_uInt32 i) const override |
| virtual void | NbcSetPoint (const Point &rPnt, sal_uInt32 i) override |
| virtual std::unique_ptr< SdrObjGeoData > | GetGeoData () const override |
| virtual void | SetGeoData (const SdrObjGeoData &rGeo) override |
| virtual void | NbcReformatText () override |
| virtual bool | HasMacro () const override |
| virtual SdrObject * | CheckMacroHit (const SdrObjMacroHitRec &rRec) const override |
| virtual PointerStyle | GetMacroPointer (const SdrObjMacroHitRec &rRec) const override |
| virtual void | PaintMacro (OutputDevice &rOut, const tools::Rectangle &rDirtyRect, const SdrObjMacroHitRec &rRec) const override |
| virtual bool | DoMacro (const SdrObjMacroHitRec &rRec) override |
| virtual Point | GetOffset () const |
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 |
| 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 |
| virtual basegfx::B2DPolyPolygon | TakeContour () const |
| virtual sal_uInt32 | GetHdlCount () const |
| virtual void | AddToPlusHdlList (SdrHdlList &rHdlList, SdrHdl &rHdl) const |
| virtual void | AddToHdlList (SdrHdlList &rHdlList) const |
| virtual void | addCropHandles (SdrHdlList &rTarget) const |
| virtual bool | hasSpecialDrag () const |
| 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) |
| 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 |
| virtual basegfx::B2DPolyPolygon | TakeCreatePoly (const SdrDragStat &rDrag) const |
| virtual void | NbcMove (const Size &rSiz) |
| 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) |
| 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 () |
| 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 |
| 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 |
| 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 |
| 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 |
| 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) |
| 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 |
Private Member Functions | |
| virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () override |
| AW: Need own sdr::contact::ViewContact since AnchorPos from parent is not used but something own (top left of new SnapRect minus top left of original SnapRect) More... | |
| virtual | ~SwDrawVirtObj () override |
Private Attributes | |
| SwAnchoredDrawObject | maAnchoredDrawObj |
| anchored drawing object instance for the 'virtual' drawing object More... | |
| SwDrawContact & | mrDrawContact |
| writer-drawing contact object the 'virtual' drawing object is controlled by. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SdrObject | |
| static SdrItemPool & | GetGlobalDrawObjectItemPool () |
| 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 SdrVirtObj | |
| virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () override |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
| virtual std::unique_ptr< SdrObjGeoData > | NewGeoData () const override |
| virtual void | SaveGeoData (SdrObjGeoData &rGeo) const override |
| virtual void | RestoreGeoData (const SdrObjGeoData &rGeo) override |
| virtual | ~SdrVirtObj () override |
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 |
| 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 |
| const T & | GetObjectItem (TypedWhichId< T > nWhich) const |
| const SfxItemSet * | getBackgroundFillSet () const |
| virtual void | InternalSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) |
Protected Attributes inherited from SdrVirtObj | |
| rtl::Reference< SdrObject > | mxRefObj |
| tools::Rectangle | aSnapRect |
Protected Attributes inherited from SdrObject | |
| tools::Rectangle | m_aOutRect |
| Point | m_aAnchor |
| SdrObjUserCall * | m_pUserCall |
| std::unique_ptr< SdrObjPlusData > | m_pPlusData |
| bool | m_bVirtObj |
| bool | m_bSnapRectDirty |
| bool | m_bMovProt |
| bool | m_bSizProt |
| bool | m_bEmptyPresObj |
| bool | m_bNotVisibleAsMaster |
| bool | m_bClosedObj |
| bool | m_bIsEdge |
| bool | m_bIs3DObj |
| bool | m_bIsUnoObj |
| bool | mbLineIsOutsideGeometry |
| bool | mbSupportTextIndentingOnLineWidthChange |
new class for re-direct methods calls at a 'virtual' drawing object to its referenced object.
For example, if an SdrObject is anchored in a header, then later pages will have a SwDrawVirtObj in later headers.
Definition at line 211 of file dcontact.hxx.
|
overrideprivatevirtual |
Definition at line 2312 of file dcontact.cxx.
| SwDrawVirtObj::SwDrawVirtObj | ( | SdrModel & | rSdrModel, |
| SdrObject & | _rNewObj, | ||
| SwDrawContact & | _rDrawContact | ||
| ) |
Definition at line 2282 of file dcontact.cxx.
References maAnchoredDrawObj, NbcMove(), and SwAnchoredObject::SetDrawObj().
Referenced by CloneSdrObject().
| SwDrawVirtObj::SwDrawVirtObj | ( | SdrModel & | rSdrModel, |
| SwDrawVirtObj const & | rSource | ||
| ) |
Definition at line 2296 of file dcontact.cxx.
References maAnchoredDrawObj, NbcMove(), and SwAnchoredObject::SetDrawObj().
| void SwDrawVirtObj::AddToDrawingPage | ( | SwFrame const & | rAnchorFrame | ) |
connection to drawing layer
Definition at line 2343 of file dcontact.cxx.
References SwAnchoredObject::GetDrawObj(), SwFrame::GetDrawObjs(), SwContact::GetFormat(), SwAnchoredObject::GetFrameFormat(), SwDrawContact::GetMaster(), SdrObject::GetOrdNum(), SdrObject::GetOrdNumDirect(), SwTextBoxHelper::getOtherTextBoxFormat(), SdrVirtObj::GetReferencedObj(), SdrObject::getSdrPageFromSdrObject(), SdrObjList::InsertObject(), mrDrawContact, RES_DRAWFRMFMT(), SAL_INFO_IF, SdrObjList::SetObjectOrdNum(), SdrObject::SetOrdNum(), and SdrObject::SetUserCall().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2495 of file dcontact.cxx.
References SdrHdlList::GetHdl(), SdrHdlList::GetHdlCount(), GetOffset(), SdrHdl::GetPos(), i, SdrHdlList::MoveTo(), SdrVirtObj::mxRefObj, and SdrHdl::SetPos().
|
inline |
Definition at line 247 of file dcontact.hxx.
References maAnchoredDrawObj.
Referenced by SwDrawContact::ConnectToLayout(), SwDrawContact::InvalidateObjs_(), and SwDrawContact::NotifyBackgroundOfAllVirtObjs().
| SwFrame * SwDrawVirtObj::AnchorFrame | ( | ) |
Definition at line 2327 of file dcontact.cxx.
References SwAnchoredObject::AnchorFrame(), and maAnchoredDrawObj.
Referenced by SwDrawContact::DisconnectObjFromLayout().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2316 of file dcontact.cxx.
References SwDrawVirtObj().
|
overrideprivatevirtual |
AW: Need own sdr::contact::ViewContact since AnchorPos from parent is not used but something own (top left of new SnapRect minus top left of original SnapRect)
implementation of class <SwDrawVirtObj>
Reimplemented from SdrVirtObj.
Definition at line 2277 of file dcontact.cxx.
|
inline |
connection to writer layout
Definition at line 246 of file dcontact.hxx.
References maAnchoredDrawObj.
Referenced by SwDrawContact::NotifyBackgroundOfAllVirtObjs().
| const SwFrame * SwDrawVirtObj::GetAnchorFrame | ( | ) | const |
Definition at line 2321 of file dcontact.cxx.
References SwAnchoredObject::GetAnchorFrame(), and maAnchoredDrawObj.
Referenced by IsConnected(), and SwDrawContact::NotifyBackgroundOfAllVirtObjs().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2435 of file dcontact.cxx.
References SdrObject::getOutRectangle(), and RecalcBoundRect().
Referenced by RecalcBoundRect().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2445 of file dcontact.cxx.
References SdrObject::getOutRectangle().
Referenced by Mirror(), Resize(), Rotate(), SetLogicRect(), SetSnapRect(), and Shear().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 2671 of file dcontact.cxx.
References SdrObject::GetLayer(), and SdrVirtObj::GetReferencedObj().
Referenced by NbcSetLayer(), and SetLayer().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2617 of file dcontact.cxx.
References SdrVirtObj::aSnapRect, GetOffset(), and SdrVirtObj::mxRefObj.
|
overridevirtual |
access to offset
Reimplemented from SdrVirtObj.
Definition at line 2450 of file dcontact.cxx.
References SdrObject::GetCurrentBoundRect(), SdrObject::getOutRectangle(), SdrVirtObj::GetReferencedObj(), and tools::Rectangle::TopLeft().
Referenced by AddToHdlList(), GetLogicRect(), GetPoint(), GetSnapPoint(), GetSnapRect(), Mirror(), NbcMirror(), NbcResize(), NbcRotate(), NbcSetLogicRect(), NbcSetPoint(), NbcSetSnapRect(), NbcShear(), SwDrawContact::NotifyBackgroundOfAllVirtObjs(), RecalcBoundRect(), RecalcSnapRect(), Resize(), Rotate(), SetLogicRect(), SetSnapRect(), Shear(), TakeContour(), and TakeXorPoly().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2651 of file dcontact.cxx.
References GetOffset(), i, and SdrVirtObj::mxRefObj.
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2643 of file dcontact.cxx.
References GetOffset(), i, and SdrVirtObj::mxRefObj.
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2591 of file dcontact.cxx.
References SdrVirtObj::aSnapRect, GetOffset(), and SdrVirtObj::mxRefObj.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 2664 of file dcontact.cxx.
References SdrVirtObj::mxRefObj.
| bool SwDrawVirtObj::IsConnected | ( | ) | const |
is 'virtual' drawing object connected to writer layout and / to drawing layer.
Is 'virtual' drawing object connected to writer layout and to drawing layer?
Definition at line 2419 of file dcontact.cxx.
References GetAnchorFrame(), SdrObject::getSdrPageFromSdrObject(), and SdrObject::GetUserCall().
Referenced by SwDoc::ChgAnchor(), and SwDrawContact::InvalidateObjs_().
Reimplemented from SdrVirtObj.
Definition at line 2566 of file dcontact.cxx.
References GetLastBoundRect(), GetOffset(), SdrObject::m_pUserCall, SdrVirtObj::mxRefObj, SdrObject::SendUserCall(), and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2539 of file dcontact.cxx.
References SdrObject::Move().
Reimplemented from SdrVirtObj.
Definition at line 2527 of file dcontact.cxx.
References GetOffset(), SdrVirtObj::mxRefObj, and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2510 of file dcontact.cxx.
References SdrObject::NbcMove().
Referenced by SwDrawVirtObj().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2515 of file dcontact.cxx.
References GetOffset(), SdrVirtObj::mxRefObj, and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2521 of file dcontact.cxx.
References GetOffset(), SdrVirtObj::mxRefObj, and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2427 of file dcontact.cxx.
References SdrObject::NbcSetAnchorPos().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 2676 of file dcontact.cxx.
References GetLayer(), SdrObject::NbcSetLayer(), and SdrVirtObj::ReferencedObj().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2635 of file dcontact.cxx.
References GetOffset(), SdrVirtObj::mxRefObj, and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2656 of file dcontact.cxx.
References GetOffset(), i, SdrVirtObj::mxRefObj, and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2609 of file dcontact.cxx.
References GetOffset(), SdrVirtObj::mxRefObj, and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2533 of file dcontact.cxx.
References GetOffset(), SdrVirtObj::mxRefObj, and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
All overridden methods which need to use the offset.
Reimplemented from SdrVirtObj.
Definition at line 2469 of file dcontact.cxx.
References GetCurrentBoundRect(), GetOffset(), SdrVirtObj::ReferencedObj(), and SdrObject::setOutRectangle().
Referenced by GetCurrentBoundRect().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2585 of file dcontact.cxx.
References SdrVirtObj::aSnapRect, GetOffset(), and SdrVirtObj::mxRefObj.
| void SwDrawVirtObj::RemoveFromDrawingPage | ( | ) |
Definition at line 2409 of file dcontact.cxx.
References SdrObject::GetOrdNum(), SdrObject::getSdrPageFromSdrObject(), SdrObjList::RemoveObject(), and SdrObject::SetUserCall().
Referenced by SwDrawContact::DisconnectObjFromLayout().
| void SwDrawVirtObj::RemoveFromWriterLayout | ( | ) |
Definition at line 2333 of file dcontact.cxx.
References SwAnchoredObject::AnchorFrame(), SwAnchoredObject::GetAnchorFrame(), maAnchoredDrawObj, and SwFrame::RemoveDrawObj().
Referenced by SwDrawContact::DisconnectObjFromLayout().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2544 of file dcontact.cxx.
References Fraction::GetDenominator(), GetLastBoundRect(), Fraction::GetNumerator(), GetOffset(), SdrObject::m_pUserCall, SdrVirtObj::mxRefObj, SdrObject::SendUserCall(), and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2555 of file dcontact.cxx.
References GetLastBoundRect(), GetOffset(), SdrObject::m_pUserCall, SdrVirtObj::mxRefObj, SdrObject::SendUserCall(), and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 2464 of file dcontact.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 2682 of file dcontact.cxx.
References GetLayer(), SdrObject::NbcSetLayer(), SdrVirtObj::ReferencedObj(), and SdrObject::SetLayer().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2625 of file dcontact.cxx.
References GetLastBoundRect(), GetOffset(), SdrObject::m_pUserCall, SdrVirtObj::mxRefObj, SdrObject::SendUserCall(), and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2599 of file dcontact.cxx.
References GetLastBoundRect(), GetOffset(), SdrObject::m_pUserCall, SdrVirtObj::mxRefObj, SdrObject::SendUserCall(), and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2574 of file dcontact.cxx.
References GetLastBoundRect(), GetOffset(), SdrObject::m_pUserCall, SdrVirtObj::mxRefObj, SdrObject::SendUserCall(), and SdrObject::SetBoundAndSnapRectsDirty().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 2487 of file dcontact.cxx.
References basegfx::utils::createTranslateB2DHomMatrix(), GetOffset(), SdrVirtObj::mxRefObj, basegfx::B2DPolyPolygon::transform(), X, and Y.
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 2479 of file dcontact.cxx.
References basegfx::utils::createTranslateB2DHomMatrix(), GetOffset(), SdrVirtObj::mxRefObj, basegfx::B2DPolyPolygon::transform(), X, and Y.
|
private |
anchored drawing object instance for the 'virtual' drawing object
Definition at line 217 of file dcontact.hxx.
Referenced by AnchoredObj(), AnchorFrame(), GetAnchoredObj(), GetAnchorFrame(), RemoveFromWriterLayout(), and SwDrawVirtObj().
|
private |
writer-drawing contact object the 'virtual' drawing object is controlled by.
This object is also the <UserCall> of the drawing object, if it's inserted into the drawing layer.
Definition at line 222 of file dcontact.hxx.
Referenced by AddToDrawingPage().