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

ClarisWksDocumentm_document
 the document
MWAWParserStatePtr m_parserState
 the parser state
std::shared_ptr< ClarisWksPresentationInternal::Statem_state
 the state
MWAWParserm_mainParser
 the main parser;

Private Member Functions

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

Friends

class ClarisWksDocument
class ClarisWksPRParser
class ClarisWksPresentationInternal::SubDocument

Detailed Description

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

Constructor & Destructor Documentation

◆ ClarisWksPresentation() [1/2]

ClarisWksPresentation::ClarisWksPresentation ( ClarisWksDocument & document)
explicit

◆ ~ClarisWksPresentation()

ClarisWksPresentation::~ClarisWksPresentation ( )
virtual

destructor

◆ ClarisWksPresentation() [2/2]

ClarisWksPresentation::ClarisWksPresentation ( ClarisWksPresentation const & orig)
privatedelete

Member Function Documentation

◆ askToSend()

void ClarisWksPresentation::askToSend ( int number)
protected

◆ disconnectMasterFromContents()

void ClarisWksPresentation::disconnectMasterFromContents ( ) const

disconnect the master zone to the content zones

Referenced by ClarisWksPresentationInternal::SubDocument.

◆ flushExtra()

void ClarisWksPresentation::flushExtra ( )
protected

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

Referenced by ClarisWksPresentationInternal::SubDocument.

◆ numPages()

int ClarisWksPresentation::numPages ( ) const

returns the number of pages

Referenced by ClarisWksPresentationInternal::SubDocument, and updatePageSpanList().

◆ operator=()

ClarisWksPresentation & ClarisWksPresentation::operator= ( ClarisWksPresentation const & orig)
privatedelete

◆ readPresentationZone()

std::shared_ptr< ClarisWksStruct::DSET > ClarisWksPresentation::readPresentationZone ( ClarisWksStruct::DSET const & zone,
MWAWEntry const & entry,
bool & complete )

reads the zone presentation DSET

Referenced by ClarisWksPresentationInternal::SubDocument.

◆ readZone1()

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

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

)

Referenced by ClarisWksPresentationInternal::SubDocument, and readPresentationZone().

◆ readZone2()

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

try to read the second presentation zone ( title )

Referenced by ClarisWksPresentationInternal::SubDocument, and readPresentationZone().

◆ sendMaster()

bool ClarisWksPresentation::sendMaster ( )
protected

sends the master zone (ie. the background zone)

Referenced by ClarisWksPresentationInternal::SubDocument.

◆ sendZone()

bool ClarisWksPresentation::sendZone ( int number)
protected

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

Referenced by ClarisWksPresentationInternal::SubDocument, and flushExtra().

◆ updatePageSpanList()

bool ClarisWksPresentation::updatePageSpanList ( MWAWPageSpan const & page,
std::vector< MWAWPageSpan > & spanList )

updates the page span list and returns true if this is possible

Referenced by ClarisWksPresentationInternal::SubDocument.

◆ updateSlideTypes()

void ClarisWksPresentation::updateSlideTypes ( ) const

update the slide zone types

Referenced by ClarisWksPresentationInternal::SubDocument.

◆ version()

int ClarisWksPresentation::version ( ) const

returns the file version

Referenced by ClarisWksPresentationInternal::SubDocument.

◆ ClarisWksDocument

◆ ClarisWksPresentationInternal::SubDocument

◆ ClarisWksPRParser

friend class ClarisWksPRParser
friend

Referenced by ClarisWksPRParser.

Member Data Documentation

◆ m_document

ClarisWksDocument& ClarisWksPresentation::m_document
protected

◆ m_mainParser

MWAWParser* ClarisWksPresentation::m_mainParser
protected

the main parser;

Referenced by ClarisWksPresentation().

◆ m_parserState

MWAWParserStatePtr ClarisWksPresentation::m_parserState
protected

◆ m_state


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

Generated on for libmwaw by doxygen 1.18.0