the main class to read the graphic part of a Nisus file More...
#include <NisusWrtGraph.hxx>
Public Member Functions | |
| NisusWrtGraph (NisusWrtParser &parser) | |
| constructor More... | |
| virtual | ~NisusWrtGraph () |
| 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 | sendPicture (int pictId, bool inPictRsrc, MWAWPosition pictPos) |
| try to send a picture More... | |
| bool | sendPageGraphics () |
| try to send the page graphic More... | |
| bool | readPLAC (MWAWEntry const &entry) |
| read the PLAC resource: a list of picture placements ? More... | |
| bool | readPLDT (NisusWrtStruct::RecursifData const &data) |
| parse the PLDT resource: a unknown resource More... | |
| bool | readPGRA (MWAWEntry const &entry) |
| read the PGRA resource: the number of page? graphics More... | |
| std::vector< NisusWrtGraphInternal::RSSOEntry > | findRSSOEntry (MWAWInputStreamPtr inp) const |
| try to find a RSSO entry in a picture file More... | |
Protected Attributes | |
| MWAWParserStatePtr | m_parserState |
| the parser state More... | |
| std::shared_ptr< NisusWrtGraphInternal::State > | m_state |
| the state More... | |
| NisusWrtParser * | m_mainParser |
| the main parser; More... | |
Private Member Functions | |
| NisusWrtGraph (NisusWrtGraph const &orig)=delete | |
| NisusWrtGraph & | operator= (NisusWrtGraph const &orig)=delete |
Friends | |
| class | NisusWrtParser |
| class | NisusWrtGraphInternal::SubDocument |
the main class to read the graphic part of a Nisus file
|
explicit |
constructor
|
virtual |
destructor
|
privatedelete |
|
protected |
finds the different graphic zones
|
protected |
try to find a RSSO entry in a picture file
Referenced by sendPicture().
|
protected |
sends the data which have not yet been sent to the listener
| int NisusWrtGraph::numPages | ( | ) | const |
returns the number of pages
|
privatedelete |
|
protected |
read the PGRA resource: the number of page? graphics
read the PGRA resource: the number of page graphic ? (id 20000)
Referenced by createZones().
|
protected |
read the PLAC resource: a list of picture placements ?
Referenced by createZones().
|
protected |
parse the PLDT resource: a unknown resource
Referenced by createZones().
|
protected |
try to send the page graphic
|
protected |
try to send a picture
Referenced by flushExtra(), NisusWrtGraphInternal::SubDocument::parse(), and sendPageGraphics().
| int NisusWrtGraph::version | ( | ) | const |
returns the file version
Referenced by findRSSOEntry(), and sendPicture().
|
friend |
|
friend |
|
protected |
the main parser;
Referenced by createZones(), readPGRA(), readPLAC(), readPLDT(), sendPageGraphics(), and sendPicture().
|
protected |
the parser state
Referenced by sendPageGraphics(), sendPicture(), and version().
|
protected |
the state
Referenced by createZones(), flushExtra(), numPages(), readPGRA(), sendPageGraphics(), and sendPicture().