36 # define MW_PRO_PARSER
56 namespace MWProParserInternal
90 void parse(WPXDocumentInterface *documentInterface);
103 bool getZoneData(WPXBinaryData &data,
int blockId);
115 bool parseTextZone(shared_ptr<MWProParserInternal::Zone> zone);
119 std::vector<MWAWEntry> &res,
int textLength);
121 bool readTextIds(shared_ptr<MWProParserInternal::Zone> zone,
122 std::vector<MWProParserInternal::TextZoneData> &res,
123 int textLength,
int type);
126 std::vector<MWProParserInternal::Token> &res,
141 void newPage(
int number,
bool softBreak=
false);
155 WPXPropertyList extras = WPXPropertyList());
159 WPXPropertyList extras = WPXPropertyList());
180 bool sendPicture(shared_ptr<MWProParserInternal::Zone> zone,
MWAWPosition pictPos, WPXPropertyList
const &extras);
183 bool sendText(shared_ptr<MWProParserInternal::TextZone> zone,
bool mainZone =
false);
196 shared_ptr<MWProParserInternal::State>
m_state;