46 namespace MWParserInternal
72 void parse(WPXDocumentInterface *documentInterface);
101 std::vector<int> &linesHeight);
105 std::vector<MWParserInternal::Information> &informations);
109 std::vector<MWParserInternal::Information> &informations);
118 static bool isMagicPic(WPXBinaryData
const &dt);
void setListener(MWAWContentListenerPtr listen)
sets the listener in this class and in the helper classes
Definition: MWParser.cxx:358
static bool isMagicPic(WPXBinaryData const &dt)
test if a graphic is empty.
Definition: MWParser.cxx:1593
bool readGraphic(MWParserInternal::Information const &info)
read a graphics
Definition: MWParser.cxx:1517
bool checkFreeList()
check the free list
Definition: MWParser.cxx:1608
MWParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MWParser.cxx:337
bool createZones()
finds the different objects zones
Definition: MWParser.cxx:467
bool readInformationsV3(int numInfo, std::vector< MWParserInternal::Information > &informations)
read the information ( version <= 3)
Definition: MWParser.cxx:1030
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MWParser.cxx:688
void newPage(int number)
adds a new page
Definition: MWParser.cxx:366
bool sendWindow(int zone)
send a zone ( 0: MAIN ZONE, 1 : HEADER, 2 : FOOTER )
Definition: MWParser.cxx:622
void parse(WPXDocumentInterface *documentInterface)
virtual function used to parse the input
Definition: MWParser.cxx:382
Internal: the subdocument of a MWParser.
Definition: MWParser.cxx:281
void init()
inits all internal variables
Definition: MWParser.cxx:347
bool readParagraph(MWParserInternal::Information const &info)
read a paragraph
Definition: MWParser.cxx:1378
bool readInformations(MWAWEntry const &entry, std::vector< MWParserInternal::Information > &informations)
read the information
Definition: MWParser.cxx:1076
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:354
bool createZonesV3()
finds the different objects zones (version <= 3)
Definition: MWParser.cxx:519
shared_ptr< MWParserInternal::State > m_state
the state
Definition: MWParser.hxx:137
bool readLinesHeight(MWAWEntry const &entry, std::vector< int > &firstParagLine, std::vector< int > &linesHeight)
read the line height
Definition: MWParser.cxx:959
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MWParser.cxx:422
bool readPrintInfo()
read the print info zone
Definition: MWParser.cxx:798
bool readPageBreak(MWParserInternal::Information const &info)
read a page break zone ( version <= 3)
Definition: MWParser.cxx:1469
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:348
bool readWindowsInfo(int wh)
read the windows zone
Definition: MWParser.cxx:851
shared_ptr< MWAWContentListener > MWAWContentListenerPtr
a smart pointer of MWAWContentListener
Definition: libmwaw_internal.hxx:340
virtual ~MWParser()
destructor
Definition: MWParser.cxx:343
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:89
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
the main class to read a MacWrite file
Definition: MWParser.hxx:58
bool readText(MWParserInternal::Information const &info, std::vector< int > const &lineHeight)
read a text zone
Definition: MWParser.cxx:1207