34 #ifndef MAC_WRT_PARSER 35 # define MAC_WRT_PARSER 96 std::vector<
int> &linesHeight);
bool readWindowsInfo(int wh)
read the windows zone
Definition: MacWrtParser.cxx:873
bool sendWindow(int zone)
send a zone ( 0: MAIN ZONE, 1 : HEADER, 2 : FOOTER )
Definition: MacWrtParser.cxx:650
Internal: the subdocument of a MacWrtParser.
Definition: MacWrtParser.cxx:312
bool readParagraph(MacWrtParserInternal::Information const &info)
read a paragraph
Definition: MacWrtParser.cxx:1420
std::shared_ptr< MacWrtParserInternal::State > m_state
the state
Definition: MacWrtParser.hxx:132
Definition: MWAWDocument.hxx:56
static bool isMagicPic(librevenge::RVNGBinaryData const &dt)
test if a graphic is empty.
Definition: MacWrtParser.cxx:1635
bool readPageBreak(MacWrtParserInternal::Information const &info)
read a page break zone ( version <= 3)
Definition: MacWrtParser.cxx:1511
bool readPrintInfo()
read the print info zone
Definition: MacWrtParser.cxx:820
void newPage(int number)
adds a new page
Definition: MacWrtParser.cxx:394
~MacWrtParser() final
destructor
Definition: MacWrtParser.cxx:376
bool readInformations(MWAWEntry const &entry, std::vector< MacWrtParserInternal::Information > &informations)
read the information
Definition: MacWrtParser.cxx:1102
the main class to read a MacWrite file
Definition: MacWrtParser.hxx:56
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MacWrtParser.cxx:450
bool readGraphic(MacWrtParserInternal::Information const &info)
read a graphics
Definition: MacWrtParser.cxx:1559
Internal: the structures of a MacWrtParser.
Definition: MacWrtParser.cxx:57
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
bool readInformationsV3(int numInfo, std::vector< MacWrtParserInternal::Information > &informations)
read the information ( version <= 3)
Definition: MacWrtParser.cxx:1056
bool readText(MacWrtParserInternal::Information const &info, std::vector< int > const &lineHeight)
read a text zone
Definition: MacWrtParser.cxx:1235
bool checkFreeList()
check the free list
Definition: MacWrtParser.cxx:1650
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:298
bool readLinesHeight(MWAWEntry const &entry, std::vector< int > &firstParagLine, std::vector< int > &linesHeight)
read the line height
Definition: MacWrtParser.cxx:983
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
MacWrtParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: MacWrtParser.cxx:369
void parse(librevenge::RVNGTextInterface *documentInterface) final
virtual function used to parse the input
Definition: MacWrtParser.cxx:410
bool createZones()
finds the different objects zones
Definition: MacWrtParser.cxx:496
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MacWrtParser.cxx:718
void init()
inits all internal variables
Definition: MacWrtParser.cxx:380
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool createZonesV3()
finds the different objects zones (version <= 3)
Definition: MacWrtParser.cxx:548