LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SfxInPlaceClient Class Reference

#include <ipclient.hxx>

Collaboration diagram for SfxInPlaceClient:
[legend]

Public Member Functions

 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)
 To indicate that negated document X coordinates are used. More...
 
bool IsNegativeX () const
 
virtual void FormatChanged ()
 
virtual bool IsProtected () const
 

Static Public Member Functions

static SfxInPlaceClientGetClient (SfxObjectShell const *pDoc, const css::uno::Reference< css::embed::XEmbeddedObject > &xObject)
 

Private Member Functions

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

Private Attributes

rtl::Reference< SfxInPlaceClient_Implm_xImp
 
SfxViewShellm_pViewSh
 
VclPtr< vcl::Windowm_pEditWin
 

Friends

class SfxInPlaceClient_Impl
 

Detailed Description

Definition at line 42 of file ipclient.hxx.

Constructor & Destructor Documentation

◆ SfxInPlaceClient() [1/2]

SfxInPlaceClient::SfxInPlaceClient ( SfxViewShell pViewShell,
vcl::Window pDraw,
sal_Int64  nAspect 
)

◆ ~SfxInPlaceClient()

SfxInPlaceClient::~SfxInPlaceClient ( )
virtual

Definition at line 651 of file ipclient.cxx.

References SfxViewShell::IPClientGone_Impl(), m_pViewSh, m_xImp, and SetObject().

◆ SfxInPlaceClient() [2/2]

SfxInPlaceClient::SfxInPlaceClient ( const SfxInPlaceClient )
delete

Member Function Documentation

◆ DeactivateObject()

void SfxInPlaceClient::DeactivateObject ( )

◆ DoVerb()

ErrCode SfxInPlaceClient::DoVerb ( sal_Int32  nVerb)

◆ FormatChanged()

void SfxInPlaceClient::FormatChanged ( )
virtual

Definition at line 1055 of file ipclient.cxx.

Referenced by SfxInPlaceClient_Impl::notifyEvent().

◆ GetAspect()

sal_Int64 SfxInPlaceClient::GetAspect ( ) const

Definition at line 892 of file ipclient.cxx.

References m_xImp.

◆ GetClient()

SfxInPlaceClient * SfxInPlaceClient::GetClient ( SfxObjectShell const *  pDoc,
const css::uno::Reference< css::embed::XEmbeddedObject > &  xObject 
)
static

◆ GetEditWin()

vcl::Window * SfxInPlaceClient::GetEditWin ( ) const
inline

◆ GetObjArea()

const tools::Rectangle & SfxInPlaceClient::GetObjArea ( ) const

◆ GetObject()

const uno::Reference< embed::XEmbeddedObject > & SfxInPlaceClient::GetObject ( ) const

◆ GetObjectMiscStatus()

sal_Int64 SfxInPlaceClient::GetObjectMiscStatus ( ) const

Definition at line 692 of file ipclient.cxx.

References GetObject(), and m_xImp.

Referenced by SfxViewShell::CheckIPClient_Impl().

◆ GetScaledObjArea()

tools::Rectangle SfxInPlaceClient::GetScaledObjArea ( ) const

◆ GetScaleHeight()

const Fraction & SfxInPlaceClient::GetScaleHeight ( ) const

Definition at line 823 of file ipclient.cxx.

References m_xImp.

◆ GetScaleWidth()

const Fraction & SfxInPlaceClient::GetScaleWidth ( ) const

Definition at line 817 of file ipclient.cxx.

References m_xImp.

◆ GetViewShell()

SfxViewShell * SfxInPlaceClient::GetViewShell ( ) const
inline

◆ Invalidate()

void SfxInPlaceClient::Invalidate ( )

◆ IsNegativeX()

bool SfxInPlaceClient::IsNegativeX ( ) const

Definition at line 1143 of file ipclient.cxx.

References m_xImp.

Referenced by Invalidate().

◆ IsObjectInPlaceActive()

bool SfxInPlaceClient::IsObjectInPlaceActive ( ) const

Definition at line 856 of file ipclient.cxx.

References m_xImp.

Referenced by SfxViewShell::CheckIPClient_Impl().

◆ IsObjectUIActive()

bool SfxInPlaceClient::IsObjectUIActive ( ) const

Definition at line 844 of file ipclient.cxx.

References m_xImp.

Referenced by SfxViewFrame::MakeActive_Impl(), and SfxDispatcher::Update_Impl().

◆ IsProtected()

bool SfxInPlaceClient::IsProtected ( ) const
virtual

Definition at line 1060 of file ipclient.cxx.

Referenced by SfxInPlaceClient_Impl::saveObject().

◆ IsUIActive()

bool SfxInPlaceClient::IsUIActive ( ) const

Definition at line 1133 of file ipclient.cxx.

References m_xImp.

◆ ObjectAreaChanged()

void SfxInPlaceClient::ObjectAreaChanged ( )
privatevirtual

Definition at line 1040 of file ipclient.cxx.

Referenced by SfxInPlaceClient_Impl::changedPlacement().

◆ operator=()

SfxInPlaceClient & SfxInPlaceClient::operator= ( const SfxInPlaceClient )
delete

◆ RequestNewObjectArea()

void SfxInPlaceClient::RequestNewObjectArea ( tools::Rectangle )
privatevirtual

Definition at line 1045 of file ipclient.cxx.

Referenced by SfxInPlaceClient_Impl::changedPlacement().

◆ ResetObject()

void SfxInPlaceClient::ResetObject ( )

Definition at line 1109 of file ipclient.cxx.

References GetObject(), and m_xImp.

◆ SetNegativeX()

void SfxInPlaceClient::SetNegativeX ( bool  bSet)

To indicate that negated document X coordinates are used.

Definition at line 1138 of file ipclient.cxx.

References m_xImp.

◆ SetObjArea()

bool SfxInPlaceClient::SetObjArea ( const tools::Rectangle rArea)

Definition at line 757 of file ipclient.cxx.

References Invalidate(), and m_xImp.

◆ SetObjAreaAndScale()

void SfxInPlaceClient::SetObjAreaAndScale ( const tools::Rectangle rArea,
const Fraction rScaleWidth,
const Fraction rScaleHeight 
)

Definition at line 802 of file ipclient.cxx.

References Invalidate(), and m_xImp.

◆ SetObject()

void SfxInPlaceClient::SetObject ( const css::uno::Reference< css::embed::XEmbeddedObject > &  rObject)

◆ SetObjectState()

void SfxInPlaceClient::SetObjectState ( sal_Int32  nState)

Definition at line 671 of file ipclient.cxx.

References GetObject(), m_xImp, and nState.

Referenced by SetObject().

◆ SetSizeScale()

void SfxInPlaceClient::SetSizeScale ( const Fraction rScaleWidth,
const Fraction rScaleHeight 
)

Definition at line 786 of file ipclient.cxx.

References m_xImp.

◆ ViewChanged()

void SfxInPlaceClient::ViewChanged ( )
privatevirtual

Definition at line 1050 of file ipclient.cxx.

Referenced by Invalidate(), and SfxInPlaceClient_Impl::notifyEvent().

◆ VisAreaChanged()

void SfxInPlaceClient::VisAreaChanged ( )

Definition at line 1033 of file ipclient.cxx.

References m_xImp.

Friends And Related Function Documentation

◆ SfxInPlaceClient_Impl

friend class SfxInPlaceClient_Impl
friend

Definition at line 44 of file ipclient.hxx.

Member Data Documentation

◆ m_pEditWin

VclPtr<vcl::Window> SfxInPlaceClient::m_pEditWin
private

Definition at line 48 of file ipclient.hxx.

Referenced by Invalidate().

◆ m_pViewSh

SfxViewShell* SfxInPlaceClient::m_pViewSh
private

Definition at line 47 of file ipclient.hxx.

Referenced by DeactivateObject(), DoVerb(), SetObject(), and ~SfxInPlaceClient().

◆ m_xImp

rtl::Reference<SfxInPlaceClient_Impl> SfxInPlaceClient::m_xImp
private

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