the main class to read the text part of RagTime 56 file More...
#include <RagTime5Text.hxx>
Public Member Functions | |
| RagTime5Text (RagTime5Parser &parser) | |
| constructor | |
| virtual | ~RagTime5Text () |
| destructor | |
| int | version () const |
| returns the file version | |
| int | numPages () const |
| returns the number of pages | |
Protected Member Functions | |
| void | flushExtra () |
| sends the data which have not yet been sent to the listener | |
| bool | readTextCluster (RagTime5Zone &zone, int zoneType) |
| try to read a spreadsheet cluster | |
| bool | readTextStyles (RagTime5ClusterManager::Cluster &cluster) |
| try to read a main text styles | |
| bool | readTextUnknown0 (int typeId) |
| try to read a text style position correspondance ? | |
| bool | readTextUnknown1 (int typeId) |
| try to read a list of unknown zone 6 bytes data | |
| bool | readLinkZones (RagTime5ClusterManager::Cluster &cluster, RagTime5ClusterManager::Link const &link) |
| try to read a list of link/list definition | |
| bool | readFieldZones (RagTime5ClusterManager::Cluster &cluster, RagTime5ClusterManager::Link const &link, bool isDefinition) |
| try to read a list of field definition | |
| bool | readFieldDefinition (RagTime5Zone &zone, long endPos, int n) |
| try to read a field definition | |
| bool | readFieldPosition (RagTime5Zone &zone, long endPos, int n) |
| try to read a field position | |
Protected Attributes | |
| RagTime5Parser & | m_mainParser |
| the parser | |
| shared_ptr< RagTime5StructManager > | m_structManager |
| the structure manager | |
| MWAWParserStatePtr | m_parserState |
| the parser state | |
| shared_ptr < RagTime5TextInternal::State > | m_state |
| the state | |
Private Member Functions | |
| RagTime5Text (RagTime5Text const &orig) | |
| RagTime5Text & | operator= (RagTime5Text const &orig) |
Friends | |
| struct | RagTime5TextInternal::FieldParser |
| class | RagTime5TextInternal::SubDocument |
| class | RagTime5Parser |
the main class to read the text part of RagTime 56 file
| RagTime5Text::RagTime5Text | ( | RagTime5Parser & | parser | ) |
constructor
| RagTime5Text::~RagTime5Text | ( | ) | [virtual] |
destructor
| RagTime5Text::RagTime5Text | ( | RagTime5Text const & | orig | ) | [private] |
| void RagTime5Text::flushExtra | ( | ) | [protected] |
sends the data which have not yet been sent to the listener
| int RagTime5Text::numPages | ( | ) | const |
returns the number of pages
| RagTime5Text& RagTime5Text::operator= | ( | RagTime5Text const & | orig | ) | [private] |
| bool RagTime5Text::readFieldDefinition | ( | RagTime5Zone & | zone, |
| long | endPos, | ||
| int | n | ||
| ) | [protected] |
try to read a field definition
Referenced by readFieldZones().
| bool RagTime5Text::readFieldPosition | ( | RagTime5Zone & | zone, |
| long | endPos, | ||
| int | n | ||
| ) | [protected] |
try to read a field position
Referenced by readFieldZones().
| bool RagTime5Text::readFieldZones | ( | RagTime5ClusterManager::Cluster & | cluster, |
| RagTime5ClusterManager::Link const & | link, | ||
| bool | isDefinition | ||
| ) | [protected] |
try to read a list of field definition
| bool RagTime5Text::readLinkZones | ( | RagTime5ClusterManager::Cluster & | cluster, |
| RagTime5ClusterManager::Link const & | link | ||
| ) | [protected] |
try to read a list of link/list definition
Referenced by readTextCluster().
| bool RagTime5Text::readTextCluster | ( | RagTime5Zone & | zone, |
| int | zoneType | ||
| ) | [protected] |
try to read a spreadsheet cluster
| bool RagTime5Text::readTextStyles | ( | RagTime5ClusterManager::Cluster & | cluster | ) | [protected] |
try to read a main text styles
| bool RagTime5Text::readTextUnknown0 | ( | int | typeId | ) | [protected] |
try to read a text style position correspondance ?
Referenced by readTextCluster().
| bool RagTime5Text::readTextUnknown1 | ( | int | typeId | ) | [protected] |
try to read a list of unknown zone 6 bytes data
Referenced by readTextCluster().
| int RagTime5Text::version | ( | ) | const |
returns the file version
friend class RagTime5Parser [friend] |
friend struct RagTime5TextInternal::FieldParser [friend] |
friend class RagTime5TextInternal::SubDocument [friend] |
RagTime5Parser& RagTime5Text::m_mainParser [protected] |
the parser
Referenced by readFieldZones(), readLinkZones(), readTextCluster(), readTextStyles(), readTextUnknown0(), and readTextUnknown1().
MWAWParserStatePtr RagTime5Text::m_parserState [protected] |
the parser state
Referenced by version().
shared_ptr<RagTime5TextInternal::State> RagTime5Text::m_state [protected] |
the state
shared_ptr<RagTime5StructManager> RagTime5Text::m_structManager [protected] |
the structure manager
Referenced by readFieldDefinition(), readFieldPosition(), and readLinkZones().