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

#include <dflyobj.hxx>

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

Public Member Functions

void wrap_DoPaintObject (drawinglayer::geometry::ViewInformation2D const &) const
 
basegfx::B2DRange getOuterBound () const
 
basegfx::B2DRange getInnerBound () const
 
bool ContainsSwGrfNode () const
 
 SwVirtFlyDrawObj (SdrModel &rSdrModel, SdrObject &rNew, SwFlyFrame *pFly)
 
virtual void TakeObjInfo (SdrObjTransformInfoRec &rInfo) const override
 
virtual const tools::RectangleGetCurrentBoundRect () const override
 
virtual const tools::RectangleGetLastBoundRect () const override
 
virtual Degree100 GetRotateAngle () const override
 
virtual void RecalcBoundRect () 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 ::basegfx::B2DPolyPolygon TakeXorPoly () const override
 
virtual void NbcMove (const Size &rSiz) override
 
virtual void NbcResize (const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
 
virtual void NbcCrop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact) 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 Crop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact) override
 
virtual void addCropHandles (SdrHdlList &rTarget) const override
 
virtual void Rotate (const Point &rRef, Degree100 nAngle, double sn, double cs) override
 
virtual rtl::Reference< SdrObjectgetFullDragClone () const override
 
const SwFrameFormatGetFormat () const
 
SwFrameFormatGetFormat ()
 
SwFlyFrameGetFlyFrame ()
 
const SwFlyFrameGetFlyFrame () const
 
void SetRect () const
 
virtual bool HasMacro () const override
 
virtual SdrObjectCheckMacroHit (const SdrObjMacroHitRec &rRec) const override
 
virtual PointerStyle GetMacroPointer (const SdrObjMacroHitRec &rRec) const override
 
virtual bool HasLimitedRotation () const override
 
virtual bool IsTextBox () const override
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
- Public Member Functions inherited from SdrVirtObj
virtual sdr::properties::BasePropertiesGetProperties () const override
 
 SdrVirtObj (SdrModel &rSdrModel, SdrObject &rNewObj)
 
 SdrVirtObj (SdrModel &rSdrModel, SdrVirtObj const &rSource)
 
SdrObjectReferencedObj ()
 
const SdrObjectGetReferencedObj () 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 SdrObjListGetSubList () const override
 
virtual const tools::RectangleGetCurrentBoundRect () const override
 
virtual const tools::RectangleGetLastBoundRect () const override
 
virtual void RecalcBoundRect () override
 
virtual rtl::Reference< SdrObjectCloneSdrObject (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< SdrObjectgetFullDragClone () 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::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 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< 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
 
virtual Point GetOffset () const
 
- Public Member Functions inherited from SdrObject
virtual const std::shared_ptr< svx::diagram::IDiagramHelper > & getDiagramHelper () const
 
bool isDiagram () const
 
const SdrObjectgetFillGeometryDefiningShape () 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
 
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
 
virtual sdr::properties::BasePropertiesGetProperties () const
 
void ActionChanged () const
 
void SetRelativeWidth (double nValue)
 
void SetRelativeWidthRelation (sal_Int16 eValue)
 
void SetRelativeHeight (double nValue)
 
void SetRelativeHeightRelation (sal_Int16 eValue)
 
const double * GetRelativeWidth () const
 
sal_Int16 GetRelativeWidthRelation () const
 
const double * GetRelativeHeight () const
 
sal_Int16 GetRelativeHeightRelation () const
 
virtual void SetBoundAndSnapRectsDirty (bool bNotMyself=false, bool bRecursive=true)
 
virtual void SetBoundRectDirty ()
 
SfxItemPoolGetObjectItemPool () const
 
void AddListener (SfxListener &rListener)
 
void RemoveListener (SfxListener &rListener)
 
void AddReference (SdrVirtObj &rVrtObj)
 
void DelReference (SdrVirtObj &rVrtObj)
 
virtual SdrInventor GetObjInventor () const
 
virtual SdrObjKind GetObjIdentifier () const
 
virtual void TakeObjInfo (SdrObjTransformInfoRec &rInfo) const
 
virtual SdrLayerID GetLayer () const
 
virtual void NbcSetLayer (SdrLayerID nLayer)
 
virtual void SetLayer (SdrLayerID nLayer)
 
void getMergedHierarchySdrLayerIDSet (SdrLayerIDSet &rSet) const
 
void SendUserCall (SdrUserCallType eUserCall, const tools::Rectangle &rBoundRect) const
 
void SetName (const OUString &rStr, const bool bSetChanged=true)
 
const OUString & GetName () const
 
void MakeNameUnique ()
 
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
 
virtual SdrObjListGetSubList () 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::RectangleGetCurrentBoundRect () const
 
virtual const tools::RectangleGetLastBoundRect () const
 
virtual void RecalcBoundRect ()
 
void BroadcastObjectChange () const
 
const SfxBroadcasterGetBroadcaster () const
 
virtual void SetChanged ()
 
void SingleObjectPainter (OutputDevice &rOut) const
 
bool LineGeometryUsageIsNecessary () const
 
virtual bool HasLimitedRotation () const
 
virtual rtl::Reference< SdrObjectCloneSdrObject (SdrModel &rTargetModel) const
 
SdrObjectoperator= (const SdrObject &rObj)=delete
 
SdrObjectoperator= (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< SdrObjectgetFullDragClone () 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)
 
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::RectangleGetSnapRect () const
 
virtual void SetSnapRect (const tools::Rectangle &rRect)
 
virtual void NbcSetSnapRect (const tools::Rectangle &rRect)
 
virtual const tools::RectangleGetLogicRect () 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< SdrObjGeoDataGetGeoData () const
 
virtual void SetGeoData (const SdrObjGeoData &rGeo)
 
const SfxItemSetGetMergedItemSet () const
 
void SetMergedItem (const SfxPoolItem &rItem)
 
void ClearMergedItem (const sal_uInt16 nWhich=0)
 
void SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false)
 
const SfxPoolItemGetMergedItem (const sal_uInt16 nWhich) const
 
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)
 
SfxStyleSheetGetStyleSheet () const
 
virtual bool HasTextEdit () const
 
void SetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject)
 
virtual void NbcSetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject)
 
virtual OutlinerParaObjectGetOutlinerParaObject () const
 
virtual void NbcReformatText ()
 
void BurnInStyleSheetAttributes ()
 
virtual bool HasMacro () const
 
virtual SdrObjectCheckMacroHit (const SdrObjMacroHitRec &rRec) const
 
virtual PointerStyle GetMacroPointer (const SdrObjMacroHitRec &rRec) const
 
virtual void PaintMacro (OutputDevice &rOut, const tools::Rectangle &rDirtyRect, const SdrObjMacroHitRec &rRec) const
 
virtual bool DoMacro (const SdrObjMacroHitRec &rRec)
 
bool IsMacroHit (const SdrObjMacroHitRec &rRec) const
 
virtual SdrGluePoint GetVertexGluePoint (sal_uInt16 nNum) const
 
virtual SdrGluePoint GetCornerGluePoint (sal_uInt16 nNum) const
 
virtual const SdrGluePointListGetGluePointList () const
 
virtual SdrGluePointListForceGluePointList ()
 
void SetGlueReallyAbsolute (bool bOn)
 
void NbcRotateGluePoints (const Point &rRef, 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 SdrObjectGetConnectedNode (bool bTail1) const
 
virtual void SetContextWritingMode (const sal_Int16 _nContextWritingMode)
 
virtual rtl::Reference< SdrObjectDoConvertToPolyObj (bool bBezier, bool bAddText) const
 
rtl::Reference< SdrObjectConvertToPolyObj (bool bBezier, bool bLineToArea) const
 
rtl::Reference< 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::drawing::XShape > getUnoShape ()
 
svx::PropertyChangeNotifiergetShapePropertyChangeNotifier ()
 
void notifyShapePropertyChange (const svx::ShapePropertyProviderId _eProperty) const
 
virtual bool TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const
 
virtual void TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon)
 
bool IsInDestruction () const
 
bool HasFillStyle () const
 
bool HasLineStyle () const
 
const tools::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 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
 
void setSuitableOutlinerBg (Outliner &rOutliner) const
 
const GraphicgetFillGraphic () const
 
const OUString & getHyperlink () const
 
void setHyperlink (const OUString &sHyperlink)
 
void ForceMetricToItemPoolMetric (basegfx::B2DPolyPolygon &rPolyPolygon) const noexcept
 

Private Member Functions

Degree10 getPossibleRotationFromFraphicFrame (Size &rSize) const
 
virtual std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact () override
 
virtual ~SwVirtFlyDrawObj () override
 

Private Attributes

SwFlyFramem_pFlyFrame
 

Additional Inherited Members

- Static Public Member Functions inherited from SdrObject
static SdrItemPoolGetGlobalDrawObjectItemPool ()
 
static rtl::Reference< T > Clone (T const &rObj, SdrModel &rTargetModel)
 
static SdrObjectgetSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt)
 
- Protected Member Functions inherited from SdrVirtObj
virtual std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual std::unique_ptr< SdrObjGeoDataNewGeoData () 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::RectanglegetOutRectangle () 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::BasePropertiesCreateObjectSpecificProperties ()
 
virtual std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact ()
 
tools::Rectangle ImpDragCalcRect (const SdrDragStat &rDrag) const
 
OUString ImpGetDescriptionStr (TranslateId pStrCacheID) const
 
void ImpForcePlusData ()
 
OUString GetMetrStr (tools::Long nVal) const
 
virtual std::unique_ptr< SdrObjGeoDataNewGeoData () const
 
virtual void SaveGeoData (SdrObjGeoData &rGeo) const
 
virtual void RestoreGeoData (const SdrObjGeoData &rGeo)
 
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
 
const SfxItemSetgetBackgroundFillSet () const
 
virtual void InternalSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast)
 
- Protected Attributes inherited from SdrVirtObj
rtl::Reference< SdrObjectmxRefObj
 
tools::Rectangle aSnapRect
 
- Protected Attributes inherited from SdrObject
tools::Rectangle m_aOutRect
 
Point m_aAnchor
 
SdrObjUserCallm_pUserCall
 
std::unique_ptr< SdrObjPlusDatam_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
 

Detailed Description

Definition at line 60 of file dflyobj.hxx.

Constructor & Destructor Documentation

◆ ~SwVirtFlyDrawObj()

SwVirtFlyDrawObj::~SwVirtFlyDrawObj ( )
overrideprivatevirtual

Definition at line 433 of file dflyobj.cxx.

References SdrObject::getSdrPageFromSdrObject().

◆ SwVirtFlyDrawObj()

SwVirtFlyDrawObj::SwVirtFlyDrawObj ( SdrModel rSdrModel,
SdrObject rNew,
SwFlyFrame pFly 
)

Member Function Documentation

◆ addCropHandles()

void SwVirtFlyDrawObj::addCropHandles ( SdrHdlList rTarget) const
overridevirtual

◆ CheckMacroHit()

SdrObject * SwVirtFlyDrawObj::CheckMacroHit ( const SdrObjMacroHitRec rRec) const
overridevirtual

◆ ContainsSwGrfNode()

bool SwVirtFlyDrawObj::ContainsSwGrfNode ( ) const

◆ CreateObjectSpecificViewContact()

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

Reimplemented from SdrVirtObj.

Definition at line 414 of file dflyobj.cxx.

◆ Crop()

void SwVirtFlyDrawObj::Crop ( const basegfx::B2DPoint rRef,
double  fxFact,
double  fyFact 
)
overridevirtual

◆ dumpAsXml()

void SwVirtFlyDrawObj::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 1305 of file dflyobj.cxx.

References SdrObject::dumpAsXml(), SwFrameAreaDefinition::GetFrameId(), and m_pFlyFrame.

◆ GetCurrentBoundRect()

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

Reimplemented from SdrVirtObj.

Definition at line 559 of file dflyobj.cxx.

References SdrObject::m_aOutRect, and SetRect().

Referenced by GetLastBoundRect(), lcl_RefreshLine(), and SwFEShell::ShouldObjectBeSelected().

◆ GetFlyFrame() [1/2]

SwFlyFrame * SwVirtFlyDrawObj::GetFlyFrame ( )
inline

◆ GetFlyFrame() [2/2]

const SwFlyFrame * SwVirtFlyDrawObj::GetFlyFrame ( ) const
inline

Definition at line 129 of file dflyobj.hxx.

References m_pFlyFrame.

◆ GetFormat() [1/2]

SwFrameFormat * SwVirtFlyDrawObj::GetFormat ( )

Definition at line 442 of file dflyobj.cxx.

References GetFlyFrame(), and SwFlyFrame::GetFormat().

◆ GetFormat() [2/2]

const SwFrameFormat * SwVirtFlyDrawObj::GetFormat ( ) const

Definition at line 438 of file dflyobj.cxx.

References GetFlyFrame(), and SwFlyFrame::GetFormat().

Referenced by Crop(), IsTextBox(), Move(), NbcCrop(), NbcMove(), NbcResize(), and Resize().

◆ getFullDragClone()

rtl::Reference< SdrObject > SwVirtFlyDrawObj::getFullDragClone ( ) const
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 1193 of file dflyobj.cxx.

References ContainsSwGrfNode(), GetFlyFrame(), and SdrVirtObj::getFullDragClone().

◆ getInnerBound()

basegfx::B2DRange SwVirtFlyDrawObj::getInnerBound ( ) const

◆ GetLastBoundRect()

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

Reimplemented from SdrVirtObj.

Definition at line 565 of file dflyobj.cxx.

References GetCurrentBoundRect().

Referenced by SetLogicRect(), and SetSnapRect().

◆ GetLogicRect()

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

Reimplemented from SdrVirtObj.

Definition at line 601 of file dflyobj.cxx.

References SdrObject::m_aOutRect, and SetRect().

◆ GetMacroPointer()

PointerStyle SwVirtFlyDrawObj::GetMacroPointer ( const SdrObjMacroHitRec rRec) const
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 1254 of file dflyobj.cxx.

◆ getOuterBound()

basegfx::B2DRange SwVirtFlyDrawObj::getOuterBound ( ) const

◆ getPossibleRotationFromFraphicFrame()

Degree10 SwVirtFlyDrawObj::getPossibleRotationFromFraphicFrame ( Size rSize) const
private

◆ GetRotateAngle()

Degree100 SwVirtFlyDrawObj::GetRotateAngle ( ) const
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 1180 of file dflyobj.cxx.

References ContainsSwGrfNode(), getPossibleRotationFromFraphicFrame(), and SdrVirtObj::GetRotateAngle().

◆ GetSnapRect()

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

Reimplemented from SdrVirtObj.

Definition at line 580 of file dflyobj.cxx.

References SdrObject::m_aOutRect, and SetRect().

◆ HasLimitedRotation()

bool SwVirtFlyDrawObj::HasLimitedRotation ( ) const
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 376 of file dflyobj.cxx.

References ContainsSwGrfNode().

Referenced by TakeObjInfo().

◆ HasMacro()

bool SwVirtFlyDrawObj::HasMacro ( ) const
overridevirtual

◆ IsTextBox()

bool SwVirtFlyDrawObj::IsTextBox ( ) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 1300 of file dflyobj.cxx.

References GetFormat(), SwTextBoxHelper::isTextBox(), and RES_FLYFRMFMT().

Referenced by SwFEShell::GetBestObject().

◆ Move()

void SwVirtFlyDrawObj::Move ( const Size rSiz)
overridevirtual

◆ NbcCrop()

void SwVirtFlyDrawObj::NbcCrop ( const basegfx::B2DPoint rRef,
double  fxFact,
double  fyFact 
)
overridevirtual

Reimplemented from SdrObject.

Definition at line 793 of file dflyobj.cxx.

References tools::Rectangle::Bottom(), tools::Rectangle::Center(), convertTwipToMm100(), basegfx::utils::createRotateAroundPoint(), basegfx::B2DHomMatrix::decompose(), SwEditShell::EndAllAction(), basegfx::fround(), SfxItemSet::Get(), SwViewShell::GetAttrPool(), SvxGrfCrop::GetBottom(), SwEditShell::GetCurAttr(), SwRootFrame::GetCurrShell(), Application::GetDefaultDevice(), SwFormat::GetDoc(), GetFlyFrame(), GetFormat(), SwFrameAreaDefinition::getFrameAreaTransformation(), SwFormat::GetFrameSize(), SwEditShell::GetGraphicObj(), tools::Rectangle::GetHeight(), SvxGrfCrop::GetLeft(), MapMode::GetMapUnit(), tools::Rectangle::getOpenHeight(), tools::Rectangle::getOpenWidth(), SdrObject::getOutRectangle(), GraphicObject::GetPrefMapMode(), GraphicObject::GetPrefSize(), SvxGrfCrop::GetRight(), SwFrame::getRootFrame(), SvxGrfCrop::GetTop(), tools::Rectangle::GetWidth(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Size::Height(), Size::IsEmpty(), tools::Rectangle::Left(), OutputDevice::LogicToLogic(), o3tl::mm100, NbcMove(), OutputDevice::PixelToLogic(), Point, RES_GRFATR_CROPGRF(), ResizeRect(), TransformableSwFrame::restoreFrameAreas(), tools::Rectangle::Right(), SwDoc::SetAttr(), SwEditShell::SetAttrItem(), SvxGrfCrop::SetBottom(), SvxSizeItem::SetHeight(), SvxGrfCrop::SetLeft(), SdrObject::setOutRectangle(), SvxGrfCrop::SetRight(), SvxGrfCrop::SetTop(), SvxSizeItem::SetWidth(), SSize, SwEditShell::StartAllAction(), tools::Rectangle::Top(), TopLeft, tools::Rectangle::TopLeft(), o3tl::toTwips(), and Size::Width().

Referenced by Crop().

◆ NbcMove()

void SwVirtFlyDrawObj::NbcMove ( const Size rSiz)
overridevirtual

◆ NbcResize()

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

Reimplemented from SdrVirtObj.

Definition at line 967 of file dflyobj.cxx.

References basegfx::absolute(), bInResize, tools::Rectangle::Bottom(), SwBorderAttrs::CalcLeftLine(), SwBorderAttrs::CalcRightLine(), SwFlyFrame::ChgSize(), basegfx::B2DHomMatrix::decompose(), basegfx::fround(), SwBorderAttrAccess::Get(), SwAnchoredObject::GetAnchorFrame(), SwBorderAttrs::GetAttrSet(), SwViewShell::GetBrowseBorder(), SwViewOption::getBrowseMode(), SwViewShell::GetBrowseWidth(), SwFrame::GetCache(), SwAttrSet::GetCol(), SwFormatCol::GetColumns(), SwRootFrame::GetCurrShell(), SwFormat::GetDoc(), GetFlyFrame(), GetFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetFrameSize(), SvxSizeItem::GetHeight(), SwFormatFrameSize::GetHeightPercent(), SwViewShell::GetOut(), SdrObject::getOutRectangle(), SwFrame::getRootFrame(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), SvxSizeItem::GetWidth(), SwFormatFrameSize::GetWidthPercent(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), SwRect::HasArea(), Size::Height(), SwRect::Height(), SwFrame::IsBodyFrame(), SwFlyFrame::IsFlyLayFrame(), SwFrame::IsRightToLeft(), SwFrame::IsVertical(), SwFrame::IsVertLR(), tools::Rectangle::Left(), Lower, MINFLY, SdrObject::moveOutRectangle(), NbcMove(), OutputDevice::PixelToLogic(), Point, Pos, ResizeRect(), TransformableSwFrame::restoreFrameAreas(), tools::Rectangle::Right(), basegfx::B2DHomMatrix::scale(), SwDoc::SetAttr(), SwFormatFrameSize::SetHeightPercent(), SdrObject::setOutRectangle(), SwFrameAreaDefinition::FrameAreaWriteAccess::setSwRect(), Size::setWidth(), SwFormatFrameSize::SetWidthPercent(), SSize, SwFormatFrameSize::SYNCED, tools::Rectangle::Top(), TopRight, basegfx::B2DHomMatrix::translate(), SwViewShell::VisArea(), Size::Width(), and SwRect::Width().

Referenced by Resize().

◆ NbcSetLogicRect()

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

Reimplemented from SdrVirtObj.

Definition at line 617 of file dflyobj.cxx.

References SetRect().

◆ NbcSetSnapRect()

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

Reimplemented from SdrVirtObj.

Definition at line 596 of file dflyobj.cxx.

References SetRect().

◆ RecalcBoundRect()

void SwVirtFlyDrawObj::RecalcBoundRect ( )
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 570 of file dflyobj.cxx.

References SetRect().

◆ RecalcSnapRect()

void SwVirtFlyDrawObj::RecalcSnapRect ( )
overridevirtual

Reimplemented from SdrVirtObj.

Definition at line 575 of file dflyobj.cxx.

References SetRect().

◆ Resize()

void SwVirtFlyDrawObj::Resize ( const Point rRef,
const Fraction xFact,
const Fraction yFact,
bool  bUnsetRelative = true 
)
overridevirtual

◆ Rotate()

void SwVirtFlyDrawObj::Rotate ( const Point rRef,
Degree100  nAngle,
double  sn,
double  cs 
)
overridevirtual

◆ SetLogicRect()

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

◆ SetRect()

void SwVirtFlyDrawObj::SetRect ( ) const

◆ SetSnapRect()

void SwVirtFlyDrawObj::SetSnapRect ( const tools::Rectangle rRect)
overridevirtual

◆ TakeObjInfo()

void SwVirtFlyDrawObj::TakeObjInfo ( SdrObjTransformInfoRec rInfo) const
overridevirtual

◆ TakeXorPoly()

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

◆ wrap_DoPaintObject()

void SwVirtFlyDrawObj::wrap_DoPaintObject ( drawinglayer::geometry::ViewInformation2D const &  rViewInformation) const

Member Data Documentation

◆ m_pFlyFrame

SwFlyFrame* SwVirtFlyDrawObj::m_pFlyFrame
private

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