libvisio::VSDContentCollector Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

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

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

`#include <VSDContentCollector.h>`

Inheritance diagram for libvisio::VSDContentCollector:

## 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)
virtual | ~VSDContentCollector ()
void | collectEllipticalArcTo (unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc)
void | collectForeignData (unsigned level, const librevenge::RVNGBinaryData &binaryData)
void | collectOLEList (unsigned id, unsigned level)
void | collectOLEData (unsigned id, unsigned level, const librevenge::RVNGBinaryData &oleData)
void | collectEllipse (unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop)
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)
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)
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)
void | collectThemeReference (unsigned level, const boost::optional< long > &lineColour, const boost::optional< long > &fillColour, const boost::optional< long > &shadowColour, const boost::optional< long > &fontColour)
void | collectGeometry (unsigned id, unsigned level, bool noFill, bool noLine, bool noShow)
void | collectMoveTo (unsigned id, unsigned level, double x, double y)
void | collectLineTo (unsigned id, unsigned level, double x, double y)
void | collectArcTo (unsigned id, unsigned level, double x2, double y2, double bow)
void | collectNURBSTo (unsigned id, unsigned level, double x2, double y2, unsigned char xType, unsigned char yType, unsigned degree, const std::vector< std::pair< double, double > > &ctrlPnts, const std::vector< double > &kntVec, const std::vector< double > &weights)
void | collectNURBSTo (unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID)
void | collectNURBSTo (unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, const NURBSData &data)
void | collectPolylineTo (unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType, const std::vector< std::pair< double, double > > &points)
void | collectPolylineTo (unsigned id, unsigned level, double x, double y, unsigned dataID)
void | collectPolylineTo (unsigned id, unsigned level, double x, double y, const PolylineData &data)
void | collectShapeData (unsigned id, unsigned level, unsigned char xType, unsigned char yType, unsigned degree, double lastKnot, std::vector< std::pair< double, double > > controlPoints, std::vector< double > knotVector, std::vector< double > weights)
void | collectShapeData (unsigned id, unsigned level, unsigned char xType, unsigned char yType, std::vector< std::pair< double, double > > points)
void | collectXFormData (unsigned level, const XForm &xform)
void | collectTxtXForm (unsigned level, const XForm &txtxform)
void | collectShapesOrder (unsigned id, unsigned level, const std::vector< unsigned > &shapeIds)
void | collectForeignDataType (unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height)
void | collectPageProps (unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale)
void | collectPage (unsigned id, unsigned level, unsigned backgroundPageID, bool isBackgroundPage, const VSDName &pageName)
void | collectShape (unsigned id, unsigned level, unsigned parent, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle)
void | collectSplineStart (unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree)
void | collectSplineKnot (unsigned id, unsigned level, double x, double y, double knot)
void | collectSplineEnd ()
void | collectInfiniteLine (unsigned id, unsigned level, double x1, double y1, double x2, double y2)
void | collectRelCubBezTo (unsigned id, unsigned level, double x, double y, double a, double b, double c, double d)
void | collectRelEllipticalArcTo (unsigned id, unsigned level, double x, double y, double a, double b, double c, double d)
void | collectRelLineTo (unsigned id, unsigned level, double x, double y)
void | collectRelMoveTo (unsigned id, unsigned level, double x, double y)
void | collectRelQuadBezTo (unsigned id, unsigned level, double x, double y, double a, double b)
void | collectUnhandledChunk (unsigned id, unsigned level)
void | collectText (unsigned level, const librevenge::RVNGBinaryData &textStream, TextFormat format)
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)
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)
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)
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)
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)
void | collectNameList (unsigned id, unsigned level)
void | collectName (unsigned id, unsigned level, const librevenge::RVNGBinaryData &name, TextFormat format)
void | collectPageSheet (unsigned id, unsigned level)
void | collectMisc (unsigned level, const VSDMisc &misc)
void | collectLayer (unsigned id, unsigned level, const VSDLayer &layer)
void | collectLayerMem (unsigned level, const VSDName &layerMem)
void | collectTabsDataList (unsigned level, const std::map< unsigned, VSDTabSet > &tabSets)
void | collectStyleSheet (unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle)
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)
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)
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)
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)
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)
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)
void | collectStyleThemeReference (unsigned level, const boost::optional< long > &lineColour, const boost::optional< long > &fillColour, const boost::optional< long > &shadowColour, const boost::optional< long > &fontColour)
virtual void | collectMetaData (const librevenge::RVNGPropertyList &metaData)
void | collectFieldList (unsigned id, unsigned level)
void | collectTextField (unsigned id, unsigned level, int nameId, int formatStringId)
void | collectNumericField (unsigned id, unsigned level, unsigned short format, double number, int formatStringId)
void | startPage (unsigned pageId)
void | endPage ()
void | endPages ()
Public Member Functions inherited from libvisio::VSDCollector
| VSDCollector ()
virtual | ~VSDCollector ()

## Private Member Functions
| VSDContentCollector (const VSDContentCollector &)
VSDContentCollector & | operator= (const VSDContentCollector &)
void | applyXForm (double &x, double &y, const XForm &xform)
void | transformPoint (double &x, double &y, XForm *txtxform=0)
void | transformAngle (double &angle, XForm *txtxform=0)
void | transformFlips (bool &flipX, bool &flipY)
double | _NURBSBasis (unsigned knot, unsigned degree, double point, const std::vector< double > &knotVector)
void | _flushShape ()
void | _flushCurrentPath ()
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
XForm * | m_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, VSDFont > | m_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
VSDOutputElementList * | m_shapeOutputDrawing
VSDOutputElementList * | m_shapeOutputText
std::map< unsigned, VSDOutputElementList > | m_pageOutputDrawing
std::map< unsigned, VSDOutputElementList > | m_pageOutputText
std::vector< std::list< unsigned > > & | m_documentPageShapeOrders
std::vector< std::list< unsigned > >::iterator | m_pageShapeOrder
bool | m_isFirstGeometry
std::map< unsigned, NURBSData > | m_NURBSData
std::map< unsigned, PolylineData > | m_polylineData
librevenge::RVNGString | 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< VSDCharStyle > | m_charFormats
std::vector< VSDParaStyle > | m_paraFormats
VSDLineStyle | m_lineStyle
VSDFillStyle | m_fillStyle
VSDTextBlockStyle | m_textBlockStyle
VSDThemeReference | m_themeReference
VSDCharStyle | m_defaultCharStyle
VSDParaStyle | m_defaultParaStyle
unsigned | m_currentStyleSheet
VSDStyles | m_styles
VSDStencils | m_stencils
const VSDShape * | m_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< VSDTabSet > | m_tabSets

## Constructor & Destructor Documentation

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
| ) |  |

Referenced by ~VSDContentCollector().

virtual libvisio::VSDContentCollector::~VSDContentCollector | ( |  | ) |
| inlinevirtual

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

## Member Function Documentation

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

Referenced by _flushText().

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

Referenced by _flushCurrentForeignData(), _flushCurrentPath(), and _flushText().

void libvisio::VSDContentCollector::_applyLinePattern | ( |  | ) |
| private

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

Referenced by _flushText().

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

Referenced by _bulletFromParaFormat(), _fillCharProperties(), collectName(), collectPage(), and collectShape().

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

Referenced by _flushCurrentPath().

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

Referenced by _flushCurrentPath().

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

Referenced by _flushText().

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

Referenced by _flushText().

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

Referenced by _flushText().

void libvisio::VSDContentCollector::_flushCurrentForeignData | ( |  | ) |
| private

Referenced by _flushShape().

void libvisio::VSDContentCollector::_flushCurrentPage | ( |  | ) |
| private

Referenced by endPage().

void libvisio::VSDContentCollector::_flushCurrentPath | ( |  | ) |
| private

Referenced by _flushShape().

void libvisio::VSDContentCollector::_flushShape | ( |  | ) |
| private

Referenced by _handleLevelChange(), and startPage().

void libvisio::VSDContentCollector::_flushText | ( |  | ) |
| private

Referenced by _flushShape().

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

Referenced by collectNURBSTo().

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

Referenced by collectNURBSTo().

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

Referenced by collectForeignData(), collectOLEList(), and collectShape().

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

Referenced by collectArcTo(), collectCharIX(), collectEllipse(), collectEllipticalArcTo(), collectFieldList(), collectFillAndShadow(), collectForeignData(), collectForeignDataType(), collectGeometry(), collectInfiniteLine(), collectLayer(), collectLayerMem(), collectLine(), collectLineTo(), collectMisc(), collectMoveTo(), collectName(), collectNameList(), collectNumericField(), collectNURBSTo(), collectOLEData(), collectOLEList(), collectPage(), collectPageProps(), collectPageSheet(), collectParaIX(), collectPolylineTo(), collectRelCubBezTo(), collectRelQuadBezTo(), collectShape(), collectShapeData(), collectShapesOrder(), collectStyleSheet(), collectTabsDataList(), collectText(), collectTextBlock(), collectTextField(), collectThemeReference(), collectTxtXForm(), collectUnhandledChunk(), collectXFormData(), and endPage().

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

Referenced by collectNURBSTo().

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

Referenced by _flushCurrentPath().

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

Referenced by _lineProperties().

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

Referenced by _lineProperties().

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

Referenced by _lineProperties().

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

Referenced by _flushText().

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

Referenced by _generatePolylineFromNURBS().

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

Referenced by _generateBezierSegmentsFromNURBS().

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

Referenced by _generateBezierSegmentsFromNURBS().

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

Referenced by _generateBezierSegmentsFromNURBS().

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

Referenced by _convertDataToString(), collectLayerMem(), and collectText().

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

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

Referenced by transformPoint().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by collectRelEllipticalArcTo(), and ~VSDContentCollector().

void libvisio::VSDContentCollector::collectFieldList | ( | unsigned | id,
|  | unsigned | level
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by collectFillAndShadow(), and ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by collectFillStyle(), and ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectLayer | ( | unsigned | id,
|  | unsigned | level,
|  | const VSDLayer & | layer
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectLayerMem | ( | unsigned | level,
|  | const VSDName & | layerMem
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by collectRelLineTo(), and ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectMisc | ( | unsigned | level,
|  | const VSDMisc & | misc
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by collectRelMoveTo(), and ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectNameList | ( | unsigned | id,
|  | unsigned | level
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by collectNURBSTo(), collectSplineEnd(), and ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

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

Implements libvisio::VSDCollector.

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectOLEList | ( | unsigned | id,
|  | unsigned | level
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectPageSheet | ( | unsigned | id,
|  | unsigned | level
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by collectPolylineTo(), and ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

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

Implements libvisio::VSDCollector.

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectSplineEnd | ( |  | ) |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectStyleThemeReference | ( | unsigned | level,
|  | const boost::optional< long > & | lineColour,
|  | const boost::optional< long > & | fillColour,
|  | const boost::optional< long > & | shadowColour,
|  | const boost::optional< long > & | fontColour
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectThemeReference | ( | unsigned | level,
|  | const boost::optional< long > & | lineColour,
|  | const boost::optional< long > & | fillColour,
|  | const boost::optional< long > & | shadowColour,
|  | const boost::optional< long > & | fontColour
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectTxtXForm | ( | unsigned | level,
|  | const XForm & | txtxform
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectUnhandledChunk | ( | unsigned | id,
|  | unsigned | level
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::collectXFormData | ( | unsigned | level,
|  | const XForm & | xform
| ) |  |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::endPage | ( |  | ) |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::endPages | ( |  | ) |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

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

Referenced by ~VSDContentCollector().

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

Referenced by collectNumericField().

void libvisio::VSDContentCollector::startPage | ( | unsigned | pageId | ) |
| virtual

Implements libvisio::VSDCollector.

Referenced by ~VSDContentCollector().

void libvisio::VSDContentCollector::transformAngle | ( | double & | angle,
|  | XForm * | txtxform = `0`
| ) |  |
| private

Referenced by _flushCurrentForeignData(), _flushText(), collectArcTo(), collectEllipse(), and collectEllipticalArcTo().

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

Referenced by _flushCurrentForeignData(), _flushText(), and collectArcTo().

void libvisio::VSDContentCollector::transformPoint | ( | double & | x,
|  | double & | y,
|  | XForm * | txtxform = `0`
| ) |  |
| private

Referenced by _flushCurrentForeignData(), _flushText(), _generatePolylineFromNURBS(), _outputCubicBezierSegment(), _outputLinearBezierSegment(), _outputQuadraticBezierSegment(), collectArcTo(), collectEllipse(), collectEllipticalArcTo(), collectInfiniteLine(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), collectRelQuadBezTo(), and transformAngle().

## Member Data Documentation

unsigned libvisio::VSDContentCollector::m_backgroundPageID
| private

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

Referenced by _flushText(), collectCharIX(), and collectShape().

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

Referenced by _flushCurrentPath(), _flushShape(), _generatePolylineFromNURBS(), _handleLevelChange(), _outputCubicBezierSegment(), _outputLinearBezierSegment(), _outputQuadraticBezierSegment(), collectArcTo(), collectEllipse(), collectEllipticalArcTo(), collectInfiniteLine(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), and collectRelQuadBezTo().

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

Referenced by _flushCurrentForeignData(), _flushShape(), _handleForeignData(), collectOLEData(), collectOLEList(), and collectShape().

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

Referenced by _flushCurrentForeignData(), _flushShape(), and _handleForeignData().

unsigned libvisio::VSDContentCollector::m_currentGeometryCount
| private

Referenced by collectGeometry(), collectNURBSTo(), collectPolylineTo(), and collectShape().

VSDLayerList libvisio::VSDContentCollector::m_currentLayerList
| private

Referenced by _appendVisibleAndPrintable(), _fillCharProperties(), _lineProperties(), collectLayer(), and collectPageSheet().

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

Referenced by _appendVisibleAndPrintable(), _fillCharProperties(), _lineProperties(), and collectLayerMem().

unsigned libvisio::VSDContentCollector::m_currentLevel
| private

Referenced by _handleLevelChange().

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

Referenced by _flushCurrentPath(), _flushShape(), _generatePolylineFromNURBS(), _handleLevelChange(), _outputCubicBezierSegment(), _outputLinearBezierSegment(), _outputQuadraticBezierSegment(), collectArcTo(), collectEllipse(), collectEllipticalArcTo(), collectInfiniteLine(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), and collectRelQuadBezTo().

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

VSDPage libvisio::VSDContentCollector::m_currentPage
| private

Referenced by _flushCurrentPage(), collectPage(), collectPageProps(), endPage(), and startPage().

unsigned libvisio::VSDContentCollector::m_currentPageID
| private

unsigned libvisio::VSDContentCollector::m_currentPageNumber
| private

Referenced by startPage().

unsigned libvisio::VSDContentCollector::m_currentShapeId
| private

Referenced by collectShape(), transformAngle(), transformFlips(), and transformPoint().

unsigned libvisio::VSDContentCollector::m_currentShapeLevel
| private

Referenced by _handleLevelChange(), collectPageSheet(), collectShape(), and collectStyleSheet().

unsigned libvisio::VSDContentCollector::m_currentStyleSheet
| private

Referenced by collectCharIXStyle(), collectFillStyle(), collectLineStyle(), collectParaIXStyle(), collectStyleSheet(), collectStyleThemeReference(), and collectTextBlockStyle().

librevenge::RVNGString libvisio::VSDContentCollector::m_currentText
| private

Referenced by _flushShape(), _flushText(), collectShape(), and collectText().

VSDCharStyle libvisio::VSDContentCollector::m_defaultCharStyle
| private

Referenced by _flushText(), collectCharIX(), collectDefaultCharStyle(), and collectShape().

VSDParaStyle libvisio::VSDContentCollector::m_defaultParaStyle
| private

Referenced by _flushText(), collectDefaultParaStyle(), collectParaIX(), and collectShape().

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

Referenced by _flushCurrentPage(), and startPage().

unsigned libvisio::VSDContentCollector::m_fieldIndex
| private

Referenced by _appendField(), and collectShape().

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

Referenced by _appendField(), collectFieldList(), collectNumericField(), collectShape(), and collectTextField().

VSDFillStyle libvisio::VSDContentCollector::m_fillStyle
| private

Referenced by _flushCurrentPath(), _flushShape(), collectFillAndShadow(), and collectShape().

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

unsigned libvisio::VSDContentCollector::m_foreignFormat
| private

Referenced by _handleForeignData(), collectForeignDataType(), and collectShape().

double libvisio::VSDContentCollector::m_foreignHeight
| private

Referenced by _flushCurrentForeignData(), _flushShape(), collectForeignDataType(), and collectShape().

double libvisio::VSDContentCollector::m_foreignOffsetX
| private

Referenced by _flushCurrentForeignData(), collectForeignDataType(), and collectShape().

double libvisio::VSDContentCollector::m_foreignOffsetY
| private

Referenced by _flushCurrentForeignData(), collectForeignDataType(), and collectShape().

unsigned libvisio::VSDContentCollector::m_foreignType
| private

Referenced by _handleForeignData(), collectForeignDataType(), and collectShape().

double libvisio::VSDContentCollector::m_foreignWidth
| private

Referenced by _flushCurrentForeignData(), _flushShape(), collectForeignDataType(), and collectShape().

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

Referenced by _flushCurrentPage(), startPage(), transformFlips(), and transformPoint().

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

Referenced by _flushCurrentPage(), startPage(), transformFlips(), and transformPoint().

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

Referenced by startPage(), transformFlips(), and transformPoint().

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

Referenced by startPage().

bool libvisio::VSDContentCollector::m_isBackgroundPage
| private

Referenced by collectPage(), and endPage().

bool libvisio::VSDContentCollector::m_isFirstGeometry
| private

Referenced by collectShape().

bool libvisio::VSDContentCollector::m_isPageStarted
| private

Referenced by endPage(), and startPage().

bool libvisio::VSDContentCollector::m_isShapeStarted
| private

Referenced by _flushShape(), _handleLevelChange(), collectShape(), startPage(), transformAngle(), transformFlips(), and transformPoint().

bool libvisio::VSDContentCollector::m_isStencilStarted
| private

Referenced by _handleLevelChange().

VSDLayerList libvisio::VSDContentCollector::m_layerList
| private

VSDLineStyle libvisio::VSDContentCollector::m_lineStyle
| private

Referenced by _flushCurrentPath(), _flushShape(), collectLine(), and collectShape().

VSDMisc libvisio::VSDContentCollector::m_misc
| private

Referenced by _flushText(), collectMisc(), and collectShape().

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

Referenced by collectName(), collectNameList(), collectNumericField(), collectShape(), and collectTextField().

bool libvisio::VSDContentCollector::m_noFill
| private

Referenced by _generatePolylineFromNURBS(), _outputCubicBezierSegment(), _outputLinearBezierSegment(), _outputQuadraticBezierSegment(), collectArcTo(), collectEllipse(), collectEllipticalArcTo(), collectGeometry(), collectInfiniteLine(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), collectRelQuadBezTo(), and collectShape().

bool libvisio::VSDContentCollector::m_noLine
| private

Referenced by _generatePolylineFromNURBS(), _outputCubicBezierSegment(), _outputLinearBezierSegment(), _outputQuadraticBezierSegment(), collectArcTo(), collectEllipse(), collectEllipticalArcTo(), collectGeometry(), collectInfiniteLine(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), collectRelQuadBezTo(), and collectShape().

bool libvisio::VSDContentCollector::m_noShow
| private

Referenced by _generatePolylineFromNURBS(), _handleLevelChange(), _outputCubicBezierSegment(), _outputLinearBezierSegment(), _outputQuadraticBezierSegment(), collectArcTo(), collectEllipse(), collectEllipticalArcTo(), collectGeometry(), collectInfiniteLine(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), collectRelQuadBezTo(), and collectShape().

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

Referenced by _handleLevelChange(), collectNURBSTo(), and collectShapeData().

double libvisio::VSDContentCollector::m_originalX
| private

Referenced by _handleLevelChange(), collectArcTo(), collectEllipticalArcTo(), collectGeometry(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), collectRelQuadBezTo(), collectShape(), and startPage().

double libvisio::VSDContentCollector::m_originalY
| private

Referenced by _handleLevelChange(), collectArcTo(), collectEllipticalArcTo(), collectGeometry(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), collectRelQuadBezTo(), collectShape(), and startPage().

double libvisio::VSDContentCollector::m_pageHeight
| private

Referenced by collectInfiniteLine(), collectPageProps(), and transformPoint().

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

Referenced by _flushCurrentPage(), and collectShape().

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

Referenced by _flushCurrentPage(), and collectShape().

VSDPages libvisio::VSDContentCollector::m_pages
| private

Referenced by collectMetaData(), endPage(), and endPages().

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

Referenced by _flushCurrentPage(), and startPage().

double libvisio::VSDContentCollector::m_pageWidth
| private

Referenced by collectInfiniteLine(), and collectPageProps().

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

Referenced by endPages().

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

Referenced by _flushText(), collectParaIX(), and collectShape().

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

Referenced by _handleLevelChange(), collectPolylineTo(), and collectShapeData().

double libvisio::VSDContentCollector::m_scale
| private

Referenced by _flushCurrentForeignData(), _flushCurrentPath(), _flushText(), _generatePolylineFromNURBS(), _lineProperties(), _outputCubicBezierSegment(), _outputLinearBezierSegment(), _outputQuadraticBezierSegment(), collectArcTo(), collectEllipse(), collectEllipticalArcTo(), collectInfiniteLine(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPageProps(), collectPolylineTo(), collectRelCubBezTo(), and collectRelQuadBezTo().

double libvisio::VSDContentCollector::m_shadowOffsetX
| private

Referenced by _fillAndShadowProperties(), collectFillAndShadow(), collectFillStyle(), and collectPageProps().

double libvisio::VSDContentCollector::m_shadowOffsetY
| private

Referenced by _fillAndShadowProperties(), collectFillAndShadow(), collectFillStyle(), and collectPageProps().

VSDOutputElementList* libvisio::VSDContentCollector::m_shapeOutputDrawing
| private

Referenced by _flushCurrentForeignData(), _flushCurrentPath(), _flushShape(), and collectShape().

VSDOutputElementList * libvisio::VSDContentCollector::m_shapeOutputText
| private

Referenced by _flushShape(), _flushText(), and collectShape().

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

Referenced by collectSplineEnd(), and collectSplineKnot().

unsigned libvisio::VSDContentCollector::m_splineDegree
| private

Referenced by collectSplineEnd(), and collectSplineStart().

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

Referenced by collectSplineEnd(), collectSplineKnot(), and collectSplineStart().

double libvisio::VSDContentCollector::m_splineLastKnot
| private

Referenced by collectSplineEnd(), and collectSplineStart().

unsigned libvisio::VSDContentCollector::m_splineLevel
| private

Referenced by collectSplineEnd(), and collectSplineStart().

double libvisio::VSDContentCollector::m_splineX
| private

Referenced by collectSplineEnd(), collectSplineKnot(), and collectSplineStart().

double libvisio::VSDContentCollector::m_splineY
| private

Referenced by collectSplineEnd(), collectSplineKnot(), and collectSplineStart().

VSDFieldList libvisio::VSDContentCollector::m_stencilFields
| private

Referenced by collectNumericField(), collectShape(), and collectTextField().

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

Referenced by collectShape(), and collectTextField().

VSDStencils libvisio::VSDContentCollector::m_stencils
| private

Referenced by collectShape().

const VSDShape* libvisio::VSDContentCollector::m_stencilShape
| private

Referenced by _handleLevelChange(), collectNURBSTo(), collectPolylineTo(), and collectShape().

VSDStyles libvisio::VSDContentCollector::m_styles
| private

Referenced by collectCharIXStyle(), collectFillStyle(), collectLineStyle(), collectParaIXStyle(), collectShape(), collectStyleSheet(), collectStyleThemeReference(), and collectTextBlockStyle().

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

Referenced by _flushText(), and collectTabsDataList().

VSDTextBlockStyle libvisio::VSDContentCollector::m_textBlockStyle
| private

Referenced by _flushText(), collectShape(), and collectTextBlock().

VSDThemeReference libvisio::VSDContentCollector::m_themeReference
| private

Referenced by collectThemeReference().

XForm* libvisio::VSDContentCollector::m_txtxform
| private

Referenced by _flushText(), _handleLevelChange(), collectTxtXForm(), startPage(), and ~VSDContentCollector().

double libvisio::VSDContentCollector::m_x
| private

Referenced by _handleLevelChange(), collectArcTo(), collectEllipticalArcTo(), collectGeometry(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), collectRelQuadBezTo(), collectShape(), and startPage().

XForm libvisio::VSDContentCollector::m_xform
| private

Referenced by _flushText(), _handleLevelChange(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), collectRelEllipticalArcTo(), collectRelLineTo(), collectRelMoveTo(), collectRelQuadBezTo(), collectXFormData(), startPage(), and transformAngle().

double libvisio::VSDContentCollector::m_y
| private

Referenced by _handleLevelChange(), collectArcTo(), collectEllipticalArcTo(), collectGeometry(), collectLineTo(), collectMoveTo(), collectNURBSTo(), collectPolylineTo(), collectRelCubBezTo(), collectRelQuadBezTo(), collectShape(), and startPage().

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

- VSDContentCollector.h
- VSDContentCollector.cpp