VSDCollector.h Source File documentation

VSDCollector.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libvisio project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef VSDCOLLECTOR_H
11#define VSDCOLLECTOR_H
12
13#include <vector>
14#include <boost/optional.hpp>
15#include "VSDParser.h"
16
17namespace libvisio
18{
19
20 class VSDCollector
21{
22public:
23 VSDCollector() {};
24 virtual ~VSDCollector() {}
25
26 virtual void collectDocumentTheme(const VSDXTheme *theme) = 0;
27 virtual void collectEllipticalArcTo(unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc) = 0;
28 virtual void collectForeignData(unsigned level, const librevenge::RVNGBinaryData &binaryData) = 0;
29 virtual void collectOLEList(unsigned id, unsigned level) = 0;
30 virtual void collectOLEData(unsigned id, unsigned level, const librevenge::RVNGBinaryData &oleData) = 0;
31 virtual void collectEllipse(unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop) = 0;
32 virtual void collectLine(unsigned level, const boost::optional<double> &strokeWidth, const boost::optional<Colour> &c, const boost::optional<unsigned char> &linePattern,
33 const boost::optional<unsigned char> &startMarker, const boost::optional<unsigned char> &endMarker,
34 const boost::optional<unsigned char> &lineCap, const boost::optional<double> &rounding,
35 const boost::optional<long> &qsLineColour, const boost::optional<long> &qsLineMatrix) = 0;
36 virtual void collectFillAndShadow(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
37 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
38 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
39 const boost::optional<Colour> &shfgc, const boost::optional<double> &shadowOffsetX, const boost::optional<double> &shadowOffsetY,
40 const boost::optional<long> &qsFc, const boost::optional<long> &qsSc, const boost::optional<long> &qsLm) = 0;
41 virtual void collectFillAndShadow(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
42 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
43 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
44 const boost::optional<Colour> &shfgc) = 0;
45 virtual void collectGeometry(unsigned id, unsigned level, bool noFill, bool noLine, bool noShow) = 0;
46 virtual void collectMoveTo(unsigned id, unsigned level, double x, double y) = 0;
47 virtual void collectLineTo(unsigned id, unsigned level, double x, double y) = 0;
48 virtual void collectArcTo(unsigned id, unsigned level, double x2, double y2, double bow) = 0;
49 virtual void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, unsigned char xType, unsigned char yType, unsigned degree,
50 const std::vector<std::pair<double, double> > &ctrlPnts, const std::vector<double> &kntVec, const std::vector<double> &weights) = 0;
51 virtual void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID) = 0;
52 virtual void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, const NURBSData &data) = 0;
53 virtual void collectPolylineTo(unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType, const std::vector<std::pair<double, double> > &points) = 0;
54 virtual void collectPolylineTo(unsigned id, unsigned level, double x, double y, unsigned dataID) = 0;
55 virtual void collectPolylineTo(unsigned id, unsigned level, double x, double y, const PolylineData &data) = 0;
56 virtual void collectShapeData(unsigned id, unsigned level, unsigned char xType, unsigned char yType, unsigned degree, double lastKnot,
57 std::vector<std::pair<double, double> > controlPoints, std::vector<double> knotVector, std::vector<double> weights) = 0;
58 virtual void collectShapeData(unsigned id, unsigned level, unsigned char xType, unsigned char yType, std::vector<std::pair<double, double> > points) = 0;
59 virtual void collectXFormData(unsigned level, const XForm &xform) = 0;
60 virtual void collectTxtXForm(unsigned level, const XForm &txtxform) = 0;
61 virtual void collectShapesOrder(unsigned id, unsigned level, const std::vector<unsigned> &shapeIds) = 0;
62 virtual void collectForeignDataType(unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height) = 0;
63 virtual void collectPageProps(unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale, unsigned char drawingScaleUnit) = 0;
64 virtual void collectPage(unsigned id, unsigned level, unsigned backgroundPageID, bool isBackgroundPage, const VSDName &pageName) = 0;
65 virtual void collectShape(unsigned id, unsigned level, unsigned parent, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle) = 0;
66 virtual void collectSplineStart(unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree) = 0;
67 virtual void collectSplineKnot(unsigned id, unsigned level, double x, double y, double knot) = 0;
68 virtual void collectSplineEnd() = 0;
69 virtual void collectInfiniteLine(unsigned id, unsigned level, double x1, double y1, double x2, double y2) = 0;
70 virtual void collectRelCubBezTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d) = 0;
71 virtual void collectRelEllipticalArcTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d) = 0;
72 virtual void collectRelLineTo(unsigned id, unsigned level, double x, double y) = 0;
73 virtual void collectRelMoveTo(unsigned id, unsigned level, double x, double y) = 0;
74 virtual void collectRelQuadBezTo(unsigned id, unsigned level, double x, double y, double a, double b) = 0;
75
76 virtual void collectUnhandledChunk(unsigned id, unsigned level) = 0;
77
78 virtual void collectText(unsigned level, const librevenge::RVNGBinaryData &textStream, TextFormat format) = 0;
79 virtual void collectCharIX(unsigned id, unsigned level, unsigned charCount, const boost::optional<VSDName> &font,
80 const boost::optional<Colour> &fontColour, const boost::optional<double> &fontSize, const boost::optional<bool> &bold,
81 const boost::optional<bool> &italic, const boost::optional<bool> &underline, const boost::optional<bool> &doubleunderline,
82 const boost::optional<bool> &strikeout, const boost::optional<bool> &doublestrikeout, const boost::optional<bool> &allcaps,
83 const boost::optional<bool> &initcaps, const boost::optional<bool> &smallcaps, const boost::optional<bool> &superscript,
84 const boost::optional<bool> &subscript, const boost::optional<double> &scaleWidth) = 0;
85 virtual void collectDefaultCharStyle(unsigned charCount, const boost::optional<VSDName> &font, const boost::optional<Colour> &fontColour,
86 const boost::optional<double> &fontSize, const boost::optional<bool> &bold, const boost::optional<bool> &italic,
87 const boost::optional<bool> &underline, const boost::optional<bool> &doubleunderline, const boost::optional<bool> &strikeout,
88 const boost::optional<bool> &doublestrikeout, const boost::optional<bool> &allcaps, const boost::optional<bool> &initcaps,
89 const boost::optional<bool> &smallcaps, const boost::optional<bool> &superscript, const boost::optional<bool> &subscript,
90 const boost::optional<double> &scaleWidth) = 0;
91 virtual void collectParaIX(unsigned id, unsigned level, unsigned charCount, const boost::optional<double> &indFirst,
92 const boost::optional<double> &indLeft, const boost::optional<double> &indRight, const boost::optional<double> &spLine,
93 const boost::optional<double> &spBefore, const boost::optional<double> &spAfter, const boost::optional<unsigned char> &align,
94 const boost::optional<unsigned char> &bullet, const boost::optional<VSDName> &bulletStr,
95 const boost::optional<VSDName> &bulletFont, const boost::optional<double> &bulletFontSize,
96 const boost::optional<double> &textPosAfterBullet, const boost::optional<unsigned> &flags) = 0;
97 virtual void collectDefaultParaStyle(unsigned charCount, const boost::optional<double> &indFirst, const boost::optional<double> &indLeft,
98 const boost::optional<double> &indRight, const boost::optional<double> &spLine, const boost::optional<double> &spBefore,
99 const boost::optional<double> &spAfter, const boost::optional<unsigned char> &align,
100 const boost::optional<unsigned char> &bullet, const boost::optional<VSDName> &bulletStr,
101 const boost::optional<VSDName> &bulletFont, const boost::optional<double> &bulletFontSize,
102 const boost::optional<double> &textPosAfterBullet, const boost::optional<unsigned> &flags) = 0;
103 virtual void collectTextBlock(unsigned level, const boost::optional<double> &leftMargin, const boost::optional<double> &rightMargin,
104 const boost::optional<double> &topMargin, const boost::optional<double> &bottomMargin,
105 const boost::optional<unsigned char> &verticalAlign, const boost::optional<bool> &isBgFilled,
106 const boost::optional<Colour> &bgColour, const boost::optional<double> &defaultTabStop,
107 const boost::optional<unsigned char> &textDirection) = 0;
108 virtual void collectNameList(unsigned id, unsigned level) = 0;
109 virtual void collectName(unsigned id, unsigned level, const librevenge::RVNGBinaryData &name, TextFormat format) = 0;
110 virtual void collectPageSheet(unsigned id, unsigned level) = 0;
111 virtual void collectMisc(unsigned level, const VSDMisc &misc) = 0;
112 virtual void collectLayer(unsigned id, unsigned level, const VSDLayer &layer) = 0;
113 virtual void collectLayerMem(unsigned level, const VSDName &layerMem) = 0;
114 virtual void collectTabsDataList(unsigned level, const std::map<unsigned, VSDTabSet> &tabSets) = 0;
115
116 // Style collectors
117 virtual void collectStyleSheet(unsigned id, unsigned level,unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle) = 0;
118 virtual void collectLineStyle(unsigned level, const boost::optional<double> &strokeWidth, const boost::optional<Colour> &c, const boost::optional<unsigned char> &linePattern,
119 const boost::optional<unsigned char> &startMarker, const boost::optional<unsigned char> &endMarker,
120 const boost::optional<unsigned char> &lineCap, const boost::optional<double> &rounding,
121 const boost::optional<long> &qsLineColour, const boost::optional<long> &qsLineMatrix) = 0;
122 virtual void collectFillStyle(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
123 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
124 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
125 const boost::optional<Colour> &shfgc, const boost::optional<double> &shadowOffsetX, const boost::optional<double> &shadowOffsetY,
126 const boost::optional<long> &qsFillColour, const boost::optional<long> &qsShadowColour,
127 const boost::optional<long> &qsFillMatrix) = 0;
128 virtual void collectFillStyle(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
129 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
130 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
131 const boost::optional<Colour> &shfgc) = 0;
132 virtual void collectCharIXStyle(unsigned id, unsigned level, unsigned charCount, const boost::optional<VSDName> &font,
133 const boost::optional<Colour> &fontColour, const boost::optional<double> &fontSize, const boost::optional<bool> &bold,
134 const boost::optional<bool> &italic, const boost::optional<bool> &underline, const boost::optional<bool> &doubleunderline,
135 const boost::optional<bool> &strikeout, const boost::optional<bool> &doublestrikeout, const boost::optional<bool> &allcaps,
136 const boost::optional<bool> &initcaps, const boost::optional<bool> &smallcaps, const boost::optional<bool> &superscript,
137 const boost::optional<bool> &subscript, const boost::optional<double> &scaleWidth) = 0;
138 virtual void collectParaIXStyle(unsigned id, unsigned level, unsigned charCount, const boost::optional<double> &indFirst,
139 const boost::optional<double> &indLeft, const boost::optional<double> &indRight, const boost::optional<double> &spLine,
140 const boost::optional<double> &spBefore, const boost::optional<double> &spAfter, const boost::optional<unsigned char> &align,
141 const boost::optional<unsigned char> &bullet, const boost::optional<VSDName> &bulletStr,
142 const boost::optional<VSDName> &bulletFont, const boost::optional<double> &bulletFontSize,
143 const boost::optional<double> &textPosAfterBullet, const boost::optional<unsigned> &flags) = 0;
144 virtual void collectTextBlockStyle(unsigned level, const boost::optional<double> &leftMargin, const boost::optional<double> &rightMargin,
145 const boost::optional<double> &topMargin, const boost::optional<double> &bottomMargin,
146 const boost::optional<unsigned char> &verticalAlign, const boost::optional<bool> &isBgFilled,
147 const boost::optional<Colour> &bgColour, const boost::optional<double> &defaultTabStop,
148 const boost::optional<unsigned char> &textDirection) = 0;
149
150 // Field list
151 virtual void collectFieldList(unsigned id, unsigned level) = 0;
152 virtual void collectTextField(unsigned id, unsigned level, int nameId, int formatStringId) = 0;
153 virtual void collectNumericField(unsigned id, unsigned level, unsigned short format, unsigned short cellType, double number, int formatStringId) = 0;
154
155 // Metadata
156 virtual void collectMetaData(const librevenge::RVNGPropertyList &metaData) = 0;
157
158 // Temporary hack
159 virtual void startPage(unsigned pageId) = 0;
160 virtual void endPage() = 0;
161 virtual void endPages() = 0;
162
163private:
164 VSDCollector(const VSDCollector &);
165 VSDCollector &operator=(const VSDCollector &);
166};
167
168} // namespace libvisio
169
170#endif /* VSDCOLLECTOR_H */
171/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
VSDParser.h
libvisio::VSDCollector::collectParaIXStyle
virtual void collectParaIXStyle(unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags)=0
libvisio::VSDCollector::collectInfiniteLine
virtual void collectInfiniteLine(unsigned id, unsigned level, double x1, double y1, double x2, double y2)=0
libvisio::VSDCollector::collectShape
virtual void collectShape(unsigned id, unsigned level, unsigned parent, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle)=0
libvisio::VSDCollector::collectLineStyle
virtual void collectLineStyle(unsigned level, const boost::optional< double > &strokeWidth, const boost::optional< Colour > &c, const boost::optional< unsigned char > &linePattern, const boost::optional< unsigned char > &startMarker, const boost::optional< unsigned char > &endMarker, const boost::optional< unsigned char > &lineCap, const boost::optional< double > &rounding, const boost::optional< long > &qsLineColour, const boost::optional< long > &qsLineMatrix)=0
libvisio::VSDCollector::endPage
virtual void endPage()=0
libvisio::VSDCollector::collectFillStyle
virtual void collectFillStyle(unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc)=0
libvisio::VSDCollector::collectArcTo
virtual void collectArcTo(unsigned id, unsigned level, double x2, double y2, double bow)=0
libvisio::VSDCollector::collectNURBSTo
virtual void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID)=0
libvisio::VSDCollector::collectEllipticalArcTo
virtual void collectEllipticalArcTo(unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc)=0
libvisio::VSDCollector::collectFillAndShadow
virtual void collectFillAndShadow(unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc, const boost::optional< double > &shadowOffsetX, const boost::optional< double > &shadowOffsetY, const boost::optional< long > &qsFc, const boost::optional< long > &qsSc, const boost::optional< long > &qsLm)=0
libvisio::VSDCollector::collectOLEList
virtual void collectOLEList(unsigned id, unsigned level)=0
libvisio::VSDCollector::collectDocumentTheme
virtual void collectDocumentTheme(const VSDXTheme *theme)=0
libvisio::VSDCollector::collectTxtXForm
virtual void collectTxtXForm(unsigned level, const XForm &txtxform)=0
libvisio::VSDCollector::collectPolylineTo
virtual void collectPolylineTo(unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType, const std::vector< std::pair< double, double > > &points)=0
libvisio::VSDCollector::collectLayerMem
virtual void collectLayerMem(unsigned level, const VSDName &layerMem)=0
libvisio::VSDCollector::collectSplineStart
virtual void collectSplineStart(unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree)=0
libvisio::VSDCollector::collectXFormData
virtual void collectXFormData(unsigned level, const XForm &xform)=0
libvisio::VSDCollector::collectMisc
virtual void collectMisc(unsigned level, const VSDMisc &misc)=0
libvisio::VSDCollector::collectFillStyle
virtual void collectFillStyle(unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc, const boost::optional< double > &shadowOffsetX, const boost::optional< double > &shadowOffsetY, const boost::optional< long > &qsFillColour, const boost::optional< long > &qsShadowColour, const boost::optional< long > &qsFillMatrix)=0
libvisio::VSDCollector::collectRelMoveTo
virtual void collectRelMoveTo(unsigned id, unsigned level, double x, double y)=0
libvisio::VSDCollector::startPage
virtual void startPage(unsigned pageId)=0
libvisio::VSDCollector::collectEllipse
virtual void collectEllipse(unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop)=0
libvisio::VSDCollector::operator=
VSDCollector & operator=(const VSDCollector &)
libvisio::VSDCollector::collectFillAndShadow
virtual void collectFillAndShadow(unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc)=0
libvisio::VSDCollector::collectOLEData
virtual void collectOLEData(unsigned id, unsigned level, const librevenge::RVNGBinaryData &oleData)=0
libvisio::VSDCollector::collectShapeData
virtual void collectShapeData(unsigned id, unsigned level, unsigned char xType, unsigned char yType, std::vector< std::pair< double, double > > points)=0
libvisio::VSDCollector::endPages
virtual void endPages()=0
libvisio::VSDCollector::collectMetaData
virtual void collectMetaData(const librevenge::RVNGPropertyList &metaData)=0
libvisio::VSDCollector::collectTextBlock
virtual void collectTextBlock(unsigned level, const boost::optional< double > &leftMargin, const boost::optional< double > &rightMargin, const boost::optional< double > &topMargin, const boost::optional< double > &bottomMargin, const boost::optional< unsigned char > &verticalAlign, const boost::optional< bool > &isBgFilled, const boost::optional< Colour > &bgColour, const boost::optional< double > &defaultTabStop, const boost::optional< unsigned char > &textDirection)=0
libvisio::VSDCollector::collectRelQuadBezTo
virtual void collectRelQuadBezTo(unsigned id, unsigned level, double x, double y, double a, double b)=0
libvisio::VSDCollector::collectNURBSTo
virtual void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, unsigned char xType, unsigned char yType, unsigned degree, const std::vector< std::pair< double, double > > &ctrlPnts, const std::vector< double > &kntVec, const std::vector< double > &weights)=0
libvisio::VSDCollector::collectNumericField
virtual void collectNumericField(unsigned id, unsigned level, unsigned short format, unsigned short cellType, double number, int formatStringId)=0
libvisio::VSDCollector::collectShapeData
virtual void collectShapeData(unsigned id, unsigned level, unsigned char xType, unsigned char yType, unsigned degree, double lastKnot, std::vector< std::pair< double, double > > controlPoints, std::vector< double > knotVector, std::vector< double > weights)=0
libvisio::VSDCollector::collectCharIX
virtual void collectCharIX(unsigned id, unsigned level, unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth)=0
libvisio::VSDCollector::collectDefaultCharStyle
virtual void collectDefaultCharStyle(unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth)=0
libvisio::VSDCollector::collectCharIXStyle
virtual void collectCharIXStyle(unsigned id, unsigned level, unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth)=0
libvisio::VSDCollector::collectDefaultParaStyle
virtual void collectDefaultParaStyle(unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags)=0
libvisio::VSDCollector::collectPageSheet
virtual void collectPageSheet(unsigned id, unsigned level)=0
libvisio::VSDCollector::collectPolylineTo
virtual void collectPolylineTo(unsigned id, unsigned level, double x, double y, const PolylineData &data)=0
libvisio::VSDCollector::collectTabsDataList
virtual void collectTabsDataList(unsigned level, const std::map< unsigned, VSDTabSet > &tabSets)=0
libvisio::VSDCollector::collectLineTo
virtual void collectLineTo(unsigned id, unsigned level, double x, double y)=0
libvisio::VSDCollector::collectRelEllipticalArcTo
virtual void collectRelEllipticalArcTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d)=0
libvisio::VSDCollector::collectForeignData
virtual void collectForeignData(unsigned level, const librevenge::RVNGBinaryData &binaryData)=0
libvisio::VSDCollector::collectName
virtual void collectName(unsigned id, unsigned level, const librevenge::RVNGBinaryData &name, TextFormat format)=0
libvisio::VSDCollector::collectGeometry
virtual void collectGeometry(unsigned id, unsigned level, bool noFill, bool noLine, bool noShow)=0
libvisio::VSDCollector::VSDCollector
VSDCollector(const VSDCollector &)
libvisio::VSDCollector::collectPolylineTo
virtual void collectPolylineTo(unsigned id, unsigned level, double x, double y, unsigned dataID)=0
libvisio::VSDCollector::collectSplineKnot
virtual void collectSplineKnot(unsigned id, unsigned level, double x, double y, double knot)=0
libvisio::VSDCollector::collectRelCubBezTo
virtual void collectRelCubBezTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d)=0
libvisio::VSDCollector::collectPageProps
virtual void collectPageProps(unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale, unsigned char drawingScaleUnit)=0
libvisio::VSDCollector::collectLayer
virtual void collectLayer(unsigned id, unsigned level, const VSDLayer &layer)=0
libvisio::VSDCollector::collectParaIX
virtual void collectParaIX(unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags)=0
libvisio::VSDCollector::collectNURBSTo
virtual void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, const NURBSData &data)=0
libvisio::VSDCollector::collectShapesOrder
virtual void collectShapesOrder(unsigned id, unsigned level, const std::vector< unsigned > &shapeIds)=0
libvisio::VSDCollector::collectText
virtual void collectText(unsigned level, const librevenge::RVNGBinaryData &textStream, TextFormat format)=0
libvisio::VSDCollector::VSDCollector
VSDCollector()
Definition VSDCollector.h:23
libvisio::VSDCollector::collectMoveTo
virtual void collectMoveTo(unsigned id, unsigned level, double x, double y)=0
libvisio::VSDCollector::collectStyleSheet
virtual void collectStyleSheet(unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle)=0
libvisio::VSDCollector::collectRelLineTo
virtual void collectRelLineTo(unsigned id, unsigned level, double x, double y)=0
libvisio::VSDCollector::collectNameList
virtual void collectNameList(unsigned id, unsigned level)=0
libvisio::VSDCollector::collectLine
virtual void collectLine(unsigned level, const boost::optional< double > &strokeWidth, const boost::optional< Colour > &c, const boost::optional< unsigned char > &linePattern, const boost::optional< unsigned char > &startMarker, const boost::optional< unsigned char > &endMarker, const boost::optional< unsigned char > &lineCap, const boost::optional< double > &rounding, const boost::optional< long > &qsLineColour, const boost::optional< long > &qsLineMatrix)=0
libvisio::VSDCollector::~VSDCollector
virtual ~VSDCollector()
Definition VSDCollector.h:24
libvisio::VSDCollector::collectTextBlockStyle
virtual void collectTextBlockStyle(unsigned level, const boost::optional< double > &leftMargin, const boost::optional< double > &rightMargin, const boost::optional< double > &topMargin, const boost::optional< double > &bottomMargin, const boost::optional< unsigned char > &verticalAlign, const boost::optional< bool > &isBgFilled, const boost::optional< Colour > &bgColour, const boost::optional< double > &defaultTabStop, const boost::optional< unsigned char > &textDirection)=0
libvisio::VSDCollector::collectForeignDataType
virtual void collectForeignDataType(unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height)=0
libvisio::VSDCollector::collectPage
virtual void collectPage(unsigned id, unsigned level, unsigned backgroundPageID, bool isBackgroundPage, const VSDName &pageName)=0
libvisio::VSDCollector::collectFieldList
virtual void collectFieldList(unsigned id, unsigned level)=0
libvisio::VSDCollector::collectSplineEnd
virtual void collectSplineEnd()=0
libvisio::VSDCollector::collectUnhandledChunk
virtual void collectUnhandledChunk(unsigned id, unsigned level)=0
libvisio::VSDCollector::collectTextField
virtual void collectTextField(unsigned id, unsigned level, int nameId, int formatStringId)=0
libvisio::VSDName
Definition VSDTypes.h:171
libvisio::VSDXTheme
Definition VSDXTheme.h:77
libvisio
Definition libvisio_utils.h:49
libvisio::TextFormat
TextFormat
Definition VSDTypes.h:150
libvisio::NURBSData
Definition VSDTypes.h:94
libvisio::PolylineData
Definition VSDTypes.h:115
libvisio::VSDLayer
Definition VSDLayerList.h:22
libvisio::VSDMisc
Definition VSDTypes.h:204
libvisio::XForm
Definition VSDTypes.h:23