libvisio::VSDXContentCollector Class Reference

#include <VSDXContentCollector.h>

Inheritance diagram for libvisio::VSDXContentCollector:
libvisio::VSDXCollector

Public Member Functions

 VSDXContentCollector (libwpg::WPGPaintInterface *painter, std::vector< std::map< unsigned, XForm > > &groupXFormsSequence, std::vector< std::map< unsigned, unsigned > > &groupMembershipsSequence, std::vector< std::list< unsigned > > &documentPageShapeOrders, VSDXStyles &styles, VSDXStencils &stencils)
virtual ~VSDXContentCollector ()
void collectEllipticalArcTo (unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc)
void collectForeignData (unsigned id, unsigned level, const WPXBinaryData &binaryData)
void collectOLEList (unsigned id, unsigned level)
void collectOLEData (unsigned id, unsigned level, const WPXBinaryData &oleData)
void collectEllipse (unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop)
void collectLine (unsigned id, unsigned level, double strokeWidth, Colour c, unsigned linePattern, unsigned char startMarker, unsigned char endMarker, unsigned lineCap)
void collectFillAndShadow (unsigned id, unsigned level, unsigned colourIndexFG, unsigned colourIndexBG, unsigned fillPattern, unsigned fillFGTransparency, unsigned fillBGTransparency, unsigned shadowPattern, Colour shfgc, double shadowOffsetX, double shadowOffsetY)
void collectFillAndShadow (unsigned id, unsigned level, unsigned colourIndexFG, unsigned colourIndexBG, unsigned fillPattern, unsigned fillFGTransparency, unsigned fillBGTransparency, unsigned shadowPattern, Colour shfgc)
void collectGeometry (unsigned id, unsigned level, unsigned char geomFlags)
void collectMoveTo (unsigned id, unsigned level, double x, double y)
void collectLineTo (unsigned id, unsigned level, double x, double y)
void collectArcTo (unsigned id, unsigned level, double x2, double y2, double bow)
void collectNURBSTo (unsigned id, unsigned level, double x2, double y2, unsigned char xType, unsigned char yType, unsigned degree, std::vector< std::pair< double, double > > controlPoints, std::vector< double > knotVector, std::vector< double > weights)
void collectNURBSTo (unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID)
void collectPolylineTo (unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType, std::vector< std::pair< double, double > > &points)
void collectPolylineTo (unsigned id, unsigned level, double x, double y, unsigned dataID)
void collectShapeData (unsigned id, unsigned level, unsigned char xType, unsigned char yType, unsigned degree, double lastKnot, std::vector< std::pair< double, double > > controlPoints, std::vector< double > knotVector, std::vector< double > weights)
void collectShapeData (unsigned id, unsigned level, unsigned char xType, unsigned char yType, std::vector< std::pair< double, double > > points)
void collectXFormData (unsigned id, unsigned level, const XForm &xform)
void collectTxtXForm (unsigned id, unsigned level, const XForm &txtxform)
void collectShapeId (unsigned id, unsigned level, unsigned shapeId)
void collectForeignDataType (unsigned id, unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height)
void collectPageProps (unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale)
void collectPage (unsigned id, unsigned level, unsigned backgroundPageID)
void collectShape (unsigned id, unsigned level, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle)
void collectSplineStart (unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree)
void collectSplineKnot (unsigned id, unsigned level, double x, double y, double knot)
void collectSplineEnd ()
void collectInfiniteLine (unsigned id, unsigned level, double x1, double y1, double x2, double y2)
void collectUnhandledChunk (unsigned id, unsigned level)
void collectColours (const std::vector< Colour > &colours)
void collectFont (unsigned short fontID, const WPXBinaryData &textStream, TextFormat format)
void collectText (unsigned id, unsigned level, const WPXBinaryData &textStream, TextFormat format)
void collectVSDXCharStyle (unsigned id, unsigned level, unsigned charCount, unsigned short fontID, Colour fontColour, double fontSize, bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout, bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDXFont fontFace)
void collectVSDXParaStyle (unsigned id, unsigned level, unsigned charCount, double indFirst, double indLeft, double indRight, double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags)
void collectTextBlock (unsigned id, unsigned level, double leftMargin, double rightMargin, double topMargin, double bottomMargin, unsigned char verticalAlign, unsigned char bgClrId, const Colour &bgColour, double defaultTabStop, unsigned char textDirection)
void collectNameList (unsigned id, unsigned level)
void collectName (unsigned id, unsigned level, const WPXBinaryData &name, TextFormat format)
void collectStyleSheet (unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle)
void collectLineStyle (unsigned id, unsigned level, double strokeWidth, Colour c, unsigned char linePattern, unsigned char startMarker, unsigned char endMarker, unsigned char lineCap)
void collectFillStyle (unsigned id, unsigned level, unsigned char colourIndexFG, unsigned char colourIndexBG, unsigned char fillPattern, unsigned char fillFGTransparency, unsigned char fillBGTransparency, unsigned char shadowPattern, Colour shfgc, double shadowOffsetX, double shadowOffsetY)
void collectFillStyle (unsigned id, unsigned level, unsigned char colourIndexFG, unsigned char colourIndexBG, unsigned char fillPattern, unsigned char fillFGTransparency, unsigned char fillBGTransparency, unsigned char shadowPattern, Colour shfgc)
void collectCharIXStyle (unsigned id, unsigned level, unsigned charCount, unsigned short fontID, Colour fontColour, double fontSize, bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout, bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, VSDXFont fontFace)
void collectParaIXStyle (unsigned id, unsigned level, unsigned charCount, double indFirst, double indLeft, double indRight, double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags)
void collectTextBlockStyle (unsigned id, unsigned level, double leftMargin, double rightMargin, double topMargin, double bottomMargin, unsigned char verticalAlign, unsigned char bgClrId, const Colour &bgColour, double defaultTabStop, unsigned char textDirection)
void collectFieldList (unsigned id, unsigned level)
void collectTextField (unsigned id, unsigned level, int nameId, int formatStringId)
void collectNumericField (unsigned id, unsigned level, unsigned short format, double number, int formatStringId)
void startPage (unsigned pageId)
void endPage ()
void endPages ()
- Public Member Functions inherited from libvisio::VSDXCollector
 VSDXCollector ()
virtual ~VSDXCollector ()
virtual void collectFont (unsigned short fontID, const ::WPXBinaryData &textStream, TextFormat format)=0
virtual void collectText (unsigned id, unsigned level, const ::WPXBinaryData &textStream, TextFormat format)=0
virtual void collectName (unsigned id, unsigned level, const ::WPXBinaryData &name, TextFormat format)=0

Private Member Functions

 VSDXContentCollector (const VSDXContentCollector &)
VSDXContentCollectoroperator= (const VSDXContentCollector &)
void applyXForm (double &x, double &y, const XForm &xform)
void transformPoint (double &x, double &y, XForm *txtxform=0)
void transformAngle (double &angle, XForm *txtxform=0)
void transformFlips (bool &flipX, bool &flipY)
double _NURBSBasis (unsigned knot, unsigned degree, double point, const std::vector< double > &knotVector)
void _flushCurrentPath ()
void _flushText ()
void _flushCurrentForeignData ()
void _flushCurrentPage ()
void _handleLevelChange (unsigned level)
void _handleForeignData (const WPXBinaryData &data)
void lineStyleFromStyleSheet (unsigned styleId)
void fillStyleFromStyleSheet (unsigned styleId)
void lineStyleFromStyleSheet (const VSDXLineStyle *style)
void fillStyleFromStyleSheet (const VSDXFillStyle *style)
void _applyLinePattern ()
void _lineProperties (double strokeWidth, Colour c, unsigned linePattern, unsigned startMarker, unsigned endMarker, unsigned lineCap)
const char * _linePropertiesMarkerViewbox (unsigned marker)
const char * _linePropertiesMarkerPath (unsigned marker)
double _linePropertiesMarkerScale (unsigned marker)
void _fillAndShadowProperties (unsigned colourIndexFG, unsigned colourIndexBG, unsigned fillPattern, unsigned fillFGTransparency, unsigned fillBGTransparency, unsigned shadowPattern, Colour shfgc, double shadowOffsetX, double shadowOffsetY)
void appendCharacters (WPXString &text, const std::vector< unsigned char > &characters, TextFormat format)
void appendCharacters (WPXString &text, const std::vector< unsigned char > &characters)
void _convertDataToString (WPXString &result, const WPXBinaryData &data, TextFormat format)
bool parseFormatId (const char *formatString, unsigned short &result)

Private Attributes

libwpg::WPGPaintInterface * m_painter
bool m_isPageStarted
double m_pageWidth
double m_pageHeight
double m_shadowOffsetX
double m_shadowOffsetY
double m_scale
double m_x
double m_y
double m_originalX
double m_originalY
XForm m_xform
XFormm_txtxform
std::vector< WPXPropertyList > m_currentFillGeometry
std::vector< WPXPropertyList > m_currentLineGeometry
std::map< unsigned, XForm > & m_groupXForms
WPXBinaryData m_currentForeignData
WPXBinaryData m_currentOLEData
WPXPropertyList m_currentForeignProps
unsigned m_currentShapeId
unsigned m_foreignType
unsigned m_foreignFormat
double m_foreignOffsetX
double m_foreignOffsetY
double m_foreignWidth
double m_foreignHeight
WPXPropertyList m_styleProps
::WPXString m_lineColour
::WPXString m_fillType
unsigned m_linePattern
unsigned m_fillPattern
unsigned m_fillFGTransparency
unsigned m_fillBGTransparency
bool m_noLine
bool m_noFill
bool m_noShow
std::vector< Colourm_colours
std::map< unsigned short,
VSDXFont
m_fonts
unsigned m_currentLevel
bool m_isShapeStarted
std::map< unsigned, unsigned > & m_groupMemberships
std::vector< std::map
< unsigned, XForm > > & 
m_groupXFormsSequence
std::vector< std::map
< unsigned, unsigned > > & 
m_groupMembershipsSequence
unsigned m_currentPageNumber
VSDXOutputElementListm_shapeOutputDrawing
VSDXOutputElementListm_shapeOutputText
std::map< unsigned,
VSDXOutputElementList
m_pageOutputDrawing
std::map< unsigned,
VSDXOutputElementList
m_pageOutputText
std::vector< std::list
< unsigned > > & 
m_documentPageShapeOrders
std::list< unsigned > & m_pageShapeOrder
bool m_isFirstGeometry
std::map< unsigned, NURBSDatam_NURBSData
std::map< unsigned, PolylineDatam_polylineData
WPXBinaryData m_textStream
std::map< unsigned, WPXString > m_names
std::map< unsigned, WPXString > m_stencilNames
std::vector< WPXString > m_fields
VSDXFieldList m_stencilFields
unsigned m_fieldIndex
TextFormat m_textFormat
std::vector< VSDXCharStylem_charFormats
std::vector< VSDXParaStylem_paraFormats
VSDXTextBlockStyle m_textBlockStyle
VSDXCharStyle m_defaultCharStyle
VSDXParaStyle m_defaultParaStyle
VSDXStyles m_styles
VSDXStencils m_stencils
const VSDXStencilShapem_stencilShape
bool m_isStencilStarted
unsigned m_currentGeometryCount
unsigned m_backgroundPageID
unsigned m_currentPageID
VSDXPage m_currentPage
VSDXPages m_pages
std::vector< std::pair< double,
double > > 
m_splineControlPoints
std::vector< double > m_splineKnotVector
double m_splineX
double m_splineY
double m_splineLastKnot
unsigned m_splineDegree
unsigned m_splineLevel
unsigned m_currentShapeLevel

Additional Inherited Members

- Protected Member Functions inherited from libvisio::VSDXCollector
const ::WPXString getColourString (const Colour &c) const

Constructor & Destructor Documentation

libvisio::VSDXContentCollector::VSDXContentCollector ( libwpg::WPGPaintInterface *  painter,
std::vector< std::map< unsigned, XForm > > &  groupXFormsSequence,
std::vector< std::map< unsigned, unsigned > > &  groupMembershipsSequence,
std::vector< std::list< unsigned > > &  documentPageShapeOrders,
VSDXStyles styles,
VSDXStencils stencils 
)
virtual libvisio::VSDXContentCollector::~VSDXContentCollector ( )
inlinevirtual
libvisio::VSDXContentCollector::VSDXContentCollector ( const VSDXContentCollector )
private

Member Function Documentation

void libvisio::VSDXContentCollector::_applyLinePattern ( )
private
void libvisio::VSDXContentCollector::_convertDataToString ( WPXString &  result,
const WPXBinaryData &  data,
TextFormat  format 
)
private
void libvisio::VSDXContentCollector::_fillAndShadowProperties ( unsigned  colourIndexFG,
unsigned  colourIndexBG,
unsigned  fillPattern,
unsigned  fillFGTransparency,
unsigned  fillBGTransparency,
unsigned  shadowPattern,
Colour  shfgc,
double  shadowOffsetX,
double  shadowOffsetY 
)
private
void libvisio::VSDXContentCollector::_flushCurrentForeignData ( )
private
void libvisio::VSDXContentCollector::_flushCurrentPage ( )
private
void libvisio::VSDXContentCollector::_flushCurrentPath ( )
private
void libvisio::VSDXContentCollector::_flushText ( )
private
void libvisio::VSDXContentCollector::_handleForeignData ( const WPXBinaryData &  data)
private
void libvisio::VSDXContentCollector::_handleLevelChange ( unsigned  level)
private
void libvisio::VSDXContentCollector::_lineProperties ( double  strokeWidth,
Colour  c,
unsigned  linePattern,
unsigned  startMarker,
unsigned  endMarker,
unsigned  lineCap 
)
private
const char * libvisio::VSDXContentCollector::_linePropertiesMarkerPath ( unsigned  marker)
private
double libvisio::VSDXContentCollector::_linePropertiesMarkerScale ( unsigned  marker)
private
const char * libvisio::VSDXContentCollector::_linePropertiesMarkerViewbox ( unsigned  marker)
private
double libvisio::VSDXContentCollector::_NURBSBasis ( unsigned  knot,
unsigned  degree,
double  point,
const std::vector< double > &  knotVector 
)
private
void libvisio::VSDXContentCollector::appendCharacters ( WPXString &  text,
const std::vector< unsigned char > &  characters,
TextFormat  format 
)
private
void libvisio::VSDXContentCollector::appendCharacters ( WPXString &  text,
const std::vector< unsigned char > &  characters 
)
private
void libvisio::VSDXContentCollector::applyXForm ( double &  x,
double &  y,
const XForm xform 
)
private
void libvisio::VSDXContentCollector::collectArcTo ( unsigned  id,
unsigned  level,
double  x2,
double  y2,
double  bow 
)
virtual
void libvisio::VSDXContentCollector::collectCharIXStyle ( unsigned  id,
unsigned  level,
unsigned  charCount,
unsigned short  fontID,
Colour  fontColour,
double  fontSize,
bool  bold,
bool  italic,
bool  underline,
bool  doubleunderline,
bool  strikeout,
bool  doublestrikeout,
bool  allcaps,
bool  initcaps,
bool  smallcaps,
bool  superscript,
bool  subscript,
VSDXFont  fontFace 
)
virtual
void libvisio::VSDXContentCollector::collectColours ( const std::vector< Colour > &  colours)
virtual
void libvisio::VSDXContentCollector::collectEllipse ( unsigned  id,
unsigned  level,
double  cx,
double  cy,
double  xleft,
double  yleft,
double  xtop,
double  ytop 
)
virtual
void libvisio::VSDXContentCollector::collectEllipticalArcTo ( unsigned  id,
unsigned  level,
double  x3,
double  y3,
double  x2,
double  y2,
double  angle,
double  ecc 
)
virtual
void libvisio::VSDXContentCollector::collectFieldList ( unsigned  id,
unsigned  level 
)
virtual
void libvisio::VSDXContentCollector::collectFillAndShadow ( unsigned  id,
unsigned  level,
unsigned  colourIndexFG,
unsigned  colourIndexBG,
unsigned  fillPattern,
unsigned  fillFGTransparency,
unsigned  fillBGTransparency,
unsigned  shadowPattern,
Colour  shfgc,
double  shadowOffsetX,
double  shadowOffsetY 
)
virtual
void libvisio::VSDXContentCollector::collectFillAndShadow ( unsigned  id,
unsigned  level,
unsigned  colourIndexFG,
unsigned  colourIndexBG,
unsigned  fillPattern,
unsigned  fillFGTransparency,
unsigned  fillBGTransparency,
unsigned  shadowPattern,
Colour  shfgc 
)
virtual
void libvisio::VSDXContentCollector::collectFillStyle ( unsigned  id,
unsigned  level,
unsigned char  colourIndexFG,
unsigned char  colourIndexBG,
unsigned char  fillPattern,
unsigned char  fillFGTransparency,
unsigned char  fillBGTransparency,
unsigned char  shadowPattern,
Colour  shfgc,
double  shadowOffsetX,
double  shadowOffsetY 
)
virtual
void libvisio::VSDXContentCollector::collectFillStyle ( unsigned  id,
unsigned  level,
unsigned char  colourIndexFG,
unsigned char  colourIndexBG,
unsigned char  fillPattern,
unsigned char  fillFGTransparency,
unsigned char  fillBGTransparency,
unsigned char  shadowPattern,
Colour  shfgc 
)
virtual
void libvisio::VSDXContentCollector::collectFont ( unsigned short  fontID,
const WPXBinaryData &  textStream,
TextFormat  format 
)
void libvisio::VSDXContentCollector::collectForeignData ( unsigned  id,
unsigned  level,
const WPXBinaryData &  binaryData 
)
virtual
void libvisio::VSDXContentCollector::collectForeignDataType ( unsigned  id,
unsigned  level,
unsigned  foreignType,
unsigned  foreignFormat,
double  offsetX,
double  offsetY,
double  width,
double  height 
)
virtual
void libvisio::VSDXContentCollector::collectGeometry ( unsigned  id,
unsigned  level,
unsigned char  geomFlags 
)
virtual
void libvisio::VSDXContentCollector::collectInfiniteLine ( unsigned  id,
unsigned  level,
double  x1,
double  y1,
double  x2,
double  y2 
)
virtual
void libvisio::VSDXContentCollector::collectLine ( unsigned  id,
unsigned  level,
double  strokeWidth,
Colour  c,
unsigned  linePattern,
unsigned char  startMarker,
unsigned char  endMarker,
unsigned  lineCap 
)
virtual
void libvisio::VSDXContentCollector::collectLineStyle ( unsigned  id,
unsigned  level,
double  strokeWidth,
Colour  c,
unsigned char  linePattern,
unsigned char  startMarker,
unsigned char  endMarker,
unsigned char  lineCap 
)
virtual
void libvisio::VSDXContentCollector::collectLineTo ( unsigned  id,
unsigned  level,
double  x,
double  y 
)
virtual
void libvisio::VSDXContentCollector::collectMoveTo ( unsigned  id,
unsigned  level,
double  x,
double  y 
)
virtual
void libvisio::VSDXContentCollector::collectName ( unsigned  id,
unsigned  level,
const WPXBinaryData &  name,
TextFormat  format 
)
void libvisio::VSDXContentCollector::collectNameList ( unsigned  id,
unsigned  level 
)
virtual
void libvisio::VSDXContentCollector::collectNumericField ( unsigned  id,
unsigned  level,
unsigned short  format,
double  number,
int  formatStringId 
)
virtual
void libvisio::VSDXContentCollector::collectNURBSTo ( unsigned  id,
unsigned  level,
double  x2,
double  y2,
unsigned char  xType,
unsigned char  yType,
unsigned  degree,
std::vector< std::pair< double, double > >  controlPoints,
std::vector< double >  knotVector,
std::vector< double >  weights 
)
virtual
void libvisio::VSDXContentCollector::collectNURBSTo ( unsigned  id,
unsigned  level,
double  x2,
double  y2,
double  knot,
double  knotPrev,
double  weight,
double  weightPrev,
unsigned  dataID 
)
virtual
void libvisio::VSDXContentCollector::collectOLEData ( unsigned  id,
unsigned  level,
const WPXBinaryData &  oleData 
)
virtual
void libvisio::VSDXContentCollector::collectOLEList ( unsigned  id,
unsigned  level 
)
virtual
void libvisio::VSDXContentCollector::collectPage ( unsigned  id,
unsigned  level,
unsigned  backgroundPageID 
)
virtual
void libvisio::VSDXContentCollector::collectPageProps ( unsigned  id,
unsigned  level,
double  pageWidth,
double  pageHeight,
double  shadowOffsetX,
double  shadowOffsetY,
double  scale 
)
virtual
void libvisio::VSDXContentCollector::collectParaIXStyle ( unsigned  id,
unsigned  level,
unsigned  charCount,
double  indFirst,
double  indLeft,
double  indRight,
double  spLine,
double  spBefore,
double  spAfter,
unsigned char  align,
unsigned  flags 
)
virtual
void libvisio::VSDXContentCollector::collectPolylineTo ( unsigned  id,
unsigned  level,
double  x,
double  y,
unsigned char  xType,
unsigned char  yType,
std::vector< std::pair< double, double > > &  points 
)
virtual
void libvisio::VSDXContentCollector::collectPolylineTo ( unsigned  id,
unsigned  level,
double  x,
double  y,
unsigned  dataID 
)
virtual
void libvisio::VSDXContentCollector::collectShape ( unsigned  id,
unsigned  level,
unsigned  masterPage,
unsigned  masterShape,
unsigned  lineStyle,
unsigned  fillStyle,
unsigned  textStyle 
)
virtual
void libvisio::VSDXContentCollector::collectShapeData ( unsigned  id,
unsigned  level,
unsigned char  xType,
unsigned char  yType,
unsigned  degree,
double  lastKnot,
std::vector< std::pair< double, double > >  controlPoints,
std::vector< double >  knotVector,
std::vector< double >  weights 
)
virtual
void libvisio::VSDXContentCollector::collectShapeData ( unsigned  id,
unsigned  level,
unsigned char  xType,
unsigned char  yType,
std::vector< std::pair< double, double > >  points 
)
virtual
void libvisio::VSDXContentCollector::collectShapeId ( unsigned  id,
unsigned  level,
unsigned  shapeId 
)
virtual
void libvisio::VSDXContentCollector::collectSplineEnd ( )
virtual
void libvisio::VSDXContentCollector::collectSplineKnot ( unsigned  id,
unsigned  level,
double  x,
double  y,
double  knot 
)
virtual
void libvisio::VSDXContentCollector::collectSplineStart ( unsigned  id,
unsigned  level,
double  x,
double  y,
double  secondKnot,
double  firstKnot,
double  lastKnot,
unsigned  degree 
)
virtual
void libvisio::VSDXContentCollector::collectStyleSheet ( unsigned  id,
unsigned  level,
unsigned  parentLineStyle,
unsigned  parentFillStyle,
unsigned  parentTextStyle 
)
virtual
void libvisio::VSDXContentCollector::collectText ( unsigned  id,
unsigned  level,
const WPXBinaryData &  textStream,
TextFormat  format 
)
void libvisio::VSDXContentCollector::collectTextBlock ( unsigned  id,
unsigned  level,
double  leftMargin,
double  rightMargin,
double  topMargin,
double  bottomMargin,
unsigned char  verticalAlign,
unsigned char  bgClrId,
const Colour bgColour,
double  defaultTabStop,
unsigned char  textDirection 
)
virtual
void libvisio::VSDXContentCollector::collectTextBlockStyle ( unsigned  id,
unsigned  level,
double  leftMargin,
double  rightMargin,
double  topMargin,
double  bottomMargin,
unsigned char  verticalAlign,
unsigned char  bgClrId,
const Colour bgColour,
double  defaultTabStop,
unsigned char  textDirection 
)
virtual
void libvisio::VSDXContentCollector::collectTextField ( unsigned  id,
unsigned  level,
int  nameId,
int  formatStringId 
)
virtual
void libvisio::VSDXContentCollector::collectTxtXForm ( unsigned  id,
unsigned  level,
const XForm txtxform 
)
virtual
void libvisio::VSDXContentCollector::collectUnhandledChunk ( unsigned  id,
unsigned  level 
)
virtual
void libvisio::VSDXContentCollector::collectVSDXCharStyle ( unsigned  id,
unsigned  level,
unsigned  charCount,
unsigned short  fontID,
Colour  fontColour,
double  fontSize,
bool  bold,
bool  italic,
bool  underline,
bool  doubleunderline,
bool  strikeout,
bool  doublestrikeout,
bool  allcaps,
bool  initcaps,
bool  smallcaps,
bool  superscript,
bool  subscript,
VSDXFont  fontFace 
)
virtual
void libvisio::VSDXContentCollector::collectVSDXParaStyle ( unsigned  id,
unsigned  level,
unsigned  charCount,
double  indFirst,
double  indLeft,
double  indRight,
double  spLine,
double  spBefore,
double  spAfter,
unsigned char  align,
unsigned  flags 
)
virtual
void libvisio::VSDXContentCollector::collectXFormData ( unsigned  id,
unsigned  level,
const XForm xform 
)
virtual
void libvisio::VSDXContentCollector::endPage ( )
virtual
void libvisio::VSDXContentCollector::endPages ( )
virtual
void libvisio::VSDXContentCollector::fillStyleFromStyleSheet ( unsigned  styleId)
private
void libvisio::VSDXContentCollector::fillStyleFromStyleSheet ( const VSDXFillStyle style)
private
void libvisio::VSDXContentCollector::lineStyleFromStyleSheet ( unsigned  styleId)
private
void libvisio::VSDXContentCollector::lineStyleFromStyleSheet ( const VSDXLineStyle style)
private
VSDXContentCollector& libvisio::VSDXContentCollector::operator= ( const VSDXContentCollector )
private
bool libvisio::VSDXContentCollector::parseFormatId ( const char *  formatString,
unsigned short &  result 
)
private
void libvisio::VSDXContentCollector::startPage ( unsigned  pageId)
virtual
void libvisio::VSDXContentCollector::transformAngle ( double &  angle,
XForm txtxform = 0 
)
private
void libvisio::VSDXContentCollector::transformFlips ( bool &  flipX,
bool &  flipY 
)
private
void libvisio::VSDXContentCollector::transformPoint ( double &  x,
double &  y,
XForm txtxform = 0 
)
private

Member Data Documentation

unsigned libvisio::VSDXContentCollector::m_backgroundPageID
private
std::vector<VSDXCharStyle> libvisio::VSDXContentCollector::m_charFormats
private
std::vector<Colour> libvisio::VSDXContentCollector::m_colours
private
std::vector<WPXPropertyList> libvisio::VSDXContentCollector::m_currentFillGeometry
private
WPXBinaryData libvisio::VSDXContentCollector::m_currentForeignData
private
WPXPropertyList libvisio::VSDXContentCollector::m_currentForeignProps
private
unsigned libvisio::VSDXContentCollector::m_currentGeometryCount
private
unsigned libvisio::VSDXContentCollector::m_currentLevel
private
std::vector<WPXPropertyList> libvisio::VSDXContentCollector::m_currentLineGeometry
private
WPXBinaryData libvisio::VSDXContentCollector::m_currentOLEData
private
VSDXPage libvisio::VSDXContentCollector::m_currentPage
private
unsigned libvisio::VSDXContentCollector::m_currentPageID
private
unsigned libvisio::VSDXContentCollector::m_currentPageNumber
private
unsigned libvisio::VSDXContentCollector::m_currentShapeId
private
unsigned libvisio::VSDXContentCollector::m_currentShapeLevel
private
VSDXCharStyle libvisio::VSDXContentCollector::m_defaultCharStyle
private
VSDXParaStyle libvisio::VSDXContentCollector::m_defaultParaStyle
private
std::vector<std::list<unsigned> >& libvisio::VSDXContentCollector::m_documentPageShapeOrders
private
unsigned libvisio::VSDXContentCollector::m_fieldIndex
private
std::vector<WPXString> libvisio::VSDXContentCollector::m_fields
private
unsigned libvisio::VSDXContentCollector::m_fillBGTransparency
private
unsigned libvisio::VSDXContentCollector::m_fillFGTransparency
private
unsigned libvisio::VSDXContentCollector::m_fillPattern
private
::WPXString libvisio::VSDXContentCollector::m_fillType
private
std::map<unsigned short, VSDXFont> libvisio::VSDXContentCollector::m_fonts
private
unsigned libvisio::VSDXContentCollector::m_foreignFormat
private
double libvisio::VSDXContentCollector::m_foreignHeight
private
double libvisio::VSDXContentCollector::m_foreignOffsetX
private
double libvisio::VSDXContentCollector::m_foreignOffsetY
private
unsigned libvisio::VSDXContentCollector::m_foreignType
private
double libvisio::VSDXContentCollector::m_foreignWidth
private
std::map<unsigned, unsigned>& libvisio::VSDXContentCollector::m_groupMemberships
private
std::vector<std::map<unsigned, unsigned> >& libvisio::VSDXContentCollector::m_groupMembershipsSequence
private
std::map<unsigned, XForm>& libvisio::VSDXContentCollector::m_groupXForms
private
std::vector<std::map<unsigned, XForm> >& libvisio::VSDXContentCollector::m_groupXFormsSequence
private
bool libvisio::VSDXContentCollector::m_isFirstGeometry
private
bool libvisio::VSDXContentCollector::m_isPageStarted
private
bool libvisio::VSDXContentCollector::m_isShapeStarted
private
bool libvisio::VSDXContentCollector::m_isStencilStarted
private
::WPXString libvisio::VSDXContentCollector::m_lineColour
private
unsigned libvisio::VSDXContentCollector::m_linePattern
private
std::map<unsigned, WPXString> libvisio::VSDXContentCollector::m_names
private
bool libvisio::VSDXContentCollector::m_noFill
private
bool libvisio::VSDXContentCollector::m_noLine
private
bool libvisio::VSDXContentCollector::m_noShow
private
std::map<unsigned, NURBSData> libvisio::VSDXContentCollector::m_NURBSData
private
double libvisio::VSDXContentCollector::m_originalX
private
double libvisio::VSDXContentCollector::m_originalY
private
double libvisio::VSDXContentCollector::m_pageHeight
private
std::map<unsigned, VSDXOutputElementList> libvisio::VSDXContentCollector::m_pageOutputDrawing
private
std::map<unsigned, VSDXOutputElementList> libvisio::VSDXContentCollector::m_pageOutputText
private
VSDXPages libvisio::VSDXContentCollector::m_pages
private
std::list<unsigned>& libvisio::VSDXContentCollector::m_pageShapeOrder
private
double libvisio::VSDXContentCollector::m_pageWidth
private
libwpg::WPGPaintInterface* libvisio::VSDXContentCollector::m_painter
private
std::vector<VSDXParaStyle> libvisio::VSDXContentCollector::m_paraFormats
private
std::map<unsigned, PolylineData> libvisio::VSDXContentCollector::m_polylineData
private
double libvisio::VSDXContentCollector::m_scale
private
double libvisio::VSDXContentCollector::m_shadowOffsetX
private
double libvisio::VSDXContentCollector::m_shadowOffsetY
private
VSDXOutputElementList* libvisio::VSDXContentCollector::m_shapeOutputDrawing
private
VSDXOutputElementList * libvisio::VSDXContentCollector::m_shapeOutputText
private
std::vector<std::pair<double, double> > libvisio::VSDXContentCollector::m_splineControlPoints
private
unsigned libvisio::VSDXContentCollector::m_splineDegree
private
std::vector<double> libvisio::VSDXContentCollector::m_splineKnotVector
private
double libvisio::VSDXContentCollector::m_splineLastKnot
private
unsigned libvisio::VSDXContentCollector::m_splineLevel
private
double libvisio::VSDXContentCollector::m_splineX
private
double libvisio::VSDXContentCollector::m_splineY
private
VSDXFieldList libvisio::VSDXContentCollector::m_stencilFields
private
std::map<unsigned, WPXString> libvisio::VSDXContentCollector::m_stencilNames
private
VSDXStencils libvisio::VSDXContentCollector::m_stencils
private
const VSDXStencilShape* libvisio::VSDXContentCollector::m_stencilShape
private
WPXPropertyList libvisio::VSDXContentCollector::m_styleProps
private
VSDXStyles libvisio::VSDXContentCollector::m_styles
private
VSDXTextBlockStyle libvisio::VSDXContentCollector::m_textBlockStyle
private
TextFormat libvisio::VSDXContentCollector::m_textFormat
private
WPXBinaryData libvisio::VSDXContentCollector::m_textStream
private
XForm* libvisio::VSDXContentCollector::m_txtxform
private

Referenced by ~VSDXContentCollector().

double libvisio::VSDXContentCollector::m_x
private
XForm libvisio::VSDXContentCollector::m_xform
private
double libvisio::VSDXContentCollector::m_y
private

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

Generated for libvisio by doxygen 1.8.1.2