LibreOffice Module vbahelper (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
VbaWindowBase Class Reference

#include <vbawindowbase.hxx>

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

Public Member Functions

 VbaWindowBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::frame::XController > &xController)
 
 VbaWindowBase (css::uno::Sequence< css::uno::Any > const &aArgs, css::uno::Reference< css::uno::XComponentContext > const &xContext)
 
virtual sal_Int32 SAL_CALL getHeight () override
 
virtual void SAL_CALL setHeight (sal_Int32 _height) override
 
virtual sal_Int32 SAL_CALL getLeft () override
 
virtual void SAL_CALL setLeft (sal_Int32 _left) override
 
virtual sal_Int32 SAL_CALL getTop () override
 
virtual void SAL_CALL setTop (sal_Int32 _top) override
 
virtual sal_Bool SAL_CALL getVisible () override
 
virtual void SAL_CALL setVisible (sal_Bool _visible) override
 
virtual sal_Int32 SAL_CALL getWidth () override
 
virtual void SAL_CALL setWidth (sal_Int32 _width) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Protected Member Functions

css::uno::Reference< css::frame::XController > getController () const
 
css::uno::Reference< css::awt::XWindow > getWindow () const
 
css::uno::Reference< css::awt::XWindow2 > getWindow2 () const
 

Protected Attributes

css::uno::Reference< css::frame::XModel > m_xModel
 
- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Private Member Functions

void construct (const css::uno::Reference< css::frame::XController > &xController)
 

Private Attributes

css::uno::WeakReference< css::frame::XController > m_xController
 
css::uno::WeakReference< css::awt::XWindow > m_xWindow
 

Detailed Description

Definition at line 51 of file vbawindowbase.hxx.

Constructor & Destructor Documentation

◆ VbaWindowBase() [1/2]

VbaWindowBase::VbaWindowBase ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::frame::XModel > &  xModel,
const css::uno::Reference< css::frame::XController > &  xController 
)
Exceptions
css::uno::RuntimeException

◆ VbaWindowBase() [2/2]

VbaWindowBase::VbaWindowBase ( css::uno::Sequence< css::uno::Any > const &  aArgs,
css::uno::Reference< css::uno::XComponentContext > const &  xContext 
)
Exceptions
css::uno::RuntimeException

Member Function Documentation

◆ construct()

void VbaWindowBase::construct ( const css::uno::Reference< css::frame::XController > &  xController)
private
Exceptions
css::uno::RuntimeException

Definition at line 162 of file vbawindowbase.cxx.

References m_xController, m_xWindow, xController, and xFrame.

◆ getController()

uno::Reference< frame::XController > VbaWindowBase::getController ( ) const
protected
Exceptions
css::uno::RuntimeException

Definition at line 147 of file vbawindowbase.cxx.

References m_xController.

◆ getHeight()

sal_Int32 SAL_CALL VbaWindowBase::getHeight ( )
overridevirtual

Definition at line 84 of file vbawindowbase.cxx.

References getWindow().

◆ getLeft()

sal_Int32 SAL_CALL VbaWindowBase::getLeft ( )
overridevirtual

Definition at line 96 of file vbawindowbase.cxx.

References getWindow().

◆ getServiceImplName()

OUString VbaWindowBase::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

uno::Sequence< OUString > VbaWindowBase::getServiceNames ( )
overridevirtual

◆ getTop()

sal_Int32 SAL_CALL VbaWindowBase::getTop ( )
overridevirtual

Definition at line 108 of file vbawindowbase.cxx.

References getWindow().

◆ getVisible()

sal_Bool SAL_CALL VbaWindowBase::getVisible ( )
overridevirtual

Definition at line 50 of file vbawindowbase.cxx.

References getWindow2().

◆ getWidth()

sal_Int32 SAL_CALL VbaWindowBase::getWidth ( )
overridevirtual

Definition at line 120 of file vbawindowbase.cxx.

References getWindow().

◆ getWindow()

uno::Reference< awt::XWindow > VbaWindowBase::getWindow ( ) const
protected
Exceptions
css::uno::RuntimeException

Definition at line 152 of file vbawindowbase.cxx.

References m_xWindow.

Referenced by getHeight(), getLeft(), getTop(), getWidth(), getWindow2(), setHeight(), setLeft(), setTop(), and setWidth().

◆ getWindow2()

uno::Reference< awt::XWindow2 > VbaWindowBase::getWindow2 ( ) const
protected
Exceptions
css::uno::RuntimeException

Definition at line 157 of file vbawindowbase.cxx.

References getWindow().

Referenced by getVisible(), and setVisible().

◆ setHeight()

void SAL_CALL VbaWindowBase::setHeight ( sal_Int32  _height)
overridevirtual

Definition at line 90 of file vbawindowbase.cxx.

References getWindow(), and setPosSize().

◆ setLeft()

void SAL_CALL VbaWindowBase::setLeft ( sal_Int32  _left)
overridevirtual

Definition at line 102 of file vbawindowbase.cxx.

References getWindow(), and setPosSize().

◆ setTop()

void SAL_CALL VbaWindowBase::setTop ( sal_Int32  _top)
overridevirtual

Definition at line 114 of file vbawindowbase.cxx.

References getWindow(), and setPosSize().

◆ setVisible()

void SAL_CALL VbaWindowBase::setVisible ( sal_Bool  _visible)
overridevirtual

Definition at line 56 of file vbawindowbase.cxx.

References getWindow2().

◆ setWidth()

void SAL_CALL VbaWindowBase::setWidth ( sal_Int32  _width)
overridevirtual

Definition at line 126 of file vbawindowbase.cxx.

References getWindow(), and setPosSize().

Member Data Documentation

◆ m_xController

css::uno::WeakReference< css::frame::XController > VbaWindowBase::m_xController
private

Definition at line 95 of file vbawindowbase.hxx.

Referenced by construct(), and getController().

◆ m_xModel

css::uno::Reference< css::frame::XModel > VbaWindowBase::m_xModel
protected

Definition at line 89 of file vbawindowbase.hxx.

◆ m_xWindow

css::uno::WeakReference< css::awt::XWindow > VbaWindowBase::m_xWindow
private

Definition at line 96 of file vbawindowbase.hxx.

Referenced by construct(), and getWindow().


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