20#include <com/sun/star/embed/XEmbeddedObject.hpp>
51 uno::Reference < embed::XEmbeddedObject > xObj =
GetObject();
56 for (sal_uInt16 nPNr=0; nPNr<nPages && !pOle2Obj; nPNr++)
63 if (
pObject->GetObjIdentifier() == SdrObjKind::OLE2 )
81 OSL_FAIL(
"Wrong ViewShell");
98 if ( !(pPage && aLogicRect != aOldRect) )
103 if ( aSize.
Width() < 0 )
123 if (aLogicRect.
Left() < aPageRect.
Left())
129 if (aLogicRect.
Top() < aPageRect.
Top())
143 OSL_FAIL(
"Wrong ViewShell");
164 aNewRectangle.
Move(aDelta.
X(), aDelta.
Y());
177 if (
GetAspect() == embed::Aspects::MSOLE_ICON )
186 uno::Reference < embed::XEmbeddedObject > xObj =
GetObject();
191 aSz = xObj->getVisualAreaSize(
GetAspect() );
192 }
catch (
const uno::Exception&) {
229 aLogicRect.
SetSize( aVisSize );
Degree100 m_nRotationAngle
SAL_WARN_UNUSED_RESULT Point LogicToLogic(const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
constexpr tools::Long Y() const
void setX(tools::Long nX)
constexpr tools::Long X() const
virtual void ObjectAreaChanged() override
ScClient(ScTabViewShell *pViewShell, vcl::Window *pDraw, SdrModel *pSdrModel, const SdrOle2Obj *pObj)
virtual void RequestNewObjectArea(tools::Rectangle &) override
SdrOle2Obj * GetDrawObj()
virtual void ViewChanged() override
virtual ~ScClient() override
void SetDrawModified()
SetDrawModified - without Formula update.
void ScrollToObject(const SdrObject *pDrawObj)
ScViewData & GetViewData()
ScGridWindow * GetActiveWin()
ScDocShell * GetDocShell() const
const SdrPage * GetPage(sal_uInt16 nPgNum) const
sal_uInt16 GetPageCount() const
bool IsResizeProtect() const
void ActionChanged() const
bool IsMoveProtect() const
virtual const tools::Rectangle & GetCurrentBoundRect() const
virtual void SetLogicRect(const tools::Rectangle &rRect)
css::uno::Reference< css::embed::XEmbeddedObject > const & GetObjRef() const
void setSuppressSetVisAreaSize(bool bNew)
virtual const tools::Rectangle & GetLogicRect() const override
const GeoStat & GetGeoStat() const
const css::uno::Reference< css::embed::XEmbeddedObject > & GetObject() const
const Fraction & GetScaleHeight() const
void SetObject(const css::uno::Reference< css::embed::XEmbeddedObject > &rObject)
const tools::Rectangle & GetObjArea() const
tools::Rectangle GetScaledObjArea() const
bool IsObjectInPlaceActive() const
const Fraction & GetScaleWidth() const
SfxViewShell * GetViewShell() const
sal_Int64 GetAspect() const
comphelper::EmbeddedObjectContainer & GetEmbeddedObjectContainer() const
virtual SfxObjectShell * GetObjectShell() override
constexpr tools::Long Height() const
void setWidth(tools::Long nWidth)
constexpr tools::Long Width() const
static MapUnit UnoEmbed2VCLMapUnit(sal_Int32 nUnoEmbedMapUnit)
OUString GetEmbeddedObjectName(const css::uno::Reference< css::embed::XEmbeddedObject > &) const
Point LogicToPixel(const Point &rLogicPt) const
#define TOOLS_WARN_EXCEPTION(area, stream)
EmbeddedObjectRef * pObject