LibreOffice Module lotuswordpro (master) 1
|
#include "lwpfilter.hxx"
#include <xfilter/xfglobal.hxx>
#include <xfilter/xfsaxstream.hxx>
#include "lwp9reader.hxx"
#include <lwpsvstream.hxx>
#include <tools/stream.hxx>
#include <com/sun/star/io/IOException.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
#include <memory>
#include "bento.hxx"
#include "explode.hxx"
Go to the source code of this file.
Functions | |
static bool | Decompress (SvStream *pCompressed, SvStream *&pOutDecompressed) |
static bool | GetLwpSvStream (SvStream *pStream, LwpSvStream *&pLwpSvStream) |
@descr Get LwpSvStream, if small file, both compressed/decompressed stream Otherwise, only normal stream More... | |
int | ReadWordproFile (SvStream &rStream, uno::Reference< css::xml::sax::XDocumentHandler > const &xHandler) |
Definition at line 88 of file lwpfilter.cxx.
References OpenStormBento::BenErr_OK, OpenStormBento::BenOpenContainer(), Decompression::explode(), nPos, SvStream::ReadBytes(), and SvStream::Seek().
Referenced by GetLwpSvStream().
|
static |
@descr Get LwpSvStream, if small file, both compressed/decompressed stream Otherwise, only normal stream
pStream | - real file stream |
LwpSvStream | * , created inside, deleted outside |
sal_Bool,sal_True | - |
Definition at line 137 of file lwpfilter.cxx.
References Decompress(), SvStream::ReadUInt32(), and SvStream::Seek().
Referenced by ReadWordproFile().
int ReadWordproFile | ( | SvStream & | rStream, |
uno::Reference< css::xml::sax::XDocumentHandler > const & | xHandler | ||
) |
Definition at line 170 of file lwpfilter.cxx.
References LwpSvStream::GetCompressedStream(), GetLwpSvStream(), LwpSvStream::GetStream(), Lwp9Reader::Read(), and XFGlobalReset().
Referenced by LotusWordProImportFilter::importImpl(), and TestImportLWP().