10 #ifndef QXP33PARSER_H_INCLUDED 11 #define QXP33PARSER_H_INCLUDED 21 class QXP33Deobfuscator;
27 QXP33Parser(
const std::shared_ptr<librevenge::RVNGInputStream> &input, librevenge::RVNGDrawingInterface *painter,
const std::shared_ptr<QXP33Header> &header);
42 boost::optional<Fill>
fill;
66 : fill(), runaround(false), contentIndex(0), linkId(0), gradientId(0),
67 rotation(0), skew(0), hflip(false), vflip(false), cornerType(
CornerType::
DEFAULT),
77 bool parsePages(
const std::shared_ptr<librevenge::RVNGInputStream> &pagesStream,
QXPCollector &collector)
override;
79 void parseColors(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
82 std::shared_ptr<HJ>
parseHJ(
const std::shared_ptr<librevenge::RVNGInputStream> &stream)
override;
84 Page parsePage(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
88 void readObjectFlags(
const std::shared_ptr<librevenge::RVNGInputStream> &stream,
bool &noColor,
bool &noRunaround);
95 Frame readFrame(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
96 std::vector<Point>
readPolygonData(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
98 std::string
readName(
const std::shared_ptr<librevenge::RVNGInputStream> &stream);
103 #endif // QXP33PARSER_H_INCLUDED
Definition: QXP33Deobfuscator.h:19
void parseLine(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP33Parser.cpp:486
ShapeType
Definition: QXP33Parser.h:29
BoxType
Definition: QXPTypes.h:477
QXP33Parser(const std::shared_ptr< librevenge::RVNGInputStream > &input, librevenge::RVNGDrawingInterface *painter, const std::shared_ptr< QXP33Header > &header)
Definition: QXP33Parser.cpp:65
Definition: libqxp_utils.cpp:24
bool parseDocument(const std::shared_ptr< librevenge::RVNGInputStream > &docStream, QXPCollector &collector) override
Definition: QXP33Parser.cpp:71
void parseTextBox(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP33Parser.cpp:505
void readObjectFlags(const std::shared_ptr< librevenge::RVNGInputStream > &stream, bool &noColor, bool &noRunaround)
Definition: QXP33Parser.cpp:473
Page parsePage(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP33Parser.cpp:246
Definition: QXP33Parser.h:24
void parsePictureBox(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP33Parser.cpp:574
Definition: QXPParser.h:29
void parseColors(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP33Parser.cpp:131
void parseObject(const std::shared_ptr< librevenge::RVNGInputStream > &stream, QXP33Deobfuscator &deobfuscate, QXPCollector &collector, const Page &page)
Definition: QXP33Parser.cpp:254
CharFormat parseCharFormat(const std::shared_ptr< librevenge::RVNGInputStream > &stream) override
Definition: QXP33Parser.cpp:161
ParagraphFormat parseParagraphFormat(const std::shared_ptr< librevenge::RVNGInputStream > &stream) override
Definition: QXP33Parser.cpp:187
std::vector< Point > readPolygonData(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP33Parser.cpp:715
void parseEmptyBox(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector)
Definition: QXP33Parser.cpp:652
std::string readName(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP33Parser.cpp:736
Definition: QXPTypes.h:46
std::shared_ptr< HJ > parseHJ(const std::shared_ptr< librevenge::RVNGInputStream > &stream) override
Definition: QXP33Parser.cpp:235
void parseGroup(const std::shared_ptr< librevenge::RVNGInputStream > &stream, const ObjectHeader &header, QXPCollector &collector, const Page &page)
Definition: QXP33Parser.cpp:676
CornerType
Definition: QXPTypes.h:469
ContentType
Definition: QXPTypes.h:265
Frame readFrame(const std::shared_ptr< librevenge::RVNGInputStream > &stream)
Definition: QXP33Parser.cpp:704
bool parsePages(const std::shared_ptr< librevenge::RVNGInputStream > &pagesStream, QXPCollector &collector) override
Definition: QXP33Parser.cpp:103
Definition: QXPTypes.h:545
const std::shared_ptr< QXP33Header > m_header
Definition: QXP33Parser.h:74
Definition: QXPTypes.h:344
ObjectHeader parseObjectHeader(const std::shared_ptr< librevenge::RVNGInputStream > &stream, QXP33Deobfuscator &deobfuscate)
Definition: QXP33Parser.cpp:293
Definition: QXPCollector.h:27