diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-01-23 11:18:25 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-01-23 11:18:25 +0000 |
commit | 2499e2497091983049c65cd010cb61fb891e88c8 (patch) | |
tree | b29d127ac668c1c4fb8971432e7b58de782fc9c7 /writerperfect/source/stream | |
parent | 4c2cefae797073999edabb3a7f29c47b1331d674 (diff) |
INTEGRATION: CWS fs08 (1.3.38); FILE MERGED
2007/01/03 15:51:59 fridrich_strba 1.3.38.3: make the mxChildStream and mxChildStorage members of the class again
2006/12/30 14:41:56 fridrich_strba 1.3.38.2: refactoring the stream class to make it a bit more robust
2006/12/18 09:27:18 fridrich_strba 1.3.38.1: convert writerperfect into a framework where converter libraries based on libwpd's api can simply plug themselves
Diffstat (limited to 'writerperfect/source/stream')
-rw-r--r-- | writerperfect/source/stream/WPXSvStream.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/writerperfect/source/stream/WPXSvStream.h b/writerperfect/source/stream/WPXSvStream.h index 737424f85f0c..64e9340b9bb3 100644 --- a/writerperfect/source/stream/WPXSvStream.h +++ b/writerperfect/source/stream/WPXSvStream.h @@ -4,6 +4,11 @@ #include <sot/storage.hxx> #include <com/sun/star/io/XInputStream.hpp> +#ifndef _COM_SUN_STAR_IO_XINPUTSTREAM_H_ +#include <com/sun/star/io/XSeekable.hpp> +#endif + + #include <libwpd/WPXStream.h> class WPXSvInputStream : public WPXInputStream @@ -15,6 +20,7 @@ public: virtual bool isOLEStream(); virtual WPXInputStream * getDocumentOLEStream(); + virtual WPXInputStream * getDocumentOLEStream(const char *name); virtual const uint8_t *read(size_t numBytes, size_t &numBytesRead); virtual int seek(long offset, WPX_SEEK_TYPE seekType); @@ -25,9 +31,10 @@ private: SotStorageRef mxChildStorage; SotStorageStreamRef mxChildStream; ::com::sun::star::uno::Reference< - ::com::sun::star::io::XInputStream > mxStream; + ::com::sun::star::io::XInputStream > mxStream; + ::com::sun::star::uno::Reference< + ::com::sun::star::io::XSeekable > mxSeekable; ::com::sun::star::uno::Sequence< sal_Int8 > maData; - sal_Int64 mnOffset; sal_Int64 mnLength; }; |