Line data Source code
1 : #ifndef INCLUDED_OOO_VBA_EXCEL_XFORMAT_HDL
2 : #define INCLUDED_OOO_VBA_EXCEL_XFORMAT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : namespace ooo { namespace vba { namespace excel { class XInterior; } } }
8 : namespace ooo { namespace vba { namespace excel { class XFont; } } }
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 :
15 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
16 :
17 : namespace ooo { namespace vba { namespace excel {
18 :
19 0 : class SAL_NO_VTABLE XFormat : public ::ooo::vba::XHelperInterface
20 : {
21 : public:
22 :
23 : // Methods
24 : virtual ::com::sun::star::uno::Any SAL_CALL Borders( const ::com::sun::star::uno::Any& Item ) = 0;
25 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XFont > SAL_CALL Font() = 0;
26 : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XInterior > SAL_CALL Interior() = 0;
27 : virtual void SAL_CALL setNumberFormat( const ::com::sun::star::uno::Any& NumberFormat ) = 0;
28 : virtual ::com::sun::star::uno::Any SAL_CALL getNumberFormat() = 0;
29 : virtual void SAL_CALL setNumberFormatLocal( const ::com::sun::star::uno::Any& NumberFormatLocal ) = 0;
30 : virtual ::com::sun::star::uno::Any SAL_CALL getNumberFormatLocal() = 0;
31 : virtual void SAL_CALL setIndentLevel( const ::com::sun::star::uno::Any& IndentLevel ) = 0;
32 : virtual ::com::sun::star::uno::Any SAL_CALL getIndentLevel() = 0;
33 : virtual void SAL_CALL setHorizontalAlignment( const ::com::sun::star::uno::Any& HorizontalAlignment ) = 0;
34 : virtual ::com::sun::star::uno::Any SAL_CALL getHorizontalAlignment() = 0;
35 : virtual void SAL_CALL setVerticalAlignment( const ::com::sun::star::uno::Any& VerticalAlignment ) = 0;
36 : virtual ::com::sun::star::uno::Any SAL_CALL getVerticalAlignment() = 0;
37 : virtual void SAL_CALL setOrientation( const ::com::sun::star::uno::Any& Orientation ) = 0;
38 : virtual ::com::sun::star::uno::Any SAL_CALL getOrientation() = 0;
39 : virtual void SAL_CALL setShrinkToFit( const ::com::sun::star::uno::Any& ShrinkToFit ) = 0;
40 : virtual ::com::sun::star::uno::Any SAL_CALL getShrinkToFit() = 0;
41 : virtual void SAL_CALL setWrapText( const ::com::sun::star::uno::Any& WrapText ) = 0;
42 : virtual ::com::sun::star::uno::Any SAL_CALL getWrapText() = 0;
43 : virtual void SAL_CALL setLocked( const ::com::sun::star::uno::Any& Locked ) = 0;
44 : virtual ::com::sun::star::uno::Any SAL_CALL getLocked() = 0;
45 : virtual void SAL_CALL setFormulaHidden( const ::com::sun::star::uno::Any& FormulaHidden ) = 0;
46 : virtual ::com::sun::star::uno::Any SAL_CALL getFormulaHidden() = 0;
47 : virtual void SAL_CALL setMergeCells( const ::com::sun::star::uno::Any& MergeCells ) = 0;
48 : virtual ::com::sun::star::uno::Any SAL_CALL getMergeCells() = 0;
49 : virtual void SAL_CALL setReadingOrder( const ::com::sun::star::uno::Any& ReadingOrder ) = 0;
50 : virtual ::com::sun::star::uno::Any SAL_CALL getReadingOrder() = 0;
51 :
52 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
53 :
54 : protected:
55 0 : ~XFormat() throw () {} // avoid warnings about virtual members and non-virtual dtor
56 : };
57 :
58 :
59 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XFormat const *);
60 : } } }
61 :
62 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XFormat > *) SAL_THROW(());
63 :
64 : #endif
|