30 #ifndef WPSOLESTREAM_H
31 #define WPSOLESTREAM_H
60 Storage( shared_ptr<WPXInputStream> is );
116 unsigned long size();
121 unsigned long read(
unsigned char *data,
unsigned long maxlen );
133 #endif // WPXOLESTREAM_H
std::vector< std::string > getOLENames()
Returns the list of all ole leaves names.
Definition: WPSOLEStream.cpp:1034
Definition: WPSOLEStream.h:55
Definition: WPSOLEStream.h:55
unsigned long read(unsigned char *data, unsigned long maxlen)
Reads a block of data.
Definition: WPSOLEStream.cpp:1093
~Stream()
Destroys the stream.
Definition: WPSOLEStream.cpp:1083
~Storage()
Destroys the storage.
Definition: WPSOLEStream.cpp:1019
Stream & operator=(const Stream &)
Storage & operator=(const Storage &)
shared_ptr< WPXInputStream > getDocumentOLEStream(const std::string &name)
Returns a WPXInputStream corresponding to a name.
Definition: WPSOLEStream.cpp:1039
StreamIO * io
Definition: WPSOLEStream.h:124
unsigned long size()
Returns the stream size.
Definition: WPSOLEStream.cpp:1088
Definition: WPSOLEStream.cpp:259
StorageIO * io
Definition: WPSOLEStream.h:88
bool isOLEStream()
Checks whether the storage is OLE2 storage.
Definition: WPSOLEStream.cpp:1029
Definition: WPSOLEStream.h:55
Storage(shared_ptr< WPXInputStream > is)
Constructs a storage with data.
Definition: WPSOLEStream.cpp:1014
Definition: WPSOLEStream.h:48
Definition: WPSOLEStream.h:96
Stream(Storage *storage, const std::string &name)
Creates a new stream.
Definition: WPSOLEStream.cpp:1077
Definition: WPSOLEStream.h:55
Definition: WPSOLEStream.cpp:219
int result()
Returns the error code of last operation.
Definition: WPSOLEStream.cpp:1024
Definition: WPSOLEStream.h:55