34 #ifndef MWAW_INPUT_STREAM_H
35 #define MWAW_INPUT_STREAM_H
40 #include <libwpd-stream/libwpd-stream.h>
77 shared_ptr<WPXInputStream>
input() {
96 int seek(
long offset, WPX_SEEK_TYPE seekType);
131 const uint8_t *
read(
size_t numBytes,
unsigned long &numBytesRead);
135 static unsigned long readULong(WPXInputStream *stream,
int num,
unsigned long a,
bool inverseRead);
187 static uint8_t
readU8(WPXInputStream *stream);
200 shared_ptr<WPXInputStream> &dataInput,
201 shared_ptr<WPXInputStream> &rsrcInput)
const;
238 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead);
242 int seek(
long offset, WPX_SEEK_TYPE seekType);
int seek(long offset, WPX_SEEK_TYPE seekType)
Definition: MWAWInputStream.cxx:642
bool isStructuredDocument()
Definition: MWAWInputStream.hxx:247
class used to read/parse an OLE file
Definition: MWAWOLEStream.hxx:48
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
Definition: ACText.hxx:44
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead)
Definition: MWAWInputStream.cxx:660
WPXInputStream * getDocumentOLEStream(const char *name)
Definition: MWAWInputStream.hxx:257
std::vector< unsigned char > m_buffer
Definition: MWAWInputStream.hxx:262
MWAWStringStream & operator=(const MWAWStringStream &)
WPXInputStream * getSubStream(const char *)
Definition: MWAWInputStream.hxx:250
long tell()
Definition: MWAWInputStream.hxx:239
bool atEOS()
Definition: MWAWInputStream.hxx:243
an internal class used to return the OLE/Zip InputStream
Definition: MWAWInputStream.hxx:232
bool isOLEStream()
Definition: MWAWInputStream.hxx:254
MWAWStringStream(const unsigned char *data, const unsigned long dataSize)
Definition: MWAWInputStream.cxx:636
volatile long m_offset
Definition: MWAWInputStream.hxx:263
~MWAWStringStream()
Definition: MWAWInputStream.hxx:236