diff options
author | Pascal Junck <pjunck@openoffice.org> | 2004-11-03 07:52:15 +0000 |
---|---|---|
committer | Pascal Junck <pjunck@openoffice.org> | 2004-11-03 07:52:15 +0000 |
commit | c34c5fc5afd8408cb71644bc3c0796e3ae72d95b (patch) | |
tree | 5546cbe47f557f858956e15613ca6a05a22a7af9 /sd/inc/sdiocmpt.hxx | |
parent | bd6e3fc1eeddcc9cbbf7899c9f80af51b06a0f9f (diff) |
INTEGRATION: CWS aw019 (1.2.24); FILE MERGED
2004/10/21 15:51:04 aw 1.2.24.3: #i34831#
2004/09/30 13:13:26 aw 1.2.24.2: #i11190#
2004/09/29 14:30:11 aw 1.2.24.1: #i11190#
Diffstat (limited to 'sd/inc/sdiocmpt.hxx')
-rw-r--r-- | sd/inc/sdiocmpt.hxx | 42 |
1 files changed, 34 insertions, 8 deletions
diff --git a/sd/inc/sdiocmpt.hxx b/sd/inc/sdiocmpt.hxx index 9d20847e13ff..145c835d8473 100644 --- a/sd/inc/sdiocmpt.hxx +++ b/sd/inc/sdiocmpt.hxx @@ -2,9 +2,9 @@ * * $RCSfile: sdiocmpt.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-08-23 08:12:11 $ + * last change: $Author: pjunck $ $Date: 2004-11-03 08:52:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,19 +62,45 @@ #ifndef _SD_SDIOCMPT_HXX #define _SD_SDIOCMPT_HXX -#ifndef _SVDIO_HXX //autogen -#include <svx/svdio.hxx> +//BFS02#ifndef _SVDIO_HXX //autogen +//BFS02#include <svx/svdio.hxx> +//BFS02#endif +#ifndef _STREAM_HXX //autogen +#include <tools/stream.hxx> #endif +//BFS02 +////////////////////////////////////////////////////////////////////////////// +class SvStream; + +class old_SdrDownCompat +{ +protected: + SvStream& rStream; + UINT32 nSubRecSiz; + UINT32 nSubRecPos; + UINT16 nMode; + BOOL bOpen; + +protected: + void Read(); + void Write(); + +public: + old_SdrDownCompat(SvStream& rNewStream, UINT16 nNewMode); + ~old_SdrDownCompat(); + void OpenSubRecord(); + void CloseSubRecord(); +}; +////////////////////////////////////////////////////////////////////////////// + #ifndef INCLUDED_SDDLLAPI_H #include "sddllapi.h" #endif -class SvStream; - #define SDIOCOMPAT_VERSIONDONTKNOW (UINT16)0xffff -class SD_DLLPUBLIC SdIOCompat : public SdrDownCompat +class SD_DLLPUBLIC SdIOCompat : public old_SdrDownCompat { private: UINT16 nVersion; @@ -84,7 +110,7 @@ public: // nVer: nur beim Schreiben angeben SdIOCompat(SvStream& rNewStream, USHORT nNewMode, UINT16 nVer = SDIOCOMPAT_VERSIONDONTKNOW); - ~SdIOCompat() {}; + ~SdIOCompat(); UINT16 GetVersion() const { return nVersion; } }; |