27#include <com/sun/star/uno/Reference.h>
31namespace awt {
class XWindow; }
33namespace datatransfer {
class XTransferable; }
35namespace embed {
class XEmbeddedObject; }
37namespace frame {
class XModel; }
39namespace io {
class XInputStream; }
42namespace svt {
class EmbeddedObjectRef; }
50 std::unique_ptr<SdrOle2ObjImpl>
mpImpl;
73 OUString GetStyleString();
77 bool bFrame_ =
false);
83 const OUString& rNewObjName,
88 sal_Int64 GetAspect()
const;
89 bool isInplaceActive()
const;
90 bool isUiActive()
const;
91 void SetAspect( sal_Int64 nAspect );
95 void SetGraphic(
const Graphic& rGrf);
97 const Graphic* GetGraphic()
const;
98 void GetNewReplacement();
102 Size GetOrigObjSize(
MapMode const * pTargetMapMode =
nullptr )
const;
106 void setSuppressSetVisAreaSize(
bool bNew );
110 const OUString& GetPersistName()
const;
111 void SetPersistName(
const OUString& rPersistName,
SvxOle2Shape* pCreator =
nullptr );
115 void SetProgName(
const OUString& rName );
116 const OUString& GetProgName()
const;
117 bool IsEmpty()
const;
119 void SetObjRef(
const css::uno::Reference < css::embed::XEmbeddedObject >& rNewObjRef);
120 css::uno::Reference < css::embed::XEmbeddedObject >
const & GetObjRef()
const;
122 SVX_DLLPRIVATE css::uno::Reference < css::embed::XEmbeddedObject >
const & GetObjRef_NoInit()
const;
124 void AbandonObject();
134 void SetClosedObj(
bool bIsClosed );
152 static bool CanUnloadRunningObj(
const css::uno::Reference< css::embed::XEmbeddedObject >& xObj,
154 static bool Unload(
const css::uno::Reference< css::embed::XEmbeddedObject >& xObj, sal_Int64 nAspect );
160 css::uno::Reference< css::frame::XModel >
getXModel()
const;
162 bool IsChart()
const;
165 bool UpdateLinkURL_Impl();
166 void BreakFileLink_Impl();
167 void DisconnectFileLink_Impl();
168 void CheckFileLink_Impl();
171 void SetGraphicToObj(
const Graphic& aGraphic );
173 const OUString& aMediaType );
175 css::uno::Reference< css::frame::XModel > GetParentXModel()
const;
177 bool AddOwnLightClient();
180 static Graphic GetEmptyOLEReplacementGraphic();
182 void SetWindow(
const css::uno::Reference < css::awt::XWindow >& _xWindow);
196 virtual void Closed()
override;
197 virtual ::sfx2::SvBaseLink::UpdateResult
DataChanged(
198 const OUString& rMimeType,
const css::uno::Any & rValue )
override;
209 virtual ::sfx2::SvBaseLink::UpdateResult
DataChanged(
210 const OUString& rMimeType,
const css::uno::Any & rValue )
override;
All geometrical data of an arbitrary object for use in undo/redo.
virtual void SetGeoData(const SdrObjGeoData &rGeo)
std::unique_ptr< SdrOle2ObjImpl > mpImpl
void SetGraphicToObj(const css::uno::Reference< css::io::XInputStream > &xGrStream, const OUString &aMediaType)
static bool Unload(const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, sal_Int64 nAspect)
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
Rectangle objects (rectangle, circle, ...)
virtual std::unique_ptr< sdr::properties::BaseProperties > CreateObjectSpecificProperties() override
virtual void NbcSetSnapRect(const tools::Rectangle &rRect) override
virtual void NbcResize(const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
virtual void NbcSetLogicRect(const tools::Rectangle &rRect) override
virtual rtl::Reference< SdrObject > DoConvertToPolyObj(bool bBezier, bool bAddText) const override
virtual SdrObjKind GetObjIdentifier() const override
virtual OUString TakeObjNamePlural() const override
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
virtual void TakeObjInfo(SdrObjTransformInfoRec &rInfo) const override
virtual OUString TakeObjNameSingul() const override
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact() override
virtual void NbcMove(const Size &rSiz) override
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding ...
virtual void handlePageChange(SdrPage *pOldPage, SdrPage *pNewPage) override
virtual rtl::Reference< SdrObject > getFullDragClone() const override
css::uno::Reference< css::frame::XModel > getXModel(const css::uno::Reference< css::uno::XInterface > &_rxComponent)
#define SVXCORE_DLLPUBLIC