20#ifndef UCBHELPER_SOURCE_PROVIDER_CONTENTINFO_HXX
21#define UCBHELPER_SOURCE_PROVIDER_CONTENTINFO_HXX
24#include <com/sun/star/ucb/XCommandInfo.hpp>
25#include <com/sun/star/beans/XPropertySetInfo.hpp>
37class ContentImplHelper;
46 public cppu::WeakImplHelper<css::beans::XPropertySetInfo>
48 css::uno::Reference< css::ucb::XCommandEnvironment >
50 std::optional<css::uno::Sequence< css::beans::Property >>
57 css::beans::Property& rProp );
66 virtual css::uno::Sequence< css::beans::Property > SAL_CALL
getProperties()
override;
67 virtual css::beans::Property SAL_CALL
getPropertyByName(
const OUString& aName )
override;
83 public cppu::WeakImplHelper<css::ucb::XCommandInfo>
85 css::uno::Reference< css::ucb::XCommandEnvironment >
87 std::optional<css::uno::Sequence< css::ucb::CommandInfo >>
94 css::ucb::CommandInfo& rCommand );
96 css::ucb::CommandInfo& rCommand );
105 virtual css::uno::Sequence< css::ucb::CommandInfo > SAL_CALL
getCommands()
override;
This class provides a command info ( the complete implementation of the interface XCommandInfo ) for ...
std::optional< css::uno::Sequence< css::ucb::CommandInfo > > m_xCommands
virtual css::ucb::CommandInfo SAL_CALL getCommandInfoByName(const OUString &Name) override
virtual ~CommandProcessorInfo() override
virtual sal_Bool SAL_CALL hasCommandByHandle(sal_Int32 Handle) override
CommandProcessorInfo(css::uno::Reference< css::ucb::XCommandEnvironment > xEnv, ContentImplHelper *pContent)
virtual css::ucb::CommandInfo SAL_CALL getCommandInfoByHandle(sal_Int32 Handle) override
virtual css::uno::Sequence< css::ucb::CommandInfo > SAL_CALL getCommands() override
bool queryCommand(std::u16string_view rName, css::ucb::CommandInfo &rCommand)
virtual sal_Bool SAL_CALL hasCommandByName(const OUString &Name) override
css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv
ContentImplHelper * m_pContent
const css::uno::Sequence< css::ucb::CommandInfo > & getCommandsImpl()
This is an abstract base class for implementations of the service com.sun.star.ucb....
This class provides a propertyset info ( the complete implementation of the interface XPropertySetInf...
ContentImplHelper * m_pContent
css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv
bool queryProperty(std::u16string_view rName, css::beans::Property &rProp)
virtual css::beans::Property SAL_CALL getPropertyByName(const OUString &aName) override
const css::uno::Sequence< css::beans::Property > & getPropertiesImpl()
virtual sal_Bool SAL_CALL hasPropertyByName(const OUString &Name) override
virtual ~PropertySetInfo() override
PropertySetInfo(css::uno::Reference< css::ucb::XCommandEnvironment > xEnv, ContentImplHelper *pContent)
std::optional< css::uno::Sequence< css::beans::Property > > m_xProps
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override