Branch data Line data Source code
1 : : #ifndef INCLUDED_OOO_VBA_WORD_XSTYLE_HDL
2 : : #define INCLUDED_OOO_VBA_WORD_XSTYLE_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : namespace ooo { namespace vba { namespace word { class XParagraphFormat; } } }
8 : : namespace ooo { namespace vba { namespace word { class XFont; } } }
9 : : #include "ooo/vba/XHelperInterface.hdl"
10 : : #include "com/sun/star/script/XDefaultProperty.hdl"
11 : : #include "com/sun/star/uno/Any.h"
12 : : #include "com/sun/star/uno/Reference.h"
13 : : #include "cppu/macros.hxx"
14 : : #include "rtl/ustring.hxx"
15 : : #include "sal/types.h"
16 : :
17 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
18 : :
19 : : namespace ooo { namespace vba { namespace word {
20 : :
21 : 0 : class SAL_NO_VTABLE XStyle : public ::ooo::vba::XHelperInterface, public ::com::sun::star::script::XDefaultProperty
22 : : {
23 : : public:
24 : :
25 : : // Attributes
26 : : virtual ::rtl::OUString SAL_CALL getName() throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setName( const ::rtl::OUString& _name ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::sal_Int32 SAL_CALL getLanguageID() throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setLanguageID( ::sal_Int32 _languageid ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::sal_Int32 SAL_CALL getType() throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::word::XFont > SAL_CALL getFont() throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::rtl::OUString SAL_CALL getNameLocal() throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setNameLocal( const ::rtl::OUString& _namelocal ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::word::XParagraphFormat > SAL_CALL getParagraphFormat() throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::sal_Bool SAL_CALL getAutomaticallyUpdate() throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL setAutomaticallyUpdate( ::sal_Bool _automaticallyupdate ) throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::com::sun::star::uno::Any SAL_CALL getBaseStyle() throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual void SAL_CALL setBaseStyle( const ::com::sun::star::uno::Any& _basestyle ) throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::com::sun::star::uno::Any SAL_CALL getNextParagraphStyle() throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual void SAL_CALL setNextParagraphStyle( const ::com::sun::star::uno::Any& _nextparagraphstyle ) throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual ::sal_Int32 SAL_CALL getListLevelNumber() throw (::com::sun::star::uno::RuntimeException) = 0;
42 : :
43 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
44 : :
45 : : protected:
46 : 0 : ~XStyle() throw () {} // avoid warnings about virtual members and non-virtual dtor
47 : : };
48 : :
49 : :
50 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::word::XStyle const *);
51 : : } } }
52 : :
53 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::word::XStyle > *) SAL_THROW(());
54 : :
55 : : #endif
|