34 #ifndef BEAGLE_WKS_DB_PARSER
35 # define BEAGLE_WKS_DB_PARSER
40 #include <librevenge/librevenge.h>
49 namespace BeagleWksDBParserInternal
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:931
bool sendFrame(BeagleWksStructManager::Frame const &frame)
try to send a frame
Definition: BeagleWksDBParser.cxx:1441
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:64
MWAWInputStreamPtr rsrcInput()
return the input input
Definition: BeagleWksDBParser.cxx:273
bool readFormat(MWAWCell &cell, std::string &extra)
try to read a cell's format+font
Definition: BeagleWksDBParser.cxx:784
bool readDatabase()
read the database zone
Definition: BeagleWksDBParser.cxx:695
bool sendPicture(int pId, MWAWPosition const &pos, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
try to send a picture
Definition: BeagleWksDBParser.cxx:1456
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:1191
void init()
inits all internal variables
Definition: BeagleWksDBParser.cxx:261
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:1217
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: BeagleWksDBParser.cxx:1575
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:325
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:295
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:388
bool sendText(MWAWEntry entry, bool headerFooter=false)
try to send a text zone
Definition: BeagleWksDBParser.cxx:1481
bool readRSRCZones()
read the resource fork zone
Definition: BeagleWksDBParser.cxx:600
BeagleWksDBParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: BeagleWksDBParser.cxx:251
bool readFields()
read the fields list
Definition: BeagleWksDBParser.cxx:1065
bool sendDatabase()
try to send the main database
Definition: BeagleWksDBParser.cxx:1517
Internal: the subdocument of a BeagleWksDBParser.
Definition: BeagleWksDBParser.cxx:197
bool readPrintInfo()
read the print info zone
Definition: BeagleWksDBParser.cxx:639
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:380
Vec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: BeagleWksDBParser.cxx:286
the main class to read the structure shared between different BeagleWorks files
Definition: BeagleWksStructManager.hxx:56
libmwaw::DebugFile & rsrcAscii()
a DebugFile used to write what we recognize when we parse the document in rsrc
Definition: BeagleWksDBParser.cxx:278
Defines MWAWCell (cell content and format)
bool sendPageFrames()
try to send the page graphic
Definition: BeagleWksDBParser.cxx:1432
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:247
virtual ~BeagleWksDBParser()
destructor
Definition: BeagleWksDBParser.cxx:257
bool createZones()
finds the different objects zones
Definition: BeagleWksDBParser.cxx:372
static MWAWGraphicStyle emptyStyle()
returns an empty style.
Definition: MWAWGraphicStyle.hxx:203