- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

KEYCollectorBase.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 KEYCOLLECTORBASE_H_INCLUDED
11 #define KEYCOLLECTORBASE_H_INCLUDED
12
13 #include <deque>
14 #include <stack>
15
16 #include "KEYCollector.h"
17 #include "KEYObject.h"
18 #include "KEYStyle.h"
19 #include "KEYStylesheet.h"
20 #include "KEYText_fwd.h"
21 #include "KEYTypes.h"
22
23 namespace libetonyek
24 {
25
26 struct KEYDictionary;
27
32 class KEYCollectorBase : public KEYCollector
33 {
34 struct Level
35 {
36 KEYGeometryPtr_t geometry;
37 KEYGraphicStylePtr_t graphicStyle;
38
39 Level();
40 };
41
42 public:
43 KEYCollectorBase(KEYDictionary &dict, const KEYDefaults &defaults);
44 ~KEYCollectorBase();
45
46 // collector functions
47
48 virtual void collectCellStyle(const boost::optional<ID_t> &id,
49 const boost::optional<KEYPropertyMap> &props,
50 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
51 bool ref, bool anonymous);
52 virtual void collectCharacterStyle(const boost::optional<ID_t> &id,
53 const boost::optional<KEYPropertyMap> &props,
54 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
55 bool ref, bool anonymous);
56 virtual void collectConnectionStyle(const boost::optional<ID_t> &id,
57 const boost::optional<KEYPropertyMap> &props,
58 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
59 bool ref, bool anonymous);
60 virtual void collectGraphicStyle(const boost::optional<ID_t> &id,
61 const boost::optional<KEYPropertyMap> &props,
62 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
63 bool ref, bool anonymous);
64 virtual void collectLayoutStyle(const boost::optional<ID_t> &id,
65 const boost::optional<KEYPropertyMap> &props,
66 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
67 bool ref, bool anonymous);
68 virtual void collectListStyle(const boost::optional<ID_t> &id,
69 const boost::optional<KEYPropertyMap> &props,
70 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
71 bool ref, bool anonymous);
72 virtual void collectParagraphStyle(const boost::optional<ID_t> &id,
73 const boost::optional<KEYPropertyMap> &props,
74 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
75 bool ref, bool anonymous);
76 virtual void collectPlaceholderStyle(const boost::optional<ID_t> &id,
77 const boost::optional<KEYPropertyMap> &props,
78 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
79 bool ref, bool anonymous);
80 virtual void collectSlideStyle(const boost::optional<ID_t> &id,
81 const boost::optional<KEYPropertyMap> &props,
82 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
83 bool ref, bool anonymous);
84 virtual void collectTabularStyle(const boost::optional<ID_t> &id,
85 const boost::optional<KEYPropertyMap> &props,
86 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
87 bool ref, bool anonymous);
88 virtual void collectVectorStyle(const boost::optional<ID_t> &id,
89 const boost::optional<KEYPropertyMap> &props,
90 const boost::optional<std::string> &ident, const boost::optional<std::string> &parentIdent,
91 bool ref, bool anonymous);
92
93 virtual void collectGeometry(boost::optional<ID_t> &id,
94 boost::optional<KEYSize> &naturalSize, boost::optional<KEYSize> &size,
95 boost::optional<KEYPosition> &position, boost::optional<double> &angle,
96 boost::optional<double> &shearXAngle, boost::optional<double> &shearYAngle,
97 boost::optional<bool> &horizontalFlip, boost::optional<bool> &verticalFlip,
98 boost::optional<bool> &aspectRatioLocked, boost::optional<bool> &sizesLocked);
99
100 virtual void collectBezier(const boost::optional<ID_t> &id, const KEYPathPtr_t &path, bool ref);
101 virtual void collectGroup(const boost::optional<ID_t> &id, const KEYGroupPtr_t &group);
102 virtual void collectImage(const boost::optional<ID_t> &id, const KEYImagePtr_t &image);
103 virtual void collectLine(const boost::optional<ID_t> &id, const KEYLinePtr_t &line);
104 virtual void collectShape(const boost::optional<ID_t> &id);
105
106 virtual void collectBezierPath(const boost::optional<ID_t> &id);
107 virtual void collectPolygonPath(const boost::optional<ID_t> &id, const KEYSize &size, unsigned edges);
108 virtual void collectRoundedRectanglePath(const boost::optional<ID_t> &id, const KEYSize &size, double radius);
109 virtual void collectArrowPath(const boost::optional<ID_t> &id, const KEYSize &size, double headWidth, double stemRelYPos, bool doubleSided);
110 virtual void collectStarPath(const boost::optional<ID_t> &id, const KEYSize &size, unsigned points, double innerRadius);
111 virtual void collectConnectionPath(const boost::optional<ID_t> &id, const KEYSize &size, double middleX, double middleY);
112 virtual void collectCalloutPath(const boost::optional<ID_t> &id, const KEYSize &size, double radius, double tailSize, double tailX, double tailY, bool quoteBubble);
113
114 virtual void collectData(const boost::optional<ID_t> &id, const RVNGInputStreamPtr_t &stream, const boost::optional<std::string> &displayName, const boost::optional<unsigned> &type, bool ref);
115 virtual void collectUnfiltered(const boost::optional<ID_t> &id, const boost::optional<KEYSize> &size, bool ref);
116 virtual void collectFiltered(const boost::optional<ID_t> &id, const boost::optional<KEYSize> &size);
117 virtual void collectLeveled(const boost::optional<ID_t> &id, const boost::optional<KEYSize> &size);
118 virtual void collectFilteredImage(const boost::optional<ID_t> &id, bool ref);
119 virtual void collectMovieMedia(const boost::optional<ID_t> &id);
120 virtual void collectMedia(const boost::optional<ID_t> &id);
121
122 virtual void collectLayer(const boost::optional<ID_t> &id, bool ref);
123 virtual void collectStylesheet(const boost::optional<ID_t> &id, const boost::optional<ID_t> &parent);
124
125 virtual void collectText(const boost::optional<ID_t> &style, const std::string &text);
126 virtual void collectTab();
127 virtual void collectLineBreak();
128
129 virtual void collectTextPlaceholder(const boost::optional<ID_t> &id, bool title, bool ref);
130
131 virtual void collectTableSizes(const KEYTable::RowSizes_t &rowSizes, const KEYTable::ColumnSizes_t &columnSizes);
132 virtual void collectTableCell(unsigned row, unsigned column, const boost::optional<std::string> &content, unsigned rowSpan, unsigned columnSpan);
133 virtual void collectCoveredTableCell(unsigned row, unsigned column);
134 virtual void collectTableRow();
135 virtual void collectTable();
136
137 virtual void collectNote();
138
139 virtual void collectStickyNote();
140
141 virtual void startPage();
142 virtual void endPage();
143 virtual void startLayer();
144 virtual void endLayer();
145 virtual void startGroup();
146 virtual void endGroup();
147
148 virtual void startParagraph(const boost::optional<ID_t> &style);
149 virtual void endParagraph();
150 virtual void startText(bool object);
151 virtual void endText();
152
153 virtual void startLevel();
154 virtual void endLevel();
155
156 protected:
157 bool isCollecting() const;
158 void setCollecting(bool collecting);
159
160 const KEYDefaults &getDefaults() const;
161
162 const KEYLayerPtr_t &getLayer() const;
163 const KEYObjectList_t &getNotes() const;
164 const KEYStickyNotes_t &getStickyNotes() const;
165
166 private:
167 KEYDictionary &m_dict;
168 const KEYDefaults &m_defaults;
169
170 KEYLayerPtr_t m_currentLayer;
171
172 std::stack<Level> m_levelStack;
173 std::stack<KEYObjectList_t> m_objectsStack;
174 KEYPathPtr_t m_currentPath;
175
176 KEYTextPtr_t m_currentText;
177
178 KEYPlaceholderStylePtr_t m_currentPlaceholderStyle;
179
180 KEYStylesheetPtr_t m_currentStylesheet;
181 std::deque<KEYStylePtr_t> m_newStyles;
182
183 KEYDataPtr_t m_currentData;
184 KEYMediaContentPtr_t m_currentUnfiltered;
185 KEYMediaContentPtr_t m_currentFiltered;
186 KEYMediaContentPtr_t m_currentLeveled;
187 KEYMediaContentPtr_t m_currentContent;
188
189 KEYTable m_currentTable;
190
191 KEYObjectList_t m_notes;
192
193 KEYStickyNotes_t m_stickyNotes;
194
195 bool m_collecting;
196 bool m_layerOpened;
197 int m_groupLevel;
198 };
199
200 } // namespace libetonyek
201
202 #endif // KEYCOLLECTORBASE_H_INCLUDED
203
204 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek::KEY2Token::group
Definition: KEY2Token.h:220
libetonyek::KEYGraphicStylePtr_t
boost::shared_ptr< KEYGraphicStyle > KEYGraphicStylePtr_t
Definition: KEYStyles_fwd.h:36
libetonyek::KEYStickyNotes_t
std::deque< KEYStickyNote > KEYStickyNotes_t
Definition: KEYTypes.h:184
libetonyek::KEY2Token::shearXAngle
Definition: KEY2Token.h:1077
libetonyek::KEYCollectorBase::collectGraphicStyle
virtual void collectGraphicStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:187
libetonyek::KEYCollectorBase::m_layerOpened
bool m_layerOpened
Definition: KEYCollectorBase.h:196
libetonyek::KEYCollectorBase::m_newStyles
std::deque< KEYStylePtr_t > m_newStyles
Definition: KEYCollectorBase.h:181
libetonyek::KEYCollectorBase::collectStarPath
virtual void collectStarPath(const boost::optional< ID_t > &id, const KEYSize &size, unsigned points, double innerRadius)
Definition: KEYCollectorBase.cpp:489
KEYStylesheet.h
libetonyek::KEYCollectorBase::collectRoundedRectanglePath
virtual void collectRoundedRectanglePath(const boost::optional< ID_t > &id, const KEYSize &size, double radius)
Definition: KEYCollectorBase.cpp:472
libetonyek::KEY1Token::content
Definition: KEY1Token.h:39
libetonyek::KEYCollectorBase::~KEYCollectorBase
~KEYCollectorBase()
Definition: KEYCollectorBase.cpp:121
KEYTypes.h
KEYText_fwd.h
libetonyek::KEYCollectorBase::collectTableSizes
virtual void collectTableSizes(const KEYTable::RowSizes_t &rowSizes, const KEYTable::ColumnSizes_t &columnSizes)
Definition: KEYCollectorBase.cpp:755
libetonyek::KEYCollectorBase::collectMovieMedia
virtual void collectMovieMedia(const boost::optional< ID_t > &id)
Definition: KEYCollectorBase.cpp:611
libetonyek::KEY1Token::title
Definition: KEY1Token.h:85
libetonyek::KEYCollectorBase::collectGeometry
virtual void collectGeometry(boost::optional< ID_t > &id, boost::optional< KEYSize > &naturalSize, boost::optional< KEYSize > &size, boost::optional< KEYPosition > &position, boost::optional< double > &angle, boost::optional< double > &shearXAngle, boost::optional< double > &shearYAngle, boost::optional< bool > &horizontalFlip, boost::optional< bool > &verticalFlip, boost::optional< bool > &aspectRatioLocked, boost::optional< bool > &sizesLocked)
Definition: KEYCollectorBase.cpp:351
libetonyek::KEYTable
Definition: KEYTable.h:20
libetonyek::KEYCollectorBase::collectCellStyle
virtual void collectCellStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:134
libetonyek::KEYCollectorBase::m_currentContent
KEYMediaContentPtr_t m_currentContent
Definition: KEYCollectorBase.h:187
libetonyek::KEYCollectorBase::endLayer
virtual void endLayer()
Definition: KEYCollectorBase.cpp:864
libetonyek::KEY2Token::position
Definition: KEY2Token.h:366
libetonyek::KEYCollectorBase::m_currentLayer
KEYLayerPtr_t m_currentLayer
Definition: KEYCollectorBase.h:170
libetonyek::KEYCollectorBase::m_currentData
KEYDataPtr_t m_currentData
Definition: KEYCollectorBase.h:183
libetonyek::KEYCollectorBase::endPage
virtual void endPage()
Definition: KEYCollectorBase.cpp:841
libetonyek::KEYCollectorBase::getDefaults
const KEYDefaults & getDefaults() const
Definition: KEYCollectorBase.cpp:974
libetonyek::KEYCollectorBase::collectConnectionStyle
virtual void collectConnectionStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:173
libetonyek::KEYCollectorBase::setCollecting
void setCollecting(bool collecting)
Definition: KEYCollectorBase.cpp:969
libetonyek::KEYCollectorBase::startParagraph
virtual void startParagraph(const boost::optional< ID_t > &style)
Definition: KEYCollectorBase.cpp:906
libetonyek::KEYCollectorBase::m_currentTable
KEYTable m_currentTable
Definition: KEYCollectorBase.h:189
libetonyek::KEY2Token::verticalFlip
Definition: KEY2Token.h:1113
libetonyek::KEY2Token::sizesLocked
Definition: KEY2Token.h:1079
libetonyek::KEY2Token::text
Definition: KEY2Token.h:854
libetonyek::KEYCollectorBase::m_currentLeveled
KEYMediaContentPtr_t m_currentLeveled
Definition: KEYCollectorBase.h:186
libetonyek::KEYCollectorBase::m_currentFiltered
KEYMediaContentPtr_t m_currentFiltered
Definition: KEYCollectorBase.h:185
libetonyek::KEYCollectorBase::collectTab
virtual void collectTab()
Definition: KEYCollectorBase.cpp:689
libetonyek::KEYDataPtr_t
boost::shared_ptr< KEYData > KEYDataPtr_t
Definition: KEYTypes_fwd.h:33
libetonyek::KEYCollectorBase
Implementation of common parts of styles and content collector.
Definition: KEYCollectorBase.h:32
libetonyek::KEYCollectorBase::collectMedia
virtual void collectMedia(const boost::optional< ID_t > &id)
Definition: KEYCollectorBase.cpp:626
libetonyek::KEYCollectorBase::collectFiltered
virtual void collectFiltered(const boost::optional< ID_t > &id, const boost::optional< KEYSize > &size)
Definition: KEYCollectorBase.cpp:551
libetonyek::KEYCollectorBase::m_currentUnfiltered
KEYMediaContentPtr_t m_currentUnfiltered
Definition: KEYCollectorBase.h:184
libetonyek::KEYMediaContentPtr_t
boost::shared_ptr< KEYMediaContent > KEYMediaContentPtr_t
Definition: KEYTypes_fwd.h:38
libetonyek::KEYCollectorBase::collectLineBreak
virtual void collectLineBreak()
Definition: KEYCollectorBase.cpp:699
libetonyek::KEYCollectorBase::getStickyNotes
const KEYStickyNotes_t & getStickyNotes() const
Definition: KEYCollectorBase.cpp:989
libetonyek::KEYCollectorBase::Level::graphicStyle
KEYGraphicStylePtr_t graphicStyle
Definition: KEYCollectorBase.h:37
libetonyek::KEY2Token::column
Definition: KEY2Token.h:140
libetonyek::KEYCollectorBase::collectTableRow
virtual void collectTableRow()
Definition: KEYCollectorBase.cpp:794
libetonyek::KEYPathPtr_t
boost::shared_ptr< KEYPath > KEYPathPtr_t
Definition: KEYPath_fwd.h:17
libetonyek::KEY2Token::horizontalFlip
Definition: KEY2Token.h:992
libetonyek::KEYTextPtr_t
boost::shared_ptr< KEYText > KEYTextPtr_t
Definition: KEYText_fwd.h:16
libetonyek::KEY2Token::shearYAngle
Definition: KEY2Token.h:1078
libetonyek::KEYCollectorBase::startText
virtual void startText(bool object)
Start of a block that can contain text.
Definition: KEYCollectorBase.cpp:926
libetonyek::KEYCollectorBase::KEYCollectorBase
KEYCollectorBase(KEYDictionary &dict, const KEYDefaults &defaults)
Definition: KEYCollectorBase.cpp:97
libetonyek::KEY2Token::style
Definition: KEY2Token.h:796
libetonyek::KEY2Token::aspectRatioLocked
Definition: KEY2Token.h:910
libetonyek::KEYCollectorBase::collectCoveredTableCell
virtual void collectCoveredTableCell(unsigned row, unsigned column)
Definition: KEYCollectorBase.cpp:788
libetonyek::KEYCollectorBase::endLevel
virtual void endLevel()
Definition: KEYCollectorBase.cpp:955
libetonyek::KEYCollectorBase::collectVectorStyle
virtual void collectVectorStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:337
libetonyek::KEYCollectorBase::startPage
virtual void startPage()
Definition: KEYCollectorBase.cpp:835
libetonyek::KEYCollectorBase::m_collecting
bool m_collecting
Definition: KEYCollectorBase.h:195
KEYObject.h
libetonyek::KEYCollectorBase::endGroup
virtual void endGroup()
Definition: KEYCollectorBase.cpp:893
libetonyek::KEY1Token::line
Definition: KEY1Token.h:51
libetonyek::KEYTable::RowSizes_t
std::deque< double > RowSizes_t
Definition: KEYTable.h:37
libetonyek::KEYCollectorBase::m_dict
KEYDictionary & m_dict
Definition: KEYCollectorBase.h:167
libetonyek::KEYCollectorBase::m_defaults
const KEYDefaults & m_defaults
Definition: KEYCollectorBase.h:168
libetonyek::KEYCollectorBase::m_levelStack
std::stack< Level > m_levelStack
Definition: KEYCollectorBase.h:172
libetonyek::KEYCollectorBase::Level
Definition: KEYCollectorBase.h:34
libetonyek::KEYSize
Definition: KEYTypes.h:27
libetonyek::KEYCollectorBase::m_notes
KEYObjectList_t m_notes
Definition: KEYCollectorBase.h:191
libetonyek::KEYCollectorBase::collectImage
virtual void collectImage(const boost::optional< ID_t > &id, const KEYImagePtr_t &image)
Definition: KEYCollectorBase.cpp:400
KEYCollector.h
libetonyek::KEYCollectorBase::collectTableCell
virtual void collectTableCell(unsigned row, unsigned column, const boost::optional< std::string > &content, unsigned rowSpan, unsigned columnSpan)
Definition: KEYCollectorBase.cpp:761
libetonyek::KEYCollectorBase::startLevel
virtual void startLevel()
Definition: KEYCollectorBase.cpp:949
libetonyek::KEYCollectorBase::Level::geometry
KEYGeometryPtr_t geometry
Definition: KEYCollectorBase.h:36
libetonyek::KEYCollectorBase::collectTable
virtual void collectTable()
Definition: KEYCollectorBase.cpp:799
libetonyek::KEYCollectorBase::m_currentStylesheet
KEYStylesheetPtr_t m_currentStylesheet
Definition: KEYCollectorBase.h:180
libetonyek::KEY1Token::image
Definition: KEY1Token.h:49
libetonyek::KEYCollectorBase::endText
virtual void endText()
End of a text block.
Definition: KEYCollectorBase.cpp:938
libetonyek::KEYCollectorBase::m_currentPlaceholderStyle
KEYPlaceholderStylePtr_t m_currentPlaceholderStyle
Definition: KEYCollectorBase.h:178
libetonyek::KEYPlaceholderStylePtr_t
boost::shared_ptr< KEYPlaceholderStyle > KEYPlaceholderStylePtr_t
Definition: KEYStyles_fwd.h:56
libetonyek::KEY1Token::dict
Definition: KEY1Token.h:42
libetonyek::KEY1Token::angle
Definition: KEY1Token.h:92
libetonyek::KEYCollectorBase::collectFilteredImage
virtual void collectFilteredImage(const boost::optional< ID_t > &id, bool ref)
Definition: KEYCollectorBase.cpp:581
libetonyek::KEYCollectorBase::collectLeveled
virtual void collectLeveled(const boost::optional< ID_t > &id, const boost::optional< KEYSize > &size)
Definition: KEYCollectorBase.cpp:566
libetonyek::KEYImagePtr_t
boost::shared_ptr< KEYImage > KEYImagePtr_t
Definition: KEYTypes_fwd.h:43
libetonyek::KEYDictionary
A dictionary of all referenceable entities in the presentation.
Definition: KEYDictionary.h:35
libetonyek::KEYCollectorBase::collectTabularStyle
virtual void collectTabularStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:323
libetonyek::KEYCollectorBase::collectSlideStyle
virtual void collectSlideStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:309
libetonyek::KEY1Token::size
Definition: KEY1Token.h:72
libetonyek::KEYLinePtr_t
boost::shared_ptr< KEYLine > KEYLinePtr_t
Definition: KEYTypes_fwd.h:29
libetonyek::KEYCollectorBase::collectLayoutStyle
virtual void collectLayoutStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:218
libetonyek::KEYCollectorBase::m_currentPath
KEYPathPtr_t m_currentPath
Definition: KEYCollectorBase.h:174
libetonyek::KEYCollectorBase::collectBezierPath
virtual void collectBezierPath(const boost::optional< ID_t > &id)
Definition: KEYCollectorBase.cpp:461
libetonyek::KEY2Token::naturalSize
Definition: KEY2Token.h:325
libetonyek::KEYCollectorBase::collectConnectionPath
virtual void collectConnectionPath(const boost::optional< ID_t > &id, const KEYSize &size, double middleX, double middleY)
Definition: KEYCollectorBase.cpp:495
libetonyek::KEYCollectorBase::startGroup
virtual void startGroup()
Definition: KEYCollectorBase.cpp:881
type
EtonyekDocument::Type type
Definition: EtonyekDocument.cpp:62
libetonyek::KEYCollectorBase::Level::Level
Level()
Definition: KEYCollectorBase.cpp:91
libetonyek::KEYCollectorBase::collectTextPlaceholder
virtual void collectTextPlaceholder(const boost::optional< ID_t > &id, bool title, bool ref)
Definition: KEYCollectorBase.cpp:709
libetonyek::RVNGInputStreamPtr_t
boost::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:88
libetonyek::KEY1Token::radius
Definition: KEY1Token.h:149
libetonyek::KEYGeometryPtr_t
boost::shared_ptr< KEYGeometry > KEYGeometryPtr_t
Definition: KEYTypes_fwd.h:25
libetonyek::KEYCollectorBase::collectData
virtual void collectData(const boost::optional< ID_t > &id, const RVNGInputStreamPtr_t &stream, const boost::optional< std::string > &displayName, const boost::optional< unsigned > &type, bool ref)
Definition: KEYCollectorBase.cpp:512
libetonyek::KEYCollector
Definition: KEYCollector.h:29
libetonyek::KEYCollectorBase::getLayer
const KEYLayerPtr_t & getLayer() const
Definition: KEYCollectorBase.cpp:979
libetonyek::KEYCollectorBase::isCollecting
bool isCollecting() const
Definition: KEYCollectorBase.cpp:964
libetonyek::KEYCollectorBase::collectPlaceholderStyle
virtual void collectPlaceholderStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:283
KEYStyle.h
libetonyek::KEYCollectorBase::collectCharacterStyle
virtual void collectCharacterStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:148
libetonyek::KEY2Token::tailSize
Definition: KEY2Token.h:1103
libetonyek::KEYCollectorBase::getNotes
const KEYObjectList_t & getNotes() const
Definition: KEYCollectorBase.cpp:984
libetonyek::KEYTable::ColumnSizes_t
std::deque< double > ColumnSizes_t
Definition: KEYTable.h:36
libetonyek::KEYCollectorBase::m_stickyNotes
KEYStickyNotes_t m_stickyNotes
Definition: KEYCollectorBase.h:193
libetonyek::KEYCollectorBase::collectStickyNote
virtual void collectStickyNote()
Definition: KEYCollectorBase.cpp:823
libetonyek::KEYCollectorBase::collectText
virtual void collectText(const boost::optional< ID_t > &style, const std::string &text)
Definition: KEYCollectorBase.cpp:679
libetonyek::KEYCollectorBase::collectUnfiltered
virtual void collectUnfiltered(const boost::optional< ID_t > &id, const boost::optional< KEYSize > &size, bool ref)
Definition: KEYCollectorBase.cpp:531
libetonyek::KEYCollectorBase::collectParagraphStyle
virtual void collectParagraphStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:259
libetonyek::KEYCollectorBase::endParagraph
virtual void endParagraph()
Definition: KEYCollectorBase.cpp:916
libetonyek::KEYCollectorBase::collectPolygonPath
virtual void collectPolygonPath(const boost::optional< ID_t > &id, const KEYSize &size, unsigned edges)
Definition: KEYCollectorBase.cpp:466
libetonyek::KEY2Token::row
Definition: KEY2Token.h:1069
libetonyek::KEYDefaults
A representation of default values for various parts of the format.
Definition: KEYDefaults.h:30
libetonyek::KEYCollectorBase::collectListStyle
virtual void collectListStyle(const boost::optional< ID_t > &id, const boost::optional< KEYPropertyMap > &props, const boost::optional< std::string > &ident, const boost::optional< std::string > &parentIdent, bool ref, bool anonymous)
Definition: KEYCollectorBase.cpp:245
libetonyek::KEYObjectList_t
std::deque< KEYObjectPtr_t > KEYObjectList_t
A list of presentation objects.
Definition: KEYObject.h:48
libetonyek::KEYCollectorBase::collectCalloutPath
virtual void collectCalloutPath(const boost::optional< ID_t > &id, const KEYSize &size, double radius, double tailSize, double tailX, double tailY, bool quoteBubble)
Definition: KEYCollectorBase.cpp:501
libetonyek::KEYCollectorBase::collectStylesheet
virtual void collectStylesheet(const boost::optional< ID_t > &id, const boost::optional< ID_t > &parent)
Definition: KEYCollectorBase.cpp:659
libetonyek::KEYStylesheetPtr_t
boost::shared_ptr< KEYStylesheet > KEYStylesheetPtr_t
Definition: KEYStylesheet.h:19
libetonyek::KEYCollectorBase::m_objectsStack
std::stack< KEYObjectList_t > m_objectsStack
Definition: KEYCollectorBase.h:173
libetonyek::KEYCollectorBase::collectNote
virtual void collectNote()
Definition: KEYCollectorBase.cpp:814
libetonyek::KEY2Token::ident
Definition: KEY2Token.h:997
libetonyek::KEY1Token::string
Definition: KEY1Token.h:75
libetonyek::KEYCollectorBase::collectGroup
virtual void collectGroup(const boost::optional< ID_t > &id, const KEYGroupPtr_t &group)
Definition: KEYCollectorBase.cpp:387
libetonyek::KEYCollectorBase::collectLayer
virtual void collectLayer(const boost::optional< ID_t > &id, bool ref)
Definition: KEYCollectorBase.cpp:646
libetonyek::KEY2Token::path
Definition: KEY2Token.h:357
libetonyek::KEYGroupPtr_t
boost::shared_ptr< KEYGroup > KEYGroupPtr_t
Definition: KEYTypes_fwd.h:56
libetonyek::KEYCollectorBase::collectShape
virtual void collectShape(const boost::optional< ID_t > &id)
Definition: KEYCollectorBase.cpp:428
libetonyek::KEYCollectorBase::m_currentText
KEYTextPtr_t m_currentText
Definition: KEYCollectorBase.h:176
libetonyek::KEYCollectorBase::startLayer
virtual void startLayer()
Definition: KEYCollectorBase.cpp:847
libetonyek::KEYCollectorBase::collectArrowPath
virtual void collectArrowPath(const boost::optional< ID_t > &id, const KEYSize &size, double headWidth, double stemRelYPos, bool doubleSided)
Definition: KEYCollectorBase.cpp:478
libetonyek::KEYCollectorBase::collectLine
virtual void collectLine(const boost::optional< ID_t > &id, const KEYLinePtr_t &line)
Definition: KEYCollectorBase.cpp:415
libetonyek::KEYCollectorBase::m_groupLevel
int m_groupLevel
Definition: KEYCollectorBase.h:197
libetonyek::KEYCollectorBase::collectBezier
virtual void collectBezier(const boost::optional< ID_t > &id, const KEYPathPtr_t &path, bool ref)
Definition: KEYCollectorBase.cpp:381
libetonyek::KEYLayerPtr_t
boost::shared_ptr< KEYLayer > KEYLayerPtr_t
Definition: KEYTypes_fwd.h:60