Public Member Functions | Protected Member Functions | Private Attributes

IE_Imp_PalmDoc Class Reference

#include <ie_imp_PalmDoc.h>

Inheritance diagram for IE_Imp_PalmDoc:

List of all members.

Public Member Functions

 IE_Imp_PalmDoc (PD_Document *pDocument)
 ~IE_Imp_PalmDoc ()

Protected Member Functions

virtual UT_Error _loadFile (GsfInput *fp)
UT_Error _parseFile (GsfInput *fp)
UT_Error _writeHeader (GsfInput *fp)
void _selectSwap ()
void _uncompress (buffer *)
Byte_mem_find (Byte *t, int t_len, Byte *m, int m_len)
Word _swap_Word (Word)
DWord _swap_DWord (DWord)

Private Attributes

UT_UCS4_mbtowc m_Mbtowc
GsfInput * m_pdfp
pdb_header m_header
doc_record0 m_rec0
unsigned long m_index
DWord m_recOffset
UT_uint32 m_numRecords
DWord m_fileSize
UT_uint32 m_bufLen
UT_uint32 m_bufPosition
bool m_littlendian

Constructor & Destructor Documentation

IE_Imp_PalmDoc::IE_Imp_PalmDoc ( PD_Document pDocument  ) 
IE_Imp_PalmDoc::~IE_Imp_PalmDoc (  ) 

Member Function Documentation

UT_Error IE_Imp_PalmDoc::_loadFile ( GsfInput *  fp  )  [protected, virtual]

Implements IE_Imp.

References _parseFile(), _writeHeader(), m_pdfp, and X_CleanupIfError.

Byte* IE_Imp_PalmDoc::_mem_find ( Byte t,
int  t_len,
Byte m,
int  m_len 
) [protected]
void IE_Imp_PalmDoc::_selectSwap (  )  [protected]

References m_littlendian.

Referenced by IE_Imp_PalmDoc().

DWord IE_Imp_PalmDoc::_swap_DWord ( DWord  r  )  [protected]

References m_littlendian.

Word IE_Imp_PalmDoc::_swap_Word ( Word  r  )  [protected]

References m_littlendian.

Referenced by _parseFile().

void IE_Imp_PalmDoc::_uncompress ( buffer buf  )  [protected]
UT_Error IE_Imp_PalmDoc::_writeHeader ( GsfInput *  fp  )  [protected]

Member Data Documentation

unsigned long IE_Imp_PalmDoc::m_index [private]
GsfInput* IE_Imp_PalmDoc::m_pdfp [private]

Referenced by _loadFile(), and IE_Imp_PalmDoc().

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