10 #ifndef __CDRPARSER_H__
11 #define __CDRPARSER_H__
18 #include <libwpd-stream/libwpd-stream.h>
32 bool parseRecords(WPXInputStream *input,
unsigned *blockLengths = 0,
unsigned level = 0);
40 const std::map<unsigned, WaldoRecordType1> &records1,
41 std::map<unsigned, WaldoRecordInfo> &records2);
42 bool gatherWaldoInformation(WPXInputStream *input, std::vector<WaldoRecordInfo> &records, std::map<unsigned, WaldoRecordInfo> &records2,
43 std::map<unsigned, WaldoRecordInfo> &records3, std::map<unsigned, WaldoRecordInfo> &records4,
44 std::map<unsigned, WaldoRecordInfo> &records6, std::map<unsigned, WaldoRecordInfo> &records7,
45 std::map<unsigned, WaldoRecordInfo> &records8, std::map<unsigned, WaldoRecordInfo> recordsOther);
47 bool parseRecord(WPXInputStream *input,
unsigned *blockLengths = 0,
unsigned level = 0);
48 void readRecord(
unsigned fourCC,
unsigned length, WPXInputStream *input);
57 void readWaldoBmp(WPXInputStream *input,
unsigned length,
unsigned id);
63 void readOpacity(WPXInputStream *input,
unsigned length);
64 void readTrfd(WPXInputStream *input,
unsigned length);
65 void readFild(WPXInputStream *input,
unsigned length);
66 void readOutl(WPXInputStream *input,
unsigned length);
67 void readLoda(WPXInputStream *input,
unsigned length);
68 void readFlags(WPXInputStream *input,
unsigned length);
69 void readMcfg(WPXInputStream *input,
unsigned length);
70 void readPath(WPXInputStream *input);
71 void readArrw(WPXInputStream *input,
unsigned length);
74 void readBmp(WPXInputStream *input,
unsigned length);
75 void readBmpf(WPXInputStream *input,
unsigned length);
76 void readPpdt(WPXInputStream *input,
unsigned length);
77 void readFtil(WPXInputStream *input,
unsigned length);
78 void readDisp(WPXInputStream *input,
unsigned length);
79 void readVersion(WPXInputStream *input,
unsigned length);
80 void readIccd(WPXInputStream *input,
unsigned length);
81 void readBBox(WPXInputStream *input,
unsigned length);
82 void readSpnd(WPXInputStream *input,
unsigned length);
83 void readVpat(WPXInputStream *input,
unsigned length);
84 void readUidr(WPXInputStream *input,
unsigned length);
85 void readFont(WPXInputStream *input,
unsigned length);
86 void readStlt(WPXInputStream *input,
unsigned length);
87 void readStyd(WPXInputStream *input);
88 void readTxsm(WPXInputStream *input,
unsigned length);
92 void readUdta(WPXInputStream *input);
112 #endif // __CDRPARSER_H__