28 #ifndef __WPGXPARSER_H__
29 #define __WPGXPARSER_H__
31 #include <libwpg/libwpg.h>
32 #include <librevenge-stream/librevenge-stream.h>
33 #include <librevenge/librevenge.h>
41 WPGXParser(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
44 virtual bool parse() = 0;
80 void openHeader(
const librevenge::RVNGPropertyList & ) {}
82 void openFooter(
const librevenge::RVNGPropertyList & ) {}
86 void openParagraph(
const librevenge::RVNGPropertyList &propList);
90 void openSpan(
const librevenge::RVNGPropertyList &propList);
93 void openLink(
const librevenge::RVNGPropertyList & ) {}
102 void insertText(
const librevenge::RVNGString &text);
122 void openTable(
const librevenge::RVNGPropertyList & ) {}
130 void openFrame(
const librevenge::RVNGPropertyList & ) {}
133 void openGroup(
const librevenge::RVNGPropertyList & ) {}
141 void drawPath(
const librevenge::RVNGPropertyList & ) {}
157 #endif // __WPGXPARSER_H__