#include <PalmDocParser.h>
|
| PDBParser (librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *document, unsigned type, unsigned creator) |
| Instantiate a parser for a document in Palm Database Format. More...
|
|
librevenge::RVNGTextInterface * | getDocument () const |
| Get the document generator used for this parsing run. More...
|
|
const char * | getName () const |
|
librevenge::RVNGInputStream * | getAppInfoRecord () const |
| Return a stream for the format's appInfo record, if it is present. More...
|
|
librevenge::RVNGInputStream * | 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...
|
|
librevenge::RVNGInputStream * | getDataRecord (unsigned n) const |
| Return a stream for the n-th data record. More...
|
|
librevenge::RVNGInputStream * | getDataRecords () const |
| Return a stream for all data records. More...
|
|
librevenge::RVNGInputStream * | getDataRecords (unsigned first, unsigned last) const |
| Return a stream for data records in a given range. More...
|
|
§ PalmDocParser() [1/2]
§ PalmDocParser() [2/2]
libebook::PalmDocParser::PalmDocParser |
( |
librevenge::RVNGInputStream * |
input, |
|
|
librevenge::RVNGTextInterface * |
document = nullptr |
|
) |
| |
|
explicit |
§ ~PalmDocParser()
libebook::PalmDocParser::~PalmDocParser |
( |
| ) |
|
|
override |
§ checkType()
bool libebook::PalmDocParser::checkType |
( |
unsigned |
type, |
|
|
unsigned |
creator |
|
) |
| |
|
static |
§ closeDocument()
void libebook::PalmDocParser::closeDocument |
( |
| ) |
|
|
private |
§ closeParagraph()
void libebook::PalmDocParser::closeParagraph |
( |
bool |
continuing = false | ) |
|
|
private |
§ createConverter()
void libebook::PalmDocParser::createConverter |
( |
const std::vector< char > & |
text | ) |
|
|
private |
§ handleCharacters()
void libebook::PalmDocParser::handleCharacters |
( |
const char * |
text | ) |
|
|
private |
§ handleText()
void libebook::PalmDocParser::handleText |
( |
const std::vector< char > & |
text | ) |
|
|
private |
§ openDocument()
void libebook::PalmDocParser::openDocument |
( |
| ) |
|
|
private |
§ openParagraph()
void libebook::PalmDocParser::openParagraph |
( |
| ) |
|
|
private |
§ operator=()
§ readAppInfoRecord()
void libebook::PalmDocParser::readAppInfoRecord |
( |
librevenge::RVNGInputStream * |
record | ) |
|
|
overrideprivatevirtual |
§ readDataRecord()
void libebook::PalmDocParser::readDataRecord |
( |
librevenge::RVNGInputStream * |
record, |
|
|
bool |
last |
|
) |
| |
|
overrideprivatevirtual |
§ readIndexRecord()
void libebook::PalmDocParser::readIndexRecord |
( |
librevenge::RVNGInputStream * |
record | ) |
|
|
overrideprivatevirtual |
§ readSortInfoRecord()
void libebook::PalmDocParser::readSortInfoRecord |
( |
librevenge::RVNGInputStream * |
record | ) |
|
|
overrideprivatevirtual |
§ m_compressed
bool libebook::PalmDocParser::m_compressed |
|
private |
§ m_converter
§ m_openedDocument
bool libebook::PalmDocParser::m_openedDocument |
|
private |
§ m_openedParagraph
bool libebook::PalmDocParser::m_openedParagraph |
|
private |
Signalize that a paragraph is split at record break.
We do not want to open a new paragraph in this case.
NOTE: I do not know if this is actually done. It is quite possible that a record always ends at a paragraph break. But AFAICS there is no prescribed special handling for '
', so this is at least possible.
Referenced by closeDocument(), closeParagraph(), and openParagraph().
§ m_read
unsigned libebook::PalmDocParser::m_read |
|
private |
§ m_recordCount
unsigned libebook::PalmDocParser::m_recordCount |
|
private |
§ m_recordSize
unsigned libebook::PalmDocParser::m_recordSize |
|
private |
§ m_textLength
unsigned libebook::PalmDocParser::m_textLength |
|
private |
The documentation for this class was generated from the following files: