35 #ifndef MAC_WRT_PRO_PARSER 36 # define MAC_WRT_PRO_PARSER 80 bool checkHeader(
MWAWHeader *header,
bool strict=false) final;
90 void createDocument(
librevenge::RVNGTextInterface *documentInterface);
96 std::shared_ptr<
MWAWStream> getStreamForBlock(
int bId);
99 bool getFreeZoneList(std::vector<
int> &blockLists);
105 bool parseDataZone(
int blockId,
int type);
112 std::vector<
MWAWEntry> &res,
int textLength);
116 int textLength,
int type);
124 std::vector<
int> const &getGraphicIdCalledByToken() const;
127 float pageHeight() const;
129 int numColumns(
double &sep) const;
132 void newPage(
int number,
bool softBreak=false);
134 bool hasTitlePage() const;
143 bool sendTextZone(
int blockId,
bool mainZone = false);
146 int findNumHardBreaks(
int blockId);
161 bool readPrintInfo();
164 bool readDocHeader();
176 static std::
string convertDateToDebugString(
unsigned date);
178 void checkUnparsed();
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: MacWrtProParser.cxx:277
the main class to read the structures part of MacWrite Pro file
Definition: MacWrtProStructures.hxx:135
Definition: MWAWDocument.hxx:56
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
Internal: the subdocument of a MacWrtProParser.
Definition: MacWrtProParser.cxx:254
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:41
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:298
an interface to transmit the info of MacWrtProStructures to a listener
Definition: MacWrtProStructures.hxx:69
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
small structure use to store a stream and it debug file
Definition: MWAWStream.hxx:41
the main class to read a MacWrite II and MacWrite Pro file
Definition: MacWrtProParser.hxx:67
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
Internal: the structures of a MacWrtProParser.
Definition: MacWrtProParser.cxx:61