LibreOffice Module framework (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
framework::ToolBarWrapper Class Referencefinal

#include <toolbarwrapper.hxx>

Inheritance diagram for framework::ToolBarWrapper:
[legend]
Collaboration diagram for framework::ToolBarWrapper:
[legend]

Public Member Functions

 ToolBarWrapper (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~ToolBarWrapper () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getRealInterface () override
 
virtual void SAL_CALL update () override
 
virtual void SAL_CALL updateSettings () override
 
virtual void SAL_CALL functionExecute (const OUString &aUIElementName, const OUString &aCommand) override
 
virtual void SAL_CALL notifyContextChangeEvent (const css::ui::ContextChangeEventObject &aEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &aEvent) override
 

Private Member Functions

virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &aValue) override
 
virtual void impl_fillNewData () override
 

Private Attributes

css::uno::Reference< css::lang::XComponent > m_xToolBarManager
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::ui::XUIElement > m_xSubElement
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xTopLevel
 
std::unique_ptr< weld::Toolbarm_xWeldedToolbar
 

Detailed Description

Definition at line 41 of file toolbarwrapper.hxx.

Constructor & Destructor Documentation

◆ ToolBarWrapper()

framework::ToolBarWrapper::ToolBarWrapper ( const css::uno::Reference< css::uno::XComponentContext > &  xContext)

Definition at line 45 of file toolbarwrapper.cxx.

◆ ~ToolBarWrapper()

framework::ToolBarWrapper::~ToolBarWrapper ( )
overridevirtual

Definition at line 51 of file toolbarwrapper.cxx.

References m_xBuilder, m_xTopLevel, and m_xWeldedToolbar.

Member Function Documentation

◆ dispose()

void SAL_CALL framework::ToolBarWrapper::dispose ( void  )
overridevirtual

Definition at line 59 of file toolbarwrapper.cxx.

References aEvent, m_bDisposed, m_xContext, m_xSubElement, and m_xToolBarManager.

◆ disposing()

void SAL_CALL framework::ToolBarWrapper::disposing ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 203 of file toolbarwrapper.cxx.

References aEvent, and m_xSubElement.

◆ functionExecute()

void SAL_CALL framework::ToolBarWrapper::functionExecute ( const OUString &  aUIElementName,
const OUString &  aCommand 
)
overridevirtual

◆ getRealInterface()

Reference< XInterface > SAL_CALL framework::ToolBarWrapper::getRealInterface ( )
overridevirtual

◆ impl_fillNewData()

void framework::ToolBarWrapper::impl_fillNewData ( )
overrideprivatevirtual

◆ initialize()

void SAL_CALL framework::ToolBarWrapper::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

◆ notifyContextChangeEvent()

void SAL_CALL framework::ToolBarWrapper::notifyContextChangeEvent ( const css::ui::ContextChangeEventObject &  aEvent)
overridevirtual

Definition at line 265 of file toolbarwrapper.cxx.

References aEvent, impl_fillNewData(), m_bDisposed, and m_xSubElement.

◆ setFastPropertyValue_NoBroadcast()

void SAL_CALL framework::ToolBarWrapper::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  aValue 
)
overrideprivatevirtual

◆ update()

void SAL_CALL framework::ToolBarWrapper::update ( )
overridevirtual

◆ updateSettings()

void SAL_CALL framework::ToolBarWrapper::updateSettings ( )
overridevirtual

Definition at line 223 of file toolbarwrapper.cxx.

References impl_fillNewData(), and m_bDisposed.

Member Data Documentation

◆ m_xBuilder

std::unique_ptr<weld::Builder> framework::ToolBarWrapper::m_xBuilder
private

Definition at line 82 of file toolbarwrapper.hxx.

Referenced by initialize(), and ~ToolBarWrapper().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > framework::ToolBarWrapper::m_xContext
private

Definition at line 79 of file toolbarwrapper.hxx.

Referenced by dispose(), and initialize().

◆ m_xSubElement

css::uno::Reference< css::ui::XUIElement > framework::ToolBarWrapper::m_xSubElement
private

Definition at line 80 of file toolbarwrapper.hxx.

Referenced by dispose(), disposing(), impl_fillNewData(), and notifyContextChangeEvent().

◆ m_xToolBarManager

css::uno::Reference< css::lang::XComponent > framework::ToolBarWrapper::m_xToolBarManager
private

◆ m_xTopLevel

std::unique_ptr<weld::Container> framework::ToolBarWrapper::m_xTopLevel
private

Definition at line 83 of file toolbarwrapper.hxx.

Referenced by initialize(), and ~ToolBarWrapper().

◆ m_xWeldedToolbar

std::unique_ptr<weld::Toolbar> framework::ToolBarWrapper::m_xWeldedToolbar
private

Definition at line 84 of file toolbarwrapper.hxx.

Referenced by initialize(), and ~ToolBarWrapper().


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