- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

VSDContentCollector.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 VSDCONTENTCOLLECTOR_H
11 #define VSDCONTENTCOLLECTOR_H
12
13 #include <locale.h>
14 #include <sstream>
15 #include <string>
16 #include <cmath>
17 #include <map>
18 #include <list>
19 #include <vector>
20 #include "libvisio_utils.h"
21 #include "VSDCollector.h"
22 #include "VSDParser.h"
23 #include "VSDOutputElementList.h"
24 #include "VSDStyles.h"
25 #include "VSDPages.h"
26
27 namespace libvisio
28 {
29
30 class VSDContentCollector : public VSDCollector
31 {
32 public:
33 VSDContentCollector(
34 librevenge::RVNGDrawingInterface *painter,
35 std::vector<std::map<unsigned, XForm> > &groupXFormsSequence,
36 std::vector<std::map<unsigned, unsigned> > &groupMembershipsSequence,
37 std::vector<std::list<unsigned> > &documentPageShapeOrders,
38 VSDStyles &styles, VSDStencils &stencils
39 );
40 virtual ~VSDContentCollector()
41 {
42 if (m_txtxform) delete(m_txtxform);
43 };
44
45 void collectEllipticalArcTo(unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc);
46 void collectForeignData(unsigned level, const librevenge::RVNGBinaryData &binaryData);
47 void collectOLEList(unsigned id, unsigned level);
48 void collectOLEData(unsigned id, unsigned level, const librevenge::RVNGBinaryData &oleData);
49 void collectEllipse(unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop);
50 void collectLine(unsigned level, const boost::optional<double> &strokeWidth, const boost::optional<Colour> &c, const boost::optional<unsigned char> &linePattern,
51 const boost::optional<unsigned char> &startMarker, const boost::optional<unsigned char> &endMarker,
52 const boost::optional<unsigned char> &lineCap);
53 void collectFillAndShadow(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
54 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
55 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
56 const boost::optional<Colour> &shfgc, const boost::optional<double> &shadowOffsetX, const boost::optional<double> &shadowOffsetY);
57 void collectFillAndShadow(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
58 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
59 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
60 const boost::optional<Colour> &shfgc);
61 void collectThemeReference(unsigned level, const boost::optional<long> &lineColour, const boost::optional<long> &fillColour,
62 const boost::optional<long> &shadowColour, const boost::optional<long> &fontColour);
63 void collectGeometry(unsigned id, unsigned level, bool noFill, bool noLine, bool noShow);
64 void collectMoveTo(unsigned id, unsigned level, double x, double y);
65 void collectLineTo(unsigned id, unsigned level, double x, double y);
66 void collectArcTo(unsigned id, unsigned level, double x2, double y2, double bow);
67 void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, unsigned char xType, unsigned char yType, unsigned degree,
68 const std::vector<std::pair<double, double> > &ctrlPnts, const std::vector<double> &kntVec, const std::vector<double> &weights);
69 void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID);
70 void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, const NURBSData &data);
71 void collectPolylineTo(unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType,
72 const std::vector<std::pair<double, double> > &points);
73 void collectPolylineTo(unsigned id, unsigned level, double x, double y, unsigned dataID);
74 void collectPolylineTo(unsigned id, unsigned level, double x, double y, const PolylineData &data);
75 void collectShapeData(unsigned id, unsigned level, unsigned char xType, unsigned char yType, unsigned degree, double lastKnot,
76 std::vector<std::pair<double, double> > controlPoints, std::vector<double> knotVector, std::vector<double> weights);
77 void collectShapeData(unsigned id, unsigned level, unsigned char xType, unsigned char yType, std::vector<std::pair<double, double> > points);
78 void collectXFormData(unsigned level, const XForm &xform);
79 void collectTxtXForm(unsigned level, const XForm &txtxform);
80 void collectShapesOrder(unsigned id, unsigned level, const std::vector<unsigned> &shapeIds);
81 void collectForeignDataType(unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height);
82 void collectPageProps(unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale);
83 void collectPage(unsigned id, unsigned level, unsigned backgroundPageID, bool isBackgroundPage, const VSDName &pageName);
84 void collectShape(unsigned id, unsigned level, unsigned parent, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle);
85 void collectSplineStart(unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree);
86 void collectSplineKnot(unsigned id, unsigned level, double x, double y, double knot);
87 void collectSplineEnd();
88 void collectInfiniteLine(unsigned id, unsigned level, double x1, double y1, double x2, double y2);
89 void collectRelCubBezTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d);
90 void collectRelEllipticalArcTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d);
91 void collectRelLineTo(unsigned id, unsigned level, double x, double y);
92 void collectRelMoveTo(unsigned id, unsigned level, double x, double y);
93 void collectRelQuadBezTo(unsigned id, unsigned level, double x, double y, double a, double b);
94
95 void collectUnhandledChunk(unsigned id, unsigned level);
96
97 void collectText(unsigned level, const librevenge::RVNGBinaryData &textStream, TextFormat format);
98 void collectCharIX(unsigned id, unsigned level, unsigned charCount, const boost::optional<VSDName> &font,
99 const boost::optional<Colour> &fontColour, const boost::optional<double> &fontSize, const boost::optional<bool> &bold,
100 const boost::optional<bool> &italic, const boost::optional<bool> &underline, const boost::optional<bool> &doubleunderline,
101 const boost::optional<bool> &strikeout, const boost::optional<bool> &doublestrikeout, const boost::optional<bool> &allcaps,
102 const boost::optional<bool> &initcaps, const boost::optional<bool> &smallcaps, const boost::optional<bool> &superscript,
103 const boost::optional<bool> &subscript);
104 void collectDefaultCharStyle(unsigned charCount, const boost::optional<VSDName> &font, const boost::optional<Colour> &fontColour,
105 const boost::optional<double> &fontSize, const boost::optional<bool> &bold, const boost::optional<bool> &italic,
106 const boost::optional<bool> &underline, const boost::optional<bool> &doubleunderline, const boost::optional<bool> &strikeout,
107 const boost::optional<bool> &doublestrikeout, const boost::optional<bool> &allcaps, const boost::optional<bool> &initcaps,
108 const boost::optional<bool> &smallcaps, const boost::optional<bool> &superscript, const boost::optional<bool> &subscript);
109 void collectParaIX(unsigned id, unsigned level, unsigned charCount, const boost::optional<double> &indFirst,
110 const boost::optional<double> &indLeft, const boost::optional<double> &indRight, const boost::optional<double> &spLine,
111 const boost::optional<double> &spBefore, const boost::optional<double> &spAfter, const boost::optional<unsigned char> &align,
112 const boost::optional<unsigned> &flags);
113 void collectDefaultParaStyle(unsigned charCount, const boost::optional<double> &indFirst, const boost::optional<double> &indLeft,
114 const boost::optional<double> &indRight, const boost::optional<double> &spLine, const boost::optional<double> &spBefore,
115 const boost::optional<double> &spAfter, const boost::optional<unsigned char> &align, const boost::optional<unsigned> &flags);
116 void collectTextBlock(unsigned level, const boost::optional<double> &leftMargin, const boost::optional<double> &rightMargin,
117 const boost::optional<double> &topMargin, const boost::optional<double> &bottomMargin,
118 const boost::optional<unsigned char> &verticalAlign, const boost::optional<bool> &isBgFilled,
119 const boost::optional<Colour> &bgColour, const boost::optional<double> &defaultTabStop,
120 const boost::optional<unsigned char> &textDirection);
121 void collectNameList(unsigned id, unsigned level);
122 void collectName(unsigned id, unsigned level, const librevenge::RVNGBinaryData &name, TextFormat format);
123 void collectPageSheet(unsigned id, unsigned level);
124 void collectMisc(unsigned level, const VSDMisc &misc);
125
126
127 // Style collectors
128 void collectStyleSheet(unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle);
129 void collectLineStyle(unsigned level, const boost::optional<double> &strokeWidth, const boost::optional<Colour> &c, const boost::optional<unsigned char> &linePattern,
130 const boost::optional<unsigned char> &startMarker, const boost::optional<unsigned char> &endMarker,
131 const boost::optional<unsigned char> &lineCap);
132 void collectFillStyle(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
133 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
134 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
135 const boost::optional<Colour> &shfgc, const boost::optional<double> &shadowOffsetX, const boost::optional<double> &shadowOffsetY);
136 void collectFillStyle(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
137 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
138 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
139 const boost::optional<Colour> &shfgc);
140 void collectCharIXStyle(unsigned id, unsigned level, unsigned charCount, const boost::optional<VSDName> &font,
141 const boost::optional<Colour> &fontColour, const boost::optional<double> &fontSize, const boost::optional<bool> &bold,
142 const boost::optional<bool> &italic, const boost::optional<bool> &underline, const boost::optional<bool> &doubleunderline,
143 const boost::optional<bool> &strikeout, const boost::optional<bool> &doublestrikeout, const boost::optional<bool> &allcaps,
144 const boost::optional<bool> &initcaps, const boost::optional<bool> &smallcaps, const boost::optional<bool> &superscript,
145 const boost::optional<bool> &subscript);
146 void collectParaIXStyle(unsigned id, unsigned level, unsigned charCount, const boost::optional<double> &indFirst,
147 const boost::optional<double> &indLeft, const boost::optional<double> &indRight, const boost::optional<double> &spLine,
148 const boost::optional<double> &spBefore, const boost::optional<double> &spAfter, const boost::optional<unsigned char> &align,
149 const boost::optional<unsigned> &flags);
150 void collectTextBlockStyle(unsigned level, const boost::optional<double> &leftMargin, const boost::optional<double> &rightMargin,
151 const boost::optional<double> &topMargin, const boost::optional<double> &bottomMargin,
152 const boost::optional<unsigned char> &verticalAlign, const boost::optional<bool> &isBgFilled,
153 const boost::optional<Colour> &bgColour, const boost::optional<double> &defaultTabStop,
154 const boost::optional<unsigned char> &textDirection);
155 void collectStyleThemeReference(unsigned level, const boost::optional<long> &lineColour, const boost::optional<long> &fillColour,
156 const boost::optional<long> &shadowColour, const boost::optional<long> &fontColour);
157
158 virtual void collectMetaData(const librevenge::RVNGPropertyList &metaData);
159
160
161 // Field list
162 void collectFieldList(unsigned id, unsigned level);
163 void collectTextField(unsigned id, unsigned level, int nameId, int formatStringId);
164 void collectNumericField(unsigned id, unsigned level, unsigned short format, double number, int formatStringId);
165
166 void startPage(unsigned pageId);
167 void endPage();
168 void endPages();
169
170
171 private:
172 VSDContentCollector(const VSDContentCollector &);
173 VSDContentCollector &operator=(const VSDContentCollector &);
174 librevenge::RVNGDrawingInterface *m_painter;
175
176 void applyXForm(double &x, double &y, const XForm &xform);
177
178 void transformPoint(double &x, double &y, XForm *txtxform = 0);
179 void transformAngle(double &angle, XForm *txtxform = 0);
180 void transformFlips(bool &flipX, bool &flipY);
181
182 double _NURBSBasis(unsigned knot, unsigned degree, double point, const std::vector<double> &knotVector);
183
184 void _flushShape();
185 void _flushCurrentPath();
186 void _flushText();
187 void _flushCurrentForeignData();
188 void _flushCurrentPage();
189
190 void _handleLevelChange(unsigned level);
191
192 void _handleForeignData(const librevenge::RVNGBinaryData &data);
193
194 void _lineProperties(const VSDLineStyle &style, librevenge::RVNGPropertyList &styleProps);
195 void _fillAndShadowProperties(const VSDFillStyle &style, librevenge::RVNGPropertyList &styleProps);
196
197 void _applyLinePattern();
198 const char *_linePropertiesMarkerViewbox(unsigned marker);
199 const char *_linePropertiesMarkerPath(unsigned marker);
200 double _linePropertiesMarkerScale(unsigned marker);
201
202 void appendCharacters(librevenge::RVNGString &text, const std::vector<unsigned char> &characters, TextFormat format);
203 void appendCharacters(librevenge::RVNGString &text, const std::vector<unsigned char> &characters);
204 void _convertDataToString(librevenge::RVNGString &result, const librevenge::RVNGBinaryData &data, TextFormat format);
205 bool parseFormatId(const char *formatString, unsigned short &result);
206 void _appendField(librevenge::RVNGString &text);
207
208 // NURBS processing functions
209 bool _isUniform(const std::vector<double> &weights) const;
210 void _generatePolylineFromNURBS(unsigned degree, const std::vector<std::pair<double, double> > &controlPoints,
211 const std::vector<double> &knotVector, const std::vector<double> &weights);
212 void _generateBezierSegmentsFromNURBS(unsigned degree, const std::vector<std::pair<double, double> > &controlPoints,
213 const std::vector<double> &knotVector);
214 void _outputCubicBezierSegment(const std::vector<std::pair<double, double> > &points);
215 void _outputQuadraticBezierSegment(const std::vector<std::pair<double, double> > &points);
216 void _outputLinearBezierSegment(const std::vector<std::pair<double, double> > &points);
217
218 bool m_isPageStarted;
219 double m_pageWidth;
220 double m_pageHeight;
221 double m_shadowOffsetX;
222 double m_shadowOffsetY;
223 double m_scale;
224 double m_x;
225 double m_y;
226 double m_originalX;
227 double m_originalY;
228 XForm m_xform;
229 XForm *m_txtxform;
230 VSDMisc m_misc;
231 std::vector<librevenge::RVNGPropertyList> m_currentFillGeometry;
232 std::vector<librevenge::RVNGPropertyList> m_currentLineGeometry;
233 std::map<unsigned, XForm> *m_groupXForms;
234 librevenge::RVNGBinaryData m_currentForeignData;
235 librevenge::RVNGBinaryData m_currentOLEData;
236 librevenge::RVNGPropertyList m_currentForeignProps;
237 unsigned m_currentShapeId;
238 unsigned m_foreignType;
239 unsigned m_foreignFormat;
240 double m_foreignOffsetX;
241 double m_foreignOffsetY;
242 double m_foreignWidth;
243 double m_foreignHeight;
244 bool m_noLine;
245 bool m_noFill;
246 bool m_noShow;
247 std::map<unsigned short, VSDFont> m_fonts;
248 unsigned m_currentLevel;
249 bool m_isShapeStarted;
250 std::vector<std::map<unsigned, XForm> > &m_groupXFormsSequence;
251 std::vector<std::map<unsigned, unsigned> > &m_groupMembershipsSequence;
252 std::vector<std::map<unsigned, unsigned> >::iterator m_groupMemberships;
253 unsigned m_currentPageNumber;
254 VSDOutputElementList *m_shapeOutputDrawing, *m_shapeOutputText;
255 std::map<unsigned, VSDOutputElementList> m_pageOutputDrawing;
256 std::map<unsigned, VSDOutputElementList> m_pageOutputText;
257 std::vector<std::list<unsigned> > &m_documentPageShapeOrders;
258 std::vector<std::list<unsigned> >::iterator m_pageShapeOrder;
259 bool m_isFirstGeometry;
260
261 std::map<unsigned, NURBSData> m_NURBSData;
262 std::map<unsigned, PolylineData> m_polylineData;
263 librevenge::RVNGBinaryData m_textStream;
264 std::map<unsigned, librevenge::RVNGString> m_names, m_stencilNames;
265 std::vector<librevenge::RVNGString> m_fields;
266 VSDFieldList m_stencilFields;
267 unsigned m_fieldIndex;
268 TextFormat m_textFormat;
269 std::vector<VSDCharStyle> m_charFormats;
270 std::vector<VSDParaStyle> m_paraFormats;
271
272 VSDLineStyle m_lineStyle;
273 VSDFillStyle m_fillStyle;
274 VSDTextBlockStyle m_textBlockStyle;
275
276 VSDThemeReference m_themeReference;
277
278 VSDCharStyle m_defaultCharStyle;
279 VSDParaStyle m_defaultParaStyle;
280
281 unsigned m_currentStyleSheet;
282 VSDStyles m_styles;
283
284 VSDStencils m_stencils;
285 const VSDShape *m_stencilShape;
286 bool m_isStencilStarted;
287
288 unsigned m_currentGeometryCount;
289
290 unsigned m_backgroundPageID;
291 unsigned m_currentPageID;
292 VSDPage m_currentPage;
293 VSDPages m_pages;
294
295 std::vector<std::pair<double, double> > m_splineControlPoints;
296 std::vector<double> m_splineKnotVector;
297 double m_splineX, m_splineY;
298 double m_splineLastKnot;
299 unsigned m_splineDegree;
300 unsigned m_splineLevel;
301 unsigned m_currentShapeLevel;
302 bool m_isBackgroundPage;
303 };
304
305 } // namespace libvisio
306
307 #endif /* VSDCONTENTCOLLECTOR_H */
308 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libvisio::VSDContentCollector::m_pageShapeOrder
std::vector< std::list< unsigned > >::iterator m_pageShapeOrder
Definition: VSDContentCollector.h:258
libvisio::VSDContentCollector::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)
Definition: VSDContentCollector.cpp:36
libvisio::VSDStyles
Definition: VSDStyles.h:463
libvisio::VSDContentCollector::m_groupMemberships
std::vector< std::map< unsigned, unsigned > >::iterator m_groupMemberships
Definition: VSDContentCollector.h:252
libvisio::VSDContentCollector::_generateBezierSegmentsFromNURBS
void _generateBezierSegmentsFromNURBS(unsigned degree, const std::vector< std::pair< double, double > > &controlPoints, const std::vector< double > &knotVector)
Definition: VSDContentCollector.cpp:1356
libvisio::VSDContentCollector::m_noLine
bool m_noLine
Definition: VSDContentCollector.h:244
libvisio::VSDShape
Definition: VSDStencils.h:26
libvisio::VSDContentCollector::collectThemeReference
void collectThemeReference(unsigned level, const boost::optional< long > &lineColour, const boost::optional< long > &fillColour, const boost::optional< long > &shadowColour, const boost::optional< long > &fontColour)
Definition: VSDContentCollector.cpp:1042
libvisio::VSDContentCollector::collectShape
void collectShape(unsigned id, unsigned level, unsigned parent, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle)
Definition: VSDContentCollector.cpp:1905
libvisio::VSDContentCollector::collectCharIXStyle
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)
Definition: VSDContentCollector.cpp:2209
libvisio::VSDContentCollector::transformAngle
void transformAngle(double &angle, XForm *txtxform=0)
Definition: VSDContentCollector.cpp:1807
libvisio::VSDContentCollector::~VSDContentCollector
virtual ~VSDContentCollector()
Definition: VSDContentCollector.h:40
libvisio::VSDContentCollector::m_xform
XForm m_xform
Definition: VSDContentCollector.h:228
libvisio::VSDContentCollector::parseFormatId
bool parseFormatId(const char *formatString, unsigned short &result)
Definition: VSDContentCollector.cpp:2773
libvisio::VSDContentCollector::collectText
void collectText(unsigned level, const librevenge::RVNGBinaryData &textStream, TextFormat format)
Definition: VSDContentCollector.cpp:2073
libvisio::VSDContentCollector::m_isPageStarted
bool m_isPageStarted
Definition: VSDContentCollector.h:218
libvisio::VSDContentCollector::m_fields
std::vector< librevenge::RVNGString > m_fields
Definition: VSDContentCollector.h:265
libvisio::VSDContentCollector::m_groupXFormsSequence
std::vector< std::map< unsigned, XForm > > & m_groupXFormsSequence
Definition: VSDContentCollector.h:250
libvisio::VSDContentCollector::m_paraFormats
std::vector< VSDParaStyle > m_paraFormats
Definition: VSDContentCollector.h:270
libvisio::VSDContentCollector::m_noShow
bool m_noShow
Definition: VSDContentCollector.h:246
libvisio::VSDContentCollector::collectDefaultCharStyle
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)
Definition: VSDContentCollector.cpp:2113
libvisio::VSDContentCollector::collectMoveTo
void collectMoveTo(unsigned id, unsigned level, double x, double y)
Definition: VSDContentCollector.cpp:1202
libvisio::VSDContentCollector::collectEllipticalArcTo
void collectEllipticalArcTo(unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc)
Definition: VSDContentCollector.cpp:726
libvisio::VSDLineStyle
Definition: VSDStyles.h:100
libvisio::VSDContentCollector::collectRelLineTo
void collectRelLineTo(unsigned id, unsigned level, double x, double y)
Definition: VSDContentCollector.cpp:979
libvisio::VSDContentCollector::collectShapeData
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)
Definition: VSDContentCollector.cpp:1704
libvisio::VSDContentCollector::m_originalX
double m_originalX
Definition: VSDContentCollector.h:226
libvisio::VSDContentCollector::m_textStream
librevenge::RVNGBinaryData m_textStream
Definition: VSDContentCollector.h:263
libvisio::NURBSData
Definition: VSDTypes.h:95
libvisio::VSDContentCollector::collectForeignData
void collectForeignData(unsigned level, const librevenge::RVNGBinaryData &binaryData)
Definition: VSDContentCollector.cpp:1049
libvisio_utils.h
libvisio::VSDContentCollector::endPage
void endPage()
Definition: VSDContentCollector.cpp:2749
libvisio::VSDContentCollector::_linePropertiesMarkerViewbox
const char * _linePropertiesMarkerViewbox(unsigned marker)
Definition: VSDContentCollector.cpp:67
libvisio::VSDContentCollector::collectFillAndShadow
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)
Definition: VSDContentCollector.cpp:1025
libvisio::VSDContentCollector::_generatePolylineFromNURBS
void _generatePolylineFromNURBS(unsigned degree, const std::vector< std::pair< double, double > > &controlPoints, const std::vector< double > &knotVector, const std::vector< double > &weights)
Definition: VSDContentCollector.cpp:1459
libvisio::VSDContentCollector::appendCharacters
void appendCharacters(librevenge::RVNGString &text, const std::vector< unsigned char > &characters, TextFormat format)
Definition: VSDContentCollector.cpp:2803
libvisio::VSDContentCollector::m_currentLevel
unsigned m_currentLevel
Definition: VSDContentCollector.h:248
libvisio::VSDContentCollector::m_painter
librevenge::RVNGDrawingInterface * m_painter
Definition: VSDContentCollector.h:174
libvisio::VSDContentCollector::m_shadowOffsetX
double m_shadowOffsetX
Definition: VSDContentCollector.h:221
libvisio::VSDTextBlockStyle
Definition: VSDStyles.h:425
libvisio::VSDContentCollector::collectMisc
void collectMisc(unsigned level, const VSDMisc &misc)
Definition: VSDContentCollector.cpp:2970
libvisio::VSDContentCollector::_flushCurrentPage
void _flushCurrentPage()
Definition: VSDContentCollector.cpp:679
libvisio::VSDContentCollector::collectOLEData
void collectOLEData(unsigned id, unsigned level, const librevenge::RVNGBinaryData &oleData)
Definition: VSDContentCollector.cpp:1063
libvisio::VSDContentCollector::m_noFill
bool m_noFill
Definition: VSDContentCollector.h:245
libvisio::VSDContentCollector::collectEllipse
void collectEllipse(unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop)
Definition: VSDContentCollector.cpp:799
libvisio::VSDContentCollector::collectDefaultParaStyle
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 > &flags)
Definition: VSDContentCollector.cpp:2092
libvisio::VSDContentCollector::collectUnhandledChunk
void collectUnhandledChunk(unsigned id, unsigned level)
Definition: VSDContentCollector.cpp:2029
libvisio::VSDContentCollector::_flushShape
void _flushShape()
Definition: VSDContentCollector.cpp:171
libvisio::VSDContentCollector::collectStyleSheet
void collectStyleSheet(unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle)
Definition: VSDContentCollector.cpp:2163
libvisio::VSDPages
Definition: VSDPages.h:34
libvisio::VSDContentCollector::m_defaultParaStyle
VSDParaStyle m_defaultParaStyle
Definition: VSDContentCollector.h:279
libvisio::VSDContentCollector::m_splineDegree
unsigned m_splineDegree
Definition: VSDContentCollector.h:299
libvisio::VSDContentCollector::collectNumericField
void collectNumericField(unsigned id, unsigned level, unsigned short format, double number, int formatStringId)
Definition: VSDContentCollector.cpp:2647
libvisio::VSDContentCollector::collectParaIXStyle
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 > &flags)
Definition: VSDContentCollector.cpp:2199
libvisio::VSDContentCollector::collectSplineEnd
void collectSplineEnd()
Definition: VSDContentCollector.cpp:2055
libvisio::VSDContentCollector::collectName
void collectName(unsigned id, unsigned level, const librevenge::RVNGBinaryData &name, TextFormat format)
Definition: VSDContentCollector.cpp:2148
libvisio::VSDContentCollector::m_scale
double m_scale
Definition: VSDContentCollector.h:223
libvisio::VSDContentCollector::collectArcTo
void collectArcTo(unsigned id, unsigned level, double x2, double y2, double bow)
Definition: VSDContentCollector.cpp:1238
libvisio::VSDContentCollector::collectLine
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)
Definition: VSDContentCollector.cpp:1018
libvisio::VSDContentCollector::m_splineX
double m_splineX
Definition: VSDContentCollector.h:297
libvisio::VSDContentCollector::collectNameList
void collectNameList(unsigned id, unsigned level)
Definition: VSDContentCollector.cpp:2132
libvisio::VSDContentCollector::m_groupMembershipsSequence
std::vector< std::map< unsigned, unsigned > > & m_groupMembershipsSequence
Definition: VSDContentCollector.h:251
libvisio::VSDContentCollector::collectForeignDataType
void collectForeignDataType(unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height)
Definition: VSDContentCollector.cpp:1871
libvisio::VSDContentCollector::_isUniform
bool _isUniform(const std::vector< double > &weights) const
Definition: VSDContentCollector.cpp:1495
libvisio::VSDContentCollector::collectGeometry
void collectGeometry(unsigned id, unsigned level, bool noFill, bool noLine, bool noShow)
Definition: VSDContentCollector.cpp:1187
libvisio::VSDMisc
Definition: VSDTypes.h:205
VSDPages.h
libvisio::VSDContentCollector::m_pageHeight
double m_pageHeight
Definition: VSDContentCollector.h:220
libvisio::VSDContentCollector::m_foreignOffsetY
double m_foreignOffsetY
Definition: VSDContentCollector.h:241
libvisio::VSDContentCollector::collectTextField
void collectTextField(unsigned id, unsigned level, int nameId, int formatStringId)
Definition: VSDContentCollector.cpp:2624
libvisio::VSDContentCollector::_outputQuadraticBezierSegment
void _outputQuadraticBezierSegment(const std::vector< std::pair< double, double > > &points)
Definition: VSDContentCollector.cpp:1315
libvisio::VSDContentCollector::m_documentPageShapeOrders
std::vector< std::list< unsigned > > & m_documentPageShapeOrders
Definition: VSDContentCollector.h:257
libvisio::VSDContentCollector::m_stencilShape
const VSDShape * m_stencilShape
Definition: VSDContentCollector.h:285
libvisio::VSDContentCollector::collectTextBlockStyle
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)
Definition: VSDContentCollector.cpp:2221
libvisio::VSDContentCollector::startPage
void startPage(unsigned pageId)
Definition: VSDContentCollector.cpp:2725
libvisio::VSDContentCollector::m_currentPage
VSDPage m_currentPage
Definition: VSDContentCollector.h:292
libvisio::VSDContentCollector::m_currentFillGeometry
std::vector< librevenge::RVNGPropertyList > m_currentFillGeometry
Definition: VSDContentCollector.h:231
libvisio::VSDContentCollector::collectRelQuadBezTo
void collectRelQuadBezTo(unsigned id, unsigned level, double x, double y, double a, double b)
Definition: VSDContentCollector.cpp:993
libvisio::VSDContentCollector::_handleLevelChange
void _handleLevelChange(unsigned level)
Definition: VSDContentCollector.cpp:2677
libvisio::VSDContentCollector::m_charFormats
std::vector< VSDCharStyle > m_charFormats
Definition: VSDContentCollector.h:269
libvisio::VSDStencils
Definition: VSDStencils.h:76
libvisio::VSDContentCollector::collectPage
void collectPage(unsigned id, unsigned level, unsigned backgroundPageID, bool isBackgroundPage, const VSDName &pageName)
Definition: VSDContentCollector.cpp:1895
libvisio::VSDContentCollector::m_foreignOffsetX
double m_foreignOffsetX
Definition: VSDContentCollector.h:240
libvisio::VSDContentCollector::m_groupXForms
std::map< unsigned, XForm > * m_groupXForms
Definition: VSDContentCollector.h:233
libvisio::VSDOutputElementList
Definition: VSDOutputElementList.h:23
libvisio::VSDContentCollector::_fillAndShadowProperties
void _fillAndShadowProperties(const VSDFillStyle &style, librevenge::RVNGPropertyList &styleProps)
Definition: VSDContentCollector.cpp:2448
libvisio::VSDContentCollector::m_isStencilStarted
bool m_isStencilStarted
Definition: VSDContentCollector.h:286
libvisio::VSDContentCollector
Definition: VSDContentCollector.h:30
libvisio::VSDContentCollector::m_textFormat
TextFormat m_textFormat
Definition: VSDContentCollector.h:268
libvisio::VSDContentCollector::operator=
VSDContentCollector & operator=(const VSDContentCollector &)
libvisio::VSDContentCollector::collectShapesOrder
void collectShapesOrder(unsigned id, unsigned level, const std::vector< unsigned > &shapeIds)
Definition: VSDContentCollector.cpp:1866
libvisio::VSDCollector
Definition: VSDCollector.h:20
libvisio::VSDContentCollector::_NURBSBasis
double _NURBSBasis(unsigned knot, unsigned degree, double point, const std::vector< double > &knotVector)
Definition: VSDContentCollector.cpp:1436
libvisio::VSDContentCollector::collectParaIX
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 > &flags)
Definition: VSDContentCollector.cpp:2081
libvisio::VSDContentCollector::m_misc
VSDMisc m_misc
Definition: VSDContentCollector.h:230
libvisio::VSDContentCollector::m_foreignType
unsigned m_foreignType
Definition: VSDContentCollector.h:238
libvisio::VSDFieldList
Definition: VSDFieldList.h:81
libvisio::VSDCharStyle
Definition: VSDStyles.h:263
libvisio::VSDContentCollector::collectNURBSTo
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)
Definition: VSDContentCollector.cpp:1510
libvisio::VSDContentCollector::m_splineLastKnot
double m_splineLastKnot
Definition: VSDContentCollector.h:298
libvisio::VSDContentCollector::collectInfiniteLine
void collectInfiniteLine(unsigned id, unsigned level, double x1, double y1, double x2, double y2)
Definition: VSDContentCollector.cpp:851
libvisio::VSDContentCollector::m_pageOutputText
std::map< unsigned, VSDOutputElementList > m_pageOutputText
Definition: VSDContentCollector.h:256
libvisio::VSDContentCollector::m_fonts
std::map< unsigned short, VSDFont > m_fonts
Definition: VSDContentCollector.h:247
libvisio::VSDContentCollector::m_stencilFields
VSDFieldList m_stencilFields
Definition: VSDContentCollector.h:266
libvisio::VSDContentCollector::m_foreignFormat
unsigned m_foreignFormat
Definition: VSDContentCollector.h:239
libvisio::VSDContentCollector::collectLineTo
void collectLineTo(unsigned id, unsigned level, double x, double y)
Definition: VSDContentCollector.cpp:1220
libvisio::VSDContentCollector::m_foreignWidth
double m_foreignWidth
Definition: VSDContentCollector.h:242
libvisio::VSDContentCollector::_linePropertiesMarkerScale
double _linePropertiesMarkerScale(unsigned marker)
Definition: VSDContentCollector.cpp:152
libvisio::VSDContentCollector::_flushText
void _flushText()
Definition: VSDContentCollector.cpp:364
libvisio::VSDContentCollector::m_foreignHeight
double m_foreignHeight
Definition: VSDContentCollector.h:243
libvisio::VSDContentCollector::collectOLEList
void collectOLEList(unsigned id, unsigned level)
Definition: VSDContentCollector.cpp:1055
VSDParser.h
libvisio::VSDContentCollector::m_currentForeignProps
librevenge::RVNGPropertyList m_currentForeignProps
Definition: VSDContentCollector.h:236
libvisio::VSDContentCollector::m_splineLevel
unsigned m_splineLevel
Definition: VSDContentCollector.h:300
libvisio::VSDContentCollector::m_names
std::map< unsigned, librevenge::RVNGString > m_names
Definition: VSDContentCollector.h:264
libvisio::VSDContentCollector::m_currentLineGeometry
std::vector< librevenge::RVNGPropertyList > m_currentLineGeometry
Definition: VSDContentCollector.h:232
libvisio::VSDContentCollector::collectMetaData
virtual void collectMetaData(const librevenge::RVNGPropertyList &metaData)
Definition: VSDContentCollector.cpp:2720
libvisio::VSDContentCollector::applyXForm
void applyXForm(double &x, double &y, const XForm &xform)
Definition: VSDContentCollector.cpp:1745
libvisio::VSDContentCollector::m_pageOutputDrawing
std::map< unsigned, VSDOutputElementList > m_pageOutputDrawing
Definition: VSDContentCollector.h:255
libvisio::VSDContentCollector::collectPageSheet
void collectPageSheet(unsigned id, unsigned level)
Definition: VSDContentCollector.cpp:2157
libvisio::VSDContentCollector::m_currentStyleSheet
unsigned m_currentStyleSheet
Definition: VSDContentCollector.h:281
libvisio::VSDContentCollector::m_stencilNames
std::map< unsigned, librevenge::RVNGString > m_stencilNames
Definition: VSDContentCollector.h:264
VSDOutputElementList.h
libvisio::VSDContentCollector::collectFillStyle
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)
Definition: VSDContentCollector.cpp:2182
libvisio::VSDContentCollector::collectTxtXForm
void collectTxtXForm(unsigned level, const XForm &txtxform)
Definition: VSDContentCollector.cpp:1735
libvisio::VSDContentCollector::collectSplineStart
void collectSplineStart(unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree)
Definition: VSDContentCollector.cpp:2034
libvisio::VSDContentCollector::_outputCubicBezierSegment
void _outputCubicBezierSegment(const std::vector< std::pair< double, double > > &points)
Definition: VSDContentCollector.cpp:1287
libvisio::VSDContentCollector::transformFlips
void transformFlips(bool &flipX, bool &flipY)
Definition: VSDContentCollector.cpp:1825
libvisio::VSDContentCollector::endPages
void endPages()
Definition: VSDContentCollector.cpp:2768
libvisio::VSDContentCollector::m_polylineData
std::map< unsigned, PolylineData > m_polylineData
Definition: VSDContentCollector.h:262
libvisio::VSDContentCollector::m_currentOLEData
librevenge::RVNGBinaryData m_currentOLEData
Definition: VSDContentCollector.h:235
libvisio::TextFormat
TextFormat
Definition: VSDTypes.h:157
libvisio::VSDContentCollector::m_styles
VSDStyles m_styles
Definition: VSDContentCollector.h:282
libvisio::VSDFillStyle
Definition: VSDStyles.h:170
libvisio::VSDContentCollector::m_pageWidth
double m_pageWidth
Definition: VSDContentCollector.h:219
libvisio::VSDContentCollector::m_fieldIndex
unsigned m_fieldIndex
Definition: VSDContentCollector.h:267
libvisio::VSDContentCollector::m_backgroundPageID
unsigned m_backgroundPageID
Definition: VSDContentCollector.h:290
libvisio::VSDContentCollector::m_pages
VSDPages m_pages
Definition: VSDContentCollector.h:293
libvisio::VSDContentCollector::m_lineStyle
VSDLineStyle m_lineStyle
Definition: VSDContentCollector.h:272
libvisio::VSDThemeReference
Definition: VSDStyles.h:46
libvisio::VSDContentCollector::m_defaultCharStyle
VSDCharStyle m_defaultCharStyle
Definition: VSDContentCollector.h:278
libvisio::VSDContentCollector::m_fillStyle
VSDFillStyle m_fillStyle
Definition: VSDContentCollector.h:273
libvisio::VSDContentCollector::collectPageProps
void collectPageProps(unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale)
Definition: VSDContentCollector.cpp:1882
libvisio::VSDContentCollector::collectStyleThemeReference
void collectStyleThemeReference(unsigned level, const boost::optional< long > &lineColour, const boost::optional< long > &fillColour, const boost::optional< long > &shadowColour, const boost::optional< long > &fontColour)
Definition: VSDContentCollector.cpp:2609
libvisio::VSDContentCollector::collectXFormData
void collectXFormData(unsigned level, const XForm &xform)
Definition: VSDContentCollector.cpp:1729
libvisio::VSDContentCollector::m_isFirstGeometry
bool m_isFirstGeometry
Definition: VSDContentCollector.h:259
libvisio::VSDContentCollector::_handleForeignData
void _handleForeignData(const librevenge::RVNGBinaryData &data)
Definition: VSDContentCollector.cpp:1069
libvisio::VSDContentCollector::_convertDataToString
void _convertDataToString(librevenge::RVNGString &result, const librevenge::RVNGBinaryData &data, TextFormat format)
Definition: VSDContentCollector.cpp:2139
VSDStyles.h
libvisio
Definition: libvisio_utils.h:70
libvisio::VSDContentCollector::collectRelMoveTo
void collectRelMoveTo(unsigned id, unsigned level, double x, double y)
Definition: VSDContentCollector.cpp:986
libvisio::VSDContentCollector::collectCharIX
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)
Definition: VSDContentCollector.cpp:2099
libvisio::VSDContentCollector::_outputLinearBezierSegment
void _outputLinearBezierSegment(const std::vector< std::pair< double, double > > &points)
Definition: VSDContentCollector.cpp:1338
libvisio::VSDContentCollector::m_splineKnotVector
std::vector< double > m_splineKnotVector
Definition: VSDContentCollector.h:296
libvisio::VSDContentCollector::collectSplineKnot
void collectSplineKnot(unsigned id, unsigned level, double x, double y, double knot)
Definition: VSDContentCollector.cpp:2046
libvisio::VSDContentCollector::m_originalY
double m_originalY
Definition: VSDContentCollector.h:227
libvisio::VSDContentCollector::collectTextBlock
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)
Definition: VSDContentCollector.cpp:2123
libvisio::VSDParaStyle
Definition: VSDStyles.h:350
libvisio::VSDContentCollector::m_themeReference
VSDThemeReference m_themeReference
Definition: VSDContentCollector.h:276
libvisio::VSDPage
Definition: VSDPages.h:19
libvisio::VSDContentCollector::_flushCurrentForeignData
void _flushCurrentForeignData()
Definition: VSDContentCollector.cpp:633
libvisio::VSDContentCollector::m_currentForeignData
librevenge::RVNGBinaryData m_currentForeignData
Definition: VSDContentCollector.h:234
libvisio::VSDContentCollector::m_currentShapeId
unsigned m_currentShapeId
Definition: VSDContentCollector.h:237
libvisio::VSDContentCollector::m_isBackgroundPage
bool m_isBackgroundPage
Definition: VSDContentCollector.h:302
libvisio::VSDContentCollector::m_NURBSData
std::map< unsigned, NURBSData > m_NURBSData
Definition: VSDContentCollector.h:261
libvisio::VSDContentCollector::m_stencils
VSDStencils m_stencils
Definition: VSDContentCollector.h:284
libvisio::VSDContentCollector::m_x
double m_x
Definition: VSDContentCollector.h:224
libvisio::VSDContentCollector::m_splineY
double m_splineY
Definition: VSDContentCollector.h:297
libvisio::VSDContentCollector::_lineProperties
void _lineProperties(const VSDLineStyle &style, librevenge::RVNGPropertyList &styleProps)
Definition: VSDContentCollector.cpp:2230
libvisio::VSDContentCollector::_linePropertiesMarkerPath
const char * _linePropertiesMarkerPath(unsigned marker)
Definition: VSDContentCollector.cpp:103
libvisio::VSDContentCollector::m_currentShapeLevel
unsigned m_currentShapeLevel
Definition: VSDContentCollector.h:301
libvisio::VSDContentCollector::collectRelEllipticalArcTo
void collectRelEllipticalArcTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d)
Definition: VSDContentCollector.cpp:970
libvisio::PolylineData
Definition: VSDTypes.h:122
libvisio::VSDContentCollector::transformPoint
void transformPoint(double &x, double &y, XForm *txtxform=0)
Definition: VSDContentCollector.cpp:1764
libvisio::VSDContentCollector::m_splineControlPoints
std::vector< std::pair< double, double > > m_splineControlPoints
Definition: VSDContentCollector.h:295
libvisio::VSDContentCollector::m_isShapeStarted
bool m_isShapeStarted
Definition: VSDContentCollector.h:249
libvisio::VSDContentCollector::m_textBlockStyle
VSDTextBlockStyle m_textBlockStyle
Definition: VSDContentCollector.h:274
libvisio::XForm
Definition: VSDTypes.h:22
VSDCollector.h
libvisio::VSDContentCollector::m_currentPageID
unsigned m_currentPageID
Definition: VSDContentCollector.h:291
libvisio::VSDContentCollector::m_currentGeometryCount
unsigned m_currentGeometryCount
Definition: VSDContentCollector.h:288
libvisio::VSDContentCollector::m_y
double m_y
Definition: VSDContentCollector.h:225
libvisio::VSDContentCollector::m_shapeOutputText
VSDOutputElementList * m_shapeOutputText
Definition: VSDContentCollector.h:254
libvisio::VSDName
Definition: VSDTypes.h:178
libvisio::VSDContentCollector::collectLineStyle
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)
Definition: VSDContentCollector.cpp:2174
libvisio::VSDContentCollector::m_shapeOutputDrawing
VSDOutputElementList * m_shapeOutputDrawing
Definition: VSDContentCollector.h:254
libvisio::VSDContentCollector::_appendField
void _appendField(librevenge::RVNGString &text)
Definition: VSDContentCollector.cpp:2962
libvisio::VSDContentCollector::collectFieldList
void collectFieldList(unsigned id, unsigned level)
Definition: VSDContentCollector.cpp:2618
libvisio::VSDContentCollector::collectRelCubBezTo
void collectRelCubBezTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d)
Definition: VSDContentCollector.cpp:940
libvisio::VSDContentCollector::collectPolylineTo
void collectPolylineTo(unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType, const std::vector< std::pair< double, double > > &points)
Definition: VSDContentCollector.cpp:1623
libvisio::VSDContentCollector::_flushCurrentPath
void _flushCurrentPath()
Definition: VSDContentCollector.cpp:207
libvisio::VSDContentCollector::m_shadowOffsetY
double m_shadowOffsetY
Definition: VSDContentCollector.h:222
libvisio::VSDContentCollector::m_currentPageNumber
unsigned m_currentPageNumber
Definition: VSDContentCollector.h:253
libvisio::VSDContentCollector::m_txtxform
XForm * m_txtxform
Definition: VSDContentCollector.h:229
libvisio::VSDContentCollector::_applyLinePattern
void _applyLinePattern()