#include <PLKRParser.h>
|
| 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::PLKRParser::PLKRParser |
( |
const PLKRParser & |
other | ) |
|
|
private |
libebook::PLKRParser::PLKRParser |
( |
WPXInputStream * |
input, |
|
|
WPXDocumentInterface * |
document = 0 |
|
) |
| |
|
explicit |
libebook::PLKRParser::~PLKRParser |
( |
| ) |
|
|
virtual |
boost::shared_ptr< WPXInputStream > libebook::PLKRParser::getUncompressedStream |
( |
WPXInputStream * |
input | ) |
const |
|
private |
bool libebook::PLKRParser::isFormatSupported |
( |
unsigned |
type, |
|
|
unsigned |
creator |
|
) |
| |
|
privatevirtual |
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::PLKRParser::readAppInfoRecord |
( |
WPXInputStream * |
record | ) |
|
|
privatevirtual |
void libebook::PLKRParser::readDataRecord |
( |
WPXInputStream * |
record, |
|
|
bool |
last = false |
|
) |
| |
|
privatevirtual |
void libebook::PLKRParser::readDataRecords |
( |
| ) |
|
|
privatevirtual |
void libebook::PLKRParser::readImage |
( |
WPXInputStream * |
input, |
|
|
const PLKRRecordHeader & |
header |
|
) |
| |
|
private |
void libebook::PLKRParser::readIndexRecord |
( |
WPXInputStream * |
record | ) |
|
|
privatevirtual |
void libebook::PLKRParser::readMetadata |
( |
WPXInputStream * |
input, |
|
|
const PLKRRecordHeader & |
header |
|
) |
| |
|
private |
void libebook::PLKRParser::readSortInfoRecord |
( |
WPXInputStream * |
record | ) |
|
|
privatevirtual |
void libebook::PLKRParser::readText |
( |
WPXInputStream * |
input, |
|
|
const PLKRRecordHeader & |
header, |
|
|
const std::vector< unsigned > & |
paragraphLengths |
|
) |
| |
|
private |
The documentation for this class was generated from the following files: