35 #ifndef MAC_WRT_PRO_PARSER
36 # define MAC_WRT_PRO_PARSER
49 namespace MacWrtProParserInternal
83 void parse(librevenge::RVNGTextInterface *documentInterface);
90 void createDocument(librevenge::RVNGTextInterface *documentInterface);
96 bool getZoneData(librevenge::RVNGBinaryData &data,
int blockId);
108 bool parseTextZone(shared_ptr<MacWrtProParserInternal::Zone> zone);
112 std::vector<MWAWEntry> &res,
int textLength);
114 bool readTextIds(shared_ptr<MacWrtProParserInternal::Zone> zone,
115 std::vector<MacWrtProParserInternal::TextZoneData> &res,
116 int textLength,
int type);
118 bool readTextTokens(shared_ptr<MacWrtProParserInternal::Zone> zone,
119 std::vector<MacWrtProParserInternal::Token> &res,
132 void newPage(
int number,
bool softBreak=
false);
171 bool sendText(shared_ptr<MacWrtProParserInternal::TextZone> zone,
bool mainZone =
false);
184 shared_ptr<MacWrtProParserInternal::State>
m_state;