Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_XML_SAX_XFASTSHAPECONTEXTHANDLER_HDL
2 : #define INCLUDED_COM_SUN_STAR_XML_SAX_XFASTSHAPECONTEXTHANDLER_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
8 : namespace com { namespace sun { namespace star { namespace drawing { class XDrawPage; } } } }
9 : namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } }
10 : namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
11 : #include "com/sun/star/xml/sax/XFastContextHandler.hdl"
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 com { namespace sun { namespace star { namespace xml { namespace sax {
20 :
21 21 : class SAL_NO_VTABLE XFastShapeContextHandler : public css::xml::sax::XFastContextHandler
22 : {
23 : public:
24 :
25 : // Attributes
26 : virtual ::com::sun::star::uno::Reference< css::drawing::XShape > SAL_CALL getShape() = 0;
27 : virtual ::com::sun::star::uno::Reference< css::drawing::XDrawPage > SAL_CALL getDrawPage() = 0;
28 : virtual void SAL_CALL setDrawPage( const ::com::sun::star::uno::Reference< css::drawing::XDrawPage >& _drawpage ) = 0;
29 : virtual ::com::sun::star::uno::Reference< css::frame::XModel > SAL_CALL getModel() = 0;
30 : virtual void SAL_CALL setModel( const ::com::sun::star::uno::Reference< css::frame::XModel >& _model ) = 0;
31 : virtual ::com::sun::star::uno::Reference< css::io::XInputStream > SAL_CALL getInputStream() = 0;
32 : virtual void SAL_CALL setInputStream( const ::com::sun::star::uno::Reference< css::io::XInputStream >& _inputstream ) = 0;
33 : virtual ::rtl::OUString SAL_CALL getRelationFragmentPath() = 0;
34 : virtual void SAL_CALL setRelationFragmentPath( const ::rtl::OUString& _relationfragmentpath ) = 0;
35 : virtual ::sal_Int32 SAL_CALL getStartToken() = 0;
36 : virtual void SAL_CALL setStartToken( ::sal_Int32 _starttoken ) = 0;
37 :
38 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
39 :
40 : protected:
41 21 : ~XFastShapeContextHandler() throw () {} // avoid warnings about virtual members and non-virtual dtor
42 : };
43 :
44 :
45 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xml::sax::XFastShapeContextHandler const *);
46 : } } } } }
47 :
48 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::xml::sax::XFastShapeContextHandler > *) SAL_THROW(());
49 :
50 : #endif
|