ActaText Class Reference

the main class to read the text part of Acta Text file More...

#include <ActaText.hxx>

Public Member Functions

 ActaText (ActaParser &parser)
 constructor More...
 
virtual ~ActaText ()
 destructor More...
 
int version () const
 returns the file version More...
 
int numPages () const
 returns the number of pages More...
 

Protected Member Functions

bool createZones ()
 try to create the text zones More...
 
bool sendMainText ()
 send a main zone More...
 
bool getColor (int id, MWAWColor &col) const
 return the color which corresponds to an id (if possible) More...
 
bool readTopic ()
 try to read the topic definitions (line or graphic) More...
 
bool sendTopic (ActaTextInternal::Topic const &topic)
 try to send a topic More...
 
bool sendText (ActaTextInternal::Topic const &topic)
 try to read a text entry More...
 
bool sendGraphic (ActaTextInternal::Topic const &topic)
 try to read a graphic More...
 
bool readFont (MWAWFont &font, bool inPLC)
 try to read a font More...
 

Protected Attributes

MWAWParserStatePtr m_parserState
 the parser state More...
 
shared_ptr
< ActaTextInternal::State
m_state
 the state More...
 
ActaParserm_mainParser
 the main parser More...
 

Private Member Functions

 ActaText (ActaText const &orig)
 
ActaTextoperator= (ActaText const &orig)
 

Friends

class ActaParser
 

Detailed Description

the main class to read the text part of Acta Text file

Constructor & Destructor Documentation

ActaText::ActaText ( ActaParser parser)

constructor

ActaText::~ActaText ( )
virtual

destructor

ActaText::ActaText ( ActaText const &  orig)
private

Member Function Documentation

bool ActaText::createZones ( )
protected

try to create the text zones

bool ActaText::getColor ( int  id,
MWAWColor col 
) const
protected

return the color which corresponds to an id (if possible)

Referenced by readTopic().

int ActaText::numPages ( ) const

returns the number of pages

ActaText& ActaText::operator= ( ActaText const &  orig)
private
bool ActaText::readFont ( MWAWFont font,
bool  inPLC 
)
protected

try to read a font

Referenced by readTopic(), and sendText().

bool ActaText::readTopic ( )
protected

try to read the topic definitions (line or graphic)

Referenced by createZones().

bool ActaText::sendGraphic ( ActaTextInternal::Topic const &  topic)
protected

try to read a graphic

Referenced by sendTopic().

bool ActaText::sendMainText ( )
protected

send a main zone

bool ActaText::sendText ( ActaTextInternal::Topic const &  topic)
protected

try to read a text entry

Referenced by sendTopic().

bool ActaText::sendTopic ( ActaTextInternal::Topic const &  topic)
protected

try to send a topic

Referenced by sendMainText().

int ActaText::version ( ) const

returns the file version

Referenced by createZones(), getColor(), and readTopic().

Friends And Related Function Documentation

friend class ActaParser
friend

Member Data Documentation

ActaParser* ActaText::m_mainParser
protected

the main parser

Referenced by sendMainText(), and sendTopic().

MWAWParserStatePtr ActaText::m_parserState
protected
shared_ptr<ActaTextInternal::State> ActaText::m_state
protected

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

Generated on Thu Jul 9 2015 20:26:37 for libmwaw by doxygen 1.8.8