Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_XML_DOM_XDOCUMENT_HPP
2 : #define INCLUDED_COM_SUN_STAR_XML_DOM_XDOCUMENT_HPP
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/xml/dom/XDocument.hdl"
7 :
8 : #include "com/sun/star/uno/RuntimeException.hpp"
9 : #include "com/sun/star/xml/dom/DOMException.hpp"
10 : #include "com/sun/star/xml/dom/XAttr.hpp"
11 : #include "com/sun/star/xml/dom/XCDATASection.hpp"
12 : #include "com/sun/star/xml/dom/XComment.hpp"
13 : #include "com/sun/star/xml/dom/XDOMImplementation.hpp"
14 : #include "com/sun/star/xml/dom/XDocumentFragment.hpp"
15 : #include "com/sun/star/xml/dom/XDocumentType.hpp"
16 : #include "com/sun/star/xml/dom/XElement.hpp"
17 : #include "com/sun/star/xml/dom/XEntityReference.hpp"
18 : #include "com/sun/star/xml/dom/XNode.hpp"
19 : #include "com/sun/star/xml/dom/XNodeList.hpp"
20 : #include "com/sun/star/xml/dom/XProcessingInstruction.hpp"
21 : #include "com/sun/star/xml/dom/XText.hpp"
22 : #include "com/sun/star/uno/Reference.hxx"
23 : #include "com/sun/star/uno/Type.hxx"
24 : #include "cppu/unotype.hxx"
25 : #include "osl/mutex.hxx"
26 : #include "rtl/ustring.hxx"
27 : #include "rtl/instance.hxx"
28 : #include "sal/types.h"
29 :
30 : namespace com { namespace sun { namespace star { namespace xml { namespace dom {
31 :
32 442 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xml::dom::XDocument const *) {
33 : static typelib_TypeDescriptionReference * the_type = 0;
34 442 : if ( !the_type )
35 : {
36 170 : typelib_static_type_init( &the_type, typelib_TypeClass_INTERFACE, "com.sun.star.xml.dom.XDocument" );
37 : }
38 442 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
39 : }
40 :
41 : } } } } }
42 :
43 98 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::uno::Reference< css::xml::dom::XDocument > const *) SAL_THROW(()) {
44 98 : return ::cppu::UnoType< ::com::sun::star::uno::Reference< css::xml::dom::XDocument > >::get();
45 : }
46 :
47 98 : ::com::sun::star::uno::Type const & css::xml::dom::XDocument::static_type(SAL_UNUSED_PARAMETER void *) {
48 98 : return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< css::xml::dom::XDocument > * >(0));
49 : }
50 :
51 : #endif // INCLUDED_COM_SUN_STAR_XML_DOM_XDOCUMENT_HPP
|