Branch data 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 : 80 : class SAL_NO_VTABLE XDataPilotDescriptor : public ::com::sun::star::container::XNamed
20 : : {
21 : : public:
22 : :
23 : : // Methods
24 : : virtual ::rtl::OUString SAL_CALL getTag( ) throw (::com::sun::star::uno::RuntimeException) = 0;
25 : : virtual void SAL_CALL setTag( const ::rtl::OUString& aTag ) throw (::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual ::com::sun::star::table::CellRangeAddress SAL_CALL getSourceRange( ) throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setSourceRange( const ::com::sun::star::table::CellRangeAddress& aSourceRange ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSheetFilterDescriptor > SAL_CALL getFilterDescriptor( ) throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > SAL_CALL getDataPilotFields( ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > SAL_CALL getColumnFields( ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > SAL_CALL getRowFields( ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > SAL_CALL getPageFields( ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > SAL_CALL getDataFields( ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > SAL_CALL getHiddenFields( ) throw (::com::sun::star::uno::RuntimeException) = 0;
35 : :
36 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
37 : :
38 : : protected:
39 : 79 : ~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 ::com::sun::star::sheet::XDataPilotDescriptor const *);
44 : : } } } }
45 : :
46 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XDataPilotDescriptor > *) SAL_THROW(());
47 : :
48 : : #endif
|