#include <VSDXContentCollector.h>
Public Member Functions | |
VSDXContentCollector (libwpg::WPGPaintInterface *painter, std::vector< std::map< unsigned, XForm > > &groupXFormsSequence, std::vector< std::map< unsigned, unsigned > > &groupMembershipsSequence, std::vector< std::list< unsigned > > &documentPageShapeOrders, VSDXStyles &styles, VSDXStencils &stencils) | |
virtual | ~VSDXContentCollector () |
void | collectEllipticalArcTo (unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc) |
void | collectForeignData (unsigned id, unsigned level, const WPXBinaryData &binaryData) |
void | collectOLEList (unsigned id, unsigned level) |
void | collectOLEData (unsigned id, unsigned level, const WPXBinaryData &oleData) |
void | collectEllipse (unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop) |
void | collectLine (unsigned id, unsigned level, double strokeWidth, Colour c, unsigned linePattern, unsigned char startMarker, unsigned char endMarker, unsigned lineCap) |
void | collectFillAndShadow (unsigned id, unsigned level, unsigned colourIndexFG, unsigned colourIndexBG, unsigned fillPattern, unsigned fillFGTransparency, unsigned fillBGTransparency, unsigned shadowPattern, Colour shfgc, double shadowOffsetX, double shadowOffsetY) |
void | collectFillAndShadow (unsigned id, unsigned level, unsigned colourIndexFG, unsigned colourIndexBG, unsigned fillPattern, unsigned fillFGTransparency, unsigned fillBGTransparency, unsigned shadowPattern, Colour shfgc) |
void | collectGeometry (unsigned id, unsigned level, unsigned char geomFlags) |
void | collectMoveTo (unsigned id, unsigned level, double x, double y) |
void | collectLineTo (unsigned id, unsigned level, double x, double y) |
void | collectArcTo (unsigned id, unsigned level, double x2, double y2, double bow) |
void | collectNURBSTo (unsigned id, unsigned level, double x2, double y2, unsigned char xType, unsigned char yType, unsigned degree, std::vector< std::pair< double, double > > controlPoints, std::vector< double > knotVector, std::vector< double > weights) |
void | collectNURBSTo (unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID) |
void | collectPolylineTo (unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType, std::vector< std::pair< double, double > > &points) |
void | collectPolylineTo (unsigned id, unsigned level, double x, double y, unsigned dataID) |
void | collectShapeData (unsigned id, unsigned level, unsigned char xType, unsigned char yType, unsigned degree, double lastKnot, std::vector< std::pair< double, double > > controlPoints, std::vector< double > knotVector, std::vector< double > weights) |
void | collectShapeData (unsigned id, unsigned level, unsigned char xType, unsigned char yType, std::vector< std::pair< double, double > > points) |
void | collectXFormData (unsigned id, unsigned level, const XForm &xform) |
void | collectTxtXForm (unsigned id, unsigned level, const XForm &txtxform) |
void | collectShapeId (unsigned id, unsigned level, unsigned shapeId) |
void | collectForeignDataType (unsigned id, unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height) |
void | collectPageProps (unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale) |
void | collectPage (unsigned id, unsigned level, unsigned backgroundPageID, unsigned currentPageID) |
void | collectShape (unsigned id, unsigned level, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle) |
void | collectSplineStart (unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree) |
void | collectSplineKnot (unsigned id, unsigned level, double x, double y, double knot) |
void | collectSplineEnd () |
void | collectInfiniteLine (unsigned id, unsigned level, double x1, double y1, double x2, double y2) |
void | collectUnhandledChunk (unsigned id, unsigned level) |
void | collectColours (const std::vector< Colour > &colours) |
void | collectFont (unsigned short fontID, const WPXBinaryData &textStream, TextFormat format) |
void | collectText (unsigned id, unsigned level, const WPXBinaryData &textStream, TextFormat format) |
void | collectVSDXCharStyle (unsigned id, unsigned level, unsigned charCount, unsigned short fontID, Colour fontColour, unsigned langId, double fontSize, bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout, bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, WPXString fontFace) |
void | collectVSDXParaStyle (unsigned id, unsigned level, unsigned charCount, double indFirst, double indLeft, double indRight, double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags) |
void | collectTextBlock (unsigned id, unsigned level, double leftMargin, double rightMargin, double topMargin, double bottomMargin, unsigned char verticalAlign, unsigned char bgClrId, const Colour &bgColour, double defaultTabStop, unsigned char textDirection) |
void | collectNameList (unsigned id, unsigned level) |
void | collectName (unsigned id, unsigned level, const WPXBinaryData &name, TextFormat format) |
void | collectStyleSheet (unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle) |
void | collectLineStyle (unsigned id, unsigned level, double strokeWidth, Colour c, unsigned char linePattern, unsigned char startMarker, unsigned char endMarker, unsigned char lineCap) |
void | collectFillStyle (unsigned id, unsigned level, unsigned char colourIndexFG, unsigned char colourIndexBG, unsigned char fillPattern, unsigned char fillFGTransparency, unsigned char fillBGTransparency, unsigned char shadowPattern, Colour shfgc, double shadowOffsetX, double shadowOffsetY) |
void | collectFillStyle (unsigned id, unsigned level, unsigned char colourIndexFG, unsigned char colourIndexBG, unsigned char fillPattern, unsigned char fillFGTransparency, unsigned char fillBGTransparency, unsigned char shadowPattern, Colour shfgc) |
void | collectCharIXStyle (unsigned id, unsigned level, unsigned charCount, unsigned short fontID, Colour fontColour, unsigned langId, double fontSize, bool bold, bool italic, bool underline, bool doubleunderline, bool strikeout, bool doublestrikeout, bool allcaps, bool initcaps, bool smallcaps, bool superscript, bool subscript, WPXString fontFace) |
void | collectParaIXStyle (unsigned id, unsigned level, unsigned charCount, double indFirst, double indLeft, double indRight, double spLine, double spBefore, double spAfter, unsigned char align, unsigned flags) |
void | collectTextBlockStyle (unsigned id, unsigned level, double leftMargin, double rightMargin, double topMargin, double bottomMargin, unsigned char verticalAlign, unsigned char bgClrId, const Colour &bgColour, double defaultTabStop, unsigned char textDirection) |
void | collectFieldList (unsigned id, unsigned level) |
void | collectTextField (unsigned id, unsigned level, int nameId, int formatStringId) |
void | collectNumericField (unsigned id, unsigned level, unsigned short format, double number, int formatStringId) |
void | startPage () |
void | endPage () |
void | endPages () |
Private Member Functions | |
VSDXContentCollector (const VSDXContentCollector &) | |
VSDXContentCollector & | operator= (const VSDXContentCollector &) |
void | applyXForm (double &x, double &y, const XForm &xform) |
void | transformPoint (double &x, double &y, XForm *txtxform=0) |
void | transformAngle (double &angle, XForm *txtxform=0) |
void | transformFlips (bool &flipX, bool &flipY) |
double | _NURBSBasis (unsigned knot, unsigned degree, double point, const std::vector< double > &knotVector) |
void | _flushCurrentPath () |
void | _flushText () |
void | _flushCurrentForeignData () |
void | _flushCurrentPage () |
void | _handleLevelChange (unsigned level) |
void | _appendUTF16LE (WPXString &text, WPXInputStream *input) |
void | _appendUCS4 (WPXString &text, unsigned ucs4Character) |
void | _handleForeignData (const WPXBinaryData &data) |
void | lineStyleFromStyleSheet (unsigned styleId) |
void | fillStyleFromStyleSheet (unsigned styleId) |
void | lineStyleFromStyleSheet (const VSDXLineStyle *style) |
void | fillStyleFromStyleSheet (const VSDXFillStyle *style) |
void | _applyLinePattern () |
void | _lineProperties (double strokeWidth, Colour c, unsigned linePattern, unsigned startMarker, unsigned endMarker, unsigned lineCap) |
void | _fillAndShadowProperties (unsigned colourIndexFG, unsigned colourIndexBG, unsigned fillPattern, unsigned fillFGTransparency, unsigned fillBGTransparency, unsigned shadowPattern, Colour shfgc, double shadowOffsetX, double shadowOffsetY) |
void | _convertDataToString (WPXString &result, const WPXBinaryData &data, TextFormat format) |
bool | parseFormatId (const char *formatString, unsigned short &result) |
Private Attributes | |
libwpg::WPGPaintInterface * | m_painter |
bool | m_isPageStarted |
double | m_pageWidth |
double | m_pageHeight |
double | m_shadowOffsetX |
double | m_shadowOffsetY |
double | m_scale |
double | m_x |
double | m_y |
double | m_originalX |
double | m_originalY |
XForm | m_xform |
XForm * | m_txtxform |
std::vector< WPXPropertyList > | m_currentGeometry |
std::map< unsigned, XForm > & | m_groupXForms |
WPXBinaryData | m_currentForeignData |
WPXBinaryData | m_currentOLEData |
WPXPropertyList | m_currentForeignProps |
unsigned | m_currentShapeId |
unsigned | m_foreignType |
unsigned | m_foreignFormat |
double | m_foreignOffsetX |
double | m_foreignOffsetY |
double | m_foreignWidth |
double | m_foreignHeight |
WPXPropertyList | m_styleProps |
::WPXString | m_lineColour |
::WPXString | m_fillType |
unsigned | m_linePattern |
unsigned | m_fillPattern |
unsigned | m_fillFGTransparency |
unsigned | m_fillBGTransparency |
bool | m_noLine |
bool | m_noFill |
bool | m_noShow |
std::vector< Colour > | m_colours |
std::map< unsigned short, WPXString > | m_fonts |
unsigned | m_currentLevel |
bool | m_isShapeStarted |
std::map< unsigned, unsigned > & | m_groupMemberships |
std::vector< std::map < unsigned, XForm > > & | m_groupXFormsSequence |
std::vector< std::map < unsigned, unsigned > > & | m_groupMembershipsSequence |
unsigned | m_currentPageNumber |
VSDXOutputElementList * | m_shapeOutputDrawing |
VSDXOutputElementList * | m_shapeOutputText |
std::map< unsigned, VSDXOutputElementList > | m_pageOutputDrawing |
std::map< unsigned, VSDXOutputElementList > | m_pageOutputText |
std::vector< std::list < unsigned > > & | m_documentPageShapeOrders |
std::list< unsigned > & | m_pageShapeOrder |
bool | m_isFirstGeometry |
std::map< unsigned, NURBSData > | m_NURBSData |
std::map< unsigned, PolylineData > | m_polylineData |
WPXBinaryData | m_textStream |
std::map< unsigned, WPXString > | m_names |
std::map< unsigned, WPXString > | m_stencilNames |
std::vector< WPXString > | m_fields |
VSDXFieldList | m_stencilFields |
unsigned | m_fieldIndex |
TextFormat | m_textFormat |
std::vector< VSDXCharStyle > | m_charFormats |
std::vector< VSDXParaStyle > | m_paraFormats |
VSDXTextBlockStyle | m_textBlockStyle |
VSDXCharStyle | m_defaultCharStyle |
VSDXParaStyle | m_defaultParaStyle |
VSDXStyles | m_styles |
VSDXStencils | m_stencils |
const VSDXStencilShape * | m_stencilShape |
bool | m_isStencilStarted |
unsigned | m_currentGeometryCount |
unsigned | m_backgroundPageID |
unsigned | m_currentPageID |
VSDXPage | m_currentPage |
VSDXPages | m_pages |
std::vector< std::pair< double, double > > | m_splineControlPoints |
std::vector< double > | m_splineKnotVector |
double | m_splineX |
double | m_splineY |
double | m_splineLastKnot |
unsigned | m_splineDegree |
unsigned | m_splineLevel |
libvisio::VSDXContentCollector::VSDXContentCollector | ( | libwpg::WPGPaintInterface * | painter, |
std::vector< std::map< unsigned, XForm > > & | groupXFormsSequence, | ||
std::vector< std::map< unsigned, unsigned > > & | groupMembershipsSequence, | ||
std::vector< std::list< unsigned > > & | documentPageShapeOrders, | ||
VSDXStyles & | styles, | ||
VSDXStencils & | stencils | ||
) |
virtual libvisio::VSDXContentCollector::~VSDXContentCollector | ( | ) | [inline, virtual] |
libvisio::VSDXContentCollector::VSDXContentCollector | ( | const VSDXContentCollector & | ) | [private] |
void libvisio::VSDXContentCollector::_appendUCS4 | ( | WPXString & | text, |
unsigned | ucs4Character | ||
) | [private] |
void libvisio::VSDXContentCollector::_appendUTF16LE | ( | WPXString & | text, |
WPXInputStream * | input | ||
) | [private] |
void libvisio::VSDXContentCollector::_applyLinePattern | ( | ) | [private] |
void libvisio::VSDXContentCollector::_convertDataToString | ( | WPXString & | result, |
const WPXBinaryData & | data, | ||
TextFormat | format | ||
) | [private] |
void libvisio::VSDXContentCollector::_fillAndShadowProperties | ( | unsigned | colourIndexFG, |
unsigned | colourIndexBG, | ||
unsigned | fillPattern, | ||
unsigned | fillFGTransparency, | ||
unsigned | fillBGTransparency, | ||
unsigned | shadowPattern, | ||
Colour | shfgc, | ||
double | shadowOffsetX, | ||
double | shadowOffsetY | ||
) | [private] |
void libvisio::VSDXContentCollector::_flushCurrentForeignData | ( | ) | [private] |
void libvisio::VSDXContentCollector::_flushCurrentPage | ( | ) | [private] |
void libvisio::VSDXContentCollector::_flushCurrentPath | ( | ) | [private] |
void libvisio::VSDXContentCollector::_flushText | ( | ) | [private] |
void libvisio::VSDXContentCollector::_handleForeignData | ( | const WPXBinaryData & | data | ) | [private] |
void libvisio::VSDXContentCollector::_handleLevelChange | ( | unsigned | level | ) | [private] |
void libvisio::VSDXContentCollector::_lineProperties | ( | double | strokeWidth, |
Colour | c, | ||
unsigned | linePattern, | ||
unsigned | startMarker, | ||
unsigned | endMarker, | ||
unsigned | lineCap | ||
) | [private] |
double libvisio::VSDXContentCollector::_NURBSBasis | ( | unsigned | knot, |
unsigned | degree, | ||
double | point, | ||
const std::vector< double > & | knotVector | ||
) | [private] |
void libvisio::VSDXContentCollector::applyXForm | ( | double & | x, |
double & | y, | ||
const XForm & | xform | ||
) | [private] |
void libvisio::VSDXContentCollector::collectArcTo | ( | unsigned | id, |
unsigned | level, | ||
double | x2, | ||
double | y2, | ||
double | bow | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectCharIXStyle | ( | unsigned | id, |
unsigned | level, | ||
unsigned | charCount, | ||
unsigned short | fontID, | ||
Colour | fontColour, | ||
unsigned | langId, | ||
double | fontSize, | ||
bool | bold, | ||
bool | italic, | ||
bool | underline, | ||
bool | doubleunderline, | ||
bool | strikeout, | ||
bool | doublestrikeout, | ||
bool | allcaps, | ||
bool | initcaps, | ||
bool | smallcaps, | ||
bool | superscript, | ||
bool | subscript, | ||
WPXString | fontFace | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectColours | ( | const std::vector< Colour > & | colours | ) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectEllipse | ( | unsigned | id, |
unsigned | level, | ||
double | cx, | ||
double | cy, | ||
double | xleft, | ||
double | yleft, | ||
double | xtop, | ||
double | ytop | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectEllipticalArcTo | ( | unsigned | id, |
unsigned | level, | ||
double | x3, | ||
double | y3, | ||
double | x2, | ||
double | y2, | ||
double | angle, | ||
double | ecc | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectFieldList | ( | unsigned | id, |
unsigned | level | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectFillAndShadow | ( | unsigned | id, |
unsigned | level, | ||
unsigned | colourIndexFG, | ||
unsigned | colourIndexBG, | ||
unsigned | fillPattern, | ||
unsigned | fillFGTransparency, | ||
unsigned | fillBGTransparency, | ||
unsigned | shadowPattern, | ||
Colour | shfgc | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectFillAndShadow | ( | unsigned | id, |
unsigned | level, | ||
unsigned | colourIndexFG, | ||
unsigned | colourIndexBG, | ||
unsigned | fillPattern, | ||
unsigned | fillFGTransparency, | ||
unsigned | fillBGTransparency, | ||
unsigned | shadowPattern, | ||
Colour | shfgc, | ||
double | shadowOffsetX, | ||
double | shadowOffsetY | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectFillStyle | ( | unsigned | id, |
unsigned | level, | ||
unsigned char | colourIndexFG, | ||
unsigned char | colourIndexBG, | ||
unsigned char | fillPattern, | ||
unsigned char | fillFGTransparency, | ||
unsigned char | fillBGTransparency, | ||
unsigned char | shadowPattern, | ||
Colour | shfgc, | ||
double | shadowOffsetX, | ||
double | shadowOffsetY | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectFillStyle | ( | unsigned | id, |
unsigned | level, | ||
unsigned char | colourIndexFG, | ||
unsigned char | colourIndexBG, | ||
unsigned char | fillPattern, | ||
unsigned char | fillFGTransparency, | ||
unsigned char | fillBGTransparency, | ||
unsigned char | shadowPattern, | ||
Colour | shfgc | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectFont | ( | unsigned short | fontID, |
const WPXBinaryData & | textStream, | ||
TextFormat | format | ||
) |
void libvisio::VSDXContentCollector::collectForeignData | ( | unsigned | id, |
unsigned | level, | ||
const WPXBinaryData & | binaryData | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectForeignDataType | ( | unsigned | id, |
unsigned | level, | ||
unsigned | foreignType, | ||
unsigned | foreignFormat, | ||
double | offsetX, | ||
double | offsetY, | ||
double | width, | ||
double | height | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectGeometry | ( | unsigned | id, |
unsigned | level, | ||
unsigned char | geomFlags | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectInfiniteLine | ( | unsigned | id, |
unsigned | level, | ||
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2 | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectLine | ( | unsigned | id, |
unsigned | level, | ||
double | strokeWidth, | ||
Colour | c, | ||
unsigned | linePattern, | ||
unsigned char | startMarker, | ||
unsigned char | endMarker, | ||
unsigned | lineCap | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectLineStyle | ( | unsigned | id, |
unsigned | level, | ||
double | strokeWidth, | ||
Colour | c, | ||
unsigned char | linePattern, | ||
unsigned char | startMarker, | ||
unsigned char | endMarker, | ||
unsigned char | lineCap | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectLineTo | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectMoveTo | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectName | ( | unsigned | id, |
unsigned | level, | ||
const WPXBinaryData & | name, | ||
TextFormat | format | ||
) |
void libvisio::VSDXContentCollector::collectNameList | ( | unsigned | id, |
unsigned | level | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectNumericField | ( | unsigned | id, |
unsigned | level, | ||
unsigned short | format, | ||
double | number, | ||
int | formatStringId | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectNURBSTo | ( | unsigned | id, |
unsigned | level, | ||
double | x2, | ||
double | y2, | ||
unsigned char | xType, | ||
unsigned char | yType, | ||
unsigned | degree, | ||
std::vector< std::pair< double, double > > | controlPoints, | ||
std::vector< double > | knotVector, | ||
std::vector< double > | weights | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectNURBSTo | ( | unsigned | id, |
unsigned | level, | ||
double | x2, | ||
double | y2, | ||
double | knot, | ||
double | knotPrev, | ||
double | weight, | ||
double | weightPrev, | ||
unsigned | dataID | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectOLEData | ( | unsigned | id, |
unsigned | level, | ||
const WPXBinaryData & | oleData | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectOLEList | ( | unsigned | id, |
unsigned | level | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectPage | ( | unsigned | id, |
unsigned | level, | ||
unsigned | backgroundPageID, | ||
unsigned | currentPageID | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectPageProps | ( | unsigned | id, |
unsigned | level, | ||
double | pageWidth, | ||
double | pageHeight, | ||
double | shadowOffsetX, | ||
double | shadowOffsetY, | ||
double | scale | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectParaIXStyle | ( | unsigned | id, |
unsigned | level, | ||
unsigned | charCount, | ||
double | indFirst, | ||
double | indLeft, | ||
double | indRight, | ||
double | spLine, | ||
double | spBefore, | ||
double | spAfter, | ||
unsigned char | align, | ||
unsigned | flags | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectPolylineTo | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y, | ||
unsigned | dataID | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectPolylineTo | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y, | ||
unsigned char | xType, | ||
unsigned char | yType, | ||
std::vector< std::pair< double, double > > & | points | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectShape | ( | unsigned | id, |
unsigned | level, | ||
unsigned | masterPage, | ||
unsigned | masterShape, | ||
unsigned | lineStyle, | ||
unsigned | fillStyle, | ||
unsigned | textStyle | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectShapeData | ( | unsigned | id, |
unsigned | level, | ||
unsigned char | xType, | ||
unsigned char | yType, | ||
unsigned | degree, | ||
double | lastKnot, | ||
std::vector< std::pair< double, double > > | controlPoints, | ||
std::vector< double > | knotVector, | ||
std::vector< double > | weights | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectShapeData | ( | unsigned | id, |
unsigned | level, | ||
unsigned char | xType, | ||
unsigned char | yType, | ||
std::vector< std::pair< double, double > > | points | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectShapeId | ( | unsigned | id, |
unsigned | level, | ||
unsigned | shapeId | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectSplineEnd | ( | ) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectSplineKnot | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y, | ||
double | knot | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectSplineStart | ( | unsigned | id, |
unsigned | level, | ||
double | x, | ||
double | y, | ||
double | secondKnot, | ||
double | firstKnot, | ||
double | lastKnot, | ||
unsigned | degree | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectStyleSheet | ( | unsigned | id, |
unsigned | level, | ||
unsigned | parentLineStyle, | ||
unsigned | parentFillStyle, | ||
unsigned | parentTextStyle | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectText | ( | unsigned | id, |
unsigned | level, | ||
const WPXBinaryData & | textStream, | ||
TextFormat | format | ||
) |
void libvisio::VSDXContentCollector::collectTextBlock | ( | unsigned | id, |
unsigned | level, | ||
double | leftMargin, | ||
double | rightMargin, | ||
double | topMargin, | ||
double | bottomMargin, | ||
unsigned char | verticalAlign, | ||
unsigned char | bgClrId, | ||
const Colour & | bgColour, | ||
double | defaultTabStop, | ||
unsigned char | textDirection | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectTextBlockStyle | ( | unsigned | id, |
unsigned | level, | ||
double | leftMargin, | ||
double | rightMargin, | ||
double | topMargin, | ||
double | bottomMargin, | ||
unsigned char | verticalAlign, | ||
unsigned char | bgClrId, | ||
const Colour & | bgColour, | ||
double | defaultTabStop, | ||
unsigned char | textDirection | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectTextField | ( | unsigned | id, |
unsigned | level, | ||
int | nameId, | ||
int | formatStringId | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectTxtXForm | ( | unsigned | id, |
unsigned | level, | ||
const XForm & | txtxform | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectUnhandledChunk | ( | unsigned | id, |
unsigned | level | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectVSDXCharStyle | ( | unsigned | id, |
unsigned | level, | ||
unsigned | charCount, | ||
unsigned short | fontID, | ||
Colour | fontColour, | ||
unsigned | langId, | ||
double | fontSize, | ||
bool | bold, | ||
bool | italic, | ||
bool | underline, | ||
bool | doubleunderline, | ||
bool | strikeout, | ||
bool | doublestrikeout, | ||
bool | allcaps, | ||
bool | initcaps, | ||
bool | smallcaps, | ||
bool | superscript, | ||
bool | subscript, | ||
WPXString | fontFace | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectVSDXParaStyle | ( | unsigned | id, |
unsigned | level, | ||
unsigned | charCount, | ||
double | indFirst, | ||
double | indLeft, | ||
double | indRight, | ||
double | spLine, | ||
double | spBefore, | ||
double | spAfter, | ||
unsigned char | align, | ||
unsigned | flags | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::collectXFormData | ( | unsigned | id, |
unsigned | level, | ||
const XForm & | xform | ||
) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::endPage | ( | ) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::endPages | ( | ) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::fillStyleFromStyleSheet | ( | unsigned | styleId | ) | [private] |
void libvisio::VSDXContentCollector::fillStyleFromStyleSheet | ( | const VSDXFillStyle * | style | ) | [private] |
void libvisio::VSDXContentCollector::lineStyleFromStyleSheet | ( | const VSDXLineStyle * | style | ) | [private] |
void libvisio::VSDXContentCollector::lineStyleFromStyleSheet | ( | unsigned | styleId | ) | [private] |
VSDXContentCollector& libvisio::VSDXContentCollector::operator= | ( | const VSDXContentCollector & | ) | [private] |
bool libvisio::VSDXContentCollector::parseFormatId | ( | const char * | formatString, |
unsigned short & | result | ||
) | [private] |
void libvisio::VSDXContentCollector::startPage | ( | ) | [virtual] |
Implements libvisio::VSDXCollector.
void libvisio::VSDXContentCollector::transformAngle | ( | double & | angle, |
XForm * | txtxform = 0 |
||
) | [private] |
void libvisio::VSDXContentCollector::transformFlips | ( | bool & | flipX, |
bool & | flipY | ||
) | [private] |
void libvisio::VSDXContentCollector::transformPoint | ( | double & | x, |
double & | y, | ||
XForm * | txtxform = 0 |
||
) | [private] |
unsigned libvisio::VSDXContentCollector::m_backgroundPageID [private] |
std::vector<VSDXCharStyle> libvisio::VSDXContentCollector::m_charFormats [private] |
std::vector<Colour> libvisio::VSDXContentCollector::m_colours [private] |
WPXBinaryData libvisio::VSDXContentCollector::m_currentForeignData [private] |
WPXPropertyList libvisio::VSDXContentCollector::m_currentForeignProps [private] |
std::vector<WPXPropertyList> libvisio::VSDXContentCollector::m_currentGeometry [private] |
unsigned libvisio::VSDXContentCollector::m_currentGeometryCount [private] |
unsigned libvisio::VSDXContentCollector::m_currentLevel [private] |
WPXBinaryData libvisio::VSDXContentCollector::m_currentOLEData [private] |
unsigned libvisio::VSDXContentCollector::m_currentPageID [private] |
unsigned libvisio::VSDXContentCollector::m_currentPageNumber [private] |
unsigned libvisio::VSDXContentCollector::m_currentShapeId [private] |
std::vector<std::list<unsigned> >& libvisio::VSDXContentCollector::m_documentPageShapeOrders [private] |
unsigned libvisio::VSDXContentCollector::m_fieldIndex [private] |
std::vector<WPXString> libvisio::VSDXContentCollector::m_fields [private] |
unsigned libvisio::VSDXContentCollector::m_fillBGTransparency [private] |
unsigned libvisio::VSDXContentCollector::m_fillFGTransparency [private] |
unsigned libvisio::VSDXContentCollector::m_fillPattern [private] |
::WPXString libvisio::VSDXContentCollector::m_fillType [private] |
std::map<unsigned short, WPXString> libvisio::VSDXContentCollector::m_fonts [private] |
unsigned libvisio::VSDXContentCollector::m_foreignFormat [private] |
double libvisio::VSDXContentCollector::m_foreignHeight [private] |
double libvisio::VSDXContentCollector::m_foreignOffsetX [private] |
double libvisio::VSDXContentCollector::m_foreignOffsetY [private] |
unsigned libvisio::VSDXContentCollector::m_foreignType [private] |
double libvisio::VSDXContentCollector::m_foreignWidth [private] |
std::map<unsigned, unsigned>& libvisio::VSDXContentCollector::m_groupMemberships [private] |
std::vector<std::map<unsigned, unsigned> >& libvisio::VSDXContentCollector::m_groupMembershipsSequence [private] |
std::map<unsigned, XForm>& libvisio::VSDXContentCollector::m_groupXForms [private] |
std::vector<std::map<unsigned, XForm> >& libvisio::VSDXContentCollector::m_groupXFormsSequence [private] |
bool libvisio::VSDXContentCollector::m_isFirstGeometry [private] |
bool libvisio::VSDXContentCollector::m_isPageStarted [private] |
bool libvisio::VSDXContentCollector::m_isShapeStarted [private] |
bool libvisio::VSDXContentCollector::m_isStencilStarted [private] |
::WPXString libvisio::VSDXContentCollector::m_lineColour [private] |
unsigned libvisio::VSDXContentCollector::m_linePattern [private] |
std::map<unsigned, WPXString> libvisio::VSDXContentCollector::m_names [private] |
bool libvisio::VSDXContentCollector::m_noFill [private] |
bool libvisio::VSDXContentCollector::m_noLine [private] |
bool libvisio::VSDXContentCollector::m_noShow [private] |
std::map<unsigned, NURBSData> libvisio::VSDXContentCollector::m_NURBSData [private] |
double libvisio::VSDXContentCollector::m_originalX [private] |
double libvisio::VSDXContentCollector::m_originalY [private] |
double libvisio::VSDXContentCollector::m_pageHeight [private] |
std::map<unsigned, VSDXOutputElementList> libvisio::VSDXContentCollector::m_pageOutputDrawing [private] |
std::map<unsigned, VSDXOutputElementList> libvisio::VSDXContentCollector::m_pageOutputText [private] |
std::list<unsigned>& libvisio::VSDXContentCollector::m_pageShapeOrder [private] |
double libvisio::VSDXContentCollector::m_pageWidth [private] |
libwpg::WPGPaintInterface* libvisio::VSDXContentCollector::m_painter [private] |
std::vector<VSDXParaStyle> libvisio::VSDXContentCollector::m_paraFormats [private] |
std::map<unsigned, PolylineData> libvisio::VSDXContentCollector::m_polylineData [private] |
double libvisio::VSDXContentCollector::m_scale [private] |
double libvisio::VSDXContentCollector::m_shadowOffsetX [private] |
double libvisio::VSDXContentCollector::m_shadowOffsetY [private] |
std::vector<std::pair<double, double> > libvisio::VSDXContentCollector::m_splineControlPoints [private] |
unsigned libvisio::VSDXContentCollector::m_splineDegree [private] |
std::vector<double> libvisio::VSDXContentCollector::m_splineKnotVector [private] |
double libvisio::VSDXContentCollector::m_splineLastKnot [private] |
unsigned libvisio::VSDXContentCollector::m_splineLevel [private] |
double libvisio::VSDXContentCollector::m_splineX [private] |
double libvisio::VSDXContentCollector::m_splineY [private] |
std::map<unsigned, WPXString> libvisio::VSDXContentCollector::m_stencilNames [private] |
const VSDXStencilShape* libvisio::VSDXContentCollector::m_stencilShape [private] |
WPXPropertyList libvisio::VSDXContentCollector::m_styleProps [private] |
WPXBinaryData libvisio::VSDXContentCollector::m_textStream [private] |
XForm* libvisio::VSDXContentCollector::m_txtxform [private] |
Referenced by ~VSDXContentCollector().
double libvisio::VSDXContentCollector::m_x [private] |
XForm libvisio::VSDXContentCollector::m_xform [private] |
double libvisio::VSDXContentCollector::m_y [private] |