the main class to read the text part of Claris Works file More...
#include <ClarisWksDatabase.hxx>
Public Member Functions | |
| ClarisWksDatabase (ClarisWksDocument &document) | |
| constructor | |
| virtual | ~ClarisWksDatabase () |
| destructor | |
| int | version () const |
| returns the file version | |
| int | numPages () const |
| returns the number of pages | |
| std::shared_ptr< ClarisWksStruct::DSET > | readDatabaseZone (ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete) |
| reads the zone Text DSET | |
| bool | canSendDatabaseAsGraphic (int) const |
| check if we can send a database as graphic | |
| bool | sendDatabase (int number, MWAWListenerPtr listener) |
| sends the zone data to the listener (if it exists ) | |
Protected Member Functions | |
| bool | readFields (ClarisWksDatabaseInternal::Database &dBase) |
| try to read the database structure | |
| bool | readDefaults (ClarisWksDatabaseInternal::Database &dBase) |
| try to read the default structure | |
| bool | readLayout (ClarisWksDatabaseInternal::Database &dBase) |
| try to read the layout structures | |
Protected Attributes | |
| ClarisWksDocument & | m_document |
| the document | |
| MWAWParserStatePtr | m_parserState |
| the parser state | |
| std::shared_ptr< ClarisWksDatabaseInternal::State > | m_state |
| the state | |
| MWAWParser * | m_mainParser |
| the main parser; | |
Private Member Functions | |
| ClarisWksDatabase (ClarisWksDatabase const &)=delete | |
| ClarisWksDatabase & | operator= (ClarisWksDatabase const &)=delete |
Friends | |
| class | ClarisWksParser |
the main class to read the text part of Claris Works file
|
explicit |
constructor
Referenced by ClarisWksDatabase(), and operator=().
|
virtual |
destructor
|
privatedelete |
|
inline |
check if we can send a database as graphic
| int ClarisWksDatabase::numPages | ( | ) | const |
returns the number of pages
|
privatedelete |
| std::shared_ptr< ClarisWksStruct::DSET > ClarisWksDatabase::readDatabaseZone | ( | ClarisWksStruct::DSET const & | zone, |
| MWAWEntry const & | entry, | ||
| bool & | complete ) |
reads the zone Text DSET
|
protected |
try to read the default structure
Referenced by readDatabaseZone().
|
protected |
try to read the database structure
find f1=600 for a number f16 = 0[checkbox, ... ], 2[number or text],3 [name field], 82[value list], f16 & 8: can not be empty
Referenced by readDatabaseZone().
|
protected |
try to read the layout structures
Referenced by readDatabaseZone().
| bool ClarisWksDatabase::sendDatabase | ( | int | number, |
| MWAWListenerPtr | listener ) |
sends the zone data to the listener (if it exists )
| int ClarisWksDatabase::version | ( | ) | const |
returns the file version
Referenced by readDatabaseZone(), readDefaults(), and readFields().
|
friend |
Referenced by ClarisWksParser.
|
protected |
the document
Referenced by ClarisWksDatabase(), readDatabaseZone(), readDefaults(), and sendDatabase().
|
protected |
the main parser;
Referenced by ClarisWksDatabase().
|
protected |
the parser state
Referenced by ClarisWksDatabase(), readDatabaseZone(), readDefaults(), readFields(), readLayout(), sendDatabase(), and version().
|
protected |
the state
Referenced by ClarisWksDatabase(), readDatabaseZone(), and sendDatabase().