LibreOffice Module sw (master) 1
|
#include <dflyobj.hxx>
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::Rectangle & | GetCurrentBoundRect () const override |
virtual const tools::Rectangle & | GetLastBoundRect () const override |
virtual Degree100 | GetRotateAngle () const override |
virtual void | RecalcBoundRect () 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 ::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< SdrObject > | getFullDragClone () const override |
const SwFrameFormat * | GetFormat () const |
SwFrameFormat * | GetFormat () |
SwFlyFrame * | GetFlyFrame () |
const SwFlyFrame * | GetFlyFrame () const |
void | SetRect () const |
virtual bool | HasMacro () const override |
virtual SdrObject * | CheckMacroHit (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::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 | |
Degree10 | getPossibleRotationFromFraphicFrame (Size &rSize) const |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () override |
virtual | ~SwVirtFlyDrawObj () override |
Private Attributes | |
SwFlyFrame * | m_pFlyFrame |
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 |
Definition at line 66 of file dflyobj.hxx.
|
overrideprivatevirtual |
Definition at line 443 of file dflyobj.cxx.
References SdrObject::getSdrPageFromSdrObject().
SwVirtFlyDrawObj::SwVirtFlyDrawObj | ( | SdrModel & | rSdrModel, |
SdrObject & | rNew, | ||
SwFlyFrame * | pFly | ||
) |
Definition at line 431 of file dflyobj.cxx.
References SwFlyFrame::GetFormat(), SwFormat::GetProtect(), SvxProtectItem::IsPosProtected(), SvxProtectItem::IsSizeProtected(), SdrObject::m_bMovProt, SdrObject::m_bSizProt, and m_pFlyFrame.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1219 of file dflyobj.cxx.
References basegfx::B2DHomMatrix::decompose(), basegfx::fround(), GetFlyFrame(), getInnerBound(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), and rTarget.
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 1276 of file dflyobj.cxx.
References SwRect::AddHeight(), SwRect::AddWidth(), SdrObjMacroHitRec::aPos, SdrObject::CheckMacroHit(), SwRect::Contains(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFrameFormat::GetIMapObject(), SwFormatURL::GetMap(), SwFormatURL::GetURL(), SwFormat::GetURL(), SwFrame::IsNoTextFrame(), SwLayoutFrame::Lower(), m_pFlyFrame, SdrObjMacroHitRec::nTol, and SwRect::Pos().
bool SwVirtFlyDrawObj::ContainsSwGrfNode | ( | ) | const |
Definition at line 369 of file dflyobj.cxx.
References GetFlyFrame(), SwNode::GetGrfNode(), SwNoTextFrame::GetNode(), SwFrame::IsNoTextFrame(), and SwLayoutFrame::Lower().
Referenced by getFullDragClone(), GetRotateAngle(), HasLimitedRotation(), SwFEShell::IsRotationOfSwGrfNodePossible(), and Rotate().
|
overrideprivatevirtual |
Reimplemented from SdrVirtObj.
Definition at line 424 of file dflyobj.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1159 of file dflyobj.cxx.
References SwFormat::GetDoc(), GetFormat(), SwDoc::GetIDocumentUndoRedo(), NbcCrop(), and SdrObject::SetChanged().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1315 of file dflyobj.cxx.
References SdrObject::dumpAsXml(), SwFrameAreaDefinition::GetFrameId(), and m_pFlyFrame.
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 569 of file dflyobj.cxx.
References SdrObject::getOutRectangle(), and SetRect().
Referenced by GetLastBoundRect(), lcl_RefreshLine(), and SwFEShell::ShouldObjectBeSelected().
|
inline |
Definition at line 135 of file dflyobj.hxx.
Referenced by addCropHandles(), SwFEShell::Chainable(), ContainsSwGrfNode(), SwFEShell::GetBestObject(), GetFormat(), getFullDragClone(), SwFEShell::GetGrfAtPos(), getInnerBound(), SwFlyFrame::GetModelPositionForViewPoint(), getOuterBound(), getPossibleRotationFromFraphicFrame(), SwFEShell::GetSelectedFlyFrame(), SwFEShell::GotoObj(), impLocalHitCorrection(), sw::access::SwAccessibleChild::Init(), SwFEShell::IsURLGrfAtPos(), lcl_FindAnchor(), lcl_RefreshLine(), NbcCrop(), NbcMove(), NbcResize(), SwLayAction::PaintWithoutFlys(), SwDPage::RequestHelp(), Rotate(), SetRect(), and TakeXorPoly().
|
inline |
Definition at line 136 of file dflyobj.hxx.
SwFrameFormat * SwVirtFlyDrawObj::GetFormat | ( | ) |
Definition at line 452 of file dflyobj.cxx.
References GetFlyFrame(), and SwFlyFrame::GetFormat().
const SwFrameFormat * SwVirtFlyDrawObj::GetFormat | ( | ) | const |
Definition at line 448 of file dflyobj.cxx.
References GetFlyFrame(), and SwFlyFrame::GetFormat().
Referenced by Crop(), IsTextBox(), Move(), NbcCrop(), NbcMove(), NbcResize(), and Resize().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 1203 of file dflyobj.cxx.
References ContainsSwGrfNode(), GetFlyFrame(), and SdrVirtObj::getFullDragClone().
basegfx::B2DRange SwVirtFlyDrawObj::getInnerBound | ( | ) | const |
Definition at line 345 of file dflyobj.cxx.
References tools::Rectangle::Bottom(), basegfx::Range2D< typename TYPE, typename TRAITS >::expand(), GetFlyFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SdrVirtObj::GetReferencedObj(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), SwRect::Pos(), tools::Rectangle::Right(), SwRect::SSize(), and tools::Rectangle::Top().
Referenced by addCropHandles(), and impLocalHitCorrection().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 575 of file dflyobj.cxx.
References GetCurrentBoundRect().
Referenced by SetLogicRect(), and SetSnapRect().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 611 of file dflyobj.cxx.
References SdrObject::getOutRectangle(), and SetRect().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 1264 of file dflyobj.cxx.
basegfx::B2DRange SwVirtFlyDrawObj::getOuterBound | ( | ) | const |
Definition at line 320 of file dflyobj.cxx.
References tools::Rectangle::Bottom(), basegfx::Range2D< typename TYPE, typename TRAITS >::expand(), GetFlyFrame(), SwFrameAreaDefinition::getFrameArea(), SdrObject::GetObjIdentifier(), SdrVirtObj::GetReferencedObj(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), SwRect::Pos(), tools::Rectangle::Right(), SwRect::SSize(), and tools::Rectangle::Top().
Definition at line 1167 of file dflyobj.cxx.
References GetFlyFrame(), SwNode::GetGrfNode(), SwNoTextFrame::GetNode(), SwContentNode::GetSwAttrSet(), SwRotationGrf::GetUnrotatedSize(), SwRotationGrf::GetValue(), SwLayoutFrame::Lower(), and rSet.
Referenced by GetRotateAngle(), and Rotate().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 1190 of file dflyobj.cxx.
References ContainsSwGrfNode(), getPossibleRotationFromFraphicFrame(), and SdrVirtObj::GetRotateAngle().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 590 of file dflyobj.cxx.
References SdrObject::getOutRectangle(), and SetRect().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 386 of file dflyobj.cxx.
References ContainsSwGrfNode().
Referenced by TakeObjInfo().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 1270 of file dflyobj.cxx.
References SwFlyFrame::GetFormat(), SwFormatURL::GetMap(), SwFormatURL::GetURL(), SwFormat::GetURL(), and m_pFlyFrame.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1310 of file dflyobj.cxx.
References GetFormat(), SwTextBoxHelper::isTextBox(), and RES_FLYFRMFMT().
Referenced by SwFEShell::GetBestObject().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 1144 of file dflyobj.cxx.
References SwFormat::GetDoc(), GetFormat(), SwDoc::GetIDocumentUndoRedo(), NbcMove(), and SdrObject::SetChanged().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 803 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(), 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(), Size::Width(), Point::X(), and Point::Y().
Referenced by Crop().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 644 of file dflyobj.cxx.
References bInResize, SwFlyFrame::ChgRelPos(), SwAnchoredObject::GetAnchorFrame(), SwDoc::GetAttrPool(), SwFormat::GetDoc(), SwDoc::GetDocShell(), GetFlyFrame(), GetFormat(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), GetHtmlMode(), SdrObject::getOutRectangle(), SwFormatVertOrient::GetPos(), SwFormatHoriOrient::GetPos(), SwFormatVertOrient::GetRelationOrient(), SwFormatHoriOrient::GetRelationOrient(), SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), Size::Height(), SwFormatHoriOrient::IsPosToggle(), SwRect::Left(), SdrObject::moveOutRectangle(), SwPostItHelper::NONE, Pos, SfxItemSet::Put(), RES_HORI_ORIENT(), RES_VERT_ORIENT(), TransformableSwFrame::restoreFrameAreas(), SwFormat::SetFormatAttr(), SwFormatHoriOrient::SetHoriOrient(), SdrObject::setOutRectangle(), SwFormatVertOrient::SetRelationOrient(), SwFormatHoriOrient::SetRelationOrient(), SwFormatVertOrient::SetVertOrient(), TopLeft, Size::Width(), SwRect::Width(), Point::X(), and Point::Y().
Referenced by Move(), NbcCrop(), and NbcResize().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 977 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(), 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(), SwRect::Width(), Point::X(), and Point::Y().
Referenced by Resize().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 1151 of file dflyobj.cxx.
References SwFormat::GetDoc(), GetFormat(), SwDoc::GetIDocumentUndoRedo(), NbcResize(), and SdrObject::SetChanged().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 393 of file dflyobj.cxx.
References ContainsSwGrfNode(), SwRootFrame::GetCurrShell(), GetFlyFrame(), getPossibleRotationFromFraphicFrame(), SwFrame::getRootFrame(), NONE, SdrVirtObj::Rotate(), and SwFlyFrameAttrMgr::SetRotation().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 617 of file dflyobj.cxx.
References SdrObject::BroadcastObjectChange(), SdrObjUserCall::Changed(), GetLastBoundRect(), SdrObject::m_pUserCall, SdrObject::SetChanged(), and SetRect().
void SwVirtFlyDrawObj::SetRect | ( | ) | const |
Definition at line 560 of file dflyobj.cxx.
References GetFlyFrame(), SwFrameAreaDefinition::getFrameArea(), SwRect::HasArea(), SdrObject::setOutRectangle(), and SwRect::SVRect().
Referenced by GetCurrentBoundRect(), GetLogicRect(), GetSnapRect(), NbcSetLogicRect(), NbcSetSnapRect(), SwFlyFrame::NotifyDrawObj(), RecalcBoundRect(), RecalcSnapRect(), SetLogicRect(), and SetSnapRect().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 596 of file dflyobj.cxx.
References SdrObject::BroadcastObjectChange(), SdrObjUserCall::Changed(), GetLastBoundRect(), SdrObject::m_pUserCall, SdrObject::SetChanged(), and SetRect().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 544 of file dflyobj.cxx.
References SdrObjTransformInfoRec::bCanConvToPath, SdrObjTransformInfoRec::bCanConvToPathLineToArea, SdrObjTransformInfoRec::bCanConvToPoly, SdrObjTransformInfoRec::bCanConvToPolyLineToArea, SdrObjTransformInfoRec::bMirror45Allowed, SdrObjTransformInfoRec::bMirror90Allowed, SdrObjTransformInfoRec::bMirrorFreeAllowed, SdrObjTransformInfoRec::bMoveAllowed, SdrObjTransformInfoRec::bResizeFreeAllowed, SdrObjTransformInfoRec::bResizePropAllowed, SdrObjTransformInfoRec::bRotate90Allowed, SdrObjTransformInfoRec::bRotateFreeAllowed, SdrObjTransformInfoRec::bShearAllowed, and HasLimitedRotation().
|
overridevirtual |
Reimplemented from SdrVirtObj.
Definition at line 632 of file dflyobj.cxx.
References basegfx::B2DPolyPolygon::append(), vcl::unotools::b2DRectangleFromRectangle(), and GetFlyFrame().
void SwVirtFlyDrawObj::wrap_DoPaintObject | ( | drawinglayer::geometry::ViewInformation2D const & | rViewInformation | ) | const |
Definition at line 502 of file dflyobj.cxx.
References SwRootFrame::GetCurrShell(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetOut(), SwAnchoredObject::GetPageFrame(), SwFrame::getRootFrame(), drawinglayer::geometry::ViewInformation2D::getViewport(), comphelper::LibreOfficeKit::isActive(), SwViewShell::IsDrawingLayerPaintInProgress(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), SwFlyFrame::IsFlyInContentFrame(), SwFlyFrame::IsPaint(), m_pFlyFrame, and SwFlyFrame::PaintSwFrame().
|
private |
Definition at line 69 of file dflyobj.hxx.
Referenced by CheckMacroHit(), dumpAsXml(), HasMacro(), SwVirtFlyDrawObj(), and wrap_DoPaintObject().