Line data Source code
1 : #ifndef INCLUDED_OOO_VBA_EXCEL_XFORMATCONDITION_HDL
2 : #define INCLUDED_OOO_VBA_EXCEL_XFORMATCONDITION_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : namespace ooo { namespace vba { namespace excel { class XFont; } } }
8 : namespace ooo { namespace vba { namespace excel { class XInterior; } } }
9 : #include "com/sun/star/script/BasicErrorException.hdl"
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 XFormatCondition : public ::ooo::vba::XHelperInterface
22 : {
23 : public:
24 :
25 : // Methods
26 : virtual void SAL_CALL Delete() = 0;
27 : virtual void SAL_CALL Modify( ::sal_Int32 Type, const ::com::sun::star::uno::Any& Operator, const ::com::sun::star::uno::Any& Formula1, const ::com::sun::star::uno::Any& Formula2 ) = 0;
28 : virtual ::sal_Int32 SAL_CALL Type() = 0;
29 : virtual ::sal_Int32 SAL_CALL Operator() = 0;
30 : virtual ::rtl::OUString SAL_CALL Formula1() = 0;
31 : virtual ::rtl::OUString SAL_CALL Formula2() = 0;
32 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XInterior > SAL_CALL Interior() = 0;
33 : virtual ::com::sun::star::uno::Any SAL_CALL Borders( const ::com::sun::star::uno::Any& Index ) = 0;
34 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XFont > SAL_CALL Font() = 0;
35 :
36 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
37 :
38 : protected:
39 0 : ~XFormatCondition() 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 ::ooo::vba::excel::XFormatCondition const *);
44 : } } }
45 :
46 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XFormatCondition > *) SAL_THROW(());
47 :
48 : #endif
|