WPG2Parser Class Reference

#include <WPG2Parser.h>

Inheritance diagram for WPG2Parser:
WPGXParser

List of all members.

Classes

class  ObjectCharacterization

Public Member Functions

 WPG2Parser (WPXInputStream *input, libwpg::WPGPaintInterface *painter, bool isEmbedded=false)
bool parse ()

Private Member Functions

void handleStartWPG ()
void handleEndWPG ()
void handleFormSettings ()
void handleLayer ()
void handleCompoundPolygon ()
void handlePenStyleDefinition ()
void handleColorPalette ()
void handleDPColorPalette ()
void handlePenForeColor ()
void handleDPPenForeColor ()
void handlePenBackColor ()
void handleDPPenBackColor ()
void handlePenStyle ()
void handlePenSize ()
void handleDPPenSize ()
void handleLineCap ()
void handleLineJoin ()
void handleBrushGradient ()
void handleDPBrushGradient ()
void handleBrushForeColor ()
void handleDPBrushForeColor ()
void handleBrushBackColor ()
void handleDPBrushBackColor ()
void handleBrushPattern ()
void handlePolyline ()
void handlePolyspline ()
void handlePolycurve ()
void handleRectangle ()
void handleArc ()
void handleBitmap ()
void handleBitmapData ()
void handleTextData ()
void handleTextLine ()
void handleTextBlock ()
void handleTextPath ()
void handleObjectCapsule ()
void handleObjectImage ()
void resetPalette ()
void flushCompoundPolygon ()
void setPenStyle ()
void parseCharacterization (ObjectCharacterization *)

Private Attributes

int m_recordLength
long m_recordEnd
bool m_success
bool m_exit
bool m_graphicsStarted
unsigned int m_xres
unsigned int m_yres
long m_xofs
long m_yofs
long m_width
long m_height
bool m_doublePrecision
::WPXPropertyList m_style
libwpg::WPGColor m_penForeColor
libwpg::WPGColor m_penBackColor
libwpg::WPGColor m_brushForeColor
libwpg::WPGColor m_brushBackColor
libwpg::WPGDashArray m_dashArray
::WPXPropertyListVector m_gradient
std::map< unsigned int,
libwpg::WPGDashArray
m_dashArrayStyles
bool m_layerOpened
unsigned int m_layerId
WPG2TransformMatrix m_matrix
double m_gradientAngle
::WPXPropertyList m_gradientRef
std::stack< WPGGroupContextm_groupStack
WPG2TransformMatrix m_compoundMatrix
bool m_compoundWindingRule
bool m_compoundFilled
bool m_compoundFramed
bool m_compoundClosed
WPGBitmapContext m_bitmap
WPGBinaryDataContext m_binaryData
bool m_hFlipped
bool m_vFlipped
WPGTextDataContext m_textData
bool m_drawTextData
unsigned m_binaryId
bool m_embedded

Constructor & Destructor Documentation

WPG2Parser::WPG2Parser ( WPXInputStream *  input,
libwpg::WPGPaintInterface painter,
bool  isEmbedded = false 
)

Member Function Documentation

Referenced by parse().

void WPG2Parser::handleArc ( ) [private]

Referenced by parse().

void WPG2Parser::handleBitmap ( ) [private]

Referenced by parse().

void WPG2Parser::handleBitmapData ( ) [private]

Referenced by parse().

Referenced by parse().

Referenced by parse().

void WPG2Parser::handleBrushGradient ( ) [private]

Referenced by parse().

void WPG2Parser::handleBrushPattern ( ) [private]

Referenced by parse().

void WPG2Parser::handleColorPalette ( ) [private]

Referenced by parse().

Referenced by parse().

Referenced by parse().

Referenced by parse().

Referenced by parse().

Referenced by parse().

Referenced by parse().

Referenced by parse().

void WPG2Parser::handleDPPenSize ( ) [private]

Referenced by parse().

void WPG2Parser::handleEndWPG ( ) [private]

Referenced by handleStartWPG(), and parse().

void WPG2Parser::handleFormSettings ( ) [private]

Referenced by parse().

void WPG2Parser::handleLayer ( ) [private]

Referenced by parse().

void WPG2Parser::handleLineCap ( ) [private]

Referenced by parse().

void WPG2Parser::handleLineJoin ( ) [private]

Referenced by parse().

void WPG2Parser::handleObjectCapsule ( ) [private]

Referenced by parse().

void WPG2Parser::handleObjectImage ( ) [private]

Referenced by parse().

void WPG2Parser::handlePenBackColor ( ) [private]

Referenced by parse().

void WPG2Parser::handlePenForeColor ( ) [private]

Referenced by parse().

void WPG2Parser::handlePenSize ( ) [private]

Referenced by parse().

void WPG2Parser::handlePenStyle ( ) [private]

Referenced by parse().

Referenced by parse().

void WPG2Parser::handlePolycurve ( ) [private]

Referenced by parse().

void WPG2Parser::handlePolyline ( ) [private]

Referenced by handlePolyspline(), and parse().

void WPG2Parser::handlePolyspline ( ) [private]

Referenced by parse().

void WPG2Parser::handleRectangle ( ) [private]

Referenced by parse().

void WPG2Parser::handleStartWPG ( ) [private]

Referenced by parse().

void WPG2Parser::handleTextBlock ( ) [private]

Referenced by parse().

void WPG2Parser::handleTextData ( ) [private]

Referenced by parse().

void WPG2Parser::handleTextLine ( ) [private]

Referenced by parse().

void WPG2Parser::handleTextPath ( ) [private]

Referenced by parse().

bool WPG2Parser::parse ( ) [virtual]

Implements WPGXParser.

void WPG2Parser::resetPalette ( ) [private]

Referenced by WPG2Parser().

void WPG2Parser::setPenStyle ( ) [private]

Referenced by handlePenStyle().


Member Data Documentation

unsigned WPG2Parser::m_binaryId [private]

Referenced by handleObjectImage().

Referenced by handleCompoundPolygon(), and parse().

Referenced by handleCompoundPolygon(), and parse().

Referenced by handleCompoundPolygon(), and parse().

bool WPG2Parser::m_embedded [private]
bool WPG2Parser::m_exit [private]

Referenced by handleEndWPG(), handleStartWPG(), and parse().

long WPG2Parser::m_height [private]

Referenced by handleStartWPG().

bool WPG2Parser::m_hFlipped [private]

Referenced by handleBitmap(), and handleBitmapData().

unsigned int WPG2Parser::m_layerId [private]

Referenced by handleLayer().

bool WPG2Parser::m_layerOpened [private]

Referenced by handleEndWPG(), and handleLayer().

Referenced by parse().

bool WPG2Parser::m_success [private]

Referenced by handleStartWPG(), and parse().

bool WPG2Parser::m_vFlipped [private]

Referenced by handleBitmap(), and handleBitmapData().

long WPG2Parser::m_width [private]

Referenced by handleStartWPG().

long WPG2Parser::m_xofs [private]

Referenced by handleStartWPG().

long WPG2Parser::m_yofs [private]

Referenced by handleStartWPG().


The documentation for this class was generated from the following files: