libpagemaker::PMDParser Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
libpagemaker::PMDParser Class Reference

`#include <PMDParser.h>`

## Classes
class | RecordIterator
struct | ToCState

## Public Member Functions
| PMDParser (librevenge::RVNGInputStream *, PMDCollector *)
void | parse ()

## Private Types
typedef std::vector< PMDRecordContainer > | RecordContainerList_t
typedef std::map< uint16_t, std::vector< unsigned > > | RecordTypeMap_t

## Private Member Functions
void | parseGlobalInfo (const PMDRecordContainer &container)
void | parseFonts ()
void | parseColors ()
void | parsePages (const PMDRecordContainer &container)
void | parseShapes (uint16_t seqNum, unsigned pageID)
void | parseLine (const PMDRecordContainer &container, unsigned recordIndex, unsigned pageID)
void | parseTextBox (const PMDRecordContainer &container, unsigned recordIndex, unsigned pageID)
void | parseRectangle (const PMDRecordContainer &container, unsigned recordIndex, unsigned pageID)
void | parsePolygon (const PMDRecordContainer &container, unsigned recordIndex, unsigned pageID)
void | parseEllipse (const PMDRecordContainer &container, unsigned recordIndex, unsigned pageID)
void | parseBitmap (const PMDRecordContainer &container, unsigned recordIndex, unsigned pageID)
void | parseHeader (uint32_t *tocOffset, uint16_t *tocLength)
void | readNextRecordFromTableOfContents (ToCState &state, bool subRecord, uint16_t subRecordType=0)
void | readTableOfContents (ToCState &state, uint32_t offset, unsigned records, bool subRecords, uint16_t subRecordType=0)
void | parseTableOfContents (uint32_t offset, uint16_t length)
void | parseXforms ()
const PMDXForm & | getXForm (const uint32_t xFormId) const
RecordIterator | beginRecordsWithSeqNumber (uint16_t seqNum) const
RecordIterator | beginRecordsOfType (uint16_t recType) const
RecordIterator | endRecords () const
PMDParser & | operator= (const PMDParser &)
| PMDParser (const PMDParser &)

## Private Attributes
librevenge::RVNGInputStream * | m_input
unsigned long | m_length
PMDCollector * | m_collector
RecordTypeMap_t | m_records
bool | m_bigEndian
RecordContainerList_t | m_recordsInOrder
std::map< uint32_t, PMDXForm > | m_xFormMap

## Member Typedef Documentation

typedef std::vector<PMDRecordContainer> libpagemaker::PMDParser::RecordContainerList_t
| private

typedef std::map<uint16_t, std::vector<unsigned> > libpagemaker::PMDParser::RecordTypeMap_t
| private

## Constructor & Destructor Documentation

libpagemaker::PMDParser::PMDParser | ( | const PMDParser & |  | ) |
| private

libpagemaker::PMDParser::PMDParser | ( | librevenge::RVNGInputStream * | input,
|  | PMDCollector * | collector
| ) |  |

## Member Function Documentation

PMDParser::RecordIterator libpagemaker::PMDParser::beginRecordsOfType | ( | uint16_t | recType | ) | const
| private

Referenced by parseColors(), parseFonts(), parseTextBox(), and parseXforms().

PMDParser::RecordIterator libpagemaker::PMDParser::beginRecordsWithSeqNumber | ( | uint16_t | seqNum | ) | const
| private

Referenced by parseBitmap(), parsePolygon(), parseShapes(), and parseTextBox().

PMDParser::RecordIterator libpagemaker::PMDParser::endRecords | ( |  | ) | const
| private

Referenced by parseBitmap(), parseColors(), parseFonts(), parsePolygon(), parseShapes(), parseTextBox(), and parseXforms().

const PMDXForm & libpagemaker::PMDParser::getXForm | ( | const uint32_t | xFormId | ) | const
| private

Referenced by parseBitmap(), parseEllipse(), parsePolygon(), parseRectangle(), and parseTextBox().

PMDParser& libpagemaker::PMDParser::operator= | ( | const PMDParser & |  | ) |
| private

void libpagemaker::PMDParser::parse | ( |  | ) |

void libpagemaker::PMDParser::parseBitmap | ( | const PMDRecordContainer & | container,
|  | unsigned | recordIndex,
|  | unsigned | pageID
| ) |  |
| private

Referenced by parseShapes().

void libpagemaker::PMDParser::parseColors | ( |  | ) |
| private

Referenced by parse().

void libpagemaker::PMDParser::parseEllipse | ( | const PMDRecordContainer & | container,
|  | unsigned | recordIndex,
|  | unsigned | pageID
| ) |  |
| private

Referenced by parseShapes().

void libpagemaker::PMDParser::parseFonts | ( |  | ) |
| private

Referenced by parse().

void libpagemaker::PMDParser::parseGlobalInfo | ( | const PMDRecordContainer & | container | ) |
| private

Referenced by parse().

void libpagemaker::PMDParser::parseHeader | ( | uint32_t * | tocOffset,
|  | uint16_t * | tocLength
| ) |  |
| private

Referenced by parse().

void libpagemaker::PMDParser::parseLine | ( | const PMDRecordContainer & | container,
|  | unsigned | recordIndex,
|  | unsigned | pageID
| ) |  |
| private

Referenced by parseShapes().

void libpagemaker::PMDParser::parsePages | ( | const PMDRecordContainer & | container | ) |
| private

Referenced by parse().

void libpagemaker::PMDParser::parsePolygon | ( | const PMDRecordContainer & | container,
|  | unsigned | recordIndex,
|  | unsigned | pageID
| ) |  |
| private

Referenced by parseShapes().

void libpagemaker::PMDParser::parseRectangle | ( | const PMDRecordContainer & | container,
|  | unsigned | recordIndex,
|  | unsigned | pageID
| ) |  |
| private

Referenced by parseShapes().

void libpagemaker::PMDParser::parseShapes | ( | uint16_t | seqNum,
|  | unsigned | pageID
| ) |  |
| private

Referenced by parsePages().

void libpagemaker::PMDParser::parseTableOfContents | ( | uint32_t | offset,
|  | uint16_t | length
| ) |  |
| private

Referenced by parse().

void libpagemaker::PMDParser::parseTextBox | ( | const PMDRecordContainer & | container,
|  | unsigned | recordIndex,
|  | unsigned | pageID
| ) |  |
| private

Referenced by parseShapes().

void libpagemaker::PMDParser::parseXforms | ( |  | ) |
| private

Referenced by parse().

void libpagemaker::PMDParser::readNextRecordFromTableOfContents | ( | ToCState & | state,
|  | bool | subRecord,
|  | uint16_t | subRecordType = `0`
| ) |  |
| private

Referenced by readTableOfContents().

void libpagemaker::PMDParser::readTableOfContents | ( | ToCState & | state,
|  | uint32_t | offset,
|  | unsigned | records,
|  | bool | subRecords,
|  | uint16_t | subRecordType = `0`
| ) |  |
| private

Referenced by parseTableOfContents(), and readNextRecordFromTableOfContents().

## Member Data Documentation

bool libpagemaker::PMDParser::m_bigEndian
| private

Referenced by parseBitmap(), parseColors(), parseEllipse(), parseGlobalInfo(), parseHeader(), parseLine(), parsePages(), parsePolygon(), parseRectangle(), parseTextBox(), parseXforms(), and readNextRecordFromTableOfContents().

PMDCollector* libpagemaker::PMDParser::m_collector
| private

Referenced by parseBitmap(), parseColors(), parseEllipse(), parseFonts(), parseGlobalInfo(), parseLine(), parsePages(), parsePolygon(), parseRectangle(), and parseTextBox().

librevenge::RVNGInputStream* libpagemaker::PMDParser::m_input
| private

Referenced by parseBitmap(), parseColors(), parseEllipse(), parseFonts(), parseGlobalInfo(), parseHeader(), parseLine(), parsePages(), parsePolygon(), parseRectangle(), parseShapes(), parseTextBox(), parseXforms(), readNextRecordFromTableOfContents(), and readTableOfContents().

unsigned long libpagemaker::PMDParser::m_length
| private

Referenced by readTableOfContents().

RecordTypeMap_t libpagemaker::PMDParser::m_records
| private

Referenced by beginRecordsOfType(), parse(), and readNextRecordFromTableOfContents().

RecordContainerList_t libpagemaker::PMDParser::m_recordsInOrder
| private

Referenced by beginRecordsOfType(), beginRecordsWithSeqNumber(), endRecords(), parse(), and readNextRecordFromTableOfContents().

std::map<uint32_t, PMDXForm> libpagemaker::PMDParser::m_xFormMap
| private

Referenced by getXForm(), and parseXforms().

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

- PMDParser.h
- PMDParser.cpp