Branch data Line data Source code
1 : : #ifndef INCLUDED_OOO_VBA_MSFORMS_XNEWFONT_HDL
2 : : #define INCLUDED_OOO_VBA_MSFORMS_XNEWFONT_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/XInterface.hdl"
7 : : #include "com/sun/star/uno/RuntimeException.hdl"
8 : : #include "com/sun/star/uno/Reference.h"
9 : : #include "cppu/macros.hxx"
10 : : #include "rtl/ustring.hxx"
11 : : #include "sal/types.h"
12 : :
13 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
14 : :
15 : : namespace ooo { namespace vba { namespace msforms {
16 : :
17 : 0 : class SAL_NO_VTABLE XNewFont : public ::com::sun::star::uno::XInterface
18 : : {
19 : : public:
20 : :
21 : : // Attributes
22 : : virtual ::rtl::OUString SAL_CALL getName() throw (::com::sun::star::uno::RuntimeException) = 0;
23 : : virtual void SAL_CALL setName( const ::rtl::OUString& _name ) throw (::com::sun::star::uno::RuntimeException) = 0;
24 : : virtual double SAL_CALL getSize() throw (::com::sun::star::uno::RuntimeException) = 0;
25 : : virtual void SAL_CALL setSize( double _size ) throw (::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual ::sal_Int16 SAL_CALL getCharset() throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setCharset( ::sal_Int16 _charset ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::sal_Int16 SAL_CALL getWeight() throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setWeight( ::sal_Int16 _weight ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::sal_Bool SAL_CALL getBold() throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL setBold( ::sal_Bool _bold ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::sal_Bool SAL_CALL getItalic() throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setItalic( ::sal_Bool _italic ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::sal_Bool SAL_CALL getUnderline() throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL setUnderline( ::sal_Bool _underline ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::sal_Bool SAL_CALL getStrikethrough() throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual void SAL_CALL setStrikethrough( ::sal_Bool _strikethrough ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : :
39 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
40 : :
41 : : protected:
42 : 0 : ~XNewFont() throw () {} // avoid warnings about virtual members and non-virtual dtor
43 : : };
44 : :
45 : :
46 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::msforms::XNewFont const *);
47 : : } } }
48 : :
49 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::msforms::XNewFont > *) SAL_THROW(());
50 : :
51 : : #endif
|