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