libvisio::VSDParser Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
libvisio::VSDParser Class Reference

`#include <VSDParser.h>`

Inheritance diagram for libvisio::VSDParser:

## Public Member Functions
| VSDParser (librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter, librevenge::RVNGInputStream *container=0)
virtual | ~VSDParser ()
bool | parseMain ()
bool | extractStencils ()

## Protected Member Functions
void | readEllipticalArcTo (librevenge::RVNGInputStream *input)
void | readForeignData (librevenge::RVNGInputStream *input)
void | readEllipse (librevenge::RVNGInputStream *input)
virtual void | readLine (librevenge::RVNGInputStream *input)
virtual void | readFillAndShadow (librevenge::RVNGInputStream *input)
virtual void | readGeomList (librevenge::RVNGInputStream *input)
void | readGeometry (librevenge::RVNGInputStream *input)
void | readMoveTo (librevenge::RVNGInputStream *input)
void | readLineTo (librevenge::RVNGInputStream *input)
void | readArcTo (librevenge::RVNGInputStream *input)
void | readNURBSTo (librevenge::RVNGInputStream *input)
void | readPolylineTo (librevenge::RVNGInputStream *input)
void | readInfiniteLine (librevenge::RVNGInputStream *input)
void | readShapeData (librevenge::RVNGInputStream *input)
void | readXFormData (librevenge::RVNGInputStream *input)
void | readXForm1D (librevenge::RVNGInputStream *input)
void | readTxtXForm (librevenge::RVNGInputStream *input)
void | readShapeId (librevenge::RVNGInputStream *input)
virtual void | readShapeList (librevenge::RVNGInputStream *input)
void | readForeignDataType (librevenge::RVNGInputStream *input)
void | readPageProps (librevenge::RVNGInputStream *input)
virtual void | readShape (librevenge::RVNGInputStream *input)
void | readColours (librevenge::RVNGInputStream *input)
void | readFont (librevenge::RVNGInputStream *input)
void | readFontIX (librevenge::RVNGInputStream *input)
virtual void | readCharList (librevenge::RVNGInputStream *input)
virtual void | readParaList (librevenge::RVNGInputStream *input)
virtual void | readPropList (librevenge::RVNGInputStream *input)
virtual void | readPage (librevenge::RVNGInputStream *input)
virtual void | readText (librevenge::RVNGInputStream *input)
virtual void | readCharIX (librevenge::RVNGInputStream *input)
virtual void | readParaIX (librevenge::RVNGInputStream *input)
virtual void | readTextBlock (librevenge::RVNGInputStream *input)
virtual void | readTabsDataList (librevenge::RVNGInputStream *input)
virtual void | readTabsData (librevenge::RVNGInputStream *input)
void | readNameList (librevenge::RVNGInputStream *input)
virtual void | readName (librevenge::RVNGInputStream *input)
virtual void | readNameList2 (librevenge::RVNGInputStream *input)
virtual void | readName2 (librevenge::RVNGInputStream *input)
virtual void | readFieldList (librevenge::RVNGInputStream *input)
virtual void | readTextField (librevenge::RVNGInputStream *input)
virtual void | readStyleSheet (librevenge::RVNGInputStream *input)
void | readPageSheet (librevenge::RVNGInputStream *input)
void | readSplineStart (librevenge::RVNGInputStream *input)
void | readSplineKnot (librevenge::RVNGInputStream *input)
void | readStencilShape (librevenge::RVNGInputStream *input)
void | readOLEList (librevenge::RVNGInputStream *input)
void | readOLEData (librevenge::RVNGInputStream *input)
virtual void | readNameIDX (librevenge::RVNGInputStream *input)
virtual void | readNameIDX123 (librevenge::RVNGInputStream *input)
void | readMisc (librevenge::RVNGInputStream *input)
virtual void | readLayerList (librevenge::RVNGInputStream *input)
virtual void | readLayer (librevenge::RVNGInputStream *input)
virtual void | readLayerMem (librevenge::RVNGInputStream *input)
bool | parseDocument (librevenge::RVNGInputStream *input, unsigned shift)
void | parseMetaData ()
void | handleStreams (librevenge::RVNGInputStream *input, unsigned ptrType, unsigned shift, unsigned level)
void | handleStream (const Pointer &ptr, unsigned idx, unsigned level)
void | handleChunks (librevenge::RVNGInputStream *input, unsigned level)
void | handleChunk (librevenge::RVNGInputStream *input)
void | handleBlob (librevenge::RVNGInputStream *input, unsigned shift, unsigned level)
virtual void | readPointer (librevenge::RVNGInputStream *input, Pointer &ptr)
virtual void | readPointerInfo (librevenge::RVNGInputStream *input, unsigned ptrType, unsigned shift, unsigned &listSize, int &pointerCount)
virtual bool | getChunkHeader (librevenge::RVNGInputStream *input)
void | _handleLevelChange (unsigned level)
Colour | _colourFromIndex (unsigned idx)
void | _flushShape ()
void | _nameFromId (VSDName &name, unsigned id, unsigned level)
virtual unsigned | getUInt (librevenge::RVNGInputStream *input)
virtual int | getInt (librevenge::RVNGInputStream *input)

## Protected Attributes
librevenge::RVNGInputStream * | m_input
librevenge::RVNGDrawingInterface * | m_painter
librevenge::RVNGInputStream * | m_container
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
unsigned | m_currentLayerListLevel
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
std::map< unsigned, VSDName > | m_names
std::map< unsigned, std::map< unsigned, VSDName > > | m_namesMapMap
VSDName | m_currentPageName
std::map< unsigned, VSDTabStop > * | m_currentTabSet

## Private Member Functions
| VSDParser ()
| VSDParser (const VSDParser &)
VSDParser & | operator= (const VSDParser &)

## Constructor & Destructor Documentation

libvisio::VSDParser::VSDParser | ( | librevenge::RVNGInputStream * | input,
|  | librevenge::RVNGDrawingInterface * | painter,
|  | librevenge::RVNGInputStream * | container = `0`
| ) |  |
| explicit

libvisio::VSDParser::~VSDParser | ( |  | ) |
| virtual

libvisio::VSDParser::VSDParser | ( |  | ) |
| private

libvisio::VSDParser::VSDParser | ( | const VSDParser & |  | ) |
| private

## Member Function Documentation

libvisio::Colour libvisio::VSDParser::_colourFromIndex | ( | unsigned | idx | ) |
| protected

void libvisio::VSDParser::_flushShape | ( |  | ) |
| protected

void libvisio::VSDParser::_handleLevelChange | ( | unsigned | level | ) |
| protected

void libvisio::VSDParser::_nameFromId | ( | VSDName & | name,
|  | unsigned | id,
|  | unsigned | level
| ) |  |
| protected

bool libvisio::VSDParser::extractStencils | ( |  | ) |

bool libvisio::VSDParser::getChunkHeader | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser, and libvisio::VSD6Parser.

int libvisio::VSDParser::getInt | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

unsigned libvisio::VSDParser::getUInt | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::handleBlob | ( | librevenge::RVNGInputStream * | input,
|  | unsigned | shift,
|  | unsigned | level
| ) |  |
| protected

void libvisio::VSDParser::handleChunk | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::handleChunks | ( | librevenge::RVNGInputStream * | input,
|  | unsigned | level
| ) |  |
| protected

void libvisio::VSDParser::handleStream | ( | const Pointer & | ptr,
|  | unsigned | idx,
|  | unsigned | level
| ) |  |
| protected

void libvisio::VSDParser::handleStreams | ( | librevenge::RVNGInputStream * | input,
|  | unsigned | ptrType,
|  | unsigned | shift,
|  | unsigned | level
| ) |  |
| protected

VSDParser& libvisio::VSDParser::operator= | ( | const VSDParser & |  | ) |
| private

bool libvisio::VSDParser::parseDocument | ( | librevenge::RVNGInputStream * | input,
|  | unsigned | shift
| ) |  |
| protected

bool libvisio::VSDParser::parseMain | ( |  | ) |

void libvisio::VSDParser::parseMetaData | ( |  | ) |
| protected

void libvisio::VSDParser::readArcTo | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readCharIX | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser, and libvisio::VSD6Parser.

void libvisio::VSDParser::readCharList | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readColours | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readEllipse | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readEllipticalArcTo | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readFieldList | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readFillAndShadow | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser, and libvisio::VSD6Parser.

void libvisio::VSDParser::readFont | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readFontIX | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readForeignData | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readForeignDataType | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readGeometry | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readGeomList | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readInfiniteLine | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readLayer | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

void libvisio::VSDParser::readLayerList | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

void libvisio::VSDParser::readLayerMem | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD6Parser.

void libvisio::VSDParser::readLine | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readLineTo | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readMisc | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readMoveTo | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readName | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD6Parser.

void libvisio::VSDParser::readName2 | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD6Parser.

void libvisio::VSDParser::readNameIDX | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readNameIDX123 | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

void libvisio::VSDParser::readNameList | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readNameList2 | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readNURBSTo | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readOLEData | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readOLEList | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readPage | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readPageProps | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readPageSheet | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readParaIX | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser, and libvisio::VSD6Parser.

void libvisio::VSDParser::readParaList | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readPointer | ( | librevenge::RVNGInputStream * | input,
|  | Pointer & | ptr
| ) |  |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readPointerInfo | ( | librevenge::RVNGInputStream * | input,
|  | unsigned | ptrType,
|  | unsigned | shift,
|  | unsigned & | listSize,
|  | int & | pointerCount
| ) |  |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readPolylineTo | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readPropList | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readShape | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readShapeData | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readShapeId | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readShapeList | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readSplineKnot | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readSplineStart | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readStencilShape | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readStyleSheet | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readTabsData | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

void libvisio::VSDParser::readTabsDataList | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readText | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD6Parser.

void libvisio::VSDParser::readTextBlock | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser.

void libvisio::VSDParser::readTextField | ( | librevenge::RVNGInputStream * | input | ) |
| protectedvirtual

Reimplemented in libvisio::VSD5Parser, and libvisio::VSD6Parser.

void libvisio::VSDParser::readTxtXForm | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readXForm1D | ( | librevenge::RVNGInputStream * | input | ) |
| protected

void libvisio::VSDParser::readXFormData | ( | librevenge::RVNGInputStream * | input | ) |
| protected

## Member Data Documentation

VSDCollector* libvisio::VSDParser::m_collector
| protected

std::vector<Colour> libvisio::VSDParser::m_colours
| protected

librevenge::RVNGInputStream* libvisio::VSDParser::m_container
| protected

VSDGeometryList* libvisio::VSDParser::m_currentGeometryList
| protected

unsigned libvisio::VSDParser::m_currentGeomListCount
| protected

unsigned libvisio::VSDParser::m_currentLayerListLevel
| protected

unsigned libvisio::VSDParser::m_currentLevel
| protected

VSDName libvisio::VSDParser::m_currentPageName
| protected

unsigned libvisio::VSDParser::m_currentShapeID
| protected

unsigned libvisio::VSDParser::m_currentShapeLevel
| protected

VSDStencil* libvisio::VSDParser::m_currentStencil
| protected

std::map<unsigned, VSDTabStop>* libvisio::VSDParser::m_currentTabSet
| protected

bool libvisio::VSDParser::m_extractStencils
| protected

std::map<unsigned, VSDName> libvisio::VSDParser::m_fonts
| protected

ChunkHeader libvisio::VSDParser::m_header
| protected

librevenge::RVNGInputStream* 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

std::map<unsigned, VSDName> libvisio::VSDParser::m_names
| protected

std::map<unsigned, std::map<unsigned, VSDName> > libvisio::VSDParser::m_namesMapMap
| protected

librevenge::RVNGDrawingInterface* 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

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

- VSDParser.h
- VSDParser.cpp