Branch data Line data Source code
1 : : #ifndef INCLUDED_OOO_VBA_EXCEL_XAXIS_HDL
2 : : #define INCLUDED_OOO_VBA_EXCEL_XAXIS_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : namespace ooo { namespace vba { namespace excel { class XAxisTitle; } } }
8 : : #include "com/sun/star/script/BasicErrorException.hdl"
9 : : #include "ooo/vba/XHelperInterface.hdl"
10 : : #include "com/sun/star/uno/Reference.h"
11 : : #include "cppu/macros.hxx"
12 : : #include "sal/types.h"
13 : :
14 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
15 : :
16 : : namespace ooo { namespace vba { namespace excel {
17 : :
18 : 0 : class SAL_NO_VTABLE XAxis : public ::ooo::vba::XHelperInterface
19 : : {
20 : : public:
21 : :
22 : : // Methods
23 : : virtual void SAL_CALL Delete( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
24 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XAxisTitle > SAL_CALL getAxisTitle( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
25 : : virtual void SAL_CALL setDisplayUnit( ::sal_Int32 DisplayUnit ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual ::sal_Int32 SAL_CALL getDisplayUnit( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setCrosses( ::sal_Int32 Crosses ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::sal_Int32 SAL_CALL getCrosses( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setCrossesAt( double CrossesAt ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual double SAL_CALL getCrossesAt( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL setType( ::sal_Int32 Type ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::sal_Int32 SAL_CALL getType( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setHasTitle( ::sal_Bool HasTitle ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::sal_Bool SAL_CALL getHasTitle( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL setMinorUnit( double MinorUnit ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual double SAL_CALL getMinorUnit( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual void SAL_CALL setMinorUnitIsAuto( ::sal_Bool MinorUnitIsAuto ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::sal_Bool SAL_CALL getMinorUnitIsAuto( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual void SAL_CALL setReversePlotOrder( ::sal_Bool ReversePlotOrder ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::sal_Bool SAL_CALL getReversePlotOrder( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual void SAL_CALL setMajorUnit( double MajorUnit ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual double SAL_CALL getMajorUnit( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual void SAL_CALL setMajorUnitIsAuto( ::sal_Bool MajorUnitIsAuto ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual ::sal_Bool SAL_CALL getMajorUnitIsAuto( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual void SAL_CALL setMaximumScale( double MaximumScale ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
46 : : virtual double SAL_CALL getMaximumScale( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual void SAL_CALL setMaximumScaleIsAuto( ::sal_Bool MaximumScaleIsAuto ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
48 : : virtual ::sal_Bool SAL_CALL getMaximumScaleIsAuto( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
49 : : virtual void SAL_CALL setMinimumScale( double MinimumScale ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
50 : : virtual double SAL_CALL getMinimumScale( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
51 : : virtual void SAL_CALL setMinimumScaleIsAuto( ::sal_Bool MinimumScaleIsAuto ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
52 : : virtual ::sal_Bool SAL_CALL getMinimumScaleIsAuto( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
53 : : virtual ::sal_Int32 SAL_CALL getAxisGroup( ) throw (::com::sun::star::uno::RuntimeException) = 0;
54 : : virtual void SAL_CALL setScaleType( ::sal_Int32 ScaleType ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
55 : : virtual ::sal_Int32 SAL_CALL getScaleType( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
56 : : virtual double SAL_CALL getHeight( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
57 : : virtual void SAL_CALL setHeight( double height ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
58 : : virtual double SAL_CALL getWidth( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
59 : : virtual void SAL_CALL setWidth( double width ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
60 : : virtual double SAL_CALL getTop( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
61 : : virtual void SAL_CALL setTop( double top ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
62 : : virtual double SAL_CALL getLeft( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
63 : : virtual void SAL_CALL setLeft( double left ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
64 : :
65 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
66 : :
67 : : protected:
68 : 0 : ~XAxis() throw () {} // avoid warnings about virtual members and non-virtual dtor
69 : : };
70 : :
71 : :
72 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XAxis const *);
73 : : } } }
74 : :
75 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XAxis > *) SAL_THROW(());
76 : :
77 : : #endif
|