Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_XFORMS_XMODEL_HDL
2 : #define INCLUDED_COM_SUN_STAR_XFORMS_XMODEL_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } }
7 : namespace com { namespace sun { namespace star { namespace container { class XSet; } } } }
8 : #include "com/sun/star/lang/WrappedTargetException.hdl"
9 : namespace com { namespace sun { namespace star { namespace task { class XInteractionHandler; } } } }
10 : #include "com/sun/star/uno/RuntimeException.hdl"
11 : #include "com/sun/star/uno/XInterface.hdl"
12 : #include "com/sun/star/util/VetoException.hdl"
13 : namespace com { namespace sun { namespace star { namespace xforms { class XDataTypeRepository; } } } }
14 : namespace com { namespace sun { namespace star { namespace xforms { class XSubmission; } } } }
15 : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XDocument; } } } } }
16 : #include "com/sun/star/uno/Reference.h"
17 : #include "cppu/macros.hxx"
18 : #include "rtl/ustring.hxx"
19 :
20 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
21 :
22 : namespace com { namespace sun { namespace star { namespace xforms {
23 :
24 0 : class SAL_NO_VTABLE XModel : public css::uno::XInterface
25 : {
26 : public:
27 :
28 : // Methods
29 : virtual ::rtl::OUString SAL_CALL getID() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual void SAL_CALL setID( const ::rtl::OUString& id ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual void SAL_CALL initialize() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual void SAL_CALL rebuild() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual void SAL_CALL recalculate() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL revalidate() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual void SAL_CALL refresh() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual void SAL_CALL submit( const ::rtl::OUString& id ) /* throw (css::util::VetoException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual void SAL_CALL submitWithInteraction( const ::rtl::OUString& id, const ::com::sun::star::uno::Reference< css::task::XInteractionHandler >& aHandler ) /* throw (css::util::VetoException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual ::com::sun::star::uno::Reference< css::xforms::XDataTypeRepository > SAL_CALL getDataTypeRepository() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::com::sun::star::uno::Reference< css::container::XSet > SAL_CALL getInstances() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual ::com::sun::star::uno::Reference< css::xml::dom::XDocument > SAL_CALL getInstanceDocument( const ::rtl::OUString& id ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual ::com::sun::star::uno::Reference< css::xml::dom::XDocument > SAL_CALL getDefaultInstance() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual ::com::sun::star::uno::Reference< css::beans::XPropertySet > SAL_CALL createBinding() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual ::com::sun::star::uno::Reference< css::beans::XPropertySet > SAL_CALL cloneBinding( const ::com::sun::star::uno::Reference< css::beans::XPropertySet >& binding ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual ::com::sun::star::uno::Reference< css::beans::XPropertySet > SAL_CALL getBinding( const ::rtl::OUString& id ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual ::com::sun::star::uno::Reference< css::container::XSet > SAL_CALL getBindings() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual ::com::sun::star::uno::Reference< css::xforms::XSubmission > SAL_CALL createSubmission() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual ::com::sun::star::uno::Reference< css::xforms::XSubmission > SAL_CALL cloneSubmission( const ::com::sun::star::uno::Reference< css::beans::XPropertySet >& submission ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
48 : virtual ::com::sun::star::uno::Reference< css::xforms::XSubmission > SAL_CALL getSubmission( const ::rtl::OUString& id ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
49 : virtual ::com::sun::star::uno::Reference< css::container::XSet > SAL_CALL getSubmissions() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
50 :
51 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
52 :
53 : protected:
54 0 : ~XModel() throw () {} // avoid warnings about virtual members and non-virtual dtor
55 : };
56 :
57 :
58 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xforms::XModel const *);
59 : } } } }
60 :
61 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::xforms::XModel > *) SAL_THROW(());
62 :
63 : #endif
|