the main class to read the text part of Acta Text file More...
#include <ActaText.hxx>
Public Member Functions | |
| ActaText (ActaParser &parser) | |
| constructor | |
| virtual | ~ActaText () |
| destructor | |
| int | version () const |
| returns the file version | |
| int | numPages () const |
| returns the number of pages | |
Protected Member Functions | |
| bool | createZones () |
| try to create the text zones | |
| bool | sendMainText () |
| send a main zone | |
| bool | getColor (int id, MWAWColor &col) const |
| return the color which corresponds to an id (if possible) | |
| bool | readTopic () |
| try to read the topic definitions (line or graphic) | |
| bool | sendTopic (ActaTextInternal::Topic const &topic) |
| try to send a topic | |
| bool | sendText (ActaTextInternal::Topic const &topic) |
| try to read a text entry | |
| bool | sendGraphic (ActaTextInternal::Topic const &topic) |
| try to read a graphic | |
| bool | readFont (MWAWFont &font, bool inPLC) |
| try to read a font | |
Protected Attributes | |
| MWAWParserStatePtr | m_parserState |
| the parser state | |
| shared_ptr < ActaTextInternal::State > | m_state |
| the state | |
| ActaParser * | m_mainParser |
| the main parser | |
Private Member Functions | |
| ActaText (ActaText const &orig) | |
| ActaText & | operator= (ActaText const &orig) |
Friends | |
| class | ActaParser |
the main class to read the text part of Acta Text file
| ActaText::ActaText | ( | ActaParser & | parser | ) |
constructor
| ActaText::~ActaText | ( | ) | [virtual] |
destructor
| ActaText::ActaText | ( | ActaText const & | orig | ) | [private] |
| 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
| 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().
friend class ActaParser [friend] |
ActaParser* ActaText::m_mainParser [protected] |
the main parser
Referenced by sendMainText(), and sendTopic().
MWAWParserStatePtr ActaText::m_parserState [protected] |
the parser state
Referenced by createZones(), readFont(), readTopic(), sendGraphic(), sendText(), sendTopic(), and version().
shared_ptr<ActaTextInternal::State> ActaText::m_state [protected] |
the state
Referenced by createZones(), getColor(), numPages(), readTopic(), sendMainText(), sendTopic(), and version().