Branch data 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() throw (::com::sun::star::uno::RuntimeException) = 0;
27 : :
28 : : // Methods
29 : : virtual ::com::sun::star::uno::Any SAL_CALL SeriesCollection( const ::com::sun::star::uno::Any& Item ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::sal_Int32 SAL_CALL getChartType( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL setChartType( ::sal_Int32 chartType ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL Activate( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 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 ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::sal_Int32 SAL_CALL Location( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::sal_Int32 SAL_CALL getLocation( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL setLocation( ::sal_Int32 where, const ::com::sun::star::uno::Any& Name ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::sal_Bool SAL_CALL getHasTitle( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual void SAL_CALL setHasTitle( ::sal_Bool bTitle ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::sal_Bool SAL_CALL getHasLegend( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual void SAL_CALL setHasLegend( ::sal_Bool bLegend ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XChartTitle > SAL_CALL getChartTitle( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual void SAL_CALL setPlotBy( ::sal_Int32 xlRowCol ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual ::sal_Int32 SAL_CALL getPlotBy( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 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 ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 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
|