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:930
bool sendFrame(BeagleWksStructManager::Frame const &frame)
try to send a frame
Definition: BeagleWksDBParser.cxx:1439
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:273
bool readFormat(MWAWCell &cell, std::string &extra)
try to read a cell's format+font
Definition: BeagleWksDBParser.cxx:783
bool readDatabase()
read the database zone
Definition: BeagleWksDBParser.cxx:694
MWAWVec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: BeagleWksDBParser.cxx:286
bool sendPicture(int pId, MWAWPosition const &pos, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
try to send a picture
Definition: BeagleWksDBParser.cxx:1454
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:1189
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:1215
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: BeagleWksDBParser.cxx:1573
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:324
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:449
bool sendText(MWAWEntry entry, bool headerFooter=false)
try to send a text zone
Definition: BeagleWksDBParser.cxx:1479
bool readRSRCZones()
read the resource fork zone
Definition: BeagleWksDBParser.cxx:599
BeagleWksDBParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: BeagleWksDBParser.cxx:251
bool readFields()
read the fields list
Definition: BeagleWksDBParser.cxx:1064
bool sendDatabase()
try to send the main database
Definition: BeagleWksDBParser.cxx:1515
Internal: the subdocument of a BeagleWksDBParser.
Definition: BeagleWksDBParser.cxx:197
bool readPrintInfo()
read the print info zone
Definition: BeagleWksDBParser.cxx:638
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
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
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:1430
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:271
virtual ~BeagleWksDBParser()
destructor
Definition: BeagleWksDBParser.cxx:257
bool createZones()
finds the different objects zones
Definition: BeagleWksDBParser.cxx:371
static MWAWGraphicStyle emptyStyle()
returns an empty style.
Definition: MWAWGraphicStyle.hxx:204