36 # define MW_PRO_PARSER
50 namespace MWProParserInternal
84 void parse(WPXDocumentInterface *documentInterface);
109 bool parseTextZone(shared_ptr<MWProParserInternal::Zone> zone);
113 std::vector<MWAWEntry> &res,
int textLength);
115 bool readTextIds(shared_ptr<MWProParserInternal::Zone> zone,
116 std::vector<MWProParserInternal::TextZoneData> &res,
117 int textLength,
int type);
120 std::vector<MWProParserInternal::Token> &res,
133 void newPage(
int number,
bool softBreak=
false);
147 WPXPropertyList extras = WPXPropertyList());
151 WPXPropertyList extras = WPXPropertyList());
172 bool sendPicture(shared_ptr<MWProParserInternal::Zone> zone,
MWAWPosition pictPos, WPXPropertyList
const &extras);
175 bool sendText(shared_ptr<MWProParserInternal::TextZone> zone,
bool mainZone =
false);
188 shared_ptr<MWProParserInternal::State>
m_state;