Line data Source code
1 : #ifndef INCLUDED_OOO_VBA_EXCEL_XCHART_HDL
2 : #define INCLUDED_OOO_VBA_EXCEL_XCHART_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : namespace ooo { namespace vba { namespace excel { class XRange; } } }
8 : #include "com/sun/star/script/BasicErrorException.hdl"
9 : namespace ooo { namespace vba { namespace excel { class XChartTitle; } } }
10 : #include "ooo/vba/XHelperInterface.hdl"
11 : #include "com/sun/star/uno/Any.h"
12 : #include "com/sun/star/uno/Reference.h"
13 : #include "cppu/macros.hxx"
14 : #include "rtl/ustring.hxx"
15 : #include "sal/types.h"
16 :
17 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
18 :
19 : namespace ooo { namespace vba { namespace excel {
20 :
21 0 : class SAL_NO_VTABLE XChart : public ::ooo::vba::XHelperInterface
22 : {
23 : public:
24 :
25 : // Attributes
26 : virtual ::rtl::OUString SAL_CALL getName() = 0;
27 :
28 : // Methods
29 : virtual ::com::sun::star::uno::Any SAL_CALL SeriesCollection( const ::com::sun::star::uno::Any& Item ) = 0;
30 : virtual ::sal_Int32 SAL_CALL getChartType() = 0;
31 : virtual void SAL_CALL setChartType( ::sal_Int32 chartType ) = 0;
32 : virtual void SAL_CALL Activate() = 0;
33 : virtual void SAL_CALL setSourceData( const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange >& Source, const ::com::sun::star::uno::Any& PlotBy ) = 0;
34 : virtual ::sal_Int32 SAL_CALL Location() = 0;
35 : virtual ::sal_Int32 SAL_CALL getLocation() = 0;
36 : virtual void SAL_CALL setLocation( ::sal_Int32 where, const ::com::sun::star::uno::Any& Name ) = 0;
37 : virtual ::sal_Bool SAL_CALL getHasTitle() = 0;
38 : virtual void SAL_CALL setHasTitle( ::sal_Bool bTitle ) = 0;
39 : virtual ::sal_Bool SAL_CALL getHasLegend() = 0;
40 : virtual void SAL_CALL setHasLegend( ::sal_Bool bLegend ) = 0;
41 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XChartTitle > SAL_CALL getChartTitle() = 0;
42 : virtual void SAL_CALL setPlotBy( ::sal_Int32 xlRowCol ) = 0;
43 : virtual ::sal_Int32 SAL_CALL getPlotBy() = 0;
44 : virtual ::com::sun::star::uno::Any SAL_CALL Axes( const ::com::sun::star::uno::Any& Type, const ::com::sun::star::uno::Any& AxisGroup ) = 0;
45 :
46 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
47 :
48 : protected:
49 0 : ~XChart() throw () {} // avoid warnings about virtual members and non-virtual dtor
50 : };
51 :
52 :
53 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XChart const *);
54 : } } }
55 :
56 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XChart > *) SAL_THROW(());
57 :
58 : #endif
|