10 #ifndef QXP4PARSER_H_INCLUDED 11 #define QXP4PARSER_H_INCLUDED 19 class QXP4Deobfuscator;
25 QXP4Parser(
const std::shared_ptr<librevenge::RVNGInputStream> &input, librevenge::RVNGDrawingInterface *painter,
const std::shared_ptr<QXP4Header> &header);
87 bool parsePages(
const std::shared_ptr<librevenge::RVNGInputStream> &stream,
QXPCollector &collector)
override;
89 void parseColors(
const std::shared_ptr<librevenge::RVNGInputStream> &docStream);
91 void parseColor(
const std::shared_ptr<librevenge::RVNGInputStream> &stream,
const std::vector<ColorBlockSpec> &blocks);
94 void parseLineStyles(
const std::shared_ptr<librevenge::RVNGInputStream> &docStream);
95 void skipTemplates(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
96 void parseTabStops(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
98 std::shared_ptr<HJ>
parseHJ(
const std::shared_ptr<librevenge::RVNGInputStream> &stream)
override;
116 Frame readFrame(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
117 bool readRunaround(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
121 void readOleObject(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
122 void readPictureSettings(
const std::shared_ptr<librevenge::RVNGInputStream> &stream, std::shared_ptr<PictureBox> &picturebox);
123 void readImageData(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
124 void readBezierData(
const std::shared_ptr<librevenge::RVNGInputStream> &stream, std::vector<CurveComponent> &curveComponents,
Rect &bbox);
130 #endif // QXP4PARSER_H_INCLUDED
void parseObject(const std::shared_ptr< librevenge::RVNGInputStream > &stream, QXP4Deobfuscator &deobfuscate, QXPCollector &collector, const Page &page, unsigned index)
Definition: QXP4Parser.cpp:466
void parseLineStyles(const std::shared_ptr< librevenge::RVNGInputStream > &docStream)
Definition: QXP4Parser.cpp:253
void readPictureSettings(const std::shared_ptr< librevenge::RVNGInputStream > &stream, std::shared_ptr< PictureBox > &picturebox)
Definition: QXP4Parser.cpp:1098
ObjectHeader parseObjectHeader(const std::shared_ptr< librevenge::RVNGInputStream > &stream, QXP4Deobfuscator &deobfuscate)
Definition: QXP4Parser.cpp:551
ParagraphFormat parseParagraphFormat(const std::shared_ptr< librevenge::RVNGInputStream > &stream) override
Definition: QXP4Parser.cpp:395
BoxType
Definition: QXPTypes.h:477
QXP4Parser(const std::shared_ptr< librevenge::RVNGInputStream > &input, librevenge::RVNGDrawingInterface *painter, const std::shared_ptr< QXP4Header > &header)
Definition: QXP4Parser.cpp:50
Definition: libqxp_utils.cpp:24
void parseTabStops(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP4Parser.cpp:357
void readTextPathSettings(const std::shared_ptr< librevenge::RVNGInputStream > &stream, TextPathSettings &settings)
Definition: QXP4Parser.cpp:1051
Page parsePage(const std::shared_ptr< librevenge::RVNGInputStream > &stream, QXP4Deobfuscator &deobfuscate)
Definition: QXP4Parser.cpp:458
ColorBlockSpec()
Definition: QXP4Parser.h:77
unsigned padding
Definition: QXP4Parser.h:75
Definition: QXPTypes.h:361
void readLinkedTextSettings(const std::shared_ptr< librevenge::RVNGInputStream > &stream, LinkedTextSettings &settings)
Definition: QXP4Parser.cpp:1030
Definition: QXPParser.h:30
ShapeType
Definition: QXP4Parser.h:27
void parsePictureBox(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP4Parser.cpp:768
void parseColor(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const std::vector< ColorBlockSpec > &blocks)
Definition: QXP4Parser.cpp:173
void parseLineText(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP4Parser.cpp:802
void parseEmptyBox(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP4Parser.cpp:715
void readImageData(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP4Parser.cpp:1109
void skipTemplates(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP4Parser.cpp:332
const std::shared_ptr< QXP4Header > m_header
Definition: QXP4Parser.h:82
void parseBezierPictureBox(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP4Parser.cpp:738
std::shared_ptr< HJ > parseHJ(const std::shared_ptr< librevenge::RVNGInputStream > &stream) override
Definition: QXP4Parser.cpp:447
Definition: QXP4Parser.h:72
unsigned offset
Definition: QXP4Parser.h:74
void parseColors(const std::shared_ptr< librevenge::RVNGInputStream > &docStream)
Definition: QXP4Parser.cpp:121
void readTextSettings(const std::shared_ptr< librevenge::RVNGInputStream > &stream, TextSettings &settings)
Definition: QXP4Parser.cpp:1036
void readOleObject(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP4Parser.cpp:1092
void parseLine(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP4Parser.cpp:666
void readBezierData(const std::shared_ptr< librevenge::RVNGInputStream > &stream, std::vector< CurveComponent > &curveComponents, Rect &bbox)
Definition: QXP4Parser.cpp:1115
void skipParagraphStylesheets(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP4Parser.cpp:197
void parseTextBox(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP4Parser.cpp:928
Definition: QXP4Parser.h:22
Definition: QXP4Deobfuscator.h:19
void parseBezierText(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP4Parser.cpp:844
ColorBlockSpec parseColorBlockSpec(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP4Parser.cpp:164
Definition: QXPTypes.h:415
void parseBezierLine(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP4Parser.cpp:682
void parseGroup(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector, const Page &page, unsigned index)
Definition: QXP4Parser.cpp:976
CharFormat parseCharFormat(const std::shared_ptr< librevenge::RVNGInputStream > &stream) override
Definition: QXP4Parser.cpp:227
Frame readFrame(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP4Parser.cpp:999
std::vector< std::vector< TabStop > > m_paragraphTabStops
Definition: QXP4Parser.h:84
Definition: QXPTypes.h:46
bool readRunaround(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP4Parser.cpp:1023
CornerType
Definition: QXPTypes.h:469
void skipTextObjectEnd(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, const LinkedTextSettings &linkedTextSettings)
Definition: QXP4Parser.cpp:1176
void parseBezierTextBox(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP4Parser.cpp:884
bool parsePages(const std::shared_ptr< librevenge::RVNGInputStream > &stream, QXPCollector &collector) override
Definition: QXP4Parser.cpp:95
ContentType
Definition: QXPTypes.h:265
bool parseDocument(const std::shared_ptr< librevenge::RVNGInputStream > &docStream, QXPCollector &collector) override
Definition: QXP4Parser.cpp:57
Definition: QXPTypes.h:545
void parseBezierEmptyBox(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP4Parser.cpp:696
Definition: QXPTypes.h:68
Definition: QXPHeader.h:24
Definition: QXPTypes.h:344
Definition: QXPTypes.h:386
Definition: QXPCollector.h:27