LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScClient Class Reference

#include <client.hxx>

Inheritance diagram for ScClient:
[legend]
Collaboration diagram for ScClient:
[legend]

Public Member Functions

 ScClient (ScTabViewShell *pViewShell, vcl::Window *pDraw, SdrModel *pSdrModel, const SdrOle2Obj *pObj)
 
virtual ~ScClient () override
 
SdrOle2ObjGetDrawObj ()
 
- 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 (long nVerb)
 
void VisAreaChanged ()
 
void ResetObject ()
 
bool IsUIActive () const
 
virtual void FormatChanged ()
 

Private Member Functions

virtual void ObjectAreaChanged () override
 
virtual void RequestNewObjectArea (tools::Rectangle &) override
 
virtual void ViewChanged () override
 

Private Attributes

SdrModelpModel
 

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

ScClient::ScClient ( ScTabViewShell pViewShell,
vcl::Window pDraw,
SdrModel pSdrModel,
const SdrOle2Obj pObj 
)

Definition at line 39 of file client.cxx.

References SdrOle2Obj::GetObjRef(), and SfxInPlaceClient::SetObject().

ScClient::~ScClient ( )
overridevirtual

Definition at line 46 of file client.cxx.

Member Function Documentation

SdrOle2Obj * ScClient::GetDrawObj ( )
void ScClient::ObjectAreaChanged ( )
overrideprivatevirtual
void ScClient::RequestNewObjectArea ( tools::Rectangle aLogicRect)
overrideprivatevirtual
void ScClient::ViewChanged ( )
overrideprivatevirtual

Member Data Documentation

SdrModel* ScClient::pModel
private

Definition at line 32 of file client.hxx.

Referenced by GetDrawObj(), and RequestNewObjectArea().


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