36 # define MW_PRO_PARSER
52 namespace MWProParserInternal
86 void parse(WPXDocumentInterface *documentInterface);
111 bool parseTextZone(shared_ptr<MWProParserInternal::Zone> zone);
115 std::vector<MWAWEntry> &res,
int textLength);
117 bool readTextIds(shared_ptr<MWProParserInternal::Zone> zone,
118 std::vector<MWProParserInternal::TextZoneData> &res,
119 int textLength,
int type);
122 std::vector<MWProParserInternal::Token> &res,
135 void newPage(
int number,
bool softBreak=
false);
149 WPXPropertyList extras = WPXPropertyList());
153 WPXPropertyList extras = WPXPropertyList());
174 bool sendPicture(shared_ptr<MWProParserInternal::Zone> zone,
MWAWPosition pictPos, WPXPropertyList
const &extras);
177 bool sendText(shared_ptr<MWProParserInternal::TextZone> zone,
bool mainZone =
false);
190 shared_ptr<MWProParserInternal::State>
m_state;