23#include <com/sun/star/beans/XPropertySet.hpp>
27using ::com::sun::star::uno::Sequence;
28using ::com::sun::star::uno::XInterface;
29using ::com::sun::star::uno::Any;
30using ::com::sun::star::graphic::XGraphic;
59 m_pImpl->addEventListener(xListener);
65 m_pImpl->removeEventListener(xListener);
92 return m_pImpl->getAllImageNames( nImageType );
97 return m_pImpl->hasImage(nImageType,aCommandURL);
101 ::sal_Int16 nImageType,
102 const Sequence< OUString >& aCommandURLSequence )
104 return m_pImpl->getImages(nImageType,aCommandURLSequence);
108 ::sal_Int16 nImageType,
109 const Sequence< OUString >& aCommandURLSequence,
110 const Sequence< uno::Reference< XGraphic > >& aGraphicsSequence )
112 m_pImpl->replaceImages(nImageType,aCommandURLSequence,aGraphicsSequence);
117 m_pImpl->removeImages(nImageType,aCommandURLSequence);
120void SAL_CALL
ImageManager::insertImages( ::sal_Int16 nImageType,
const Sequence< OUString >& aCommandURLSequence,
const Sequence< uno::Reference< XGraphic > >& aGraphicSequence )
122 m_pImpl->insertImages(nImageType,aCommandURLSequence,aGraphicSequence);
128 m_pImpl->addConfigurationListener(xListener);
134 m_pImpl->removeConfigurationListener(xListener);
165extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
167 css::uno::XComponentContext *context,
168 css::uno::Sequence<css::uno::Any>
const &)
virtual css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > > SAL_CALL getImages(::sal_Int16 nImageType, const css::uno::Sequence< OUString > &aCommandURLSequence) override
virtual void SAL_CALL store() override
virtual void SAL_CALL insertImages(::sal_Int16 nImageType, const css::uno::Sequence< OUString > &aCommandURLSequence, const css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > > &aGraphicSequence) override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL removeImages(::sal_Int16 nImageType, const css::uno::Sequence< OUString > &aResourceURLSequence) override
virtual void SAL_CALL reset() override
virtual void SAL_CALL removeConfigurationListener(const css::uno::Reference< css::ui::XUIConfigurationListener > &Listener) override
virtual void SAL_CALL storeToStorage(const css::uno::Reference< css::embed::XStorage > &Storage) override
virtual void SAL_CALL dispose() override
virtual sal_Bool SAL_CALL isModified() override
virtual void SAL_CALL reload() override
virtual void SAL_CALL replaceImages(::sal_Int16 nImageType, const css::uno::Sequence< OUString > &aCommandURLSequence, const css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > > &aGraphicsSequence) override
virtual css::uno::Sequence< OUString > SAL_CALL getAllImageNames(::sal_Int16 nImageType) override
virtual ~ImageManager() override
virtual void SAL_CALL addConfigurationListener(const css::uno::Reference< css::ui::XUIConfigurationListener > &Listener) override
virtual sal_Bool SAL_CALL hasImage(::sal_Int16 nImageType, const OUString &aCommandURL) override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
ImageManager(const css::uno::Reference< css::uno::XComponentContext > &rxContext, bool bForModule)
::std::unique_ptr< ImageManagerImpl > m_pImpl
virtual sal_Bool SAL_CALL isReadOnly() override
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
void setStorage(const css::uno::Reference< css::embed::XStorage > &Storage)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_framework_ImageManager_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
Sequence< PropertyValue > aArguments