LibreOffice Module framework (master) 1
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
framework::MenuBarFactory Class Reference

#include <menubarfactory.hxx>

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

Public Member Functions

 MenuBarFactory (css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual ~MenuBarFactory () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (OUString const &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::ui::XUIElement > SAL_CALL createUIElement (const OUString &ResourceURL, const css::uno::Sequence< css::beans::PropertyValue > &Args) override
 

Static Public Member Functions

static void CreateUIElement (const OUString &ResourceURL, const css::uno::Sequence< css::beans::PropertyValue > &Args, std::u16string_view ResourceType, const css::uno::Reference< css::ui::XUIElement > &_xMenuBar, const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
 

Protected Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 37 of file menubarfactory.hxx.

Constructor & Destructor Documentation

◆ MenuBarFactory()

framework::MenuBarFactory::MenuBarFactory ( css::uno::Reference< css::uno::XComponentContext >  xContext)

Definition at line 45 of file menubarfactory.cxx.

◆ ~MenuBarFactory()

framework::MenuBarFactory::~MenuBarFactory ( )
overridevirtual

Definition at line 50 of file menubarfactory.cxx.

Member Function Documentation

◆ createUIElement()

Reference< XUIElement > SAL_CALL framework::MenuBarFactory::createUIElement ( const OUString &  ResourceURL,
const css::uno::Sequence< css::beans::PropertyValue > &  Args 
)
overridevirtual

Definition at line 55 of file menubarfactory.cxx.

References CreateUIElement(), m_xContext, and u.

◆ CreateUIElement()

void framework::MenuBarFactory::CreateUIElement ( const OUString &  ResourceURL,
const css::uno::Sequence< css::beans::PropertyValue > &  Args,
std::u16string_view  ResourceType,
const css::uno::Reference< css::ui::XUIElement > &  _xMenuBar,
const css::uno::Reference< css::uno::XComponentContext > &  _rxContext 
)
static

Definition at line 64 of file menubarfactory.cxx.

References n, Name, xController, xFrame, and xModel.

Referenced by createUIElement().

◆ getImplementationName()

virtual OUString SAL_CALL framework::MenuBarFactory::getImplementationName ( )
inlineoverridevirtual

Definition at line 43 of file menubarfactory.hxx.

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL framework::MenuBarFactory::getSupportedServiceNames ( )
inlineoverridevirtual

Definition at line 53 of file menubarfactory.hxx.

References aSeq.

◆ supportsService()

virtual sal_Bool SAL_CALL framework::MenuBarFactory::supportsService ( OUString const &  ServiceName)
inlineoverridevirtual

Definition at line 48 of file menubarfactory.hxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > framework::MenuBarFactory::m_xContext
protected

Definition at line 69 of file menubarfactory.hxx.

Referenced by createUIElement().


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