Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __WPSSTREAM_H__
00023 #define __WPSSTREAM_H__
00024
00025 #include <libwpd/WPXStream.h>
00026
00027 class WPSInputStream: public WPXInputStream
00028 {
00029 public:
00030 WPSInputStream() : WPXInputStream(true) {}
00031 virtual ~WPSInputStream() {}
00032 virtual const uint8_t *read(size_t numBytes, size_t &numBytesRead) = 0;
00033 virtual long tell() = 0;
00034 virtual int seek(long offset, WPX_SEEK_TYPE seekType) = 0;
00035 virtual bool atEOS() = 0;
00036
00037 virtual bool isOLEStream() = 0;
00038 virtual WPXInputStream *getDocumentOLEStream(const char * name) = 0;
00039 virtual WPXInputStream *getDocumentOLEStream() = 0;
00040 };
00041 #endif // __WPSSTREAM_H__