summaryrefslogtreecommitdiff
path: root/xmloff/inc/MetaImportComponent.hxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-09-11 04:19:20 +0000
committerSascha Ballach <sab@openoffice.org>2001-09-11 04:19:20 +0000
commit4a598200c48e08aca162537a9a23c06ff35d2900 (patch)
treed5faf5aba3e633341f65ea00b1911d9bf77eed24 /xmloff/inc/MetaImportComponent.hxx
parent0c4fc182a624ea09714086684af3b6de9a7c6259 (diff)
#90480#; make it possible to use the meta import component with a XDocumentInfo instead of a XModel
Diffstat (limited to 'xmloff/inc/MetaImportComponent.hxx')
-rw-r--r--xmloff/inc/MetaImportComponent.hxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/xmloff/inc/MetaImportComponent.hxx b/xmloff/inc/MetaImportComponent.hxx
index dc7b66cc058f..2125dc98240d 100644
--- a/xmloff/inc/MetaImportComponent.hxx
+++ b/xmloff/inc/MetaImportComponent.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: MetaImportComponent.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: sab $ $Date: 2001-02-28 17:44:36 $
+ * last change: $Author: sab $ $Date: 2001-09-11 05:17:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -69,10 +69,16 @@
#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_
#include <com/sun/star/uno/Reference.hxx>
#endif
-
+#ifndef _COM_SUN_STAR_DOCUMENT_XDOCUMENTINFO_HPP_
+#include <com/sun/star/document/XDocumentInfo.hpp>
+#endif
class XMLMetaImportComponent : public SvXMLImport
{
+private:
+ ::com::sun::star::uno::Reference<
+ ::com::sun::star::document::XDocumentInfo> xDocInfo;
+
public:
XMLMetaImportComponent() throw();
@@ -87,6 +93,9 @@ protected:
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
+ // XImporter
+ virtual void SAL_CALL setTargetDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc )
+ throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
};