LibreOffice Module sd (master) 1
|
#include <Client.hxx>
Public Member Functions | |
Client (SdrOle2Obj *pObj, ViewShell *pSdViewShell, vcl::Window *pWindow) | |
virtual | ~Client () override |
Public Member Functions inherited from SfxInPlaceClient | |
SfxInPlaceClient (SfxViewShell *pViewShell, vcl::Window *pDraw, sal_Int64 nAspect) | |
virtual | ~SfxInPlaceClient () |
SfxInPlaceClient (const SfxInPlaceClient &)=delete | |
SfxInPlaceClient & | operator= (const SfxInPlaceClient &)=delete |
SfxViewShell * | GetViewShell () const |
vcl::Window * | GetEditWin () const |
const css::uno::Reference< css::embed::XEmbeddedObject > & | GetObject () const |
void | SetObject (const css::uno::Reference< css::embed::XEmbeddedObject > &rObject) |
void | SetObjectState (sal_Int32) |
bool | IsObjectUIActive () const |
bool | IsObjectInPlaceActive () const |
void | DeactivateObject () |
bool | SetObjArea (const tools::Rectangle &) |
const tools::Rectangle & | GetObjArea () const |
tools::Rectangle | GetScaledObjArea () const |
void | SetSizeScale (const Fraction &rScaleWidth, const Fraction &rScaleHeight) |
void | SetObjAreaAndScale (const tools::Rectangle &, const Fraction &, const Fraction &) |
const Fraction & | GetScaleWidth () const |
const Fraction & | GetScaleHeight () const |
void | Invalidate () |
sal_Int64 | GetAspect () const |
sal_Int64 | GetObjectMiscStatus () const |
ErrCode | DoVerb (sal_Int32 nVerb) |
void | VisAreaChanged () |
void | ResetObject () |
bool | IsUIActive () const |
void | SetNegativeX (bool bSet) |
bool | IsNegativeX () const |
virtual void | FormatChanged () |
virtual bool | IsProtected () const |
Private Member Functions | |
virtual void | ObjectAreaChanged () override |
virtual void | RequestNewObjectArea (::tools::Rectangle &) override |
If IP active, then we get this request to increase the visible section of the object. More... | |
virtual void | ViewChanged () override |
Private Attributes | |
ViewShell * | mpViewShell |
SdrOle2Obj * | pSdrOle2Obj |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxInPlaceClient | |
static SfxInPlaceClient * | GetClient (SfxObjectShell const *pDoc, const css::uno::Reference< css::embed::XEmbeddedObject > &xObject) |
Definition at line 29 of file Client.hxx.
sd::Client::Client | ( | SdrOle2Obj * | pObj, |
ViewShell * | pSdViewShell, | ||
vcl::Window * | pWindow | ||
) |
Definition at line 32 of file sdclient.cxx.
References DBG_ASSERT, SfxInPlaceClient::GetObject(), SdrOle2Obj::GetObjRef(), and SfxInPlaceClient::SetObject().
|
overridevirtual |
Definition at line 41 of file sdclient.cxx.
|
overrideprivatevirtual |
Reimplemented from SfxInPlaceClient.
Definition at line 92 of file sdclient.cxx.
References tools::Rectangle::Center(), SdrObject::GetCurrentBoundRect(), SdrTextObj::GetGeoStat(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SfxInPlaceClient::GetScaledObjArea(), sd::ViewShell::GetView(), GeoStat::m_nRotationAngle, GeoStat::m_nShearAngle, tools::Rectangle::Move(), mpViewShell, SdrObject::SetLogicRect(), SdrOle2Obj::setSuppressSetVisAreaSize(), Point::X(), and Point::Y().
|
overrideprivatevirtual |
If IP active, then we get this request to increase the visible section of the object.
Definition at line 49 of file sdclient.cxx.
References tools::Rectangle::BottomRight(), tools::Rectangle::Contains(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SfxInPlaceClient::GetObjArea(), tools::Rectangle::GetSize(), sd::ViewShell::GetView(), SdrDragView::GetWorkArea(), Size::Height(), SdrObject::IsMoveProtect(), SdrObject::IsResizeProtect(), mpViewShell, tools::Rectangle::SetPos(), tools::Rectangle::SetSize(), Point::setX(), Point::setY(), tools::Rectangle::TopLeft(), Size::Width(), Point::X(), and Point::Y().
|
overrideprivatevirtual |
Reimplemented from SfxInPlaceClient.
Definition at line 125 of file sdclient.cxx.
References SdrObject::ActionChanged(), SdrObject::BroadcastObjectChange(), sd::ViewShell::GetActiveWindow(), SfxInPlaceClient::GetAspect(), Application::GetDefaultDevice(), tools::Rectangle::GetHeight(), SdrTextObj::GetLogicRect(), SdrOle2Obj::GetOrigObjSize(), SfxInPlaceClient::GetScaleHeight(), SfxInPlaceClient::GetScaleWidth(), sd::ViewShell::GetView(), tools::Rectangle::GetWidth(), Size::Height(), SdrOle2Obj::IsChart(), SfxInPlaceClient::IsObjectInPlaceActive(), OutputDevice::LogicToPixel(), mpViewShell, pSdrOle2Obj, SdrObject::SetLogicRect(), tools::Rectangle::SetSize(), tools::Rectangle::TopLeft(), and Size::Width().
|
private |
Definition at line 31 of file Client.hxx.
Referenced by ObjectAreaChanged(), RequestNewObjectArea(), and ViewChanged().
|
private |
Definition at line 32 of file Client.hxx.
Referenced by ViewChanged().