11 #ifndef __FHINTERNALSTREAM_H__
12 #define __FHINTERNALSTREAM_H__
16 #include <libwpd-stream/libwpd-stream.h>
24 FHInternalStream(WPXInputStream *input,
unsigned long size,
bool compressed=
false);
36 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead);
37 int seek(
long offset, WPX_SEEK_TYPE seekType);
volatile long m_offset
Definition: FHInternalStream.h:46
~FHInternalStream()
Definition: FHInternalStream.h:25
FHInternalStream(WPXInputStream *input, unsigned long size, bool compressed=false)
Definition: FHInternalStream.cpp:19
Definition: FHInternalStream.h:21
unsigned long getSize() const
Definition: FHInternalStream.h:40
WPXInputStream * getDocumentOLEStream(const char *)
Definition: FHInternalStream.h:31
bool isOLEStream()
Definition: FHInternalStream.h:27
int seek(long offset, WPX_SEEK_TYPE seekType)
Definition: FHInternalStream.cpp:115
bool atEOS()
Definition: FHInternalStream.cpp:141
std::vector< unsigned char > m_buffer
Definition: FHInternalStream.h:47
FHInternalStream & operator=(const FHInternalStream &)
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead)
Definition: FHInternalStream.cpp:90
long tell()
Definition: FHInternalStream.cpp:136