- 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 /* libvisio
3 * Version: MPL 1.1 / GPLv2+ / LGPLv2+
4 *
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License or as specified alternatively below. You may obtain a copy of
8 * the License at http://www.mozilla.org/MPL/
9 *
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
13 * License.
14 *
15 * Major Contributor(s):
16 * Copyright (C) 2011 Fridrich Strba <fridrich.strba@bluewin.ch>
17 * Copyright (C) 2011 Eilidh McAdam <tibbylickle@gmail.com>
18 *
19 *
20 * All Rights Reserved.
21 *
22 * For minor contributions see the git repository.
23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPLv2+"), or
26 * the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
27 * in which case the provisions of the GPLv2+ or the LGPLv2+ are applicable
28 * instead of those above.
29 */
30
31 #ifndef VSDCONTENTCOLLECTOR_H
32 #define VSDCONTENTCOLLECTOR_H
33
34 #include <locale.h>
35 #include <sstream>
36 #include <string>
37 #include <cmath>
38 #include <map>
39 #include <list>
40 #include <vector>
41 #include <libwpg/libwpg.h>
42 #include "libvisio_utils.h"
43 #include "VSDCollector.h"
44 #include "VSDParser.h"
45 #include "VSDOutputElementList.h"
46 #include "VSDStyles.h"
47 #include "VSDPages.h"
48
49 namespace libvisio
50 {
51
52 class VSDContentCollector : public VSDCollector
53 {
54 public:
55 VSDContentCollector(
56 libwpg::WPGPaintInterface *painter,
57 std::vector<std::map<unsigned, XForm> > &groupXFormsSequence,
58 std::vector<std::map<unsigned, unsigned> > &groupMembershipsSequence,
59 std::vector<std::list<unsigned> > &documentPageShapeOrders,
60 VSDStyles &styles, VSDStencils &stencils
61 );
62 virtual ~VSDContentCollector()
63 {
64 if (m_txtxform) delete(m_txtxform);
65 };
66
67 void collectEllipticalArcTo(unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc);
68 void collectForeignData(unsigned level, const WPXBinaryData &binaryData);
69 void collectOLEList(unsigned id, unsigned level);
70 void collectOLEData(unsigned id, unsigned level, const WPXBinaryData &oleData);
71 void collectEllipse(unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop);
72 void collectLine(unsigned level, const boost::optional<double> &strokeWidth, const boost::optional<Colour> &c, const boost::optional<unsigned char> &linePattern,
73 const boost::optional<unsigned char> &startMarker, const boost::optional<unsigned char> &endMarker,
74 const boost::optional<unsigned char> &lineCap);
75 void collectFillAndShadow(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
76 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
77 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
78 const boost::optional<Colour> &shfgc, const boost::optional<double> &shadowOffsetX, const boost::optional<double> &shadowOffsetY);
79 void collectFillAndShadow(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
80 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
81 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
82 const boost::optional<Colour> &shfgc);
83 void collectGeometry(unsigned id, unsigned level, bool noFill, bool noLine, bool noShow);
84 void collectMoveTo(unsigned id, unsigned level, double x, double y);
85 void collectLineTo(unsigned id, unsigned level, double x, double y);
86 void collectArcTo(unsigned id, unsigned level, double x2, double y2, double bow);
87 void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, unsigned char xType, unsigned char yType, unsigned degree,
88 const std::vector<std::pair<double, double> > &ctrlPnts, const std::vector<double> &kntVec, const std::vector<double> &weights);
89 void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID);
90 void collectNURBSTo(unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, const NURBSData &data);
91 void collectPolylineTo(unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType,
92 const std::vector<std::pair<double, double> > &points);
93 void collectPolylineTo(unsigned id, unsigned level, double x, double y, unsigned dataID);
94 void collectPolylineTo(unsigned id, unsigned level, double x, double y, const PolylineData &data);
95 void collectShapeData(unsigned id, unsigned level, unsigned char xType, unsigned char yType, unsigned degree, double lastKnot,
96 std::vector<std::pair<double, double> > controlPoints, std::vector<double> knotVector, std::vector<double> weights);
97 void collectShapeData(unsigned id, unsigned level, unsigned char xType, unsigned char yType, std::vector<std::pair<double, double> > points);
98 void collectXFormData(unsigned level, const XForm &xform);
99 void collectTxtXForm(unsigned level, const XForm &txtxform);
100 void collectShapesOrder(unsigned id, unsigned level, const std::vector<unsigned> &shapeIds);
101 void collectForeignDataType(unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height);
102 void collectPageProps(unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale);
103 void collectPage(unsigned id, unsigned level, unsigned backgroundPageID, bool isBackgroundPage, const VSDName &pageName);
104 void collectShape(unsigned id, unsigned level, unsigned parent, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle);
105 void collectSplineStart(unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree);
106 void collectSplineKnot(unsigned id, unsigned level, double x, double y, double knot);
107 void collectSplineEnd();
108 void collectInfiniteLine(unsigned id, unsigned level, double x1, double y1, double x2, double y2);
109 void collectRelCubBezTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d);
110 void collectRelEllipticalArcTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d);
111 void collectRelLineTo(unsigned id, unsigned level, double x, double y);
112 void collectRelMoveTo(unsigned id, unsigned level, double x, double y);
113 void collectRelQuadBezTo(unsigned id, unsigned level, double x, double y, double a, double b);
114
115 void collectUnhandledChunk(unsigned id, unsigned level);
116
117 void collectText(unsigned level, const WPXBinaryData &textStream, TextFormat format);
118 void collectCharIX(unsigned id, unsigned level, unsigned charCount, const boost::optional<VSDName> &font,
119 const boost::optional<Colour> &fontColour, const boost::optional<double> &fontSize, const boost::optional<bool> &bold,
120 const boost::optional<bool> &italic, const boost::optional<bool> &underline, const boost::optional<bool> &doubleunderline,
121 const boost::optional<bool> &strikeout, const boost::optional<bool> &doublestrikeout, const boost::optional<bool> &allcaps,
122 const boost::optional<bool> &initcaps, const boost::optional<bool> &smallcaps, const boost::optional<bool> &superscript,
123 const boost::optional<bool> &subscript);
124 void collectDefaultCharStyle(unsigned charCount, const boost::optional<VSDName> &font, const boost::optional<Colour> &fontColour,
125 const boost::optional<double> &fontSize, const boost::optional<bool> &bold, const boost::optional<bool> &italic,
126 const boost::optional<bool> &underline, const boost::optional<bool> &doubleunderline, const boost::optional<bool> &strikeout,
127 const boost::optional<bool> &doublestrikeout, const boost::optional<bool> &allcaps, const boost::optional<bool> &initcaps,
128 const boost::optional<bool> &smallcaps, const boost::optional<bool> &superscript, const boost::optional<bool> &subscript);
129 void collectParaIX(unsigned id, unsigned level, unsigned charCount, const boost::optional<double> &indFirst,
130 const boost::optional<double> &indLeft, const boost::optional<double> &indRight, const boost::optional<double> &spLine,
131 const boost::optional<double> &spBefore, const boost::optional<double> &spAfter, const boost::optional<unsigned char> &align,
132 const boost::optional<unsigned> &flags);
133 void collectDefaultParaStyle(unsigned charCount, const boost::optional<double> &indFirst, const boost::optional<double> &indLeft,
134 const boost::optional<double> &indRight, const boost::optional<double> &spLine, const boost::optional<double> &spBefore,
135 const boost::optional<double> &spAfter, const boost::optional<unsigned char> &align, const boost::optional<unsigned> &flags);
136 void collectTextBlock(unsigned level, const boost::optional<double> &leftMargin, const boost::optional<double> &rightMargin,
137 const boost::optional<double> &topMargin, const boost::optional<double> &bottomMargin,
138 const boost::optional<unsigned char> &verticalAlign, const boost::optional<bool> &isBgFilled,
139 const boost::optional<Colour> &bgColour, const boost::optional<double> &defaultTabStop,
140 const boost::optional<unsigned char> &textDirection);
141 void collectNameList(unsigned id, unsigned level);
142 void collectName(unsigned id, unsigned level, const WPXBinaryData &name, TextFormat format);
143 void collectPageSheet(unsigned id, unsigned level);
144 void collectMisc(unsigned level, const VSDMisc &misc);
145
146
147 // Style collectors
148 void collectStyleSheet(unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle);
149 void collectLineStyle(unsigned level, const boost::optional<double> &strokeWidth, const boost::optional<Colour> &c, const boost::optional<unsigned char> &linePattern,
150 const boost::optional<unsigned char> &startMarker, const boost::optional<unsigned char> &endMarker,
151 const boost::optional<unsigned char> &lineCap);
152 void collectFillStyle(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
153 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
154 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
155 const boost::optional<Colour> &shfgc, const boost::optional<double> &shadowOffsetX, const boost::optional<double> &shadowOffsetY);
156 void collectFillStyle(unsigned level, const boost::optional<Colour> &colourFG, const boost::optional<Colour> &colourBG,
157 const boost::optional<unsigned char> &fillPattern, const boost::optional<double> &fillFGTransparency,
158 const boost::optional<double> &fillBGTransparency, const boost::optional<unsigned char> &shadowPattern,
159 const boost::optional<Colour> &shfgc);
160 void collectCharIXStyle(unsigned id, unsigned level, unsigned charCount, const boost::optional<VSDName> &font,
161 const boost::optional<Colour> &fontColour, const boost::optional<double> &fontSize, const boost::optional<bool> &bold,
162 const boost::optional<bool> &italic, const boost::optional<bool> &underline, const boost::optional<bool> &doubleunderline,
163 const boost::optional<bool> &strikeout, const boost::optional<bool> &doublestrikeout, const boost::optional<bool> &allcaps,
164 const boost::optional<bool> &initcaps, const boost::optional<bool> &smallcaps, const boost::optional<bool> &superscript,
165 const boost::optional<bool> &subscript);
166 void collectParaIXStyle(unsigned id, unsigned level, unsigned charCount, const boost::optional<double> &indFirst,
167 const boost::optional<double> &indLeft, const boost::optional<double> &indRight, const boost::optional<double> &spLine,
168 const boost::optional<double> &spBefore, const boost::optional<double> &spAfter, const boost::optional<unsigned char> &align,
169 const boost::optional<unsigned> &flags);
170 void collectTextBlockStyle(unsigned level, const boost::optional<double> &leftMargin, const boost::optional<double> &rightMargin,
171 const boost::optional<double> &topMargin, const boost::optional<double> &bottomMargin,
172 const boost::optional<unsigned char> &verticalAlign, const boost::optional<bool> &isBgFilled,
173 const boost::optional<Colour> &bgColour, const boost::optional<double> &defaultTabStop,
174 const boost::optional<unsigned char> &textDirection);
175
176 // Field list
177 void collectFieldList(unsigned id, unsigned level);
178 void collectTextField(unsigned id, unsigned level, int nameId, int formatStringId);
179 void collectNumericField(unsigned id, unsigned level, unsigned short format, double number, int formatStringId);
180
181 void startPage(unsigned pageId);
182 void endPage();
183 void endPages();
184
185
186 private:
187 VSDContentCollector(const VSDContentCollector &);
188 VSDContentCollector &operator=(const VSDContentCollector &);
189 libwpg::WPGPaintInterface *m_painter;
190
191 void applyXForm(double &x, double &y, const XForm &xform);
192
193 void transformPoint(double &x, double &y, XForm *txtxform = 0);
194 void transformAngle(double &angle, XForm *txtxform = 0);
195 void transformFlips(bool &flipX, bool &flipY);
196
197 double _NURBSBasis(unsigned knot, unsigned degree, double point, const std::vector<double> &knotVector);
198
199 void _flushShape();
200 void _flushCurrentPath();
201 void _flushText();
202 void _flushCurrentForeignData();
203 void _flushCurrentPage();
204
205 void _handleLevelChange(unsigned level);
206
207 void _handleForeignData(const WPXBinaryData &data);
208
209 void _lineProperties(const VSDLineStyle &style, WPXPropertyList &styleProps);
210 void _fillAndShadowProperties(const VSDFillStyle &style, WPXPropertyList &styleProps);
211
212 void _applyLinePattern();
213 const char *_linePropertiesMarkerViewbox(unsigned marker);
214 const char *_linePropertiesMarkerPath(unsigned marker);
215 double _linePropertiesMarkerScale(unsigned marker);
216
217 void appendCharacters(WPXString &text, const std::vector<unsigned char> &characters, TextFormat format);
218 void appendCharacters(WPXString &text, const std::vector<unsigned char> &characters);
219 void _convertDataToString(WPXString &result, const WPXBinaryData &data, TextFormat format);
220 bool parseFormatId( const char *formatString, unsigned short &result );
221 void _appendField(WPXString &text);
222
223 // NURBS processing functions
224 bool _isUniform(const std::vector<double> &weights) const;
225 void _generatePolylineFromNURBS(unsigned degree, const std::vector<std::pair<double, double> > &controlPoints,
226 const std::vector<double> &knotVector, const std::vector<double> &weights);
227 void _generateBezierSegmentsFromNURBS(unsigned degree, const std::vector<std::pair<double, double> > &controlPoints,
228 const std::vector<double> &knotVector);
229 void _outputCubicBezierSegment(const std::vector<std::pair<double, double> > &points);
230 void _outputQuadraticBezierSegment(const std::vector<std::pair<double, double> > &points);
231 void _outputLinearBezierSegment(const std::vector<std::pair<double, double> > &points);
232
233 bool m_isPageStarted;
234 double m_pageWidth;
235 double m_pageHeight;
236 double m_shadowOffsetX;
237 double m_shadowOffsetY;
238 double m_scale;
239 double m_x;
240 double m_y;
241 double m_originalX;
242 double m_originalY;
243 XForm m_xform;
244 XForm *m_txtxform;
245 VSDMisc m_misc;
246 std::vector<WPXPropertyList> m_currentFillGeometry;
247 std::vector<WPXPropertyList> m_currentLineGeometry;
248 std::map<unsigned, XForm> *m_groupXForms;
249 WPXBinaryData m_currentForeignData;
250 WPXBinaryData m_currentOLEData;
251 WPXPropertyList m_currentForeignProps;
252 unsigned m_currentShapeId;
253 unsigned m_foreignType;
254 unsigned m_foreignFormat;
255 double m_foreignOffsetX;
256 double m_foreignOffsetY;
257 double m_foreignWidth;
258 double m_foreignHeight;
259 bool m_noLine;
260 bool m_noFill;
261 bool m_noShow;
262 std::map<unsigned short, VSDFont> m_fonts;
263 unsigned m_currentLevel;
264 bool m_isShapeStarted;
265 std::vector<std::map<unsigned, XForm> > &m_groupXFormsSequence;
266 std::vector<std::map<unsigned, unsigned> > &m_groupMembershipsSequence;
267 std::vector<std::map<unsigned, unsigned> >::iterator m_groupMemberships;
268 unsigned m_currentPageNumber;
269 VSDOutputElementList *m_shapeOutputDrawing, *m_shapeOutputText;
270 std::map<unsigned, VSDOutputElementList> m_pageOutputDrawing;
271 std::map<unsigned, VSDOutputElementList> m_pageOutputText;
272 std::vector<std::list<unsigned> > &m_documentPageShapeOrders;
273 std::vector<std::list<unsigned> >::iterator m_pageShapeOrder;
274 bool m_isFirstGeometry;
275
276 std::map<unsigned, NURBSData> m_NURBSData;
277 std::map<unsigned, PolylineData> m_polylineData;
278 WPXBinaryData m_textStream;
279 std::map<unsigned, WPXString> m_names, m_stencilNames;
280 std::vector<WPXString> m_fields;
281 VSDFieldList m_stencilFields;
282 unsigned m_fieldIndex;
283 TextFormat m_textFormat;
284 std::vector<VSDCharStyle> m_charFormats;
285 std::vector<VSDParaStyle> m_paraFormats;
286
287 VSDLineStyle m_lineStyle;
288 VSDFillStyle m_fillStyle;
289 VSDTextBlockStyle m_textBlockStyle;
290
291 VSDCharStyle m_defaultCharStyle;
292 VSDParaStyle m_defaultParaStyle;
293
294 unsigned m_currentStyleSheet;
295 VSDStyles m_styles;
296
297 VSDStencils m_stencils;
298 const VSDShape *m_stencilShape;
299 bool m_isStencilStarted;
300
301 unsigned m_currentGeometryCount;
302
303 unsigned m_backgroundPageID;
304 unsigned m_currentPageID;
305 VSDPage m_currentPage;
306 VSDPages m_pages;
307
308 std::vector<std::pair<double, double> > m_splineControlPoints;
309 std::vector<double> m_splineKnotVector;
310 double m_splineX, m_splineY;
311 double m_splineLastKnot;
312 unsigned m_splineDegree;
313 unsigned m_splineLevel;
314 unsigned m_currentShapeLevel;
315 bool m_isBackgroundPage;
316 };
317
318 } // namespace libvisio
319
320 #endif /* VSDCONTENTCOLLECTOR_H */
321 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libvisio::VSDContentCollector::m_pageShapeOrder
std::vector< std::list< unsigned > >::iterator m_pageShapeOrder
Definition: VSDContentCollector.h:273
libvisio::VSDStyles
Definition: VSDStyles.h:436
libvisio::VSDContentCollector::m_groupMemberships
std::vector< std::map< unsigned, unsigned > >::iterator m_groupMemberships
Definition: VSDContentCollector.h:267
libvisio::VSDContentCollector::_generateBezierSegmentsFromNURBS
void _generateBezierSegmentsFromNURBS(unsigned degree, const std::vector< std::pair< double, double > > &controlPoints, const std::vector< double > &knotVector)
Definition: VSDContentCollector.cpp:1385
libvisio::VSDContentCollector::m_noLine
bool m_noLine
Definition: VSDContentCollector.h:259
libvisio::VSDShape
Definition: VSDStencils.h:47
libvisio::VSDContentCollector::collectShape
void collectShape(unsigned id, unsigned level, unsigned parent, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle)
Definition: VSDContentCollector.cpp:1928
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:2232
libvisio::VSDContentCollector::transformAngle
void transformAngle(double &angle, XForm *txtxform=0)
Definition: VSDContentCollector.cpp:1833
libvisio::VSDContentCollector::~VSDContentCollector
virtual ~VSDContentCollector()
Definition: VSDContentCollector.h:62
libvisio::VSDContentCollector::m_xform
XForm m_xform
Definition: VSDContentCollector.h:243
libvisio::VSDContentCollector::parseFormatId
bool parseFormatId(const char *formatString, unsigned short &result)
Definition: VSDContentCollector.cpp:2776
libvisio::VSDContentCollector::m_isPageStarted
bool m_isPageStarted
Definition: VSDContentCollector.h:233
libvisio::VSDContentCollector::m_groupXFormsSequence
std::vector< std::map< unsigned, XForm > > & m_groupXFormsSequence
Definition: VSDContentCollector.h:265
libvisio::VSDContentCollector::m_paraFormats
std::vector< VSDParaStyle > m_paraFormats
Definition: VSDContentCollector.h:285
libvisio::VSDContentCollector::m_noShow
bool m_noShow
Definition: VSDContentCollector.h:261
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:2136
libvisio::VSDContentCollector::collectMoveTo
void collectMoveTo(unsigned id, unsigned level, double x, double y)
Definition: VSDContentCollector.cpp:1231
libvisio::VSDContentCollector::collectEllipticalArcTo
void collectEllipticalArcTo(unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc)
Definition: VSDContentCollector.cpp:763
libvisio::VSDLineStyle
Definition: VSDStyles.h:73
libvisio::VSDContentCollector::collectRelLineTo
void collectRelLineTo(unsigned id, unsigned level, double x, double y)
Definition: VSDContentCollector.cpp:1016
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:1733
libvisio::VSDContentCollector::m_originalX
double m_originalX
Definition: VSDContentCollector.h:241
libvisio::NURBSData
Definition: VSDTypes.h:101
libvisio_utils.h
libvisio::VSDContentCollector::endPage
void endPage()
Definition: VSDContentCollector.cpp:2756
libvisio::VSDContentCollector::_linePropertiesMarkerViewbox
const char * _linePropertiesMarkerViewbox(unsigned marker)
Definition: VSDContentCollector.cpp:109
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:1062
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:1488
libvisio::VSDContentCollector::m_currentLevel
unsigned m_currentLevel
Definition: VSDContentCollector.h:263
libvisio::VSDContentCollector::m_shadowOffsetX
double m_shadowOffsetX
Definition: VSDContentCollector.h:236
libvisio::VSDTextBlockStyle
Definition: VSDStyles.h:398
libvisio::VSDContentCollector::collectMisc
void collectMisc(unsigned level, const VSDMisc &misc)
Definition: VSDContentCollector.cpp:2973
libvisio::VSDContentCollector::_flushCurrentPage
void _flushCurrentPage()
Definition: VSDContentCollector.cpp:716
libvisio::VSDContentCollector::m_textStream
WPXBinaryData m_textStream
Definition: VSDContentCollector.h:278
libvisio::VSDContentCollector::m_noFill
bool m_noFill
Definition: VSDContentCollector.h:260
libvisio::VSDContentCollector::VSDContentCollector
VSDContentCollector(libwpg::WPGPaintInterface *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:78
libvisio::VSDContentCollector::collectEllipse
void collectEllipse(unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop)
Definition: VSDContentCollector.cpp:836
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:2115
libvisio::VSDContentCollector::collectUnhandledChunk
void collectUnhandledChunk(unsigned id, unsigned level)
Definition: VSDContentCollector.cpp:2052
libvisio::VSDContentCollector::m_fields
std::vector< WPXString > m_fields
Definition: VSDContentCollector.h:280
libvisio::VSDContentCollector::_flushShape
void _flushShape()
Definition: VSDContentCollector.cpp:213
libvisio::VSDContentCollector::collectStyleSheet
void collectStyleSheet(unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle)
Definition: VSDContentCollector.cpp:2186
libvisio::VSDPages
Definition: VSDPages.h:55
libvisio::VSDContentCollector::m_defaultParaStyle
VSDParaStyle m_defaultParaStyle
Definition: VSDContentCollector.h:292
libvisio::VSDContentCollector::m_splineDegree
unsigned m_splineDegree
Definition: VSDContentCollector.h:312
libvisio::VSDContentCollector::collectNumericField
void collectNumericField(unsigned id, unsigned level, unsigned short format, double number, int formatStringId)
Definition: VSDContentCollector.cpp:2659
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:2222
libvisio::VSDContentCollector::_handleForeignData
void _handleForeignData(const WPXBinaryData &data)
Definition: VSDContentCollector.cpp:1098
libvisio::VSDContentCollector::collectSplineEnd
void collectSplineEnd()
Definition: VSDContentCollector.cpp:2078
libvisio::VSDContentCollector::m_scale
double m_scale
Definition: VSDContentCollector.h:238
libvisio::VSDContentCollector::collectArcTo
void collectArcTo(unsigned id, unsigned level, double x2, double y2, double bow)
Definition: VSDContentCollector.cpp:1267
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:1055
libvisio::VSDContentCollector::m_splineX
double m_splineX
Definition: VSDContentCollector.h:310
libvisio::VSDContentCollector::collectNameList
void collectNameList(unsigned id, unsigned level)
Definition: VSDContentCollector.cpp:2155
libvisio::VSDContentCollector::m_groupMembershipsSequence
std::vector< std::map< unsigned, unsigned > > & m_groupMembershipsSequence
Definition: VSDContentCollector.h:266
libvisio::VSDContentCollector::collectForeignDataType
void collectForeignDataType(unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height)
Definition: VSDContentCollector.cpp:1894
libvisio::VSDContentCollector::_isUniform
bool _isUniform(const std::vector< double > &weights) const
Definition: VSDContentCollector.cpp:1524
libvisio::VSDContentCollector::collectGeometry
void collectGeometry(unsigned id, unsigned level, bool noFill, bool noLine, bool noShow)
Definition: VSDContentCollector.cpp:1216
libvisio::VSDMisc
Definition: VSDTypes.h:211
VSDPages.h
libvisio::VSDContentCollector::m_currentForeignProps
WPXPropertyList m_currentForeignProps
Definition: VSDContentCollector.h:251
libvisio::VSDContentCollector::m_pageHeight
double m_pageHeight
Definition: VSDContentCollector.h:235
libvisio::VSDContentCollector::m_foreignOffsetY
double m_foreignOffsetY
Definition: VSDContentCollector.h:256
libvisio::VSDContentCollector::collectTextField
void collectTextField(unsigned id, unsigned level, int nameId, int formatStringId)
Definition: VSDContentCollector.cpp:2636
libvisio::VSDContentCollector::_outputQuadraticBezierSegment
void _outputQuadraticBezierSegment(const std::vector< std::pair< double, double > > &points)
Definition: VSDContentCollector.cpp:1344
libvisio::VSDContentCollector::m_documentPageShapeOrders
std::vector< std::list< unsigned > > & m_documentPageShapeOrders
Definition: VSDContentCollector.h:272
libvisio::VSDContentCollector::m_stencilShape
const VSDShape * m_stencilShape
Definition: VSDContentCollector.h:298
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:2244
libvisio::VSDContentCollector::startPage
void startPage(unsigned pageId)
Definition: VSDContentCollector.cpp:2732
libvisio::VSDContentCollector::m_currentPage
VSDPage m_currentPage
Definition: VSDContentCollector.h:305
libvisio::VSDContentCollector::collectRelQuadBezTo
void collectRelQuadBezTo(unsigned id, unsigned level, double x, double y, double a, double b)
Definition: VSDContentCollector.cpp:1030
libvisio::VSDContentCollector::_handleLevelChange
void _handleLevelChange(unsigned level)
Definition: VSDContentCollector.cpp:2689
libvisio::VSDContentCollector::m_charFormats
std::vector< VSDCharStyle > m_charFormats
Definition: VSDContentCollector.h:284
libvisio::VSDStencils
Definition: VSDStencils.h:95
libvisio::VSDContentCollector::collectPage
void collectPage(unsigned id, unsigned level, unsigned backgroundPageID, bool isBackgroundPage, const VSDName &pageName)
Definition: VSDContentCollector.cpp:1918
libvisio::VSDContentCollector::m_foreignOffsetX
double m_foreignOffsetX
Definition: VSDContentCollector.h:255
libvisio::VSDContentCollector::m_groupXForms
std::map< unsigned, XForm > * m_groupXForms
Definition: VSDContentCollector.h:248
libvisio::VSDOutputElementList
Definition: VSDOutputElementList.h:45
libvisio::VSDContentCollector::m_currentFillGeometry
std::vector< WPXPropertyList > m_currentFillGeometry
Definition: VSDContentCollector.h:246
libvisio::VSDContentCollector::m_isStencilStarted
bool m_isStencilStarted
Definition: VSDContentCollector.h:299
libvisio::VSDContentCollector
Definition: VSDContentCollector.h:52
libvisio::VSDContentCollector::m_textFormat
TextFormat m_textFormat
Definition: VSDContentCollector.h:283
libvisio::VSDContentCollector::operator=
VSDContentCollector & operator=(const VSDContentCollector &)
libvisio::VSDContentCollector::collectShapesOrder
void collectShapesOrder(unsigned id, unsigned level, const std::vector< unsigned > &shapeIds)
Definition: VSDContentCollector.cpp:1889
libvisio::VSDCollector
Definition: VSDCollector.h:41
libvisio::VSDContentCollector::_NURBSBasis
double _NURBSBasis(unsigned knot, unsigned degree, double point, const std::vector< double > &knotVector)
Definition: VSDContentCollector.cpp:1465
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:2104
libvisio::VSDContentCollector::m_misc
VSDMisc m_misc
Definition: VSDContentCollector.h:245
libvisio::VSDContentCollector::m_foreignType
unsigned m_foreignType
Definition: VSDContentCollector.h:253
libvisio::VSDFieldList
Definition: VSDFieldList.h:102
libvisio::VSDCharStyle
Definition: VSDStyles.h:236
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:1539
libvisio::VSDContentCollector::m_splineLastKnot
double m_splineLastKnot
Definition: VSDContentCollector.h:311
libvisio::VSDContentCollector::collectInfiniteLine
void collectInfiniteLine(unsigned id, unsigned level, double x1, double y1, double x2, double y2)
Definition: VSDContentCollector.cpp:888
libvisio::VSDContentCollector::m_pageOutputText
std::map< unsigned, VSDOutputElementList > m_pageOutputText
Definition: VSDContentCollector.h:271
libvisio::VSDContentCollector::_appendField
void _appendField(WPXString &text)
Definition: VSDContentCollector.cpp:2965
libvisio::VSDContentCollector::m_fonts
std::map< unsigned short, VSDFont > m_fonts
Definition: VSDContentCollector.h:262
libvisio::VSDContentCollector::m_stencilFields
VSDFieldList m_stencilFields
Definition: VSDContentCollector.h:281
libvisio::VSDContentCollector::m_foreignFormat
unsigned m_foreignFormat
Definition: VSDContentCollector.h:254
libvisio::VSDContentCollector::m_painter
libwpg::WPGPaintInterface * m_painter
Definition: VSDContentCollector.h:189
libvisio::VSDContentCollector::collectLineTo
void collectLineTo(unsigned id, unsigned level, double x, double y)
Definition: VSDContentCollector.cpp:1249
libvisio::VSDContentCollector::m_foreignWidth
double m_foreignWidth
Definition: VSDContentCollector.h:257
libvisio::VSDContentCollector::_linePropertiesMarkerScale
double _linePropertiesMarkerScale(unsigned marker)
Definition: VSDContentCollector.cpp:194
libvisio::VSDContentCollector::_flushText
void _flushText()
Definition: VSDContentCollector.cpp:402
libvisio::VSDContentCollector::m_foreignHeight
double m_foreignHeight
Definition: VSDContentCollector.h:258
libvisio::VSDContentCollector::collectOLEList
void collectOLEList(unsigned id, unsigned level)
Definition: VSDContentCollector.cpp:1084
VSDParser.h
libvisio::VSDContentCollector::m_splineLevel
unsigned m_splineLevel
Definition: VSDContentCollector.h:313
libvisio::VSDContentCollector::applyXForm
void applyXForm(double &x, double &y, const XForm &xform)
Definition: VSDContentCollector.cpp:1774
libvisio::VSDContentCollector::m_names
std::map< unsigned, WPXString > m_names
Definition: VSDContentCollector.h:279
libvisio::VSDContentCollector::m_pageOutputDrawing
std::map< unsigned, VSDOutputElementList > m_pageOutputDrawing
Definition: VSDContentCollector.h:270
libvisio::VSDContentCollector::collectPageSheet
void collectPageSheet(unsigned id, unsigned level)
Definition: VSDContentCollector.cpp:2180
libvisio::VSDContentCollector::m_stencilNames
std::map< unsigned, WPXString > m_stencilNames
Definition: VSDContentCollector.h:279
libvisio::VSDContentCollector::m_currentStyleSheet
unsigned m_currentStyleSheet
Definition: VSDContentCollector.h:294
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:2205
libvisio::VSDContentCollector::collectTxtXForm
void collectTxtXForm(unsigned level, const XForm &txtxform)
Definition: VSDContentCollector.cpp:1764
libvisio::VSDContentCollector::collectSplineStart
void collectSplineStart(unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree)
Definition: VSDContentCollector.cpp:2057
libvisio::VSDContentCollector::_outputCubicBezierSegment
void _outputCubicBezierSegment(const std::vector< std::pair< double, double > > &points)
Definition: VSDContentCollector.cpp:1316
libvisio::VSDContentCollector::transformFlips
void transformFlips(bool &flipX, bool &flipY)
Definition: VSDContentCollector.cpp:1851
libvisio::VSDContentCollector::endPages
void endPages()
Definition: VSDContentCollector.cpp:2771
libvisio::VSDContentCollector::m_polylineData
std::map< unsigned, PolylineData > m_polylineData
Definition: VSDContentCollector.h:277
libvisio::TextFormat
TextFormat
Definition: VSDTypes.h:163
libvisio::VSDContentCollector::m_styles
VSDStyles m_styles
Definition: VSDContentCollector.h:295
libvisio::VSDFillStyle
Definition: VSDStyles.h:143
libvisio::VSDContentCollector::m_pageWidth
double m_pageWidth
Definition: VSDContentCollector.h:234
libvisio::VSDContentCollector::collectName
void collectName(unsigned id, unsigned level, const WPXBinaryData &name, TextFormat format)
Definition: VSDContentCollector.cpp:2171
libvisio::VSDContentCollector::m_fieldIndex
unsigned m_fieldIndex
Definition: VSDContentCollector.h:282
libvisio::VSDContentCollector::collectText
void collectText(unsigned level, const WPXBinaryData &textStream, TextFormat format)
Definition: VSDContentCollector.cpp:2096
libvisio::VSDContentCollector::m_backgroundPageID
unsigned m_backgroundPageID
Definition: VSDContentCollector.h:303
libvisio::VSDContentCollector::m_pages
VSDPages m_pages
Definition: VSDContentCollector.h:306
libvisio::VSDContentCollector::m_lineStyle
VSDLineStyle m_lineStyle
Definition: VSDContentCollector.h:287
libvisio::VSDContentCollector::m_defaultCharStyle
VSDCharStyle m_defaultCharStyle
Definition: VSDContentCollector.h:291
libvisio::VSDContentCollector::m_fillStyle
VSDFillStyle m_fillStyle
Definition: VSDContentCollector.h:288
libvisio::VSDContentCollector::collectPageProps
void collectPageProps(unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale)
Definition: VSDContentCollector.cpp:1905
libvisio::VSDContentCollector::collectXFormData
void collectXFormData(unsigned level, const XForm &xform)
Definition: VSDContentCollector.cpp:1758
libvisio::VSDContentCollector::m_isFirstGeometry
bool m_isFirstGeometry
Definition: VSDContentCollector.h:274
VSDStyles.h
libvisio::VSDContentCollector::collectRelMoveTo
void collectRelMoveTo(unsigned id, unsigned level, double x, double y)
Definition: VSDContentCollector.cpp:1023
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:2122
libvisio::VSDContentCollector::m_currentForeignData
WPXBinaryData m_currentForeignData
Definition: VSDContentCollector.h:249
libvisio::VSDContentCollector::_outputLinearBezierSegment
void _outputLinearBezierSegment(const std::vector< std::pair< double, double > > &points)
Definition: VSDContentCollector.cpp:1367
libvisio::VSDContentCollector::m_splineKnotVector
std::vector< double > m_splineKnotVector
Definition: VSDContentCollector.h:309
libvisio::VSDContentCollector::collectSplineKnot
void collectSplineKnot(unsigned id, unsigned level, double x, double y, double knot)
Definition: VSDContentCollector.cpp:2069
libvisio::VSDContentCollector::m_originalY
double m_originalY
Definition: VSDContentCollector.h:242
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:2146
libvisio::VSDParaStyle
Definition: VSDStyles.h:323
libvisio::VSDPage
Definition: VSDPages.h:40
libvisio::VSDContentCollector::_flushCurrentForeignData
void _flushCurrentForeignData()
Definition: VSDContentCollector.cpp:671
libvisio::VSDContentCollector::appendCharacters
void appendCharacters(WPXString &text, const std::vector< unsigned char > &characters, TextFormat format)
Definition: VSDContentCollector.cpp:2806
libvisio::VSDContentCollector::m_currentShapeId
unsigned m_currentShapeId
Definition: VSDContentCollector.h:252
libvisio::VSDContentCollector::m_isBackgroundPage
bool m_isBackgroundPage
Definition: VSDContentCollector.h:315
libvisio::VSDContentCollector::m_NURBSData
std::map< unsigned, NURBSData > m_NURBSData
Definition: VSDContentCollector.h:276
libvisio::VSDContentCollector::m_stencils
VSDStencils m_stencils
Definition: VSDContentCollector.h:297
libvisio::VSDContentCollector::m_x
double m_x
Definition: VSDContentCollector.h:239
libvisio::VSDContentCollector::m_splineY
double m_splineY
Definition: VSDContentCollector.h:310
libvisio::VSDContentCollector::_linePropertiesMarkerPath
const char * _linePropertiesMarkerPath(unsigned marker)
Definition: VSDContentCollector.cpp:145
libvisio::VSDContentCollector::m_currentShapeLevel
unsigned m_currentShapeLevel
Definition: VSDContentCollector.h:314
libvisio::VSDContentCollector::collectRelEllipticalArcTo
void collectRelEllipticalArcTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d)
Definition: VSDContentCollector.cpp:1007
libvisio::PolylineData
Definition: VSDTypes.h:128
libvisio::VSDContentCollector::transformPoint
void transformPoint(double &x, double &y, XForm *txtxform=0)
Definition: VSDContentCollector.cpp:1793
libvisio::VSDContentCollector::m_splineControlPoints
std::vector< std::pair< double, double > > m_splineControlPoints
Definition: VSDContentCollector.h:308
libvisio::VSDContentCollector::m_isShapeStarted
bool m_isShapeStarted
Definition: VSDContentCollector.h:264
libvisio::VSDContentCollector::m_textBlockStyle
VSDTextBlockStyle m_textBlockStyle
Definition: VSDContentCollector.h:289
libvisio::XForm
Definition: VSDTypes.h:43
VSDCollector.h
libvisio::VSDContentCollector::m_currentPageID
unsigned m_currentPageID
Definition: VSDContentCollector.h:304
libvisio::VSDContentCollector::m_currentGeometryCount
unsigned m_currentGeometryCount
Definition: VSDContentCollector.h:301
libvisio::VSDContentCollector::m_currentOLEData
WPXBinaryData m_currentOLEData
Definition: VSDContentCollector.h:250
libvisio::VSDContentCollector::m_y
double m_y
Definition: VSDContentCollector.h:240
libvisio::VSDContentCollector::m_shapeOutputText
VSDOutputElementList * m_shapeOutputText
Definition: VSDContentCollector.h:269
libvisio::VSDContentCollector::_convertDataToString
void _convertDataToString(WPXString &result, const WPXBinaryData &data, TextFormat format)
Definition: VSDContentCollector.cpp:2162
libvisio::VSDName
Definition: VSDTypes.h:184
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:2197
libvisio::VSDContentCollector::collectForeignData
void collectForeignData(unsigned level, const WPXBinaryData &binaryData)
Definition: VSDContentCollector.cpp:1078
libvisio::VSDContentCollector::m_currentLineGeometry
std::vector< WPXPropertyList > m_currentLineGeometry
Definition: VSDContentCollector.h:247
libvisio::VSDContentCollector::m_shapeOutputDrawing
VSDOutputElementList * m_shapeOutputDrawing
Definition: VSDContentCollector.h:269
libvisio::VSDContentCollector::collectFieldList
void collectFieldList(unsigned id, unsigned level)
Definition: VSDContentCollector.cpp:2630
libvisio::VSDContentCollector::collectRelCubBezTo
void collectRelCubBezTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d)
Definition: VSDContentCollector.cpp:977
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:1652
libvisio::VSDContentCollector::_flushCurrentPath
void _flushCurrentPath()
Definition: VSDContentCollector.cpp:249
libvisio::VSDContentCollector::_fillAndShadowProperties
void _fillAndShadowProperties(const VSDFillStyle &style, WPXPropertyList &styleProps)
Definition: VSDContentCollector.cpp:2469
libvisio::VSDContentCollector::collectOLEData
void collectOLEData(unsigned id, unsigned level, const WPXBinaryData &oleData)
Definition: VSDContentCollector.cpp:1092
libvisio::VSDContentCollector::_lineProperties
void _lineProperties(const VSDLineStyle &style, WPXPropertyList &styleProps)
Definition: VSDContentCollector.cpp:2253
libvisio::VSDContentCollector::m_shadowOffsetY
double m_shadowOffsetY
Definition: VSDContentCollector.h:237
libvisio::VSDContentCollector::m_currentPageNumber
unsigned m_currentPageNumber
Definition: VSDContentCollector.h:268
libvisio::VSDContentCollector::m_txtxform
XForm * m_txtxform
Definition: VSDContentCollector.h:244
libvisio::VSDContentCollector::_applyLinePattern
void _applyLinePattern()