#include <CDRParser.h>
Public Member Functions | |
| CDRParser (const std::vector< WPXInputStream * > &externalStreams, CDRCollector *collector) | |
| virtual | ~CDRParser () |
| bool | parseRecords (WPXInputStream *input, unsigned *blockLengths=0, unsigned level=0) |
| bool | parseWaldo (WPXInputStream *input) |
Private Member Functions | |
| CDRParser () | |
| CDRParser (const CDRParser &) | |
| CDRParser & | operator= (const CDRParser &) |
| bool | parseWaldoStructure (WPXInputStream *input, std::stack< WaldoRecordType1 > &waldoStack, const std::map< unsigned, WaldoRecordType1 > &records1, std::map< unsigned, WaldoRecordInfo > &records2) |
| bool | gatherWaldoInformation (WPXInputStream *input, std::vector< WaldoRecordInfo > &records, std::map< unsigned, WaldoRecordInfo > &records2, std::map< unsigned, WaldoRecordInfo > &records3, std::map< unsigned, WaldoRecordInfo > &records4, std::map< unsigned, WaldoRecordInfo > &records6, std::map< unsigned, WaldoRecordInfo > &records7, std::map< unsigned, WaldoRecordInfo > &records8, std::map< unsigned, WaldoRecordInfo > recordsOther) |
| void | readWaldoRecord (WPXInputStream *input, const WaldoRecordInfo &info) |
| bool | parseRecord (WPXInputStream *input, unsigned *blockLengths=0, unsigned level=0) |
| void | readRecord (unsigned fourCC, unsigned length, WPXInputStream *input) |
| double | readRectCoord (WPXInputStream *input) |
| CDRColor | readColor (WPXInputStream *input) |
| void | readRectangle (WPXInputStream *input) |
| void | readEllipse (WPXInputStream *input) |
| void | readLineAndCurve (WPXInputStream *input) |
| void | readBitmap (WPXInputStream *input) |
| void | readPageSize (WPXInputStream *input) |
| void | readWaldoBmp (WPXInputStream *input, unsigned length, unsigned id) |
| void | readWaldoBmpf (WPXInputStream *input, unsigned id) |
| void | readWaldoTrfd (WPXInputStream *input) |
| void | readWaldoOutl (WPXInputStream *input) |
| void | readWaldoFill (WPXInputStream *input) |
| void | readWaldoLoda (WPXInputStream *input, unsigned length) |
| void | readOpacity (WPXInputStream *input, unsigned length) |
| void | readTrfd (WPXInputStream *input, unsigned length) |
| void | readFild (WPXInputStream *input, unsigned length) |
| void | readOutl (WPXInputStream *input, unsigned length) |
| void | readLoda (WPXInputStream *input, unsigned length) |
| void | readFlags (WPXInputStream *input, unsigned length) |
| void | readMcfg (WPXInputStream *input, unsigned length) |
| void | readPath (WPXInputStream *input) |
| void | readPolygonCoords (WPXInputStream *input) |
| void | readPolygonTransform (WPXInputStream *input) |
| void | readBmp (WPXInputStream *input, unsigned length) |
| void | readBmpf (WPXInputStream *input, unsigned length) |
| void | readPpdt (WPXInputStream *input, unsigned length) |
| void | readFtil (WPXInputStream *input, unsigned length) |
| void | readDisp (WPXInputStream *input, unsigned length) |
| void | readVersion (WPXInputStream *input, unsigned length) |
| void | readIccd (WPXInputStream *input, unsigned length) |
| void | readBBox (WPXInputStream *input, unsigned length) |
| void | readSpnd (WPXInputStream *input, unsigned length) |
| void | readVpat (WPXInputStream *input, unsigned length) |
| void | readUidr (WPXInputStream *input, unsigned length) |
| void | readFont (WPXInputStream *input, unsigned length) |
| void | readStlt (WPXInputStream *input, unsigned length) |
| void | readStyd (WPXInputStream *input) |
| void | readTxsm (WPXInputStream *input, unsigned length) |
| void | readTxsm16 (WPXInputStream *input) |
| void | readTxsm6 (WPXInputStream *input) |
| void | readTxsm5 (WPXInputStream *input) |
| void | readArtisticText (WPXInputStream *input) |
| void | readParagraphText (WPXInputStream *input) |
| bool | _redirectX6Chunk (WPXInputStream **input, unsigned &length) |
Private Attributes | |
| std::vector< WPXInputStream * > | m_externalStreams |
| std::map< unsigned, CDRFont > | m_fonts |
| std::map< unsigned, CDRFillStyle > | m_fillStyles |
| std::map< unsigned, CDRLineStyle > | m_lineStyles |
| unsigned | m_version |
| libcdr::CDRParser::CDRParser | ( | const std::vector< WPXInputStream * > & | externalStreams, |
| libcdr::CDRCollector * | collector | ||
| ) | [explicit] |
| libcdr::CDRParser::~CDRParser | ( | ) | [virtual] |
| libcdr::CDRParser::CDRParser | ( | ) | [private] |
| libcdr::CDRParser::CDRParser | ( | const CDRParser & | ) | [private] |
| bool libcdr::CDRParser::_redirectX6Chunk | ( | WPXInputStream ** | input, |
| unsigned & | length | ||
| ) | [private] |
| bool libcdr::CDRParser::gatherWaldoInformation | ( | WPXInputStream * | input, |
| std::vector< WaldoRecordInfo > & | records, | ||
| std::map< unsigned, WaldoRecordInfo > & | records2, | ||
| std::map< unsigned, WaldoRecordInfo > & | records3, | ||
| std::map< unsigned, WaldoRecordInfo > & | records4, | ||
| std::map< unsigned, WaldoRecordInfo > & | records6, | ||
| std::map< unsigned, WaldoRecordInfo > & | records7, | ||
| std::map< unsigned, WaldoRecordInfo > & | records8, | ||
| std::map< unsigned, WaldoRecordInfo > | recordsOther | ||
| ) | [private] |
| bool libcdr::CDRParser::parseRecord | ( | WPXInputStream * | input, |
| unsigned * | blockLengths = 0, |
||
| unsigned | level = 0 |
||
| ) | [private] |
| bool libcdr::CDRParser::parseRecords | ( | WPXInputStream * | input, |
| unsigned * | blockLengths = 0, |
||
| unsigned | level = 0 |
||
| ) |
| bool libcdr::CDRParser::parseWaldo | ( | WPXInputStream * | input | ) |
| bool libcdr::CDRParser::parseWaldoStructure | ( | WPXInputStream * | input, |
| std::stack< WaldoRecordType1 > & | waldoStack, | ||
| const std::map< unsigned, WaldoRecordType1 > & | records1, | ||
| std::map< unsigned, WaldoRecordInfo > & | records2 | ||
| ) | [private] |
| void libcdr::CDRParser::readArtisticText | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readBBox | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readBitmap | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readBmp | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readBmpf | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| libcdr::CDRColor libcdr::CDRParser::readColor | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readDisp | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readEllipse | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readFild | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readFlags | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readFont | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readFtil | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readIccd | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readLineAndCurve | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readLoda | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readMcfg | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readOpacity | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readOutl | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readPageSize | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readParagraphText | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readPath | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readPolygonCoords | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readPolygonTransform | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readPpdt | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readRecord | ( | unsigned | fourCC, |
| unsigned | length, | ||
| WPXInputStream * | input | ||
| ) | [private] |
| void libcdr::CDRParser::readRectangle | ( | WPXInputStream * | input | ) | [private] |
| double libcdr::CDRParser::readRectCoord | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readSpnd | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readStlt | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readStyd | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readTrfd | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readTxsm | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readTxsm16 | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readTxsm5 | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readTxsm6 | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readUidr | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readVersion | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readVpat | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readWaldoBmp | ( | WPXInputStream * | input, |
| unsigned | length, | ||
| unsigned | id | ||
| ) | [private] |
| void libcdr::CDRParser::readWaldoBmpf | ( | WPXInputStream * | input, |
| unsigned | id | ||
| ) | [private] |
| void libcdr::CDRParser::readWaldoFill | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readWaldoLoda | ( | WPXInputStream * | input, |
| unsigned | length | ||
| ) | [private] |
| void libcdr::CDRParser::readWaldoOutl | ( | WPXInputStream * | input | ) | [private] |
| void libcdr::CDRParser::readWaldoRecord | ( | WPXInputStream * | input, |
| const WaldoRecordInfo & | info | ||
| ) | [private] |
| void libcdr::CDRParser::readWaldoTrfd | ( | WPXInputStream * | input | ) | [private] |
std::vector<WPXInputStream *> libcdr::CDRParser::m_externalStreams [private] |
std::map<unsigned, CDRFillStyle> libcdr::CDRParser::m_fillStyles [private] |
std::map<unsigned, CDRFont> libcdr::CDRParser::m_fonts [private] |
std::map<unsigned, CDRLineStyle> libcdr::CDRParser::m_lineStyles [private] |
unsigned libcdr::CDRParser::m_version [private] |