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