IWORKDictionary.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 IWORKDICTIONARY_H_INCLUDED
11 #define IWORKDICTIONARY_H_INCLUDED
12
13 #include <deque>
14 #include <unordered_map>
15
16 #include "IWORKPath.h"
17 #include "IWORKStyle.h"
18 #include "IWORKStylesheet.h"
19 #include "IWORKTypes.h"
20
21 namespace libetonyek
22 {
23
38 struct IWORKDictionary
39 {
40 IWORKDictionary();
41
42 IWORKStyleMap_t m_cellStyles;
43 IWORKStyleMap_t m_characterStyles;
44 IWORKStyleMap_t m_chartStyles;
45 IWORKStyleMap_t m_chartSeriesStyles;
46 IWORKStyleMap_t m_graphicStyles; // graphic-style or connection-style
47 IWORKStyleMap_t m_headlineStyles;
48 IWORKStyleMap_t m_layoutStyles;
49 IWORKStyleMap_t m_listStyles;
50 IWORKStyleMap_t m_paragraphStyles;
51 IWORKStyleMap_t m_slideStyles;
52 IWORKStyleMap_t m_tableStyles;
53 IWORKStyleMap_t m_tableCellStyles;
54 IWORKStyleMap_t m_tableVectorStyles;
55 IWORKStyleMap_t m_tabularStyles;
56 IWORKStyleMap_t m_tocStyles;
57 IWORKStyleMap_t m_vectorStyles;
58
59 IWORKStylesheetMap_t m_stylesheets;
60
61 IWORKPathMap_t m_beziers;
62 IWORKMediaContentMap_t m_binaries;
63 IWORKColumnsMap_t m_columnSets;
64 IWORKShadowMap_t m_coreImageFilterInfos;
65 IWORKDataMap_t m_data;
66 IWORKDateTimeFormatMap_t m_dateTimeFormats;
67 IWORKDurationFormatMap_t m_durationFormats;
68 IWORKExternalTextWrapMap_t m_externalTextWraps;
69 IWORKFillMap_t m_fills;
70 IWORKFilterDescriptorMap_t m_filterDescriptors;
71 IWORKMediaContentMap_t m_filteredImages;
72 IWORKFiltersMap_t m_filters;
73 IWORKFormulaMap_t m_formulas;
74 IWORKGradientMap_t m_gradients;
75 IWORKGradientStopMap_t m_gradientStops;
76 IWORKMediaContentMap_t m_images;
77 IWORKLineSpacingMap_t m_lineSpacings;
78 IWORKListLabelGeometryMap_t m_listLabelGeometries;
79 IWORKListLabelTypeInfoMap_t m_listLabelTypeInfos;
80 IWORKNumberFormatMap_t m_numberFormats;
81 IWORKPaddingMap_t m_paddings;
82 IWORKPatternMap_t m_patterns;
83 IWORKShadowMap_t m_shadows;
84 IWORKStrokeMap_t m_strokes;
85 IWORKTableCellMap_t m_tableCells;
86 IWORKTableVectorMap_t m_tableVectors;
87 IWORKTabStopsMap_t m_tabs;
88 IWORKTableMap_t m_tabulars;
89 IWORKListLabelTypeInfoMap_t m_textLabels;
90 IWORKMediaContentMap_t m_texturedFillImages;
91 IWORKMediaContentMap_t m_unfiltereds;
92
93 std::unordered_map<ID_t, std::deque<double> > m_doubleArrays;
94 std::unordered_map<ID_t, std::deque<IWORKListLabelGeometry> > m_listLabelGeometriesArrays;
95 std::unordered_map<ID_t, std::deque<IWORKListLabelTypeInfo_t> > m_listLabelTypesArrays;
96 };
97
98 }
99
100 #endif // IWORKDICTIONARY_H_INCLUDED
101
102 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek::IWORKStylesheetMap_t
std::unordered_map< ID_t, IWORKStylesheetPtr_t > IWORKStylesheetMap_t
Definition: IWORKStylesheet.h:21
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::IWORKDictionary::m_slideStyles
IWORKStyleMap_t m_slideStyles
Definition: IWORKDictionary.h:51
libetonyek::IWORKDictionary::m_tableCells
IWORKTableCellMap_t m_tableCells
Definition: IWORKDictionary.h:85
libetonyek::IWORKDictionary::m_tocStyles
IWORKStyleMap_t m_tocStyles
Definition: IWORKDictionary.h:56
libetonyek::IWORKDictionary::m_graphicStyles
IWORKStyleMap_t m_graphicStyles
Definition: IWORKDictionary.h:46
libetonyek::IWORKFillMap_t
std::unordered_map< ID_t, IWORKFill > IWORKFillMap_t
Definition: IWORKTypes.h:310
libetonyek::IWORKDictionary::m_characterStyles
IWORKStyleMap_t m_characterStyles
Definition: IWORKDictionary.h:43
libetonyek::IWORKColumnsMap_t
std::unordered_map< ID_t, IWORKColumns > IWORKColumnsMap_t
Definition: IWORKTypes.h:354
libetonyek::IWORKDictionary::m_headlineStyles
IWORKStyleMap_t m_headlineStyles
Definition: IWORKDictionary.h:47
libetonyek::IWORKDictionary::m_tableVectorStyles
IWORKStyleMap_t m_tableVectorStyles
Definition: IWORKDictionary.h:54
libetonyek::IWORKDictionary::m_durationFormats
IWORKDurationFormatMap_t m_durationFormats
Definition: IWORKDictionary.h:67
libetonyek::IWORKDictionary::m_chartStyles
IWORKStyleMap_t m_chartStyles
Definition: IWORKDictionary.h:44
libetonyek::IWORKDictionary::m_tabularStyles
IWORKStyleMap_t m_tabularStyles
Definition: IWORKDictionary.h:55
libetonyek::IWORKDictionary::m_shadows
IWORKShadowMap_t m_shadows
Definition: IWORKDictionary.h:83
libetonyek::IWORKDictionary::m_beziers
IWORKPathMap_t m_beziers
Definition: IWORKDictionary.h:61
libetonyek::IWORKDictionary::IWORKDictionary
IWORKDictionary()
Definition: IWORKDictionary.cpp:15
libetonyek::IWORKDictionary::m_filters
IWORKFiltersMap_t m_filters
Definition: IWORKDictionary.h:72
libetonyek::IWORKDictionary::m_vectorStyles
IWORKStyleMap_t m_vectorStyles
Definition: IWORKDictionary.h:57
libetonyek::IWORKDataMap_t
std::unordered_map< ID_t, IWORKDataPtr_t > IWORKDataMap_t
Definition: IWORKTypes_fwd.h:52
libetonyek::IWORKDictionary
A dictionary of all referenceable entities in the presentation.
Definition: IWORKDictionary.h:38
libetonyek::IWORKDictionary::m_texturedFillImages
IWORKMediaContentMap_t m_texturedFillImages
Definition: IWORKDictionary.h:90
libetonyek::IWORKDictionary::m_chartSeriesStyles
IWORKStyleMap_t m_chartSeriesStyles
Definition: IWORKDictionary.h:45
libetonyek::IWORKDictionary::m_stylesheets
IWORKStylesheetMap_t m_stylesheets
Definition: IWORKDictionary.h:59
libetonyek::IWORKDictionary::m_filterDescriptors
IWORKFilterDescriptorMap_t m_filterDescriptors
Definition: IWORKDictionary.h:70
libetonyek::IWORKDictionary::m_layoutStyles
IWORKStyleMap_t m_layoutStyles
Definition: IWORKDictionary.h:48
libetonyek::IWORKDictionary::m_dateTimeFormats
IWORKDateTimeFormatMap_t m_dateTimeFormats
Definition: IWORKDictionary.h:66
libetonyek::IWORKTabStopsMap_t
std::unordered_map< ID_t, IWORKTabStops_t > IWORKTabStopsMap_t
Definition: IWORKTypes.h:120
libetonyek::IWORKPaddingMap_t
std::unordered_map< ID_t, IWORKPadding > IWORKPaddingMap_t
Definition: IWORKTypes.h:108
libetonyek::IWORKDictionary::m_tabulars
IWORKTableMap_t m_tabulars
Definition: IWORKDictionary.h:88
libetonyek::IWORKPathMap_t
std::unordered_map< ID_t, IWORKPathPtr_t > IWORKPathMap_t
Definition: IWORKPath_fwd.h:23
libetonyek::IWORKDictionary::m_images
IWORKMediaContentMap_t m_images
Definition: IWORKDictionary.h:76
libetonyek::IWORKDictionary::m_listLabelGeometriesArrays
std::unordered_map< ID_t, std::deque< IWORKListLabelGeometry > > m_listLabelGeometriesArrays
Definition: IWORKDictionary.h:94
libetonyek::IWORKDictionary::m_listLabelTypeInfos
IWORKListLabelTypeInfoMap_t m_listLabelTypeInfos
Definition: IWORKDictionary.h:79
libetonyek::IWORKDictionary::m_doubleArrays
std::unordered_map< ID_t, std::deque< double > > m_doubleArrays
Definition: IWORKDictionary.h:93
IWORKStyle.h
libetonyek::IWORKDictionary::m_cellStyles
IWORKStyleMap_t m_cellStyles
Definition: IWORKDictionary.h:42
libetonyek::IWORKDictionary::m_unfiltereds
IWORKMediaContentMap_t m_unfiltereds
Definition: IWORKDictionary.h:91
libetonyek::IWORKGradientMap_t
std::unordered_map< ID_t, IWORKGradient > IWORKGradientMap_t
Definition: IWORKTypes.h:307
libetonyek::IWORKDictionary::m_coreImageFilterInfos
IWORKShadowMap_t m_coreImageFilterInfos
Definition: IWORKDictionary.h:64
libetonyek::IWORKDictionary::m_patterns
IWORKPatternMap_t m_patterns
Definition: IWORKDictionary.h:82
libetonyek::IWORKFiltersMap_t
std::unordered_map< ID_t, IWORKFilters_t > IWORKFiltersMap_t
Definition: IWORKTypes.h:325
libetonyek::IWORKDictionary::m_filteredImages
IWORKMediaContentMap_t m_filteredImages
Definition: IWORKDictionary.h:71
libetonyek::IWORKDictionary::m_fills
IWORKFillMap_t m_fills
Definition: IWORKDictionary.h:69
IWORKPath.h
libetonyek::IWORKListLabelGeometryMap_t
std::unordered_map< ID_t, IWORKListLabelGeometry > IWORKListLabelGeometryMap_t
Definition: IWORKTypes.h:432
IWORKStylesheet.h
libetonyek::IWORKDictionary::m_listStyles
IWORKStyleMap_t m_listStyles
Definition: IWORKDictionary.h:49
libetonyek::IWORKDateTimeFormatMap_t
std::unordered_map< ID_t, IWORKDateTimeFormat > IWORKDateTimeFormatMap_t
Definition: IWORKTypes.h:388
libetonyek::IWORKGradientStopMap_t
std::unordered_map< ID_t, IWORKGradientStop > IWORKGradientStopMap_t
Definition: IWORKTypes.h:297
libetonyek::IWORKListLabelTypeInfoMap_t
std::unordered_map< ID_t, IWORKListLabelTypeInfo_t > IWORKListLabelTypeInfoMap_t
Definition: IWORKTypes.h:456
libetonyek::IWORKDictionary::m_listLabelTypesArrays
std::unordered_map< ID_t, std::deque< IWORKListLabelTypeInfo_t > > m_listLabelTypesArrays
Definition: IWORKDictionary.h:95
libetonyek::IWORKTableVectorMap_t
std::unordered_map< ID_t, IWORKTableVector > IWORKTableVectorMap_t
Definition: IWORKTypes.h:230
libetonyek::IWORKShadowMap_t
std::unordered_map< ID_t, IWORKShadow > IWORKShadowMap_t
Definition: IWORKTypes.h:323
libetonyek::IWORKFilterDescriptorMap_t
std::unordered_map< ID_t, IWORKFilterDescriptor > IWORKFilterDescriptorMap_t
Definition: IWORKTypes.h:405
libetonyek::IWORKDictionary::m_strokes
IWORKStrokeMap_t m_strokes
Definition: IWORKDictionary.h:84
libetonyek::IWORKFormulaMap_t
std::unordered_map< ID_t, IWORKFormulaPtr_t > IWORKFormulaMap_t
Definition: IWORKTypes.h:124
libetonyek::IWORKDictionary::m_formulas
IWORKFormulaMap_t m_formulas
Definition: IWORKDictionary.h:73
libetonyek::IWORKDictionary::m_lineSpacings
IWORKLineSpacingMap_t m_lineSpacings
Definition: IWORKDictionary.h:77
IWORKTypes.h
libetonyek::IWORKExternalTextWrapMap_t
std::unordered_map< ID_t, IWORKExternalTextWrap > IWORKExternalTextWrapMap_t
Definition: IWORKTypes.h:184
libetonyek::IWORKDictionary::m_textLabels
IWORKListLabelTypeInfoMap_t m_textLabels
Definition: IWORKDictionary.h:89
libetonyek::IWORKDictionary::m_paragraphStyles
IWORKStyleMap_t m_paragraphStyles
Definition: IWORKDictionary.h:50
libetonyek::IWORKDictionary::m_tableCellStyles
IWORKStyleMap_t m_tableCellStyles
Definition: IWORKDictionary.h:53
libetonyek::IWORKDictionary::m_gradients
IWORKGradientMap_t m_gradients
Definition: IWORKDictionary.h:74
libetonyek::IWORKDictionary::m_gradientStops
IWORKGradientStopMap_t m_gradientStops
Definition: IWORKDictionary.h:75
libetonyek::IWORKDictionary::m_paddings
IWORKPaddingMap_t m_paddings
Definition: IWORKDictionary.h:81
libetonyek::IWORKMediaContentMap_t
std::unordered_map< ID_t, IWORKMediaContentPtr_t > IWORKMediaContentMap_t
Definition: IWORKTypes_fwd.h:57
libetonyek::IWORKDictionary::m_externalTextWraps
IWORKExternalTextWrapMap_t m_externalTextWraps
Definition: IWORKDictionary.h:68
libetonyek::IWORKStyleMap_t
std::unordered_map< ID_t, IWORKStylePtr_t > IWORKStyleMap_t
Definition: IWORKStyle_fwd.h:24
libetonyek::IWORKTableCellMap_t
std::unordered_map< ID_t, IWORKTableCell > IWORKTableCellMap_t
Definition: IWORKTypes.h:239
libetonyek::IWORKDictionary::m_tableStyles
IWORKStyleMap_t m_tableStyles
Definition: IWORKDictionary.h:52
libetonyek::IWORKDictionary::m_data
IWORKDataMap_t m_data
Definition: IWORKDictionary.h:65
libetonyek::IWORKDurationFormatMap_t
std::unordered_map< ID_t, IWORKDurationFormat > IWORKDurationFormatMap_t
Definition: IWORKTypes.h:396
libetonyek::IWORKDictionary::m_tabs
IWORKTabStopsMap_t m_tabs
Definition: IWORKDictionary.h:87
libetonyek::IWORKStrokeMap_t
std::unordered_map< ID_t, IWORKStroke > IWORKStrokeMap_t
Definition: IWORKTypes.h:287
libetonyek::IWORKTableMap_t
std::unordered_map< ID_t, IWORKTablePtr_t > IWORKTableMap_t
Definition: IWORKTypes_fwd.h:82
libetonyek::IWORKNumberFormatMap_t
std::unordered_map< ID_t, IWORKNumberFormat > IWORKNumberFormatMap_t
Definition: IWORKTypes.h:380
libetonyek::IWORKLineSpacingMap_t
std::unordered_map< ID_t, IWORKLineSpacing > IWORKLineSpacingMap_t
Definition: IWORKTypes.h:202
libetonyek::IWORKDictionary::m_binaries
IWORKMediaContentMap_t m_binaries
Definition: IWORKDictionary.h:62
libetonyek::IWORKDictionary::m_tableVectors
IWORKTableVectorMap_t m_tableVectors
Definition: IWORKDictionary.h:86
libetonyek::IWORKPatternMap_t
std::unordered_map< ID_t, IWORKPattern > IWORKPatternMap_t
Definition: IWORKTypes.h:275
libetonyek::IWORKDictionary::m_listLabelGeometries
IWORKListLabelGeometryMap_t m_listLabelGeometries
Definition: IWORKDictionary.h:78
libetonyek::IWORKDictionary::m_numberFormats
IWORKNumberFormatMap_t m_numberFormats
Definition: IWORKDictionary.h:80
libetonyek::IWORKDictionary::m_columnSets
IWORKColumnsMap_t m_columnSets
Definition: IWORKDictionary.h:63