48 namespace MWParserInternal
75 void parse(WPXDocumentInterface *documentInterface);
104 std::vector<int> &linesHeight);
108 std::vector<MWParserInternal::Information> &informations);
112 std::vector<MWParserInternal::Information> &informations);
121 static bool isMagicPic(WPXBinaryData
const &dt);
void setListener(MWAWContentListenerPtr listen)
sets the listener in this class and in the helper classes
Definition: MWParser.cxx:381
static bool isMagicPic(WPXBinaryData const &dt)
test if a graphic is empty.
Definition: MWParser.cxx:1613
bool readGraphic(MWParserInternal::Information const &info)
read a graphics
Definition: MWParser.cxx:1537
bool checkFreeList()
check the free list
Definition: MWParser.cxx:1628
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
Definition: ACText.hxx:44
MWParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MWParser.cxx:360
bool createZones()
finds the different objects zones
Definition: MWParser.cxx:490
bool readInformationsV3(int numInfo, std::vector< MWParserInternal::Information > &informations)
read the information ( version <= 3)
Definition: MWParser.cxx:1050
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MWParser.cxx:711
void newPage(int number)
adds a new page
Definition: MWParser.cxx:389
bool sendWindow(int zone)
send a zone ( 0: MAIN ZONE, 1 : HEADER, 2 : FOOTER )
Definition: MWParser.cxx:645
void parse(WPXDocumentInterface *documentInterface)
virtual function used to parse the input
Definition: MWParser.cxx:405
shared_ptr< MWAWContentListener > MWAWContentListenerPtr
Definition: MWAWContentListener.hxx:260
Internal: the subdocument of a MWParser.
Definition: MWParser.cxx:295
void init()
inits all internal variables
Definition: MWParser.cxx:370
bool readParagraph(MWParserInternal::Information const &info)
read a paragraph
Definition: MWParser.cxx:1398
bool readInformations(MWAWEntry const &entry, std::vector< MWParserInternal::Information > &informations)
read the information
Definition: MWParser.cxx:1096
bool createZonesV3()
finds the different objects zones (version <= 3)
Definition: MWParser.cxx:542
shared_ptr< MWParserInternal::State > m_state
the state
Definition: MWParser.hxx:140
bool readLinesHeight(MWAWEntry const &entry, std::vector< int > &firstParagLine, std::vector< int > &linesHeight)
read the line height
Definition: MWParser.cxx:979
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MWParser.cxx:445
bool readPrintInfo()
read the print info zone
Definition: MWParser.cxx:818
bool readPageBreak(MWParserInternal::Information const &info)
read a page break zone ( version <= 3)
Definition: MWParser.cxx:1489
bool readWindowsInfo(int wh)
read the windows zone
Definition: MWParser.cxx:871
virtual ~MWParser()
destructor
Definition: MWParser.cxx:366
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:98
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:61
bool readText(MWParserInternal::Information const &info, std::vector< int > const &lineHeight)
read a text zone
Definition: MWParser.cxx:1227
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
Definition: MWAWParser.hxx:56