LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdrLightEmbeddedClient_Impl Class Reference
Inheritance diagram for SdrLightEmbeddedClient_Impl:
[legend]
Collaboration diagram for SdrLightEmbeddedClient_Impl:
[legend]

Public Member Functions

 SdrLightEmbeddedClient_Impl (SdrOle2Obj *pObj)
 
virtual ~SdrLightEmbeddedClient_Impl () override
 
void SetSizeScale (const Fraction &aScaleWidth, const Fraction &aScaleHeight)
 
const FractionGetScaleWidth () const
 
const FractionGetScaleHeight () const
 
void setWindow (const uno::Reference< awt::XWindow > &_xWindow)
 
void disconnect ()
 

Private Member Functions

tools::Rectangle impl_getScaledRect_nothrow () const
 
virtual void SAL_CALL changingState (const css::lang::EventObject &aEvent,::sal_Int32 nOldState,::sal_Int32 nNewState) override
 
virtual void SAL_CALL stateChanged (const css::lang::EventObject &aEvent,::sal_Int32 nOldState,::sal_Int32 nNewState) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL notifyEvent (const document::EventObject &aEvent) override
 
virtual void SAL_CALL saveObject () override
 
virtual void SAL_CALL visibilityChanged (sal_Bool bVisible) override
 
virtual uno::Reference< util::XCloseable > SAL_CALL getComponent () override
 
virtual sal_Bool SAL_CALL canInplaceActivate () override
 
virtual void SAL_CALL activatingInplace () override
 
virtual void SAL_CALL activatingUI () override
 
virtual void SAL_CALL deactivatedInplace () override
 
virtual void SAL_CALL deactivatedUI () override
 
virtual uno::Reference< css::frame::XLayoutManager > SAL_CALL getLayoutManager () override
 
virtual uno::Reference< frame::XDispatchProvider > SAL_CALL getInplaceDispatchProvider () override
 
virtual awt::Rectangle SAL_CALL getPlacement () override
 
virtual awt::Rectangle SAL_CALL getClipRectangle () override
 
virtual void SAL_CALL translateAccelerators (const uno::Sequence< awt::KeyEvent > &aKeys) override
 
virtual void SAL_CALL scrollObject (const awt::Size &aOffset) override
 
virtual void SAL_CALL changedPlacement (const awt::Rectangle &aPosRect) override
 
virtual uno::Reference< awt::XWindow > SAL_CALL getWindow () override
 

Private Attributes

uno::Reference< awt::XWindow > m_xWindow
 
SdrOle2ObjmpObj
 
Fraction m_aScaleWidth
 
Fraction m_aScaleHeight
 

Detailed Description

Definition at line 111 of file svdoole2.cxx.

Constructor & Destructor Documentation

SdrLightEmbeddedClient_Impl::SdrLightEmbeddedClient_Impl ( SdrOle2Obj pObj)
explicit

Definition at line 178 of file svdoole2.cxx.

SdrLightEmbeddedClient_Impl::~SdrLightEmbeddedClient_Impl ( )
overridevirtual

Definition at line 182 of file svdoole2.cxx.

References mpObj.

Member Function Documentation

void SAL_CALL SdrLightEmbeddedClient_Impl::activatingInplace ( )
overrideprivatevirtual

Definition at line 361 of file svdoole2.cxx.

void SAL_CALL SdrLightEmbeddedClient_Impl::activatingUI ( )
overrideprivatevirtual
sal_Bool SAL_CALL SdrLightEmbeddedClient_Impl::canInplaceActivate ( )
overrideprivatevirtual

Definition at line 346 of file svdoole2.cxx.

References SdrOle2Obj::GetAspect(), SdrOle2Obj::GetObjRef(), and mpObj.

void SAL_CALL SdrLightEmbeddedClient_Impl::changedPlacement ( const awt::Rectangle &  aPosRect)
overrideprivatevirtual
void SAL_CALL SdrLightEmbeddedClient_Impl::changingState ( const css::lang::EventObject &  aEvent,
::sal_Int32  nOldState,
::sal_Int32  nNewState 
)
overrideprivatevirtual

Definition at line 195 of file svdoole2.cxx.

void SAL_CALL SdrLightEmbeddedClient_Impl::deactivatedInplace ( )
overrideprivatevirtual

Definition at line 407 of file svdoole2.cxx.

void SAL_CALL SdrLightEmbeddedClient_Impl::deactivatedUI ( )
overrideprivatevirtual

Definition at line 411 of file svdoole2.cxx.

References getLayoutManager().

void SdrLightEmbeddedClient_Impl::disconnect ( )

Definition at line 214 of file svdoole2.cxx.

References SdrGlobalData::GetOLEObjCache(), GetSdrGlobalData(), mpObj, and OLEObjCache::RemoveObj().

Referenced by disposing().

void SAL_CALL SdrLightEmbeddedClient_Impl::disposing ( const css::lang::EventObject &  aEvent)
overrideprivatevirtual

Definition at line 223 of file svdoole2.cxx.

References disconnect().

awt::Rectangle SAL_CALL SdrLightEmbeddedClient_Impl::getClipRectangle ( )
overrideprivatevirtual

Definition at line 464 of file svdoole2.cxx.

References getPlacement().

uno::Reference< util::XCloseable > SAL_CALL SdrLightEmbeddedClient_Impl::getComponent ( )
overrideprivatevirtual

Definition at line 334 of file svdoole2.cxx.

References SdrOle2Obj::GetParentXModel(), and mpObj.

uno::Reference< frame::XDispatchProvider > SAL_CALL SdrLightEmbeddedClient_Impl::getInplaceDispatchProvider ( )
overrideprivatevirtual

Definition at line 442 of file svdoole2.cxx.

References lcl_getFrame_throw(), and mpObj.

uno::Reference< css::frame::XLayoutManager > SAL_CALL SdrLightEmbeddedClient_Impl::getLayoutManager ( )
overrideprivatevirtual

Definition at line 423 of file svdoole2.cxx.

References cppu::getCaughtException(), lcl_getFrame_throw(), mpObj, and xFrame.

Referenced by deactivatedUI().

awt::Rectangle SAL_CALL SdrLightEmbeddedClient_Impl::getPlacement ( )
overrideprivatevirtual
const Fraction& SdrLightEmbeddedClient_Impl::GetScaleHeight ( ) const
inline

Definition at line 137 of file svdoole2.cxx.

References m_aScaleHeight.

const Fraction& SdrLightEmbeddedClient_Impl::GetScaleWidth ( ) const
inline

Definition at line 136 of file svdoole2.cxx.

References m_aScaleWidth.

uno::Reference< awt::XWindow > SAL_CALL SdrLightEmbeddedClient_Impl::getWindow ( )
overrideprivatevirtual

Definition at line 531 of file svdoole2.cxx.

References lcl_getFrame_throw(), m_xWindow, mpObj, and xFrame.

tools::Rectangle SdrLightEmbeddedClient_Impl::impl_getScaledRect_nothrow ( ) const
private
void SAL_CALL SdrLightEmbeddedClient_Impl::notifyEvent ( const document::EventObject &  aEvent)
overrideprivatevirtual
void SAL_CALL SdrLightEmbeddedClient_Impl::saveObject ( )
overrideprivatevirtual

Definition at line 293 of file svdoole2.cxx.

References SdrOle2Obj::GetObjRef(), SdrOle2Obj::GetParentXModel(), and mpObj.

void SAL_CALL SdrLightEmbeddedClient_Impl::scrollObject ( const awt::Size &  aOffset)
overrideprivatevirtual

Definition at line 473 of file svdoole2.cxx.

void SdrLightEmbeddedClient_Impl::SetSizeScale ( const Fraction aScaleWidth,
const Fraction aScaleHeight 
)
inline

Definition at line 130 of file svdoole2.cxx.

void SdrLightEmbeddedClient_Impl::setWindow ( const uno::Reference< awt::XWindow > &  _xWindow)

Definition at line 544 of file svdoole2.cxx.

References m_xWindow.

void SAL_CALL SdrLightEmbeddedClient_Impl::stateChanged ( const css::lang::EventObject &  aEvent,
::sal_Int32  nOldState,
::sal_Int32  nNewState 
)
overrideprivatevirtual
void SAL_CALL SdrLightEmbeddedClient_Impl::translateAccelerators ( const uno::Sequence< awt::KeyEvent > &  aKeys)
overrideprivatevirtual

Definition at line 469 of file svdoole2.cxx.

void SAL_CALL SdrLightEmbeddedClient_Impl::visibilityChanged ( sal_Bool  bVisible)
overrideprivatevirtual

Member Data Documentation

Fraction SdrLightEmbeddedClient_Impl::m_aScaleHeight
private
Fraction SdrLightEmbeddedClient_Impl::m_aScaleWidth
private
uno::Reference< awt::XWindow > SdrLightEmbeddedClient_Impl::m_xWindow
private

Definition at line 119 of file svdoole2.cxx.

Referenced by getWindow(), and setWindow().

SdrOle2Obj* SdrLightEmbeddedClient_Impl::mpObj
private

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