libvisio::VSDStylesCollector Class Reference

#include <VSDStylesCollector.h>

Inheritance diagram for libvisio::VSDStylesCollector:
libvisio::VSDCollector

Public Member Functions

 VSDStylesCollector (std::vector< std::map< unsigned, XForm > > &groupXFormsSequence, std::vector< std::map< unsigned, unsigned > > &groupMembershipsSequence, std::vector< std::list< unsigned > > &documentPageShapeOrders)
 
 ~VSDStylesCollector () override
 
void collectDocumentTheme (const VSDXTheme *) 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, unsigned char drawingScaleUnit) 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 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 collectMetaData (const librevenge::RVNGPropertyList &) override
 
void startPage (unsigned pageID) override
 
void endPage () override
 
void endPages () override
 
const VSDStylesgetStyleSheets () const
 
- Public Member Functions inherited from libvisio::VSDCollector
 VSDCollector ()
 
virtual ~VSDCollector ()
 

Private Member Functions

 VSDStylesCollector (const VSDStylesCollector &)
 
VSDStylesCollectoroperator= (const VSDStylesCollector &)
 
void _handleLevelChange (unsigned level)
 
void _flushShapeList ()
 

Private Attributes

unsigned m_currentLevel
 
bool m_isShapeStarted
 
double m_shadowOffsetX
 
double m_shadowOffsetY
 
unsigned m_currentShapeId
 
std::map< unsigned, XFormm_groupXForms
 
std::map< unsigned, unsigned > m_groupMemberships
 
std::vector< std::map< unsigned, XForm > > & m_groupXFormsSequence
 
std::vector< std::map< unsigned, unsigned > > & m_groupMembershipsSequence
 
std::list< unsigned > m_pageShapeOrder
 
std::vector< std::list< unsigned > > & m_documentPageShapeOrders
 
std::map< unsigned, std::list< unsigned > > m_groupShapeOrder
 
std::list< unsigned > m_shapeList
 
unsigned m_currentStyleSheet
 
VSDStyles m_styles
 
unsigned m_currentShapeLevel
 

Constructor & Destructor Documentation

◆ VSDStylesCollector() [1/2]

libvisio::VSDStylesCollector::VSDStylesCollector ( std::vector< std::map< unsigned, XForm > > & groupXFormsSequence,
std::vector< std::map< unsigned, unsigned > > & groupMembershipsSequence,
std::vector< std::list< unsigned > > & documentPageShapeOrders )

◆ ~VSDStylesCollector()

libvisio::VSDStylesCollector::~VSDStylesCollector ( )
inlineoverride

◆ VSDStylesCollector() [2/2]

libvisio::VSDStylesCollector::VSDStylesCollector ( const VSDStylesCollector & )
private

Member Function Documentation

◆ _flushShapeList()

void libvisio::VSDStylesCollector::_flushShapeList ( )
private

◆ _handleLevelChange()

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

◆ collectArcTo()

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

◆ collectCharIX()

void libvisio::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::collectDocumentTheme ( const VSDXTheme * )
inlineoverridevirtual

◆ collectEllipse()

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

◆ collectEllipticalArcTo()

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

◆ collectFieldList()

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

◆ collectFillAndShadow() [1/2]

void libvisio::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::collectForeignData ( unsigned level,
const librevenge::RVNGBinaryData & binaryData )
overridevirtual

◆ collectForeignDataType()

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

◆ collectGeometry()

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

◆ collectInfiniteLine()

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

◆ collectLayer()

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

◆ collectLayerMem()

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

◆ collectLine()

void libvisio::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::collectLineTo ( unsigned id,
unsigned level,
double x,
double y )
overridevirtual

◆ collectMetaData()

void libvisio::VSDStylesCollector::collectMetaData ( const librevenge::RVNGPropertyList & )
inlineoverridevirtual

◆ collectMisc()

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

◆ collectMoveTo()

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

◆ collectName()

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

◆ collectNameList()

void libvisio::VSDStylesCollector::collectNameList ( unsigned id,
unsigned level )
inlineoverridevirtual

◆ collectNumericField()

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

◆ collectNURBSTo() [1/3]

void libvisio::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::collectOLEData ( unsigned id,
unsigned level,
const librevenge::RVNGBinaryData & oleData )
overridevirtual

◆ collectOLEList()

void libvisio::VSDStylesCollector::collectOLEList ( unsigned id,
unsigned level )
inlineoverridevirtual

◆ collectPage()

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

◆ collectPageProps()

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

◆ collectPageSheet()

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

◆ collectParaIX()

void libvisio::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::collectPolylineTo ( unsigned id,
unsigned level,
double x,
double y,
const PolylineData & data )
overridevirtual

◆ collectPolylineTo() [2/3]

void libvisio::VSDStylesCollector::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::VSDStylesCollector::collectPolylineTo ( unsigned id,
unsigned level,
double x,
double y,
unsigned dataID )
overridevirtual

◆ collectRelCubBezTo()

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

◆ collectRelEllipticalArcTo()

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

◆ collectRelLineTo()

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

◆ collectRelMoveTo()

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

◆ collectRelQuadBezTo()

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

◆ collectShape()

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

◆ collectShapeData() [1/2]

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

◆ collectShapeData() [2/2]

void libvisio::VSDStylesCollector::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::VSDStylesCollector::collectShapesOrder ( unsigned id,
unsigned level,
const std::vector< unsigned > & shapeIds )
overridevirtual

◆ collectSplineEnd()

void libvisio::VSDStylesCollector::collectSplineEnd ( )
overridevirtual

◆ collectSplineKnot()

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

◆ collectSplineStart()

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

◆ collectStyleSheet()

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

◆ collectTabsDataList()

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

◆ collectText()

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

◆ collectTextBlock()

void libvisio::VSDStylesCollector::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::VSDStylesCollector::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::VSDStylesCollector::collectTextField ( unsigned id,
unsigned level,
int nameId,
int formatStringId )
overridevirtual

◆ collectTxtXForm()

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

◆ collectUnhandledChunk()

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

◆ collectXFormData()

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

◆ endPage()

void libvisio::VSDStylesCollector::endPage ( )
overridevirtual

◆ endPages()

void libvisio::VSDStylesCollector::endPages ( )
inlineoverridevirtual

◆ getStyleSheets()

const VSDStyles & libvisio::VSDStylesCollector::getStyleSheets ( ) const
inline

◆ operator=()

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

◆ startPage()

void libvisio::VSDStylesCollector::startPage ( unsigned pageID)
overridevirtual

Member Data Documentation

◆ m_currentLevel

unsigned libvisio::VSDStylesCollector::m_currentLevel
private

◆ m_currentShapeId

unsigned libvisio::VSDStylesCollector::m_currentShapeId
private

◆ m_currentShapeLevel

unsigned libvisio::VSDStylesCollector::m_currentShapeLevel
private

◆ m_currentStyleSheet

unsigned libvisio::VSDStylesCollector::m_currentStyleSheet
private

◆ m_documentPageShapeOrders

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

Referenced by VSDStylesCollector().

◆ m_groupMemberships

std::map<unsigned, unsigned> libvisio::VSDStylesCollector::m_groupMemberships
private

◆ m_groupMembershipsSequence

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

Referenced by VSDStylesCollector().

◆ m_groupShapeOrder

std::map<unsigned, std::list<unsigned> > libvisio::VSDStylesCollector::m_groupShapeOrder
private

◆ m_groupXForms

std::map<unsigned, XForm> libvisio::VSDStylesCollector::m_groupXForms
private

◆ m_groupXFormsSequence

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

Referenced by VSDStylesCollector().

◆ m_isShapeStarted

bool libvisio::VSDStylesCollector::m_isShapeStarted
private

◆ m_pageShapeOrder

std::list<unsigned> libvisio::VSDStylesCollector::m_pageShapeOrder
private

◆ m_shadowOffsetX

double libvisio::VSDStylesCollector::m_shadowOffsetX
private

◆ m_shadowOffsetY

double libvisio::VSDStylesCollector::m_shadowOffsetY
private

◆ m_shapeList

std::list<unsigned> libvisio::VSDStylesCollector::m_shapeList
private

◆ m_styles

VSDStyles libvisio::VSDStylesCollector::m_styles
private

Referenced by getStyleSheets().


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

Generated for libvisio by doxygen 1.12.0