Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_UI_XIMAGEMANAGER_HDL
2 : : #define INCLUDED_COM_SUN_STAR_UI_XIMAGEMANAGER_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : #include "com/sun/star/container/ElementExistException.hdl"
8 : : namespace com { namespace sun { namespace star { namespace graphic { class XGraphic; } } } }
9 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
10 : : #include "com/sun/star/lang/IllegalAccessException.hdl"
11 : : #include "com/sun/star/lang/XComponent.hdl"
12 : : #include "com/sun/star/ui/XUIConfiguration.hdl"
13 : : #include "com/sun/star/ui/XUIConfigurationPersistence.hdl"
14 : : #include "com/sun/star/lang/XInitialization.hdl"
15 : : #include "com/sun/star/uno/Reference.h"
16 : : #include "com/sun/star/uno/Sequence.h"
17 : : #include "cppu/macros.hxx"
18 : : #include "rtl/ustring.hxx"
19 : : #include "sal/types.h"
20 : :
21 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
22 : :
23 : : namespace com { namespace sun { namespace star { namespace ui {
24 : :
25 : 1834 : class SAL_NO_VTABLE XImageManager : public ::com::sun::star::ui::XUIConfigurationPersistence, public ::com::sun::star::ui::XUIConfiguration, public ::com::sun::star::lang::XComponent, public ::com::sun::star::lang::XInitialization
26 : : {
27 : : public:
28 : :
29 : : // Methods
30 : : virtual void SAL_CALL reset( ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getAllImageNames( ::sal_Int16 nImageType ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::sal_Bool SAL_CALL hasImage( ::sal_Int16 nImageType, const ::rtl::OUString& aCommandURL ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > > SAL_CALL getImages( ::sal_Int16 nImageType, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aCommandURLSequence ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual void SAL_CALL replaceImages( ::sal_Int16 nImageType, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aCommandURLSequence, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > >& aGraphicsSequence ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL removeImages( ::sal_Int16 nImageType, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aResourceURLSequence ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL insertImages( ::sal_Int16 nImageType, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aCommandURLSequence, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > >& aGraphicSequence ) throw (::com::sun::star::container::ElementExistException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException) = 0;
37 : :
38 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
39 : :
40 : : protected:
41 : 1743 : ~XImageManager() throw () {} // avoid warnings about virtual members and non-virtual dtor
42 : : };
43 : :
44 : :
45 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::ui::XImageManager const *);
46 : : } } } }
47 : :
48 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::ui::XImageManager > *) SAL_THROW(());
49 : :
50 : : #endif
|