Branch data Line data Source code
1 : : #ifndef INCLUDED_OOO_VBA_EXCEL_XWORKSHEETS_HDL
2 : : #define INCLUDED_OOO_VBA_EXCEL_XWORKSHEETS_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : #include "ooo/vba/XCollection.hdl"
8 : : #include "com/sun/star/uno/Any.h"
9 : : #include "com/sun/star/uno/Reference.h"
10 : : #include "cppu/macros.hxx"
11 : :
12 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
13 : :
14 : : namespace ooo { namespace vba { namespace excel {
15 : :
16 : 22 : class SAL_NO_VTABLE XWorksheets : public ::ooo::vba::XCollection
17 : : {
18 : : public:
19 : :
20 : : // Attributes
21 : : virtual ::com::sun::star::uno::Any SAL_CALL getVisible() throw (::com::sun::star::uno::RuntimeException) = 0;
22 : : virtual void SAL_CALL setVisible( const ::com::sun::star::uno::Any& _visible ) throw (::com::sun::star::uno::RuntimeException) = 0;
23 : :
24 : : // Methods
25 : : virtual ::com::sun::star::uno::Any SAL_CALL Add( const ::com::sun::star::uno::Any& Before, const ::com::sun::star::uno::Any& After, const ::com::sun::star::uno::Any& Count, const ::com::sun::star::uno::Any& Type ) throw (::com::sun::star::uno::RuntimeException) = 0;
26 : : virtual void SAL_CALL Delete( ) throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL PrintOut( const ::com::sun::star::uno::Any& From, const ::com::sun::star::uno::Any& To, const ::com::sun::star::uno::Any& Copies, const ::com::sun::star::uno::Any& Preview, const ::com::sun::star::uno::Any& ActivePrinter, const ::com::sun::star::uno::Any& PrintToFile, const ::com::sun::star::uno::Any& Collate, const ::com::sun::star::uno::Any& PrToFileName ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual void SAL_CALL Select( const ::com::sun::star::uno::Any& Replace ) throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual void SAL_CALL Copy( const ::com::sun::star::uno::Any& Before, const ::com::sun::star::uno::Any& After ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual void SAL_CALL PrintPreview( const ::com::sun::star::uno::Any& EnableChanges ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : :
32 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
33 : :
34 : : protected:
35 : 22 : ~XWorksheets() throw () {} // avoid warnings about virtual members and non-virtual dtor
36 : : };
37 : :
38 : :
39 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XWorksheets const *);
40 : : } } }
41 : :
42 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheets > *) SAL_THROW(());
43 : :
44 : : #endif
|