Line data Source code
1 : #ifndef INCLUDED_OOO_VBA_WORD_XPARAGRAPHFORMAT_HDL
2 : #define INCLUDED_OOO_VBA_WORD_XPARAGRAPHFORMAT_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/Any.h"
9 : #include "com/sun/star/uno/Reference.h"
10 : #include "cppu/macros.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 word {
16 :
17 0 : class SAL_NO_VTABLE XParagraphFormat : public ::ooo::vba::XHelperInterface
18 : {
19 : public:
20 :
21 : // Attributes
22 : virtual ::sal_Int32 SAL_CALL getAlignment() = 0;
23 : virtual void SAL_CALL setAlignment( ::sal_Int32 _alignment ) = 0;
24 : virtual float SAL_CALL getFirstLineIndent() = 0;
25 : virtual void SAL_CALL setFirstLineIndent( float _firstlineindent ) = 0;
26 : virtual ::com::sun::star::uno::Any SAL_CALL getKeepTogether() = 0;
27 : virtual void SAL_CALL setKeepTogether( const ::com::sun::star::uno::Any& _keeptogether ) = 0;
28 : virtual ::com::sun::star::uno::Any SAL_CALL getKeepWithNext() = 0;
29 : virtual void SAL_CALL setKeepWithNext( const ::com::sun::star::uno::Any& _keepwithnext ) = 0;
30 : virtual ::com::sun::star::uno::Any SAL_CALL getHyphenation() = 0;
31 : virtual void SAL_CALL setHyphenation( const ::com::sun::star::uno::Any& _hyphenation ) = 0;
32 : virtual float SAL_CALL getLineSpacing() = 0;
33 : virtual void SAL_CALL setLineSpacing( float _linespacing ) = 0;
34 : virtual ::sal_Int32 SAL_CALL getLineSpacingRule() = 0;
35 : virtual void SAL_CALL setLineSpacingRule( ::sal_Int32 _linespacingrule ) = 0;
36 : virtual ::com::sun::star::uno::Any SAL_CALL getNoLineNumber() = 0;
37 : virtual void SAL_CALL setNoLineNumber( const ::com::sun::star::uno::Any& _nolinenumber ) = 0;
38 : virtual ::sal_Int32 SAL_CALL getOutlineLevel() = 0;
39 : virtual void SAL_CALL setOutlineLevel( ::sal_Int32 _outlinelevel ) = 0;
40 : virtual ::com::sun::star::uno::Any SAL_CALL getPageBreakBefore() = 0;
41 : virtual void SAL_CALL setPageBreakBefore( const ::com::sun::star::uno::Any& _pagebreakbefore ) = 0;
42 : virtual float SAL_CALL getSpaceBefore() = 0;
43 : virtual void SAL_CALL setSpaceBefore( float _spacebefore ) = 0;
44 : virtual float SAL_CALL getSpaceAfter() = 0;
45 : virtual void SAL_CALL setSpaceAfter( float _spaceafter ) = 0;
46 : virtual float SAL_CALL getLeftIndent() = 0;
47 : virtual void SAL_CALL setLeftIndent( float _leftindent ) = 0;
48 : virtual float SAL_CALL getRightIndent() = 0;
49 : virtual void SAL_CALL setRightIndent( float _rightindent ) = 0;
50 : virtual ::com::sun::star::uno::Any SAL_CALL getTabStops() = 0;
51 : virtual void SAL_CALL setTabStops( const ::com::sun::star::uno::Any& _tabstops ) = 0;
52 : virtual ::com::sun::star::uno::Any SAL_CALL getWidowControl() = 0;
53 : virtual void SAL_CALL setWidowControl( const ::com::sun::star::uno::Any& _widowcontrol ) = 0;
54 :
55 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
56 :
57 : protected:
58 0 : ~XParagraphFormat() throw () {} // avoid warnings about virtual members and non-virtual dtor
59 : };
60 :
61 :
62 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::word::XParagraphFormat const *);
63 : } } }
64 :
65 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::word::XParagraphFormat > *) SAL_THROW(());
66 :
67 : #endif
|