Branch data 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 : 214 : 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 ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
25 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XFont > SAL_CALL Font( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XInterior > SAL_CALL Interior( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setNumberFormat( const ::com::sun::star::uno::Any& NumberFormat ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::com::sun::star::uno::Any SAL_CALL getNumberFormat( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL setNumberFormatLocal( const ::com::sun::star::uno::Any& NumberFormatLocal ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::com::sun::star::uno::Any SAL_CALL getNumberFormatLocal( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual void SAL_CALL setIndentLevel( const ::com::sun::star::uno::Any& IndentLevel ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::com::sun::star::uno::Any SAL_CALL getIndentLevel( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setHorizontalAlignment( const ::com::sun::star::uno::Any& HorizontalAlignment ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::com::sun::star::uno::Any SAL_CALL getHorizontalAlignment( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL setVerticalAlignment( const ::com::sun::star::uno::Any& VerticalAlignment ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::com::sun::star::uno::Any SAL_CALL getVerticalAlignment( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual void SAL_CALL setOrientation( const ::com::sun::star::uno::Any& Orientation ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::com::sun::star::uno::Any SAL_CALL getOrientation( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual void SAL_CALL setShrinkToFit( const ::com::sun::star::uno::Any& ShrinkToFit ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::com::sun::star::uno::Any SAL_CALL getShrinkToFit( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual void SAL_CALL setWrapText( const ::com::sun::star::uno::Any& WrapText ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual ::com::sun::star::uno::Any SAL_CALL getWrapText( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual void SAL_CALL setLocked( const ::com::sun::star::uno::Any& Locked ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual ::com::sun::star::uno::Any SAL_CALL getLocked( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual void SAL_CALL setFormulaHidden( const ::com::sun::star::uno::Any& FormulaHidden ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
46 : : virtual ::com::sun::star::uno::Any SAL_CALL getFormulaHidden( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual void SAL_CALL setMergeCells( const ::com::sun::star::uno::Any& MergeCells ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
48 : : virtual ::com::sun::star::uno::Any SAL_CALL getMergeCells( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
49 : : virtual void SAL_CALL setReadingOrder( const ::com::sun::star::uno::Any& ReadingOrder ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
50 : : virtual ::com::sun::star::uno::Any SAL_CALL getReadingOrder( ) throw (::com::sun::star::script::BasicErrorException, ::com::sun::star::uno::RuntimeException) = 0;
51 : :
52 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
53 : :
54 : : protected:
55 : 214 : ~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
|