LibreOffice Module lotuswordpro (master) 1
Functions
lwpfilter.cxx File Reference
#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"
Include dependency graph for lwpfilter.cxx:

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)
 

Function Documentation

◆ Decompress()

static bool Decompress ( SvStream pCompressed,
SvStream *&  pOutDecompressed 
)
static

◆ GetLwpSvStream()

static bool GetLwpSvStream ( SvStream pStream,
LwpSvStream *&  pLwpSvStream 
)
static

@descr Get LwpSvStream, if small file, both compressed/decompressed stream Otherwise, only normal stream

Parameters
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().

◆ ReadWordproFile()

int ReadWordproFile ( SvStream rStream,
uno::Reference< css::xml::sax::XDocumentHandler > const &  xHandler 
)