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 css::uno::XInterface
18 : {
19 : public:
20 :
21 : // Attributes
22 : virtual ::rtl::OUString SAL_CALL getName() = 0;
23 : virtual void SAL_CALL setName( const ::rtl::OUString& _name ) = 0;
24 : virtual double SAL_CALL getSize() = 0;
25 : virtual void SAL_CALL setSize( double _size ) = 0;
26 : virtual ::sal_Int16 SAL_CALL getCharset() = 0;
27 : virtual void SAL_CALL setCharset( ::sal_Int16 _charset ) = 0;
28 : virtual ::sal_Int16 SAL_CALL getWeight() = 0;
29 : virtual void SAL_CALL setWeight( ::sal_Int16 _weight ) = 0;
30 : virtual ::sal_Bool SAL_CALL getBold() = 0;
31 : virtual void SAL_CALL setBold( ::sal_Bool _bold ) = 0;
32 : virtual ::sal_Bool SAL_CALL getItalic() = 0;
33 : virtual void SAL_CALL setItalic( ::sal_Bool _italic ) = 0;
34 : virtual ::sal_Bool SAL_CALL getUnderline() = 0;
35 : virtual void SAL_CALL setUnderline( ::sal_Bool _underline ) = 0;
36 : virtual ::sal_Bool SAL_CALL getStrikethrough() = 0;
37 : virtual void SAL_CALL setStrikethrough( ::sal_Bool _strikethrough ) = 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
|