the main class to read the text part of Claris Works file More...
#include <ClarisWksPresentation.hxx>
Public Member Functions | |
ClarisWksPresentation (ClarisWksDocument &document) | |
constructor | |
virtual | ~ClarisWksPresentation () |
destructor | |
int | version () const |
returns the file version | |
int | numPages () const |
returns the number of pages | |
bool | updatePageSpanList (MWAWPageSpan const &page, std::vector< MWAWPageSpan > &spanList) |
updates the page span list and returns true if this is possible | |
std::shared_ptr< ClarisWksStruct::DSET > | readPresentationZone (ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete) |
reads the zone presentation DSET | |
void | updateSlideTypes () const |
update the slide zone types | |
void | disconnectMasterFromContents () const |
disconnect the master zone to the content zones | |
Protected Member Functions | |
bool | sendMaster () |
sends the master zone (ie. the background zone) | |
bool | sendZone (int number) |
sends the zone data to the listener (if it exists ) | |
void | flushExtra () |
sends the data which have not yet been sent to the listener | |
void | askToSend (int number) |
ask the main parser to send a zone | |
bool | readZone1 (ClarisWksPresentationInternal::Presentation &pres) |
try to read the first presentation zone ( the slide name ? ) | |
bool | readZone2 (ClarisWksPresentationInternal::Presentation &pres) |
try to read the second presentation zone ( title ) | |
Protected Attributes | |
ClarisWksDocument & | m_document |
the document | |
MWAWParserStatePtr | m_parserState |
the parser state | |
std::shared_ptr< ClarisWksPresentationInternal::State > | m_state |
the state | |
MWAWParser * | m_mainParser |
the main parser; | |
Private Member Functions | |
ClarisWksPresentation (ClarisWksPresentation const &orig)=delete | |
ClarisWksPresentation & | operator= (ClarisWksPresentation const &orig)=delete |
Friends | |
class | ClarisWksDocument |
class | ClarisWksPRParser |
class | ClarisWksPresentationInternal::SubDocument |
the main class to read the text part of Claris Works file
|
explicit |
constructor
|
virtual |
destructor
|
privatedelete |
|
protected |
ask the main parser to send a zone
Referenced by ClarisWksPresentationInternal::SubDocument::parse().
void ClarisWksPresentation::disconnectMasterFromContents | ( | ) | const |
disconnect the master zone to the content zones
|
protected |
sends the data which have not yet been sent to the listener
int ClarisWksPresentation::numPages | ( | ) | const |
returns the number of pages
Referenced by updatePageSpanList().
|
privatedelete |
std::shared_ptr< ClarisWksStruct::DSET > ClarisWksPresentation::readPresentationZone | ( | ClarisWksStruct::DSET const & | zone, |
MWAWEntry const & | entry, | ||
bool & | complete | ||
) |
reads the zone presentation DSET
|
protected |
try to read the first presentation zone ( the slide name ? )
Referenced by readPresentationZone().
|
protected |
try to read the second presentation zone ( title )
Referenced by readPresentationZone().
|
protected |
sends the master zone (ie. the background zone)
|
protected |
sends the zone data to the listener (if it exists )
Referenced by flushExtra().
bool ClarisWksPresentation::updatePageSpanList | ( | MWAWPageSpan const & | page, |
std::vector< MWAWPageSpan > & | spanList | ||
) |
updates the page span list and returns true if this is possible
void ClarisWksPresentation::updateSlideTypes | ( | ) | const |
update the slide zone types
int ClarisWksPresentation::version | ( | ) | const |
returns the file version
|
friend |
|
friend |
|
friend |
|
protected |
the document
Referenced by askToSend(), disconnectMasterFromContents(), sendMaster(), sendZone(), and updateSlideTypes().
|
protected |
the main parser;
|
protected |
the parser state
Referenced by flushExtra(), numPages(), readPresentationZone(), readZone1(), readZone2(), sendZone(), and version().
|
protected |
the state
Referenced by disconnectMasterFromContents(), flushExtra(), numPages(), readPresentationZone(), sendMaster(), sendZone(), updatePageSpanList(), and updateSlideTypes().