RagTime5Layout Class Reference

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::ClusterreadLayoutCluster (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

RagTime5Documentm_document
 the parser More...
 
std::shared_ptr< RagTime5StructManagerm_structManager
 the structure manager More...
 
MWAWParserStatePtr m_parserState
 the parser state More...
 
std::shared_ptr< RagTime5LayoutInternal::Statem_state
 the state More...
 

Private Member Functions

 RagTime5Layout (RagTime5Layout const &orig)=delete
 
RagTime5Layoutoperator= (RagTime5Layout const &orig)=delete
 

Friends

class RagTime5Document
 

Detailed Description

the main class to read the text part of RagTime 56 file

Constructor & Destructor Documentation

RagTime5Layout::RagTime5Layout ( RagTime5Document doc)
explicit

constructor

RagTime5Layout::~RagTime5Layout ( )
virtual

destructor

RagTime5Layout::RagTime5Layout ( RagTime5Layout const &  orig)
privatedelete

Member Function Documentation

void RagTime5Layout::flushExtra ( )
protected

sends the data which have not yet been sent to the listener

int RagTime5Layout::numPages ( ) const

returns the number of pages

RagTime5Layout& RagTime5Layout::operator= ( RagTime5Layout const &  orig)
privatedelete
static std::string RagTime5Layout::printType ( unsigned long  fileType)
inlinestatic
std::shared_ptr< RagTime5ClusterManager::Cluster > RagTime5Layout::readLayoutCluster ( RagTime5Zone zone,
int  zoneType 
)
protected

try to read a layout cluster

bool RagTime5Layout::send ( RagTime5LayoutInternal::ClusterLayout cluster,
MWAWListenerPtr  listener,
int  page 
)
protected

try to send the cluster zone

bool RagTime5Layout::sendPageContents ( )
protected

try to send the page content corresponding to the layout

void RagTime5Layout::updateLayout ( RagTime5LayoutInternal::ClusterLayout layout)
protected

check that a layout is valid, ...

Referenced by updateLayouts().

void RagTime5Layout::updateLayouts ( )
protected

update all internal data: list of master layout, ...

Referenced by numPages().

int RagTime5Layout::version ( ) const

returns the file version

Friends And Related Function Documentation

friend class RagTime5Document
friend

Member Data Documentation

RagTime5Document& RagTime5Layout::m_document
protected

the parser

Referenced by readLayoutCluster(), sendPageContents(), and updateLayout().

MWAWParserStatePtr RagTime5Layout::m_parserState
protected

the parser state

Referenced by send(), and version().

std::shared_ptr<RagTime5LayoutInternal::State> RagTime5Layout::m_state
protected
std::shared_ptr<RagTime5StructManager> RagTime5Layout::m_structManager
protected

the structure manager


The documentation for this class was generated from the following files:

Generated on Thu May 30 2024 13:09:15 for libmwaw by doxygen 1.8.10