42 const OUString* pMenuIdentifier)
43 : m_bContainerCreated(false)
44 , m_xMenu(
std::move(xMenu))
45 , m_pMenuIdentifier(pMenuIdentifier)
56 Any a = ::cppu::queryInterface(
58 static_cast< XMultiServiceFactory*
>(
this),
59 static_cast< XServiceInfo*
>(
this),
60 static_cast< XTypeProvider*
>(
this),
61 static_cast< XNamed*
>(
this));
91 throw css::uno::RuntimeException(
"Unknown service specifier!",
static_cast<OWeakObject *
>(
this) );
147 return m_xMenu->getItemCount();
176 return m_xMenu->getItemCount() > 0;
200 static ::cppu::OTypeCollection ourTypeCollection(
208 return ourTypeCollection.getTypes();
213 return css::uno::Sequence<sal_Int8>();
constexpr OUStringLiteral SERVICENAME_ACTIONTRIGGERCONTAINER
constexpr OUStringLiteral SERVICENAME_ACTIONTRIGGER
constexpr OUStringLiteral SERVICENAME_ACTIONTRIGGERSEPARATOR
css::uno::Type const & get()
static void FillActionTriggerContainerFromMenu(css::uno::Reference< css::container::XIndexContainer > const &rActionTriggerContainer, const css::uno::Reference< css::awt::XPopupMenu > &rMenu)
virtual void SAL_CALL acquire() noexcept override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual void SAL_CALL insertByIndex(sal_Int32 Index, const css::uno::Any &Element) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
virtual void SAL_CALL release() noexcept override
virtual sal_Int32 SAL_CALL getCount() override
virtual void SAL_CALL removeByIndex(sal_Int32 Index) override
virtual void SAL_CALL replaceByIndex(sal_Int32 Index, const css::uno::Any &Element) override
virtual css::uno::Type SAL_CALL getElementType() override
virtual void SAL_CALL release() noexcept override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getName() override
virtual sal_Bool SAL_CALL hasElements() override
virtual sal_Int32 SAL_CALL getCount() override
virtual void SAL_CALL insertByIndex(sal_Int32 Index, const css::uno::Any &Element) override
const OUString * m_pMenuIdentifier
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
css::uno::Reference< css::awt::XPopupMenu > m_xMenu
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual ~RootActionTriggerContainer() override
virtual void SAL_CALL setName(const OUString &aName) override
RootActionTriggerContainer(css::uno::Reference< css::awt::XPopupMenu > xMenu, const OUString *pMenuIdentifier)
virtual void SAL_CALL removeByIndex(sal_Int32 Index) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString &aServiceSpecifier) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override
virtual void SAL_CALL acquire() noexcept override
virtual void SAL_CALL replaceByIndex(sal_Int32 Index, const css::uno::Any &Element) override
Sequence< sal_Int8 > aSeq
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
constexpr OUStringLiteral IMPLEMENTATIONNAME_ROOTACTIONTRIGGERCONTAINER