libvisio::VSDContentCollector Class Reference

#include <VSDContentCollector.h>

Inheritance diagram for libvisio::VSDContentCollector:
libvisio::VSDCollector

Public Member Functions

 VSDContentCollector (librevenge::RVNGDrawingInterface *painter, std::vector< std::map< unsigned, XForm > > &groupXFormsSequence, std::vector< std::map< unsigned, unsigned > > &groupMembershipsSequence, std::vector< std::list< unsigned > > &documentPageShapeOrders, VSDStyles &styles, VSDStencils &stencils)
 
void collectDocumentTheme (const VSDXTheme *theme) override
 
void collectEllipticalArcTo (unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc) override
 
void collectForeignData (unsigned level, const librevenge::RVNGBinaryData &binaryData) override
 
void collectOLEList (unsigned id, unsigned level) override
 
void collectOLEData (unsigned id, unsigned level, const librevenge::RVNGBinaryData &oleData) override
 
void collectEllipse (unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop) override
 
void collectLine (unsigned level, const boost::optional< double > &strokeWidth, const boost::optional< Colour > &c, const boost::optional< unsigned char > &linePattern, const boost::optional< unsigned char > &startMarker, const boost::optional< unsigned char > &endMarker, const boost::optional< unsigned char > &lineCap, const boost::optional< double > &rounding, const boost::optional< long > &qsLineColour, const boost::optional< long > &qsLineMatrix) override
 
void collectFillAndShadow (unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc, const boost::optional< double > &shadowOffsetX, const boost::optional< double > &shadowOffsetY, const boost::optional< long > &qsFc, const boost::optional< long > &qsSc, const boost::optional< long > &qsLm) override
 
void collectFillAndShadow (unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc) override
 
void collectGeometry (unsigned id, unsigned level, bool noFill, bool noLine, bool noShow) override
 
void collectMoveTo (unsigned id, unsigned level, double x, double y) override
 
void collectLineTo (unsigned id, unsigned level, double x, double y) override
 
void collectArcTo (unsigned id, unsigned level, double x2, double y2, double bow) override
 
void collectNURBSTo (unsigned id, unsigned level, double x2, double y2, unsigned char xType, unsigned char yType, unsigned degree, const std::vector< std::pair< double, double > > &ctrlPnts, const std::vector< double > &kntVec, const std::vector< double > &weights) override
 
void collectNURBSTo (unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID) override
 
void collectNURBSTo (unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, const NURBSData &data) override
 
void collectPolylineTo (unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType, const std::vector< std::pair< double, double > > &points) override
 
void collectPolylineTo (unsigned id, unsigned level, double x, double y, unsigned dataID) override
 
void collectPolylineTo (unsigned id, unsigned level, double x, double y, const PolylineData &data) override
 
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) override
 
void collectShapeData (unsigned id, unsigned level, unsigned char xType, unsigned char yType, std::vector< std::pair< double, double > > points) override
 
void collectXFormData (unsigned level, const XForm &xform) override
 
void collectTxtXForm (unsigned level, const XForm &txtxform) override
 
void collectShapesOrder (unsigned id, unsigned level, const std::vector< unsigned > &shapeIds) override
 
void collectForeignDataType (unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height) override
 
void collectPageProps (unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale) override
 
void collectPage (unsigned id, unsigned level, unsigned backgroundPageID, bool isBackgroundPage, const VSDName &pageName) override
 
void collectShape (unsigned id, unsigned level, unsigned parent, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle) override
 
void collectSplineStart (unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree) override
 
void collectSplineKnot (unsigned id, unsigned level, double x, double y, double knot) override
 
void collectSplineEnd () override
 
void collectInfiniteLine (unsigned id, unsigned level, double x1, double y1, double x2, double y2) override
 
void collectRelCubBezTo (unsigned id, unsigned level, double x, double y, double a, double b, double c, double d) override
 
void collectRelEllipticalArcTo (unsigned id, unsigned level, double x, double y, double a, double b, double c, double d) override
 
void collectRelLineTo (unsigned id, unsigned level, double x, double y) override
 
void collectRelMoveTo (unsigned id, unsigned level, double x, double y) override
 
void collectRelQuadBezTo (unsigned id, unsigned level, double x, double y, double a, double b) override
 
void collectUnhandledChunk (unsigned id, unsigned level) override
 
void collectText (unsigned level, const librevenge::RVNGBinaryData &textStream, TextFormat format) override
 
void collectCharIX (unsigned id, unsigned level, unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth) override
 
void collectDefaultCharStyle (unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth) override
 
void collectParaIX (unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags) override
 
void collectDefaultParaStyle (unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags) override
 
void collectTextBlock (unsigned level, const boost::optional< double > &leftMargin, const boost::optional< double > &rightMargin, const boost::optional< double > &topMargin, const boost::optional< double > &bottomMargin, const boost::optional< unsigned char > &verticalAlign, const boost::optional< bool > &isBgFilled, const boost::optional< Colour > &bgColour, const boost::optional< double > &defaultTabStop, const boost::optional< unsigned char > &textDirection) override
 
void collectNameList (unsigned id, unsigned level) override
 
void collectName (unsigned id, unsigned level, const librevenge::RVNGBinaryData &name, TextFormat format) override
 
void collectPageSheet (unsigned id, unsigned level) override
 
void collectMisc (unsigned level, const VSDMisc &misc) override
 
void collectLayer (unsigned id, unsigned level, const VSDLayer &layer) override
 
void collectLayerMem (unsigned level, const VSDName &layerMem) override
 
void collectTabsDataList (unsigned level, const std::map< unsigned, VSDTabSet > &tabSets) override
 
void collectStyleSheet (unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle) override
 
void collectLineStyle (unsigned level, const boost::optional< double > &strokeWidth, const boost::optional< Colour > &c, const boost::optional< unsigned char > &linePattern, const boost::optional< unsigned char > &startMarker, const boost::optional< unsigned char > &endMarker, const boost::optional< unsigned char > &lineCap, const boost::optional< double > &rounding, const boost::optional< long > &qsLineColour, const boost::optional< long > &qsLineMatrix) override
 
void collectFillStyle (unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc, const boost::optional< double > &shadowOffsetX, const boost::optional< double > &shadowOffsetY, const boost::optional< long > &qsFillColour, const boost::optional< long > &qsShadowColour, const boost::optional< long > &qsFillMatrix) override
 
void collectFillStyle (unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc) override
 
void collectCharIXStyle (unsigned id, unsigned level, unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth) override
 
void collectParaIXStyle (unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags) override
 
void collectTextBlockStyle (unsigned level, const boost::optional< double > &leftMargin, const boost::optional< double > &rightMargin, const boost::optional< double > &topMargin, const boost::optional< double > &bottomMargin, const boost::optional< unsigned char > &verticalAlign, const boost::optional< bool > &isBgFilled, const boost::optional< Colour > &bgColour, const boost::optional< double > &defaultTabStop, const boost::optional< unsigned char > &textDirection) override
 
void collectMetaData (const librevenge::RVNGPropertyList &metaData) override
 
void collectFieldList (unsigned id, unsigned level) override
 
void collectTextField (unsigned id, unsigned level, int nameId, int formatStringId) override
 
void collectNumericField (unsigned id, unsigned level, unsigned short format, unsigned short cellType, double number, int formatStringId) override
 
void startPage (unsigned pageId) override
 
void endPage () override
 
void endPages () override
 
- Public Member Functions inherited from libvisio::VSDCollector
 VSDCollector ()
 
virtual ~VSDCollector ()
 
virtual void collectDocumentTheme (const VSDXTheme *theme)=0
 
virtual void collectEllipticalArcTo (unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc)=0
 
virtual void collectForeignData (unsigned level, const librevenge::RVNGBinaryData &binaryData)=0
 
virtual void collectOLEList (unsigned id, unsigned level)=0
 
virtual void collectOLEData (unsigned id, unsigned level, const librevenge::RVNGBinaryData &oleData)=0
 
virtual void collectEllipse (unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop)=0
 
virtual void collectLine (unsigned level, const boost::optional< double > &strokeWidth, const boost::optional< Colour > &c, const boost::optional< unsigned char > &linePattern, const boost::optional< unsigned char > &startMarker, const boost::optional< unsigned char > &endMarker, const boost::optional< unsigned char > &lineCap, const boost::optional< double > &rounding, const boost::optional< long > &qsLineColour, const boost::optional< long > &qsLineMatrix)=0
 
virtual void collectFillAndShadow (unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc, const boost::optional< double > &shadowOffsetX, const boost::optional< double > &shadowOffsetY, const boost::optional< long > &qsFc, const boost::optional< long > &qsSc, const boost::optional< long > &qsLm)=0
 
virtual void collectFillAndShadow (unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc)=0
 
virtual void collectGeometry (unsigned id, unsigned level, bool noFill, bool noLine, bool noShow)=0
 
virtual void collectMoveTo (unsigned id, unsigned level, double x, double y)=0
 
virtual void collectLineTo (unsigned id, unsigned level, double x, double y)=0
 
virtual void collectArcTo (unsigned id, unsigned level, double x2, double y2, double bow)=0
 
virtual void collectNURBSTo (unsigned id, unsigned level, double x2, double y2, unsigned char xType, unsigned char yType, unsigned degree, const std::vector< std::pair< double, double > > &ctrlPnts, const std::vector< double > &kntVec, const std::vector< double > &weights)=0
 
virtual void collectNURBSTo (unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID)=0
 
virtual void collectNURBSTo (unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, const NURBSData &data)=0
 
virtual void collectPolylineTo (unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType, const std::vector< std::pair< double, double > > &points)=0
 
virtual void collectPolylineTo (unsigned id, unsigned level, double x, double y, unsigned dataID)=0
 
virtual void collectPolylineTo (unsigned id, unsigned level, double x, double y, const PolylineData &data)=0
 
virtual 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)=0
 
virtual void collectShapeData (unsigned id, unsigned level, unsigned char xType, unsigned char yType, std::vector< std::pair< double, double > > points)=0
 
virtual void collectXFormData (unsigned level, const XForm &xform)=0
 
virtual void collectTxtXForm (unsigned level, const XForm &txtxform)=0
 
virtual void collectShapesOrder (unsigned id, unsigned level, const std::vector< unsigned > &shapeIds)=0
 
virtual void collectForeignDataType (unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height)=0
 
virtual void collectPageProps (unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale)=0
 
virtual void collectPage (unsigned id, unsigned level, unsigned backgroundPageID, bool isBackgroundPage, const VSDName &pageName)=0
 
virtual void collectShape (unsigned id, unsigned level, unsigned parent, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle)=0
 
virtual void collectSplineStart (unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree)=0
 
virtual void collectSplineKnot (unsigned id, unsigned level, double x, double y, double knot)=0
 
virtual void collectSplineEnd ()=0
 
virtual void collectInfiniteLine (unsigned id, unsigned level, double x1, double y1, double x2, double y2)=0
 
virtual void collectRelCubBezTo (unsigned id, unsigned level, double x, double y, double a, double b, double c, double d)=0
 
virtual void collectRelEllipticalArcTo (unsigned id, unsigned level, double x, double y, double a, double b, double c, double d)=0
 
virtual void collectRelLineTo (unsigned id, unsigned level, double x, double y)=0
 
virtual void collectRelMoveTo (unsigned id, unsigned level, double x, double y)=0
 
virtual void collectRelQuadBezTo (unsigned id, unsigned level, double x, double y, double a, double b)=0
 
virtual void collectUnhandledChunk (unsigned id, unsigned level)=0
 
virtual void collectText (unsigned level, const librevenge::RVNGBinaryData &textStream, TextFormat format)=0
 
virtual void collectCharIX (unsigned id, unsigned level, unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth)=0
 
virtual void collectDefaultCharStyle (unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth)=0
 
virtual void collectParaIX (unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags)=0
 
virtual void collectDefaultParaStyle (unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags)=0
 
virtual void collectTextBlock (unsigned level, const boost::optional< double > &leftMargin, const boost::optional< double > &rightMargin, const boost::optional< double > &topMargin, const boost::optional< double > &bottomMargin, const boost::optional< unsigned char > &verticalAlign, const boost::optional< bool > &isBgFilled, const boost::optional< Colour > &bgColour, const boost::optional< double > &defaultTabStop, const boost::optional< unsigned char > &textDirection)=0
 
virtual void collectNameList (unsigned id, unsigned level)=0
 
virtual void collectName (unsigned id, unsigned level, const librevenge::RVNGBinaryData &name, TextFormat format)=0
 
virtual void collectPageSheet (unsigned id, unsigned level)=0
 
virtual void collectMisc (unsigned level, const VSDMisc &misc)=0
 
virtual void collectLayer (unsigned id, unsigned level, const VSDLayer &layer)=0
 
virtual void collectLayerMem (unsigned level, const VSDName &layerMem)=0
 
virtual void collectTabsDataList (unsigned level, const std::map< unsigned, VSDTabSet > &tabSets)=0
 
virtual void collectStyleSheet (unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle)=0
 
virtual void collectLineStyle (unsigned level, const boost::optional< double > &strokeWidth, const boost::optional< Colour > &c, const boost::optional< unsigned char > &linePattern, const boost::optional< unsigned char > &startMarker, const boost::optional< unsigned char > &endMarker, const boost::optional< unsigned char > &lineCap, const boost::optional< double > &rounding, const boost::optional< long > &qsLineColour, const boost::optional< long > &qsLineMatrix)=0
 
virtual void collectFillStyle (unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc, const boost::optional< double > &shadowOffsetX, const boost::optional< double > &shadowOffsetY, const boost::optional< long > &qsFillColour, const boost::optional< long > &qsShadowColour, const boost::optional< long > &qsFillMatrix)=0
 
virtual void collectFillStyle (unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc)=0
 
virtual void collectCharIXStyle (unsigned id, unsigned level, unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth)=0
 
virtual void collectParaIXStyle (unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags)=0
 
virtual void collectTextBlockStyle (unsigned level, const boost::optional< double > &leftMargin, const boost::optional< double > &rightMargin, const boost::optional< double > &topMargin, const boost::optional< double > &bottomMargin, const boost::optional< unsigned char > &verticalAlign, const boost::optional< bool > &isBgFilled, const boost::optional< Colour > &bgColour, const boost::optional< double > &defaultTabStop, const boost::optional< unsigned char > &textDirection)=0
 
virtual void collectFieldList (unsigned id, unsigned level)=0
 
virtual void collectTextField (unsigned id, unsigned level, int nameId, int formatStringId)=0
 
virtual void collectNumericField (unsigned id, unsigned level, unsigned short format, unsigned short cellType, double number, int formatStringId)=0
 
virtual void collectMetaData (const librevenge::RVNGPropertyList &metaData)=0
 
virtual void startPage (unsigned pageId)=0
 
virtual void endPage ()=0
 
virtual void endPages ()=0
 

Private Member Functions

 VSDContentCollector (const VSDContentCollector &)
 
VSDContentCollectoroperator= (const VSDContentCollector &)
 
void applyXForm (double &x, double &y, const XForm &xform)
 
void transformPoint (double &x, double &y, XForm *txtxform=nullptr)
 
void transformAngle (double &angle, XForm *txtxform=nullptr)
 
void transformFlips (bool &flipX, bool &flipY)
 
double _NURBSBasis (unsigned knot, unsigned degree, double point, const std::vector< double > &knotVector)
 
void _flushShape ()
 
void _flushCurrentPath (unsigned id)
 
void _flushText ()
 
void _flushCurrentForeignData ()
 
void _flushCurrentPage ()
 
void _handleLevelChange (unsigned level)
 
void _handleForeignData (const librevenge::RVNGBinaryData &data)
 
void _lineProperties (const VSDLineStyle &style, librevenge::RVNGPropertyList &styleProps)
 
void _fillAndShadowProperties (const VSDFillStyle &style, librevenge::RVNGPropertyList &styleProps)
 
void _applyLinePattern ()
 
const char * _linePropertiesMarkerViewbox (unsigned marker)
 
const char * _linePropertiesMarkerPath (unsigned marker)
 
double _linePropertiesMarkerScale (unsigned marker)
 
void appendCharacters (librevenge::RVNGString &text, const std::vector< unsigned char > &characters, TextFormat format)
 
void appendCharacters (librevenge::RVNGString &text, const std::vector< unsigned char > &characters)
 
void _convertDataToString (librevenge::RVNGString &result, const librevenge::RVNGBinaryData &data, TextFormat format)
 
bool parseFormatId (const char *formatString, unsigned short &result)
 
void _appendField (librevenge::RVNGString &text)
 
bool _isUniform (const std::vector< double > &weights) const
 
void _generatePolylineFromNURBS (unsigned degree, const std::vector< std::pair< double, double > > &controlPoints, const std::vector< double > &knotVector, const std::vector< double > &weights)
 
void _generateBezierSegmentsFromNURBS (unsigned degree, const std::vector< std::pair< double, double > > &controlPoints, const std::vector< double > &knotVector)
 
void _outputCubicBezierSegment (const std::vector< std::pair< double, double > > &points)
 
void _outputQuadraticBezierSegment (const std::vector< std::pair< double, double > > &points)
 
void _outputLinearBezierSegment (const std::vector< std::pair< double, double > > &points)
 
void _appendVisibleAndPrintable (librevenge::RVNGPropertyList &propList)
 
void _bulletFromParaFormat (VSDBullet &bullet, const VSDParaStyle &paraStyle)
 
void _listLevelFromBullet (librevenge::RVNGPropertyList &propList, const VSDBullet &bullet)
 
void _fillParagraphProperties (librevenge::RVNGPropertyList &propList, const VSDParaStyle &style)
 
void _fillTabSet (librevenge::RVNGPropertyList &propList, const VSDTabSet &tabSet)
 
void _fillCharProperties (librevenge::RVNGPropertyList &propList, const VSDCharStyle &style)
 
void _convertToPath (const std::vector< librevenge::RVNGPropertyList > &segmentVector, librevenge::RVNGPropertyListVector &path, double rounding)
 

Private Attributes

librevenge::RVNGDrawingInterface * 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
 
std::unique_ptr< XFormm_txtxform
 
VSDMisc m_misc
 
std::vector< librevenge::RVNGPropertyList > m_currentFillGeometry
 
std::vector< librevenge::RVNGPropertyList > m_currentLineGeometry
 
std::map< unsigned, XForm > * m_groupXForms
 
librevenge::RVNGBinaryData m_currentForeignData
 
librevenge::RVNGBinaryData m_currentOLEData
 
librevenge::RVNGPropertyList m_currentForeignProps
 
unsigned m_currentShapeId
 
unsigned m_foreignType
 
unsigned m_foreignFormat
 
double m_foreignOffsetX
 
double m_foreignOffsetY
 
double m_foreignWidth
 
double m_foreignHeight
 
bool m_noLine
 
bool m_noFill
 
bool m_noShow
 
std::map< unsigned short, VSDFontm_fonts
 
unsigned m_currentLevel
 
bool m_isShapeStarted
 
std::vector< std::map< unsigned, XForm > > & m_groupXFormsSequence
 
std::vector< std::map< unsigned, unsigned > > & m_groupMembershipsSequence
 
std::vector< std::map< unsigned, unsigned > >::iterator m_groupMemberships
 
unsigned m_currentPageNumber
 
VSDOutputElementListm_shapeOutputDrawing
 
VSDOutputElementListm_shapeOutputText
 
std::map< unsigned, VSDOutputElementListm_pageOutputDrawing
 
std::map< unsigned, VSDOutputElementListm_pageOutputText
 
std::vector< std::list< unsigned > > & m_documentPageShapeOrders
 
std::vector< std::list< unsigned > >::iterator m_pageShapeOrder
 
bool m_isFirstGeometry
 
std::map< unsigned, NURBSDatam_NURBSData
 
std::map< unsigned, PolylineDatam_polylineData
 
libvisio::VSDName m_currentText
 
std::map< unsigned, librevenge::RVNGString > m_names
 
std::map< unsigned, librevenge::RVNGString > m_stencilNames
 
std::vector< librevenge::RVNGString > m_fields
 
VSDFieldList m_stencilFields
 
unsigned m_fieldIndex
 
std::vector< VSDCharStylem_charFormats
 
std::vector< VSDParaStylem_paraFormats
 
VSDLineStyle m_lineStyle
 
VSDFillStyle m_fillStyle
 
VSDTextBlockStyle m_textBlockStyle
 
VSDCharStyle m_defaultCharStyle
 
VSDParaStyle m_defaultParaStyle
 
unsigned m_currentStyleSheet
 
VSDStyles m_styles
 
VSDStencils m_stencils
 
const VSDShapem_stencilShape
 
bool m_isStencilStarted
 
unsigned m_currentGeometryCount
 
unsigned m_backgroundPageID
 
unsigned m_currentPageID
 
VSDPage m_currentPage
 
VSDPages m_pages
 
VSDLayerList m_layerList
 
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
 
bool m_isBackgroundPage
 
VSDLayerList m_currentLayerList
 
std::vector< unsigned > m_currentLayerMem
 
std::vector< VSDTabSetm_tabSets
 
const VSDXThemem_documentTheme
 

Constructor & Destructor Documentation

◆ VSDContentCollector() [1/2]

libvisio::VSDContentCollector::VSDContentCollector ( librevenge::RVNGDrawingInterface *  painter,
std::vector< std::map< unsigned, XForm > > &  groupXFormsSequence,
std::vector< std::map< unsigned, unsigned > > &  groupMembershipsSequence,
std::vector< std::list< unsigned > > &  documentPageShapeOrders,
VSDStyles styles,
VSDStencils stencils 
)

◆ VSDContentCollector() [2/2]

libvisio::VSDContentCollector::VSDContentCollector ( const VSDContentCollector )
private

Member Function Documentation

◆ _appendField()

void libvisio::VSDContentCollector::_appendField ( librevenge::RVNGString &  text)
private

◆ _appendVisibleAndPrintable()

void libvisio::VSDContentCollector::_appendVisibleAndPrintable ( librevenge::RVNGPropertyList &  propList)
private

◆ _applyLinePattern()

void libvisio::VSDContentCollector::_applyLinePattern ( )
private

◆ _bulletFromParaFormat()

void libvisio::VSDContentCollector::_bulletFromParaFormat ( libvisio::VSDBullet bullet,
const VSDParaStyle paraStyle 
)
private

◆ _convertDataToString()

void libvisio::VSDContentCollector::_convertDataToString ( librevenge::RVNGString &  result,
const librevenge::RVNGBinaryData &  data,
TextFormat  format 
)
private

◆ _convertToPath()

void libvisio::VSDContentCollector::_convertToPath ( const std::vector< librevenge::RVNGPropertyList > &  segmentVector,
librevenge::RVNGPropertyListVector &  path,
double  rounding 
)
private

◆ _fillAndShadowProperties()

void libvisio::VSDContentCollector::_fillAndShadowProperties ( const VSDFillStyle style,
librevenge::RVNGPropertyList &  styleProps 
)
private

◆ _fillCharProperties()

void libvisio::VSDContentCollector::_fillCharProperties ( librevenge::RVNGPropertyList &  propList,
const VSDCharStyle style 
)
private

◆ _fillParagraphProperties()

void libvisio::VSDContentCollector::_fillParagraphProperties ( librevenge::RVNGPropertyList &  propList,
const VSDParaStyle style 
)
private

◆ _fillTabSet()

void libvisio::VSDContentCollector::_fillTabSet ( librevenge::RVNGPropertyList &  propList,
const VSDTabSet tabSet 
)
private

◆ _flushCurrentForeignData()

void libvisio::VSDContentCollector::_flushCurrentForeignData ( )
private

◆ _flushCurrentPage()

void libvisio::VSDContentCollector::_flushCurrentPage ( )
private

◆ _flushCurrentPath()

void libvisio::VSDContentCollector::_flushCurrentPath ( unsigned  id)
private

◆ _flushShape()

void libvisio::VSDContentCollector::_flushShape ( )
private

◆ _flushText()

void libvisio::VSDContentCollector::_flushText ( )
private

◆ _generateBezierSegmentsFromNURBS()

void libvisio::VSDContentCollector::_generateBezierSegmentsFromNURBS ( unsigned  degree,
const std::vector< std::pair< double, double > > &  controlPoints,
const std::vector< double > &  knotVector 
)
private

◆ _generatePolylineFromNURBS()

void libvisio::VSDContentCollector::_generatePolylineFromNURBS ( unsigned  degree,
const std::vector< std::pair< double, double > > &  controlPoints,
const std::vector< double > &  knotVector,
const std::vector< double > &  weights 
)
private

◆ _handleForeignData()

void libvisio::VSDContentCollector::_handleForeignData ( const librevenge::RVNGBinaryData &  data)
private

◆ _handleLevelChange()

void libvisio::VSDContentCollector::_handleLevelChange ( unsigned  level)
private

◆ _isUniform()

bool libvisio::VSDContentCollector::_isUniform ( const std::vector< double > &  weights) const
private

◆ _lineProperties()

void libvisio::VSDContentCollector::_lineProperties ( const VSDLineStyle style,
librevenge::RVNGPropertyList &  styleProps 
)
private

◆ _linePropertiesMarkerPath()

const char * libvisio::VSDContentCollector::_linePropertiesMarkerPath ( unsigned  marker)
private

◆ _linePropertiesMarkerScale()

double libvisio::VSDContentCollector::_linePropertiesMarkerScale ( unsigned  marker)
private

◆ _linePropertiesMarkerViewbox()

const char * libvisio::VSDContentCollector::_linePropertiesMarkerViewbox ( unsigned  marker)
private

◆ _listLevelFromBullet()

void libvisio::VSDContentCollector::_listLevelFromBullet ( librevenge::RVNGPropertyList &  propList,
const VSDBullet bullet 
)
private

◆ _NURBSBasis()

double libvisio::VSDContentCollector::_NURBSBasis ( unsigned  knot,
unsigned  degree,
double  point,
const std::vector< double > &  knotVector 
)
private

◆ _outputCubicBezierSegment()

void libvisio::VSDContentCollector::_outputCubicBezierSegment ( const std::vector< std::pair< double, double > > &  points)
private

◆ _outputLinearBezierSegment()

void libvisio::VSDContentCollector::_outputLinearBezierSegment ( const std::vector< std::pair< double, double > > &  points)
private

◆ _outputQuadraticBezierSegment()

void libvisio::VSDContentCollector::_outputQuadraticBezierSegment ( const std::vector< std::pair< double, double > > &  points)
private

◆ appendCharacters() [1/2]

void libvisio::VSDContentCollector::appendCharacters ( librevenge::RVNGString &  text,
const std::vector< unsigned char > &  characters 
)
private

◆ appendCharacters() [2/2]

void libvisio::VSDContentCollector::appendCharacters ( librevenge::RVNGString &  text,
const std::vector< unsigned char > &  characters,
TextFormat  format 
)
private

◆ applyXForm()

void libvisio::VSDContentCollector::applyXForm ( double &  x,
double &  y,
const XForm xform 
)
private

◆ collectArcTo()

void libvisio::VSDContentCollector::collectArcTo ( unsigned  id,
unsigned  level,
double  x2,
double  y2,
double  bow 
)
overridevirtual

◆ collectCharIX()

void libvisio::VSDContentCollector::collectCharIX ( unsigned  id,
unsigned  level,
unsigned  charCount,
const boost::optional< VSDName > &  font,
const boost::optional< Colour > &  fontColour,
const boost::optional< double > &  fontSize,
const boost::optional< bool > &  bold,
const boost::optional< bool > &  italic,
const boost::optional< bool > &  underline,
const boost::optional< bool > &  doubleunderline,
const boost::optional< bool > &  strikeout,
const boost::optional< bool > &  doublestrikeout,
const boost::optional< bool > &  allcaps,
const boost::optional< bool > &  initcaps,
const boost::optional< bool > &  smallcaps,
const boost::optional< bool > &  superscript,
const boost::optional< bool > &  subscript,
const boost::optional< double > &  scaleWidth 
)
overridevirtual

◆ collectCharIXStyle()

void libvisio::VSDContentCollector::collectCharIXStyle ( unsigned  id,
unsigned  level,
unsigned  charCount,
const boost::optional< VSDName > &  font,
const boost::optional< Colour > &  fontColour,
const boost::optional< double > &  fontSize,
const boost::optional< bool > &  bold,
const boost::optional< bool > &  italic,
const boost::optional< bool > &  underline,
const boost::optional< bool > &  doubleunderline,
const boost::optional< bool > &  strikeout,
const boost::optional< bool > &  doublestrikeout,
const boost::optional< bool > &  allcaps,
const boost::optional< bool > &  initcaps,
const boost::optional< bool > &  smallcaps,
const boost::optional< bool > &  superscript,
const boost::optional< bool > &  subscript,
const boost::optional< double > &  scaleWidth 
)
overridevirtual

◆ collectDefaultCharStyle()

void libvisio::VSDContentCollector::collectDefaultCharStyle ( unsigned  charCount,
const boost::optional< VSDName > &  font,
const boost::optional< Colour > &  fontColour,
const boost::optional< double > &  fontSize,
const boost::optional< bool > &  bold,
const boost::optional< bool > &  italic,
const boost::optional< bool > &  underline,
const boost::optional< bool > &  doubleunderline,
const boost::optional< bool > &  strikeout,
const boost::optional< bool > &  doublestrikeout,
const boost::optional< bool > &  allcaps,
const boost::optional< bool > &  initcaps,
const boost::optional< bool > &  smallcaps,
const boost::optional< bool > &  superscript,
const boost::optional< bool > &  subscript,
const boost::optional< double > &  scaleWidth 
)
overridevirtual

◆ collectDefaultParaStyle()

void libvisio::VSDContentCollector::collectDefaultParaStyle ( unsigned  charCount,
const boost::optional< double > &  indFirst,
const boost::optional< double > &  indLeft,
const boost::optional< double > &  indRight,
const boost::optional< double > &  spLine,
const boost::optional< double > &  spBefore,
const boost::optional< double > &  spAfter,
const boost::optional< unsigned char > &  align,
const boost::optional< unsigned char > &  bullet,
const boost::optional< VSDName > &  bulletStr,
const boost::optional< VSDName > &  bulletFont,
const boost::optional< double > &  bulletFontSize,
const boost::optional< double > &  textPosAfterBullet,
const boost::optional< unsigned > &  flags 
)
overridevirtual

◆ collectDocumentTheme()

void libvisio::VSDContentCollector::collectDocumentTheme ( const VSDXTheme theme)
overridevirtual

◆ collectEllipse()

void libvisio::VSDContentCollector::collectEllipse ( unsigned  id,
unsigned  level,
double  cx,
double  cy,
double  xleft,
double  yleft,
double  xtop,
double  ytop 
)
overridevirtual

◆ collectEllipticalArcTo()

void libvisio::VSDContentCollector::collectEllipticalArcTo ( unsigned  id,
unsigned  level,
double  x3,
double  y3,
double  x2,
double  y2,
double  angle,
double  ecc 
)
overridevirtual

◆ collectFieldList()

void libvisio::VSDContentCollector::collectFieldList ( unsigned  id,
unsigned  level 
)
overridevirtual

◆ collectFillAndShadow() [1/2]

void libvisio::VSDContentCollector::collectFillAndShadow ( unsigned  level,
const boost::optional< Colour > &  colourFG,
const boost::optional< Colour > &  colourBG,
const boost::optional< unsigned char > &  fillPattern,
const boost::optional< double > &  fillFGTransparency,
const boost::optional< double > &  fillBGTransparency,
const boost::optional< unsigned char > &  shadowPattern,
const boost::optional< Colour > &  shfgc 
)
overridevirtual

◆ collectFillAndShadow() [2/2]

void libvisio::VSDContentCollector::collectFillAndShadow ( unsigned  level,
const boost::optional< Colour > &  colourFG,
const boost::optional< Colour > &  colourBG,
const boost::optional< unsigned char > &  fillPattern,
const boost::optional< double > &  fillFGTransparency,
const boost::optional< double > &  fillBGTransparency,
const boost::optional< unsigned char > &  shadowPattern,
const boost::optional< Colour > &  shfgc,
const boost::optional< double > &  shadowOffsetX,
const boost::optional< double > &  shadowOffsetY,
const boost::optional< long > &  qsFc,
const boost::optional< long > &  qsSc,
const boost::optional< long > &  qsLm 
)
overridevirtual

◆ collectFillStyle() [1/2]

void libvisio::VSDContentCollector::collectFillStyle ( unsigned  level,
const boost::optional< Colour > &  colourFG,
const boost::optional< Colour > &  colourBG,
const boost::optional< unsigned char > &  fillPattern,
const boost::optional< double > &  fillFGTransparency,
const boost::optional< double > &  fillBGTransparency,
const boost::optional< unsigned char > &  shadowPattern,
const boost::optional< Colour > &  shfgc 
)
overridevirtual

◆ collectFillStyle() [2/2]

void libvisio::VSDContentCollector::collectFillStyle ( unsigned  level,
const boost::optional< Colour > &  colourFG,
const boost::optional< Colour > &  colourBG,
const boost::optional< unsigned char > &  fillPattern,
const boost::optional< double > &  fillFGTransparency,
const boost::optional< double > &  fillBGTransparency,
const boost::optional< unsigned char > &  shadowPattern,
const boost::optional< Colour > &  shfgc,
const boost::optional< double > &  shadowOffsetX,
const boost::optional< double > &  shadowOffsetY,
const boost::optional< long > &  qsFillColour,
const boost::optional< long > &  qsShadowColour,
const boost::optional< long > &  qsFillMatrix 
)
overridevirtual

◆ collectForeignData()

void libvisio::VSDContentCollector::collectForeignData ( unsigned  level,
const librevenge::RVNGBinaryData &  binaryData 
)
overridevirtual

◆ collectForeignDataType()

void libvisio::VSDContentCollector::collectForeignDataType ( unsigned  level,
unsigned  foreignType,
unsigned  foreignFormat,
double  offsetX,
double  offsetY,
double  width,
double  height 
)
overridevirtual

◆ collectGeometry()

void libvisio::VSDContentCollector::collectGeometry ( unsigned  id,
unsigned  level,
bool  noFill,
bool  noLine,
bool  noShow 
)
overridevirtual

◆ collectInfiniteLine()

void libvisio::VSDContentCollector::collectInfiniteLine ( unsigned  id,
unsigned  level,
double  x1,
double  y1,
double  x2,
double  y2 
)
overridevirtual

◆ collectLayer()

void libvisio::VSDContentCollector::collectLayer ( unsigned  id,
unsigned  level,
const VSDLayer layer 
)
overridevirtual

◆ collectLayerMem()

void libvisio::VSDContentCollector::collectLayerMem ( unsigned  level,
const VSDName layerMem 
)
overridevirtual

◆ collectLine()

void libvisio::VSDContentCollector::collectLine ( unsigned  level,
const boost::optional< double > &  strokeWidth,
const boost::optional< Colour > &  c,
const boost::optional< unsigned char > &  linePattern,
const boost::optional< unsigned char > &  startMarker,
const boost::optional< unsigned char > &  endMarker,
const boost::optional< unsigned char > &  lineCap,
const boost::optional< double > &  rounding,
const boost::optional< long > &  qsLineColour,
const boost::optional< long > &  qsLineMatrix 
)
overridevirtual

◆ collectLineStyle()

void libvisio::VSDContentCollector::collectLineStyle ( unsigned  level,
const boost::optional< double > &  strokeWidth,
const boost::optional< Colour > &  c,
const boost::optional< unsigned char > &  linePattern,
const boost::optional< unsigned char > &  startMarker,
const boost::optional< unsigned char > &  endMarker,
const boost::optional< unsigned char > &  lineCap,
const boost::optional< double > &  rounding,
const boost::optional< long > &  qsLineColour,
const boost::optional< long > &  qsLineMatrix 
)
overridevirtual

◆ collectLineTo()

void libvisio::VSDContentCollector::collectLineTo ( unsigned  id,
unsigned  level,
double  x,
double  y 
)
overridevirtual

◆ collectMetaData()

void libvisio::VSDContentCollector::collectMetaData ( const librevenge::RVNGPropertyList &  metaData)
overridevirtual

◆ collectMisc()

void libvisio::VSDContentCollector::collectMisc ( unsigned  level,
const VSDMisc misc 
)
overridevirtual

◆ collectMoveTo()

void libvisio::VSDContentCollector::collectMoveTo ( unsigned  id,
unsigned  level,
double  x,
double  y 
)
overridevirtual

◆ collectName()

void libvisio::VSDContentCollector::collectName ( unsigned  id,
unsigned  level,
const librevenge::RVNGBinaryData &  name,
TextFormat  format 
)
overridevirtual

◆ collectNameList()

void libvisio::VSDContentCollector::collectNameList ( unsigned  id,
unsigned  level 
)
overridevirtual

◆ collectNumericField()

void libvisio::VSDContentCollector::collectNumericField ( unsigned  id,
unsigned  level,
unsigned short  format,
unsigned short  cellType,
double  number,
int  formatStringId 
)
overridevirtual

◆ collectNURBSTo() [1/3]

void libvisio::VSDContentCollector::collectNURBSTo ( unsigned  id,
unsigned  level,
double  x2,
double  y2,
double  knot,
double  knotPrev,
double  weight,
double  weightPrev,
const NURBSData data 
)
overridevirtual

◆ collectNURBSTo() [2/3]

void libvisio::VSDContentCollector::collectNURBSTo ( unsigned  id,
unsigned  level,
double  x2,
double  y2,
double  knot,
double  knotPrev,
double  weight,
double  weightPrev,
unsigned  dataID 
)
overridevirtual

◆ collectNURBSTo() [3/3]

void libvisio::VSDContentCollector::collectNURBSTo ( unsigned  id,
unsigned  level,
double  x2,
double  y2,
unsigned char  xType,
unsigned char  yType,
unsigned  degree,
const std::vector< std::pair< double, double > > &  ctrlPnts,
const std::vector< double > &  kntVec,
const std::vector< double > &  weights 
)
overridevirtual

◆ collectOLEData()

void libvisio::VSDContentCollector::collectOLEData ( unsigned  id,
unsigned  level,
const librevenge::RVNGBinaryData &  oleData 
)
overridevirtual

◆ collectOLEList()

void libvisio::VSDContentCollector::collectOLEList ( unsigned  id,
unsigned  level 
)
overridevirtual

◆ collectPage()

void libvisio::VSDContentCollector::collectPage ( unsigned  id,
unsigned  level,
unsigned  backgroundPageID,
bool  isBackgroundPage,
const VSDName pageName 
)
overridevirtual

◆ collectPageProps()

void libvisio::VSDContentCollector::collectPageProps ( unsigned  id,
unsigned  level,
double  pageWidth,
double  pageHeight,
double  shadowOffsetX,
double  shadowOffsetY,
double  scale 
)
overridevirtual

◆ collectPageSheet()

void libvisio::VSDContentCollector::collectPageSheet ( unsigned  id,
unsigned  level 
)
overridevirtual

◆ collectParaIX()

void libvisio::VSDContentCollector::collectParaIX ( unsigned  id,
unsigned  level,
unsigned  charCount,
const boost::optional< double > &  indFirst,
const boost::optional< double > &  indLeft,
const boost::optional< double > &  indRight,
const boost::optional< double > &  spLine,
const boost::optional< double > &  spBefore,
const boost::optional< double > &  spAfter,
const boost::optional< unsigned char > &  align,
const boost::optional< unsigned char > &  bullet,
const boost::optional< VSDName > &  bulletStr,
const boost::optional< VSDName > &  bulletFont,
const boost::optional< double > &  bulletFontSize,
const boost::optional< double > &  textPosAfterBullet,
const boost::optional< unsigned > &  flags 
)
overridevirtual

◆ collectParaIXStyle()

void libvisio::VSDContentCollector::collectParaIXStyle ( unsigned  id,
unsigned  level,
unsigned  charCount,
const boost::optional< double > &  indFirst,
const boost::optional< double > &  indLeft,
const boost::optional< double > &  indRight,
const boost::optional< double > &  spLine,
const boost::optional< double > &  spBefore,
const boost::optional< double > &  spAfter,
const boost::optional< unsigned char > &  align,
const boost::optional< unsigned char > &  bullet,
const boost::optional< VSDName > &  bulletStr,
const boost::optional< VSDName > &  bulletFont,
const boost::optional< double > &  bulletFontSize,
const boost::optional< double > &  textPosAfterBullet,
const boost::optional< unsigned > &  flags 
)
overridevirtual

◆ collectPolylineTo() [1/3]

void libvisio::VSDContentCollector::collectPolylineTo ( unsigned  id,
unsigned  level,
double  x,
double  y,
const PolylineData data 
)
overridevirtual

◆ collectPolylineTo() [2/3]

void libvisio::VSDContentCollector::collectPolylineTo ( unsigned  id,
unsigned  level,
double  x,
double  y,
unsigned char  xType,
unsigned char  yType,
const std::vector< std::pair< double, double > > &  points 
)
overridevirtual

◆ collectPolylineTo() [3/3]

void libvisio::VSDContentCollector::collectPolylineTo ( unsigned  id,
unsigned  level,
double  x,
double  y,
unsigned  dataID 
)
overridevirtual

◆ collectRelCubBezTo()

void libvisio::VSDContentCollector::collectRelCubBezTo ( unsigned  id,
unsigned  level,
double  x,
double  y,
double  a,
double  b,
double  c,
double  d 
)
overridevirtual

◆ collectRelEllipticalArcTo()

void libvisio::VSDContentCollector::collectRelEllipticalArcTo ( unsigned  id,
unsigned  level,
double  x,
double  y,
double  a,
double  b,
double  c,
double  d 
)
overridevirtual

◆ collectRelLineTo()

void libvisio::VSDContentCollector::collectRelLineTo ( unsigned  id,
unsigned  level,
double  x,
double  y 
)
overridevirtual

◆ collectRelMoveTo()

void libvisio::VSDContentCollector::collectRelMoveTo ( unsigned  id,
unsigned  level,
double  x,
double  y 
)
overridevirtual

◆ collectRelQuadBezTo()

void libvisio::VSDContentCollector::collectRelQuadBezTo ( unsigned  id,
unsigned  level,
double  x,
double  y,
double  a,
double  b 
)
overridevirtual

◆ collectShape()

void libvisio::VSDContentCollector::collectShape ( unsigned  id,
unsigned  level,
unsigned  parent,
unsigned  masterPage,
unsigned  masterShape,
unsigned  lineStyle,
unsigned  fillStyle,
unsigned  textStyle 
)
overridevirtual

◆ collectShapeData() [1/2]

void libvisio::VSDContentCollector::collectShapeData ( unsigned  id,
unsigned  level,
unsigned char  xType,
unsigned char  yType,
std::vector< std::pair< double, double > >  points 
)
overridevirtual

◆ collectShapeData() [2/2]

void libvisio::VSDContentCollector::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 
)
overridevirtual

◆ collectShapesOrder()

void libvisio::VSDContentCollector::collectShapesOrder ( unsigned  id,
unsigned  level,
const std::vector< unsigned > &  shapeIds 
)
overridevirtual

◆ collectSplineEnd()

void libvisio::VSDContentCollector::collectSplineEnd ( )
overridevirtual

◆ collectSplineKnot()

void libvisio::VSDContentCollector::collectSplineKnot ( unsigned  id,
unsigned  level,
double  x,
double  y,
double  knot 
)
overridevirtual

◆ collectSplineStart()

void libvisio::VSDContentCollector::collectSplineStart ( unsigned  id,
unsigned  level,
double  x,
double  y,
double  secondKnot,
double  firstKnot,
double  lastKnot,
unsigned  degree 
)
overridevirtual

◆ collectStyleSheet()

void libvisio::VSDContentCollector::collectStyleSheet ( unsigned  id,
unsigned  level,
unsigned  parentLineStyle,
unsigned  parentFillStyle,
unsigned  parentTextStyle 
)
overridevirtual

◆ collectTabsDataList()

void libvisio::VSDContentCollector::collectTabsDataList ( unsigned  level,
const std::map< unsigned, VSDTabSet > &  tabSets 
)
overridevirtual

◆ collectText()

void libvisio::VSDContentCollector::collectText ( unsigned  level,
const librevenge::RVNGBinaryData &  textStream,
TextFormat  format 
)
overridevirtual

◆ collectTextBlock()

void libvisio::VSDContentCollector::collectTextBlock ( unsigned  level,
const boost::optional< double > &  leftMargin,
const boost::optional< double > &  rightMargin,
const boost::optional< double > &  topMargin,
const boost::optional< double > &  bottomMargin,
const boost::optional< unsigned char > &  verticalAlign,
const boost::optional< bool > &  isBgFilled,
const boost::optional< Colour > &  bgColour,
const boost::optional< double > &  defaultTabStop,
const boost::optional< unsigned char > &  textDirection 
)
overridevirtual

◆ collectTextBlockStyle()

void libvisio::VSDContentCollector::collectTextBlockStyle ( unsigned  level,
const boost::optional< double > &  leftMargin,
const boost::optional< double > &  rightMargin,
const boost::optional< double > &  topMargin,
const boost::optional< double > &  bottomMargin,
const boost::optional< unsigned char > &  verticalAlign,
const boost::optional< bool > &  isBgFilled,
const boost::optional< Colour > &  bgColour,
const boost::optional< double > &  defaultTabStop,
const boost::optional< unsigned char > &  textDirection 
)
overridevirtual

◆ collectTextField()

void libvisio::VSDContentCollector::collectTextField ( unsigned  id,
unsigned  level,
int  nameId,
int  formatStringId 
)
overridevirtual

◆ collectTxtXForm()

void libvisio::VSDContentCollector::collectTxtXForm ( unsigned  level,
const XForm txtxform 
)
overridevirtual

◆ collectUnhandledChunk()

void libvisio::VSDContentCollector::collectUnhandledChunk ( unsigned  id,
unsigned  level 
)
overridevirtual

◆ collectXFormData()

void libvisio::VSDContentCollector::collectXFormData ( unsigned  level,
const XForm xform 
)
overridevirtual

◆ endPage()

void libvisio::VSDContentCollector::endPage ( )
overridevirtual

◆ endPages()

void libvisio::VSDContentCollector::endPages ( )
overridevirtual

◆ operator=()

VSDContentCollector & libvisio::VSDContentCollector::operator= ( const VSDContentCollector )
private

◆ parseFormatId()

bool libvisio::VSDContentCollector::parseFormatId ( const char *  formatString,
unsigned short &  result 
)
private

◆ startPage()

void libvisio::VSDContentCollector::startPage ( unsigned  pageId)
overridevirtual

◆ transformAngle()

void libvisio::VSDContentCollector::transformAngle ( double &  angle,
XForm txtxform = nullptr 
)
private

◆ transformFlips()

void libvisio::VSDContentCollector::transformFlips ( bool &  flipX,
bool &  flipY 
)
private

◆ transformPoint()

void libvisio::VSDContentCollector::transformPoint ( double &  x,
double &  y,
XForm txtxform = nullptr 
)
private

Member Data Documentation

◆ m_backgroundPageID

unsigned libvisio::VSDContentCollector::m_backgroundPageID
private

◆ m_charFormats

std::vector<VSDCharStyle> libvisio::VSDContentCollector::m_charFormats
private

◆ m_currentFillGeometry

std::vector<librevenge::RVNGPropertyList> libvisio::VSDContentCollector::m_currentFillGeometry
private

◆ m_currentForeignData

librevenge::RVNGBinaryData libvisio::VSDContentCollector::m_currentForeignData
private

◆ m_currentForeignProps

librevenge::RVNGPropertyList libvisio::VSDContentCollector::m_currentForeignProps
private

◆ m_currentGeometryCount

unsigned libvisio::VSDContentCollector::m_currentGeometryCount
private

◆ m_currentLayerList

VSDLayerList libvisio::VSDContentCollector::m_currentLayerList
private

◆ m_currentLayerMem

std::vector<unsigned> libvisio::VSDContentCollector::m_currentLayerMem
private

◆ m_currentLevel

unsigned libvisio::VSDContentCollector::m_currentLevel
private

◆ m_currentLineGeometry

std::vector<librevenge::RVNGPropertyList> libvisio::VSDContentCollector::m_currentLineGeometry
private

◆ m_currentOLEData

librevenge::RVNGBinaryData libvisio::VSDContentCollector::m_currentOLEData
private

◆ m_currentPage

VSDPage libvisio::VSDContentCollector::m_currentPage
private

◆ m_currentPageID

unsigned libvisio::VSDContentCollector::m_currentPageID
private

◆ m_currentPageNumber

unsigned libvisio::VSDContentCollector::m_currentPageNumber
private

◆ m_currentShapeId

unsigned libvisio::VSDContentCollector::m_currentShapeId
private

◆ m_currentShapeLevel

unsigned libvisio::VSDContentCollector::m_currentShapeLevel
private

◆ m_currentStyleSheet

unsigned libvisio::VSDContentCollector::m_currentStyleSheet
private

◆ m_currentText

libvisio::VSDName libvisio::VSDContentCollector::m_currentText
private

◆ m_defaultCharStyle

VSDCharStyle libvisio::VSDContentCollector::m_defaultCharStyle
private

◆ m_defaultParaStyle

VSDParaStyle libvisio::VSDContentCollector::m_defaultParaStyle
private

◆ m_documentPageShapeOrders

std::vector<std::list<unsigned> >& libvisio::VSDContentCollector::m_documentPageShapeOrders
private

◆ m_documentTheme

const VSDXTheme* libvisio::VSDContentCollector::m_documentTheme
private

◆ m_fieldIndex

unsigned libvisio::VSDContentCollector::m_fieldIndex
private

◆ m_fields

std::vector<librevenge::RVNGString> libvisio::VSDContentCollector::m_fields
private

◆ m_fillStyle

VSDFillStyle libvisio::VSDContentCollector::m_fillStyle
private

◆ m_fonts

std::map<unsigned short, VSDFont> libvisio::VSDContentCollector::m_fonts
private

◆ m_foreignFormat

unsigned libvisio::VSDContentCollector::m_foreignFormat
private

◆ m_foreignHeight

double libvisio::VSDContentCollector::m_foreignHeight
private

◆ m_foreignOffsetX

double libvisio::VSDContentCollector::m_foreignOffsetX
private

◆ m_foreignOffsetY

double libvisio::VSDContentCollector::m_foreignOffsetY
private

◆ m_foreignType

unsigned libvisio::VSDContentCollector::m_foreignType
private

◆ m_foreignWidth

double libvisio::VSDContentCollector::m_foreignWidth
private

◆ m_groupMemberships

std::vector<std::map<unsigned,unsigned>>::iterator libvisio::VSDContentCollector::m_groupMemberships
private

◆ m_groupMembershipsSequence

std::vector<std::map<unsigned, unsigned> >& libvisio::VSDContentCollector::m_groupMembershipsSequence
private

◆ m_groupXForms

std::map<unsigned, XForm>* libvisio::VSDContentCollector::m_groupXForms
private

◆ m_groupXFormsSequence

std::vector<std::map<unsigned, XForm> >& libvisio::VSDContentCollector::m_groupXFormsSequence
private

◆ m_isBackgroundPage

bool libvisio::VSDContentCollector::m_isBackgroundPage
private

◆ m_isFirstGeometry

bool libvisio::VSDContentCollector::m_isFirstGeometry
private

◆ m_isPageStarted

bool libvisio::VSDContentCollector::m_isPageStarted
private

◆ m_isShapeStarted

bool libvisio::VSDContentCollector::m_isShapeStarted
private

◆ m_isStencilStarted

bool libvisio::VSDContentCollector::m_isStencilStarted
private

◆ m_layerList

VSDLayerList libvisio::VSDContentCollector::m_layerList
private

◆ m_lineStyle

VSDLineStyle libvisio::VSDContentCollector::m_lineStyle
private

◆ m_misc

VSDMisc libvisio::VSDContentCollector::m_misc
private

◆ m_names

std::map<unsigned, librevenge::RVNGString> libvisio::VSDContentCollector::m_names
private

◆ m_noFill

bool libvisio::VSDContentCollector::m_noFill
private

◆ m_noLine

bool libvisio::VSDContentCollector::m_noLine
private

◆ m_noShow

bool libvisio::VSDContentCollector::m_noShow
private

◆ m_NURBSData

std::map<unsigned, NURBSData> libvisio::VSDContentCollector::m_NURBSData
private

◆ m_originalX

double libvisio::VSDContentCollector::m_originalX
private

◆ m_originalY

double libvisio::VSDContentCollector::m_originalY
private

◆ m_pageHeight

double libvisio::VSDContentCollector::m_pageHeight
private

◆ m_pageOutputDrawing

std::map<unsigned, VSDOutputElementList> libvisio::VSDContentCollector::m_pageOutputDrawing
private

◆ m_pageOutputText

std::map<unsigned, VSDOutputElementList> libvisio::VSDContentCollector::m_pageOutputText
private

◆ m_pages

VSDPages libvisio::VSDContentCollector::m_pages
private

◆ m_pageShapeOrder

std::vector<std::list<unsigned>>::iterator libvisio::VSDContentCollector::m_pageShapeOrder
private

◆ m_pageWidth

double libvisio::VSDContentCollector::m_pageWidth
private

◆ m_painter

librevenge::RVNGDrawingInterface* libvisio::VSDContentCollector::m_painter
private

◆ m_paraFormats

std::vector<VSDParaStyle> libvisio::VSDContentCollector::m_paraFormats
private

◆ m_polylineData

std::map<unsigned, PolylineData> libvisio::VSDContentCollector::m_polylineData
private

◆ m_scale

double libvisio::VSDContentCollector::m_scale
private

◆ m_shadowOffsetX

double libvisio::VSDContentCollector::m_shadowOffsetX
private

◆ m_shadowOffsetY

double libvisio::VSDContentCollector::m_shadowOffsetY
private

◆ m_shapeOutputDrawing

VSDOutputElementList* libvisio::VSDContentCollector::m_shapeOutputDrawing
private

◆ m_shapeOutputText

VSDOutputElementList * libvisio::VSDContentCollector::m_shapeOutputText
private

◆ m_splineControlPoints

std::vector<std::pair<double, double> > libvisio::VSDContentCollector::m_splineControlPoints
private

◆ m_splineDegree

unsigned libvisio::VSDContentCollector::m_splineDegree
private

◆ m_splineKnotVector

std::vector<double> libvisio::VSDContentCollector::m_splineKnotVector
private

◆ m_splineLastKnot

double libvisio::VSDContentCollector::m_splineLastKnot
private

◆ m_splineLevel

unsigned libvisio::VSDContentCollector::m_splineLevel
private

◆ m_splineX

double libvisio::VSDContentCollector::m_splineX
private

◆ m_splineY

double libvisio::VSDContentCollector::m_splineY
private

◆ m_stencilFields

VSDFieldList libvisio::VSDContentCollector::m_stencilFields
private

◆ m_stencilNames

std::map<unsigned, librevenge::RVNGString> libvisio::VSDContentCollector::m_stencilNames
private

◆ m_stencils

VSDStencils libvisio::VSDContentCollector::m_stencils
private

◆ m_stencilShape

const VSDShape* libvisio::VSDContentCollector::m_stencilShape
private

◆ m_styles

VSDStyles libvisio::VSDContentCollector::m_styles
private

◆ m_tabSets

std::vector<VSDTabSet> libvisio::VSDContentCollector::m_tabSets
private

◆ m_textBlockStyle

VSDTextBlockStyle libvisio::VSDContentCollector::m_textBlockStyle
private

◆ m_txtxform

std::unique_ptr<XForm> libvisio::VSDContentCollector::m_txtxform
private

◆ m_x

double libvisio::VSDContentCollector::m_x
private

◆ m_xform

XForm libvisio::VSDContentCollector::m_xform
private

◆ m_y

double libvisio::VSDContentCollector::m_y
private

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

Generated for libvisio by doxygen 1.9.4