10#ifndef VSDSTYLESCOLLECTOR_H
11#define VSDSTYLESCOLLECTOR_H
28 std::vector<std::map<unsigned, XForm> > &groupXFormsSequence,
29 std::vector<std::map<unsigned, unsigned> > &groupMembershipsSequence,
30 std::vector<std::list<unsigned> > &documentPageShapeOrders
35 void collectEllipticalArcTo(
unsigned id,
unsigned level,
double x3,
double y3,
double x2,
double y2,
double angle,
double ecc)
override;
36 void collectForeignData(
unsigned level,
const librevenge::RVNGBinaryData &binaryData)
override;
41 void collectOLEData(
unsigned id,
unsigned level,
const librevenge::RVNGBinaryData &oleData)
override;
42 void collectEllipse(
unsigned id,
unsigned level,
double cx,
double cy,
double xleft,
double yleft,
double xtop,
double ytop)
override;
43 void collectLine(
unsigned level,
const boost::optional<double> &strokeWidth,
const boost::optional<Colour> &c,
const boost::optional<unsigned char> &linePattern,
44 const boost::optional<unsigned char> &startMarker,
const boost::optional<unsigned char> &endMarker,
45 const boost::optional<unsigned char> &lineCap,
const boost::optional<double> &rounding,
46 const boost::optional<long> &qsLineColour,
const boost::optional<long> &qsLineMatrix)
override;
47 void collectFillAndShadow(
unsigned level,
const boost::optional<Colour> &colourFG,
const boost::optional<Colour> &colourBG,
48 const boost::optional<unsigned char> &fillPattern,
const boost::optional<double> &fillFGTransparency,
49 const boost::optional<double> &fillBGTransparency,
const boost::optional<unsigned char> &shadowPattern,
50 const boost::optional<Colour> &shfgc,
const boost::optional<double> &shadowOffsetX,
const boost::optional<double> &shadowOffsetY,
51 const boost::optional<long> &qsFc,
const boost::optional<long> &qsSc,
const boost::optional<long> &qsLm)
override;
52 void collectFillAndShadow(
unsigned level,
const boost::optional<Colour> &colourFG,
const boost::optional<Colour> &colourBG,
53 const boost::optional<unsigned char> &fillPattern,
const boost::optional<double> &fillFGTransparency,
54 const boost::optional<double> &fillBGTransparency,
const boost::optional<unsigned char> &shadowPattern,
55 const boost::optional<Colour> &shfgc)
override;
56 void collectGeometry(
unsigned id,
unsigned level,
bool noFill,
bool noLine,
bool noShow)
override;
57 void collectMoveTo(
unsigned id,
unsigned level,
double x,
double y)
override;
58 void collectLineTo(
unsigned id,
unsigned level,
double x,
double y)
override;
59 void collectArcTo(
unsigned id,
unsigned level,
double x2,
double y2,
double bow)
override;
60 void collectNURBSTo(
unsigned id,
unsigned level,
double x2,
double y2,
unsigned char xType,
unsigned char yType,
unsigned degree,
61 const std::vector<std::pair<double, double> > &ctrlPnts,
const std::vector<double> &kntVec,
const std::vector<double> &weights)
override;
62 void collectNURBSTo(
unsigned id,
unsigned level,
double x2,
double y2,
double knot,
double knotPrev,
double weight,
double weightPrev,
unsigned dataID)
override;
63 void collectNURBSTo(
unsigned id,
unsigned level,
double x2,
double y2,
double knot,
double knotPrev,
double weight,
double weightPrev,
const NURBSData &data)
override;
64 void collectPolylineTo(
unsigned id,
unsigned level,
double x,
double y,
unsigned char xType,
unsigned char yType,
const std::vector<std::pair<double, double> > &points)
override;
65 void collectPolylineTo(
unsigned id,
unsigned level,
double x,
double y,
unsigned dataID)
override;
67 void collectShapeData(
unsigned id,
unsigned level,
unsigned char xType,
unsigned char yType,
unsigned degree,
double lastKnot,
68 std::vector<std::pair<double, double> > controlPoints, std::vector<double> knotVector, std::vector<double> weights)
override;
69 void collectShapeData(
unsigned id,
unsigned level,
unsigned char xType,
unsigned char yType, std::vector<std::pair<double, double> > points)
override;
72 void collectShapesOrder(
unsigned id,
unsigned level,
const std::vector<unsigned> &shapeIds)
override;
73 void collectForeignDataType(
unsigned level,
unsigned foreignType,
unsigned foreignFormat,
double offsetX,
double offsetY,
double width,
double height)
override;
74 void collectPageProps(
unsigned id,
unsigned level,
double pageWidth,
double pageHeight,
double shadowOffsetX,
double shadowOffsetY,
double scale,
unsigned char drawingScaleUnit)
override;
75 void collectPage(
unsigned id,
unsigned level,
unsigned backgroundPageID,
bool isBackgroundPage,
const VSDName &pageName)
override;
76 void collectShape(
unsigned id,
unsigned level,
unsigned parent,
unsigned masterPage,
unsigned masterShape,
unsigned lineStyle,
unsigned fillStyle,
unsigned textStyle)
override;
77 void collectSplineStart(
unsigned id,
unsigned level,
double x,
double y,
double secondKnot,
double firstKnot,
double lastKnot,
unsigned degree)
override;
78 void collectSplineKnot(
unsigned id,
unsigned level,
double x,
double y,
double knot)
override;
80 void collectInfiniteLine(
unsigned id,
unsigned level,
double x1,
double y1,
double x2,
double y2)
override;
81 void collectRelCubBezTo(
unsigned id,
unsigned level,
double x,
double y,
double a,
double b,
double c,
double d)
override;
82 void collectRelEllipticalArcTo(
unsigned id,
unsigned level,
double x,
double y,
double a,
double b,
double c,
double d)
override;
83 void collectRelLineTo(
unsigned id,
unsigned level,
double x,
double y)
override;
84 void collectRelMoveTo(
unsigned id,
unsigned level,
double x,
double y)
override;
85 void collectRelQuadBezTo(
unsigned id,
unsigned level,
double x,
double y,
double a,
double b)
override;
88 void collectText(
unsigned level,
const librevenge::RVNGBinaryData &textStream,
TextFormat format)
override;
89 void collectCharIX(
unsigned id,
unsigned level,
unsigned charCount,
const boost::optional<VSDName> &font,
90 const boost::optional<Colour> &fontColour,
const boost::optional<double> &fontSize,
const boost::optional<bool> &bold,
91 const boost::optional<bool> &italic,
const boost::optional<bool> &underline,
const boost::optional<bool> &doubleunderline,
92 const boost::optional<bool> &strikeout,
const boost::optional<bool> &doublestrikeout,
const boost::optional<bool> &allcaps,
93 const boost::optional<bool> &initcaps,
const boost::optional<bool> &smallcaps,
const boost::optional<bool> &superscript,
94 const boost::optional<bool> &subscript,
const boost::optional<double> &scaleWidth)
override;
95 void collectDefaultCharStyle(
unsigned charCount,
const boost::optional<VSDName> &font,
const boost::optional<Colour> &fontColour,
96 const boost::optional<double> &fontSize,
const boost::optional<bool> &bold,
const boost::optional<bool> &italic,
97 const boost::optional<bool> &underline,
const boost::optional<bool> &doubleunderline,
const boost::optional<bool> &strikeout,
98 const boost::optional<bool> &doublestrikeout,
const boost::optional<bool> &allcaps,
const boost::optional<bool> &initcaps,
99 const boost::optional<bool> &smallcaps,
const boost::optional<bool> &superscript,
const boost::optional<bool> &subscript,
100 const boost::optional<double> &scaleWidth)
override;
101 void collectParaIX(
unsigned id,
unsigned level,
unsigned charCount,
const boost::optional<double> &indFirst,
102 const boost::optional<double> &indLeft,
const boost::optional<double> &indRight,
const boost::optional<double> &spLine,
103 const boost::optional<double> &spBefore,
const boost::optional<double> &spAfter,
const boost::optional<unsigned char> &align,
104 const boost::optional<unsigned char> &bullet,
const boost::optional<VSDName> &bulletStr,
const boost::optional<VSDName> &bulletFont,
105 const boost::optional<double> &bulletFontSize,
const boost::optional<double> &textPosAfterBullet,
106 const boost::optional<unsigned> &flags)
override;
107 void collectDefaultParaStyle(
unsigned charCount,
const boost::optional<double> &indFirst,
const boost::optional<double> &indLeft,
108 const boost::optional<double> &indRight,
const boost::optional<double> &spLine,
const boost::optional<double> &spBefore,
109 const boost::optional<double> &spAfter,
const boost::optional<unsigned char> &align,
110 const boost::optional<unsigned char> &bullet,
const boost::optional<VSDName> &bulletStr,
111 const boost::optional<VSDName> &bulletFont,
const boost::optional<double> &bulletFontSize,
112 const boost::optional<double> &textPosAfterBullet,
const boost::optional<unsigned> &flags)
override;
113 void collectTextBlock(
unsigned level,
const boost::optional<double> &leftMargin,
const boost::optional<double> &rightMargin,
114 const boost::optional<double> &topMargin,
const boost::optional<double> &bottomMargin,
115 const boost::optional<unsigned char> &verticalAlign,
const boost::optional<bool> &isBgFilled,
116 const boost::optional<Colour> &bgColour,
const boost::optional<double> &defaultTabStop,
117 const boost::optional<unsigned char> &textDirection)
override;
122 void collectName(
unsigned id,
unsigned level,
const librevenge::RVNGBinaryData &name,
TextFormat format)
override;
127 void collectTabsDataList(
unsigned level,
const std::map<unsigned, VSDTabSet> &tabSets)
override;
130 void collectStyleSheet(
unsigned id,
unsigned level,
unsigned parentLineStyle,
unsigned parentFillStyle,
unsigned parentTextStyle)
override;
131 void collectLineStyle(
unsigned level,
const boost::optional<double> &strokeWidth,
const boost::optional<Colour> &c,
const boost::optional<unsigned char> &linePattern,
132 const boost::optional<unsigned char> &startMarker,
const boost::optional<unsigned char> &endMarker,
133 const boost::optional<unsigned char> &lineCap,
const boost::optional<double> &rounding,
134 const boost::optional<long> &qsLineColour,
const boost::optional<long> &qsLineMatrix)
override;
135 void collectFillStyle(
unsigned level,
const boost::optional<Colour> &colourFG,
const boost::optional<Colour> &colourBG,
136 const boost::optional<unsigned char> &fillPattern,
const boost::optional<double> &fillFGTransparency,
137 const boost::optional<double> &fillBGTransparency,
const boost::optional<unsigned char> &shadowPattern,
138 const boost::optional<Colour> &shfgc,
const boost::optional<double> &shadowOffsetX,
const boost::optional<double> &shadowOffsetY,
139 const boost::optional<long> &qsFillColour,
const boost::optional<long> &qsShadowColour,
140 const boost::optional<long> &qsFillMatrix)
override;
141 void collectFillStyle(
unsigned level,
const boost::optional<Colour> &colourFG,
const boost::optional<Colour> &colourBG,
142 const boost::optional<unsigned char> &fillPattern,
const boost::optional<double> &fillFGTransparency,
143 const boost::optional<double> &fillBGTransparency,
const boost::optional<unsigned char> &shadowPattern,
144 const boost::optional<Colour> &shfgc)
override;
145 void collectCharIXStyle(
unsigned id,
unsigned level,
unsigned charCount,
const boost::optional<VSDName> &font,
146 const boost::optional<Colour> &fontColour,
const boost::optional<double> &fontSize,
const boost::optional<bool> &bold,
147 const boost::optional<bool> &italic,
const boost::optional<bool> &underline,
const boost::optional<bool> &doubleunderline,
148 const boost::optional<bool> &strikeout,
const boost::optional<bool> &doublestrikeout,
const boost::optional<bool> &allcaps,
149 const boost::optional<bool> &initcaps,
const boost::optional<bool> &smallcaps,
const boost::optional<bool> &superscript,
150 const boost::optional<bool> &subscript,
const boost::optional<double> &scaleWidth)
override;
151 void collectParaIXStyle(
unsigned id,
unsigned level,
unsigned charCount,
const boost::optional<double> &indFirst,
152 const boost::optional<double> &indLeft,
const boost::optional<double> &indRight,
const boost::optional<double> &spLine,
153 const boost::optional<double> &spBefore,
const boost::optional<double> &spAfter,
const boost::optional<unsigned char> &align,
154 const boost::optional<unsigned char> &bullet,
const boost::optional<VSDName> &bulletStr,
155 const boost::optional<VSDName> &bulletFont,
const boost::optional<double> &bulletFontSize,
156 const boost::optional<double> &textPosAfterBullet,
const boost::optional<unsigned> &flags)
override;
157 void collectTextBlockStyle(
unsigned level,
const boost::optional<double> &leftMargin,
const boost::optional<double> &rightMargin,
158 const boost::optional<double> &topMargin,
const boost::optional<double> &bottomMargin,
159 const boost::optional<unsigned char> &verticalAlign,
const boost::optional<bool> &isBgFilled,
160 const boost::optional<Colour> &bgColour,
const boost::optional<double> &defaultTabStop,
161 const boost::optional<unsigned char> &textDirection)
override;
165 void collectTextField(
unsigned id,
unsigned level,
int nameId,
int formatStringId)
override;
166 void collectNumericField(
unsigned id,
unsigned level,
unsigned short format,
unsigned short cellType,
double number,
int formatStringId)
override;
171 void startPage(
unsigned pageID)
override;
VSDCollector()
Definition VSDCollector.h:23
Definition VSDTypes.h:171
void collectName(unsigned id, unsigned level, const librevenge::RVNGBinaryData &name, TextFormat format) override
Definition VSDStylesCollector.cpp:326
std::map< unsigned, unsigned > m_groupMemberships
Definition VSDStylesCollector.h:196
VSDStylesCollector(std::vector< std::map< unsigned, XForm > > &groupXFormsSequence, std::vector< std::map< unsigned, unsigned > > &groupMembershipsSequence, std::vector< std::list< unsigned > > &documentPageShapeOrders)
Definition VSDStylesCollector.cpp:15
void collectMoveTo(unsigned id, unsigned level, double x, double y) override
Definition VSDStylesCollector.cpp:88
void collectOLEList(unsigned id, unsigned level) override
Definition VSDStylesCollector.h:37
void collectOLEData(unsigned id, unsigned level, const librevenge::RVNGBinaryData &oleData) override
Definition VSDStylesCollector.cpp:45
void collectSplineStart(unsigned id, unsigned level, double x, double y, double secondKnot, double firstKnot, double lastKnot, unsigned degree) override
Definition VSDStylesCollector.cpp:139
void collectInfiniteLine(unsigned id, unsigned level, double x1, double y1, double x2, double y2) override
Definition VSDStylesCollector.cpp:154
void collectUnhandledChunk(unsigned id, unsigned level) override
Definition VSDStylesCollector.cpp:262
void collectParaIXStyle(unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags) override
Definition VSDStylesCollector.cpp:381
std::vector< std::map< unsigned, unsigned > > & m_groupMembershipsSequence
Definition VSDStylesCollector.h:198
void collectPageProps(unsigned id, unsigned level, double pageWidth, double pageHeight, double shadowOffsetX, double shadowOffsetY, double scale, unsigned char drawingScaleUnit) override
Definition VSDStylesCollector.cpp:224
void collectDefaultCharStyle(unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth) override
Definition VSDStylesCollector.cpp:309
void collectText(unsigned level, const librevenge::RVNGBinaryData &textStream, TextFormat format) override
Definition VSDStylesCollector.cpp:267
unsigned m_currentShapeId
Definition VSDStylesCollector.h:194
unsigned m_currentShapeLevel
Definition VSDStylesCollector.h:207
void collectFillStyle(unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc, const boost::optional< double > &shadowOffsetX, const boost::optional< double > &shadowOffsetY, const boost::optional< long > &qsFillColour, const boost::optional< long > &qsShadowColour, const boost::optional< long > &qsFillMatrix) override
Definition VSDStylesCollector.cpp:351
void collectCharIX(unsigned id, unsigned level, unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth) override
Definition VSDStylesCollector.cpp:294
void collectParaIX(unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags) override
Definition VSDStylesCollector.cpp:272
void collectLine(unsigned level, const boost::optional< double > &strokeWidth, const boost::optional< Colour > &c, const boost::optional< unsigned char > &linePattern, const boost::optional< unsigned char > &startMarker, const boost::optional< unsigned char > &endMarker, const boost::optional< unsigned char > &lineCap, const boost::optional< double > &rounding, const boost::optional< long > &qsLineColour, const boost::optional< long > &qsLineMatrix) override
Definition VSDStylesCollector.cpp:56
void collectXFormData(unsigned level, const XForm &xform) override
Definition VSDStylesCollector.cpp:197
void endPages() override
Definition VSDStylesCollector.h:173
void collectShapesOrder(unsigned id, unsigned level, const std::vector< unsigned > &shapeIds) override
Definition VSDStylesCollector.cpp:209
void endPage() override
Definition VSDStylesCollector.cpp:425
void startPage(unsigned pageID) override
Definition VSDStylesCollector.cpp:417
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) override
Definition VSDStylesCollector.cpp:103
void collectTabsDataList(unsigned level, const std::map< unsigned, VSDTabSet > &tabSets) override
Definition VSDStylesCollector.cpp:304
void collectMisc(unsigned level, const VSDMisc &misc) override
Definition VSDStylesCollector.cpp:247
void collectArcTo(unsigned id, unsigned level, double x2, double y2, double bow) override
Definition VSDStylesCollector.cpp:98
void collectFieldList(unsigned id, unsigned level) override
Definition VSDStylesCollector.cpp:402
void collectSplineEnd() override
Definition VSDStylesCollector.cpp:150
void collectTextField(unsigned id, unsigned level, int nameId, int formatStringId) override
Definition VSDStylesCollector.cpp:407
void collectRelLineTo(unsigned id, unsigned level, double x, double y) override
Definition VSDStylesCollector.cpp:169
void collectLayerMem(unsigned level, const VSDName &layerMem) override
Definition VSDStylesCollector.cpp:252
void collectLayer(unsigned id, unsigned level, const VSDLayer &layer) override
Definition VSDStylesCollector.cpp:257
void collectSplineKnot(unsigned id, unsigned level, double x, double y, double knot) override
Definition VSDStylesCollector.cpp:145
void collectDocumentTheme(const VSDXTheme *) override
Definition VSDStylesCollector.h:34
void collectTxtXForm(unsigned level, const XForm &txtxform) override
Definition VSDStylesCollector.cpp:204
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) override
Definition VSDStylesCollector.cpp:318
void collectEllipticalArcTo(unsigned id, unsigned level, double x3, double y3, double x2, double y2, double angle, double ecc) override
Definition VSDStylesCollector.cpp:34
void collectEllipse(unsigned id, unsigned level, double cx, double cy, double xleft, double yleft, double xtop, double ytop) override
Definition VSDStylesCollector.cpp:50
void collectNameList(unsigned id, unsigned level) override
Definition VSDStylesCollector.h:118
std::list< unsigned > m_shapeList
Definition VSDStylesCollector.h:202
void collectPageSheet(unsigned id, unsigned level) override
Definition VSDStylesCollector.cpp:331
void collectShape(unsigned id, unsigned level, unsigned parent, unsigned masterPage, unsigned masterShape, unsigned lineStyle, unsigned fillStyle, unsigned textStyle) override
Definition VSDStylesCollector.cpp:236
VSDStylesCollector & operator=(const VSDStylesCollector &)
void collectRelCubBezTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d) override
Definition VSDStylesCollector.cpp:159
std::map< unsigned, std::list< unsigned > > m_groupShapeOrder
Definition VSDStylesCollector.h:201
void collectLineTo(unsigned id, unsigned level, double x, double y) override
Definition VSDStylesCollector.cpp:93
void collectRelEllipticalArcTo(unsigned id, unsigned level, double x, double y, double a, double b, double c, double d) override
Definition VSDStylesCollector.cpp:164
void collectForeignData(unsigned level, const librevenge::RVNGBinaryData &binaryData) override
Definition VSDStylesCollector.cpp:40
unsigned m_currentStyleSheet
Definition VSDStylesCollector.h:204
bool m_isShapeStarted
Definition VSDStylesCollector.h:189
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) override
Definition VSDStylesCollector.cpp:393
std::list< unsigned > m_pageShapeOrder
Definition VSDStylesCollector.h:199
void collectStyleSheet(unsigned id, unsigned level, unsigned parentLineStyle, unsigned parentFillStyle, unsigned parentTextStyle) override
Definition VSDStylesCollector.cpp:337
void _flushShapeList()
Definition VSDStylesCollector.cpp:459
void collectRelQuadBezTo(unsigned id, unsigned level, double x, double y, double a, double b) override
Definition VSDStylesCollector.cpp:179
unsigned m_currentLevel
Definition VSDStylesCollector.h:188
void collectFillAndShadow(unsigned level, const boost::optional< Colour > &colourFG, const boost::optional< Colour > &colourBG, const boost::optional< unsigned char > &fillPattern, const boost::optional< double > &fillFGTransparency, const boost::optional< double > &fillBGTransparency, const boost::optional< unsigned char > &shadowPattern, const boost::optional< Colour > &shfgc, const boost::optional< double > &shadowOffsetX, const boost::optional< double > &shadowOffsetY, const boost::optional< long > &qsFc, const boost::optional< long > &qsSc, const boost::optional< long > &qsLm) override
Definition VSDStylesCollector.cpp:65
void collectNumericField(unsigned id, unsigned level, unsigned short format, unsigned short cellType, double number, int formatStringId) override
Definition VSDStylesCollector.cpp:412
void collectPage(unsigned id, unsigned level, unsigned backgroundPageID, bool isBackgroundPage, const VSDName &pageName) override
Definition VSDStylesCollector.cpp:231
void collectPolylineTo(unsigned id, unsigned level, double x, double y, unsigned char xType, unsigned char yType, const std::vector< std::pair< double, double > > &points) override
Definition VSDStylesCollector.cpp:122
std::map< unsigned, XForm > m_groupXForms
Definition VSDStylesCollector.h:195
void collectRelMoveTo(unsigned id, unsigned level, double x, double y) override
Definition VSDStylesCollector.cpp:174
void collectMetaData(const librevenge::RVNGPropertyList &) override
Definition VSDStylesCollector.h:168
std::vector< std::map< unsigned, XForm > > & m_groupXFormsSequence
Definition VSDStylesCollector.h:197
void collectCharIXStyle(unsigned id, unsigned level, unsigned charCount, const boost::optional< VSDName > &font, const boost::optional< Colour > &fontColour, const boost::optional< double > &fontSize, const boost::optional< bool > &bold, const boost::optional< bool > &italic, const boost::optional< bool > &underline, const boost::optional< bool > &doubleunderline, const boost::optional< bool > &strikeout, const boost::optional< bool > &doublestrikeout, const boost::optional< bool > &allcaps, const boost::optional< bool > &initcaps, const boost::optional< bool > &smallcaps, const boost::optional< bool > &superscript, const boost::optional< bool > &subscript, const boost::optional< double > &scaleWidth) override
Definition VSDStylesCollector.cpp:369
VSDStyles m_styles
Definition VSDStylesCollector.h:205
void collectForeignDataType(unsigned level, unsigned foreignType, unsigned foreignFormat, double offsetX, double offsetY, double width, double height) override
Definition VSDStylesCollector.cpp:218
void collectLineStyle(unsigned level, const boost::optional< double > &strokeWidth, const boost::optional< Colour > &c, const boost::optional< unsigned char > &linePattern, const boost::optional< unsigned char > &startMarker, const boost::optional< unsigned char > &endMarker, const boost::optional< unsigned char > &lineCap, const boost::optional< double > &rounding, const boost::optional< long > &qsLineColour, const boost::optional< long > &qsLineMatrix) override
Definition VSDStylesCollector.cpp:342
const VSDStyles & getStyleSheets() const
Definition VSDStylesCollector.h:175
VSDStylesCollector(const VSDStylesCollector &)
std::vector< std::list< unsigned > > & m_documentPageShapeOrders
Definition VSDStylesCollector.h:200
void _handleLevelChange(unsigned level)
Definition VSDStylesCollector.cpp:449
~VSDStylesCollector() override
Definition VSDStylesCollector.h:32
double m_shadowOffsetY
Definition VSDStylesCollector.h:192
void collectDefaultParaStyle(unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags) override
Definition VSDStylesCollector.cpp:284
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) override
Definition VSDStylesCollector.cpp:184
void collectGeometry(unsigned id, unsigned level, bool noFill, bool noLine, bool noShow) override
Definition VSDStylesCollector.cpp:83
double m_shadowOffsetX
Definition VSDStylesCollector.h:191
Definition VSDStyles.h:494
Definition VSDXTheme.h:77
Definition libvisio_utils.h:49
TextFormat
Definition VSDTypes.h:150
Definition VSDTypes.h:115
Definition VSDLayerList.h:22
Definition VSDTypes.h:204