LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
UnoWrapperBase Class Referenceabstract

#include <unowrap.hxx>

Public Member Functions

virtual void Destroy ()=0
virtual css::uno::Reference< css::awt::XToolkit > GetVCLToolkit ()=0
virtual css::uno::Reference< css::awt::XGraphics > CreateGraphics (OutputDevice *pOutDev)=0
virtual void ReleaseAllGraphics (OutputDevice *pOutDev)=0
virtual css::uno::Reference< css::awt::XWindowPeer > GetWindowInterface (vcl::Window *pWindow)=0
virtual void SetWindowInterface (vcl::Window *pWindow, css::uno::Reference< css::awt::XWindowPeer > xIFace)=0
virtual VclPtr< vcl::WindowGetWindow (const css::uno::Reference< css::awt::XWindow > &rxWindow)=0
virtual css::uno::Reference< css::awt::XPopupMenu > CreateMenuInterface (PopupMenu *pPopupMenu)=0
virtual void WindowDestroyed (vcl::Window *pWindow)=0
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible (Menu *pMenu, bool bIsMenuBar)=0

Static Public Member Functions

static UnoWrapperBaseGetUnoWrapper (bool bCreateIfNotExists=true)
 Get the application's UNO wrapper object. More...
static void SetUnoWrapper (UnoWrapperBase *pWrapper)
 Sets the application's UNO Wrapper object. More...

Protected Member Functions

 ~UnoWrapperBase ()

Detailed Description

Definition at line 46 of file unowrap.hxx.

Constructor & Destructor Documentation

UnoWrapperBase::~UnoWrapperBase ( )

Definition at line 90 of file unowrap.hxx.

Member Function Documentation

virtual css::uno::Reference< css::accessibility::XAccessible > UnoWrapperBase::CreateAccessible ( Menu pMenu,
bool  bIsMenuBar 
pure virtual

Referenced by Menu::GetAccessible().

virtual css::uno::Reference< css::awt::XGraphics > UnoWrapperBase::CreateGraphics ( OutputDevice pOutDev)
pure virtual
virtual css::uno::Reference<css::awt::XPopupMenu> UnoWrapperBase::CreateMenuInterface ( PopupMenu pPopupMenu)
pure virtual
virtual void UnoWrapperBase::Destroy ( )
pure virtual
UnoWrapperBase * UnoWrapperBase::GetUnoWrapper ( bool  bCreateIfNotExists = true)

Get the application's UNO wrapper object.

Note that this static function will only ever try to create UNO wrapper object once, and if it fails then it will not ever try again, even if the function is called multiple times.

bCreateIfNotExistsCreate the UNO wrapper object if it doesn't exist when true.
UNO wrapper object.

Definition at line 1484 of file svapp.cxx.

References CreateUnoWrapper(), ImplGetSVData(), ImplSVData::mpUnoWrapper, SAL_WARN_IF, and thisModule().

Referenced by PopupMenu::CreateMenuInterface(), OutputDevice::CreateUnoGraphics(), OutputDevice::dispose(), vcl::Window::dispose(), Menu::GetAccessible(), vcl::Window::GetComponentInterface(), SalInstance::GetFrameWeld(), Application::GetVCLToolkit(), and vcl::Window::SetComponentInterface().

virtual css::uno::Reference< css::awt::XToolkit > UnoWrapperBase::GetVCLToolkit ( )
pure virtual
virtual VclPtr<vcl::Window> UnoWrapperBase::GetWindow ( const css::uno::Reference< css::awt::XWindow > &  rxWindow)
pure virtual
virtual css::uno::Reference<css::awt::XWindowPeer> UnoWrapperBase::GetWindowInterface ( vcl::Window pWindow)
pure virtual
virtual void UnoWrapperBase::ReleaseAllGraphics ( OutputDevice pOutDev)
pure virtual

Referenced by OutputDevice::dispose().

void UnoWrapperBase::SetUnoWrapper ( UnoWrapperBase pWrapper)

Sets the application's UNO Wrapper object.

pWrapperPointer to UNO wrapper object.

Definition at line 1511 of file svapp.cxx.

References ImplGetSVData(), ImplSVData::mpUnoWrapper, and SAL_WARN_IF.

virtual void UnoWrapperBase::SetWindowInterface ( vcl::Window pWindow,
css::uno::Reference< css::awt::XWindowPeer >  xIFace 
pure virtual
virtual void UnoWrapperBase::WindowDestroyed ( vcl::Window pWindow)
pure virtual

Referenced by vcl::Window::dispose().

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