34 #ifndef BEAGLE_WKS_DB_PARSER
35 # define BEAGLE_WKS_DB_PARSER
40 #include <librevenge/librevenge.h>
74 void parse(librevenge::RVNGSpreadsheetInterface *documentInterface);
81 void createDocument(librevenge::RVNGSpreadsheetInterface *documentInterface);
137 shared_ptr<BeagleWksDBParserInternal::State>
m_state;
bool readRow()
read a row
Definition: BeagleWksDBParser.cxx:935
bool sendFrame(BeagleWksStructManager::Frame const &frame)
try to send a frame
Definition: BeagleWksDBParser.cxx:1447
the main class to read a BeagleWorks database file
Definition: BeagleWksDBParser.hxx:61
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
MWAWInputStreamPtr rsrcInput()
return the input input
Definition: BeagleWksDBParser.cxx:278
bool readFormat(MWAWCell &cell, std::string &extra)
try to read a cell's format+font
Definition: BeagleWksDBParser.cxx:788
bool readDatabase()
read the database zone
Definition: BeagleWksDBParser.cxx:699
MWAWVec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: BeagleWksDBParser.cxx:291
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
shared_ptr< BeagleWksStructManager > m_structureManager
the structure manager
Definition: BeagleWksDBParser.hxx:140
bool readLayouts()
read the layout zone
Definition: BeagleWksDBParser.cxx:1197
void init()
inits all internal variables
Definition: BeagleWksDBParser.cxx:266
a structure used to define a cell and its format
Definition: MWAWCell.hxx:52
bool readLayout(int id)
read a layout zone
Definition: BeagleWksDBParser.cxx:1223
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: BeagleWksDBParser.cxx:1588
shared_ptr< BeagleWksDBParserInternal::State > m_state
the state
Definition: BeagleWksDBParser.hxx:137
void createDocument(librevenge::RVNGSpreadsheetInterface *documentInterface)
creates the listener which will be associated to the document
Definition: BeagleWksDBParser.cxx:329
Internal: a structure use to store a frame in a BeagleWorks files.
Definition: BeagleWksStructManager.hxx:102
void parse(librevenge::RVNGSpreadsheetInterface *documentInterface)
virtual function used to parse the input
Definition: BeagleWksDBParser.cxx:300
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:527
bool sendText(MWAWEntry entry, bool headerFooter=false)
try to send a text zone
Definition: BeagleWksDBParser.cxx:1487
bool readRSRCZones()
read the resource fork zone
Definition: BeagleWksDBParser.cxx:604
BeagleWksDBParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: BeagleWksDBParser.cxx:256
bool readFields()
read the fields list
Definition: BeagleWksDBParser.cxx:1072
bool sendDatabase()
try to send the main database
Definition: BeagleWksDBParser.cxx:1523
Internal: the subdocument of a BeagleWksDBParser.
Definition: BeagleWksDBParser.cxx:202
bool readPrintInfo()
read the print info zone
Definition: BeagleWksDBParser.cxx:643
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:517
the main class to read the structure shared between different BeagleWorks files
Definition: BeagleWksStructManager.hxx:56
bool sendPicture(int pId, MWAWPosition const &pos, bool readEDTP, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
try to send a picture
Definition: BeagleWksDBParser.cxx:1462
libmwaw::DebugFile & rsrcAscii()
a DebugFile used to write what we recognize when we parse the document in rsrc
Definition: BeagleWksDBParser.cxx:283
Internal: the structures of a BeagleWksDBParser.
Definition: BeagleWksDBParser.cxx:59
Defines MWAWCell (cell content and format)
bool sendPageFrames()
try to send the page graphic
Definition: BeagleWksDBParser.cxx:1438
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
virtual class which defines the ancestor of all spreadsheet zone parser
Definition: MWAWParser.hxx:280
virtual ~BeagleWksDBParser()
destructor
Definition: BeagleWksDBParser.cxx:262
bool createZones()
finds the different objects zones
Definition: BeagleWksDBParser.cxx:376
static MWAWGraphicStyle emptyStyle()
returns an empty style.
Definition: MWAWGraphicStyle.hxx:268