40 #include <libwpd/libwpd.h>
47 namespace BWParserInternal
70 void parse(WPXDocumentInterface *documentInterface);
104 WPXPropertyList frameExtras=WPXPropertyList());
BWParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: BWParser.cxx:124
bool readwPos(MWAWEntry const &entry)
read the windows positions ( wPos 1001 resource block )
Definition: BWParser.cxx:800
void init()
inits all internal variables
Definition: BWParser.cxx:134
Internal: a structure use to store a frame of a BWParser.
Definition: BWParser.cxx:61
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
shared_ptr< BWText > m_textParser
the text parser
Definition: BWParser.hxx:139
shared_ptr< BWParserInternal::State > m_state
the state
Definition: BWParser.hxx:136
bool sendPageFrames()
try to send the page graphic
Definition: BWParser.cxx:410
bool readPrintInfo()
read the print info zone
Definition: BWParser.cxx:638
bool readFontStyle(MWAWEntry const &entry)
read the font style ressource
Definition: BWParser.cxx:886
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: BWParser.cxx:236
void newPage(int number)
adds a new page
Definition: BWParser.cxx:187
bool sendFrame(int pId)
try to insert the pId picture (as char)
Definition: BWParser.cxx:169
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:354
the main class to read the text part of BeagleWorks Text file
Definition: BWText.hxx:60
Vec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: BWParser.cxx:160
bool readRSRCZones()
read the resource fork zone
Definition: BWParser.cxx:371
bool createZones()
finds the different objects zones
Definition: BWParser.cxx:288
the main class to read a BeagleWorks file
Definition: BWParser.hxx:57
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:348
bool sendPicture(int pId, MWAWPosition const &pos, WPXPropertyList frameExtras=WPXPropertyList())
try to send a picture
Definition: BWParser.cxx:828
libmwaw::DebugFile & rsrcAscii()
a DebugFile used to write what we recognize when we parse the document in rsrc
Definition: BWParser.cxx:152
void parse(WPXDocumentInterface *documentInterface)
virtual function used to parse the input
Definition: BWParser.cxx:203
virtual ~BWParser()
destructor
Definition: BWParser.cxx:130
bool readFrame(MWAWEntry const &entry)
read a frame zone
Definition: BWParser.cxx:450
MWAWInputStreamPtr rsrcInput()
return the input input
Definition: BWParser.cxx:147
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: BWParser.cxx:924
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:89
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readLastZone()
read the last zone
Definition: BWParser.cxx:694