FHCollector.h Source File documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

FHCollector.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 libfreehand 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 __FHCOLLECTOR_H__
11 #define __FHCOLLECTOR_H__
12
13 #include <map>
14 #include <stack>
15 #include <librevenge/librevenge.h>
16 #include "FHCollector.h"
17 #include "FHTransform.h"
18 #include "FHTypes.h"
19 #include "FHPath.h"
20
21 namespace libfreehand
22 {
23
24 class FHCollector
25 {
26 public:
27 FHCollector();
28 virtual ~FHCollector();
29
30 // collector functions
31 void collectString(unsigned recordId, const librevenge::RVNGString &str);
32 void collectName(unsigned recordId, const librevenge::RVNGString &str);
33 void collectPath(unsigned recordId, const FHPath &path);
34 void collectXform(unsigned recordId, double m11, double m21,
35 double m12, double m22, double m13, double m23);
36 void collectFHTail(unsigned recordId, const FHTail &fhTail);
37 void collectBlock(unsigned recordId, const FHBlock &block);
38 void collectList(unsigned recordId, const FHList &lst);
39 void collectLayer(unsigned recordId, const FHLayer &layer);
40 void collectGroup(unsigned recordId, const FHGroup &group);
41 void collectClipGroup(unsigned recordId, const FHGroup &group);
42 void collectCompositePath(unsigned recordId, const FHCompositePath &compositePath);
43 void collectTString(unsigned recordId, const std::vector<unsigned> &elements);
44 void collectAGDFont(unsigned recordId, const FHAGDFont &font);
45 void collectParagraph(unsigned recordId, const FHParagraph &paragraph);
46 void collectTextBlok(unsigned recordId, const std::vector<unsigned short> &characters);
47 void collectTextObject(unsigned recordId, const FHTextObject &textObject);
48 void collectCharProps(unsigned recordId, const FHCharProperties &charProps);
49 void collectPropList(unsigned recordId, const FHPropList &propertyList);
50 void collectDisplayText(unsigned recordId, const FHDisplayText &displayText);
51 void collectGraphicStyle(unsigned recordId, const FHGraphicStyle &graphicStyle);
52 void collectAttributeHolder(unsigned recordId, const FHAttributeHolder &attributeHolder);
53 void collectFilterAttributeHolder(unsigned recordId, const FHFilterAttributeHolder &filterAttributeHolder);
54 void collectData(unsigned recordId, const librevenge::RVNGBinaryData &data);
55 void collectDataList(unsigned recordId, const FHDataList &list);
56 void collectImage(unsigned recordId, const FHImageImport &image);
57 void collectMultiColorList(unsigned recordId, const std::vector<FHColorStop> &colorStops);
58 void collectNewBlend(unsigned recordId, const FHNewBlend &newBlend);
59 void collectOpacityFilter(unsigned recordId, double opacity);
60 void collectFWShadowFilter(unsigned recordId, const FWShadowFilter &filter);
61 void collectFWGlowFilter(unsigned recordId, const FWGlowFilter &filter);
62
63 void collectPageInfo(const FHPageInfo &pageInfo);
64
65 void collectColor(unsigned recordId, const FHRGBColor &color);
66 void collectTintColor(unsigned recordId, const FHTintColor &color);
67 void collectBasicFill(unsigned recordId, const FHBasicFill &fill);
68 void collectLensFill(unsigned recordId, const FHLensFill &fill);
69 void collectLinearFill(unsigned recordId, const FHLinearFill &fill);
70 void collectRadialFill(unsigned recordId, const FHRadialFill &fill);
71 void collectBasicLine(unsigned recordId, const FHBasicLine &line);
72 void collectTileFill(unsigned recordId, const FHTileFill &fill);
73 void collectPatternFill(unsigned recordId, const FHPatternFill &fill);
74
75 void collectSymbolClass(unsigned recordId, const FHSymbolClass &symbolClass);
76 void collectSymbolInstance(unsigned recordId, const FHSymbolInstance &symbolInstance);
77
78 void outputDrawing(::librevenge::RVNGDrawingInterface *painter);
79
80 private:
81 FHCollector(const FHCollector &);
82 FHCollector &operator=(const FHCollector &);
83
84 void _normalizePath(FHPath &path);
85 void _normalizePoint(double &x, double &y);
86
87 void _outputPath(const FHPath *path, ::librevenge::RVNGDrawingInterface *painter);
88 void _outputLayer(unsigned layerId, ::librevenge::RVNGDrawingInterface *painter);
89 void _outputGroup(const FHGroup *group, ::librevenge::RVNGDrawingInterface *painter);
90 void _outputClipGroup(const FHGroup *group, ::librevenge::RVNGDrawingInterface *painter);
91 void _outputCompositePath(const FHCompositePath *compositePath, ::librevenge::RVNGDrawingInterface *painter);
92 void _outputTextObject(const FHTextObject *textObject, ::librevenge::RVNGDrawingInterface *painter);
93 void _outputParagraph(const FHParagraph *paragraph, ::librevenge::RVNGDrawingInterface *painter);
94 void _outputTextRun(const std::vector<unsigned short> *characters, unsigned offset, unsigned length,
95 unsigned charStyleId, ::librevenge::RVNGDrawingInterface *painter);
96 void _outputDisplayText(const FHDisplayText *displayText, ::librevenge::RVNGDrawingInterface *painter);
97 void _outputImageImport(const FHImageImport *image, ::librevenge::RVNGDrawingInterface *painter);
98 void _outputNewBlend(const FHNewBlend *newBlend, ::librevenge::RVNGDrawingInterface *painter);
99 void _outputSymbolInstance(const FHSymbolInstance *symbolInstance, ::librevenge::RVNGDrawingInterface *painter);
100 void _outputSomething(unsigned somethingId, ::librevenge::RVNGDrawingInterface *painter);
101
102 void _getBBofPath(const FHPath *path,FHBoundingBox &bBox);
103 void _getBBofLayer(unsigned layerId,FHBoundingBox &bBox);
104 void _getBBofGroup(const FHGroup *group,FHBoundingBox &bBox);
105 void _getBBofClipGroup(const FHGroup *group,FHBoundingBox &bBox);
106 void _getBBofCompositePath(const FHCompositePath *compositePath,FHBoundingBox &bBox);
107 void _getBBofTextObject(const FHTextObject *textObject,FHBoundingBox &bBox);
108 void _getBBofDisplayText(const FHDisplayText *displayText,FHBoundingBox &bBox);
109 void _getBBofImageImport(const FHImageImport *image,FHBoundingBox &bBox);
110 void _getBBofNewBlend(const FHNewBlend *newBlend,FHBoundingBox &bBox);
111 void _getBBofSymbolInstance(const FHSymbolInstance *symbolInstance,FHBoundingBox &bBox);
112 void _getBBofSomething(unsigned somethingId,FHBoundingBox &bBox);
113
114 const std::vector<unsigned> *_findListElements(unsigned id);
115 void _appendParagraphProperties(::librevenge::RVNGPropertyList &propList, unsigned paraPropsId);
116 void _appendParagraphProperties(::librevenge::RVNGPropertyList &propList, const FH3ParaProperties &paraProps);
117 void _appendCharacterProperties(::librevenge::RVNGPropertyList &propList, unsigned charPropsId);
118 void _appendCharacterProperties(::librevenge::RVNGPropertyList &propList, const FH3CharProperties &charProps);
119 void _appendFontProperties(::librevenge::RVNGPropertyList &propList, unsigned agdFontId);
120 void _appendFillProperties(::librevenge::RVNGPropertyList &propList, unsigned graphicStyleId);
121 void _appendStrokeProperties(::librevenge::RVNGPropertyList &propList, unsigned graphicStyleId);
122 void _appendBasicFill(::librevenge::RVNGPropertyList &propList, const FHBasicFill *basicFill);
123 void _appendBasicLine(::librevenge::RVNGPropertyList &propList, const FHBasicLine *basicLine);
124 void _appendLinearFill(::librevenge::RVNGPropertyList &propList, const FHLinearFill *linearFill);
125 void _appendLensFill(::librevenge::RVNGPropertyList &propList, const FHLensFill *lensFill);
126 void _appendRadialFill(::librevenge::RVNGPropertyList &propList, const FHRadialFill *radialFill);
127 void _appendTileFill(::librevenge::RVNGPropertyList &propList, const FHTileFill *tileFill);
128 void _appendPatternFill(::librevenge::RVNGPropertyList &propList, const FHPatternFill *patternFill);
129 void _appendOpacity(::librevenge::RVNGPropertyList &propList, const double *opacity);
130 void _appendShadow(::librevenge::RVNGPropertyList &propList, const FWShadowFilter *filter);
131 void _appendGlow(::librevenge::RVNGPropertyList &propList, const FWGlowFilter *filter);
132 void _applyFilter(::librevenge::RVNGPropertyList &propList, unsigned filterId);
133 const std::vector<unsigned> *_findTStringElements(unsigned id);
134
135 const FHPath *_findPath(unsigned id);
136 const FHGroup *_findGroup(unsigned id);
137 const FHGroup *_findClipGroup(unsigned id);
138 const FHCompositePath *_findCompositePath(unsigned id);
139 const FHTextObject *_findTextObject(unsigned id);
140 const FHTransform *_findTransform(unsigned id);
141 const FHParagraph *_findParagraph(unsigned id);
142 const FHPropList *_findPropList(unsigned id);
143 const FHGraphicStyle *_findGraphicStyle(unsigned id);
144 const std::vector<unsigned short> *_findTextBlok(unsigned id);
145 const FHBasicFill *_findBasicFill(unsigned id);
146 const FHLinearFill *_findLinearFill(unsigned id);
147 const FHLensFill *_findLensFill(unsigned id);
148 const FHRadialFill *_findRadialFill(unsigned id);
149 const FHTileFill *_findTileFill(unsigned id);
150 const FHPatternFill *_findPatternFill(unsigned id);
151 const FHBasicLine *_findBasicLine(unsigned id);
152 const FHRGBColor *_findRGBColor(unsigned id);
153 const FHTintColor *_findTintColor(unsigned id);
154 const FHDisplayText *_findDisplayText(unsigned id);
155 const FHImageImport *_findImageImport(unsigned id);
156 const FHNewBlend *_findNewBlend(unsigned id);
157 const double *_findOpacityFilter(unsigned id);
158 const FWShadowFilter *_findFWShadowFilter(unsigned id);
159 const FWGlowFilter *_findFWGlowFilter(unsigned id);
160 const FHFilterAttributeHolder *_findFilterAttributeHolder(unsigned id);
161 const ::librevenge::RVNGBinaryData *_findData(unsigned id);
162 ::librevenge::RVNGString getColorString(unsigned id);
163 unsigned _findFillId(const FHGraphicStyle &graphicStyle);
164 unsigned _findStrokeId(const FHGraphicStyle &graphicStyle);
165 const FHFilterAttributeHolder *_findFilterAttributeHolder(const FHGraphicStyle &graphicStyle);
166 unsigned _findValueFromAttribute(unsigned id);
167 const FHSymbolClass *_findSymbolClass(unsigned id);
168 const FHSymbolInstance *_findSymbolInstance(unsigned id);
169 unsigned _findContentId(unsigned graphicStyleId);
170 const std::vector<FHColorStop> *_findMultiColorList(unsigned id);
171 ::librevenge::RVNGBinaryData getImageData(unsigned id);
172 FHRGBColor getRGBFromTint(const FHTintColor &tint);
173 void _generateBitmapFromPattern(librevenge::RVNGBinaryData &bitmap, unsigned colorId, const std::vector<unsigned char> &pattern);
174
175 FHPageInfo m_pageInfo;
176 FHTail m_fhTail;
177 std::pair<unsigned, FHBlock> m_block;
178 std::map<unsigned, FHTransform> m_transforms;
179 std::map<unsigned, FHPath> m_paths;
180 std::map<unsigned, librevenge::RVNGString> m_strings;
181 std::map<librevenge::RVNGString, unsigned> m_names;
182 std::map<unsigned, FHList> m_lists;
183 std::map<unsigned, FHLayer> m_layers;
184 std::map<unsigned, FHGroup> m_groups;
185 std::map<unsigned, FHGroup> m_clipGroups;
186 std::stack<FHTransform> m_currentTransforms;
187 std::vector<FHTransform> m_fakeTransforms;
188 std::map<unsigned, FHCompositePath> m_compositePaths;
189 std::map<unsigned, std::vector<unsigned> > m_tStrings;
190 std::map<unsigned, FHAGDFont> m_fonts;
191 std::map<unsigned, FHParagraph> m_paragraphs;
192 std::map<unsigned, std::vector<unsigned short> > m_textBloks;
193 std::map<unsigned, FHTextObject> m_textObjects;
194 std::map<unsigned, FHCharProperties> m_charProperties;
195 std::map<unsigned, FHRGBColor> m_rgbColors;
196 std::map<unsigned, FHBasicFill> m_basicFills;
197 std::map<unsigned, FHPropList> m_propertyLists;
198 std::map<unsigned, FHBasicLine> m_basicLines;
199 std::map<unsigned, FHDisplayText> m_displayTexts;
200 std::map<unsigned, FHGraphicStyle> m_graphicStyles;
201 std::map<unsigned, FHAttributeHolder> m_attributeHolders;
202 std::map<unsigned, librevenge::RVNGBinaryData> m_data;
203 std::map<unsigned, FHDataList> m_dataLists;
204 std::map<unsigned, FHImageImport> m_images;
205 std::map<unsigned, std::vector<FHColorStop> > m_multiColorLists;
206 std::map<unsigned, FHLinearFill> m_linearFills;
207 std::map<unsigned, FHTintColor> m_tints;
208 std::map<unsigned, FHLensFill> m_lensFills;
209 std::map<unsigned, FHRadialFill> m_radialFills;
210 std::map<unsigned, FHNewBlend> m_newBlends;
211 std::map<unsigned, FHFilterAttributeHolder> m_filterAttributeHolders;
212 std::map<unsigned, double> m_opacityFilters;
213 std::map<unsigned, FWShadowFilter> m_shadowFilters;
214 std::map<unsigned, FWGlowFilter> m_glowFilters;
215 std::map<unsigned, FHTileFill> m_tileFills;
216 std::map<unsigned, FHSymbolClass> m_symbolClasses;
217 std::map<unsigned, FHSymbolInstance> m_symbolInstances;
218 std::map<unsigned, FHPatternFill> m_patternFills;
219
220 unsigned m_strokeId;
221 unsigned m_fillId;
222 unsigned m_contentId;
223 };
224
225 } // namespace libfreehand
226
227 #endif /* __FHCOLLECTOR_H__ */
228 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libfreehand::FHCollector::m_fakeTransforms
std::vector< FHTransform > m_fakeTransforms
Definition: FHCollector.h:187
libfreehand::FHCollector::m_fonts
std::map< unsigned, FHAGDFont > m_fonts
Definition: FHCollector.h:190
libfreehand::FHCollector::m_lensFills
std::map< unsigned, FHLensFill > m_lensFills
Definition: FHCollector.h:208
libfreehand::FHCollector::_outputPath
void _outputPath(const FHPath *path,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:846
libfreehand::FHGroup
Definition: FHTypes.h:62
libfreehand::FHCollector::_findMultiColorList
const std::vector< FHColorStop > * _findMultiColorList(unsigned id)
Definition: FHCollector.cpp:2348
libfreehand::FHCollector::m_contentId
unsigned m_contentId
Definition: FHCollector.h:222
libfreehand::FHCollector::FHCollector
FHCollector()
Definition: FHCollector.cpp:214
libfreehand::FHCollector::m_groups
std::map< unsigned, FHGroup > m_groups
Definition: FHCollector.h:184
libfreehand::FHCollector::_getBBofLayer
void _getBBofLayer(unsigned layerId, FHBoundingBox &bBox)
libfreehand::FHCollector::_appendRadialFill
void _appendRadialFill(::librevenge::RVNGPropertyList &propList, const FHRadialFill *radialFill)
Definition: FHCollector.cpp:1970
libfreehand::FHCollector::_getBBofPath
void _getBBofPath(const FHPath *path, FHBoundingBox &bBox)
Definition: FHCollector.cpp:463
libfreehand::FHCollector::m_names
std::map< librevenge::RVNGString, unsigned > m_names
Definition: FHCollector.h:181
libfreehand::FHDisplayText
Definition: FHTypes.h:228
libfreehand::FHTintColor
Definition: FHTypes.h:147
libfreehand::FHPageInfo
Definition: FHTypes.h:22
libfreehand::FHCollector::operator=
FHCollector & operator=(const FHCollector &)
libfreehand::FHCollector::_findFWGlowFilter
const FWGlowFilter * _findFWGlowFilter(unsigned id)
Definition: FHCollector.cpp:2378
libfreehand::FHCollector::m_filterAttributeHolders
std::map< unsigned, FHFilterAttributeHolder > m_filterAttributeHolders
Definition: FHCollector.h:211
libfreehand::FHCollector::collectParagraph
void collectParagraph(unsigned recordId, const FHParagraph &paragraph)
Definition: FHCollector.cpp:311
libfreehand::FHCollector::m_paragraphs
std::map< unsigned, FHParagraph > m_paragraphs
Definition: FHCollector.h:191
libfreehand::FHTextObject
Definition: FHTypes.h:93
libfreehand::FHCollector::_getBBofTextObject
void _getBBofTextObject(const FHTextObject *textObject, FHBoundingBox &bBox)
Definition: FHCollector.cpp:594
libfreehand::FHPatternFill
Definition: FHTypes.h:201
libfreehand::FHCollector::_getBBofImageImport
void _getBBofImageImport(const FHImageImport *image, FHBoundingBox &bBox)
Definition: FHCollector.cpp:734
libfreehand::FHCollector::collectSymbolInstance
void collectSymbolInstance(unsigned recordId, const FHSymbolInstance &symbolInstance)
Definition: FHCollector.cpp:446
libfreehand::FHSymbolInstance
Definition: FHTypes.h:367
libfreehand::FHCollector::m_currentTransforms
std::stack< FHTransform > m_currentTransforms
Definition: FHCollector.h:186
libfreehand::FHCollector::m_images
std::map< unsigned, FHImageImport > m_images
Definition: FHCollector.h:204
libfreehand::FHCollector::_appendGlow
void _appendGlow(::librevenge::RVNGPropertyList &propList, const FWGlowFilter *filter)
Definition: FHCollector.cpp:1917
libfreehand::FHCollector::collectSymbolClass
void collectSymbolClass(unsigned recordId, const FHSymbolClass &symbolClass)
Definition: FHCollector.cpp:441
libfreehand::FHCollector::_getBBofGroup
void _getBBofGroup(const FHGroup *group, FHBoundingBox &bBox)
Definition: FHCollector.cpp:494
libfreehand::FHCollector::m_basicFills
std::map< unsigned, FHBasicFill > m_basicFills
Definition: FHCollector.h:196
libfreehand::FHCollector::_appendPatternFill
void _appendPatternFill(::librevenge::RVNGPropertyList &propList, const FHPatternFill *patternFill)
Definition: FHCollector.cpp:2063
libfreehand::FH3CharProperties
Definition: FHTypes.h:208
libfreehand::FHParagraph
Definition: FHTypes.h:77
libfreehand::FHCollector::_findDisplayText
const FHDisplayText * _findDisplayText(unsigned id)
Definition: FHCollector.cpp:2288
libfreehand::FHCollector::m_textObjects
std::map< unsigned, FHTextObject > m_textObjects
Definition: FHCollector.h:193
libfreehand::FHCollector::getRGBFromTint
FHRGBColor getRGBFromTint(const FHTintColor &tint)
Definition: FHCollector.cpp:2487
libfreehand::FHCollector::_findGraphicStyle
const FHGraphicStyle * _findGraphicStyle(unsigned id)
Definition: FHCollector.cpp:2188
libfreehand::FHCollector::m_strings
std::map< unsigned, librevenge::RVNGString > m_strings
Definition: FHCollector.h:180
libfreehand::FHCollector::_findFWShadowFilter
const FWShadowFilter * _findFWShadowFilter(unsigned id)
Definition: FHCollector.cpp:2368
libfreehand::FH3ParaProperties
Definition: FHTypes.h:222
libfreehand::FHCollector::collectTintColor
void collectTintColor(unsigned recordId, const FHTintColor &color)
Definition: FHCollector.cpp:336
libfreehand::FHCollector::_appendTileFill
void _appendTileFill(::librevenge::RVNGPropertyList &propList, const FHTileFill *tileFill)
Definition: FHCollector.cpp:2001
libfreehand::FHCollector::m_layers
std::map< unsigned, FHLayer > m_layers
Definition: FHCollector.h:183
libfreehand::FHCollector::_findPropList
const FHPropList * _findPropList(unsigned id)
Definition: FHCollector.cpp:2178
libfreehand::FHCollector::~FHCollector
virtual ~FHCollector()
Definition: FHCollector.cpp:226
libfreehand::FHCollector::_findBasicFill
const FHBasicFill * _findBasicFill(unsigned id)
Definition: FHCollector.cpp:2198
libfreehand::FHCollector::_applyFilter
void _applyFilter(::librevenge::RVNGPropertyList &propList, unsigned filterId)
Definition: FHCollector.cpp:1884
libfreehand::FHCollector::_findData
const ::librevenge::RVNGBinaryData * _findData(unsigned id)
Definition: FHCollector.cpp:2308
libfreehand::FHCollector::_findListElements
const std::vector< unsigned > * _findListElements(unsigned id)
Definition: FHCollector.cpp:1687
libfreehand::FHCollector::m_symbolClasses
std::map< unsigned, FHSymbolClass > m_symbolClasses
Definition: FHCollector.h:216
libfreehand::FHCollector::_outputLayer
void _outputLayer(unsigned layerId,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1228
libfreehand::FHCollector::_findFillId
unsigned _findFillId(const FHGraphicStyle &graphicStyle)
Definition: FHCollector.cpp:2406
libfreehand::FHCollector::_getBBofCompositePath
void _getBBofCompositePath(const FHCompositePath *compositePath, FHBoundingBox &bBox)
Definition: FHCollector.cpp:560
libfreehand::FHCollector::m_lists
std::map< unsigned, FHList > m_lists
Definition: FHCollector.h:182
libfreehand::FHCharProperties
Definition: FHTypes.h:113
libfreehand
Definition: FHCollector.h:21
libfreehand::FHCollector::collectTextObject
void collectTextObject(unsigned recordId, const FHTextObject &textObject)
Definition: FHCollector.cpp:321
libfreehand::FHCollector::m_data
std::map< unsigned, librevenge::RVNGBinaryData > m_data
Definition: FHCollector.h:202
FHPath.h
libfreehand::FHCollector::_outputDisplayText
void _outputDisplayText(const FHDisplayText *displayText,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1440
libfreehand::FHCollector::collectFWGlowFilter
void collectFWGlowFilter(unsigned recordId, const FWGlowFilter &filter)
Definition: FHCollector.cpp:436
libfreehand::FHCollector::m_textBloks
std::map< unsigned, std::vector< unsigned short > > m_textBloks
Definition: FHCollector.h:192
libfreehand::FHBasicLine
Definition: FHTypes.h:162
libfreehand::FHFilterAttributeHolder
Definition: FHTypes.h:260
libfreehand::FHCollector::_findLinearFill
const FHLinearFill * _findLinearFill(unsigned id)
Definition: FHCollector.cpp:2208
libfreehand::FHCollector::collectName
void collectName(unsigned recordId, const librevenge::RVNGString &str)
Definition: FHCollector.cpp:240
libfreehand::FHCollector::collectPatternFill
void collectPatternFill(unsigned recordId, const FHPatternFill &fill)
Definition: FHCollector.cpp:356
libfreehand::FHCollector::_findTextObject
const FHTextObject * _findTextObject(unsigned id)
Definition: FHCollector.cpp:2138
libfreehand::FHCollector::_outputSomething
void _outputSomething(unsigned somethingId,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:957
libfreehand::FHCollector::getImageData
::librevenge::RVNGBinaryData getImageData(unsigned id)
Definition: FHCollector.cpp:2461
libfreehand::FHPropList
Definition: FHTypes.h:154
libfreehand::FHCollector::_findSymbolInstance
const FHSymbolInstance * _findSymbolInstance(unsigned id)
Definition: FHCollector.cpp:2328
libfreehand::FHCompositePath
Definition: FHTypes.h:70
libfreehand::FHCollector::_normalizePoint
void _normalizePoint(double &x, double &y)
Definition: FHCollector.cpp:457
libfreehand::FHCollector::_normalizePath
void _normalizePath(FHPath &path)
Definition: FHCollector.cpp:451
libfreehand::FHCollector::_appendOpacity
void _appendOpacity(::librevenge::RVNGPropertyList &propList, const double *opacity)
Definition: FHCollector.cpp:1893
libfreehand::FHCollector::_findStrokeId
unsigned _findStrokeId(const FHGraphicStyle &graphicStyle)
Definition: FHCollector.cpp:2388
libfreehand::FHCollector::_findFilterAttributeHolder
const FHFilterAttributeHolder * _findFilterAttributeHolder(unsigned id)
Definition: FHCollector.cpp:2338
libfreehand::FHCollector::_generateBitmapFromPattern
void _generateBitmapFromPattern(librevenge::RVNGBinaryData &bitmap, unsigned colorId, const std::vector< unsigned char > &pattern)
Definition: FHCollector.cpp:2504
libfreehand::FHCollector::collectMultiColorList
void collectMultiColorList(unsigned recordId, const std::vector< FHColorStop > &colorStops)
Definition: FHCollector.cpp:401
libfreehand::FHCollector::m_transforms
std::map< unsigned, FHTransform > m_transforms
Definition: FHCollector.h:178
libfreehand::FHCollector::collectGroup
void collectGroup(unsigned recordId, const FHGroup &group)
Definition: FHCollector.cpp:286
libfreehand::FHCollector::collectPropList
void collectPropList(unsigned recordId, const FHPropList &propertyList)
Definition: FHCollector.cpp:361
libfreehand::FHCollector::collectFWShadowFilter
void collectFWShadowFilter(unsigned recordId, const FWShadowFilter &filter)
Definition: FHCollector.cpp:431
libfreehand::FHCollector::_appendStrokeProperties
void _appendStrokeProperties(::librevenge::RVNGPropertyList &propList, unsigned graphicStyleId)
Definition: FHCollector.cpp:1770
libfreehand::FHCollector::_findParagraph
const FHParagraph * _findParagraph(unsigned id)
Definition: FHCollector.cpp:2158
libfreehand::FHCollector::_findNewBlend
const FHNewBlend * _findNewBlend(unsigned id)
Definition: FHCollector.cpp:2098
libfreehand::FHCollector::m_linearFills
std::map< unsigned, FHLinearFill > m_linearFills
Definition: FHCollector.h:206
FHCollector.h
libfreehand::FHCollector::collectBasicLine
void collectBasicLine(unsigned recordId, const FHBasicLine &line)
Definition: FHCollector.cpp:346
libfreehand::FHCollector::_getBBofDisplayText
void _getBBofDisplayText(const FHDisplayText *displayText, FHBoundingBox &bBox)
Definition: FHCollector.cpp:664
libfreehand::FHBlock
Definition: FHTypes.h:31
libfreehand::FHSymbolClass
Definition: FHTypes.h:357
libfreehand::FHCollector::_outputImageImport
void _outputImageImport(const FHImageImport *image,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1587
libfreehand::FHCollector::collectTString
void collectTString(unsigned recordId, const std::vector< unsigned > &elements)
Definition: FHCollector.cpp:301
libfreehand::FHLinearFill
Definition: FHTypes.h:181
libfreehand::FWGlowFilter
Definition: FHTypes.h:330
libfreehand::FHCollector::_getBBofSymbolInstance
void _getBBofSymbolInstance(const FHSymbolInstance *symbolInstance, FHBoundingBox &bBox)
Definition: FHCollector.cpp:808
libfreehand::FHCollector::_findTransform
const FHTransform * _findTransform(unsigned id)
Definition: FHCollector.cpp:2148
libfreehand::FHCollector::_findGroup
const FHGroup * _findGroup(unsigned id)
Definition: FHCollector.cpp:2108
libfreehand::FHCollector::collectAttributeHolder
void collectAttributeHolder(unsigned recordId, const FHAttributeHolder &attributeHolder)
Definition: FHCollector.cpp:376
libfreehand::FHCollector::m_patternFills
std::map< unsigned, FHPatternFill > m_patternFills
Definition: FHCollector.h:218
libfreehand::FHCollector::collectBasicFill
void collectBasicFill(unsigned recordId, const FHBasicFill &fill)
Definition: FHCollector.cpp:341
libfreehand::FHCollector::m_rgbColors
std::map< unsigned, FHRGBColor > m_rgbColors
Definition: FHCollector.h:195
libfreehand::FHCollector::collectDisplayText
void collectDisplayText(unsigned recordId, const FHDisplayText &displayText)
Definition: FHCollector.cpp:366
libfreehand::FHCollector
Definition: FHCollector.h:24
libfreehand::FHCollector::_outputParagraph
void _outputParagraph(const FHParagraph *paragraph,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1359
libfreehand::FHBasicFill
Definition: FHTypes.h:175
libfreehand::FHCollector::_appendLinearFill
void _appendLinearFill(::librevenge::RVNGPropertyList &propList, const FHLinearFill *linearFill)
Definition: FHCollector.cpp:1850
libfreehand::FHCollector::_findContentId
unsigned _findContentId(unsigned graphicStyleId)
Definition: FHCollector.cpp:1825
libfreehand::FHCollector::collectPageInfo
void collectPageInfo(const FHPageInfo &pageInfo)
Definition: FHCollector.cpp:230
libfreehand::FHCollector::m_fillId
unsigned m_fillId
Definition: FHCollector.h:221
libfreehand::FHCollector::m_pageInfo
FHPageInfo m_pageInfo
Definition: FHCollector.h:175
libfreehand::FHCollector::_findTintColor
const FHTintColor * _findTintColor(unsigned id)
Definition: FHCollector.cpp:2278
libfreehand::FHCollector::_appendLensFill
void _appendLensFill(::librevenge::RVNGPropertyList &propList, const FHLensFill *lensFill)
Definition: FHCollector.cpp:1923
libfreehand::FHCollector::_findClipGroup
const FHGroup * _findClipGroup(unsigned id)
Definition: FHCollector.cpp:2118
libfreehand::FHCollector::m_displayTexts
std::map< unsigned, FHDisplayText > m_displayTexts
Definition: FHCollector.h:199
libfreehand::FHCollector::_outputClipGroup
void _outputClipGroup(const FHGroup *group,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1008
libfreehand::FHCollector::m_glowFilters
std::map< unsigned, FWGlowFilter > m_glowFilters
Definition: FHCollector.h:214
libfreehand::FHCollector::m_clipGroups
std::map< unsigned, FHGroup > m_clipGroups
Definition: FHCollector.h:185
libfreehand::FHCollector::_appendCharacterProperties
void _appendCharacterProperties(::librevenge::RVNGPropertyList &propList, unsigned charPropsId)
Definition: FHCollector.cpp:1383
libfreehand::FHCollector::_findRGBColor
const FHRGBColor * _findRGBColor(unsigned id)
Definition: FHCollector.cpp:2268
libfreehand::FHCollector::m_radialFills
std::map< unsigned, FHRadialFill > m_radialFills
Definition: FHCollector.h:209
libfreehand::FHCollector::_findValueFromAttribute
unsigned _findValueFromAttribute(unsigned id)
Definition: FHCollector.cpp:2446
libfreehand::FHCollector::outputDrawing
void outputDrawing(::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1171
libfreehand::FHCollector::_findBasicLine
const FHBasicLine * _findBasicLine(unsigned id)
Definition: FHCollector.cpp:2258
libfreehand::FHCollector::_appendParagraphProperties
void _appendParagraphProperties(::librevenge::RVNGPropertyList &propList, unsigned paraPropsId)
Definition: FHCollector.cpp:1436
libfreehand::FHCollector::collectDataList
void collectDataList(unsigned recordId, const FHDataList &list)
Definition: FHCollector.cpp:391
libfreehand::FHCollector::collectOpacityFilter
void collectOpacityFilter(unsigned recordId, double opacity)
Definition: FHCollector.cpp:426
libfreehand::FHTail
Definition: FHTypes.h:38
libfreehand::FHCollector::_getBBofClipGroup
void _getBBofClipGroup(const FHGroup *group, FHBoundingBox &bBox)
Definition: FHCollector.cpp:528
libfreehand::FHCollector::_outputNewBlend
void _outputNewBlend(const FHNewBlend *newBlend,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1122
libfreehand::FHCollector::collectImage
void collectImage(unsigned recordId, const FHImageImport &image)
Definition: FHCollector.cpp:396
libfreehand::FHCollector::collectData
void collectData(unsigned recordId, const librevenge::RVNGBinaryData &data)
Definition: FHCollector.cpp:386
libfreehand::FHBoundingBox
Definition: FHTypes.h:376
libfreehand::FHLayer
Definition: FHTypes.h:54
libfreehand::FHCollector::_getBBofSomething
void _getBBofSomething(unsigned somethingId, FHBoundingBox &bBox)
Definition: FHCollector.cpp:827
libfreehand::FHCollector::collectGraphicStyle
void collectGraphicStyle(unsigned recordId, const FHGraphicStyle &graphicStyle)
Definition: FHCollector.cpp:371
libfreehand::FHCollector::collectFHTail
void collectFHTail(unsigned recordId, const FHTail &fhTail)
Definition: FHCollector.cpp:262
libfreehand::FHCollector::_findSymbolClass
const FHSymbolClass * _findSymbolClass(unsigned id)
Definition: FHCollector.cpp:2318
libfreehand::FHImageImport
Definition: FHTypes.h:275
libfreehand::FHCollector::_appendShadow
void _appendShadow(::librevenge::RVNGPropertyList &propList, const FWShadowFilter *filter)
Definition: FHCollector.cpp:1903
libfreehand::FHGraphicStyle
Definition: FHTypes.h:245
libfreehand::FHCollector::m_opacityFilters
std::map< unsigned, double > m_opacityFilters
Definition: FHCollector.h:212
libfreehand::FHCollector::_outputGroup
void _outputGroup(const FHGroup *group,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:973
libfreehand::FHCollector::m_strokeId
unsigned m_strokeId
Definition: FHCollector.h:220
libfreehand::FHCollector::_findPath
const FHPath * _findPath(unsigned id)
Definition: FHCollector.cpp:2088
libfreehand::FHCollector::m_graphicStyles
std::map< unsigned, FHGraphicStyle > m_graphicStyles
Definition: FHCollector.h:200
libfreehand::FHTileFill
Definition: FHTypes.h:343
libfreehand::FHCollector::m_dataLists
std::map< unsigned, FHDataList > m_dataLists
Definition: FHCollector.h:203
libfreehand::FHCollector::_findCompositePath
const FHCompositePath * _findCompositePath(unsigned id)
Definition: FHCollector.cpp:2128
libfreehand::FHTransform
Definition: FHTransform.h:18
libfreehand::FHCollector::collectString
void collectString(unsigned recordId, const librevenge::RVNGString &str)
Definition: FHCollector.cpp:235
libfreehand::FHCollector::m_charProperties
std::map< unsigned, FHCharProperties > m_charProperties
Definition: FHCollector.h:194
libfreehand::FHList
Definition: FHTypes.h:47
libfreehand::FWShadowFilter
Definition: FHTypes.h:316
libfreehand::FHCollector::_findOpacityFilter
const double * _findOpacityFilter(unsigned id)
Definition: FHCollector.cpp:2358
libfreehand::FHCollector::m_tStrings
std::map< unsigned, std::vector< unsigned > > m_tStrings
Definition: FHCollector.h:189
libfreehand::FHCollector::_outputTextObject
void _outputTextObject(const FHTextObject *textObject,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1293
libfreehand::FHCollector::_appendBasicFill
void _appendBasicFill(::librevenge::RVNGPropertyList &propList, const FHBasicFill *basicFill)
Definition: FHCollector.cpp:1813
libfreehand::FHCollector::m_shadowFilters
std::map< unsigned, FWShadowFilter > m_shadowFilters
Definition: FHCollector.h:213
libfreehand::FHCollector::m_block
std::pair< unsigned, FHBlock > m_block
Definition: FHCollector.h:177
libfreehand::FHCollector::m_propertyLists
std::map< unsigned, FHPropList > m_propertyLists
Definition: FHCollector.h:197
libfreehand::FHCollector::m_compositePaths
std::map< unsigned, FHCompositePath > m_compositePaths
Definition: FHCollector.h:188
libfreehand::FHCollector::collectLensFill
void collectLensFill(unsigned recordId, const FHLensFill &fill)
Definition: FHCollector.cpp:411
libfreehand::FHCollector::_outputTextRun
void _outputTextRun(const std::vector< unsigned short > *characters, unsigned offset, unsigned length, unsigned charStyleId,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1667
libfreehand::FHCollector::m_fhTail
FHTail m_fhTail
Definition: FHCollector.h:176
libfreehand::FHCollector::collectLayer
void collectLayer(unsigned recordId, const FHLayer &layer)
Definition: FHCollector.cpp:281
libfreehand::FHCollector::collectTileFill
void collectTileFill(unsigned recordId, const FHTileFill &fill)
Definition: FHCollector.cpp:351
libfreehand::FHCollector::_getBBofNewBlend
void _getBBofNewBlend(const FHNewBlend *newBlend, FHBoundingBox &bBox)
Definition: FHCollector.cpp:804
libfreehand::FHCollector::collectNewBlend
void collectNewBlend(unsigned recordId, const FHNewBlend &newBlend)
Definition: FHCollector.cpp:421
libfreehand::FHCollector::collectColor
void collectColor(unsigned recordId, const FHRGBColor &color)
Definition: FHCollector.cpp:331
libfreehand::FHCollector::m_basicLines
std::map< unsigned, FHBasicLine > m_basicLines
Definition: FHCollector.h:198
libfreehand::FHLensFill
Definition: FHTypes.h:298
libfreehand::FHCollector::m_tileFills
std::map< unsigned, FHTileFill > m_tileFills
Definition: FHCollector.h:215
libfreehand::FHCollector::m_attributeHolders
std::map< unsigned, FHAttributeHolder > m_attributeHolders
Definition: FHCollector.h:201
libfreehand::FHCollector::m_tints
std::map< unsigned, FHTintColor > m_tints
Definition: FHCollector.h:207
libfreehand::FHCollector::collectAGDFont
void collectAGDFont(unsigned recordId, const FHAGDFont &font)
Definition: FHCollector.cpp:306
libfreehand::FHCollector::_appendFontProperties
void _appendFontProperties(::librevenge::RVNGPropertyList &propList, unsigned agdFontId)
Definition: FHCollector.cpp:1696
libfreehand::FHCollector::_findTStringElements
const std::vector< unsigned > * _findTStringElements(unsigned id)
Definition: FHCollector.cpp:2168
FHTransform.h
libfreehand::FHRadialFill
Definition: FHTypes.h:190
libfreehand::FHCollector::_findLensFill
const FHLensFill * _findLensFill(unsigned id)
Definition: FHCollector.cpp:2218
libfreehand::FHCollector::_findRadialFill
const FHRadialFill * _findRadialFill(unsigned id)
Definition: FHCollector.cpp:2228
libfreehand::FHAGDFont
Definition: FHTypes.h:85
libfreehand::FHCollector::_appendBasicLine
void _appendBasicLine(::librevenge::RVNGPropertyList &propList, const FHBasicLine *basicLine)
Definition: FHCollector.cpp:2075
libfreehand::FHCollector::_outputCompositePath
void _outputCompositePath(const FHCompositePath *compositePath,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1261
FHTypes.h
libfreehand::FHCollector::collectTextBlok
void collectTextBlok(unsigned recordId, const std::vector< unsigned short > &characters)
Definition: FHCollector.cpp:316
libfreehand::FHCollector::collectXform
void collectXform(unsigned recordId, double m11, double m21, double m12, double m22, double m13, double m23)
Definition: FHCollector.cpp:256
libfreehand::FHRGBColor
Definition: FHTypes.h:124
libfreehand::FHDataList
Definition: FHTypes.h:268
libfreehand::FHCollector::collectPath
void collectPath(unsigned recordId, const FHPath &path)
Definition: FHCollector.cpp:251
libfreehand::FHCollector::_findPatternFill
const FHPatternFill * _findPatternFill(unsigned id)
Definition: FHCollector.cpp:2248
libfreehand::FHCollector::m_multiColorLists
std::map< unsigned, std::vector< FHColorStop > > m_multiColorLists
Definition: FHCollector.h:205
libfreehand::FHCollector::m_newBlends
std::map< unsigned, FHNewBlend > m_newBlends
Definition: FHCollector.h:210
libfreehand::FHCollector::m_symbolInstances
std::map< unsigned, FHSymbolInstance > m_symbolInstances
Definition: FHCollector.h:217
libfreehand::FHCollector::collectFilterAttributeHolder
void collectFilterAttributeHolder(unsigned recordId, const FHFilterAttributeHolder &filterAttributeHolder)
Definition: FHCollector.cpp:381
libfreehand::FHCollector::collectBlock
void collectBlock(unsigned recordId, const FHBlock &block)
Definition: FHCollector.cpp:267
libfreehand::FHCollector::collectCharProps
void collectCharProps(unsigned recordId, const FHCharProperties &charProps)
Definition: FHCollector.cpp:326
libfreehand::FHNewBlend
Definition: FHTypes.h:306
libfreehand::FHCollector::collectRadialFill
void collectRadialFill(unsigned recordId, const FHRadialFill &fill)
Definition: FHCollector.cpp:416
libfreehand::FHCollector::getColorString
::librevenge::RVNGString getColorString(unsigned id)
Definition: FHCollector.cpp:2476
libfreehand::FHCollector::_findTextBlok
const std::vector< unsigned short > * _findTextBlok(unsigned id)
libfreehand::FHCollector::_appendFillProperties
void _appendFillProperties(::librevenge::RVNGPropertyList &propList, unsigned graphicStyleId)
Definition: FHCollector.cpp:1715
libfreehand::FHCollector::_outputSymbolInstance
void _outputSymbolInstance(const FHSymbolInstance *symbolInstance,::librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1154
libfreehand::FHPath
Definition: FHPath.h:35
libfreehand::FHCollector::m_paths
std::map< unsigned, FHPath > m_paths
Definition: FHCollector.h:179
libfreehand::FHCollector::collectCompositePath
void collectCompositePath(unsigned recordId, const FHCompositePath &compositePath)
Definition: FHCollector.cpp:296
libfreehand::FHCollector::_findTileFill
const FHTileFill * _findTileFill(unsigned id)
Definition: FHCollector.cpp:2238
libfreehand::FHAttributeHolder
Definition: FHTypes.h:253
libfreehand::FHCollector::collectLinearFill
void collectLinearFill(unsigned recordId, const FHLinearFill &fill)
Definition: FHCollector.cpp:406
libfreehand::FHCollector::_findImageImport
const FHImageImport * _findImageImport(unsigned id)
Definition: FHCollector.cpp:2298
libfreehand::FHCollector::collectList
void collectList(unsigned recordId, const FHList &lst)
Definition: FHCollector.cpp:276
libfreehand::FHCollector::collectClipGroup
void collectClipGroup(unsigned recordId, const FHGroup &group)
Definition: FHCollector.cpp:291