summaryrefslogtreecommitdiff
path: root/xmlscript/inc
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2001-02-27 11:45:17 +0000
committerDaniel Boelzle <dbo@openoffice.org>2001-02-27 11:45:17 +0000
commit85d498fcd5a83d5f09e4a5979f297252731b48d3 (patch)
treec2d931151c6dbf62b06b84efce9a547d19382f91 /xmlscript/inc
parente59fc339bc9b0121045fdaf981c0938b14144ccb (diff)
further impl; bugfixing
Diffstat (limited to 'xmlscript/inc')
-rw-r--r--xmlscript/inc/xmlscript/xml_helper.hxx21
-rw-r--r--xmlscript/inc/xmlscript/xmldlg_imexp.hxx40
2 files changed, 38 insertions, 23 deletions
diff --git a/xmlscript/inc/xmlscript/xml_helper.hxx b/xmlscript/inc/xmlscript/xml_helper.hxx
index 820fbf06d0..6da136ed58 100644
--- a/xmlscript/inc/xmlscript/xml_helper.hxx
+++ b/xmlscript/inc/xmlscript/xml_helper.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xml_helper.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: dbo $ $Date: 2001-02-16 14:14:47 $
+ * last change: $Author: dbo $ $Date: 2001-02-27 12:45:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,13 +61,22 @@
#ifndef _XMLSCRIPT_XML_HELPER_HXX_
#define _XMLSCRIPT_XML_HELPER_HXX_
+#ifndef _RTL_BYTESEQ_HXX_
#include <rtl/byteseq.hxx>
+#endif
+#ifndef _COM_SUN_STAR_XML_XIMPORTER_HXX_
#include <com/sun/star/xml/XImporter.hpp>
+#endif
+#ifndef _COM_SUN_STAR_XML_SAX_XDOCUMENTHANDLER_HXX_
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
-
+#endif
+#ifndef _COM_SUN_STAR_IO_XINPUTSTREAM_HXX_
#include <com/sun/star/io/XInputStream.hpp>
+#endif
+#ifndef _COM_SUN_STAR_IO_XOUTPUTSTREAM_HXX_
#include <com/sun/star/io/XOutputStream.hpp>
+#endif
namespace xmlscript
@@ -85,7 +94,7 @@ struct NameSpaceUid
};
//==================================================================================================
-::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >
+SAL_DLLEXPORT ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >
SAL_CALL createDocumentHandler(
NameSpaceUid const * pNamespaceUids, sal_Int32 nNameSpaceUids,
sal_Int32 nUnknownNamespaceUid,
@@ -94,12 +103,12 @@ SAL_CALL createDocumentHandler(
throw ();
//==================================================================================================
-::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >
+SAL_DLLEXPORT ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >
SAL_CALL createInputStream(
::rtl::ByteSequence const & rInData )
throw ();
//==================================================================================================
-::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >
+SAL_DLLEXPORT ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >
SAL_CALL createOutputStream(
::rtl::ByteSequence * pOutData )
throw ();
diff --git a/xmlscript/inc/xmlscript/xmldlg_imexp.hxx b/xmlscript/inc/xmlscript/xmldlg_imexp.hxx
index 773e4c4779..328b4c3e8a 100644
--- a/xmlscript/inc/xmlscript/xmldlg_imexp.hxx
+++ b/xmlscript/inc/xmlscript/xmldlg_imexp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmldlg_imexp.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: ab $ $Date: 2001-02-26 12:59:16 $
+ * last change: $Author: dbo $ $Date: 2001-02-27 12:45:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,6 +71,7 @@
#include <com/sun/star/uno/Sequence.hxx>
#endif
+
namespace xmlscript
{
@@ -80,30 +81,35 @@ namespace xmlscript
//==================================================================================================
-SAL_DLLEXPORT void SAL_CALL exportDialogModel(
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > const & xDialogModel,
- ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XExtendedDocumentHandler > const & xOut )
+SAL_DLLEXPORT void
+SAL_CALL exportDialogModels(
+ ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::sax::XExtendedDocumentHandler > const & xOut,
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference<
+ ::com::sun::star::container::XNameContainer > > const & rInModels )
throw (::com::sun::star::uno::Exception);
-
//==================================================================================================
SAL_DLLEXPORT ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >
-SAL_CALL importDialogModel(
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > const & xDialogModel )
+SAL_CALL importDialogModels(
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference<
+ ::com::sun::star::container::XNameContainer > > * pOutModels )
throw (::com::sun::star::uno::Exception);
//==================================================================================================
-SAL_DLLEXPORT void SAL_CALL exportDialogModelToByteSequence(
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > const & xDialogModel,
- ::com::sun::star::uno::Sequence< sal_Int8 >& aDestSequence )
+SAL_DLLEXPORT void
+SAL_CALL exportDialogModelsToByteSequence(
+ ::com::sun::star::uno::Sequence< sal_Int8 > * pOutBytes,
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference<
+ ::com::sun::star::container::XNameContainer > > const & rInModels )
throw (::com::sun::star::uno::Exception);
-
//==================================================================================================
-SAL_DLLEXPORT void SAL_CALL importDialogModelFromByteSequence(
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > const & xDialogModel,
- ::com::sun::star::uno::Sequence< sal_Int8 > const& aSourceSequence )
+SAL_DLLEXPORT void
+SAL_CALL importDialogModelsFromByteSequence(
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference<
+ ::com::sun::star::container::XNameContainer > > * pOutModels,
+ ::com::sun::star::uno::Sequence< sal_Int8 > const & rInBytes )
throw (::com::sun::star::uno::Exception);
-
+
};
#endif
-