FHTypes.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 __FHTYPES_H__
11 #define __FHTYPES_H__
12
13 #include <float.h>
14 #include <vector>
15 #include <map>
16 #include "FHPath.h"
17 #include "FHTransform.h"
18
19 namespace libfreehand
20 {
21
22 struct FHPageInfo
23 {
24 double m_minX;
25 double m_minY;
26 double m_maxX;
27 double m_maxY;
28 FHPageInfo() : m_minX(0.0), m_minY(0.0), m_maxX(0.0), m_maxY(0.0) {}
29 };
30
31 struct FHBlock
32 {
33 unsigned m_layerListId;
34 FHBlock() : m_layerListId(0) {}
35 FHBlock(unsigned layerListId) : m_layerListId(layerListId) {}
36 };
37
38 struct FHTab
39 {
40 unsigned m_type;
41 double m_position;
42 FHTab() : m_type(0), m_position(0) {}
43 };
44
45 struct FHTail
46 {
47 unsigned m_blockId;
48 unsigned m_propLstId;
49 unsigned m_fontId;
50 FHPageInfo m_pageInfo;
51 FHTail() : m_blockId(0), m_propLstId(0), m_fontId(0), m_pageInfo() {}
52 };
53
54 struct FHList
55 {
56 unsigned m_listType;
57 std::vector<unsigned> m_elements;
58 FHList() : m_listType(0), m_elements() {}
59 };
60
61 struct FHLayer
62 {
63 unsigned m_graphicStyleId;
64 unsigned m_elementsId;
65 unsigned m_visibility;
66 FHLayer() : m_graphicStyleId(0), m_elementsId(0), m_visibility(0) {}
67 };
68
69 struct FHGroup
70 {
71 unsigned m_graphicStyleId;
72 unsigned m_elementsId;
73 unsigned m_xFormId;
74 FHGroup() : m_graphicStyleId(0), m_elementsId(0), m_xFormId(0) {}
75 };
76
77 struct FHPathText
78 {
79 unsigned m_elementsId;
80 unsigned m_layerId;
81 unsigned m_displayTextId;
82 unsigned m_shapeId;
83 unsigned m_textSize;
84 FHPathText() : m_elementsId(0), m_layerId(0), m_displayTextId(0), m_shapeId(0), m_textSize(0) {}
85 };
86
87 struct FHCompositePath
88 {
89 unsigned m_graphicStyleId;
90 unsigned m_elementsId;
91 FHCompositePath() : m_graphicStyleId(0), m_elementsId(0) {}
92 };
93
94 struct FHParagraph
95 {
96 unsigned m_paraStyleId;
97 unsigned m_textBlokId;
98 std::vector<std::pair<unsigned, unsigned> > m_charStyleIds;
99 FHParagraph() : m_paraStyleId(0), m_textBlokId(0), m_charStyleIds() {}
100 };
101
102 struct FHAGDFont
103 {
104 unsigned m_fontNameId;
105 unsigned m_fontStyle;
106 double m_fontSize;
107 FHAGDFont() : m_fontNameId(0), m_fontStyle(0), m_fontSize(12.0) {}
108 };
109
110 struct FHTextObject
111 {
112 unsigned m_graphicStyleId;
113 unsigned m_xFormId;
114 unsigned m_tStringId;
115 unsigned m_vmpObjId;
116 unsigned m_pathId;
117 double m_startX;
118 double m_startY;
119 double m_width;
120 double m_height;
121 unsigned m_beginPos;
122 unsigned m_endPos;
123 unsigned m_colNum;
124 unsigned m_rowNum;
125 double m_colSep;
126 double m_rowSep;
127 unsigned m_rowBreakFirst;
128
129 FHTextObject()
130 : m_graphicStyleId(0), m_xFormId(0), m_tStringId(0), m_vmpObjId(0), m_pathId(0),
131 m_startX(0.0), m_startY(0.0), m_width(0.0), m_height(0.0), m_beginPos(0), m_endPos(0xffff),
132 m_colNum(1), m_rowNum(1), m_colSep(0.0), m_rowSep(0.0), m_rowBreakFirst(0) {}
133 };
134
135 struct FHParagraphProperties
136 {
137 std::map<unsigned,unsigned> m_idToIntMap; // id to enum, int map
138 std::map<unsigned,double> m_idToDoubleMap;
139 std::map<unsigned,unsigned> m_idToZoneIdMap;
140 FHParagraphProperties() : m_idToIntMap(), m_idToDoubleMap(), m_idToZoneIdMap()
141 {}
142 bool empty() const
143 {
144 return m_idToIntMap.empty() && m_idToDoubleMap.empty() && m_idToZoneIdMap.empty();
145 }
146 };
147
148 struct FHCharProperties
149 {
150 unsigned m_textColorId;
151 double m_fontSize;
152 unsigned m_fontNameId;
153 unsigned m_fontId;
154 unsigned m_tEffectId;
155 std::map<unsigned,double> m_idToDoubleMap;
156 FHCharProperties()
157 : m_textColorId(0), m_fontSize(12.0), m_fontNameId(0), m_fontId(0), m_tEffectId(0), m_idToDoubleMap() {}
158 };
159
160 struct FHRGBColor
161 {
162 unsigned short m_red;
163 unsigned short m_green;
164 unsigned short m_blue;
165 FHRGBColor()
166 : m_red(0), m_green(0), m_blue(0) {}
167 bool black() const
168 {
169 return !m_red && !m_green && !m_blue;
170 }
171 };
172
173 struct FHCMYKColor
174 {
175 unsigned short m_cyan;
176 unsigned short m_magenta;
177 unsigned short m_yellow;
178 unsigned short m_black;
179 FHCMYKColor()
180 : m_cyan(0), m_magenta(0), m_yellow(0), m_black(0xffff) {}
181 };
182
183 struct FHTintColor
184 {
185 unsigned m_baseColorId;
186 unsigned short m_tint;
187 FHTintColor() : m_baseColorId(0), m_tint(1.0) {}
188 };
189
190 struct FHPropList
191 {
192 unsigned m_parentId;
193 std::map<unsigned, unsigned> m_elements;
194 FHPropList()
195 : m_parentId(0), m_elements() {}
196 };
197
198 struct FHBasicLine
199 {
200 unsigned m_colorId;
201 unsigned m_linePatternId;
202 unsigned m_startArrowId;
203 unsigned m_endArrowId;
204 double m_mitter;
205 double m_width;
206 FHBasicLine()
207 : m_colorId(0), m_linePatternId(0), m_startArrowId(0),
208 m_endArrowId(0), m_mitter(0.0), m_width(0.0) {}
209 };
210
211 struct FHPatternLine
212 {
213 unsigned m_colorId;
214 double m_percentPattern; // percentage of 1 in the pattern
215 double m_mitter;
216 double m_width;
217 FHPatternLine()
218 : m_colorId(0), m_percentPattern(1), m_mitter(0.0), m_width(0.0) {}
219 };
220
221 struct FHCustomProc
222 {
223 std::vector<unsigned> m_ids;
224 std::vector<double> m_widths;
225 std::vector<double> m_params;
226 std::vector<double> m_angles;
227 FHCustomProc() : m_ids(), m_widths(), m_params(), m_angles() {}
228 };
229
230 struct FHBasicFill
231 {
232 unsigned m_colorId;
233 FHBasicFill() : m_colorId(0) {}
234 };
235
236 struct FHLinearFill
237 {
238 unsigned m_color1Id;
239 unsigned m_color2Id;
240 double m_angle;
241 unsigned m_multiColorListId;
242 FHLinearFill() : m_color1Id(0), m_color2Id(0), m_angle(0.0), m_multiColorListId(0) {}
243 };
244
245 struct FHRadialFill
246 {
247 unsigned m_color1Id;
248 unsigned m_color2Id;
249 double m_cx;
250 double m_cy;
251 unsigned m_multiColorListId;
252 FHRadialFill()
253 : m_color1Id(0), m_color2Id(0), m_cx(0.5), m_cy(0.5), m_multiColorListId(0) {}
254 };
255
256 struct FHPatternFill
257 {
258 unsigned m_colorId;
259 std::vector<unsigned char> m_pattern;
260 FHPatternFill() : m_colorId(0), m_pattern(8) {}
261 };
262
263 struct FH3CharProperties
264 {
265 unsigned m_offset;
266 unsigned m_fontNameId;
267 double m_fontSize;
268 unsigned m_fontStyle;
269 unsigned m_fontColorId;
270 unsigned m_textEffsId;
271 double m_leading; // -1 solid, -2 auto, >0 interline in point
272 double m_letterSpacing;
273 double m_wordSpacing;
274 double m_horizontalScale;
275 double m_baselineShift;
276 FH3CharProperties()
277 : m_offset(0), m_fontNameId(0), m_fontSize(12.0), m_fontStyle(0),
278 m_fontColorId(0), m_textEffsId(0), m_leading(-1), m_letterSpacing(0), m_wordSpacing(0), m_horizontalScale(1), m_baselineShift(0.0) {}
279 };
280
281 struct FH3ParaProperties
282 {
283 unsigned m_offset;
284 FH3ParaProperties() : m_offset(0) {}
285 };
286
287 struct FHTEffect
288 {
289 unsigned m_nameId;
290 unsigned m_shortNameId;
291 unsigned m_colorId[2];
292 FHTEffect() : m_nameId(0), m_shortNameId(0)
293 {
294 for (unsigned int &i : m_colorId) i=0;
295 }
296 };
297 struct FHDisplayText
298 {
299 unsigned m_graphicStyleId;
300 unsigned m_xFormId;
301 double m_startX;
302 double m_startY;
303 double m_width;
304 double m_height;
305 std::vector<FH3CharProperties> m_charProps;
306 int m_justify;
307 std::vector<FH3ParaProperties> m_paraProps;
308 std::vector<unsigned char> m_characters;
309 FHDisplayText()
310 : m_graphicStyleId(0), m_xFormId(0),
311 m_startX(0.0), m_startY(0.0), m_width(0.0), m_height(0.0),
312 m_charProps(), m_justify(0), m_paraProps(), m_characters() {}
313 };
314
315 struct FHGraphicStyle
316 {
317 unsigned m_parentId;
318 unsigned m_attrId;
319 std::map<unsigned, unsigned> m_elements;
320 FHGraphicStyle() : m_parentId(0), m_attrId(0), m_elements() {}
321 };
322
323 struct FHAttributeHolder
324 {
325 unsigned m_parentId;
326 unsigned m_attrId;
327 FHAttributeHolder() : m_parentId(0), m_attrId(0) {}
328 };
329
330 struct FHFilterAttributeHolder
331 {
332 unsigned m_parentId;
333 unsigned m_filterId;
334 unsigned m_graphicStyleId;
335 FHFilterAttributeHolder() : m_parentId(0), m_filterId(0), m_graphicStyleId(0) {}
336 };
337
338 struct FHDataList
339 {
340 unsigned m_dataSize;
341 std::vector<unsigned> m_elements;
342 FHDataList() : m_dataSize(0), m_elements() {}
343 };
344
345 struct FHImageImport
346 {
347 unsigned m_graphicStyleId;
348 unsigned m_dataListId;
349 unsigned m_xFormId;
350 double m_startX;
351 double m_startY;
352 double m_width;
353 double m_height;
354 librevenge::RVNGString m_format;
355 FHImageImport()
356 : m_graphicStyleId(0), m_dataListId(0), m_xFormId(0),
357 m_startX(0.0), m_startY(0.0), m_width(0.0), m_height(0.0),
358 m_format() {}
359 };
360
361 struct FHColorStop
362 {
363 unsigned m_colorId;
364 double m_position;
365 FHColorStop() : m_colorId(0), m_position(0.0) {}
366 };
367
368 struct FHLensFill
369 {
370 unsigned m_colorId;
371 double m_value;
372 unsigned m_mode;
373 FHLensFill() : m_colorId(0), m_value(0.0), m_mode(0) {}
374 };
375
376 struct FHNewBlend
377 {
378 unsigned m_graphicStyleId;
379 unsigned m_parentId;
380 unsigned m_list1Id;
381 unsigned m_list2Id;
382 unsigned m_list3Id;
383 FHNewBlend() : m_graphicStyleId(0), m_parentId(0), m_list1Id(0), m_list2Id(0), m_list3Id(0) {}
384 };
385
386 struct FWShadowFilter
387 {
388 unsigned m_colorId;
389 bool m_knockOut;
390 bool m_inner;
391 double m_distribution;
392 double m_opacity;
393 double m_smoothness;
394 double m_angle;
395 FWShadowFilter()
396 : m_colorId(0), m_knockOut(false), m_inner(false),
397 m_distribution(0.0), m_opacity(1.0), m_smoothness(1.0), m_angle(45.0) {}
398 };
399
400 struct FWGlowFilter
401 {
402 unsigned m_colorId;
403 bool m_inner;
404 double m_width;
405 double m_opacity;
406 double m_smoothness;
407 double m_distribution;
408 FWGlowFilter()
409 : m_colorId(0), m_inner(false), m_width(0.0), m_opacity(1.0),
410 m_smoothness(1.0), m_distribution(0.0) {}
411 };
412
413 struct FHTileFill
414 {
415 unsigned m_xFormId;
416 unsigned m_groupId;
417 double m_scaleX;
418 double m_scaleY;
419 double m_offsetX;
420 double m_offsetY;
421 double m_angle;
422 FHTileFill()
423 : m_xFormId(0), m_groupId(0), m_scaleX(0.0), m_scaleY(0.0),
424 m_offsetX(0.0), m_offsetY(0.0), m_angle(0.0) {}
425 };
426
427 struct FHLinePattern
428 {
429 std::vector<double> m_dashes;
430 FHLinePattern()
431 : m_dashes() {}
432 };
433
434 struct FHSymbolClass
435 {
436 unsigned m_nameId;
437 unsigned m_groupId;
438 unsigned m_dateTimeId;
439 unsigned m_symbolLibraryId;
440 unsigned m_listId;
441 FHSymbolClass() : m_nameId(0), m_groupId(0), m_dateTimeId(0), m_symbolLibraryId(0), m_listId(0) {}
442 };
443
444 struct FHSymbolInstance
445 {
446 unsigned m_graphicStyleId;
447 unsigned m_parentId;
448 unsigned m_symbolClassId;
449 FHTransform m_xForm;
450 FHSymbolInstance() : m_graphicStyleId(0), m_parentId(0), m_symbolClassId(0), m_xForm() {}
451 };
452
453 struct FHBoundingBox
454 {
455 double m_xmin;
456 double m_ymin;
457 double m_xmax;
458 double m_ymax;
459 FHBoundingBox() : m_xmin(DBL_MAX), m_ymin(DBL_MAX), m_xmax(-DBL_MAX), m_ymax(-DBL_MAX) {}
460 FHBoundingBox(const FHBoundingBox &bBox)
461 : m_xmin(bBox.m_xmin), m_ymin(bBox.m_ymin), m_xmax(bBox.m_xmax), m_ymax(bBox.m_ymax) {}
462 void merge(const FHBoundingBox &bBox)
463 {
464 if (m_xmin > bBox.m_xmin) m_xmin = bBox.m_xmin;
465 if (m_xmin > bBox.m_xmax) m_xmin = bBox.m_xmax;
466 if (m_ymin > bBox.m_ymin) m_ymin = bBox.m_ymin;
467 if (m_ymin > bBox.m_ymax) m_ymin = bBox.m_ymax;
468 if (m_xmax < bBox.m_xmax) m_xmax = bBox.m_xmax;
469 if (m_xmax < bBox.m_xmin) m_xmax = bBox.m_xmin;
470 if (m_ymax < bBox.m_ymax) m_ymax = bBox.m_ymax;
471 if (m_ymax < bBox.m_ymin) m_ymax = bBox.m_ymin;
472 }
473 bool isValid() const
474 {
475 return ((m_xmin < m_xmax) && (m_ymin < m_ymax));
476 }
477 };
478
479 } // namespace libfreehand
480
481 #endif /* __FHTYPES_H__ */
482 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libfreehand::FHCharProperties::m_tEffectId
unsigned m_tEffectId
Definition: FHTypes.h:154
libfreehand::FHDataList::m_elements
std::vector< unsigned > m_elements
Definition: FHTypes.h:341
libfreehand::FHBlock::FHBlock
FHBlock(unsigned layerListId)
Definition: FHTypes.h:35
libfreehand::FHRadialFill::m_color1Id
unsigned m_color1Id
Definition: FHTypes.h:247
libfreehand::FHRadialFill::m_color2Id
unsigned m_color2Id
Definition: FHTypes.h:248
libfreehand::FHGroup
Definition: FHTypes.h:69
libfreehand::FHFilterAttributeHolder::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:334
libfreehand::FHLensFill::m_colorId
unsigned m_colorId
Definition: FHTypes.h:370
libfreehand::FHPageInfo::FHPageInfo
FHPageInfo()
Definition: FHTypes.h:28
libfreehand::FHDataList::m_dataSize
unsigned m_dataSize
Definition: FHTypes.h:340
libfreehand::FHSymbolInstance::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:446
libfreehand::FWShadowFilter::FWShadowFilter
FWShadowFilter()
Definition: FHTypes.h:395
libfreehand::FHPathText
Definition: FHTypes.h:77
libfreehand::FHBasicLine::m_colorId
unsigned m_colorId
Definition: FHTypes.h:200
libfreehand::FHTextObject::m_height
double m_height
Definition: FHTypes.h:120
libfreehand::FHLayer::m_elementsId
unsigned m_elementsId
Definition: FHTypes.h:64
libfreehand::FHDisplayText::m_width
double m_width
Definition: FHTypes.h:303
libfreehand::FHParagraphProperties
Definition: FHTypes.h:135
libfreehand::FH3ParaProperties::FH3ParaProperties
FH3ParaProperties()
Definition: FHTypes.h:284
libfreehand::FHParagraphProperties::m_idToZoneIdMap
std::map< unsigned, unsigned > m_idToZoneIdMap
Definition: FHTypes.h:139
libfreehand::FHNewBlend::m_list2Id
unsigned m_list2Id
Definition: FHTypes.h:381
libfreehand::FHColorStop::m_position
double m_position
Definition: FHTypes.h:364
libfreehand::FHParagraph::m_textBlokId
unsigned m_textBlokId
Definition: FHTypes.h:97
libfreehand::FHCMYKColor::m_magenta
unsigned short m_magenta
Definition: FHTypes.h:176
libfreehand::FHRadialFill::FHRadialFill
FHRadialFill()
Definition: FHTypes.h:252
libfreehand::FHDisplayText
Definition: FHTypes.h:297
libfreehand::FHTintColor
Definition: FHTypes.h:183
libfreehand::FHTextObject::m_beginPos
unsigned m_beginPos
Definition: FHTypes.h:121
libfreehand::FHTileFill::FHTileFill
FHTileFill()
Definition: FHTypes.h:422
libfreehand::FHPageInfo
Definition: FHTypes.h:22
libfreehand::FHTintColor::FHTintColor
FHTintColor()
Definition: FHTypes.h:187
libfreehand::FHTail::FHTail
FHTail()
Definition: FHTypes.h:51
libfreehand::FHTextObject
Definition: FHTypes.h:110
libfreehand::FHLinearFill::m_angle
double m_angle
Definition: FHTypes.h:240
libfreehand::FHSymbolClass::m_dateTimeId
unsigned m_dateTimeId
Definition: FHTypes.h:438
libfreehand::FHPatternFill
Definition: FHTypes.h:256
libfreehand::FHTab
Definition: FHTypes.h:38
libfreehand::FHParagraph::m_charStyleIds
std::vector< std::pair< unsigned, unsigned > > m_charStyleIds
Definition: FHTypes.h:98
libfreehand::FWShadowFilter::m_inner
bool m_inner
Definition: FHTypes.h:390
libfreehand::FHSymbolInstance
Definition: FHTypes.h:444
libfreehand::FHTab::m_type
unsigned m_type
Definition: FHTypes.h:40
libfreehand::FH3CharProperties::FH3CharProperties
FH3CharProperties()
Definition: FHTypes.h:276
libfreehand::FH3CharProperties
Definition: FHTypes.h:263
libfreehand::FHParagraph
Definition: FHTypes.h:94
libfreehand::FH3CharProperties::m_offset
unsigned m_offset
Definition: FHTypes.h:265
libfreehand::FHCustomProc::m_angles
std::vector< double > m_angles
Definition: FHTypes.h:226
libfreehand::FHAGDFont::FHAGDFont
FHAGDFont()
Definition: FHTypes.h:107
libfreehand::FHImageImport::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:347
libfreehand::FHTEffect::FHTEffect
FHTEffect()
Definition: FHTypes.h:292
libfreehand::FHTextObject::m_xFormId
unsigned m_xFormId
Definition: FHTypes.h:113
libfreehand::FH3ParaProperties
Definition: FHTypes.h:281
libfreehand::FHNewBlend::FHNewBlend
FHNewBlend()
Definition: FHTypes.h:383
libfreehand::FH3ParaProperties::m_offset
unsigned m_offset
Definition: FHTypes.h:283
libfreehand::FHPathText::m_layerId
unsigned m_layerId
Definition: FHTypes.h:80
libfreehand::FHGraphicStyle::FHGraphicStyle
FHGraphicStyle()
Definition: FHTypes.h:320
libfreehand::FHPatternLine::m_mitter
double m_mitter
Definition: FHTypes.h:215
libfreehand::FHDisplayText::m_characters
std::vector< unsigned char > m_characters
Definition: FHTypes.h:308
libfreehand::FHTileFill::m_offsetX
double m_offsetX
Definition: FHTypes.h:419
libfreehand::FHLayer::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:63
libfreehand::FH3CharProperties::m_horizontalScale
double m_horizontalScale
Definition: FHTypes.h:274
libfreehand::FHBoundingBox::m_ymin
double m_ymin
Definition: FHTypes.h:456
libfreehand::FHCharProperties::m_fontSize
double m_fontSize
Definition: FHTypes.h:151
libfreehand::FWShadowFilter::m_knockOut
bool m_knockOut
Definition: FHTypes.h:389
libfreehand::FHColorStop::FHColorStop
FHColorStop()
Definition: FHTypes.h:365
libfreehand::FHLensFill::m_mode
unsigned m_mode
Definition: FHTypes.h:372
libfreehand::FHCMYKColor::FHCMYKColor
FHCMYKColor()
Definition: FHTypes.h:179
libfreehand::FWGlowFilter::m_colorId
unsigned m_colorId
Definition: FHTypes.h:402
libfreehand::FHCharProperties
Definition: FHTypes.h:148
libfreehand::FHList::m_listType
unsigned m_listType
Definition: FHTypes.h:56
libfreehand
Definition: FHCollector.h:22
libfreehand::FHImageImport::m_height
double m_height
Definition: FHTypes.h:353
libfreehand::FHRadialFill::m_cy
double m_cy
Definition: FHTypes.h:250
libfreehand::FHPatternLine
Definition: FHTypes.h:211
libfreehand::FHTEffect::m_colorId
unsigned m_colorId[2]
Definition: FHTypes.h:291
FHPath.h
libfreehand::FWShadowFilter::m_angle
double m_angle
Definition: FHTypes.h:394
libfreehand::FHBasicLine::m_linePatternId
unsigned m_linePatternId
Definition: FHTypes.h:201
libfreehand::FHLinearFill::m_color1Id
unsigned m_color1Id
Definition: FHTypes.h:238
libfreehand::FHRadialFill::m_multiColorListId
unsigned m_multiColorListId
Definition: FHTypes.h:251
libfreehand::FHTEffect::m_shortNameId
unsigned m_shortNameId
Definition: FHTypes.h:290
libfreehand::FHBasicLine
Definition: FHTypes.h:198
libfreehand::FHFilterAttributeHolder
Definition: FHTypes.h:330
libfreehand::FHFilterAttributeHolder::FHFilterAttributeHolder
FHFilterAttributeHolder()
Definition: FHTypes.h:335
libfreehand::FWGlowFilter::m_smoothness
double m_smoothness
Definition: FHTypes.h:406
libfreehand::FHAttributeHolder::FHAttributeHolder
FHAttributeHolder()
Definition: FHTypes.h:327
libfreehand::FHCompositePath::FHCompositePath
FHCompositePath()
Definition: FHTypes.h:91
libfreehand::FHImageImport::m_startY
double m_startY
Definition: FHTypes.h:351
libfreehand::FHTextObject::m_endPos
unsigned m_endPos
Definition: FHTypes.h:122
libfreehand::FHCustomProc::m_ids
std::vector< unsigned > m_ids
Definition: FHTypes.h:223
libfreehand::FHRadialFill::m_cx
double m_cx
Definition: FHTypes.h:249
libfreehand::FHFilterAttributeHolder::m_parentId
unsigned m_parentId
Definition: FHTypes.h:332
libfreehand::FHPropList
Definition: FHTypes.h:190
libfreehand::FHTileFill::m_xFormId
unsigned m_xFormId
Definition: FHTypes.h:415
libfreehand::FHCompositePath
Definition: FHTypes.h:87
libfreehand::FHPageInfo::m_maxY
double m_maxY
Definition: FHTypes.h:27
libfreehand::FHCharProperties::m_idToDoubleMap
std::map< unsigned, double > m_idToDoubleMap
Definition: FHTypes.h:155
libfreehand::FHTintColor::m_baseColorId
unsigned m_baseColorId
Definition: FHTypes.h:185
libfreehand::FHPatternLine::FHPatternLine
FHPatternLine()
Definition: FHTypes.h:217
libfreehand::FHPatternFill::m_colorId
unsigned m_colorId
Definition: FHTypes.h:258
libfreehand::FHTextObject::m_startX
double m_startX
Definition: FHTypes.h:117
libfreehand::FHAGDFont::m_fontSize
double m_fontSize
Definition: FHTypes.h:106
libfreehand::FHFilterAttributeHolder::m_filterId
unsigned m_filterId
Definition: FHTypes.h:333
libfreehand::FHDisplayText::m_height
double m_height
Definition: FHTypes.h:304
libfreehand::FHTileFill::m_scaleY
double m_scaleY
Definition: FHTypes.h:418
libfreehand::FHCharProperties::FHCharProperties
FHCharProperties()
Definition: FHTypes.h:156
libfreehand::FHSymbolInstance::m_symbolClassId
unsigned m_symbolClassId
Definition: FHTypes.h:448
libfreehand::FHDataList::FHDataList
FHDataList()
Definition: FHTypes.h:342
libfreehand::FHTextObject::FHTextObject
FHTextObject()
Definition: FHTypes.h:129
libfreehand::FHImageImport::m_startX
double m_startX
Definition: FHTypes.h:350
libfreehand::FWGlowFilter::m_width
double m_width
Definition: FHTypes.h:404
libfreehand::FHSymbolInstance::m_xForm
FHTransform m_xForm
Definition: FHTypes.h:449
libfreehand::FHPatternFill::m_pattern
std::vector< unsigned char > m_pattern
Definition: FHTypes.h:259
libfreehand::FHBlock
Definition: FHTypes.h:31
libfreehand::FHSymbolClass
Definition: FHTypes.h:434
libfreehand::FHLinearFill::m_color2Id
unsigned m_color2Id
Definition: FHTypes.h:239
libfreehand::FHLinearFill
Definition: FHTypes.h:236
libfreehand::FWGlowFilter
Definition: FHTypes.h:400
libfreehand::FHAGDFont::m_fontStyle
unsigned m_fontStyle
Definition: FHTypes.h:105
libfreehand::FHTail::m_blockId
unsigned m_blockId
Definition: FHTypes.h:47
libfreehand::FHDisplayText::m_justify
int m_justify
Definition: FHTypes.h:306
libfreehand::FH3CharProperties::m_baselineShift
double m_baselineShift
Definition: FHTypes.h:275
libfreehand::FHBasicLine::m_mitter
double m_mitter
Definition: FHTypes.h:204
libfreehand::FWGlowFilter::m_opacity
double m_opacity
Definition: FHTypes.h:405
libfreehand::FWShadowFilter::m_colorId
unsigned m_colorId
Definition: FHTypes.h:388
libfreehand::FHGroup::FHGroup
FHGroup()
Definition: FHTypes.h:74
libfreehand::FHBoundingBox::FHBoundingBox
FHBoundingBox(const FHBoundingBox &bBox)
Definition: FHTypes.h:460
libfreehand::FHTextObject::m_vmpObjId
unsigned m_vmpObjId
Definition: FHTypes.h:115
libfreehand::FHColorStop
Definition: FHTypes.h:361
libfreehand::FHTail::m_pageInfo
FHPageInfo m_pageInfo
Definition: FHTypes.h:50
libfreehand::FHGraphicStyle::m_parentId
unsigned m_parentId
Definition: FHTypes.h:317
libfreehand::FHCustomProc::FHCustomProc
FHCustomProc()
Definition: FHTypes.h:227
libfreehand::FHDisplayText::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:299
libfreehand::FHColorStop::m_colorId
unsigned m_colorId
Definition: FHTypes.h:363
libfreehand::FHTextObject::m_rowSep
double m_rowSep
Definition: FHTypes.h:126
libfreehand::FHCharProperties::m_fontId
unsigned m_fontId
Definition: FHTypes.h:153
libfreehand::FH3CharProperties::m_wordSpacing
double m_wordSpacing
Definition: FHTypes.h:273
libfreehand::FHSymbolClass::FHSymbolClass
FHSymbolClass()
Definition: FHTypes.h:441
libfreehand::FHPathText::m_shapeId
unsigned m_shapeId
Definition: FHTypes.h:82
libfreehand::FHImageImport::m_format
librevenge::RVNGString m_format
Definition: FHTypes.h:354
libfreehand::FHNewBlend::m_list1Id
unsigned m_list1Id
Definition: FHTypes.h:380
libfreehand::FHBasicFill
Definition: FHTypes.h:230
libfreehand::FHPathText::m_elementsId
unsigned m_elementsId
Definition: FHTypes.h:79
libfreehand::FHSymbolInstance::m_parentId
unsigned m_parentId
Definition: FHTypes.h:447
libfreehand::FHTileFill::m_angle
double m_angle
Definition: FHTypes.h:421
libfreehand::FHGroup::m_elementsId
unsigned m_elementsId
Definition: FHTypes.h:72
libfreehand::FHPathText::m_textSize
unsigned m_textSize
Definition: FHTypes.h:83
libfreehand::FHBasicLine::m_endArrowId
unsigned m_endArrowId
Definition: FHTypes.h:203
libfreehand::FHDisplayText::m_paraProps
std::vector< FH3ParaProperties > m_paraProps
Definition: FHTypes.h:307
libfreehand::FHTileFill::m_offsetY
double m_offsetY
Definition: FHTypes.h:420
libfreehand::FHList::FHList
FHList()
Definition: FHTypes.h:58
libfreehand::FHPropList::FHPropList
FHPropList()
Definition: FHTypes.h:194
libfreehand::FHImageImport::FHImageImport
FHImageImport()
Definition: FHTypes.h:355
libfreehand::FHCMYKColor
Definition: FHTypes.h:173
libfreehand::FHImageImport::m_xFormId
unsigned m_xFormId
Definition: FHTypes.h:349
libfreehand::FHGraphicStyle::m_attrId
unsigned m_attrId
Definition: FHTypes.h:318
libfreehand::FHPatternLine::m_colorId
unsigned m_colorId
Definition: FHTypes.h:213
libfreehand::FHLinePattern::FHLinePattern
FHLinePattern()
Definition: FHTypes.h:430
libfreehand::FHTEffect
Definition: FHTypes.h:287
libfreehand::FHRGBColor::FHRGBColor
FHRGBColor()
Definition: FHTypes.h:165
libfreehand::FHBoundingBox::isValid
bool isValid() const
Definition: FHTypes.h:473
libfreehand::FHLinearFill::FHLinearFill
FHLinearFill()
Definition: FHTypes.h:242
libfreehand::FHTextObject::m_rowNum
unsigned m_rowNum
Definition: FHTypes.h:124
libfreehand::FH3CharProperties::m_fontSize
double m_fontSize
Definition: FHTypes.h:267
libfreehand::FHPageInfo::m_minX
double m_minX
Definition: FHTypes.h:24
libfreehand::FWGlowFilter::FWGlowFilter
FWGlowFilter()
Definition: FHTypes.h:408
libfreehand::FHTextObject::m_rowBreakFirst
unsigned m_rowBreakFirst
Definition: FHTypes.h:127
libfreehand::FHTintColor::m_tint
unsigned short m_tint
Definition: FHTypes.h:186
libfreehand::FHRGBColor::black
bool black() const
Definition: FHTypes.h:167
libfreehand::FHCustomProc::m_params
std::vector< double > m_params
Definition: FHTypes.h:225
libfreehand::FHTail
Definition: FHTypes.h:45
libfreehand::FHAttributeHolder::m_attrId
unsigned m_attrId
Definition: FHTypes.h:326
libfreehand::FHCMYKColor::m_cyan
unsigned short m_cyan
Definition: FHTypes.h:175
libfreehand::FHLensFill::FHLensFill
FHLensFill()
Definition: FHTypes.h:373
libfreehand::FHLinePattern::m_dashes
std::vector< double > m_dashes
Definition: FHTypes.h:429
libfreehand::FHRGBColor::m_blue
unsigned short m_blue
Definition: FHTypes.h:164
libfreehand::FHBoundingBox
Definition: FHTypes.h:453
libfreehand::FH3CharProperties::m_fontColorId
unsigned m_fontColorId
Definition: FHTypes.h:269
libfreehand::FHPageInfo::m_maxX
double m_maxX
Definition: FHTypes.h:26
libfreehand::FHSymbolClass::m_nameId
unsigned m_nameId
Definition: FHTypes.h:436
libfreehand::FHDisplayText::m_startY
double m_startY
Definition: FHTypes.h:302
libfreehand::FHTextObject::m_colSep
double m_colSep
Definition: FHTypes.h:125
libfreehand::FHDisplayText::m_startX
double m_startX
Definition: FHTypes.h:301
libfreehand::FHTEffect::m_nameId
unsigned m_nameId
Definition: FHTypes.h:289
libfreehand::FHLayer
Definition: FHTypes.h:61
libfreehand::FHParagraphProperties::FHParagraphProperties
FHParagraphProperties()
Definition: FHTypes.h:140
libfreehand::FHCharProperties::m_fontNameId
unsigned m_fontNameId
Definition: FHTypes.h:152
libfreehand::FHPathText::FHPathText
FHPathText()
Definition: FHTypes.h:84
libfreehand::FHParagraphProperties::m_idToIntMap
std::map< unsigned, unsigned > m_idToIntMap
Definition: FHTypes.h:137
libfreehand::FHImageImport
Definition: FHTypes.h:345
libfreehand::FHBasicFill::m_colorId
unsigned m_colorId
Definition: FHTypes.h:232
libfreehand::FHBlock::m_layerListId
unsigned m_layerListId
Definition: FHTypes.h:33
libfreehand::FHGraphicStyle
Definition: FHTypes.h:315
libfreehand::FHBoundingBox::m_xmax
double m_xmax
Definition: FHTypes.h:457
libfreehand::FHTileFill
Definition: FHTypes.h:413
libfreehand::FHRGBColor::m_green
unsigned short m_green
Definition: FHTypes.h:163
libfreehand::FWShadowFilter::m_opacity
double m_opacity
Definition: FHTypes.h:392
libfreehand::FHTransform
Definition: FHTransform.h:18
libfreehand::FHLinearFill::m_multiColorListId
unsigned m_multiColorListId
Definition: FHTypes.h:241
libfreehand::FHLayer::FHLayer
FHLayer()
Definition: FHTypes.h:66
libfreehand::FHList
Definition: FHTypes.h:54
libfreehand::FHPatternLine::m_width
double m_width
Definition: FHTypes.h:216
libfreehand::FHTileFill::m_groupId
unsigned m_groupId
Definition: FHTypes.h:416
libfreehand::FHBasicLine::FHBasicLine
FHBasicLine()
Definition: FHTypes.h:206
libfreehand::FWShadowFilter
Definition: FHTypes.h:386
libfreehand::FWGlowFilter::m_distribution
double m_distribution
Definition: FHTypes.h:407
libfreehand::FHNewBlend::m_list3Id
unsigned m_list3Id
Definition: FHTypes.h:382
libfreehand::FWShadowFilter::m_distribution
double m_distribution
Definition: FHTypes.h:391
libfreehand::FHTextObject::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:112
libfreehand::FHNewBlend::m_parentId
unsigned m_parentId
Definition: FHTypes.h:379
libfreehand::FHParagraphProperties::empty
bool empty() const
Definition: FHTypes.h:142
libfreehand::FHLensFill::m_value
double m_value
Definition: FHTypes.h:371
libfreehand::FHBoundingBox::m_xmin
double m_xmin
Definition: FHTypes.h:455
libfreehand::FHSymbolInstance::FHSymbolInstance
FHSymbolInstance()
Definition: FHTypes.h:450
libfreehand::FHBoundingBox::FHBoundingBox
FHBoundingBox()
Definition: FHTypes.h:459
libfreehand::FHCustomProc
Definition: FHTypes.h:221
libfreehand::FHCustomProc::m_widths
std::vector< double > m_widths
Definition: FHTypes.h:224
libfreehand::FHLinePattern
Definition: FHTypes.h:427
libfreehand::FHSymbolClass::m_groupId
unsigned m_groupId
Definition: FHTypes.h:437
libfreehand::FHTab::m_position
double m_position
Definition: FHTypes.h:41
libfreehand::FHLensFill
Definition: FHTypes.h:368
libfreehand::FHCharProperties::m_textColorId
unsigned m_textColorId
Definition: FHTypes.h:150
libfreehand::FHTileFill::m_scaleX
double m_scaleX
Definition: FHTypes.h:417
libfreehand::FHSymbolClass::m_listId
unsigned m_listId
Definition: FHTypes.h:440
libfreehand::FHTab::FHTab
FHTab()
Definition: FHTypes.h:42
libfreehand::FH3CharProperties::m_fontStyle
unsigned m_fontStyle
Definition: FHTypes.h:268
libfreehand::FHPathText::m_displayTextId
unsigned m_displayTextId
Definition: FHTypes.h:81
libfreehand::FHGroup::m_xFormId
unsigned m_xFormId
Definition: FHTypes.h:73
FHTransform.h
libfreehand::FHRadialFill
Definition: FHTypes.h:245
libfreehand::FHTextObject::m_colNum
unsigned m_colNum
Definition: FHTypes.h:123
libfreehand::FHRGBColor::m_red
unsigned short m_red
Definition: FHTypes.h:162
libfreehand::FHAGDFont
Definition: FHTypes.h:102
libfreehand::FHCMYKColor::m_yellow
unsigned short m_yellow
Definition: FHTypes.h:177
libfreehand::FHPatternLine::m_percentPattern
double m_percentPattern
Definition: FHTypes.h:214
libfreehand::FHPatternFill::FHPatternFill
FHPatternFill()
Definition: FHTypes.h:260
libfreehand::FHRGBColor
Definition: FHTypes.h:160
libfreehand::FHNewBlend::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:378
libfreehand::FHDataList
Definition: FHTypes.h:338
libfreehand::FHTextObject::m_tStringId
unsigned m_tStringId
Definition: FHTypes.h:114
libfreehand::FHBasicLine::m_width
double m_width
Definition: FHTypes.h:205
libfreehand::FHAGDFont::m_fontNameId
unsigned m_fontNameId
Definition: FHTypes.h:104
libfreehand::FHImageImport::m_width
double m_width
Definition: FHTypes.h:352
libfreehand::FHBlock::FHBlock
FHBlock()
Definition: FHTypes.h:34
libfreehand::FHTextObject::m_startY
double m_startY
Definition: FHTypes.h:118
libfreehand::FHCompositePath::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:89
libfreehand::FWGlowFilter::m_inner
bool m_inner
Definition: FHTypes.h:403
libfreehand::FHSymbolClass::m_symbolLibraryId
unsigned m_symbolLibraryId
Definition: FHTypes.h:439
libfreehand::FH3CharProperties::m_letterSpacing
double m_letterSpacing
Definition: FHTypes.h:272
libfreehand::FH3CharProperties::m_textEffsId
unsigned m_textEffsId
Definition: FHTypes.h:270
libfreehand::FHGraphicStyle::m_elements
std::map< unsigned, unsigned > m_elements
Definition: FHTypes.h:319
libfreehand::FHBasicFill::FHBasicFill
FHBasicFill()
Definition: FHTypes.h:233
libfreehand::FHParagraph::FHParagraph
FHParagraph()
Definition: FHTypes.h:99
libfreehand::FHPropList::m_parentId
unsigned m_parentId
Definition: FHTypes.h:192
libfreehand::FHBoundingBox::merge
void merge(const FHBoundingBox &bBox)
Definition: FHTypes.h:462
libfreehand::FHAttributeHolder::m_parentId
unsigned m_parentId
Definition: FHTypes.h:325
libfreehand::FHNewBlend
Definition: FHTypes.h:376
libfreehand::FHBasicLine::m_startArrowId
unsigned m_startArrowId
Definition: FHTypes.h:202
libfreehand::FHTextObject::m_pathId
unsigned m_pathId
Definition: FHTypes.h:116
libfreehand::FHParagraphProperties::m_idToDoubleMap
std::map< unsigned, double > m_idToDoubleMap
Definition: FHTypes.h:138
libfreehand::FHTextObject::m_width
double m_width
Definition: FHTypes.h:119
libfreehand::FHDisplayText::FHDisplayText
FHDisplayText()
Definition: FHTypes.h:309
libfreehand::FWShadowFilter::m_smoothness
double m_smoothness
Definition: FHTypes.h:393
libfreehand::FHLayer::m_visibility
unsigned m_visibility
Definition: FHTypes.h:65
libfreehand::FHDisplayText::m_xFormId
unsigned m_xFormId
Definition: FHTypes.h:300
libfreehand::FHImageImport::m_dataListId
unsigned m_dataListId
Definition: FHTypes.h:348
libfreehand::FHBoundingBox::m_ymax
double m_ymax
Definition: FHTypes.h:458
libfreehand::FH3CharProperties::m_leading
double m_leading
Definition: FHTypes.h:271
libfreehand::FH3CharProperties::m_fontNameId
unsigned m_fontNameId
Definition: FHTypes.h:266
libfreehand::FHTail::m_propLstId
unsigned m_propLstId
Definition: FHTypes.h:48
libfreehand::FHGroup::m_graphicStyleId
unsigned m_graphicStyleId
Definition: FHTypes.h:71
libfreehand::FHPageInfo::m_minY
double m_minY
Definition: FHTypes.h:25
libfreehand::FHList::m_elements
std::vector< unsigned > m_elements
Definition: FHTypes.h:57
libfreehand::FHDisplayText::m_charProps
std::vector< FH3CharProperties > m_charProps
Definition: FHTypes.h:305
libfreehand::FHCompositePath::m_elementsId
unsigned m_elementsId
Definition: FHTypes.h:90
libfreehand::FHTail::m_fontId
unsigned m_fontId
Definition: FHTypes.h:49
libfreehand::FHAttributeHolder
Definition: FHTypes.h:323
libfreehand::FHParagraph::m_paraStyleId
unsigned m_paraStyleId
Definition: FHTypes.h:96
libfreehand::FHCMYKColor::m_black
unsigned short m_black
Definition: FHTypes.h:178
libfreehand::FHPropList::m_elements
std::map< unsigned, unsigned > m_elements
Definition: FHTypes.h:193