#include <PeanutPressParser.h>
|
typedef std::unordered_map< std::string, std::vector< unsigned char > > | ImageMap_t |
|
|
| PDBParser (librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *document, unsigned type, unsigned creator) |
| Instantiate a parser for a document in Palm Database Format.
|
|
librevenge::RVNGTextInterface * | getDocument () const |
| Get the document generator used for this parsing run.
|
|
const char * | getName () const |
|
librevenge::RVNGInputStream * | getAppInfoRecord () const |
| Return a stream for the format's appInfo record, if it is present.
|
|
librevenge::RVNGInputStream * | getIndexRecord () const |
| Return a stream for the format's index record.
|
|
unsigned | getDataRecordCount () const |
| Return the number of data records in the document.
|
|
librevenge::RVNGInputStream * | getDataRecord (unsigned n) const |
| Return a stream for the n-th data record.
|
|
librevenge::RVNGInputStream * | getDataRecords () const |
| Return a stream for all data records.
|
|
librevenge::RVNGInputStream * | getDataRecords (unsigned first, unsigned last) const |
| Return a stream for data records in a given range.
|
|
◆ ImageMap_t
◆ PeanutPressParser()
libebook::PeanutPressParser::PeanutPressParser |
( |
librevenge::RVNGInputStream * |
input, |
|
|
librevenge::RVNGTextInterface * |
document = nullptr |
|
) |
| |
|
explicit |
◆ ~PeanutPressParser()
libebook::PeanutPressParser::~PeanutPressParser |
( |
| ) |
|
|
override |
◆ checkType()
bool libebook::PeanutPressParser::checkType |
( |
unsigned |
type, |
|
|
unsigned |
creator |
|
) |
| |
|
static |
◆ closeDocument()
void libebook::PeanutPressParser::closeDocument |
( |
| ) |
|
|
private |
◆ openDocument()
void libebook::PeanutPressParser::openDocument |
( |
| ) |
|
|
private |
◆ readAppInfoRecord()
void libebook::PeanutPressParser::readAppInfoRecord |
( |
librevenge::RVNGInputStream * |
record | ) |
|
|
overridevirtual |
◆ readDataRecord()
void libebook::PeanutPressParser::readDataRecord |
( |
librevenge::RVNGInputStream * |
record, |
|
|
bool |
last = false |
|
) |
| |
|
overridevirtual |
◆ readDataRecords()
void libebook::PeanutPressParser::readDataRecords |
( |
| ) |
|
|
overridevirtual |
◆ readImage()
void libebook::PeanutPressParser::readImage |
( |
librevenge::RVNGInputStream * |
record, |
|
|
bool |
verified = false |
|
) |
| |
|
private |
◆ readImages()
void libebook::PeanutPressParser::readImages |
( |
| ) |
|
|
private |
◆ readIndexRecord()
void libebook::PeanutPressParser::readIndexRecord |
( |
librevenge::RVNGInputStream * |
record | ) |
|
|
overridevirtual |
◆ readSortInfoRecord()
void libebook::PeanutPressParser::readSortInfoRecord |
( |
librevenge::RVNGInputStream * |
record | ) |
|
|
overridevirtual |
◆ readText()
void libebook::PeanutPressParser::readText |
( |
| ) |
|
|
private |
◆ m_header
◆ m_imageMap
ImageMap_t libebook::PeanutPressParser::m_imageMap |
|
private |
The documentation for this class was generated from the following files: