#include <WPXStream.h>
Inheritance diagram for WPXInputStream:
Public Member Functions | |
WPXInputStream (bool supportsOLE) | |
virtual | ~WPXInputStream () |
virtual bool | isOLEStream ()=0 |
Analyses the content of the input stream to see whether it is an OLE2 storage. | |
virtual WPXInputStream * | getDocumentOLEStream ()=0 |
Extracts a PerfectOffice_MAIN stream from an OLE2 storage. | |
virtual const uint8_t * | read (size_t numBytes, size_t &numBytesRead)=0 |
Tries to read a given number of bytes starting from the current position inside the input stream. | |
virtual int | seek (long offset, WPX_SEEK_TYPE seekType)=0 |
Moves to the next location inside the input stream. | |
virtual long | tell ()=0 |
Returns the actual position inside the input stream. | |
virtual bool | atEOS ()=0 |
Determines whether the current position is at the end of the stream. | |
Private Attributes | |
bool | m_supportsOLE |
|
|
|
|
|
Determines whether the current position is at the end of the stream.
Implemented in GSFInputStream, WPXMemoryInputStream, WPXFileStream, and WPXStringStream. |
|
Extracts a
Implemented in GSFInputStream, WPXMemoryInputStream, WPXFileStream, and WPXStringStream. |
|
Analyses the content of the input stream to see whether it is an OLE2 storage.
Implemented in GSFInputStream, WPXMemoryInputStream, WPXFileStream, and WPXStringStream. |
|
Tries to read a given number of bytes starting from the current position inside the input stream.
Implemented in GSFInputStream, WPXMemoryInputStream, WPXFileStream, and WPXStringStream. |
|
Moves to the next location inside the input stream.
Implemented in GSFInputStream, WPXMemoryInputStream, WPXFileStream, and WPXStringStream. |
|
Returns the actual position inside the input stream.
Implemented in GSFInputStream, WPXMemoryInputStream, WPXFileStream, and WPXStringStream. |
|
|