CWPresentation Class Reference

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

#include <CWPresentation.hxx>

List of all members.

Public Member Functions

 CWPresentation (CWParser &parser)
 constructor
virtual ~CWPresentation ()
 destructor
int version () const
 returns the file version
int numPages () const
 returns the number of pages
shared_ptr< CWStruct::DSETreadPresentationZone (CWStruct::DSET const &zone, MWAWEntry const &entry, bool &complete)
 reads the zone presentation DSET
std::vector< int > getSlidesList () const
 returns the list of slide id

Protected Member Functions

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
bool readZone1 (CWPresentationInternal::Presentation &pres)
 try to read the first presentation zone ( the slide name ? )
bool readZone2 (CWPresentationInternal::Presentation &pres)
 try to read the second presentation zone ( title )

Protected Attributes

MWAWParserStatePtr m_parserState
 the parser state
shared_ptr
< CWPresentationInternal::State
m_state
 the state
CWParserm_mainParser
 the main parser;
shared_ptr< CWStyleManagerm_styleManager
 the style manager

Private Member Functions

 CWPresentation (CWPresentation const &orig)
CWPresentationoperator= (CWPresentation const &orig)

Friends

class CWParser

Detailed Description

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


Constructor & Destructor Documentation

constructor

destructor

CWPresentation::CWPresentation ( CWPresentation const &  orig) [private]

Member Function Documentation

void CWPresentation::flushExtra ( ) [protected]

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

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

returns the list of slide id

int CWPresentation::numPages ( ) const

returns the number of pages

CWPresentation& CWPresentation::operator= ( CWPresentation const &  orig) [private]
shared_ptr< CWStruct::DSET > CWPresentation::readPresentationZone ( CWStruct::DSET const &  zone,
MWAWEntry const &  entry,
bool &  complete 
)

reads the zone presentation DSET

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

try to read the second presentation zone ( title )

bool CWPresentation::sendZone ( int  number) [protected]

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

Referenced by flushExtra().

int CWPresentation::version ( ) const

returns the file version


Friends And Related Function Documentation

friend class CWParser [friend]

Member Data Documentation

the main parser;

Referenced by numPages(), and sendZone().

the style manager


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