the main class to read the text part of RagTime 56 file More...
#include <RagTime5Text.hxx>
Public Member Functions | |
RagTime5Text (RagTime5Document &doc) | |
constructor More... | |
virtual | ~RagTime5Text () |
destructor More... | |
int | version () const |
returns the file version More... | |
int | numPages () const |
returns the number of pages More... | |
Static Public Member Functions | |
static std::string | printType (unsigned long fileType) |
debug: print a file type More... | |
Protected Member Functions | |
void | flushExtra (bool onlyCheck=false) |
sends the data which have not yet been sent to the listener More... | |
std::shared_ptr< RagTime5ClusterManager::Cluster > | readTextCluster (RagTime5Zone &zone, int zoneType) |
try to read a text cluster More... | |
bool | readPLC (RagTime5TextInternal::ClusterText &cluster, int zoneId) |
try to read a list of PLC More... | |
bool | readPLCToCharStyle (RagTime5TextInternal::ClusterText &cluster) |
try to read a plc id to char style correspondance More... | |
bool | readLinkZones (RagTime5TextInternal::ClusterText &cluster, RagTime5ClusterManager::Link const &link, int what) |
try to read a list of link/list definition with what=0:attachment, 1:item, 3:index, 4:field, 5:footnote More... | |
bool | readTextSeparators (RagTime5Zone &zone, std::vector< int > &pos) |
try to read the text separators More... | |
bool | send (int zoneId, MWAWListenerPtr listener, int partId=0, int cellId=0, double totalWidth=-1) |
try to send the cluster zone More... | |
bool | send (RagTime5TextInternal::ClusterText &cluster, MWAWListenerPtr listener, int partId=0, int cellId=0, double totalWidth=-1) |
try to send the cluster zone More... | |
bool | send (RagTime5TextInternal::ClusterText &cluster, RagTime5Zone &dataZone, MWAWListenerPtr listener, size_t firstChar, size_t lastChar, bool isLastZone, double totalWidth) |
try to send the caracter between fChar and lChar More... | |
Protected Attributes | |
RagTime5Document & | m_document |
the parser More... | |
std::shared_ptr< RagTime5StructManager > | m_structManager |
the structure manager More... | |
std::shared_ptr< RagTime5StyleManager > | m_styleManager |
the style manager More... | |
MWAWParserStatePtr | m_parserState |
the parser state More... | |
std::shared_ptr< RagTime5TextInternal::State > | m_state |
the state More... | |
Private Member Functions | |
RagTime5Text (RagTime5Text const &orig)=delete | |
RagTime5Text & | operator= (RagTime5Text const &orig)=delete |
Friends | |
class | RagTime5TextInternal::SubDocument |
class | RagTime5Document |
the main class to read the text part of RagTime 56 file
|
explicit |
constructor
|
virtual |
destructor
|
privatedelete |
|
protected |
sends the data which have not yet been sent to the listener
int RagTime5Text::numPages | ( | ) | const |
returns the number of pages
|
privatedelete |
|
inlinestatic |
debug: print a file type
Referenced by RagTime5TextInternal::TextCParser::parseDataZone().
|
protected |
try to read a list of link/list definition with what=0:attachment, 1:item, 3:index, 4:field, 5:footnote
Referenced by readTextCluster().
|
protected |
try to read a list of PLC
Referenced by readTextCluster().
|
protected |
try to read a plc id to char style correspondance
Referenced by readTextCluster().
|
protected |
try to read a text cluster
|
protected |
try to read the text separators
Referenced by send().
|
protected |
try to send the cluster zone
Referenced by flushExtra(), and send().
|
protected |
try to send the cluster zone
|
protected |
try to send the caracter between fChar and lChar
int RagTime5Text::version | ( | ) | const |
returns the file version
|
friend |
|
friend |
|
protected |
the parser
Referenced by readLinkZones(), readPLC(), readPLCToCharStyle(), readTextCluster(), and send().
|
protected |
|
protected |
the state
Referenced by flushExtra(), readLinkZones(), readTextCluster(), and send().
|
protected |
the structure manager
Referenced by readLinkZones().
|
protected |
the style manager
Referenced by send().