30 #ifndef __CDRPARSER_H__
31 #define __CDRPARSER_H__
38 #include <libwpd-stream/libwpd-stream.h>
52 bool parseRecords(WPXInputStream *input,
unsigned *blockLengths = 0,
unsigned level = 0);
60 const std::map<unsigned, WaldoRecordType1> &records1,
61 std::map<unsigned, WaldoRecordInfo> &records2);
62 bool gatherWaldoInformation(WPXInputStream *input, std::vector<WaldoRecordInfo> &records, std::map<unsigned, WaldoRecordInfo> &records2,
63 std::map<unsigned, WaldoRecordInfo> &records3, std::map<unsigned, WaldoRecordInfo> &records4,
64 std::map<unsigned, WaldoRecordInfo> &records6, std::map<unsigned, WaldoRecordInfo> &records7,
65 std::map<unsigned, WaldoRecordInfo> &records8, std::map<unsigned, WaldoRecordInfo> recordsOther);
67 bool parseRecord(WPXInputStream *input,
unsigned *blockLengths = 0,
unsigned level = 0);
68 void readRecord(
unsigned fourCC,
unsigned length, WPXInputStream *input);
77 void readWaldoBmp(WPXInputStream *input,
unsigned length,
unsigned id);
83 void readOpacity(WPXInputStream *input,
unsigned length);
84 void readTrfd(WPXInputStream *input,
unsigned length);
85 void readFild(WPXInputStream *input,
unsigned length);
86 void readOutl(WPXInputStream *input,
unsigned length);
87 void readLoda(WPXInputStream *input,
unsigned length);
88 void readFlags(WPXInputStream *input,
unsigned length);
89 void readMcfg(WPXInputStream *input,
unsigned length);
90 void readPath(WPXInputStream *input);
93 void readBmp(WPXInputStream *input,
unsigned length);
94 void readBmpf(WPXInputStream *input,
unsigned length);
95 void readPpdt(WPXInputStream *input,
unsigned length);
96 void readFtil(WPXInputStream *input,
unsigned length);
97 void readDisp(WPXInputStream *input,
unsigned length);
98 void readVersion(WPXInputStream *input,
unsigned length);
99 void readIccd(WPXInputStream *input,
unsigned length);
100 void readBBox(WPXInputStream *input,
unsigned length);
101 void readSpnd(WPXInputStream *input,
unsigned length);
102 void readVpat(WPXInputStream *input,
unsigned length);
103 void readUidr(WPXInputStream *input,
unsigned length);
104 void readFont(WPXInputStream *input,
unsigned length);
105 void readStlt(WPXInputStream *input,
unsigned length);
106 void readStyd(WPXInputStream *input);
107 void readTxsm(WPXInputStream *input,
unsigned length);
128 #endif // __CDRPARSER_H__