Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_REPORT_XSECTION_HDL
2 : : #define INCLUDED_COM_SUN_STAR_REPORT_XSECTION_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : namespace com { namespace sun { namespace star { namespace report { class XGroup; } } } }
8 : : #include "com/sun/star/util/Color.hdl"
9 : : #include "com/sun/star/beans/UnknownPropertyException.hdl"
10 : : #include "com/sun/star/lang/XComponent.hdl"
11 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
12 : : #include "com/sun/star/beans/XPropertySet.hdl"
13 : : #include "com/sun/star/container/XEnumerationAccess.hdl"
14 : : namespace com { namespace sun { namespace star { namespace report { class XReportDefinition; } } } }
15 : : #include "com/sun/star/container/XContainer.hdl"
16 : : #include "com/sun/star/drawing/XShapes.hdl"
17 : : #include "com/sun/star/container/XChild.hdl"
18 : : #include "com/sun/star/uno/Reference.h"
19 : : #include "cppu/macros.hxx"
20 : : #include "rtl/ustring.hxx"
21 : : #include "sal/types.h"
22 : :
23 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
24 : :
25 : : namespace com { namespace sun { namespace star { namespace report {
26 : :
27 : 0 : class SAL_NO_VTABLE XSection : public ::com::sun::star::container::XChild, public ::com::sun::star::container::XContainer, public ::com::sun::star::drawing::XShapes, public ::com::sun::star::container::XEnumerationAccess, public ::com::sun::star::beans::XPropertySet, public ::com::sun::star::lang::XComponent
28 : : {
29 : : public:
30 : :
31 : : // Attributes
32 : : virtual ::sal_Bool SAL_CALL getVisible() throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setVisible( ::sal_Bool _visible ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::rtl::OUString SAL_CALL getName() throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL setName( const ::rtl::OUString& _name ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::sal_uInt32 SAL_CALL getHeight() throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual void SAL_CALL setHeight( ::sal_uInt32 _height ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::sal_Int32 SAL_CALL getBackColor() throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual void SAL_CALL setBackColor( ::sal_Int32 _backcolor ) throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::sal_Bool SAL_CALL getBackTransparent() throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual void SAL_CALL setBackTransparent( ::sal_Bool _backtransparent ) throw (::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual ::rtl::OUString SAL_CALL getConditionalPrintExpression() throw (::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual void SAL_CALL setConditionalPrintExpression( const ::rtl::OUString& _conditionalprintexpression ) throw (::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual ::sal_Int16 SAL_CALL getForceNewPage() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual void SAL_CALL setForceNewPage( ::sal_Int16 _forcenewpage ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
46 : : virtual ::sal_Int16 SAL_CALL getNewRowOrCol() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual void SAL_CALL setNewRowOrCol( ::sal_Int16 _newroworcol ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
48 : : virtual ::sal_Bool SAL_CALL getKeepTogether() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
49 : : virtual void SAL_CALL setKeepTogether( ::sal_Bool _keeptogether ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
50 : : virtual ::sal_Bool SAL_CALL getCanGrow() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
51 : : virtual void SAL_CALL setCanGrow( ::sal_Bool _cangrow ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
52 : : virtual ::sal_Bool SAL_CALL getCanShrink() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
53 : : virtual void SAL_CALL setCanShrink( ::sal_Bool _canshrink ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
54 : : virtual ::sal_Bool SAL_CALL getRepeatSection() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
55 : : virtual void SAL_CALL setRepeatSection( ::sal_Bool _repeatsection ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) = 0;
56 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup > SAL_CALL getGroup() throw (::com::sun::star::uno::RuntimeException) = 0;
57 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition > SAL_CALL getReportDefinition() throw (::com::sun::star::uno::RuntimeException) = 0;
58 : :
59 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
60 : :
61 : : protected:
62 : 0 : ~XSection() throw () {} // avoid warnings about virtual members and non-virtual dtor
63 : : };
64 : :
65 : :
66 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::report::XSection const *);
67 : : } } } }
68 : :
69 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > *) SAL_THROW(());
70 : :
71 : : #endif
|