Branch data 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() throw (::com::sun::star::uno::RuntimeException) = 0;
23 : : virtual void SAL_CALL setAlignment( ::sal_Int32 _alignment ) throw (::com::sun::star::uno::RuntimeException) = 0;
24 : : virtual float SAL_CALL getFirstLineIndent() throw (::com::sun::star::uno::RuntimeException) = 0;
25 : : virtual void SAL_CALL setFirstLineIndent( float _firstlineindent ) throw (::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual ::com::sun::star::uno::Any SAL_CALL getKeepTogether() throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setKeepTogether( const ::com::sun::star::uno::Any& _keeptogether ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::com::sun::star::uno::Any SAL_CALL getKeepWithNext() throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setKeepWithNext( const ::com::sun::star::uno::Any& _keepwithnext ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::com::sun::star::uno::Any SAL_CALL getHyphenation() throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL setHyphenation( const ::com::sun::star::uno::Any& _hyphenation ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual float SAL_CALL getLineSpacing() throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setLineSpacing( float _linespacing ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::sal_Int32 SAL_CALL getLineSpacingRule() throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL setLineSpacingRule( ::sal_Int32 _linespacingrule ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::com::sun::star::uno::Any SAL_CALL getNoLineNumber() throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual void SAL_CALL setNoLineNumber( const ::com::sun::star::uno::Any& _nolinenumber ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::sal_Int32 SAL_CALL getOutlineLevel() throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual void SAL_CALL setOutlineLevel( ::sal_Int32 _outlinelevel ) throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::com::sun::star::uno::Any SAL_CALL getPageBreakBefore() throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual void SAL_CALL setPageBreakBefore( const ::com::sun::star::uno::Any& _pagebreakbefore ) throw (::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual float SAL_CALL getSpaceBefore() throw (::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual void SAL_CALL setSpaceBefore( float _spacebefore ) throw (::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual float SAL_CALL getSpaceAfter() throw (::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual void SAL_CALL setSpaceAfter( float _spaceafter ) throw (::com::sun::star::uno::RuntimeException) = 0;
46 : : virtual float SAL_CALL getLeftIndent() throw (::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual void SAL_CALL setLeftIndent( float _leftindent ) throw (::com::sun::star::uno::RuntimeException) = 0;
48 : : virtual float SAL_CALL getRightIndent() throw (::com::sun::star::uno::RuntimeException) = 0;
49 : : virtual void SAL_CALL setRightIndent( float _rightindent ) throw (::com::sun::star::uno::RuntimeException) = 0;
50 : : virtual ::com::sun::star::uno::Any SAL_CALL getTabStops() throw (::com::sun::star::uno::RuntimeException) = 0;
51 : : virtual void SAL_CALL setTabStops( const ::com::sun::star::uno::Any& _tabstops ) throw (::com::sun::star::uno::RuntimeException) = 0;
52 : : virtual ::com::sun::star::uno::Any SAL_CALL getWidowControl() throw (::com::sun::star::uno::RuntimeException) = 0;
53 : : virtual void SAL_CALL setWidowControl( const ::com::sun::star::uno::Any& _widowcontrol ) throw (::com::sun::star::uno::RuntimeException) = 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
|