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

#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 (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
 
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 28 of file client.hxx.

Constructor & Destructor Documentation

◆ ScClient()

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

Definition at line 38 of file client.cxx.

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

◆ ~ScClient()

ScClient::~ScClient ( )
overridevirtual

Definition at line 45 of file client.cxx.

Member Function Documentation

◆ GetDrawObj()

SdrOle2Obj * ScClient::GetDrawObj ( )

◆ ObjectAreaChanged()

void ScClient::ObjectAreaChanged ( )
overrideprivatevirtual

◆ RequestNewObjectArea()

void ScClient::RequestNewObjectArea ( tools::Rectangle aLogicRect)
overrideprivatevirtual

◆ ViewChanged()

void ScClient::ViewChanged ( )
overrideprivatevirtual

Member Data Documentation

◆ pModel

SdrModel* ScClient::pModel
private

Definition at line 31 of file client.hxx.

Referenced by GetDrawObj(), and RequestNewObjectArea().


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