LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sd::Client Class Reference

#include <Client.hxx>

Inheritance diagram for sd::Client:
[legend]
Collaboration diagram for sd::Client:
[legend]

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
 
SfxInPlaceClientoperator= (const SfxInPlaceClient &)=delete
 
SfxViewShellGetViewShell () const
 
vcl::WindowGetEditWin () 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::RectangleGetObjArea () const
 
tools::Rectangle GetScaledObjArea () const
 
void SetSizeScale (const Fraction &rScaleWidth, const Fraction &rScaleHeight)
 
void SetObjAreaAndScale (const tools::Rectangle &, const Fraction &, const Fraction &)
 
const FractionGetScaleWidth () const
 
const FractionGetScaleHeight () 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

ViewShellmpViewShell
 
SdrOle2ObjpSdrOle2Obj
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxInPlaceClient
static SfxInPlaceClientGetClient (SfxObjectShell const *pDoc, const css::uno::Reference< css::embed::XEmbeddedObject > &xObject)
 

Detailed Description

Definition at line 29 of file Client.hxx.

Constructor & Destructor Documentation

◆ Client()

sd::Client::Client ( SdrOle2Obj pObj,
ViewShell pSdViewShell,
vcl::Window pWindow 
)

◆ ~Client()

sd::Client::~Client ( )
overridevirtual

Definition at line 41 of file sdclient.cxx.

Member Function Documentation

◆ ObjectAreaChanged()

void sd::Client::ObjectAreaChanged ( )
overrideprivatevirtual

◆ RequestNewObjectArea()

void sd::Client::RequestNewObjectArea ( ::tools::Rectangle aObjRect)
overrideprivatevirtual

◆ ViewChanged()

void sd::Client::ViewChanged ( )
overrideprivatevirtual

Member Data Documentation

◆ mpViewShell

ViewShell* sd::Client::mpViewShell
private

Definition at line 31 of file Client.hxx.

Referenced by ObjectAreaChanged(), RequestNewObjectArea(), and ViewChanged().

◆ pSdrOle2Obj

SdrOle2Obj* sd::Client::pSdrOle2Obj
private

Definition at line 32 of file Client.hxx.

Referenced by ViewChanged().


The documentation for this class was generated from the following files: