the main class to read the graphic part of a LightWay Text file More...
#include <LightWayTxtGraph.hxx>
Public Member Functions | |
| LightWayTxtGraph (LightWayTxtParser &parser) | |
| constructor More... | |
| virtual | ~LightWayTxtGraph () |
| destructor More... | |
| int | version () const |
| returns the file version More... | |
| int | numPages () const |
| returns the number of pages More... | |
Protected Member Functions | |
| bool | createZones () |
| finds the different graphic zones More... | |
| void | flushExtra () |
| sends the data which have not yet been sent to the listener More... | |
| bool | sendPageGraphics () |
| try to send the page graphic More... | |
| void | send (int id) |
| try to send a graph More... | |
| bool | sendJPEG (MWAWEntry const &entry) |
| try to send a JPEG resource More... | |
| bool | sendPICT (MWAWEntry const &entry) |
| try to send a PICT resource More... | |
Static Protected Member Functions | |
| static bool | findJPEGSize (librevenge::RVNGBinaryData const &data, Vec2i &sz) |
| try to find a JPEG size More... | |
Protected Attributes | |
| MWAWParserStatePtr | m_parserState |
| the parser state More... | |
| shared_ptr< LightWayTxtGraphInternal::State > | m_state |
| the state More... | |
| LightWayTxtParser * | m_mainParser |
| the main parser; More... | |
Private Member Functions | |
| LightWayTxtGraph (LightWayTxtGraph const &orig) | |
| LightWayTxtGraph & | operator= (LightWayTxtGraph const &orig) |
Friends | |
| class | LightWayTxtParser |
the main class to read the graphic part of a LightWay Text file
| LightWayTxtGraph::LightWayTxtGraph | ( | LightWayTxtParser & | parser | ) |
constructor
|
virtual |
destructor
|
private |
|
protected |
finds the different graphic zones
|
staticprotected |
try to find a JPEG size
Referenced by sendJPEG().
|
protected |
sends the data which have not yet been sent to the listener
| int LightWayTxtGraph::numPages | ( | ) | const |
returns the number of pages
|
private |
|
protected |
try to send a graph
|
protected |
try to send a JPEG resource
Referenced by flushExtra(), and send().
|
protected |
try to send the page graphic
|
protected |
try to send a PICT resource
Referenced by flushExtra(), and send().
| int LightWayTxtGraph::version | ( | ) | const |
returns the file version
|
friend |
|
protected |
the main parser;
Referenced by createZones(), sendJPEG(), and sendPICT().
|
protected |
the parser state
Referenced by sendJPEG(), sendPICT(), and version().
|
protected |
the state
Referenced by createZones(), flushExtra(), numPages(), and send().