IWORKTypes.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 libetonyek 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 IWORKTYPES_H_INCLUDED
11 #define IWORKTYPES_H_INCLUDED
12 
13 #include "IWORKTypes_fwd.h"
14 
15 #include <deque>
16 #include <map>
17 #include <string>
18 
19 #include <boost/optional.hpp>
20 #include <boost/variant.hpp>
21 
22 #if defined(__GNUC__) && !defined(__clang__)
23 #pragma GCC diagnostic push
24 #pragma GCC diagnostic ignored "-Weffc++"
25 #endif
26 #include <mdds/flat_segment_tree.hpp>
27 #if defined(__GNUC__) && !defined(__clang__)
28 #pragma GCC diagnostic pop
29 #endif
30 
31 #include "libetonyek_utils.h"
32 #include "IWORKEnum.h"
33 #include "IWORKPath_fwd.h"
34 #include "IWORKStyle_fwd.h"
35 #include "IWORKFormula.h"
36 
37 namespace libetonyek
38 {
39 
41 
42 typedef std::unordered_map<std::string, IWORKOutputElements> IWORKHeaderFooterMap_t;
43 
44 struct IWORKSize
45 {
46  double m_width;
47  double m_height;
48  IWORKSize();
49  IWORKSize(double w, double h);
50 };
51 
53 {
54  double m_x;
55  double m_y;
56 
57  IWORKPosition();
58  IWORKPosition(double x_, double y_);
59 };
60 
62 {
67  boost::optional<double> m_angle;
68  boost::optional<double> m_shearXAngle;
69  boost::optional<double> m_shearYAngle;
70  boost::optional<bool> m_horizontalFlip;
71  boost::optional<bool> m_verticalFlip;
72  boost::optional<bool> m_aspectRatioLocked;
73  boost::optional<bool> m_sizesLocked;
74 
75  IWORKGeometry();
76 };
77 
78 struct IWORKColor
79 {
80  double m_red;
81  double m_green;
82  double m_blue;
83  double m_alpha;
84 
85  IWORKColor();
86  IWORKColor(double r, double g, double b, double a);
87 };
88 
90 {
91  IWORKMarker();
92  bool m_filled;
93  double m_scale;
95  boost::optional<std::string> m_path;
96  boost::optional<IWORKPosition> m_endPoint;
97 };
98 
100 {
101  boost::optional<double> m_top;
102  boost::optional<double> m_right;
103  boost::optional<double> m_bottom;
104  boost::optional<double> m_left;
105 
106  IWORKPadding();
107 };
108 typedef std::unordered_map<ID_t, IWORKPadding> IWORKPaddingMap_t;
109 
111 {
113  double m_pos;
114 
115  IWORKTabStop();
116  IWORKTabStop(IWORKTabulationType align, double pos_);
117 };
118 
119 typedef std::deque<IWORKTabStop> IWORKTabStops_t;
120 typedef std::unordered_map<ID_t, IWORKTabStops_t> IWORKTabStopsMap_t;
121 typedef mdds::flat_segment_tree<unsigned, IWORKStylePtr_t> IWORKGridLine_t;
122 typedef std::map<unsigned,IWORKGridLine_t> IWORKGridLineMap_t;
123 typedef std::shared_ptr<IWORKFormula> IWORKFormulaPtr_t;
124 typedef std::unordered_map<ID_t, IWORKFormulaPtr_t> IWORKFormulaMap_t;
125 
126 struct IWORKLine
127 {
130  boost::optional<int> m_order;
131  boost::optional<double> m_x1;
132  boost::optional<double> m_y1;
133  boost::optional<double> m_x2;
134  boost::optional<double> m_y2;
135 
136  IWORKLine();
137 };
138 
139 struct IWORKData
140 {
142  boost::optional<std::string> m_displayName;
144 
145  IWORKData();
146 };
147 
149 {
151  boost::optional<IWORKSize> m_size;
153  boost::optional<IWORKColor> m_fillColor;
154 
156 };
157 
159 {
163  boost::optional<int> m_order;
164  bool m_locked;
165  boost::optional<bool> m_placeholder;
166  boost::optional<IWORKSize> m_placeholderSize;
168 
169  IWORKMedia();
170 };
171 
173 {
178  bool m_aligned;
180  double m_margin;
183 };
184 typedef std::unordered_map<ID_t, IWORKExternalTextWrap> IWORKExternalTextWrapMap_t;
185 
186 struct IWORKWrap
187 {
190 
191  IWORKWrap();
192 };
193 
195 {
196  IWORKLineSpacing(double amount, bool relative);
197 
198  double m_amount;
200  bool m_atLeast;
201 };
202 typedef std::unordered_map<ID_t, IWORKLineSpacing> IWORKLineSpacingMap_t;
203 
205 {
207 
210  float m_second;
211 };
212 
214 {
216  explicit IWORKColumnRowSize(double size, bool exactSize=true);
217  boost::optional<double> m_size;
219 };
220 
222 {
224  boost::optional<unsigned> m_axis;
225  boost::optional<double> m_along;
226  boost::optional<unsigned> m_beginCell;
227  boost::optional<unsigned> m_endCell;
229 };
230 typedef std::unordered_map<ID_t, IWORKTableVector> IWORKTableVectorMap_t;
231 
233 {
234  IWORKTableCell();
236  boost::optional<double> m_preferredHeight;
238 };
239 typedef std::unordered_map<ID_t, IWORKTableCell> IWORKTableCellMap_t;
240 
242 {
243  IWORKTableData();
244 
247 
248  unsigned m_column;
249  unsigned m_row;
250  unsigned m_numColumns;
251  unsigned m_numRows;
252 
253  boost::optional<unsigned> m_columnSpan;
254  boost::optional<unsigned> m_rowSpan;
255  boost::optional<unsigned> m_cellMove;
256  boost::optional<std::string> m_content;
257  boost::optional<IWORKDateTimeData> m_dateTime;
258  IWORKFormulaPtr_t m_formula;
259  boost::optional<unsigned> m_formulaHC;
260  IWORKGridLineMap_t m_horizontalLines;
261  IWORKGridLineMap_t m_verticalLines;
262  std::unordered_map<double, unsigned> m_positionToHorizontalLineMap;
263  std::unordered_map<double, unsigned> m_positionToVerticalLineMap;
266 };
267 
269 {
270  IWORKPattern();
271 
273  std::deque<double> m_values;
274 };
275 typedef std::unordered_map<ID_t, IWORKPattern> IWORKPatternMap_t;
276 
278 {
279  IWORKStroke();
280 
281  double m_width;
286 };
287 typedef std::unordered_map<ID_t, IWORKStroke> IWORKStrokeMap_t;
288 
290 {
292 
294  double m_fraction;
295  double m_inflection;
296 };
297 typedef std::unordered_map<ID_t, IWORKGradientStop> IWORKGradientStopMap_t;
298 
300 {
301  IWORKGradient();
302 
304  std::deque<IWORKGradientStop> m_stops;
305  double m_angle;
306 };
307 typedef std::unordered_map<ID_t, IWORKGradient> IWORKGradientMap_t;
308 
309 typedef boost::variant<IWORKColor, IWORKGradient, IWORKMediaContent> IWORKFill;
310 typedef std::unordered_map<ID_t, IWORKFill> IWORKFillMap_t;
311 
313 {
314  IWORKDropCap();
315 
316  bool empty() const
317  {
318  return m_numLines<=1 || m_numCharacters<=0;
319  }
320  unsigned m_numLines;
321  unsigned m_numLinesSpan; // the text begins with numLinesSpan empty lines
322  unsigned m_numCharacters;
323 
324  double m_decalParagraphLeft; // in percent, this decals the left position of the text
325  double m_supplementalSpace; // extra space between the drop cap and the text
326 
327  IWORKStylePtr_t m_style; // the caps style (if known)
328 };
329 
331 {
332  IWORKShadow();
333 
334  bool m_visible;
336  double m_angle;
337  double m_glossiness;
338  double m_offset;
339  double m_opacity;
340  double m_radius;
341 };
342 typedef std::unordered_map<ID_t, IWORKShadow> IWORKShadowMap_t;
343 typedef std::deque<IWORKShadow> IWORKFilters_t;
344 typedef std::unordered_map<ID_t, IWORKFilters_t> IWORKFiltersMap_t;
345 
347 {
348  IWORKMetadata();
349 
354 };
355 
357 {
358  struct Column
359  {
360  Column();
361 
362  double m_width;
363  double m_spacing;
364  };
365 
366  typedef std::deque<Column> Columns_t;
367 
368  IWORKColumns();
369 
370  bool m_equal;
371  Columns_t m_columns;
372 };
373 typedef std::unordered_map<ID_t, IWORKColumns> IWORKColumnsMap_t;
374 
376 {
377  IWORKPageMaster();
378 
381 };
382 
384 {
395  int m_base;
398 };
399 typedef std::unordered_map<ID_t, IWORKNumberFormat> IWORKNumberFormatMap_t;
400 
402 {
404 
406 };
407 typedef std::unordered_map<ID_t, IWORKDateTimeFormat> IWORKDateTimeFormatMap_t;
408 
410 {
412 
414 };
415 typedef std::unordered_map<ID_t, IWORKDurationFormat> IWORKDurationFormatMap_t;
416 
418 {
420 
422 };
423 
424 typedef std::unordered_map<ID_t, IWORKFilterDescriptor> IWORKFilterDescriptorMap_t;
425 
427 {
428  IWORKPrintInfo();
429 
430  boost::optional<double> m_height;
431  boost::optional<double> m_width;
432  boost::optional<int> m_orientation;
433  boost::optional<double> m_marginBottom;
434  boost::optional<double> m_marginLeft;
435  boost::optional<double> m_marginRight;
436  boost::optional<double> m_marginTop;
437  boost::optional<double> m_footerHeight;
438  boost::optional<double> m_headerHeight;
439 };
440 
442 {
444 
446  double m_scale;
447  double m_offset;
449 };
450 
451 typedef std::unordered_map<ID_t, IWORKListLabelGeometry> IWORKListLabelGeometryMap_t;
452 
454 {
456 
460 };
461 
463 {
464  IWORKTextLabel();
465 
467  bool m_tiered;
468  unsigned m_first;
469 };
470 
471 // Type of list label. One of: none, bullet, text, image.
472 // Note: The bool type, representing 'none', is just a placeholder. The
473 // value is not important.
474 typedef boost::variant<bool, std::string, IWORKTextLabel, IWORKMediaContentPtr_t> IWORKListLabelTypeInfo_t;
475 typedef std::unordered_map<ID_t, IWORKListLabelTypeInfo_t> IWORKListLabelTypeInfoMap_t;
476 
477 typedef std::map<unsigned, IWORKStylePtr_t> IWORKListLevels_t;
478 }
479 
480 #endif // IWORKTYPES_H_INCLUDED
481 
482 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
boost::variant< bool, std::string, IWORKTextLabel, IWORKMediaContentPtr_t > IWORKListLabelTypeInfo_t
Definition: IWORKTypes.h:474
IWORKWrapDirection m_direction
Definition: IWORKTypes.h:177
std::string m_keywords
Definition: IWORKTypes.h:352
Definition: IWORKTypes.h:426
IWORKPattern m_pattern
Definition: IWORKTypes.h:285
std::shared_ptr< IWORKGeometry > IWORKGeometryPtr_t
Definition: IWORKTypes_fwd.h:43
boost::optional< double > m_x1
Definition: IWORKTypes.h:131
Definition: IWORKBezierElement.cpp:20
double m_blue
Definition: IWORKTypes.h:82
IWORKWrapStyle
Definition: IWORKEnum.h:166
IWORKPadding()
Definition: IWORKTypes.cpp:80
IWORKTabStop()
Definition: IWORKTypes.cpp:88
Definition: IWORKTypes.h:299
IWORKColor()
Definition: IWORKTypes.cpp:55
Definition: IWORKOutputElements.h:32
boost::optional< double > m_left
Definition: IWORKTypes.h:104
IWORKGradientStop()
Definition: IWORKTypes.cpp:231
IWORKTextLabel()
Definition: IWORKTypes.cpp:377
boost::optional< double > m_angle
final angle in radians
Definition: IWORKTypes.h:67
boost::optional< double > m_shearXAngle
Definition: IWORKTypes.h:68
IWORKGeometryPtr_t m_cropGeometry
Definition: IWORKTypes.h:161
std::deque< double > m_values
Definition: IWORKTypes.h:273
IWORKTableVector m_maxYBorder
Definition: IWORKTypes.h:237
IWORKColor m_color
Definition: IWORKTypes.h:293
std::string m_comment
Definition: IWORKTypes.h:353
bool m_baseUseMinusSign
Definition: IWORKTypes.h:397
unsigned m_numRows
Definition: IWORKTypes.h:251
boost::optional< IWORKPosition > m_endPoint
Definition: IWORKTypes.h:96
double m_width
Definition: IWORKTypes.h:281
double m_offset
Definition: IWORKTypes.h:447
boost::optional< unsigned > m_columnSpan
Definition: IWORKTypes.h:253
boost::optional< bool > m_horizontalFlip
Definition: IWORKTypes.h:70
Definition: IWORKTypes.h:277
IWORKTableVector m_maxXBorder
Definition: IWORKTypes.h:237
IWORKLineJoin m_join
Definition: IWORKTypes.h:283
Definition: IWORKTypes.h:78
boost::optional< bool > m_sizesLocked
Definition: IWORKTypes.h:73
Definition: IWORKTypes.h:441
double m_inflection
Definition: IWORKTypes.h:295
std::unordered_map< ID_t, IWORKFill > IWORKFillMap_t
Definition: IWORKTypes.h:310
int m_pathJoin
Definition: IWORKTypes.h:94
IWORKColumns()
Definition: IWORKTypes.cpp:282
std::unordered_map< ID_t, IWORKColumns > IWORKColumnsMap_t
Definition: IWORKTypes.h:373
Definition: IWORKTypes.h:213
IWORKMediaContentPtr_t m_content
Definition: IWORKTypes.h:167
int m_minute
Definition: IWORKTypes.h:209
double m_width
Definition: IWORKTypes.h:362
IWORKCellNumberType
Definition: IWORKEnum.h:88
IWORKCellType m_type
Definition: IWORKTypes.h:265
IWORKStrokeType m_type
Definition: IWORKTypes.h:272
IWORKPosition()
Definition: IWORKTypes.cpp:29
IWORKStylePtr_t m_style
Definition: IWORKTypes.h:129
boost::optional< double > m_right
Definition: IWORKTypes.h:102
IWORKLabelNumFormatSurrounding
Definition: IWORKEnum.h:136
Definition: IWORKTypes.h:221
Definition: IWORKTypes.h:139
IWORKPattern()
Definition: IWORKTypes.cpp:217
Definition: IWORKTypes.h:383
IWORKTableData()
Definition: IWORKTypes.cpp:194
IWORKGeometry()
Definition: IWORKTypes.cpp:41
IWORKLineJoin
Definition: IWORKEnum.h:72
boost::optional< IWORKSize > m_placeholderSize
Definition: IWORKTypes.h:166
boost::optional< double > m_marginBottom
Definition: IWORKTypes.h:433
unsigned m_numColumns
Definition: IWORKTypes.h:250
IWORKSize()
Definition: IWORKTypes.cpp:17
IWORKExternalTextWrap()
Definition: IWORKTypes.cpp:138
Definition: IWORKTypes.h:356
double m_angle
Definition: IWORKTypes.h:305
IWORKMarker()
Definition: IWORKTypes.cpp:71
IWORKSize m_naturalSize
Definition: IWORKTypes.h:63
IWORKTabulationType m_align
Definition: IWORKTypes.h:112
IWORKTableCell()
Definition: IWORKTypes.cpp:184
std::shared_ptr< IWORKStyle > IWORKStylePtr_t
Definition: IWORKStyle_fwd.h:21
boost::optional< double > m_size
Definition: IWORKTypes.h:217
IWORKLineSpacing(double amount, bool relative)
Definition: IWORKTypes.cpp:156
Definition: IWORKTypes.h:409
mdds::flat_segment_tree< unsigned, IWORKStylePtr_t > IWORKGridLine_t
Definition: IWORKTypes.h:121
IWORKStylePtr_t m_style
Definition: IWORKTypes.h:162
boost::optional< std::string > m_content
Definition: IWORKTypes.h:256
bool m_visible
Definition: IWORKTypes.h:334
Definition: IWORKTypes.h:417
Definition: IWORKToken.h:557
Definition: IWORKTypes.h:186
boost::optional< double > m_marginTop
Definition: IWORKTypes.h:436
bool empty() const
Definition: IWORKTypes.h:316
int m_year
Definition: IWORKTypes.h:208
Definition: IWORKToken.h:514
Definition: IWORKTypes.h:126
Definition: IWORKTypes.h:44
IWORKTableVector m_minXBorder
Definition: IWORKTypes.h:237
bool m_isShadow
Definition: IWORKTypes.h:421
boost::optional< std::string > m_path
Definition: IWORKTypes.h:95
std::unordered_map< ID_t, IWORKTabStops_t > IWORKTabStopsMap_t
Definition: IWORKTypes.h:120
int m_fractionAccuracy
Definition: IWORKTypes.h:393
IWORKColumnRowSize()
Definition: IWORKTypes.cpp:163
std::unordered_map< ID_t, IWORKPadding > IWORKPaddingMap_t
Definition: IWORKTypes.h:108
int m_month
Definition: IWORKTypes.h:208
int m_hour
Definition: IWORKTypes.h:209
boost::optional< double > m_headerHeight
Definition: IWORKTypes.h:438
boost::optional< double > m_marginRight
Definition: IWORKTypes.h:435
double m_width
Definition: IWORKTypes.h:46
IWORKAlignment m_align
Definition: IWORKTypes.h:445
Definition: IWORKToken.h:380
IWORKFormulaPtr_t m_formula
Definition: IWORKTypes.h:258
int m_decimalPlaces
Definition: IWORKTypes.h:389
Definition: IWORKTypes.h:194
IWORKStroke()
Definition: IWORKTypes.cpp:222
std::deque< IWORKShadow > IWORKFilters_t
Definition: IWORKTypes.h:343
IWORKData()
Definition: IWORKTypes.cpp:111
IWORKDateTimeData()
Definition: IWORKTypes.cpp:328
bool m_accountingStyle
Definition: IWORKTypes.h:394
double m_x
Definition: IWORKTypes.h:54
Columns_t m_columns
Definition: IWORKTypes.h:371
unsigned m_first
Definition: IWORKTypes.h:468
std::string m_format
Definition: IWORKTypes.h:405
std::shared_ptr< IWORKData > IWORKDataPtr_t
Definition: IWORKTypes_fwd.h:51
IWORKStylePtr_t m_style
Definition: IWORKTypes.h:264
boost::optional< unsigned > m_cellMove
Definition: IWORKTypes.h:255
Definition: IWORKTypes.h:232
double m_glossiness
Definition: IWORKTypes.h:337
Definition: IWORKTypes.h:268
boost::optional< int > m_orientation
Definition: IWORKTypes.h:432
IWORKWrap()
Definition: IWORKTypes.cpp:150
double m_amount
Definition: IWORKTypes.h:198
IWORKSize m_size
Definition: IWORKTypes.h:64
std::deque< IWORKColumnRowSize > IWORKRowSizes_t
Definition: IWORKTypes_fwd.h:26
std::deque< IWORKTabStop > IWORKTabStops_t
Definition: IWORKTypes.h:119
IWORKTableVector()
Definition: IWORKTypes.cpp:175
std::unordered_map< std::string, IWORKOutputElements > IWORKHeaderFooterMap_t
Definition: IWORKTypes.h:40
Definition: IWORKTypes.h:99
unsigned m_column
Definition: IWORKTypes.h:248
Definition: IWORKTypes.h:172
IWORKGeometryPtr_t m_geometry
Definition: IWORKTypes.h:128
bool m_locked
Definition: IWORKTypes.h:164
std::deque< IWORKGradientStop > m_stops
Definition: IWORKTypes.h:304
IWORKTableVector m_minYBorder
Definition: IWORKTypes.h:237
std::deque< IWORKColumnRowSize > IWORKColumnSizes_t
Definition: IWORKTypes_fwd.h:22
unsigned m_numCharacters
Definition: IWORKTypes.h:322
Definition: IWORKTypes.h:401
IWORKMetadata()
Definition: IWORKTypes.cpp:268
Definition: IWORKTypes.h:89
IWORKColor m_color
Definition: IWORKTypes.h:335
std::unordered_map< ID_t, IWORKGradient > IWORKGradientMap_t
Definition: IWORKTypes.h:307
Definition: IWORKTypes.h:110
std::map< unsigned, IWORKStylePtr_t > IWORKListLevels_t
Definition: IWORKTypes.h:477
double m_fraction
Definition: IWORKTypes.h:294
int m_negativeStyle
Definition: IWORKTypes.h:391
IWORKDataPtr_t m_data
Definition: IWORKTypes.h:152
double m_supplementalSpace
Definition: IWORKTypes.h:325
boost::optional< bool > m_placeholder
Definition: IWORKTypes.h:165
bool m_aligned
Definition: IWORKTypes.h:178
unsigned m_numLines
Definition: IWORKTypes.h:320
Definition: IWORKTypes.h:453
IWORKAlignment
Definition: IWORKEnum.h:16
Definition: IWORKTypes.h:241
std::unordered_map< ID_t, IWORKFilters_t > IWORKFiltersMap_t
Definition: IWORKTypes.h:344
IWORKPosition m_position
Definition: IWORKTypes.h:65
bool m_relative
Definition: IWORKTypes.h:199
IWORKGradient()
Definition: IWORKTypes.cpp:238
std::shared_ptr< IWORKFormula > IWORKFormulaPtr_t
Definition: IWORKTypes.h:123
std::string m_footer
Definition: IWORKTypes.h:380
Definition: IWORKToken.h:402
boost::optional< unsigned > m_rowSpan
Definition: IWORKTypes.h:254
boost::optional< IWORKSize > m_size
Definition: IWORKTypes.h:151
Definition: IWORKTypes.h:148
IWORKDurationFormat()
Definition: IWORKTypes.cpp:339
IWORKLineCap m_cap
Definition: IWORKTypes.h:284
IWORKDropCap()
Definition: IWORKTypes.cpp:245
IWORKListLabelGeometry()
Definition: IWORKTypes.cpp:362
Definition: IWORKTypes.h:330
boost::optional< bool > m_aspectRatioLocked
Definition: IWORKTypes.h:72
IWORKGradientType
Definition: IWORKEnum.h:106
bool m_exactSize
Definition: IWORKTypes.h:218
Column()
Definition: IWORKTypes.cpp:276
Definition: IWORKToken.h:508
int m_base
Definition: IWORKTypes.h:395
RVNGInputStreamPtr_t m_stream
Definition: IWORKTypes.h:141
IWORKDateTimeFormat()
Definition: IWORKTypes.cpp:334
boost::optional< IWORKColor > m_fillColor
Definition: IWORKTypes.h:153
Definition: IWORKToken.h:638
Definition: IWORKTypes.h:204
boost::optional< double > m_width
Definition: IWORKTypes.h:431
bool m_thousandsSeparator
Definition: IWORKTypes.h:392
bool m_equal
Definition: IWORKTypes.h:370
std::unordered_map< ID_t, IWORKListLabelGeometry > IWORKListLabelGeometryMap_t
Definition: IWORKTypes.h:451
Definition: IWORKToken.h:677
bool m_scaleWithText
Definition: IWORKTypes.h:448
Definition: IWORKTypes.h:52
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:82
std::unordered_map< ID_t, IWORKDateTimeFormat > IWORKDateTimeFormatMap_t
Definition: IWORKTypes.h:407
std::string m_string
Definition: IWORKTypes.h:388
boost::optional< bool > m_verticalFlip
Definition: IWORKTypes.h:71
double m_height
Definition: IWORKTypes.h:47
IWORKWrapDirection
Definition: IWORKEnum.h:159
IWORKLabelNumFormatSurrounding m_prefix
Definition: IWORKTypes.h:457
boost::optional< double > m_y2
Definition: IWORKTypes.h:134
IWORKMediaContent()
Definition: IWORKTypes.cpp:118
std::unordered_map< ID_t, IWORKGradientStop > IWORKGradientStopMap_t
Definition: IWORKTypes.h:297
std::unordered_map< ID_t, IWORKListLabelTypeInfo_t > IWORKListLabelTypeInfoMap_t
Definition: IWORKTypes.h:475
std::map< unsigned, IWORKGridLine_t > IWORKGridLineMap_t
Definition: IWORKTypes.h:122
boost::optional< std::string > m_displayName
Definition: IWORKTypes.h:142
std::unordered_map< double, unsigned > m_positionToHorizontalLineMap
Definition: IWORKTypes.h:262
Definition: IWORKTypes.h:289
Definition: IWORKToken.h:509
IWORKGeometryPtr_t m_geometry
Definition: IWORKTypes.h:189
IWORKTextLabelFormat()
Definition: IWORKTypes.cpp:370
double m_offset
Definition: IWORKTypes.h:338
double m_radius
Definition: IWORKTypes.h:340
IWORKGridLineMap_t m_verticalLines
Definition: IWORKTypes.h:261
double m_spacing
Definition: IWORKTypes.h:363
boost::optional< double > m_along
Definition: IWORKTypes.h:225
Definition: IWORKTypes.h:462
boost::optional< double > m_shearYAngle
Definition: IWORKTypes.h:69
IWORKLabelNumFormat
Definition: IWORKEnum.h:127
std::unordered_map< ID_t, IWORKTableVector > IWORKTableVectorMap_t
Definition: IWORKTypes.h:230
double m_opacity
Definition: IWORKTypes.h:339
boost::optional< unsigned > m_beginCell
Definition: IWORKTypes.h:226
IWORKLineCap
Definition: IWORKEnum.h:65
std::unordered_map< ID_t, IWORKShadow > IWORKShadowMap_t
Definition: IWORKTypes.h:342
IWORKRowSizes_t m_rowSizes
Definition: IWORKTypes.h:246
double m_decalParagraphLeft
Definition: IWORKTypes.h:324
IWORKWrapType m_floatingType
Definition: IWORKTypes.h:179
std::unordered_map< ID_t, IWORKFilterDescriptor > IWORKFilterDescriptorMap_t
Definition: IWORKTypes.h:424
bool m_tiered
Definition: IWORKTypes.h:467
Definition: IWORKTypes.h:375
Definition: IWORKTypes.h:61
double m_alphaThreshold
Definition: IWORKTypes.h:181
std::string m_author
Definition: IWORKTypes.h:351
boost::optional< double > m_footerHeight
Definition: IWORKTypes.h:437
boost::optional< double > m_preferredHeight
Definition: IWORKTypes.h:236
std::string m_mimeType
Definition: IWORKTypes.h:143
IWORKPathPtr_t m_path
Definition: IWORKTypes.h:188
double m_scale
Definition: IWORKTypes.h:93
int m_basePlaces
Definition: IWORKTypes.h:396
Definition: IWORKToken.h:418
std::unordered_map< ID_t, IWORKFormulaPtr_t > IWORKFormulaMap_t
Definition: IWORKTypes.h:124
Definition: IWORKTypes.h:358
IWORKWrapType
Definition: IWORKEnum.h:172
bool m_filled
Definition: IWORKTypes.h:92
double m_angle
Definition: IWORKTypes.h:336
std::shared_ptr< IWORKPath > IWORKPathPtr_t
Definition: IWORKPath_fwd.h:20
float m_second
Definition: IWORKTypes.h:210
IWORKColumnSizes_t m_columnSizes
Definition: IWORKTypes.h:245
std::string m_currencyCode
Definition: IWORKTypes.h:390
boost::optional< IWORKDateTimeData > m_dateTime
Definition: IWORKTypes.h:257
std::deque< Column > Columns_t
Definition: IWORKTypes.h:366
boost::optional< double > m_y1
Definition: IWORKTypes.h:132
double m_y
Definition: IWORKTypes.h:55
IWORKLabelNumFormatSurrounding m_suffix
Definition: IWORKTypes.h:459
std::string getRVNGValueType() const
Definition: IWORKTypes.cpp:309
unsigned m_row
Definition: IWORKTypes.h:249
IWORKStylePtr_t m_style
Definition: IWORKTypes.h:235
Definition: IWORKTypes.h:312
boost::optional< double > m_marginLeft
Definition: IWORKTypes.h:434
std::unordered_map< ID_t, IWORKExternalTextWrap > IWORKExternalTextWrapMap_t
Definition: IWORKTypes.h:184
IWORKMedia()
Definition: IWORKTypes.cpp:126
IWORKGradientType m_type
Definition: IWORKTypes.h:303
boost::optional< double > m_height
Definition: IWORKTypes.h:430
IWORKWrapStyle m_style
Definition: IWORKTypes.h:174
IWORKTextLabelFormat m_format
Definition: IWORKTypes.h:466
boost::variant< IWORKColor, IWORKGradient, IWORKMediaContent > IWORKFill
Definition: IWORKTypes.h:309
boost::optional< unsigned > m_formulaHC
Definition: IWORKTypes.h:259
double m_green
Definition: IWORKTypes.h:81
int m_day
Definition: IWORKTypes.h:208
IWORKGridLineMap_t m_horizontalLines
Definition: IWORKTypes.h:260
IWORKLabelNumFormat m_format
Definition: IWORKTypes.h:458
double m_scale
Definition: IWORKTypes.h:446
IWORKPageMaster()
Definition: IWORKTypes.cpp:288
IWORKStylePtr_t m_style
Definition: IWORKTypes.h:327
bool m_inlineWrapEnabled
Definition: IWORKTypes.h:176
boost::optional< double > m_top
Definition: IWORKTypes.h:101
IWORKColor m_color
Definition: IWORKTypes.h:282
IWORKShadow()
Definition: IWORKTypes.cpp:257
double m_alpha
Definition: IWORKTypes.h:83
std::string m_title
Definition: IWORKTypes.h:350
std::unordered_map< ID_t, IWORKTableCell > IWORKTableCellMap_t
Definition: IWORKTypes.h:239
double m_margin
Definition: IWORKTypes.h:180
boost::optional< double > m_x2
Definition: IWORKTypes.h:133
double m_pos
Definition: IWORKTypes.h:113
double m_red
Definition: IWORKTypes.h:80
IWORKGeometryPtr_t m_geometry
Definition: IWORKTypes.h:160
IWORKCellType
Definition: IWORKEnum.h:79
std::string m_format
Definition: IWORKTypes.h:413
std::unordered_map< double, unsigned > m_positionToVerticalLineMap
Definition: IWORKTypes.h:263
IWORKFilterDescriptor()
Definition: IWORKTypes.cpp:344
std::shared_ptr< IWORKMediaContent > IWORKMediaContentPtr_t
Definition: IWORKTypes_fwd.h:56
std::unordered_map< ID_t, IWORKDurationFormat > IWORKDurationFormatMap_t
Definition: IWORKTypes.h:415
std::unordered_map< ID_t, IWORKStroke > IWORKStrokeMap_t
Definition: IWORKTypes.h:287
unsigned m_numLinesSpan
Definition: IWORKTypes.h:321
boost::optional< int > m_order
Definition: IWORKTypes.h:130
Definition: IWORKTypes.h:346
IWORKNumberFormat()
Definition: IWORKTypes.cpp:294
IWORKStylePtr_t m_style
Definition: IWORKTypes.h:228
Definition: IWORKToken.h:235
IWORKTabulationType
Definition: IWORKEnum.h:151
IWORKPrintInfo()
Definition: IWORKTypes.cpp:349
IWORKCellNumberType m_type
Definition: IWORKTypes.h:387
Definition: IWORKTypes.h:158
boost::optional< unsigned > m_axis
Definition: IWORKTypes.h:224
IWORKImageType m_type
Definition: IWORKTypes.h:150
IWORKLine()
Definition: IWORKTypes.cpp:100
IWORKImageType
Definition: IWORKEnum.h:97
boost::optional< int > m_order
Definition: IWORKTypes.h:163
std::unordered_map< ID_t, IWORKNumberFormat > IWORKNumberFormatMap_t
Definition: IWORKTypes.h:399
std::unordered_map< ID_t, IWORKLineSpacing > IWORKLineSpacingMap_t
Definition: IWORKTypes.h:202
bool m_atLeast
Definition: IWORKTypes.h:200
bool m_floatingWrapEnabled
Definition: IWORKTypes.h:175
std::unordered_map< ID_t, IWORKPattern > IWORKPatternMap_t
Definition: IWORKTypes.h:275
std::string m_header
Definition: IWORKTypes.h:379
boost::optional< double > m_bottom
Definition: IWORKTypes.h:103
IWORKStrokeType
Definition: IWORKEnum.h:119
boost::optional< unsigned > m_endCell
Definition: IWORKTypes.h:227

Generated for libetonyek by doxygen 1.8.10