#include <VSDParser.h>
Public Member Functions | |
VSDParser (WPXInputStream *input, libwpg::WPGPaintInterface *painter) | |
virtual | ~VSDParser () |
bool | parseMain () |
bool | extractStencils () |
Protected Member Functions | |
void | readEllipticalArcTo (WPXInputStream *input) |
void | readForeignData (WPXInputStream *input) |
void | readEllipse (WPXInputStream *input) |
virtual void | readLine (WPXInputStream *input) |
virtual void | readFillAndShadow (WPXInputStream *input) |
virtual void | readGeomList (WPXInputStream *input) |
void | readGeometry (WPXInputStream *input) |
void | readMoveTo (WPXInputStream *input) |
void | readLineTo (WPXInputStream *input) |
void | readArcTo (WPXInputStream *input) |
void | readNURBSTo (WPXInputStream *input) |
void | readPolylineTo (WPXInputStream *input) |
void | readInfiniteLine (WPXInputStream *input) |
void | readShapeData (WPXInputStream *input) |
void | readXFormData (WPXInputStream *input) |
void | readTxtXForm (WPXInputStream *input) |
void | readShapeId (WPXInputStream *input) |
virtual void | readShapeList (WPXInputStream *input) |
void | readForeignDataType (WPXInputStream *input) |
void | readPageProps (WPXInputStream *input) |
virtual void | readShape (WPXInputStream *input) |
void | readColours (WPXInputStream *input) |
void | readFont (WPXInputStream *input) |
void | readFontIX (WPXInputStream *input) |
virtual void | readCharList (WPXInputStream *input) |
virtual void | readParaList (WPXInputStream *input) |
virtual void | readPropList (WPXInputStream *input) |
virtual void | readPage (WPXInputStream *input) |
virtual void | readText (WPXInputStream *input) |
virtual void | readCharIX (WPXInputStream *input) |
virtual void | readParaIX (WPXInputStream *input) |
virtual void | readTextBlock (WPXInputStream *input) |
void | readNameList (WPXInputStream *input) |
virtual void | readName (WPXInputStream *input) |
virtual void | readFieldList (WPXInputStream *input) |
virtual void | readTextField (WPXInputStream *input) |
virtual void | readStyleSheet (WPXInputStream *input) |
void | readPageSheet (WPXInputStream *input) |
void | readSplineStart (WPXInputStream *input) |
void | readSplineKnot (WPXInputStream *input) |
void | readStencilShape (WPXInputStream *input) |
void | readOLEList (WPXInputStream *input) |
void | readOLEData (WPXInputStream *input) |
bool | parseDocument (WPXInputStream *input, unsigned shift) |
void | handleStreams (WPXInputStream *input, unsigned ptrType, unsigned shift, unsigned level) |
void | handleStream (const Pointer &ptr, unsigned idx, unsigned level) |
void | handleChunks (WPXInputStream *input, unsigned level) |
void | handleChunk (WPXInputStream *input) |
void | handleBlob (WPXInputStream *input, unsigned shift, unsigned level) |
virtual void | readPointer (WPXInputStream *input, Pointer &ptr) |
virtual void | readPointerInfo (WPXInputStream *input, unsigned ptrType, unsigned shift, unsigned &listSize, int &pointerCount) |
virtual bool | getChunkHeader (WPXInputStream *input) |
void | _handleLevelChange (unsigned level) |
Colour | _colourFromIndex (unsigned idx) |
void | _flushShape () |
virtual unsigned | getUInt (WPXInputStream *input) |
virtual int | getInt (WPXInputStream *input) |
Protected Attributes | |
WPXInputStream * | m_input |
libwpg::WPGPaintInterface * | m_painter |
ChunkHeader | m_header |
VSDCollector * | m_collector |
VSDShapeList | m_shapeList |
unsigned | m_currentLevel |
VSDStencils | m_stencils |
VSDStencil * | m_currentStencil |
VSDShape | m_shape |
bool | m_isStencilStarted |
bool | m_isInStyles |
unsigned | m_currentShapeLevel |
unsigned | m_currentShapeID |
bool | m_extractStencils |
std::vector< Colour > | m_colours |
bool | m_isBackgroundPage |
bool | m_isShapeStarted |
double | m_shadowOffsetX |
double | m_shadowOffsetY |
VSDGeometryList * | m_currentGeometryList |
unsigned | m_currentGeomListCount |
std::map< unsigned, VSDName > | m_fonts |
Private Member Functions | |
VSDParser () | |
VSDParser (const VSDParser &) | |
VSDParser & | operator= (const VSDParser &) |
libvisio::VSDParser::VSDParser | ( | WPXInputStream * | input, |
libwpg::WPGPaintInterface * | painter | ||
) | [explicit] |
libvisio::VSDParser::~VSDParser | ( | ) | [virtual] |
libvisio::VSDParser::VSDParser | ( | ) | [private] |
libvisio::VSDParser::VSDParser | ( | const VSDParser & | ) | [private] |
libvisio::Colour libvisio::VSDParser::_colourFromIndex | ( | unsigned | idx | ) | [protected] |
void libvisio::VSDParser::_flushShape | ( | ) | [protected] |
void libvisio::VSDParser::_handleLevelChange | ( | unsigned | level | ) | [protected] |
bool libvisio::VSDParser::extractStencils | ( | ) |
bool libvisio::VSDParser::getChunkHeader | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser, and libvisio::VSD6Parser.
int libvisio::VSDParser::getInt | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
unsigned libvisio::VSDParser::getUInt | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::handleBlob | ( | WPXInputStream * | input, |
unsigned | shift, | ||
unsigned | level | ||
) | [protected] |
void libvisio::VSDParser::handleChunk | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::handleChunks | ( | WPXInputStream * | input, |
unsigned | level | ||
) | [protected] |
void libvisio::VSDParser::handleStream | ( | const Pointer & | ptr, |
unsigned | idx, | ||
unsigned | level | ||
) | [protected] |
void libvisio::VSDParser::handleStreams | ( | WPXInputStream * | input, |
unsigned | ptrType, | ||
unsigned | shift, | ||
unsigned | level | ||
) | [protected] |
Reimplemented in libvisio::VSD5Parser, and libvisio::VSD6Parser.
bool libvisio::VSDParser::parseDocument | ( | WPXInputStream * | input, |
unsigned | shift | ||
) | [protected] |
bool libvisio::VSDParser::parseMain | ( | ) |
void libvisio::VSDParser::readArcTo | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readCharIX | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser, and libvisio::VSD6Parser.
void libvisio::VSDParser::readCharList | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readColours | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readEllipse | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readEllipticalArcTo | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readFieldList | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readFillAndShadow | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser, and libvisio::VSD6Parser.
void libvisio::VSDParser::readFont | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readFontIX | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readForeignData | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readForeignDataType | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readGeometry | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readGeomList | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readInfiniteLine | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readLine | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readLineTo | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readMoveTo | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readName | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD6Parser.
void libvisio::VSDParser::readNameList | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readNURBSTo | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readOLEData | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readOLEList | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readPage | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readPageProps | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readPageSheet | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readParaIX | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD6Parser.
void libvisio::VSDParser::readParaList | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readPointer | ( | WPXInputStream * | input, |
Pointer & | ptr | ||
) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readPointerInfo | ( | WPXInputStream * | input, |
unsigned | ptrType, | ||
unsigned | shift, | ||
unsigned & | listSize, | ||
int & | pointerCount | ||
) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readPolylineTo | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readPropList | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readShape | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readShapeData | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readShapeId | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readShapeList | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readSplineKnot | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readSplineStart | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readStencilShape | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readStyleSheet | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readText | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD6Parser.
void libvisio::VSDParser::readTextBlock | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD5Parser.
void libvisio::VSDParser::readTextField | ( | WPXInputStream * | input | ) | [protected, virtual] |
Reimplemented in libvisio::VSD6Parser.
void libvisio::VSDParser::readTxtXForm | ( | WPXInputStream * | input | ) | [protected] |
void libvisio::VSDParser::readXFormData | ( | WPXInputStream * | input | ) | [protected] |
VSDCollector* libvisio::VSDParser::m_collector [protected] |
std::vector<Colour> libvisio::VSDParser::m_colours [protected] |
unsigned libvisio::VSDParser::m_currentGeomListCount [protected] |
unsigned libvisio::VSDParser::m_currentLevel [protected] |
unsigned libvisio::VSDParser::m_currentShapeID [protected] |
unsigned libvisio::VSDParser::m_currentShapeLevel [protected] |
VSDStencil* libvisio::VSDParser::m_currentStencil [protected] |
bool libvisio::VSDParser::m_extractStencils [protected] |
std::map<unsigned, VSDName> libvisio::VSDParser::m_fonts [protected] |
ChunkHeader libvisio::VSDParser::m_header [protected] |
WPXInputStream* libvisio::VSDParser::m_input [protected] |
bool libvisio::VSDParser::m_isBackgroundPage [protected] |
bool libvisio::VSDParser::m_isInStyles [protected] |
bool libvisio::VSDParser::m_isShapeStarted [protected] |
bool libvisio::VSDParser::m_isStencilStarted [protected] |
libwpg::WPGPaintInterface* libvisio::VSDParser::m_painter [protected] |
double libvisio::VSDParser::m_shadowOffsetX [protected] |
double libvisio::VSDParser::m_shadowOffsetY [protected] |
VSDShape libvisio::VSDParser::m_shape [protected] |
VSDShapeList libvisio::VSDParser::m_shapeList [protected] |
VSDStencils libvisio::VSDParser::m_stencils [protected] |