#include <PMLParser.h>
|
typedef boost::unordered_map
< std::string, std::vector
< unsigned char > > | ImageMap_t |
|
|
| PDXParser (WPXInputStream *input, WPXDocumentInterface *document) |
| Instantiate a parser for a document in Palm Database Format. More...
|
|
WPXDocumentInterface * | getDocument () const |
| Get the document generator used for this parsing run. More...
|
|
const char * | getName () const |
|
WPXInputStream * | getAppInfoRecord () const |
| Return a stream for the format's appInfo record, if it is present. More...
|
|
WPXInputStream * | getIndexRecord () const |
| Return a stream for the format's index record. More...
|
|
unsigned | getDataRecordCount () const |
| Return the number of data records in the document. More...
|
|
WPXInputStream * | getDataRecord (unsigned n) const |
| Return a stream for the n-th data record. More...
|
|
WPXInputStream * | getDataRecords () const |
| Return a stream for all data records. More...
|
|
WPXInputStream * | getDataRecords (unsigned first, unsigned last) const |
| Return a stream for data records in a given range. More...
|
|
libebook::PMLParser::PMLParser |
( |
WPXInputStream * |
input, |
|
|
WPXDocumentInterface * |
document = 0 |
|
) |
| |
|
explicit |
libebook::PMLParser::~PMLParser |
( |
| ) |
|
|
virtual |
void libebook::PMLParser::closeDocument |
( |
| ) |
|
|
private |
bool libebook::PMLParser::isFormatSupported |
( |
unsigned |
type, |
|
|
unsigned |
creator |
|
) |
| |
|
virtual |
Check whether a specific subformat is supported.
type the subformat's type creator the document's creator app.
- Returns
- true if the subformat is supported
Implements libebook::PDXParser.
void libebook::PMLParser::openDocument |
( |
| ) |
|
|
private |
void libebook::PMLParser::readAppInfoRecord |
( |
WPXInputStream * |
record | ) |
|
|
virtual |
void libebook::PMLParser::readDataRecord |
( |
WPXInputStream * |
record, |
|
|
bool |
last = false |
|
) |
| |
|
virtual |
void libebook::PMLParser::readDataRecords |
( |
| ) |
|
|
virtual |
void libebook::PMLParser::readImage |
( |
WPXInputStream * |
record, |
|
|
bool |
verified = false |
|
) |
| |
|
private |
void libebook::PMLParser::readImages |
( |
| ) |
|
|
private |
void libebook::PMLParser::readIndexRecord |
( |
WPXInputStream * |
record | ) |
|
|
virtual |
void libebook::PMLParser::readSortInfoRecord |
( |
WPXInputStream * |
record | ) |
|
|
virtual |
void libebook::PMLParser::readText |
( |
| ) |
|
|
private |
boost::scoped_ptr<PMLHeader> libebook::PMLParser::m_header |
|
private |
The documentation for this class was generated from the following files: