the main class to read the graphic part of a Mariner Write file More...
#include <MRWGraph.hxx>
Public Member Functions | |
| MRWGraph (MRWParser &parser) | |
| constructor More... | |
| virtual | ~MRWGraph () |
| destructor More... | |
| int | version () const |
| returns the file version More... | |
| int | numPages () const |
| returns the number of pages More... | |
Protected Member Functions | |
| bool | sendPageGraphics () |
| try to send the page graphic More... | |
| void | flushExtra () |
| sends the data which have not yet been sent to the listener More... | |
| float | getPatternPercent (int id) const |
| return the pattern percent which corresponds to an id (or -1) More... | |
| bool | readPostscript (MRWEntry const &entry, int zoneId) |
| try to read a postscript zone More... | |
| bool | readToken (MRWEntry const &entry, int zoneId) |
| try to read a token zone (can be a picture or a field) More... | |
| bool | readTokenBlock0 (MRWStruct const &data, MRWGraphInternal::Token &tkn, std::string &res) |
| try to read the first token zone ( which can contains some field text ) More... | |
| void | sendPicture (MRWGraphInternal::Token const &tkn) |
| try to send a picture token as char More... | |
| void | sendRule (MRWGraphInternal::Token const &tkn, MWAWFont const &actFont) |
| try to send a rule More... | |
| void | sendPSZone (MRWGraphInternal::PSZone const &ps, MWAWPosition const &pos) |
| try to send a ps picture as pos More... | |
| void | sendToken (int zoneId, long tokenId, MWAWFont const &actFont) |
| try to send a token More... | |
| void | sendText (int zoneId) |
| ask the main parser to send a text zone More... | |
Protected Attributes | |
| MWAWParserStatePtr | m_parserState |
| the parser state More... | |
| shared_ptr < MRWGraphInternal::State > | m_state |
| the state More... | |
| MRWParser * | m_mainParser |
| the main parser; More... | |
Private Member Functions | |
| MRWGraph (MRWGraph const &orig) | |
| MRWGraph & | operator= (MRWGraph const &orig) |
Friends | |
| class | MRWParser |
| class | MRWGraphInternal::SubDocument |
the main class to read the graphic part of a Mariner Write file
| MRWGraph::MRWGraph | ( | MRWParser & | parser | ) |
constructor
|
virtual |
destructor
|
private |
|
protected |
sends the data which have not yet been sent to the listener
|
protected |
return the pattern percent which corresponds to an id (or -1)
Referenced by sendRule().
| int MRWGraph::numPages | ( | ) | const |
returns the number of pages
|
protected |
try to read a postscript zone
|
protected |
try to read a token zone (can be a picture or a field)
|
protected |
try to read the first token zone ( which can contains some field text )
Referenced by readToken().
|
protected |
try to send the page graphic
|
protected |
try to send a picture token as char
Referenced by sendToken().
|
protected |
try to send a ps picture as pos
Referenced by flushExtra().
|
protected |
try to send a rule
Referenced by sendToken().
|
protected |
ask the main parser to send a text zone
Referenced by MRWGraphInternal::SubDocument::parse().
|
protected |
try to send a token
Referenced by flushExtra().
| int MRWGraph::version | ( | ) | const |
returns the file version
Referenced by getPatternPercent().
|
friend |
|
friend |
|
protected |
the main parser;
Referenced by readPostscript(), readToken(), sendText(), and sendToken().
|
protected |
the parser state
Referenced by readPostscript(), readToken(), readTokenBlock0(), sendPicture(), sendPSZone(), sendRule(), sendToken(), and version().
|
protected |
the state
Referenced by flushExtra(), getPatternPercent(), numPages(), readPostscript(), readToken(), and sendToken().