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_graphicStyles;
45 IWORKStyleMap_t m_layoutStyles;
46 IWORKListStyleMap_t m_listStyles;
47 IWORKStyleMap_t m_paragraphStyles;
48 IWORKStyleMap_t m_tabularStyles;
49 IWORKStyleMap_t m_vectorStyles;
50
51 IWORKStylesheetMap_t m_stylesheets;
52
53 IWORKPathMap_t m_beziers;
54
55 IWORKDataMap_t m_data;
56 IWORKMediaContentMap_t m_binaries;
57 IWORKMediaContentMap_t m_unfiltereds;
58 IWORKMediaContentMap_t m_filteredImages;
59 IWORKImageMap_t m_images;
60
61 IWORKTabStopsMap_t m_tabs;
62
63 IWORKFilterDescriptorMap_t m_filterDescriptors;
64
65 IWORKListLabelTypeInfoMap_t m_listLabelTypeInfos;
66 IWORKListLabelTypeInfoMap_t m_textLabels;
67 IWORKListLabelGeometryMap_t m_listLabelGeometries;
68
69 std::unordered_map<ID_t, std::deque<double> > m_doubleArrays;
70 };
71
72 }
73
74 #endif // IWORKDICTIONARY_H_INCLUDED
75
76 /* 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:18
libetonyek::IWORKDictionary::m_graphicStyles
IWORKStyleMap_t m_graphicStyles
Definition: IWORKDictionary.h:44
libetonyek::IWORKDictionary::m_characterStyles
IWORKStyleMap_t m_characterStyles
Definition: IWORKDictionary.h:43
libetonyek::IWORKDictionary::m_tabularStyles
IWORKStyleMap_t m_tabularStyles
Definition: IWORKDictionary.h:48
libetonyek::IWORKDictionary::m_beziers
IWORKPathMap_t m_beziers
Definition: IWORKDictionary.h:53
libetonyek::IWORKDictionary::IWORKDictionary
IWORKDictionary()
Definition: IWORKDictionary.cpp:15
libetonyek::IWORKDictionary::m_vectorStyles
IWORKStyleMap_t m_vectorStyles
Definition: IWORKDictionary.h:49
libetonyek::IWORKDataMap_t
std::unordered_map< ID_t, IWORKDataPtr_t > IWORKDataMap_t
Definition: IWORKTypes_fwd.h:50
libetonyek::IWORKDictionary
A dictionary of all referenceable entities in the presentation.
Definition: IWORKDictionary.h:38
libetonyek::IWORKDictionary::m_stylesheets
IWORKStylesheetMap_t m_stylesheets
Definition: IWORKDictionary.h:51
libetonyek::IWORKDictionary::m_filterDescriptors
IWORKFilterDescriptorMap_t m_filterDescriptors
Definition: IWORKDictionary.h:63
libetonyek::IWORKDictionary::m_layoutStyles
IWORKStyleMap_t m_layoutStyles
Definition: IWORKDictionary.h:45
libetonyek::IWORKTabStopsMap_t
std::unordered_map< ID_t, IWORKTabStops_t > IWORKTabStopsMap_t
Definition: IWORKTypes.h:100
libetonyek::IWORKDictionary::m_images
IWORKImageMap_t m_images
Definition: IWORKDictionary.h:59
libetonyek::IWORKPathMap_t
std::unordered_map< ID_t, IWORKPathPtr_t > IWORKPathMap_t
Definition: IWORKPath_fwd.h:23
libetonyek::IWORKDictionary::m_listLabelTypeInfos
IWORKListLabelTypeInfoMap_t m_listLabelTypeInfos
Definition: IWORKDictionary.h:65
libetonyek::IWORKDictionary::m_doubleArrays
std::unordered_map< ID_t, std::deque< double > > m_doubleArrays
Definition: IWORKDictionary.h:69
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:57
libetonyek::IWORKImageMap_t
std::unordered_map< ID_t, IWORKImagePtr_t > IWORKImageMap_t
Definition: IWORKTypes_fwd.h:60
libetonyek::IWORKDictionary::m_filteredImages
IWORKMediaContentMap_t m_filteredImages
Definition: IWORKDictionary.h:58
IWORKPath.h
libetonyek::IWORKListLabelGeometryMap_t
std::unordered_map< ID_t, IWORKListLabelGeometry > IWORKListLabelGeometryMap_t
Definition: IWORKTypes.h:332
IWORKStylesheet.h
libetonyek::IWORKListLabelTypeInfoMap_t
std::unordered_map< ID_t, IWORKListLabelTypeInfo_t > IWORKListLabelTypeInfoMap_t
Definition: IWORKTypes.h:356
libetonyek::IWORKFilterDescriptorMap_t
std::unordered_map< ID_t, IWORKFilterDescriptor > IWORKFilterDescriptorMap_t
Definition: IWORKTypes.h:320
IWORKTypes.h
libetonyek::IWORKDictionary::m_textLabels
IWORKListLabelTypeInfoMap_t m_textLabels
Definition: IWORKDictionary.h:66
libetonyek::IWORKListStyleMap_t
std::unordered_map< ID_t, IWORKListStyle_t > IWORKListStyleMap_t
Definition: IWORKTypes.h:359
libetonyek::IWORKDictionary::m_paragraphStyles
IWORKStyleMap_t m_paragraphStyles
Definition: IWORKDictionary.h:47
libetonyek::IWORKDictionary::m_listStyles
IWORKListStyleMap_t m_listStyles
Definition: IWORKDictionary.h:46
libetonyek::IWORKMediaContentMap_t
std::unordered_map< ID_t, IWORKMediaContentPtr_t > IWORKMediaContentMap_t
Definition: IWORKTypes_fwd.h:55
libetonyek::IWORKStyleMap_t
std::unordered_map< ID_t, IWORKStylePtr_t > IWORKStyleMap_t
Definition: IWORKStyle_fwd.h:24
libetonyek::IWORKDictionary::m_data
IWORKDataMap_t m_data
Definition: IWORKDictionary.h:55
libetonyek::IWORKDictionary::m_tabs
IWORKTabStopsMap_t m_tabs
Definition: IWORKDictionary.h:61
libetonyek::IWORKDictionary::m_binaries
IWORKMediaContentMap_t m_binaries
Definition: IWORKDictionary.h:56
libetonyek::IWORKDictionary::m_listLabelGeometries
IWORKListLabelGeometryMap_t m_listLabelGeometries
Definition: IWORKDictionary.h:67