40 #include <libwpd/libwpd.h>
50 namespace EDParserInternal
70 void parse(WPXDocumentInterface *documentInterface);
void newPage(int number)
adds a new page
Definition: EDParser.cxx:151
bool sendPicture(int pictId, bool compressed)
try to send a picture
Definition: EDParser.cxx:336
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
Definition: ACText.hxx:44
virtual ~EDParser()
destructor
Definition: EDParser.cxx:119
EDParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: EDParser.cxx:113
bool sendIndex()
try to send the index
Definition: EDParser.cxx:480
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: EDParser.cxx:401
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:67
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: EDParser.cxx:196
bool createZones()
finds the different objects zones
Definition: EDParser.cxx:229
bool decodeZone(MWAWEntry const &entry, WPXBinaryData &dt)
try to decode a compress zone
Definition: EDParser.cxx:798
bool readFontsName(MWAWEntry const &entry)
parse the fonts name eDcF
Definition: EDParser.cxx:427
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: EDParser.cxx:967
shared_ptr< MWAWContentListener > MWAWContentListenerPtr
Definition: MWAWContentListener.hxx:260
bool sendContents()
try to send the contents
Definition: EDParser.cxx:321
void parse(WPXDocumentInterface *documentInterface)
virtual function used to parse the input
Definition: EDParser.cxx:167
shared_ptr< EDParserInternal::State > m_state
the state
Definition: EDParser.hxx:130
friend class EDText
Definition: EDParser.hxx:59
bool findContents()
try to find the content zone
Definition: EDParser.cxx:284
the main class to read a eDOC file
Definition: EDParser.hxx:57
libmwaw::DebugFile & rsrcAscii()
a DebugFile used to write what we recognize when we parse the document in rsrc
Definition: EDParser.cxx:143
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:98
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
MWAWInputStreamPtr rsrcInput()
return the input input
Definition: EDParser.cxx:138
void setListener(MWAWContentListenerPtr listen)
sets the listener in this class and in the helper classes
Definition: EDParser.cxx:133
void init()
inits all internal variables
Definition: EDParser.cxx:123
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readInfo(MWAWEntry const &entry)
parse the Info zone
Definition: EDParser.cxx:610
bool readIndex(MWAWEntry const &entry)
parse the index zone
Definition: EDParser.cxx:525
float pageHeight() const
returns the page height, ie. paper size less margin (in inches)
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
Definition: MWAWParser.hxx:56