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 <deque>
14 #include <map>
15 #include <stack>
16 #include <librevenge/librevenge.h>
17 #include "FHCollector.h"
18 #include "FHTransform.h"
19 #include "FHTypes.h"
20 #include "FHPath.h"
21 
22 namespace libfreehand
23 {
24 
26 {
27 public:
28  FHCollector();
29  virtual ~FHCollector();
30 
31  // collector functions
32  void collectString(unsigned recordId, const librevenge::RVNGString &str);
33  void collectName(unsigned recordId, const librevenge::RVNGString &str);
34  void collectPath(unsigned recordId, const FHPath &path);
35  void collectXform(unsigned recordId, double m11, double m21,
36  double m12, double m22, double m13, double m23);
37  void collectFHTail(unsigned recordId, const FHTail &fhTail);
38  void collectBlock(unsigned recordId, const FHBlock &block);
39  void collectList(unsigned recordId, const FHList &lst);
40  void collectLayer(unsigned recordId, const FHLayer &layer);
41  void collectGroup(unsigned recordId, const FHGroup &group);
42  void collectClipGroup(unsigned recordId, const FHGroup &group);
43  void collectPathText(unsigned recordId, const FHPathText &group);
44  void collectCompositePath(unsigned recordId, const FHCompositePath &compositePath);
45  void collectTString(unsigned recordId, const std::vector<unsigned> &elements);
46  void collectAGDFont(unsigned recordId, const FHAGDFont &font);
47  void collectTEffect(unsigned recordId, const FHTEffect &tEffect);
48  void collectParagraph(unsigned recordId, const FHParagraph &paragraph);
49  void collectTabTable(unsigned recordId, const std::vector<FHTab> &tabs);
50  void collectTextBlok(unsigned recordId, const std::vector<unsigned short> &characters);
51  void collectTextObject(unsigned recordId, const FHTextObject &textObject);
52  void collectCharProps(unsigned recordId, const FHCharProperties &charProps);
53  void collectParagraphProps(unsigned recordId, const FHParagraphProperties &paragraphProps);
54  void collectPropList(unsigned recordId, const FHPropList &propertyList);
55  void collectDisplayText(unsigned recordId, const FHDisplayText &displayText);
56  void collectGraphicStyle(unsigned recordId, const FHGraphicStyle &graphicStyle);
57  void collectAttributeHolder(unsigned recordId, const FHAttributeHolder &attributeHolder);
58  void collectFilterAttributeHolder(unsigned recordId, const FHFilterAttributeHolder &filterAttributeHolder);
59  void collectData(unsigned recordId, const librevenge::RVNGBinaryData &data);
60  void collectDataList(unsigned recordId, const FHDataList &list);
61  void collectImage(unsigned recordId, const FHImageImport &image);
62  void collectMultiColorList(unsigned recordId, const std::vector<FHColorStop> &colorStops);
63  void collectNewBlend(unsigned recordId, const FHNewBlend &newBlend);
64  void collectOpacityFilter(unsigned recordId, double opacity);
65  void collectFWShadowFilter(unsigned recordId, const FWShadowFilter &filter);
66  void collectFWGlowFilter(unsigned recordId, const FWGlowFilter &filter);
67 
68  void collectPageInfo(const FHPageInfo &pageInfo);
69 
70  void collectColor(unsigned recordId, const FHRGBColor &color);
71  void collectTintColor(unsigned recordId, const FHTintColor &color);
72  void collectBasicFill(unsigned recordId, const FHBasicFill &fill);
73  void collectLensFill(unsigned recordId, const FHLensFill &fill);
74  void collectLinearFill(unsigned recordId, const FHLinearFill &fill);
75  void collectRadialFill(unsigned recordId, const FHRadialFill &fill);
76  void collectBasicLine(unsigned recordId, const FHBasicLine &line);
77  void collectPatternLine(unsigned recordId, const FHPatternLine &line);
78  void collectCustomProc(unsigned recordId, const FHCustomProc &lineFill);
79  void collectTileFill(unsigned recordId, const FHTileFill &fill);
80  void collectPatternFill(unsigned recordId, const FHPatternFill &fill);
81  void collectLinePattern(unsigned recordId, const FHLinePattern &line);
82  void collectArrowPath(unsigned recordId, const FHPath &path);
83 
84  void collectSymbolClass(unsigned recordId, const FHSymbolClass &symbolClass);
85  void collectSymbolInstance(unsigned recordId, const FHSymbolInstance &symbolInstance);
86 
87  void outputDrawing(librevenge::RVNGDrawingInterface *painter);
88 
89 private:
92 
93  void _normalizePath(FHPath &path);
94  void _normalizePoint(double &x, double &y);
95 
96  void _outputPath(const FHPath *path, librevenge::RVNGDrawingInterface *painter);
97  void _outputLayer(unsigned layerId, librevenge::RVNGDrawingInterface *painter);
98  void _outputGroup(const FHGroup *group, librevenge::RVNGDrawingInterface *painter);
99  void _outputClipGroup(const FHGroup *group, librevenge::RVNGDrawingInterface *painter);
100  void _outputCompositePath(const FHCompositePath *compositePath, librevenge::RVNGDrawingInterface *painter);
101  void _outputPathText(const FHPathText *pathText, librevenge::RVNGDrawingInterface *painter);
102  void _outputTextObject(const FHTextObject *textObject, librevenge::RVNGDrawingInterface *painter);
103  void _outputParagraph(const FHParagraph *paragraph, librevenge::RVNGDrawingInterface *painter, unsigned &actPos, unsigned minPos, unsigned maxPos);
104  void _outputTextRun(const std::vector<unsigned short> *characters, unsigned offset, unsigned length,
105  unsigned charStyleId, librevenge::RVNGDrawingInterface *painter);
106  void _outputDisplayText(const FHDisplayText *displayText, librevenge::RVNGDrawingInterface *painter);
107  void _outputImageImport(const FHImageImport *image, librevenge::RVNGDrawingInterface *painter);
108  void _outputNewBlend(const FHNewBlend *newBlend, librevenge::RVNGDrawingInterface *painter);
109  void _outputSymbolInstance(const FHSymbolInstance *symbolInstance, librevenge::RVNGDrawingInterface *painter);
110  void _outputSomething(unsigned somethingId, librevenge::RVNGDrawingInterface *painter);
111 
112  void _getBBofPath(const FHPath *path,FHBoundingBox &bBox);
113  void _getBBofLayer(unsigned layerId,FHBoundingBox &bBox);
114  void _getBBofGroup(const FHGroup *group,FHBoundingBox &bBox);
115  void _getBBofClipGroup(const FHGroup *group,FHBoundingBox &bBox);
116  void _getBBofPathText(const FHPathText *pathText,FHBoundingBox &bBox);
117  void _getBBofCompositePath(const FHCompositePath *compositePath,FHBoundingBox &bBox);
118  void _getBBofTextObject(const FHTextObject *textObject,FHBoundingBox &bBox);
119  void _getBBofDisplayText(const FHDisplayText *displayText,FHBoundingBox &bBox);
120  void _getBBofImageImport(const FHImageImport *image,FHBoundingBox &bBox);
121  void _getBBofNewBlend(const FHNewBlend *newBlend,FHBoundingBox &bBox);
122  void _getBBofSymbolInstance(const FHSymbolInstance *symbolInstance,FHBoundingBox &bBox);
123  void _getBBofSomething(unsigned somethingId,FHBoundingBox &bBox);
124 
125  const std::vector<unsigned> *_findListElements(unsigned id);
126  void _appendParagraphProperties(librevenge::RVNGPropertyList &propList, unsigned paraPropsId);
127  void _appendParagraphProperties(librevenge::RVNGPropertyList &propList, const FH3ParaProperties &paraProps);
128  void _appendCharacterProperties(librevenge::RVNGPropertyList &propList, unsigned charPropsId);
129  void _appendCharacterProperties(librevenge::RVNGPropertyList &propList, const FH3CharProperties &charProps);
130  void _appendFontProperties(librevenge::RVNGPropertyList &propList, unsigned agdFontId);
131  void _appendTabProperties(librevenge::RVNGPropertyList &propList, const FHTab &tab);
132  void _appendFillProperties(librevenge::RVNGPropertyList &propList, unsigned graphicStyleId);
133  void _appendStrokeProperties(librevenge::RVNGPropertyList &propList, unsigned graphicStyleId);
134  void _appendBasicFill(librevenge::RVNGPropertyList &propList, const FHBasicFill *basicFill);
135  void _appendBasicLine(librevenge::RVNGPropertyList &propList, const FHBasicLine *basicLine);
136  void _appendPatternLine(librevenge::RVNGPropertyList &propList, const FHPatternLine *basicLine);
137  void _appendCustomProcFill(librevenge::RVNGPropertyList &propList, const FHCustomProc *customProc);
138  void _appendCustomProcLine(librevenge::RVNGPropertyList &propList, const FHCustomProc *customProc);
139  void _appendLinearFill(librevenge::RVNGPropertyList &propList, const FHLinearFill *linearFill);
140  void _appendLensFill(librevenge::RVNGPropertyList &propList, const FHLensFill *lensFill);
141  void _appendRadialFill(librevenge::RVNGPropertyList &propList, const FHRadialFill *radialFill);
142  void _appendTileFill(librevenge::RVNGPropertyList &propList, const FHTileFill *tileFill);
143  void _appendPatternFill(librevenge::RVNGPropertyList &propList, const FHPatternFill *patternFill);
144  void _appendLinePattern(librevenge::RVNGPropertyList &propList, const FHLinePattern *linePattern);
145  void _appendArrowPath(librevenge::RVNGPropertyList &propList, const FHPath *arrow, bool startArrow);
146  void _appendOpacity(librevenge::RVNGPropertyList &propList, const double *opacity);
147  void _appendShadow(librevenge::RVNGPropertyList &propList, const FWShadowFilter *filter);
148  void _appendGlow(librevenge::RVNGPropertyList &propList, const FWGlowFilter *filter);
149  void _applyFilter(librevenge::RVNGPropertyList &propList, unsigned filterId);
150  const std::vector<unsigned> *_findTStringElements(unsigned id);
151 
152  const FHPath *_findPath(unsigned id);
153  const FHGroup *_findGroup(unsigned id);
154  const FHGroup *_findClipGroup(unsigned id);
155  const FHCompositePath *_findCompositePath(unsigned id);
156  const FHPathText *_findPathText(unsigned id);
157  const FHTextObject *_findTextObject(unsigned id);
158  const FHTransform *_findTransform(unsigned id);
159  const FHTEffect *_findTEffect(unsigned id);
160  const FHParagraph *_findParagraph(unsigned id);
161  const std::vector<FHTab> *_findTabTable(unsigned id);
162  const FHPropList *_findPropList(unsigned id);
163  const FHGraphicStyle *_findGraphicStyle(unsigned id);
164  const std::vector<unsigned short> *_findTextBlok(unsigned id);
165  const FHBasicFill *_findBasicFill(unsigned id);
166  const FHLinearFill *_findLinearFill(unsigned id);
167  const FHLensFill *_findLensFill(unsigned id);
168  const FHRadialFill *_findRadialFill(unsigned id);
169  const FHTileFill *_findTileFill(unsigned id);
170  const FHPatternFill *_findPatternFill(unsigned id);
171  const FHLinePattern *_findLinePattern(unsigned id);
172  const FHPath *_findArrowPath(unsigned id);
173  const FHBasicLine *_findBasicLine(unsigned id);
174  const FHCustomProc *_findCustomProc(unsigned id);
175  const FHPatternLine *_findPatternLine(unsigned id);
176  const FHRGBColor *_findRGBColor(unsigned id);
177  const FHTintColor *_findTintColor(unsigned id);
178  const FHDisplayText *_findDisplayText(unsigned id);
179  const FHImageImport *_findImageImport(unsigned id);
180  const FHNewBlend *_findNewBlend(unsigned id);
181  const double *_findOpacityFilter(unsigned id);
182  const FWShadowFilter *_findFWShadowFilter(unsigned id);
183  const FWGlowFilter *_findFWGlowFilter(unsigned id);
185  const librevenge::RVNGBinaryData *_findData(unsigned id);
186  librevenge::RVNGString getColorString(unsigned id, double tint=1);
187  unsigned _findFillId(const FHGraphicStyle &graphicStyle);
188  unsigned _findStrokeId(const FHGraphicStyle &graphicStyle);
190  unsigned _findValueFromAttribute(unsigned id);
191  const FHSymbolClass *_findSymbolClass(unsigned id);
192  const FHSymbolInstance *_findSymbolInstance(unsigned id);
193  unsigned _findContentId(unsigned graphicStyleId);
194  const std::vector<FHColorStop> *_findMultiColorList(unsigned id);
195  librevenge::RVNGBinaryData getImageData(unsigned id);
197  void _generateBitmapFromPattern(librevenge::RVNGBinaryData &bitmap, unsigned colorId, const std::vector<unsigned char> &pattern);
198 
201  std::pair<unsigned, FHBlock> m_block;
202  std::map<unsigned, FHTransform> m_transforms;
203  std::map<unsigned, FHPath> m_paths;
204  std::map<unsigned, librevenge::RVNGString> m_strings;
205  std::map<librevenge::RVNGString, unsigned> m_names;
206  std::map<unsigned, FHList> m_lists;
207  std::map<unsigned, FHLayer> m_layers;
208  std::map<unsigned, FHGroup> m_groups;
209  std::map<unsigned, FHGroup> m_clipGroups;
210  std::stack<FHTransform> m_currentTransforms;
211  std::vector<FHTransform> m_fakeTransforms;
212  std::map<unsigned, FHCompositePath> m_compositePaths;
213  std::map<unsigned, FHPathText> m_pathTexts;
214  std::map<unsigned, std::vector<unsigned> > m_tStrings;
215  std::map<unsigned, FHAGDFont> m_fonts;
216  std::map<unsigned, FHTEffect> m_tEffects;
217  std::map<unsigned, FHParagraph> m_paragraphs;
218  std::map<unsigned, std::vector<FHTab> > m_tabs;
219  std::map<unsigned, std::vector<unsigned short> > m_textBloks;
220  std::map<unsigned, FHTextObject> m_textObjects;
221  std::map<unsigned, FHCharProperties> m_charProperties;
222  std::map<unsigned, FHParagraphProperties> m_paragraphProperties;
223  std::map<unsigned, FHRGBColor> m_rgbColors;
224  std::map<unsigned, FHBasicFill> m_basicFills;
225  std::map<unsigned, FHPropList> m_propertyLists;
226  std::map<unsigned, FHBasicLine> m_basicLines;
227  std::map<unsigned, FHCustomProc> m_customProcs;
228  std::map<unsigned, FHPatternLine> m_patternLines;
229  std::map<unsigned, FHDisplayText> m_displayTexts;
230  std::map<unsigned, FHGraphicStyle> m_graphicStyles;
231  std::map<unsigned, FHAttributeHolder> m_attributeHolders;
232  std::map<unsigned, librevenge::RVNGBinaryData> m_data;
233  std::map<unsigned, FHDataList> m_dataLists;
234  std::map<unsigned, FHImageImport> m_images;
235  std::map<unsigned, std::vector<FHColorStop> > m_multiColorLists;
236  std::map<unsigned, FHLinearFill> m_linearFills;
237  std::map<unsigned, FHTintColor> m_tints;
238  std::map<unsigned, FHLensFill> m_lensFills;
239  std::map<unsigned, FHRadialFill> m_radialFills;
240  std::map<unsigned, FHNewBlend> m_newBlends;
241  std::map<unsigned, FHFilterAttributeHolder> m_filterAttributeHolders;
242  std::map<unsigned, double> m_opacityFilters;
243  std::map<unsigned, FWShadowFilter> m_shadowFilters;
244  std::map<unsigned, FWGlowFilter> m_glowFilters;
245  std::map<unsigned, FHTileFill> m_tileFills;
246  std::map<unsigned, FHSymbolClass> m_symbolClasses;
247  std::map<unsigned, FHSymbolInstance> m_symbolInstances;
248  std::map<unsigned, FHPatternFill> m_patternFills;
249  std::map<unsigned, FHLinePattern> m_linePatterns;
250  std::map<unsigned, FHPath> m_arrowPaths;
251 
252  unsigned m_strokeId;
253  unsigned m_fillId;
254  unsigned m_contentId;
256  std::deque<unsigned> m_visitedObjects;
257 };
258 
259 } // namespace libfreehand
260 
261 #endif /* __FHCOLLECTOR_H__ */
262 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libfreehand::FH3CharProperties::m_fontStyle
unsigned m_fontStyle
Definition: FHTypes.h:268
libfreehand::FHCollector::m_paragraphProperties
std::map< unsigned, FHParagraphProperties > m_paragraphProperties
Definition: FHCollector.h:222
libfreehand::FHCollector::_getBBofLayer
void _getBBofLayer(unsigned layerId, FHBoundingBox &bBox)
libfreehand::FHPathText
Definition: FHTypes.h:78
libfreehand::FHCharProperties
Definition: FHTypes.h:149
libfreehand::FHDisplayText::m_charProps
std::vector< FH3CharProperties > m_charProps
Definition: FHTypes.h:305
libfreehand::FHNewBlend::m_list3Id
unsigned m_list3Id
Definition: FHTypes.h:382
libfreehand::FHCollector::m_fillId
unsigned m_fillId
Definition: FHCollector.h:253
libfreehand::FHCollector::_findMultiColorList
const std::vector< FHColorStop > * _findMultiColorList(unsigned id)
Definition: FHCollector.cpp:3025
libfreehand::FHCollector::collectTString
void collectTString(unsigned recordId, const std::vector< unsigned > &elements)
Definition: FHCollector.cpp:332
libfreehand::FHCollector::collectRadialFill
void collectRadialFill(unsigned recordId, const FHRadialFill &fill)
Definition: FHCollector.cpp:484
libfreehand::FHPatternLine::m_percentPattern
double m_percentPattern
Definition: FHTypes.h:214
libfreehand::FHAGDFont
Definition: FHTypes.h:103
libfreehand::FHCustomProc::m_widths
std::vector< double > m_widths
Definition: FHTypes.h:224
libfreehand::FHAttributeHolder
Definition: FHTypes.h:324
libfreehand::FHLensFill::m_value
double m_value
Definition: FHTypes.h:371
libfreehand::FHDisplayText
Definition: FHTypes.h:298
libfreehand::FHCollector::_outputTextObject
void _outputTextObject(const FHTextObject *textObject, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1383
libfreehand::FHCollector::m_tabs
std::map< unsigned, std::vector< FHTab > > m_tabs
Definition: FHCollector.h:218
libfreehand::FHCollector::m_currentTransforms
std::stack< FHTransform > m_currentTransforms
Definition: FHCollector.h:210
libfreehand::FHRadialFill::m_color2Id
unsigned m_color2Id
Definition: FHTypes.h:248
libfreehand::FHRadialFill::m_cy
double m_cy
Definition: FHTypes.h:250
libfreehand::FHCollector::_getBBofDisplayText
void _getBBofDisplayText(const FHDisplayText *displayText, FHBoundingBox &bBox)
Definition: FHCollector.cpp:740
FH_BASELN_SHIFT
#define FH_BASELN_SHIFT
Definition: FHConstants.h:31
libfreehand::FHImageImport::m_dataListId
unsigned m_dataListId
Definition: FHTypes.h:348
libfreehand::FH3CharProperties::m_fontColorId
unsigned m_fontColorId
Definition: FHTypes.h:269
libfreehand::FHTab
Definition: FHTypes.h:39
libfreehand::FHTab::m_type
unsigned m_type
Definition: FHTypes.h:40
libfreehand::FHTEffect::m_shortNameId
unsigned m_shortNameId
Definition: FHTypes.h:290
libfreehand::FHTextObject::m_colSep
double m_colSep
Definition: FHTypes.h:125
libfreehand::FHCustomProc::m_ids
std::vector< unsigned > m_ids
Definition: FHTypes.h:223
libfreehand::FHImageImport::m_height
double m_height
Definition: FHTypes.h:353
libfreehand::FHDisplayText::m_width
double m_width
Definition: FHTypes.h:303
libfreehand::FHLensFill::m_mode
unsigned m_mode
Definition: FHTypes.h:372
libfreehand::FHCollector::_appendLensFill
void _appendLensFill(librevenge::RVNGPropertyList &propList, const FHLensFill *lensFill)
Definition: FHCollector.cpp:2435
libfreehand::FHCollector::m_displayTexts
std::map< unsigned, FHDisplayText > m_displayTexts
Definition: FHCollector.h:229
libfreehand::FHCollector::_findPath
const FHPath * _findPath(unsigned id)
Definition: FHCollector.cpp:2695
FHTransform.h
libfreehand::FHImageImport
Definition: FHTypes.h:346
libfreehand::FHCollector::_findTabTable
const std::vector< FHTab > * _findTabTable(unsigned id)
Definition: FHCollector.cpp:2795
libfreehand::FHCollector::m_glowFilters
std::map< unsigned, FWGlowFilter > m_glowFilters
Definition: FHCollector.h:244
libfreehand::FHCollector::m_tileFills
std::map< unsigned, FHTileFill > m_tileFills
Definition: FHCollector.h:245
libfreehand::FHParagraph
Definition: FHTypes.h:95
libfreehand::FHBasicFill::m_colorId
unsigned m_colorId
Definition: FHTypes.h:232
FH_HOR_SCALE
#define FH_HOR_SCALE
Definition: FHConstants.h:36
libfreehand::FHTileFill::m_groupId
unsigned m_groupId
Definition: FHTypes.h:416
libfreehand::FHTintColor
Definition: FHTypes.h:184
libfreehand::FHCompositePath
Definition: FHTypes.h:88
libfreehand::FHCollector::collectTintColor
void collectTintColor(unsigned recordId, const FHTintColor &color)
Definition: FHCollector.cpp:383
FH_LENSFILL_MODE_MAGNIFY
#define FH_LENSFILL_MODE_MAGNIFY
Definition: FHConstants.h:84
libfreehand::FHCharProperties::m_fontNameId
unsigned m_fontNameId
Definition: FHTypes.h:152
libfreehand::FHCollector::_getBBofImageImport
void _getBBofImageImport(const FHImageImport *image, FHBoundingBox &bBox)
Definition: FHCollector.cpp:810
libfreehand::FHImageImport::m_xFormId
unsigned m_xFormId
Definition: FHTypes.h:349
libfreehand::FHCollector::_findPathText
const FHPathText * _findPathText(unsigned id)
Definition: FHCollector.cpp:2745
libfreehand::FHTextObject::m_rowBreakFirst
unsigned m_rowBreakFirst
Definition: FHTypes.h:127
libfreehand::FHCollector::_appendTileFill
void _appendTileFill(librevenge::RVNGPropertyList &propList, const FHTileFill *tileFill)
Definition: FHCollector.cpp:2513
libfreehand::FHCollector::m_symbolClasses
std::map< unsigned, FHSymbolClass > m_symbolClasses
Definition: FHCollector.h:246
libfreehand::FHCharProperties::m_idToDoubleMap
std::map< unsigned, double > m_idToDoubleMap
Definition: FHTypes.h:155
FH_LENSFILL_MODE_LIGHTEN
#define FH_LENSFILL_MODE_LIGHTEN
Definition: FHConstants.h:85
FH_PARA_TEXT_ALIGN
#define FH_PARA_TEXT_ALIGN
Definition: FHConstants.h:17
libfreehand::FHCollector::_getBBofPathText
void _getBBofPathText(const FHPathText *pathText, FHBoundingBox &bBox)
Definition: FHCollector.cpp:662
libfreehand::FH3CharProperties::m_letterSpacing
double m_letterSpacing
Definition: FHTypes.h:272
libfreehand::FHCollector::_outputClipGroup
void _outputClipGroup(const FHGroup *group, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1090
libfreehand::FHGroup
Definition: FHTypes.h:70
libfreehand::FHCollector::_findTransform
const FHTransform * _findTransform(unsigned id)
Definition: FHCollector.cpp:2765
libfreehand::FHCollector::_appendFillProperties
void _appendFillProperties(librevenge::RVNGPropertyList &propList, unsigned graphicStyleId)
Definition: FHCollector.cpp:2205
libfreehand::FHCollector::_findPropList
const FHPropList * _findPropList(unsigned id)
Definition: FHCollector.cpp:2815
libfreehand::FHCollector::_outputSomething
void _outputSomething(unsigned somethingId, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1034
libfreehand::FHCollector::collectTabTable
void collectTabTable(unsigned recordId, const std::vector< FHTab > &tabs)
Definition: FHCollector.cpp:352
libfreehand::FHTextObject::m_rowNum
unsigned m_rowNum
Definition: FHTypes.h:124
libfreehand::FHPatternFill::m_colorId
unsigned m_colorId
Definition: FHTypes.h:258
libfreehand::FHCollector::_findLinePattern
const FHLinePattern * _findLinePattern(unsigned id)
Definition: FHCollector.cpp:2895
FH_PARA_TAB_TABLE_ID
#define FH_PARA_TAB_TABLE_ID
Definition: FHConstants.h:30
libfreehand::FHTileFill::m_xFormId
unsigned m_xFormId
Definition: FHTypes.h:415
libfreehand::FHCollector::_findTextObject
const FHTextObject * _findTextObject(unsigned id)
Definition: FHCollector.cpp:2755
libfreehand::FHBoundingBox::m_ymin
double m_ymin
Definition: FHTypes.h:456
libfreehand::FHCollector::m_paths
std::map< unsigned, FHPath > m_paths
Definition: FHCollector.h:203
libfreehand::FHCollector::_findLinearFill
const FHLinearFill * _findLinearFill(unsigned id)
Definition: FHCollector.cpp:2845
libfreehand::FH3CharProperties
Definition: FHTypes.h:264
libfreehand::FHLinearFill::m_color1Id
unsigned m_color1Id
Definition: FHTypes.h:238
libfreehand::FHTEffect::m_colorId
unsigned m_colorId[2]
Definition: FHTypes.h:291
libfreehand::FHCollector::_getBBofSymbolInstance
void _getBBofSymbolInstance(const FHSymbolInstance *symbolInstance, FHBoundingBox &bBox)
Definition: FHCollector.cpp:884
FH_LENSFILL_MODE_TRANSPARENCY
#define FH_LENSFILL_MODE_TRANSPARENCY
Definition: FHConstants.h:83
FHCollector.h
libfreehand::FHCharProperties::m_textColorId
unsigned m_textColorId
Definition: FHTypes.h:150
libfreehand::FHBasicLine::m_endArrowId
unsigned m_endArrowId
Definition: FHTypes.h:203
libfreehand::FHCollector::_findPatternLine
const FHPatternLine * _findPatternLine(unsigned id)
Definition: FHCollector.cpp:2935
libfreehand::FH3CharProperties::m_fontNameId
unsigned m_fontNameId
Definition: FHTypes.h:266
libfreehand::FHCollector::m_images
std::map< unsigned, FHImageImport > m_images
Definition: FHCollector.h:234
libfreehand::FHCollector::m_compositePaths
std::map< unsigned, FHCompositePath > m_compositePaths
Definition: FHCollector.h:212
libfreehand::FHCollector::m_tStrings
std::map< unsigned, std::vector< unsigned > > m_tStrings
Definition: FHCollector.h:214
libfreehand::FHPath::transform
void transform(const FHTransform &trafo)
Definition: FHPath.cpp:708
libfreehand::FHCollector::_outputSymbolInstance
void _outputSymbolInstance(const FHSymbolInstance *symbolInstance, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1244
libfreehand::FH3ParaProperties
Definition: FHTypes.h:282
libfreehand::FWShadowFilter::m_distribution
double m_distribution
Definition: FHTypes.h:391
libfreehand::FHTextObject::m_startY
double m_startY
Definition: FHTypes.h:118
libfreehand::FHCollector::_appendBasicFill
void _appendBasicFill(librevenge::RVNGPropertyList &propList, const FHBasicFill *basicFill)
Definition: FHCollector.cpp:2313
libfreehand::FHFilterAttributeHolder
Definition: FHTypes.h:331
libfreehand::FHCollector::m_clipGroups
std::map< unsigned, FHGroup > m_clipGroups
Definition: FHCollector.h:209
libfreehand::FH3CharProperties::m_fontSize
double m_fontSize
Definition: FHTypes.h:267
libfreehand::FHCollector::m_patternLines
std::map< unsigned, FHPatternLine > m_patternLines
Definition: FHCollector.h:228
libfreehand::FHCollector::m_data
std::map< unsigned, librevenge::RVNGBinaryData > m_data
Definition: FHCollector.h:232
libfreehand::FHCollector::m_transforms
std::map< unsigned, FHTransform > m_transforms
Definition: FHCollector.h:202
libfreehand::FHCollector::collectPropList
void collectPropList(unsigned recordId, const FHPropList &propertyList)
Definition: FHCollector.cpp:429
libfreehand::FHCollector::collectFHTail
void collectFHTail(unsigned recordId, const FHTail &fhTail)
Definition: FHCollector.cpp:288
libfreehand::FHCollector::collectPathText
void collectPathText(unsigned recordId, const FHPathText &group)
Definition: FHCollector.cpp:327
FH_PARA_LEADING_TYPE
#define FH_PARA_LEADING_TYPE
Definition: FHConstants.h:38
libfreehand::FHImageImport::m_startY
double m_startY
Definition: FHTypes.h:351
libfreehand::FHCollector::m_fakeTransforms
std::vector< FHTransform > m_fakeTransforms
Definition: FHCollector.h:211
libfreehand::FHCollector::_findSymbolInstance
const FHSymbolInstance * _findSymbolInstance(unsigned id)
Definition: FHCollector.cpp:3005
libfreehand::FHTextObject::m_colNum
unsigned m_colNum
Definition: FHTypes.h:123
libfreehand::FHDisplayText::m_characters
std::vector< unsigned char > m_characters
Definition: FHTypes.h:308
libfreehand::FHCollector::m_strings
std::map< unsigned, librevenge::RVNGString > m_strings
Definition: FHCollector.h:204
libfreehand::FHCollector::_appendShadow
void _appendShadow(librevenge::RVNGPropertyList &propList, const FWShadowFilter *filter)
Definition: FHCollector.cpp:2415
libfreehand::FH3ParaProperties::m_offset
unsigned m_offset
Definition: FHTypes.h:283
libfreehand::FHCollector::_findStrokeId
unsigned _findStrokeId(const FHGraphicStyle &graphicStyle)
Definition: FHCollector.cpp:3065
libfreehand::FHParagraphProperties
Definition: FHTypes.h:136
libfreehand::FHCollector::m_textBloks
std::map< unsigned, std::vector< unsigned short > > m_textBloks
Definition: FHCollector.h:219
libfreehand::FHDisplayText::m_height
double m_height
Definition: FHTypes.h:304
libfreehand::FHCollector::_appendRadialFill
void _appendRadialFill(librevenge::RVNGPropertyList &propList, const FHRadialFill *radialFill)
Definition: FHCollector.cpp:2482
libfreehand::FHTextObject::m_tStringId
unsigned m_tStringId
Definition: FHTypes.h:114
libfreehand::FHCollector::_appendLinePattern
void _appendLinePattern(librevenge::RVNGPropertyList &propList, const FHLinePattern *linePattern)
Definition: FHCollector.cpp:2587
libfreehand::FHCollector::collectFilterAttributeHolder
void collectFilterAttributeHolder(unsigned recordId, const FHFilterAttributeHolder &filterAttributeHolder)
Definition: FHCollector.cpp:449
libfreehand::FHCollector::_appendPatternLine
void _appendPatternLine(librevenge::RVNGPropertyList &propList, const FHPatternLine *basicLine)
Definition: FHCollector.cpp:2682
libfreehand::FHTileFill
Definition: FHTypes.h:414
libfreehand::FHCollector::m_lensFills
std::map< unsigned, FHLensFill > m_lensFills
Definition: FHCollector.h:238
libfreehand::FHCollector::m_block
std::pair< unsigned, FHBlock > m_block
Definition: FHCollector.h:201
libfreehand::FHSymbolInstance::m_symbolClassId
unsigned m_symbolClassId
Definition: FHTypes.h:448
libfreehand::FHPatternFill
Definition: FHTypes.h:257
libfreehand_utils.h
libfreehand::FHPath::appendPath
void appendPath(const FHPath &path)
Definition: FHPath.cpp:669
libfreehand::FHCollector::_appendOpacity
void _appendOpacity(librevenge::RVNGPropertyList &propList, const double *opacity)
Definition: FHCollector.cpp:2405
libfreehand::FHParagraph::m_textBlokId
unsigned m_textBlokId
Definition: FHTypes.h:97
libfreehand::FHCollector::_findBasicFill
const FHBasicFill * _findBasicFill(unsigned id)
Definition: FHCollector.cpp:2835
libfreehand::FHDisplayText::m_justify
int m_justify
Definition: FHTypes.h:306
FH_PARA_SPC_ABOVE
#define FH_PARA_SPC_ABOVE
Definition: FHConstants.h:29
libfreehand::FHTileFill::m_scaleX
double m_scaleX
Definition: FHTypes.h:417
libfreehand::FHCollector::m_strokeId
unsigned m_strokeId
Definition: FHCollector.h:252
libfreehand::FHCollector::_appendBasicLine
void _appendBasicLine(librevenge::RVNGPropertyList &propList, const FHBasicLine *basicLine)
Definition: FHCollector.cpp:2651
libfreehand::FHRadialFill::m_multiColorListId
unsigned m_multiColorListId
Definition: FHTypes.h:251
libfreehand::FHTEffect
Definition: FHTypes.h:288
libfreehand::FHCollector::collectPatternFill
void collectPatternFill(unsigned recordId, const FHPatternFill &fill)
Definition: FHCollector.cpp:413
libfreehand::FHCollector::m_textObjects
std::map< unsigned, FHTextObject > m_textObjects
Definition: FHCollector.h:220
libfreehand::FHCompositePath::m_elementsId
unsigned m_elementsId
Definition: FHTypes.h:90
libfreehand::FHBasicLine
Definition: FHTypes.h:199
libfreehand::FHCollector::_findRGBColor
const FHRGBColor * _findRGBColor(unsigned id)
Definition: FHCollector.cpp:2945
FH_PARA_LEFT_INDENT
#define FH_PARA_LEFT_INDENT
Definition: FHConstants.h:20
libfreehand::FHPathText::m_displayTextId
unsigned m_displayTextId
Definition: FHTypes.h:81
libfreehand::FHTextObject
Definition: FHTypes.h:111
libfreehand::FHCollector::m_arrowPaths
std::map< unsigned, FHPath > m_arrowPaths
Definition: FHCollector.h:250
libfreehand::FHCollector::_findData
const librevenge::RVNGBinaryData * _findData(unsigned id)
Definition: FHCollector.cpp:2985
libfreehand::FHCollector::m_customProcs
std::map< unsigned, FHCustomProc > m_customProcs
Definition: FHCollector.h:227
libfreehand::FHCollector::collectString
void collectString(unsigned recordId, const librevenge::RVNGString &str)
Definition: FHCollector.cpp:261
libfreehand::FHLinearFill::m_angle
double m_angle
Definition: FHTypes.h:240
libfreehand::FHCollector::_findValueFromAttribute
unsigned _findValueFromAttribute(unsigned id)
Definition: FHCollector.cpp:3123
libfreehand::FHCollector::m_textBoxNumberId
unsigned m_textBoxNumberId
Definition: FHCollector.h:255
libfreehand::FHCollector
Definition: FHCollector.h:26
libfreehand::FHCollector::_appendCustomProcFill
void _appendCustomProcFill(librevenge::RVNGPropertyList &propList, const FHCustomProc *customProc)
Definition: FHCollector.cpp:2325
libfreehand::FHCollector::collectCompositePath
void collectCompositePath(unsigned recordId, const FHCompositePath &compositePath)
Definition: FHCollector.cpp:322
libfreehand::FHCollector::collectNewBlend
void collectNewBlend(unsigned recordId, const FHNewBlend &newBlend)
Definition: FHCollector.cpp:489
M_PI
#define M_PI
Definition: libfreehand_utils.h:26
FH_LENSFILL_MODE_DARKEN
#define FH_LENSFILL_MODE_DARKEN
Definition: FHConstants.h:86
libfreehand
Definition: FHCollector.h:23
libfreehand::FHPath::getPathString
std::string getPathString() const
Definition: FHPath.cpp:700
libfreehand::FHCollector::m_layers
std::map< unsigned, FHLayer > m_layers
Definition: FHCollector.h:207
libfreehand::FHLinePattern
Definition: FHTypes.h:428
libfreehand::FHCollector::m_pageInfo
FHPageInfo m_pageInfo
Definition: FHCollector.h:199
FH_PARA_LEADING
#define FH_PARA_LEADING
Definition: FHConstants.h:37
libfreehand::FHCollector::m_tints
std::map< unsigned, FHTintColor > m_tints
Definition: FHCollector.h:237
libfreehand::FHCollector::FHCollector
FHCollector()
Definition: FHCollector.cpp:238
libfreehand::FHPath::isClosed
bool isClosed() const
Definition: FHPath.cpp:727
libfreehand::FHCharProperties::m_fontId
unsigned m_fontId
Definition: FHTypes.h:153
libfreehand::FHCollector::collectParagraphProps
void collectParagraphProps(unsigned recordId, const FHParagraphProperties &paragraphProps)
Definition: FHCollector.cpp:373
libfreehand::FH3CharProperties::m_leading
double m_leading
Definition: FHTypes.h:271
libfreehand::FHSymbolInstance::m_xForm
FHTransform m_xForm
Definition: FHTypes.h:449
libfreehand::FHCollector::_findFilterAttributeHolder
const FHFilterAttributeHolder * _findFilterAttributeHolder(unsigned id)
Definition: FHCollector.cpp:3015
libfreehand::FHCollector::collectTEffect
void collectTEffect(unsigned recordId, const FHTEffect &tEffect)
Definition: FHCollector.cpp:342
libfreehand::FHCollector::m_graphicStyles
std::map< unsigned, FHGraphicStyle > m_graphicStyles
Definition: FHCollector.h:230
libfreehand::FHTransform
Definition: FHTransform.h:19
FH_PARA_KEEP_SAME_LINE
#define FH_PARA_KEEP_SAME_LINE
Definition: FHConstants.h:32
libfreehand::FHBasicFill
Definition: FHTypes.h:231
libfreehand::FHCollector::_findArrowPath
const FHPath * _findArrowPath(unsigned id)
Definition: FHCollector.cpp:2905
libfreehand::FH3CharProperties::m_offset
unsigned m_offset
Definition: FHTypes.h:265
libfreehand::FHCollector::collectDisplayText
void collectDisplayText(unsigned recordId, const FHDisplayText &displayText)
Definition: FHCollector.cpp:434
libfreehand::FHCollector::_outputGroup
void _outputGroup(const FHGroup *group, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1055
libfreehand::FHCollector::collectAGDFont
void collectAGDFont(unsigned recordId, const FHAGDFont &font)
Definition: FHCollector.cpp:337
libfreehand::FHSymbolClass
Definition: FHTypes.h:435
libfreehand::FHCollector::m_lists
std::map< unsigned, FHList > m_lists
Definition: FHCollector.h:206
libfreehand::FHGroup::m_elementsId
unsigned m_elementsId
Definition: FHTypes.h:72
libfreehand::FH3CharProperties::m_textEffsId
unsigned m_textEffsId
Definition: FHTypes.h:270
libfreehand::FHCollector::collectColor
void collectColor(unsigned recordId, const FHRGBColor &color)
Definition: FHCollector.cpp:378
libfreehand::FHCollector::_findTileFill
const FHTileFill * _findTileFill(unsigned id)
Definition: FHCollector.cpp:2875
libfreehand::FHLensFill
Definition: FHTypes.h:369
libfreehand::FHCollector::_findRadialFill
const FHRadialFill * _findRadialFill(unsigned id)
Definition: FHCollector.cpp:2865
libfreehand::FHCollector::_appendLinearFill
void _appendLinearFill(librevenge::RVNGPropertyList &propList, const FHLinearFill *linearFill)
Definition: FHCollector.cpp:2362
libfreehand::FHPath::getBoundingBox
void getBoundingBox(double x0, double y0, double &xmin, double &ymin, double &xmax, double &ymax) const
Definition: FHPath.cpp:761
libfreehand::FHCollector::_findBasicLine
const FHBasicLine * _findBasicLine(unsigned id)
Definition: FHCollector.cpp:2915
libfreehand::FHCollector::_outputImageImport
void _outputImageImport(const FHImageImport *image, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:2040
libfreehand::FHCollector::collectBasicLine
void collectBasicLine(unsigned recordId, const FHBasicLine &line)
Definition: FHCollector.cpp:393
FH_DEBUG_MSG
#define FH_DEBUG_MSG(M)
Definition: libfreehand_utils.h:50
libfreehand::FHCollector::_findTEffect
const FHTEffect * _findTEffect(unsigned id)
Definition: FHCollector.cpp:2775
libfreehand::FHCollector::_getBBofPath
void _getBBofPath(const FHPath *path, FHBoundingBox &bBox)
Definition: FHCollector.cpp:531
libfreehand::FHPatternLine
Definition: FHTypes.h:212
libfreehand::FHCollector::_findOpacityFilter
const double * _findOpacityFilter(unsigned id)
Definition: FHCollector.cpp:3035
libfreehand::FHTransform::applyToPoint
void applyToPoint(double &x, double &y) const
Definition: FHTransform.cpp:30
libfreehand::FHCollector::collectOpacityFilter
void collectOpacityFilter(unsigned recordId, double opacity)
Definition: FHCollector.cpp:494
libfreehand::FHCollector::m_rgbColors
std::map< unsigned, FHRGBColor > m_rgbColors
Definition: FHCollector.h:223
libfreehand::FHCollector::_findTintColor
const FHTintColor * _findTintColor(unsigned id)
Definition: FHCollector.cpp:2955
libfreehand::FHCollector::_getBBofGroup
void _getBBofGroup(const FHGroup *group, FHBoundingBox &bBox)
Definition: FHCollector.cpp:562
libfreehand::FHCharProperties::m_fontSize
double m_fontSize
Definition: FHTypes.h:151
libfreehand::FHRGBColor
Definition: FHTypes.h:161
libfreehand::FHPropList::m_elements
std::map< unsigned, unsigned > m_elements
Definition: FHTypes.h:193
libfreehand::FHCollector::m_newBlends
std::map< unsigned, FHNewBlend > m_newBlends
Definition: FHCollector.h:240
libfreehand::FHCollector::collectParagraph
void collectParagraph(unsigned recordId, const FHParagraph &paragraph)
Definition: FHCollector.cpp:347
libfreehand::FHLinearFill
Definition: FHTypes.h:237
FH_LENSFILL_MODE_INVERT
#define FH_LENSFILL_MODE_INVERT
Definition: FHConstants.h:87
libfreehand::FHPath::getXFormId
unsigned getXFormId() const
Definition: FHPath.cpp:746
libfreehand::FHLayer
Definition: FHTypes.h:62
libfreehand::FHDataList
Definition: FHTypes.h:339
libfreehand::FHCollector::m_groups
std::map< unsigned, FHGroup > m_groups
Definition: FHCollector.h:208
libfreehand::FHCollector::collectPatternLine
void collectPatternLine(unsigned recordId, const FHPatternLine &line)
Definition: FHCollector.cpp:403
FH_PARA_SPC_BELLOW
#define FH_PARA_SPC_BELLOW
Definition: FHConstants.h:28
libfreehand::FHCollector::_findFWGlowFilter
const FWGlowFilter * _findFWGlowFilter(unsigned id)
Definition: FHCollector.cpp:3055
FH_PARA_TEXT_INDENT
#define FH_PARA_TEXT_INDENT
Definition: FHConstants.h:18
libfreehand::FHGraphicStyle::m_elements
std::map< unsigned, unsigned > m_elements
Definition: FHTypes.h:319
FHPath.h
libfreehand::FHCollector::_getBBofCompositePath
void _getBBofCompositePath(const FHCompositePath *compositePath, FHBoundingBox &bBox)
Definition: FHCollector.cpp:628
libfreehand::FHTextObject::m_xFormId
unsigned m_xFormId
Definition: FHTypes.h:113
FHTypes.h
libfreehand::FHCollector::_outputNewBlend
void _outputNewBlend(const FHNewBlend *newBlend, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1212
libfreehand::FHCollector::collectBlock
void collectBlock(unsigned recordId, const FHBlock &block)
Definition: FHCollector.cpp:293
libfreehand::FWShadowFilter::m_opacity
double m_opacity
Definition: FHTypes.h:392
libfreehand::FHCollector::_outputLayer
void _outputLayer(unsigned layerId, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1318
libfreehand::FHCollector::_getBBofSomething
void _getBBofSomething(unsigned somethingId, FHBoundingBox &bBox)
Definition: FHCollector.cpp:903
libfreehand::FHDisplayText::m_paraProps
std::vector< FH3ParaProperties > m_paraProps
Definition: FHTypes.h:307
libfreehand::FHCollector::getRGBFromTint
FHRGBColor getRGBFromTint(const FHTintColor &tint)
Definition: FHCollector.cpp:3176
libfreehand::FHLinearFill::m_color2Id
unsigned m_color2Id
Definition: FHTypes.h:239
libfreehand::FWGlowFilter
Definition: FHTypes.h:401
libfreehand::FHPatternFill::m_pattern
std::vector< unsigned char > m_pattern
Definition: FHTypes.h:259
libfreehand::FHBoundingBox::isValid
bool isValid() const
Definition: FHTypes.h:473
libfreehand::FHNewBlend::m_list2Id
unsigned m_list2Id
Definition: FHTypes.h:381
libfreehand::FHPatternLine::m_colorId
unsigned m_colorId
Definition: FHTypes.h:213
libfreehand::FHTileFill::m_scaleY
double m_scaleY
Definition: FHTypes.h:418
libfreehand::FHCollector::m_propertyLists
std::map< unsigned, FHPropList > m_propertyLists
Definition: FHCollector.h:225
libfreehand::FHCollector::m_radialFills
std::map< unsigned, FHRadialFill > m_radialFills
Definition: FHCollector.h:239
libfreehand::FHCollector::collectDataList
void collectDataList(unsigned recordId, const FHDataList &list)
Definition: FHCollector.cpp:459
libfreehand::FHCollector::collectPageInfo
void collectPageInfo(const FHPageInfo &pageInfo)
Definition: FHCollector.cpp:256
libfreehand::FHRGBColor::m_green
unsigned short m_green
Definition: FHTypes.h:163
libfreehand::FHCollector::collectBasicFill
void collectBasicFill(unsigned recordId, const FHBasicFill &fill)
Definition: FHCollector.cpp:388
libfreehand::FHParagraphProperties::m_idToZoneIdMap
std::map< unsigned, unsigned > m_idToZoneIdMap
Definition: FHTypes.h:139
FH_RNG_KERN
#define FH_RNG_KERN
Definition: FHConstants.h:39
libfreehand::FHTextObject::m_width
double m_width
Definition: FHTypes.h:119
libfreehand::FHNewBlend
Definition: FHTypes.h:377
libfreehand::FHCollector::_appendCustomProcLine
void _appendCustomProcLine(librevenge::RVNGPropertyList &propList, const FHCustomProc *customProc)
Definition: FHCollector.cpp:2668
libfreehand::FHCollector::collectCustomProc
void collectCustomProc(unsigned recordId, const FHCustomProc &lineFill)
Definition: FHCollector.cpp:398
libfreehand::FHTextObject::m_pathId
unsigned m_pathId
Definition: FHTypes.h:116
libfreehand::FHSymbolInstance
Definition: FHTypes.h:445
libfreehand::FHCollector::_appendParagraphProperties
void _appendParagraphProperties(librevenge::RVNGPropertyList &propList, unsigned paraPropsId)
Definition: FHCollector.cpp:1747
libfreehand::FHCollector::collectTextObject
void collectTextObject(unsigned recordId, const FHTextObject &textObject)
Definition: FHCollector.cpp:363
libfreehand::FHCollector::_findClipGroup
const FHGroup * _findClipGroup(unsigned id)
Definition: FHCollector.cpp:2725
libfreehand::FHDisplayText::m_startX
double m_startX
Definition: FHTypes.h:301
libfreehand::FHBasicLine::m_width
double m_width
Definition: FHTypes.h:205
libfreehand::FHCollector::collectGroup
void collectGroup(unsigned recordId, const FHGroup &group)
Definition: FHCollector.cpp:312
libfreehand::FHCollector::_appendStrokeProperties
void _appendStrokeProperties(librevenge::RVNGPropertyList &propList, unsigned graphicStyleId)
Definition: FHCollector.cpp:2263
libfreehand::FHCollector::_appendTabProperties
void _appendTabProperties(librevenge::RVNGPropertyList &propList, const FHTab &tab)
Definition: FHCollector.cpp:1721
libfreehand::FHCollector::collectGraphicStyle
void collectGraphicStyle(unsigned recordId, const FHGraphicStyle &graphicStyle)
Definition: FHCollector.cpp:439
libfreehand::FHFilterAttributeHolder::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:334
libfreehand::FHCollector::_findListElements
const std::vector< unsigned > * _findListElements(unsigned id)
Definition: FHCollector.cpp:2177
libfreehand::FHCollector::m_filterAttributeHolders
std::map< unsigned, FHFilterAttributeHolder > m_filterAttributeHolders
Definition: FHCollector.h:241
libfreehand::FHAGDFont::m_fontStyle
unsigned m_fontStyle
Definition: FHTypes.h:105
libfreehand::FHFilterAttributeHolder::m_filterId
unsigned m_filterId
Definition: FHTypes.h:333
libfreehand::FHCollector::m_shadowFilters
std::map< unsigned, FWShadowFilter > m_shadowFilters
Definition: FHCollector.h:243
libfreehand::FHCollector::_outputDisplayText
void _outputDisplayText(const FHDisplayText *displayText, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1856
libfreehand::FHCollector::_getBBofTextObject
void _getBBofTextObject(const FHTextObject *textObject, FHBoundingBox &bBox)
Definition: FHCollector.cpp:670
libfreehand::writeU32
void writeU32(librevenge::RVNGBinaryData &buffer, const int value)
Definition: libfreehand_utils.cpp:181
libfreehand::FHDisplayText::m_startY
double m_startY
Definition: FHTypes.h:302
libfreehand::FHCollector::m_visitedObjects
std::deque< unsigned > m_visitedObjects
Definition: FHCollector.h:256
libfreehand::FHCollector::collectFWShadowFilter
void collectFWShadowFilter(unsigned recordId, const FWShadowFilter &filter)
Definition: FHCollector.cpp:499
libfreehand::FHCollector::_outputPathText
void _outputPathText(const FHPathText *pathText, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1204
libfreehand::FHCollector::collectName
void collectName(unsigned recordId, const librevenge::RVNGString &str)
Definition: FHCollector.cpp:266
libfreehand::FHPath
Definition: FHPath.h:40
libfreehand::FHList
Definition: FHTypes.h:55
libfreehand::FHCollector::collectSymbolClass
void collectSymbolClass(unsigned recordId, const FHSymbolClass &symbolClass)
Definition: FHCollector.cpp:509
libfreehand::FHPath::setGraphicStyleId
void setGraphicStyleId(unsigned graphicStyleId)
Definition: FHPath.cpp:684
libfreehand::FHImageImport::m_width
double m_width
Definition: FHTypes.h:352
libfreehand::FHCollector::collectFWGlowFilter
void collectFWGlowFilter(unsigned recordId, const FWGlowFilter &filter)
Definition: FHCollector.cpp:504
libfreehand::FHCollector::_outputParagraph
void _outputParagraph(const FHParagraph *paragraph, librevenge::RVNGDrawingInterface *painter, unsigned &actPos, unsigned minPos, unsigned maxPos)
Definition: FHCollector.cpp:1537
libfreehand::FHTextObject::m_endPos
unsigned m_endPos
Definition: FHTypes.h:122
libfreehand::FHCollector::_findFWShadowFilter
const FWShadowFilter * _findFWShadowFilter(unsigned id)
Definition: FHCollector.cpp:3045
libfreehand::FHCollector::_appendFontProperties
void _appendFontProperties(librevenge::RVNGPropertyList &propList, unsigned agdFontId)
Definition: FHCollector.cpp:2186
libfreehand::FHLinePattern::m_dashes
std::vector< double > m_dashes
Definition: FHTypes.h:429
libfreehand::FHCollector::m_fhTail
FHTail m_fhTail
Definition: FHCollector.h:200
FH_UNINITIALIZED
#define FH_UNINITIALIZED(pI)
Definition: FHCollector.cpp:38
libfreehand::FHRadialFill::m_cx
double m_cx
Definition: FHTypes.h:249
libfreehand::FHImageImport::m_startX
double m_startX
Definition: FHTypes.h:350
libfreehand::FHCollector::m_fonts
std::map< unsigned, FHAGDFont > m_fonts
Definition: FHCollector.h:215
libfreehand::FHPropList
Definition: FHTypes.h:191
libfreehand::_appendMacRoman
void _appendMacRoman(librevenge::RVNGString &text, unsigned char character)
Definition: libfreehand_utils.cpp:189
libfreehand::_appendUTF16
void _appendUTF16(librevenge::RVNGString &text, std::vector< unsigned short > &characters)
Definition: libfreehand_utils.cpp:153
libfreehand::FHBoundingBox::m_xmax
double m_xmax
Definition: FHTypes.h:457
libfreehand::FHTextObject::m_height
double m_height
Definition: FHTypes.h:120
libfreehand::FHPath::writeOut
void writeOut(librevenge::RVNGPropertyListVector &vec) const
Definition: FHPath.cpp:694
libfreehand::FHGraphicStyle::m_attrId
unsigned m_attrId
Definition: FHTypes.h:318
libfreehand::FHCollector::_appendPatternFill
void _appendPatternFill(librevenge::RVNGPropertyList &propList, const FHPatternFill *patternFill)
Definition: FHCollector.cpp:2575
libfreehand::FHCollector::m_linearFills
std::map< unsigned, FHLinearFill > m_linearFills
Definition: FHCollector.h:236
libfreehand::FHCollector::_outputPath
void _outputPath(const FHPath *path, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:923
libfreehand::FHCollector::collectLayer
void collectLayer(unsigned recordId, const FHLayer &layer)
Definition: FHCollector.cpp:307
libfreehand::FHCollector::m_basicFills
std::map< unsigned, FHBasicFill > m_basicFills
Definition: FHCollector.h:224
FH_LENSFILL_MODE_MONOCHROME
#define FH_LENSFILL_MODE_MONOCHROME
Definition: FHConstants.h:88
libfreehand::FHTextObject::m_beginPos
unsigned m_beginPos
Definition: FHTypes.h:121
libfreehand::FHCollector::_generateBitmapFromPattern
void _generateBitmapFromPattern(librevenge::RVNGBinaryData &bitmap, unsigned colorId, const std::vector< unsigned char > &pattern)
Definition: FHCollector.cpp:3193
libfreehand::FHBoundingBox::m_xmin
double m_xmin
Definition: FHTypes.h:455
libfreehand::FHCollector::collectList
void collectList(unsigned recordId, const FHList &lst)
Definition: FHCollector.cpp:302
libfreehand::FHRGBColor::m_blue
unsigned short m_blue
Definition: FHTypes.h:164
FHConstants.h
libfreehand::FHCollector::_findCompositePath
const FHCompositePath * _findCompositePath(unsigned id)
Definition: FHCollector.cpp:2735
libfreehand::FHCollector::getImageData
librevenge::RVNGBinaryData getImageData(unsigned id)
Definition: FHCollector.cpp:3138
libfreehand::FHRGBColor::m_red
unsigned short m_red
Definition: FHTypes.h:162
libfreehand::FHPatternLine::m_width
double m_width
Definition: FHTypes.h:216
libfreehand::FHCollector::collectData
void collectData(unsigned recordId, const librevenge::RVNGBinaryData &data)
Definition: FHCollector.cpp:454
libfreehand::FHCollector::_findNewBlend
const FHNewBlend * _findNewBlend(unsigned id)
Definition: FHCollector.cpp:2705
libfreehand::FHLensFill::m_colorId
unsigned m_colorId
Definition: FHTypes.h:370
libfreehand::FHCollector::_findLensFill
const FHLensFill * _findLensFill(unsigned id)
Definition: FHCollector.cpp:2855
libfreehand::FHPropList::m_parentId
unsigned m_parentId
Definition: FHTypes.h:192
libfreehand::FHCollector::_outputCompositePath
void _outputCompositePath(const FHCompositePath *compositePath, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1351
libfreehand::FHCollector::_normalizePoint
void _normalizePoint(double &x, double &y)
Definition: FHCollector.cpp:525
libfreehand::FHCollector::_normalizePath
void _normalizePath(FHPath &path)
Definition: FHCollector.cpp:519
libfreehand::FHCollector::collectMultiColorList
void collectMultiColorList(unsigned recordId, const std::vector< FHColorStop > &colorStops)
Definition: FHCollector.cpp:469
FH_PARA_RIGHT_INDENT
#define FH_PARA_RIGHT_INDENT
Definition: FHConstants.h:27
libfreehand::FHTintColor::m_tint
unsigned short m_tint
Definition: FHTypes.h:186
libfreehand::FHCollector::m_paragraphs
std::map< unsigned, FHParagraph > m_paragraphs
Definition: FHCollector.h:217
libfreehand::FHCollector::m_pathTexts
std::map< unsigned, FHPathText > m_pathTexts
Definition: FHCollector.h:213
libfreehand::FHCollector::_findCustomProc
const FHCustomProc * _findCustomProc(unsigned id)
Definition: FHCollector.cpp:2925
libfreehand::FHCollector::collectImage
void collectImage(unsigned recordId, const FHImageImport &image)
Definition: FHCollector.cpp:464
libfreehand::FHCollector::m_basicLines
std::map< unsigned, FHBasicLine > m_basicLines
Definition: FHCollector.h:226
libfreehand::FHCollector::getColorString
librevenge::RVNGString getColorString(unsigned id, double tint=1)
Definition: FHCollector.cpp:3153
libfreehand::FHPath::getEvenOdd
bool getEvenOdd() const
Definition: FHPath.cpp:756
libfreehand::FHCollector::_outputTextRun
void _outputTextRun(const std::vector< unsigned short > *characters, unsigned offset, unsigned length, unsigned charStyleId, librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:2120
libfreehand::FHCollector::collectAttributeHolder
void collectAttributeHolder(unsigned recordId, const FHAttributeHolder &attributeHolder)
Definition: FHCollector.cpp:444
libfreehand::FHCollector::_findContentId
unsigned _findContentId(unsigned graphicStyleId)
Definition: FHCollector.cpp:2337
libfreehand::FHCollector::collectLensFill
void collectLensFill(unsigned recordId, const FHLensFill &fill)
Definition: FHCollector.cpp:479
libfreehand::FHTintColor::m_baseColorId
unsigned m_baseColorId
Definition: FHTypes.h:185
libfreehand::FHParagraphProperties::m_idToDoubleMap
std::map< unsigned, double > m_idToDoubleMap
Definition: FHTypes.h:138
libfreehand::FHCollector::collectXform
void collectXform(unsigned recordId, double m11, double m21, double m12, double m22, double m13, double m23)
Definition: FHCollector.cpp:282
libfreehand::FHCollector::_appendGlow
void _appendGlow(librevenge::RVNGPropertyList &propList, const FWGlowFilter *filter)
Definition: FHCollector.cpp:2429
libfreehand::FHCollector::collectSymbolInstance
void collectSymbolInstance(unsigned recordId, const FHSymbolInstance &symbolInstance)
Definition: FHCollector.cpp:514
libfreehand::FHCollector::operator=
FHCollector & operator=(const FHCollector &)
libfreehand::FHCollector::m_tEffects
std::map< unsigned, FHTEffect > m_tEffects
Definition: FHCollector.h:216
libfreehand::FHBlock
Definition: FHTypes.h:32
libfreehand::FHCollector::m_patternFills
std::map< unsigned, FHPatternFill > m_patternFills
Definition: FHCollector.h:248
libfreehand::FHParagraph::m_charStyleIds
std::vector< std::pair< unsigned, unsigned > > m_charStyleIds
Definition: FHTypes.h:98
libfreehand::FHBasicLine::m_linePatternId
unsigned m_linePatternId
Definition: FHTypes.h:201
FH_ALMOST_ZERO
#define FH_ALMOST_ZERO(m)
Definition: libfreehand_utils.h:30
libfreehand::FHCollector::m_multiColorLists
std::map< unsigned, std::vector< FHColorStop > > m_multiColorLists
Definition: FHCollector.h:235
libfreehand::FHCollector::_applyFilter
void _applyFilter(librevenge::RVNGPropertyList &propList, unsigned filterId)
Definition: FHCollector.cpp:2396
libfreehand::FHCharProperties::m_tEffectId
unsigned m_tEffectId
Definition: FHTypes.h:154
libfreehand::FHCollector::m_dataLists
std::map< unsigned, FHDataList > m_dataLists
Definition: FHCollector.h:233
libfreehand::FHTail
Definition: FHTypes.h:46
libfreehand::FHCollector::_findParagraph
const FHParagraph * _findParagraph(unsigned id)
Definition: FHCollector.cpp:2785
libfreehand::FHTEffect::m_nameId
unsigned m_nameId
Definition: FHTypes.h:289
libfreehand::FHCollector::FHCollector
FHCollector(const FHCollector &)
libfreehand::FH3CharProperties::m_baselineShift
double m_baselineShift
Definition: FHTypes.h:275
libfreehand::FHGroup::m_xFormId
unsigned m_xFormId
Definition: FHTypes.h:73
libfreehand::FHCollector::_findPatternFill
const FHPatternFill * _findPatternFill(unsigned id)
Definition: FHCollector.cpp:2885
libfreehand::FHCollector::outputDrawing
void outputDrawing(librevenge::RVNGDrawingInterface *painter)
Definition: FHCollector.cpp:1261
libfreehand::FHCollector::_findDisplayText
const FHDisplayText * _findDisplayText(unsigned id)
Definition: FHCollector.cpp:2965
libfreehand::FHSymbolClass::m_groupId
unsigned m_groupId
Definition: FHTypes.h:437
libfreehand::FWShadowFilter::m_inner
bool m_inner
Definition: FHTypes.h:390
libfreehand::FHPath::getGraphicStyleId
unsigned getGraphicStyleId() const
Definition: FHPath.cpp:751
libfreehand::FHImageImport::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:347
libfreehand::FHCollector::m_names
std::map< librevenge::RVNGString, unsigned > m_names
Definition: FHCollector.h:205
libfreehand::FHDisplayText::m_xFormId
unsigned m_xFormId
Definition: FHTypes.h:300
libfreehand::FHCollector::_findGroup
const FHGroup * _findGroup(unsigned id)
Definition: FHCollector.cpp:2715
libfreehand::FHRadialFill
Definition: FHTypes.h:246
libfreehand::FHCollector::collectLinearFill
void collectLinearFill(unsigned recordId, const FHLinearFill &fill)
Definition: FHCollector.cpp:474
libfreehand::FHCollector::~FHCollector
virtual ~FHCollector()
Definition: FHCollector.cpp:252
libfreehand::FHCollector::_findFillId
unsigned _findFillId(const FHGraphicStyle &graphicStyle)
Definition: FHCollector.cpp:3083
libfreehand::FHCollector::collectTextBlok
void collectTextBlok(unsigned recordId, const std::vector< unsigned short > &characters)
Definition: FHCollector.cpp:358
libfreehand::FHGraphicStyle::m_parentId
unsigned m_parentId
Definition: FHTypes.h:317
libfreehand::FHParagraph::m_paraStyleId
unsigned m_paraStyleId
Definition: FHTypes.h:96
libfreehand::FHCollector::collectLinePattern
void collectLinePattern(unsigned recordId, const FHLinePattern &line)
Definition: FHCollector.cpp:418
libfreehand::FHBoundingBox::merge
void merge(const FHBoundingBox &bBox)
Definition: FHTypes.h:462
libfreehand::FHCollector::m_opacityFilters
std::map< unsigned, double > m_opacityFilters
Definition: FHCollector.h:242
libfreehand::FHTextObject::m_rowSep
double m_rowSep
Definition: FHTypes.h:126
libfreehand::FHCompositePath::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:89
libfreehand::FHBasicLine::m_startArrowId
unsigned m_startArrowId
Definition: FHTypes.h:202
libfreehand::FHAGDFont::m_fontNameId
unsigned m_fontNameId
Definition: FHTypes.h:104
libfreehand::FHBoundingBox::m_ymax
double m_ymax
Definition: FHTypes.h:458
libfreehand::FHCollector::_findTStringElements
const std::vector< unsigned > * _findTStringElements(unsigned id)
Definition: FHCollector.cpp:2805
libfreehand::FHBoundingBox
Definition: FHTypes.h:454
libfreehand::FHCollector::m_attributeHolders
std::map< unsigned, FHAttributeHolder > m_attributeHolders
Definition: FHCollector.h:231
libfreehand::FHCollector::m_linePatterns
std::map< unsigned, FHLinePattern > m_linePatterns
Definition: FHCollector.h:249
libfreehand::FHPath::empty
bool empty() const
Definition: FHPath.cpp:722
libfreehand::FHCustomProc
Definition: FHTypes.h:222
libfreehand::FHCollector::m_contentId
unsigned m_contentId
Definition: FHCollector.h:254
libfreehand::FWShadowFilter
Definition: FHTypes.h:387
libfreehand::FHCollector::_findImageImport
const FHImageImport * _findImageImport(unsigned id)
Definition: FHCollector.cpp:2975
libfreehand::FHBasicLine::m_colorId
unsigned m_colorId
Definition: FHTypes.h:200
libfreehand::FHCollector::_findGraphicStyle
const FHGraphicStyle * _findGraphicStyle(unsigned id)
Definition: FHCollector.cpp:2825
libfreehand::FWShadowFilter::m_colorId
unsigned m_colorId
Definition: FHTypes.h:388
libfreehand::FHAGDFont::m_fontSize
double m_fontSize
Definition: FHTypes.h:106
libfreehand::FHCollector::_findTextBlok
const std::vector< unsigned short > * _findTextBlok(unsigned id)
libfreehand::FH3CharProperties::m_horizontalScale
double m_horizontalScale
Definition: FHTypes.h:274
libfreehand::FHCollector::collectTileFill
void collectTileFill(unsigned recordId, const FHTileFill &fill)
Definition: FHCollector.cpp:408
libfreehand::FHCollector::collectArrowPath
void collectArrowPath(unsigned recordId, const FHPath &path)
Definition: FHCollector.cpp:423
libfreehand::FHCollector::_getBBofNewBlend
void _getBBofNewBlend(const FHNewBlend *newBlend, FHBoundingBox &bBox)
Definition: FHCollector.cpp:880
libfreehand::FHCollector::_appendCharacterProperties
void _appendCharacterProperties(librevenge::RVNGPropertyList &propList, unsigned charPropsId)
Definition: FHCollector.cpp:1576
libfreehand::FHCollector::_appendArrowPath
void _appendArrowPath(librevenge::RVNGPropertyList &propList, const FHPath *arrow, bool startArrow)
Definition: FHCollector.cpp:2632
libfreehand::FHTab::m_position
double m_position
Definition: FHTypes.h:41
libfreehand::writeU16
void writeU16(librevenge::RVNGBinaryData &buffer, const int value)
Definition: libfreehand_utils.cpp:175
libfreehand::FHCollector::collectPath
void collectPath(unsigned recordId, const FHPath &path)
Definition: FHCollector.cpp:277
libfreehand::FHParagraphProperties::m_idToIntMap
std::map< unsigned, unsigned > m_idToIntMap
Definition: FHTypes.h:137
libfreehand::FHLinearFill::m_multiColorListId
unsigned m_multiColorListId
Definition: FHTypes.h:241
libfreehand::FHPageInfo
Definition: FHTypes.h:23
libfreehand::FWShadowFilter::m_angle
double m_angle
Definition: FHTypes.h:394
libfreehand::FHRadialFill::m_color1Id
unsigned m_color1Id
Definition: FHTypes.h:247
libfreehand::FHCollector::_findSymbolClass
const FHSymbolClass * _findSymbolClass(unsigned id)
Definition: FHCollector.cpp:2995
libfreehand::FHCollector::_getBBofClipGroup
void _getBBofClipGroup(const FHGroup *group, FHBoundingBox &bBox)
Definition: FHCollector.cpp:596
libfreehand::FHGraphicStyle
Definition: FHTypes.h:316
libfreehand::FHCollector::collectClipGroup
void collectClipGroup(unsigned recordId, const FHGroup &group)
Definition: FHCollector.cpp:317
libfreehand::FHCollector::collectCharProps
void collectCharProps(unsigned recordId, const FHCharProperties &charProps)
Definition: FHCollector.cpp:368
libfreehand::FHNewBlend::m_list1Id
unsigned m_list1Id
Definition: FHTypes.h:380
libfreehand::FHTextObject::m_startX
double m_startX
Definition: FHTypes.h:117
libfreehand::FHCollector::m_symbolInstances
std::map< unsigned, FHSymbolInstance > m_symbolInstances
Definition: FHCollector.h:247
libfreehand::FHCollector::m_charProperties
std::map< unsigned, FHCharProperties > m_charProperties
Definition: FHCollector.h:221

Generated for libfreehand by doxygen 1.8.20