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
friend class Stream
Definition: WPSOLEStream.h:50
Definition: WPSOLEStream.h:55
Definition: libwps_internal.cpp:32
Definition: WPSOLEStream.h:55
~Storage()
Destroys the storage.
Definition: WPSOLEStream.cpp:1019
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
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
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