Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes

IE_Imp_EPUB Class Reference

Class used to import EPUB files. More...

#include <ie_imp_EPUB.h>

Inheritance diagram for IE_Imp_EPUB:

List of all members.

Public Member Functions

 IE_Imp_EPUB (PD_Document *pDocument)
virtual ~IE_Imp_EPUB ()
virtual bool pasteFromBuffer (PD_DocumentRange *pDocRange, const unsigned char *pData, UT_uint32 lenData, const char *szEncoding=0)

Protected Member Functions

virtual UT_Error _loadFile (GsfInput *input)

Private Member Functions

UT_Error readMetadata ()
UT_Error readPackage ()
UT_Error uncompress ()
UT_Error readStructure ()

Static Private Member Functions

static GsfOutput * createFileByPath (const char *path)

Private Attributes

GsfInfile * m_epub
std::string m_rootfilePath
std::string m_tmpDir
std::string m_opsDir
std::vector< std::string > m_spine
std::map< std::string,
std::string > 

Detailed Description

Class used to import EPUB files.

Constructor & Destructor Documentation

IE_Imp_EPUB::IE_Imp_EPUB ( PD_Document pDocument  ) 

Referenced by pasteFromBuffer().

IE_Imp_EPUB::~IE_Imp_EPUB (  )  [virtual]

Member Function Documentation

UT_Error IE_Imp_EPUB::_loadFile ( GsfInput *  input  )  [protected, virtual]
GsfOutput * IE_Imp_EPUB::createFileByPath ( const char *  path  )  [static, private]
bool IE_Imp_EPUB::pasteFromBuffer ( PD_DocumentRange pDocRange,
const unsigned char *  pData,
UT_uint32  lenData,
const char *  szEncoding = 0 
) [virtual]

Member Data Documentation

GsfInfile* IE_Imp_EPUB::m_epub [private]
std::map<std::string, std::string> IE_Imp_EPUB::m_manifestItems [private]
std::string IE_Imp_EPUB::m_opsDir [private]

Referenced by readPackage(), and uncompress().

std::string IE_Imp_EPUB::m_rootfilePath [private]

Referenced by readMetadata(), and readPackage().

std::vector<std::string> IE_Imp_EPUB::m_spine [private]

Referenced by readPackage(), and readStructure().

std::string IE_Imp_EPUB::m_tmpDir [private]

Referenced by readStructure(), and uncompress().

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