Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_SHEET_XDATAPILOTDESCRIPTOR_HDL
2 : #define INCLUDED_COM_SUN_STAR_SHEET_XDATAPILOTDESCRIPTOR_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : namespace com { namespace sun { namespace star { namespace container { class XIndexAccess; } } } }
8 : #include "com/sun/star/table/CellRangeAddress.hdl"
9 : namespace com { namespace sun { namespace star { namespace sheet { class XSheetFilterDescriptor; } } } }
10 : #include "com/sun/star/container/XNamed.hdl"
11 : #include "com/sun/star/uno/Reference.h"
12 : #include "cppu/macros.hxx"
13 : #include "rtl/ustring.hxx"
14 :
15 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
16 :
17 : namespace com { namespace sun { namespace star { namespace sheet {
18 :
19 0 : class SAL_NO_VTABLE XDataPilotDescriptor : public css::container::XNamed
20 : {
21 : public:
22 :
23 : // Methods
24 : virtual ::rtl::OUString SAL_CALL getTag() = 0;
25 : virtual void SAL_CALL setTag( const ::rtl::OUString& aTag ) = 0;
26 : virtual css::table::CellRangeAddress SAL_CALL getSourceRange() = 0;
27 : virtual void SAL_CALL setSourceRange( const css::table::CellRangeAddress& aSourceRange ) = 0;
28 : virtual ::com::sun::star::uno::Reference< css::sheet::XSheetFilterDescriptor > SAL_CALL getFilterDescriptor() = 0;
29 : virtual ::com::sun::star::uno::Reference< css::container::XIndexAccess > SAL_CALL getDataPilotFields() = 0;
30 : virtual ::com::sun::star::uno::Reference< css::container::XIndexAccess > SAL_CALL getColumnFields() = 0;
31 : virtual ::com::sun::star::uno::Reference< css::container::XIndexAccess > SAL_CALL getRowFields() = 0;
32 : virtual ::com::sun::star::uno::Reference< css::container::XIndexAccess > SAL_CALL getPageFields() = 0;
33 : virtual ::com::sun::star::uno::Reference< css::container::XIndexAccess > SAL_CALL getDataFields() = 0;
34 : virtual ::com::sun::star::uno::Reference< css::container::XIndexAccess > SAL_CALL getHiddenFields() = 0;
35 :
36 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
37 :
38 : protected:
39 0 : ~XDataPilotDescriptor() throw () {} // avoid warnings about virtual members and non-virtual dtor
40 : };
41 :
42 :
43 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::sheet::XDataPilotDescriptor const *);
44 : } } } }
45 :
46 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::sheet::XDataPilotDescriptor > *) SAL_THROW(());
47 :
48 : #endif
|