the main class to read the graphic part of a Claris Resolve/Wingz file More...
#include <WingzGraph.hxx>
Public Member Functions | |
WingzGraph (WingzParser &parser) | |
constructor | |
virtual | ~WingzGraph () |
destructor | |
int | version () const |
returns the file version | |
Protected Member Functions | |
bool | sendPageGraphics () |
try to send the page graphic | |
bool | readGraphic () |
read a graphic zone: 0xe | |
bool | readEndGroup () |
read a end group zone: 0xf | |
bool | readTextZone (std::shared_ptr< WingzGraphInternal::Graphic > graphic) |
read a text zone or a button zone ( some graphic zone) | |
bool | readChartData (std::shared_ptr< WingzGraphInternal::Graphic > graphic) |
read a chart | |
bool | readPattern (MWAWGraphicStyle::Pattern &pattern, int &patId) |
read a pattern | |
bool | readColor (MWAWColor &color, int &patId) |
read a color: front color, patId, background color | |
bool | sendGraphic (WingzGraphInternal::Graphic const &graphic, MWAWPosition const &pos) |
try to send a generic graphic | |
bool | sendShape (WingzGraphInternal::Graphic const &graphic, MWAWPosition const &pos) |
try to send a shape graphic | |
bool | sendPicture (WingzGraphInternal::Graphic const &graphic, MWAWPosition const &pos) |
try to send a picture graphic | |
bool | sendText (WingzGraphInternal::Graphic const &graphic) |
try to send the content of a textbox/button | |
Protected Attributes | |
MWAWParserStatePtr | m_parserState |
the parser state | |
std::shared_ptr< WingzGraphInternal::State > | m_state |
the state | |
WingzParser * | m_mainParser |
the main parser; | |
Private Member Functions | |
WingzGraph (WingzGraph const &orig)=delete | |
WingzGraph & | operator= (WingzGraph const &orig)=delete |
Friends | |
class | WingzParser |
class | WingzGraphInternal::SubDocument |
the main class to read the graphic part of a Claris Resolve/Wingz file
|
explicit |
constructor
|
virtual |
destructor
|
privatedelete |
|
privatedelete |
|
protected |
read a chart
Referenced by readGraphic().
|
protected |
read a color: front color, patId, background color
Referenced by readChartData(), readGraphic(), and readTextZone().
|
protected |
read a end group zone: 0xf
|
protected |
read a graphic zone: 0xe
|
protected |
read a pattern
Referenced by readColor(), and readGraphic().
|
protected |
read a text zone or a button zone ( some graphic zone)
Referenced by readGraphic().
|
protected |
try to send a generic graphic
Referenced by sendGraphic(), and sendPageGraphics().
|
protected |
try to send the page graphic
|
protected |
try to send a picture graphic
Referenced by sendGraphic().
|
protected |
try to send a shape graphic
Referenced by sendGraphic().
|
protected |
try to send the content of a textbox/button
Referenced by WingzGraphInternal::SubDocument::parse().
int WingzGraph::version | ( | ) | const |
returns the file version
Referenced by readGraphic(), and readPattern().
|
friend |
|
friend |
|
protected |
the main parser;
Referenced by readChartData(), readGraphic(), readTextZone(), and sendGraphic().
|
protected |
the parser state
Referenced by readChartData(), readEndGroup(), readGraphic(), readPattern(), readTextZone(), sendGraphic(), sendPageGraphics(), sendPicture(), sendShape(), sendText(), and version().
|
protected |
the state
Referenced by readEndGroup(), readGraphic(), readPattern(), readTextZone(), sendGraphic(), and sendPageGraphics().