24#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <com/sun/star/ui/XImageManager.hpp>
26#include <com/sun/star/uno/XComponentContext.hpp>
30#include <rtl/ustring.hxx>
34 class ImageManagerImpl;
35 class ImageManager final :
public ::cppu::WeakImplHelper< css::ui::XImageManager, css::lang::XServiceInfo>
38 ImageManager(
const css::uno::Reference< css::uno::XComponentContext >& rxContext,
bool bForModule );
43 return "com.sun.star.comp.framework.ImageManager";
53 css::uno::Sequence< OUString >
aSeq {
"com.sun.star.ui.ImageManager" };
58 virtual void SAL_CALL
dispose()
override;
59 virtual void SAL_CALL
addEventListener(
const css::uno::Reference< css::lang::XEventListener >& xListener )
override;
60 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener >& aListener )
override;
63 virtual void SAL_CALL
initialize(
const css::uno::Sequence< css::uno::Any >& aArguments )
override;
66 virtual void SAL_CALL
reset()
override;
67 virtual css::uno::Sequence< OUString > SAL_CALL
getAllImageNames( ::sal_Int16 nImageType )
override;
68 virtual sal_Bool SAL_CALL
hasImage( ::sal_Int16 nImageType,
const OUString& aCommandURL )
override;
69 virtual css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > > SAL_CALL
getImages( ::sal_Int16 nImageType,
const css::uno::Sequence< OUString >& aCommandURLSequence )
override;
70 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;
71 virtual void SAL_CALL
removeImages( ::sal_Int16 nImageType,
const css::uno::Sequence< OUString >& aResourceURLSequence )
override;
72 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;
75 virtual void SAL_CALL
addConfigurationListener(
const css::uno::Reference< css::ui::XUIConfigurationListener >& Listener )
override;
76 virtual void SAL_CALL
removeConfigurationListener(
const css::uno::Reference< css::ui::XUIConfigurationListener >& Listener )
override;
79 virtual void SAL_CALL
reload()
override;
80 virtual void SAL_CALL
store()
override;
81 virtual void SAL_CALL
storeToStorage(
const css::uno::Reference< css::embed::XStorage >& Storage )
override;
87 void setStorage(
const css::uno::Reference< css::embed::XStorage >& Storage );
90 ::std::unique_ptr<ImageManagerImpl>
m_pImpl;
virtual css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > > SAL_CALL getImages(::sal_Int16 nImageType, const css::uno::Sequence< OUString > &aCommandURLSequence) override
virtual sal_Bool SAL_CALL supportsService(OUString const &ServiceName) 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 css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL isModified() override
virtual void SAL_CALL reload() override
virtual OUString SAL_CALL getImplementationName() 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)
Sequence< sal_Int8 > aSeq
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)