1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
13 #include <sot/storage.hxx>
14 #include <com/sun/star/io/XInputStream.hpp>
15 #include <com/sun/star/io/XSeekable.hpp>
17 #include <libwpd-stream/libwpd-stream.h>
19 class WPXSvInputStreamImpl
;
21 class WPXSvInputStream
: public WPXInputStream
24 WPXSvInputStream( ::com::sun::star::uno::Reference
<
25 ::com::sun::star::io::XInputStream
> xStream
);
26 virtual ~WPXSvInputStream();
28 virtual bool isOLEStream();
29 virtual WPXInputStream
* getDocumentOLEStream(const char *name
);
31 virtual const unsigned char *read(unsigned long numBytes
, unsigned long &numBytesRead
);
32 virtual int seek(long offset
, WPX_SEEK_TYPE seekType
);
37 WPXSvInputStreamImpl
*mpImpl
;
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */