WPG2Parser Class Reference

#include <WPG2Parser.h>

Inheritance diagram for WPG2Parser:
WPGXParser

Classes

class  ObjectCharacterization
 

Public Member Functions

 WPG2Parser (librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter, bool isEmbedded=false)
 
bool parse ()
 
- Public Member Functions inherited from WPGXParser
 WPGXParser (librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter)
 
 WPGXParser (const WPGXParser &parser)
 
virtual ~WPGXParser ()
 
unsigned char readU8 ()
 
unsigned short readU16 ()
 
unsigned int readU32 ()
 
short readS16 ()
 
int readS32 ()
 
unsigned int readVariableLengthInteger ()
 
WPGXParseroperator= (const WPGXParser &parser)
 

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
 
::librevenge::RVNGPropertyList m_style
 
libwpg::WPGColor m_penForeColor
 
libwpg::WPGColor m_penBackColor
 
libwpg::WPGColor m_brushForeColor
 
libwpg::WPGColor m_brushBackColor
 
libwpg::WPGDashArray m_dashArray
 
::librevenge::RVNGPropertyListVector m_gradient
 
std::map< unsigned int,
libwpg::WPGDashArray
m_dashArrayStyles
 
bool m_layerOpened
 
WPG2TransformMatrix m_matrix
 
double m_gradientAngle
 
::librevenge::RVNGPropertyList 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
 

Additional Inherited Members

- Protected Attributes inherited from WPGXParser
librevenge::RVNGInputStream * m_input
 
librevenge::RVNGDrawingInterface * m_painter
 
std::map< int, libwpg::WPGColorm_colorPalette
 

Constructor & Destructor Documentation

WPG2Parser::WPG2Parser ( librevenge::RVNGInputStream *  input,
librevenge::RVNGDrawingInterface *  painter,
bool  isEmbedded = false 
)

Member Function Documentation

void WPG2Parser::flushCompoundPolygon ( )
private

Referenced by parse().

void WPG2Parser::handleArc ( )
private

Referenced by parse().

void WPG2Parser::handleBitmap ( )
private

Referenced by parse().

void WPG2Parser::handleBitmapData ( )
private

Referenced by parse().

void WPG2Parser::handleBrushBackColor ( )
private

Referenced by parse().

void WPG2Parser::handleBrushForeColor ( )
private

Referenced by parse().

void WPG2Parser::handleBrushGradient ( )
private

Referenced by parse().

void WPG2Parser::handleBrushPattern ( )
private

Referenced by parse().

void WPG2Parser::handleColorPalette ( )
private

Referenced by parse().

void WPG2Parser::handleCompoundPolygon ( )
private

Referenced by parse().

void WPG2Parser::handleDPBrushBackColor ( )
private

Referenced by parse().

void WPG2Parser::handleDPBrushForeColor ( )
private

Referenced by parse().

void WPG2Parser::handleDPBrushGradient ( )
private

Referenced by parse().

void WPG2Parser::handleDPColorPalette ( )
private

Referenced by parse().

void WPG2Parser::handleDPPenBackColor ( )
private

Referenced by parse().

void WPG2Parser::handleDPPenForeColor ( )
private

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().

void WPG2Parser::handlePenStyleDefinition ( )
private

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

WPGBinaryDataContext WPG2Parser::m_binaryData
private
WPGBitmapContext WPG2Parser::m_bitmap
private

Referenced by handleBitmap(), and handleBitmapData().

libwpg::WPGColor WPG2Parser::m_brushBackColor
private
bool WPG2Parser::m_compoundClosed
private

Referenced by handleCompoundPolygon(), and parse().

bool WPG2Parser::m_compoundFilled
private

Referenced by handleCompoundPolygon(), and parse().

bool WPG2Parser::m_compoundFramed
private

Referenced by handleCompoundPolygon(), and parse().

WPG2TransformMatrix WPG2Parser::m_compoundMatrix
private

Referenced by handleCompoundPolygon(), and parse().

bool WPG2Parser::m_compoundWindingRule
private

Referenced by handleCompoundPolygon().

libwpg::WPGDashArray WPG2Parser::m_dashArray
private
std::map<unsigned int,libwpg::WPGDashArray> WPG2Parser::m_dashArrayStyles
private
bool WPG2Parser::m_drawTextData
private
bool WPG2Parser::m_exit
private

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

::librevenge::RVNGPropertyListVector WPG2Parser::m_gradient
private
double WPG2Parser::m_gradientAngle
private
::librevenge::RVNGPropertyList WPG2Parser::m_gradientRef
private
long WPG2Parser::m_height
private

Referenced by handleStartWPG().

bool WPG2Parser::m_hFlipped
private

Referenced by handleBitmap(), and handleBitmapData().

bool WPG2Parser::m_layerOpened
private

Referenced by handleEndWPG(), and handleLayer().

libwpg::WPGColor WPG2Parser::m_penBackColor
private
long WPG2Parser::m_recordEnd
private
int WPG2Parser::m_recordLength
private

Referenced by parse().

bool WPG2Parser::m_success
private

Referenced by handleStartWPG(), and parse().

WPGTextDataContext WPG2Parser::m_textData
private
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:

Generated for libwpg by doxygen 1.8.6