Branch data Line data Source code
1 : : #ifndef INCLUDED_OOO_VBA_MSFORMS_XPICTUREFORMAT_HDL
2 : : #define INCLUDED_OOO_VBA_MSFORMS_XPICTUREFORMAT_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : #include "ooo/vba/XHelperInterface.hdl"
8 : : #include "com/sun/star/uno/Reference.h"
9 : : #include "cppu/macros.hxx"
10 : :
11 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
12 : :
13 : : namespace ooo { namespace vba { namespace msforms {
14 : :
15 : 0 : class SAL_NO_VTABLE XPictureFormat : public ::ooo::vba::XHelperInterface
16 : : {
17 : : public:
18 : :
19 : : // Attributes
20 : : virtual double SAL_CALL getBrightness() throw (::com::sun::star::uno::RuntimeException) = 0;
21 : : virtual void SAL_CALL setBrightness( double _brightness ) throw (::com::sun::star::uno::RuntimeException) = 0;
22 : : virtual double SAL_CALL getContrast() throw (::com::sun::star::uno::RuntimeException) = 0;
23 : : virtual void SAL_CALL setContrast( double _contrast ) throw (::com::sun::star::uno::RuntimeException) = 0;
24 : :
25 : : // Methods
26 : : virtual void SAL_CALL IncrementBrightness( double increment ) throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL IncrementContrast( double increment ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : :
29 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
30 : :
31 : : protected:
32 : 0 : ~XPictureFormat() throw () {} // avoid warnings about virtual members and non-virtual dtor
33 : : };
34 : :
35 : :
36 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::msforms::XPictureFormat const *);
37 : : } } }
38 : :
39 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::msforms::XPictureFormat > *) SAL_THROW(());
40 : :
41 : : #endif
|