LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Lwp9Reader Class Referencefinal

Reader framework class for Lotus Word Pro 9 file. More...

#include <lwp9reader.hxx>

Collaboration diagram for Lwp9Reader:
[legend]

Public Member Functions

 Lwp9Reader (LwpSvStream *InputStream, IXFStream *pStream)
 
bool Read ()
 @descr The entrance of Word Pro 9 import filter. More...
 

Private Member Functions

bool ReadFileHeader ()
 @descr Read the LWP7 object. More...
 
void ReadIndex ()
 @descr Read the index objects at the end of the WordProData stream More...
 
bool ParseDocument ()
 @descr Parse all document content More...
 
void WriteDocHeader ()
 @descr Write xml document header More...
 
void WriteDocEnd ()
 @descr Write xml document end More...
 

Private Attributes

LwpSvStreamm_pDocStream
 
IXFStreamm_pStream
 
LwpObjectFactorym_pObjMgr
 
LwpFileHeader m_LwpFileHdr
 

Detailed Description

Reader framework class for Lotus Word Pro 9 file.

Definition at line 68 of file lwp9reader.hxx.

Constructor & Destructor Documentation

◆ Lwp9Reader()

Lwp9Reader::Lwp9Reader ( LwpSvStream InputStream,
IXFStream pStream 
)

Definition at line 67 of file lwp9reader.cxx.

References m_pStream.

Member Function Documentation

◆ ParseDocument()

bool Lwp9Reader::ParseDocument ( )
private

◆ Read()

bool Lwp9Reader::Read ( )

◆ ReadFileHeader()

bool Lwp9Reader::ReadFileHeader ( )
private

◆ ReadIndex()

void Lwp9Reader::ReadIndex ( )
private

@descr Read the index objects at the end of the WordProData stream

Definition at line 130 of file lwp9reader.cxx.

References LwpFileHeader::GetRootIndexOffset(), LwpSvStream::LWP_STREAM_BASE, m_LwpFileHdr, m_pDocStream, m_pObjMgr, LwpObjectFactory::ReadIndex(), LwpSvStream::Seek(), and LwpSvStream::Tell().

Referenced by Read().

◆ WriteDocEnd()

void Lwp9Reader::WriteDocEnd ( )
private

@descr Write xml document end

Definition at line 216 of file lwp9reader.cxx.

References IXFStream::EndDocument(), IXFStream::EndElement(), and m_pStream.

Referenced by ParseDocument().

◆ WriteDocHeader()

void Lwp9Reader::WriteDocHeader ( )
private

Member Data Documentation

◆ m_LwpFileHdr

LwpFileHeader Lwp9Reader::m_LwpFileHdr
private

Definition at line 77 of file lwp9reader.hxx.

Referenced by ParseDocument(), ReadFileHeader(), and ReadIndex().

◆ m_pDocStream

LwpSvStream* Lwp9Reader::m_pDocStream
private

Definition at line 74 of file lwp9reader.hxx.

Referenced by Read(), ReadFileHeader(), and ReadIndex().

◆ m_pObjMgr

LwpObjectFactory* Lwp9Reader::m_pObjMgr
private

Definition at line 76 of file lwp9reader.hxx.

Referenced by Read(), and ReadIndex().

◆ m_pStream

IXFStream* Lwp9Reader::m_pStream
private

Definition at line 75 of file lwp9reader.hxx.

Referenced by ParseDocument(), WriteDocEnd(), and WriteDocHeader().


The documentation for this class was generated from the following files: