the main class to read the text part of RagTime 56 file More...
#include <RagTime5Layout.hxx>
Public Member Functions | |
RagTime5Layout (RagTime5Document &doc) | |
constructor More... | |
virtual | ~RagTime5Layout () |
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 () |
sends the data which have not yet been sent to the listener More... | |
std::shared_ptr< RagTime5ClusterManager::Cluster > | readLayoutCluster (RagTime5Zone &zone, int zoneType) |
try to read a layout cluster More... | |
void | updateLayouts () |
update all internal data: list of master layout, ... More... | |
void | updateLayout (RagTime5LayoutInternal::ClusterLayout &layout) |
check that a layout is valid, ... More... | |
bool | sendPageContents () |
try to send the page content corresponding to the layout More... | |
bool | send (RagTime5LayoutInternal::ClusterLayout &cluster, MWAWListenerPtr listener, int page) |
try to send the cluster zone More... | |
Protected Attributes | |
RagTime5Document & | m_document |
the parser More... | |
std::shared_ptr< RagTime5StructManager > | m_structManager |
the structure manager More... | |
MWAWParserStatePtr | m_parserState |
the parser state More... | |
std::shared_ptr< RagTime5LayoutInternal::State > | m_state |
the state More... | |
Private Member Functions | |
RagTime5Layout (RagTime5Layout const &orig)=delete | |
RagTime5Layout & | operator= (RagTime5Layout const &orig)=delete |
Friends | |
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 RagTime5Layout::numPages | ( | ) | const |
returns the number of pages
|
privatedelete |
|
inlinestatic |
debug: print a file type
Referenced by RagTime5LayoutInternal::LayoutCParser::parseHeaderZone(), and RagTime5LayoutInternal::LayoutCParser::parseZone().
|
protected |
try to read a layout cluster
|
protected |
try to send the cluster zone
|
protected |
try to send the page content corresponding to the layout
|
protected |
check that a layout is valid, ...
Referenced by updateLayouts().
|
protected |
update all internal data: list of master layout, ...
Referenced by numPages().
int RagTime5Layout::version | ( | ) | const |
returns the file version
|
friend |
|
protected |
the parser
Referenced by readLayoutCluster(), sendPageContents(), and updateLayout().
|
protected |
|
protected |
the state
Referenced by numPages(), readLayoutCluster(), sendPageContents(), updateLayout(), and updateLayouts().
|
protected |
the structure manager