37 explicit ToolBarFactory(
const css::uno::Reference< css::uno::XComponentContext >& xContext );
41 return "com.sun.star.comp.framework.ToolBarFactory";
51 return {
"com.sun.star.ui.ToolBarFactory"};
55 virtual css::uno::Reference< css::ui::XUIElement > SAL_CALL
createUIElement(
56 const OUString& ResourceURL,
const css::uno::Sequence< css::beans::PropertyValue >& Args )
override;
59ToolBarFactory::ToolBarFactory(
const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
66 const OUString& ResourceURL,
70 CreateUIElement(ResourceURL, Args, u
"private:resource/toolbar/", xToolBar,
m_xContext);
76extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
78 css::uno::XComponentContext *context,
79 css::uno::Sequence<css::uno::Any>
const &)
81 return cppu::acquire(
new ToolBarFactory(context));
css::uno::Reference< css::uno::XComponentContext > m_xContext
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)