Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_REPORT_XGROUP_HDL
2 : : #define INCLUDED_COM_SUN_STAR_REPORT_XGROUP_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
7 : : #include "com/sun/star/container/NoSuchElementException.hdl"
8 : : namespace com { namespace sun { namespace star { namespace report { class XSection; } } } }
9 : : #include "com/sun/star/report/XFunctionsSupplier.hdl"
10 : : #include "com/sun/star/beans/XPropertySet.hdl"
11 : : #include "com/sun/star/uno/RuntimeException.hdl"
12 : : #include "com/sun/star/container/XChild.hdl"
13 : : #include "com/sun/star/lang/XComponent.hdl"
14 : : namespace com { namespace sun { namespace star { namespace report { class XGroups; } } } }
15 : : #include "com/sun/star/uno/Reference.h"
16 : : #include "cppu/macros.hxx"
17 : : #include "rtl/ustring.hxx"
18 : : #include "sal/types.h"
19 : :
20 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
21 : :
22 : : namespace com { namespace sun { namespace star { namespace report {
23 : :
24 : 0 : class SAL_NO_VTABLE XGroup : public ::com::sun::star::container::XChild, public ::com::sun::star::beans::XPropertySet, public ::com::sun::star::lang::XComponent, public ::com::sun::star::report::XFunctionsSupplier
25 : : {
26 : : public:
27 : :
28 : : // Attributes
29 : : virtual ::sal_Bool SAL_CALL getSortAscending() throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual void SAL_CALL setSortAscending( ::sal_Bool _sortascending ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::sal_Bool SAL_CALL getHeaderOn() throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL setHeaderOn( ::sal_Bool _headeron ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::sal_Bool SAL_CALL getFooterOn() throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual void SAL_CALL setFooterOn( ::sal_Bool _footeron ) throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getHeader() throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getFooter() throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::sal_Int16 SAL_CALL getGroupOn() throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual void SAL_CALL setGroupOn( ::sal_Int16 _groupon ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::sal_Int32 SAL_CALL getGroupInterval() throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual void SAL_CALL setGroupInterval( ::sal_Int32 _groupinterval ) throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual ::sal_Int16 SAL_CALL getKeepTogether() throw (::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual void SAL_CALL setKeepTogether( ::sal_Int16 _keeptogether ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroups > SAL_CALL getGroups() throw (::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual ::rtl::OUString SAL_CALL getExpression() throw (::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual void SAL_CALL setExpression( const ::rtl::OUString& _expression ) throw (::com::sun::star::uno::RuntimeException) = 0;
46 : : virtual ::sal_Bool SAL_CALL getStartNewColumn() throw (::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual void SAL_CALL setStartNewColumn( ::sal_Bool _startnewcolumn ) throw (::com::sun::star::uno::RuntimeException) = 0;
48 : : virtual ::sal_Bool SAL_CALL getResetPageNumber() throw (::com::sun::star::uno::RuntimeException) = 0;
49 : : virtual void SAL_CALL setResetPageNumber( ::sal_Bool _resetpagenumber ) throw (::com::sun::star::uno::RuntimeException) = 0;
50 : :
51 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
52 : :
53 : : protected:
54 : 0 : ~XGroup() throw () {} // avoid warnings about virtual members and non-virtual dtor
55 : : };
56 : :
57 : :
58 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::report::XGroup const *);
59 : : } } } }
60 : :
61 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup > *) SAL_THROW(());
62 : :
63 : : #endif
|