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

new class for re-direct methods calls at a 'virtual' drawing object to its referenced object. More...

#include <dcontact.hxx>

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

Public Member Functions

 SwDrawVirtObj (SdrModel &rSdrModel, SdrObject &_rNewObj, SwDrawContact &_rDrawContact)
 
virtual Point GetOffset () const override
 access to offset More...
 
virtual SwDrawVirtObjCloneSdrObject (SdrModel &rTargetModel) const override
 
SwDrawVirtObjoperator= (const SwDrawVirtObj &rObj)
 
const SwAnchoredObjectGetAnchoredObj () const
 connection to writer layout More...
 
SwAnchoredObjectAnchoredObj ()
 
const SwFrameGetAnchorFrame () const
 
SwFrameAnchorFrame ()
 
void RemoveFromWriterLayout ()
 
void AddToDrawingPage ()
 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, 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 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 RecalcSnapRect () override
 
virtual const tools::RectangleGetSnapRect () const override
 
virtual void SetSnapRect (const tools::Rectangle &rRect) override
 
virtual void NbcSetSnapRect (const tools::Rectangle &rRect) override
 
virtual const tools::RectangleGetLogicRect () 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::RectangleGetCurrentBoundRect () const override
 
virtual const tools::RectangleGetLastBoundRect () const override
 
- Public Member Functions inherited from SdrVirtObj
virtual sdr::properties::BasePropertiesGetProperties () const override
 
 SdrVirtObj (SdrModel &rSdrModel, SdrObject &rNewObj)
 
SdrObjectReferencedObj ()
 
const SdrObjectGetReferencedObj () const
 
virtual void TakeObjInfo (SdrObjTransformInfoRec &rInfo) const override
 
virtual SdrInventor GetObjInventor () const override
 
virtual sal_uInt16 GetObjIdentifier () const override
 
virtual SdrObjListGetSubList () const override
 
SdrVirtObjoperator= (const SdrVirtObj &rObj)
 
virtual OUString TakeObjNameSingul () const override
 
virtual OUString TakeObjNamePlural () const override
 
virtual bool HasLimitedRotation () const override
 
virtual sal_uInt32 GetHdlCount () const override
 
virtual void AddToPlusHdlList (SdrHdlList &rHdlList, SdrHdl &rHdl) 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 SdrObjectUniquePtr 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 long GetRotateAngle () const override
 
virtual long GetShearAngle (bool bVertical=false) const override
 
virtual sal_uInt32 GetSnapPointCount () const override
 
virtual bool IsPolyObj () const override
 
virtual sal_uInt32 GetPointCount () const override
 
virtual SdrObjGeoDataGetGeoData () const override
 
virtual void SetGeoData (const SdrObjGeoData &rGeo) override
 
virtual void NbcReformatText () override
 
virtual bool HasMacro () const override
 
virtual SdrObjectCheckMacroHit (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
 
- Public Member Functions inherited from SdrObject
const SdrObjectgetFillGeometryDefiningShape () const
 
 SdrObject (SdrModel &rSdrModel)
 
SdrPagegetSdrPageFromSdrObject () const
 
SdrModelgetSdrModelFromSdrObject () const
 
virtual SdrObjListgetChildrenOfSdrObject () const
 
SdrObjListgetParentSdrObjListFromSdrObject () const
 
SdrObjectgetParentSdrObjectFromSdrObject () const
 
virtual void handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage)
 
void AddObjectUser (sdr::ObjectUser &rNewUser)
 
void RemoveObjectUser (sdr::ObjectUser &rOldUser)
 
sdr::contact::ViewContactGetViewContact () 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)
 
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
 
void SetOrdNum (sal_uInt32 nNum)
 
void GetGrabBagItem (css::uno::Any &rVal) const
 
void SetGrabBagItem (const css::uno::Any &rVal)
 
sal_uInt32 GetNavigationPosition () const
 
void BroadcastObjectChange () const
 
const SfxBroadcasterGetBroadcaster () const
 
virtual void SetChanged ()
 
void SingleObjectPainter (OutputDevice &rOut) const
 
bool LineGeometryUsageIsNecessary () const
 
SdrObjectoperator= (const SdrObject &rObj)
 
virtual void addCropHandles (SdrHdlList &rTarget) const
 
virtual PointerStyle GetCreatePointer () const
 
virtual void NbcCrop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact)
 
virtual void Crop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact)
 
virtual void NbcSetRelativePos (const Point &rPnt)
 
virtual void SetRelativePos (const Point &rPnt)
 
virtual Point GetRelativePos () const
 
void ImpSetAnchorPos (const Point &rPnt)
 
virtual void SetAnchorPos (const Point &rPnt)
 
virtual void AdjustToMaxRect (const tools::Rectangle &rMaxRect, bool bShrinkOnly=false)
 
void SetPoint (const Point &rPnt, sal_uInt32 i)
 
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
 
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
 
void SetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject)
 
virtual void NbcSetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject)
 
virtual OutlinerParaObjectGetOutlinerParaObject () const
 
void BurnInStyleSheetAttributes ()
 
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)
 
virtual SdrObjectUniquePtr DoConvertToPolyObj (bool bBezier, bool bAddText) const
 
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
 
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 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)
 
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
 

Private Member Functions

virtual std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact () 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...
 
SwDrawContactmrDrawContact
 writer-drawing contact object the 'virtual' drawing object is controlled by. More...
 

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 SdrVirtObj
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual SdrObjGeoDataNewGeoData () const override
 
virtual void SaveGeoData (SdrObjGeoData &rGeo) const override
 
virtual void RestGeoData (const SdrObjGeoData &rGeo) override
 
virtual ~SdrVirtObj () override
 
- Protected Member Functions inherited from SdrObject
virtual ~SdrObject () override
 
virtual std::unique_ptr< sdr::properties::BasePropertiesCreateObjectSpecificProperties ()
 
tools::Rectangle ImpDragCalcRect (const SdrDragStat &rDrag) const
 
OUString ImpGetDescriptionStr (const char *pStrCacheID) const
 
void ImpForcePlusData ()
 
OUString GetMetrStr (long nVal) const
 
const SfxItemSetGetObjectItemSet () const
 
void SetObjectItem (const SfxPoolItem &rItem)
 
void SetObjectItemSet (const SfxItemSet &rSet)
 
const SfxPoolItemGetObjectItem (const sal_uInt16 nWhich) const
 
const T & GetObjectItem (TypedWhichId< T > nWhich) const
 
virtual void impl_setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape)
 
T * CloneHelper (SdrModel &rTargetModel) const
 
- Protected Attributes inherited from SdrVirtObj
SdrObjectrRefObj
 
tools::Rectangle aSnapRect
 
- Protected Attributes inherited from SdrObject
tools::Rectangle aOutRect
 
Point aAnchor
 
SdrObjUserCallpUserCall
 
std::unique_ptr< SdrObjPlusDatapPlusData
 
bool bVirtObj
 
bool bSnapRectDirty
 
bool bMovProt
 
bool bSizProt
 
bool bEmptyPresObj
 
bool bNotVisibleAsMaster
 
bool bClosedObj
 
bool bIsEdge
 
bool bIs3DObj
 
bool bIsUnoObj
 
bool mbLineIsOutsideGeometry
 
bool mbSupportTextIndentingOnLineWidthChange
 

Detailed Description

new class for re-direct methods calls at a 'virtual' drawing object to its referenced object.

Definition at line 210 of file dcontact.hxx.

Constructor & Destructor Documentation

SwDrawVirtObj::~SwDrawVirtObj ( )
overrideprivatevirtual

Definition at line 2173 of file dcontact.cxx.

SwDrawVirtObj::SwDrawVirtObj ( SdrModel rSdrModel,
SdrObject _rNewObj,
SwDrawContact _rDrawContact 
)

Definition at line 2158 of file dcontact.cxx.

References maAnchoredDrawObj, NbcMove(), and SwAnchoredObject::SetDrawObj().

Referenced by CloneSdrObject().

Member Function Documentation

void SwDrawVirtObj::AddToDrawingPage ( )
void SwDrawVirtObj::AddToHdlList ( SdrHdlList rHdlList) const
overridevirtual
SwAnchoredObject& SwDrawVirtObj::AnchoredObj ( )
inline

Definition at line 245 of file dcontact.hxx.

References maAnchoredDrawObj.

Referenced by SwDrawContact::ConnectToLayout(), and SwDrawContact::InvalidateObjs_().

SwFrame * SwDrawVirtObj::AnchorFrame ( )

Definition at line 2204 of file dcontact.cxx.

References SwAnchoredObject::AnchorFrame(), and maAnchoredDrawObj.

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

Reimplemented from SdrVirtObj.

Definition at line 2185 of file dcontact.cxx.

References mrDrawContact, SdrVirtObj::rRefObj, and SwDrawVirtObj().

std::unique_ptr< sdr::contact::ViewContact > SwDrawVirtObj::CreateObjectSpecificViewContact ( )
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 2153 of file dcontact.cxx.

const SwAnchoredObject& SwDrawVirtObj::GetAnchoredObj ( ) const
inline

connection to writer layout

Definition at line 244 of file dcontact.hxx.

References maAnchoredDrawObj.

const SwFrame * SwDrawVirtObj::GetAnchorFrame ( ) const

Definition at line 2198 of file dcontact.cxx.

References SwAnchoredObject::GetAnchorFrame(), and maAnchoredDrawObj.

Referenced by IsConnected().

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

Reimplemented from SdrVirtObj.

Definition at line 2275 of file dcontact.cxx.

References SdrObject::aOutRect, tools::Rectangle::IsEmpty(), and RecalcBoundRect().

const tools::Rectangle & SwDrawVirtObj::GetLastBoundRect ( ) const
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2285 of file dcontact.cxx.

References SdrObject::aOutRect.

Referenced by Mirror(), Resize(), Rotate(), SetLogicRect(), SetSnapRect(), and Shear().

SdrLayerID SwDrawVirtObj::GetLayer ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 2511 of file dcontact.cxx.

References SdrObject::GetLayer(), and SdrVirtObj::GetReferencedObj().

Referenced by NbcSetLayer(), and SetLayer().

const tools::Rectangle & SwDrawVirtObj::GetLogicRect ( ) const
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2457 of file dcontact.cxx.

References SdrVirtObj::aSnapRect, SdrObject::GetLogicRect(), GetOffset(), and SdrVirtObj::rRefObj.

Point SwDrawVirtObj::GetOffset ( ) const
overridevirtual
Point SwDrawVirtObj::GetPoint ( sal_uInt32  i) const
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2491 of file dcontact.cxx.

References GetOffset(), SdrObject::GetPoint(), and SdrVirtObj::rRefObj.

Point SwDrawVirtObj::GetSnapPoint ( sal_uInt32  i) const
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2483 of file dcontact.cxx.

References GetOffset(), SdrObject::GetSnapPoint(), and SdrVirtObj::rRefObj.

const tools::Rectangle & SwDrawVirtObj::GetSnapRect ( ) const
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2431 of file dcontact.cxx.

References SdrVirtObj::aSnapRect, GetOffset(), SdrObject::GetSnapRect(), and SdrVirtObj::rRefObj.

bool SwDrawVirtObj::HasTextEdit ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 2504 of file dcontact.cxx.

References SdrObject::HasTextEdit(), and SdrVirtObj::rRefObj.

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 2259 of file dcontact.cxx.

References GetAnchorFrame(), SdrObject::getSdrPageFromSdrObject(), and SdrObject::GetUserCall().

Referenced by SwDoc::ChgAnchor().

void SwDrawVirtObj::Mirror ( const Point rRef1,
const Point rRef2 
)
overridevirtual
void SwDrawVirtObj::Move ( const Size rSiz)
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2379 of file dcontact.cxx.

References SdrObject::Move().

void SwDrawVirtObj::NbcMirror ( const Point rRef1,
const Point rRef2 
)
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2367 of file dcontact.cxx.

References GetOffset(), SdrObject::NbcMirror(), SdrVirtObj::rRefObj, and SdrObject::SetRectsDirty().

void SwDrawVirtObj::NbcMove ( const Size rSiz)
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2350 of file dcontact.cxx.

References SdrObject::NbcMove().

Referenced by SwDrawVirtObj().

void SwDrawVirtObj::NbcResize ( const Point rRef,
const Fraction xFact,
const Fraction yFact 
)
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2355 of file dcontact.cxx.

References GetOffset(), SdrObject::NbcResize(), SdrVirtObj::rRefObj, and SdrObject::SetRectsDirty().

void SwDrawVirtObj::NbcRotate ( const Point rRef,
long  nAngle,
double  sn,
double  cs 
)
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2361 of file dcontact.cxx.

References GetOffset(), SdrObject::NbcRotate(), SdrVirtObj::rRefObj, and SdrObject::SetRectsDirty().

void SwDrawVirtObj::NbcSetAnchorPos ( const Point rPnt)
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2267 of file dcontact.cxx.

References SdrObject::NbcSetAnchorPos().

void SwDrawVirtObj::NbcSetLayer ( SdrLayerID  nLayer)
overridevirtual

Reimplemented from SdrObject.

Definition at line 2516 of file dcontact.cxx.

References GetLayer(), SdrObject::NbcSetLayer(), and SdrVirtObj::ReferencedObj().

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

Reimplemented from SdrVirtObj.

Definition at line 2475 of file dcontact.cxx.

References GetOffset(), SdrObject::NbcSetLogicRect(), SdrVirtObj::rRefObj, and SdrObject::SetRectsDirty().

void SwDrawVirtObj::NbcSetPoint ( const Point rPnt,
sal_uInt32  i 
)
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2496 of file dcontact.cxx.

References GetOffset(), SdrVirtObj::rRefObj, SdrObject::SetPoint(), and SdrObject::SetRectsDirty().

void SwDrawVirtObj::NbcSetSnapRect ( const tools::Rectangle rRect)
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2449 of file dcontact.cxx.

References GetOffset(), SdrObject::NbcSetSnapRect(), SdrVirtObj::rRefObj, and SdrObject::SetRectsDirty().

void SwDrawVirtObj::NbcShear ( const Point rRef,
long  nAngle,
double  tn,
bool  bVShear 
)
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2373 of file dcontact.cxx.

References GetOffset(), SdrObject::NbcShear(), SdrVirtObj::rRefObj, and SdrObject::SetRectsDirty().

SwDrawVirtObj & SwDrawVirtObj::operator= ( const SwDrawVirtObj rObj)

Definition at line 2177 of file dcontact.cxx.

References SdrVirtObj::operator=().

void SwDrawVirtObj::RecalcBoundRect ( )
overridevirtual

All overridden methods which need to use the offset.

Reimplemented from SdrVirtObj.

Definition at line 2309 of file dcontact.cxx.

References SdrObject::aOutRect, SdrObject::GetCurrentBoundRect(), GetOffset(), and SdrVirtObj::ReferencedObj().

Referenced by GetCurrentBoundRect().

void SwDrawVirtObj::RecalcSnapRect ( )
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 2425 of file dcontact.cxx.

References SdrVirtObj::aSnapRect, GetOffset(), SdrObject::GetSnapRect(), and SdrVirtObj::rRefObj.

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

Reimplemented from SdrObject.

Definition at line 2304 of file dcontact.cxx.

void SwDrawVirtObj::SetLayer ( SdrLayerID  nLayer)
overridevirtual

Reimplemented from SdrObject.

Definition at line 2522 of file dcontact.cxx.

References GetLayer(), SdrObject::NbcSetLayer(), SdrVirtObj::ReferencedObj(), and SdrObject::SetLayer().

void SwDrawVirtObj::SetLogicRect ( const tools::Rectangle rRect)
overridevirtual
void SwDrawVirtObj::SetSnapRect ( const tools::Rectangle rRect)
overridevirtual
void SwDrawVirtObj::Shear ( const Point rRef,
long  nAngle,
double  tn,
bool  bVShear 
)
overridevirtual
basegfx::B2DPolyPolygon SwDrawVirtObj::TakeContour ( ) const
overridevirtual
basegfx::B2DPolyPolygon SwDrawVirtObj::TakeXorPoly ( ) const
overridevirtual

Member Data Documentation

SwAnchoredDrawObject SwDrawVirtObj::maAnchoredDrawObj
private

anchored drawing object instance for the 'virtual' drawing object

Definition at line 216 of file dcontact.hxx.

Referenced by AnchoredObj(), AnchorFrame(), GetAnchoredObj(), GetAnchorFrame(), RemoveFromWriterLayout(), and SwDrawVirtObj().

SwDrawContact& SwDrawVirtObj::mrDrawContact
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 221 of file dcontact.hxx.

Referenced by AddToDrawingPage(), and CloneSdrObject().


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