22 #ifndef __WPXSTREAMIMPLEMENTATION_H__
23 #define __WPXSTREAMIMPLEMENTATION_H__
35 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead);
54 WPXStringStream(
const unsigned char *data,
const unsigned int dataSize);
57 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead);
71 #endif // __WPXSTREAMIMPLEMENTATION_H__
Definition: WPXStreamImplementation.cpp:46
WPXFileStreamPrivate * d
Definition: WPXStreamImplementation.h:44
WPXStringStream(const unsigned char *data, const unsigned int dataSize)
Definition: WPXStreamImplementation.cpp:337
int seek(long offset, WPX_SEEK_TYPE seekType)
Moves to the next location inside the input stream.
Definition: WPXStreamImplementation.cpp:222
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead)
Tries to read a given number of bytes starting from the current position inside the input stream...
Definition: WPXStreamImplementation.cpp:348
Definition: WPXStreamImplementation.cpp:62
long tell()
Returns the actual position inside the input stream.
Definition: WPXStreamImplementation.cpp:215
WPXStringStream & operator=(const WPXStringStream &)
Definition: WPXStreamImplementation.h:29
WPXStringStreamPrivate * d
Definition: WPXStreamImplementation.h:66
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead)
Tries to read a given number of bytes starting from the current position inside the input stream...
Definition: WPXStreamImplementation.cpp:146
bool isOLEStream()
Analyses the content of the input stream to see whether it is an OLE2 storage.
Definition: WPXStreamImplementation.cpp:268
bool isOLEStream()
Analyses the content of the input stream to see whether it is an OLE2 storage.
Definition: WPXStreamImplementation.cpp:410
WPXFileStream(const char *filename)
Definition: WPXStreamImplementation.cpp:106
WPXFileStream & operator=(const WPXFileStream &)
long tell()
Returns the actual position inside the input stream.
Definition: WPXStreamImplementation.cpp:374
~WPXStringStream()
Definition: WPXStreamImplementation.cpp:343
int seek(long offset, WPX_SEEK_TYPE seekType)
Moves to the next location inside the input stream.
Definition: WPXStreamImplementation.cpp:379
bool atEOS()
Determines whether the current position is at the end of the stream.
Definition: WPXStreamImplementation.cpp:261
~WPXFileStream()
Definition: WPXStreamImplementation.cpp:138
WPXInputStream * getDocumentOLEStream(const char *name)
Extracts a PerfectOffice_MAIN stream from an OLE2 storage.
Definition: WPXStreamImplementation.cpp:443
bool atEOS()
Determines whether the current position is at the end of the stream.
Definition: WPXStreamImplementation.cpp:402
WPXInputStream * getDocumentOLEStream(const char *name)
Extracts a PerfectOffice_MAIN stream from an OLE2 storage.
Definition: WPXStreamImplementation.cpp:302
Definition: WPXStreamImplementation.h:51
WPX_SEEK_TYPE
Definition: WPXStream.h:29