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