summaryrefslogtreecommitdiff
path: root/sd/inc/sdxmlwrp.hxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2001-02-13 11:02:55 +0000
committerKai Ahrens <ka@openoffice.org>2001-02-13 11:02:55 +0000
commit3901e1132bb1e594bcf4ee25f959483c8c1f1889 (patch)
tree1729228fa7e8d6ddba45ba893f88259f122194d1 /sd/inc/sdxmlwrp.hxx
parentf23dd76effc48b29ec2ee4cd06db04d7ac0b285c (diff)
new filter interface
Diffstat (limited to 'sd/inc/sdxmlwrp.hxx')
-rw-r--r--sd/inc/sdxmlwrp.hxx35
1 files changed, 11 insertions, 24 deletions
diff --git a/sd/inc/sdxmlwrp.hxx b/sd/inc/sdxmlwrp.hxx
index 9a7e024d38af..286957ff7266 100644
--- a/sd/inc/sdxmlwrp.hxx
+++ b/sd/inc/sdxmlwrp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sdxmlwrp.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:48:28 $
+ * last change: $Author: ka $ $Date: 2001-02-13 12:02:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,34 +61,21 @@
#ifndef _SDXMLWRP_HXX
#define _SDXMLWRP_HXX
-class SdDrawDocument;
-class SfxMedium;
+#include "sdfilter.hxx"
-#ifndef _COM_SUN_STAR_FRAME_XMODEL_HPP_
-#include <com/sun/star/frame/XModel.hpp>
-#endif
+// ---------------
+// - SdXMLFilter -
+// ---------------
-class SdXMLWrapper
+class SdXMLFilter : public SdFilter
{
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel> mxLocalModel;
- SfxMedium& mrMedium;
-
- BOOL mbIsDraw : 1;
- BOOL mbShowProgress : 1;
-
public:
- SdXMLWrapper(
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>& xRef,
- SfxMedium& rMedium,
- BOOL bIsDraw, BOOL bShowProg = TRUE);
- BOOL Import();
- BOOL Export();
+ SdXMLFilter( SfxMedium& rMedium, SdDrawDocShell& rDocShell, sal_Bool bShowProgress );
+ ~SdXMLFilter();
- BOOL IsDraw() const { return mbIsDraw; }
- BOOL IsImpress() const { return !mbIsDraw; }
+ virtual sal_Bool Import();
+ virtual sal_Bool Export();
};
#endif // _SDXMLWRP_HXX
-
-