Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_XFORMS_XFORMSUIHELPER1_HDL
2 : : #define INCLUDED_COM_SUN_STAR_XFORMS_XFORMSUIHELPER1_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XDocument; } } } } }
7 : : namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
8 : : namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } }
9 : : #include "com/sun/star/uno/RuntimeException.hdl"
10 : : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XNode; } } } } }
11 : : #include "com/sun/star/uno/XInterface.hdl"
12 : : namespace com { namespace sun { namespace star { namespace xforms { class XModel; } } } }
13 : : #include "com/sun/star/uno/Reference.h"
14 : : #include "cppu/macros.hxx"
15 : : #include "rtl/ustring.hxx"
16 : : #include "sal/types.h"
17 : :
18 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
19 : :
20 : : namespace com { namespace sun { namespace star { namespace xforms {
21 : :
22 : 0 : class SAL_NO_VTABLE XFormsUIHelper1 : public ::com::sun::star::uno::XInterface
23 : : {
24 : : public:
25 : :
26 : : // Methods
27 : : virtual ::rtl::OUString SAL_CALL getDefaultServiceNameForNode( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode >& xNode ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::rtl::OUString SAL_CALL getDefaultBindingExpressionForNode( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode >& xNode ) throw (::com::sun::star::uno::RuntimeException) = 0;
29 : : virtual ::rtl::OUString SAL_CALL getNodeDisplayName( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode >& xNode, ::sal_Bool bDetail ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::rtl::OUString SAL_CALL getNodeName( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode >& xNode ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::rtl::OUString SAL_CALL getBindingName( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xBinding, ::sal_Bool bDetail ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::rtl::OUString SAL_CALL getSubmissionName( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xSubm, ::sal_Bool bDetail ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL cloneBindingAsGhost( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& binding ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual void SAL_CALL removeBindingIfUseless( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xBinding ) throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XDocument > SAL_CALL newInstance( const ::rtl::OUString& sName, const ::rtl::OUString& sURL, ::sal_Bool bURLOnce ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL renameInstance( const ::rtl::OUString& sFrom, const ::rtl::OUString& sTo, const ::rtl::OUString& sURL, ::sal_Bool bURLOnce ) throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual void SAL_CALL removeInstance( const ::rtl::OUString& sName ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::xforms::XModel > SAL_CALL newModel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel, const ::rtl::OUString& sName ) throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual void SAL_CALL renameModel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel, const ::rtl::OUString& sFrom, const ::rtl::OUString& sTo ) throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual void SAL_CALL removeModel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel, const ::rtl::OUString& sName ) throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode > SAL_CALL createElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode >& xParent, const ::rtl::OUString& sName ) throw (::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode > SAL_CALL createAttribute( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode >& xParent, const ::rtl::OUString& sName ) throw (::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode > SAL_CALL renameNode( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode >& xNode, const ::rtl::OUString& sName ) throw (::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getBindingForNode( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode >& xNode, ::sal_Bool bCreate ) throw (::com::sun::star::uno::RuntimeException) = 0;
45 : : virtual void SAL_CALL removeBindingForNode( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode >& xNode ) throw (::com::sun::star::uno::RuntimeException) = 0;
46 : : virtual ::rtl::OUString SAL_CALL getResultForExpression( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xBinding, ::sal_Bool bIsBindingExpression, const ::rtl::OUString& sExpression ) throw (::com::sun::star::uno::RuntimeException) = 0;
47 : : virtual ::sal_Bool SAL_CALL isValidXMLName( const ::rtl::OUString& sName ) throw (::com::sun::star::uno::RuntimeException) = 0;
48 : : virtual ::sal_Bool SAL_CALL isValidPrefixName( const ::rtl::OUString& sName ) throw (::com::sun::star::uno::RuntimeException) = 0;
49 : : virtual void SAL_CALL setNodeValue( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode >& xNode, const ::rtl::OUString& sValue ) 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 : ~XFormsUIHelper1() 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 ::com::sun::star::xforms::XFormsUIHelper1 const *);
59 : : } } } }
60 : :
61 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::xforms::XFormsUIHelper1 > *) SAL_THROW(());
62 : :
63 : : #endif
|