libvisio::VSDSVGGenerator Class Reference

#include <VSDSVGGenerator.h>

Inheritance diagram for libvisio::VSDSVGGenerator:

Public Member Functions

 VSDSVGGenerator (VSDStringVector &vec)
 
 ~VSDSVGGenerator ()
 
void startGraphics (const ::WPXPropertyList &propList)
 
void endGraphics ()
 
void startLayer (const ::WPXPropertyList &propList)
 
void endLayer ()
 
void startEmbeddedGraphics (const ::WPXPropertyList &)
 
void endEmbeddedGraphics ()
 
void setStyle (const ::WPXPropertyList &propList, const ::WPXPropertyListVector &gradient)
 
void drawRectangle (const ::WPXPropertyList &propList)
 
void drawEllipse (const ::WPXPropertyList &propList)
 
void drawPolyline (const ::WPXPropertyListVector &vertices)
 
void drawPolygon (const ::WPXPropertyListVector &vertices)
 
void drawPath (const ::WPXPropertyListVector &path)
 
void drawGraphicObject (const ::WPXPropertyList &propList, const ::WPXBinaryData &binaryData)
 
void startTextObject (const ::WPXPropertyList &propList, const ::WPXPropertyListVector &path)
 
void endTextObject ()
 
void startTextLine (const ::WPXPropertyList &)
 
void endTextLine ()
 
void startTextSpan (const ::WPXPropertyList &propList)
 
void endTextSpan ()
 
void insertText (const ::WPXString &str)
 

Private Member Functions

void writeStyle (bool isClosed=true)
 
void drawPolySomething (const ::WPXPropertyListVector &vertices, bool isClosed)
 

Private Attributes

::WPXPropertyListVector m_gradient
 
::WPXPropertyList m_style
 
int m_gradientIndex
 
int m_patternIndex
 
int m_shadowIndex
 
std::ostringstream m_outputSink
 
VSDStringVectorm_vec
 

Constructor & Destructor Documentation

◆ VSDSVGGenerator()

libvisio::VSDSVGGenerator::VSDSVGGenerator ( libvisio::VSDStringVector vec)

◆ ~VSDSVGGenerator()

libvisio::VSDSVGGenerator::~VSDSVGGenerator ( )

Member Function Documentation

◆ drawEllipse()

void libvisio::VSDSVGGenerator::drawEllipse ( const ::WPXPropertyList &  propList)

Referenced by endEmbeddedGraphics().

◆ drawGraphicObject()

void libvisio::VSDSVGGenerator::drawGraphicObject ( const ::WPXPropertyList &  propList,
const ::WPXBinaryData &  binaryData 
)

Referenced by endEmbeddedGraphics().

◆ drawPath()

void libvisio::VSDSVGGenerator::drawPath ( const ::WPXPropertyListVector &  path)

Referenced by endEmbeddedGraphics().

◆ drawPolygon()

void libvisio::VSDSVGGenerator::drawPolygon ( const ::WPXPropertyListVector &  vertices)

Referenced by endEmbeddedGraphics().

◆ drawPolyline()

void libvisio::VSDSVGGenerator::drawPolyline ( const ::WPXPropertyListVector &  vertices)

Referenced by endEmbeddedGraphics().

◆ drawPolySomething()

void libvisio::VSDSVGGenerator::drawPolySomething ( const ::WPXPropertyListVector &  vertices,
bool  isClosed 
)
private

Referenced by drawPolygon(), and drawPolyline().

◆ drawRectangle()

void libvisio::VSDSVGGenerator::drawRectangle ( const ::WPXPropertyList &  propList)

Referenced by endEmbeddedGraphics().

◆ endEmbeddedGraphics()

void libvisio::VSDSVGGenerator::endEmbeddedGraphics ( )
inline

◆ endGraphics()

void libvisio::VSDSVGGenerator::endGraphics ( )

◆ endLayer()

void libvisio::VSDSVGGenerator::endLayer ( )

◆ endTextLine()

void libvisio::VSDSVGGenerator::endTextLine ( )
inline

◆ endTextObject()

void libvisio::VSDSVGGenerator::endTextObject ( )

Referenced by endEmbeddedGraphics().

◆ endTextSpan()

void libvisio::VSDSVGGenerator::endTextSpan ( )

Referenced by endTextLine().

◆ insertText()

void libvisio::VSDSVGGenerator::insertText ( const ::WPXString &  str)

Referenced by endTextLine().

◆ setStyle()

void libvisio::VSDSVGGenerator::setStyle ( const ::WPXPropertyList &  propList,
const ::WPXPropertyListVector &  gradient 
)

Referenced by endEmbeddedGraphics().

◆ startEmbeddedGraphics()

void libvisio::VSDSVGGenerator::startEmbeddedGraphics ( const ::WPXPropertyList &  )
inline

◆ startGraphics()

void libvisio::VSDSVGGenerator::startGraphics ( const ::WPXPropertyList &  propList)

◆ startLayer()

void libvisio::VSDSVGGenerator::startLayer ( const ::WPXPropertyList &  propList)

◆ startTextLine()

void libvisio::VSDSVGGenerator::startTextLine ( const ::WPXPropertyList &  )
inline

◆ startTextObject()

void libvisio::VSDSVGGenerator::startTextObject ( const ::WPXPropertyList &  propList,
const ::WPXPropertyListVector &  path 
)

Referenced by endEmbeddedGraphics().

◆ startTextSpan()

void libvisio::VSDSVGGenerator::startTextSpan ( const ::WPXPropertyList &  propList)

Referenced by endTextLine().

◆ writeStyle()

void libvisio::VSDSVGGenerator::writeStyle ( bool  isClosed = true)
private

Member Data Documentation

◆ m_gradient

::WPXPropertyListVector libvisio::VSDSVGGenerator::m_gradient
private

Referenced by setStyle().

◆ m_gradientIndex

int libvisio::VSDSVGGenerator::m_gradientIndex
private

Referenced by setStyle(), and writeStyle().

◆ m_outputSink

◆ m_patternIndex

int libvisio::VSDSVGGenerator::m_patternIndex
private

Referenced by setStyle(), and writeStyle().

◆ m_shadowIndex

int libvisio::VSDSVGGenerator::m_shadowIndex
private

Referenced by setStyle(), and writeStyle().

◆ m_style

::WPXPropertyList libvisio::VSDSVGGenerator::m_style
private

Referenced by setStyle(), and writeStyle().

◆ m_vec

VSDStringVector& libvisio::VSDSVGGenerator::m_vec
private

Referenced by endGraphics().


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

Generated for libvisio by doxygen 1.8.13