diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-01-20 09:17:18 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-01-20 09:17:18 +0000 |
commit | 408d7c64be92aac5c689669ba4708b9d82994b68 (patch) | |
tree | 19f939063e3f574c16867a525b3fa2ba0d819282 /sd/inc/sdfilter.hxx | |
parent | dc149a5fae23128f8449ab2d241e0662d7c395d0 (diff) |
INTEGRATION: CWS impress1 (1.1.254); FILE MERGED
2003/09/16 12:06:54 af 1.1.254.1: #111996# Moved SdDrawDocShell to namespace sd.
Diffstat (limited to 'sd/inc/sdfilter.hxx')
-rw-r--r-- | sd/inc/sdfilter.hxx | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/sd/inc/sdfilter.hxx b/sd/inc/sdfilter.hxx index 75367a65c328..0e197f1f8cad 100644 --- a/sd/inc/sdfilter.hxx +++ b/sd/inc/sdfilter.hxx @@ -2,9 +2,9 @@ * * $RCSfile: sdfilter.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: ka $ $Date: 2001-02-13 12:01:15 $ + * last change: $Author: obo $ $Date: 2004-01-20 10:17:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -80,26 +80,32 @@ // ------------ class SfxMedium; -class SdDrawDocShell; +namespace sd { +class DrawDocShell; +} class SdDrawDocument; class SfxProgress; namespace vos { class OModule; } class SdFilter { -private: +public: + SdFilter( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell, sal_Bool bShowProgress ); + ~SdFilter(); - ::rtl::OUString ImplGetFullLibraryName( const ::rtl::OUString& rLibraryName ) const; + virtual sal_Bool Import(); + virtual sal_Bool Export(); -protected: + sal_Bool IsProgress() const { return mbShowProgress; } + sal_Bool IsDraw() const { return mbIsDraw; } + sal_Bool IsImpress() const { return !mbIsDraw; } +protected: ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > mxModel; ::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > mxStatusIndicator; -protected: - SfxMedium& mrMedium; - SdDrawDocShell& mrDocShell; + ::sd::DrawDocShell& mrDocShell; SdDrawDocument& mrDocument; SfxProgress* mpProgress; sal_Bool mbIsDraw : 1; @@ -109,17 +115,10 @@ protected: void CreateStatusIndicator(); void CreateProgress(); -public: - - SdFilter( SfxMedium& rMedium, SdDrawDocShell& rDocShell, sal_Bool bShowProgress ); - ~SdFilter(); +private: - virtual sal_Bool Import(); - virtual sal_Bool Export(); + ::rtl::OUString ImplGetFullLibraryName( const ::rtl::OUString& rLibraryName ) const; - sal_Bool IsProgress() const { return mbShowProgress; } - sal_Bool IsDraw() const { return mbIsDraw; } - sal_Bool IsImpress() const { return !mbIsDraw; } }; #endif // _SD_SDFILTER_HXX |