ClarisWksPresentation Class Reference

the main class to read the text part of Claris Works file More...

#include <ClarisWksPresentation.hxx>

Public Member Functions

 ClarisWksPresentation (ClarisWksDocument &document)
 constructor More...
 
virtual ~ClarisWksPresentation ()
 destructor More...
 
int version () const
 returns the file version More...
 
int numPages () const
 returns the number of pages More...
 
shared_ptr< ClarisWksStruct::DSETreadPresentationZone (ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete)
 reads the zone presentation DSET More...
 
std::vector< int > getSlidesList () const
 returns the list of slide id More...
 

Protected Member Functions

bool sendZone (int number)
 sends the zone data to the listener (if it exists ) More...
 
void flushExtra ()
 sends the data which have not yet been sent to the listener More...
 
bool readZone1 (ClarisWksPresentationInternal::Presentation &pres)
 try to read the first presentation zone ( the slide name ? ) More...
 
bool readZone2 (ClarisWksPresentationInternal::Presentation &pres)
 try to read the second presentation zone ( title ) More...
 

Protected Attributes

ClarisWksDocumentm_document
 the document More...
 
MWAWParserStatePtr m_parserState
 the parser state More...
 
shared_ptr
< ClarisWksPresentationInternal::State
m_state
 the state More...
 
MWAWParserm_mainParser
 the main parser; More...
 

Private Member Functions

 ClarisWksPresentation (ClarisWksPresentation const &orig)
 
ClarisWksPresentationoperator= (ClarisWksPresentation const &orig)
 

Friends

class ClarisWksDocument
 
class ClarisWksParser
 

Detailed Description

the main class to read the text part of Claris Works file

Constructor & Destructor Documentation

ClarisWksPresentation::ClarisWksPresentation ( ClarisWksDocument document)

constructor

ClarisWksPresentation::~ClarisWksPresentation ( )
virtual

destructor

ClarisWksPresentation::ClarisWksPresentation ( ClarisWksPresentation const &  orig)
private

Member Function Documentation

void ClarisWksPresentation::flushExtra ( )
protected

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

std::vector< int > ClarisWksPresentation::getSlidesList ( ) const

returns the list of slide id

int ClarisWksPresentation::numPages ( ) const

returns the number of pages

ClarisWksPresentation& ClarisWksPresentation::operator= ( ClarisWksPresentation const &  orig)
private
shared_ptr< ClarisWksStruct::DSET > ClarisWksPresentation::readPresentationZone ( ClarisWksStruct::DSET const &  zone,
MWAWEntry const &  entry,
bool &  complete 
)

reads the zone presentation DSET

bool ClarisWksPresentation::readZone1 ( ClarisWksPresentationInternal::Presentation pres)
protected

try to read the first presentation zone ( the slide name ? )

bool ClarisWksPresentation::readZone2 ( ClarisWksPresentationInternal::Presentation pres)
protected

try to read the second presentation zone ( title )

bool ClarisWksPresentation::sendZone ( int  number)
protected

sends the zone data to the listener (if it exists )

Referenced by flushExtra().

int ClarisWksPresentation::version ( ) const

returns the file version

Friends And Related Function Documentation

friend class ClarisWksDocument
friend
friend class ClarisWksParser
friend

Member Data Documentation

ClarisWksDocument& ClarisWksPresentation::m_document
protected

the document

Referenced by sendZone().

MWAWParser* ClarisWksPresentation::m_mainParser
protected

the main parser;

MWAWParserStatePtr ClarisWksPresentation::m_parserState
protected

the parser state

Referenced by flushExtra(), numPages(), readZone1(), readZone2(), sendZone(), and version().

shared_ptr<ClarisWksPresentationInternal::State> ClarisWksPresentation::m_state
protected

the state

Referenced by flushExtra(), getSlidesList(), numPages(), and sendZone().


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

Generated on Wed Jun 7 2017 22:16:25 for libmwaw by doxygen 1.8.8