34 mpViewShell(pViewShell),
53 bool bSizeProtect =
false;
54 bool bPosProtect =
false;
75 if ( aWorkArea.
Contains(aObjRect) || bPosProtect || aObjRect == aOldRect )
84 aPos.
setX( std::max(aPos.
X(), aWorkAreaTL.
X()) );
85 aPos.
setX( std::min(aPos.
X(), aWorkAreaBR.
X()-aSize.
Width()) );
86 aPos.
setY( std::max(aPos.
Y(), aWorkAreaTL.
Y()) );
87 aPos.
setY( std::min(aPos.
Y(), aWorkAreaBR.
Y()-aSize.
Height()) );
116 const Point aDelta(aNewRectangle.
Center() - rBoundRect.Center());
118 aNewRectangle.
Move(aDelta.
X(), aDelta.
Y());
127 if (
GetAspect() == embed::Aspects::MSOLE_ICON )
166 MapMode aMap100( MapUnit::Map100thMM );
static OutputDevice * GetDefaultDevice()
Degree100 m_nRotationAngle
SAL_WARN_UNUSED_RESULT Point LogicToPixel(const Point &rLogicPt) const
constexpr tools::Long Y() const
void setX(tools::Long nX)
void setY(tools::Long nY)
constexpr tools::Long X() const
const tools::Rectangle & GetWorkArea() const
size_t GetMarkCount() const
SdrMark * GetMark(size_t nNum) const
const SdrMarkList & GetMarkedObjectList() const
SdrObject * GetMarkedSdrObj() const
bool IsResizeProtect() const
void ActionChanged() const
void BroadcastObjectChange() 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)
Size GetOrigObjSize(MapMode const *pTargetMapMode=nullptr) const
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
sal_Int64 GetAspect() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
Client(SdrOle2Obj *pObj, ViewShell *pSdViewShell, vcl::Window *pWindow)
virtual void ViewChanged() override
virtual void ObjectAreaChanged() override
virtual ~Client() override
virtual void RequestNewObjectArea(::tools::Rectangle &) override
If IP active, then we get this request to increase the visible section of the object.
Base class of the stacked shell hierarchy.
::sd::Window * GetActiveWindow() const
The active window is usually the mpContentWindow.
::sd::View * GetView() const
#define DBG_ASSERT(sCon, aError)