- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

ABWContentCollector.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 libabw 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 __ABWCONTENTCOLLECTOR_H__
11 #define __ABWCONTENTCOLLECTOR_H__
12
13 #include <vector>
14 #include <stack>
15 #include <set>
16 #include <librevenge/librevenge.h>
17 #include "ABWOutputElements.h"
18 #include "ABWCollector.h"
19
20 namespace libabw
21 {
22
23 enum ABWContext
24 {
25 ABW_SECTION,
26 ABW_HEADER,
27 ABW_FOOTER
28 };
29
30 struct ABWStyle
31 {
32 ABWStyle() : basedon(), followedby(), properties() {}
33 ~ABWStyle() {}
34 std::string basedon;
35 std::string followedby;
36 ABWPropertyMap properties;
37 };
38
39 struct ABWContentTableState
40 {
41 ABWContentTableState();
42 ABWContentTableState(const ABWContentTableState &ts);
43 ~ABWContentTableState();
44
45 ABWPropertyMap m_currentTableProperties;
46 ABWPropertyMap m_currentCellProperties;
47
48 int m_currentTableCol;
49 int m_currentTableRow;
50 int m_currentTableCellNumberInRow;
51 int m_currentTableId;
52 bool m_isTableRowOpened;
53 bool m_isTableColumnOpened;
54 bool m_isTableCellOpened;
55 bool m_isCellWithoutParagraph;
56 bool m_isRowWithoutCell;
57 };
58
59 struct ABWContentParsingState
60 {
61 ABWContentParsingState();
62 ABWContentParsingState(const ABWContentParsingState &ps);
63 ~ABWContentParsingState();
64
65 bool m_isDocumentStarted;
66 bool m_isPageSpanOpened;
67 bool m_isSectionOpened;
68 bool m_isHeaderOpened;
69 bool m_isFooterOpened;
70
71 bool m_isSpanOpened;
72 bool m_isParagraphOpened;
73 bool m_isListElementOpened;
74 bool m_inParagraphOrListElement;
75
76 ABWPropertyMap m_currentSectionStyle;
77 ABWPropertyMap m_currentParagraphStyle;
78 ABWPropertyMap m_currentCharacterStyle;
79
80 double m_pageWidth;
81 double m_pageHeight;
82 double m_pageMarginTop;
83 double m_pageMarginBottom;
84 double m_pageMarginLeft;
85 double m_pageMarginRight;
86 int m_footerId;
87 int m_footerLeftId;
88 int m_footerFirstId;
89 int m_footerLastId;
90 int m_headerId;
91 int m_headerLeftId;
92 int m_headerFirstId;
93 int m_headerLastId;
94 int m_currentHeaderFooterId;
95 librevenge::RVNGString m_currentHeaderFooterOccurrence;
96 ABWContext m_parsingContext;
97
98 bool m_deferredPageBreak;
99 bool m_deferredColumnBreak;
100
101 bool m_isNote;
102
103 int m_currentListLevel;
104 int m_currentListId;
105 bool m_isFirstTextInListElement;
106
107 std::stack<ABWContentTableState> m_tableStates;
108 std::stack<std::pair<int, ABWListElement *> > m_listLevels;
109 };
110
111 class ABWContentCollector : public ABWCollector
112 {
113 public:
114 ABWContentCollector(librevenge::RVNGTextInterface *iface, const std::map<int, int> &tableSizes,
115 const std::map<std::string, ABWData> &data,
116 const std::map<int, ABWListElement *> &listElements);
117 virtual ~ABWContentCollector();
118
119 // collector functions
120
121 void collectTextStyle(const char *name, const char *basedon, const char *followedby, const char *props);
122 void collectDocumentProperties(const char *props);
123 void collectParagraphProperties(const char *level, const char *listid, const char *parentid, const char *style, const char *props);
124 void collectSectionProperties(const char *footer, const char *footerLeft, const char *footerFirst, const char *footerLast,
125 const char *header, const char *headerLeft, const char *headerFirst, const char *headerLast,
126 const char *props);
127 void collectCharacterProperties(const char *style, const char *props);
128 void collectPageSize(const char *width, const char *height, const char *units, const char *pageScale);
129 void closeParagraphOrListElement();
130 void closeSpan();
131 void openLink(const char *href);
132 void closeLink();
133 void openFoot(const char *id);
134 void closeFoot();
135 void openEndnote(const char *id);
136 void closeEndnote();
137 void endSection();
138 void startDocument();
139 void endDocument();
140 void insertLineBreak();
141 void insertColumnBreak();
142 void insertPageBreak();
143 void insertText(const char *text);
144 void insertImage(const char *dataid, const char *props);
145 void collectList(const char *, const char *, const char *, const char *, const char *, const char *) {}
146
147 void collectData(const char *name, const char *mimeType, const librevenge::RVNGBinaryData &data);
148 void collectHeaderFooter(const char *id, const char *type);
149
150 void openTable(const char *props);
151 void closeTable();
152 void openCell(const char *props);
153 void closeCell();
154
155 void addMetadataEntry(const char *name, const char *value);
156
157 private:
158 ABWContentCollector(const ABWContentCollector &);
159 ABWContentCollector &operator=(const ABWContentCollector &);
160
161 void _setMetadata();
162
163 void _openPageSpan();
164 void _closePageSpan();
165
166 void _openSection();
167 void _closeSection();
168
169 void _openParagraph();
170 void _closeParagraph();
171
172 void _openListElement();
173 void _closeListElement();
174
175 void _handleListChange();
176 void _changeList();
177 void _recurseListLevels(int oldLevel, int newLevel, int listId);
178 void _writeOutDummyListLevels(int oldLevel, int newLevel);
179
180 void _openSpan();
181 void _closeSpan();
182
183 void _openTable();
184 void _closeTable();
185 void _openTableRow();
186 void _closeTableRow();
187 void _openTableCell();
188 void _closeTableCell();
189
190 void _openHeader();
191 void _closeHeader();
192 void _openFooter();
193 void _closeFooter();
194
195 void _recurseTextProperties(const char *name, ABWPropertyMap &styleProps);
196 std::string _findDocumentProperty(const char *name);
197 std::string _findParagraphProperty(const char *name);
198 std::string _findCharacterProperty(const char *name);
199 std::string _findTableProperty(const char *name);
200 std::string _findCellProperty(const char *name);
201 std::string _findSectionProperty(const char *name);
202 std::string _findMetadataEntry(const char *name);
203
204 void _fillParagraphProperties(librevenge::RVNGPropertyList &propList, bool isListElement);
205
206 ABWContentParsingState *m_ps;
207 librevenge::RVNGTextInterface *m_iface;
208 std::stack<ABWContentParsingState *> m_parsingStates;
209 std::set<std::string> m_dontLoop;
210 std::map<std::string, ABWStyle> m_textStyles;
211
212 ABWPropertyMap m_documentStyle;
213 ABWPropertyMap m_metadata;
214
215 const std::map<std::string, ABWData> &m_data;
216 const std::map<int, int> &m_tableSizes;
217 int m_tableCounter;
218 ABWOutputElements m_outputElements;
219 const std::map<int, ABWListElement *> &m_listElements;
220 std::vector<ABWListElement *> m_dummyListElements;
221 };
222
223 } // namespace libabw
224
225 #endif /* __ABWCOLLECTOR_H__ */
226 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libabw::ABWContentCollector::_findSectionProperty
std::string _findSectionProperty(const char *name)
Definition: ABWContentCollector.cpp:512
libabw::ABWContentTableState::m_currentTableProperties
ABWPropertyMap m_currentTableProperties
Definition: ABWContentCollector.h:45
libabw::ABWContentCollector::collectHeaderFooter
void collectHeaderFooter(const char *id, const char *type)
Definition: ABWContentCollector.cpp:692
libabw::ABWContentParsingState::m_inParagraphOrListElement
bool m_inParagraphOrListElement
Definition: ABWContentCollector.h:74
libabw::ABWContentCollector::collectPageSize
void collectPageSize(const char *width, const char *height, const char *units, const char *pageScale)
Definition: ABWContentCollector.cpp:721
ABWOutputElements.h
libabw::ABWContentCollector::_closePageSpan
void _closePageSpan()
Definition: ABWContentCollector.cpp:928
libabw::ABWContentParsingState::ABWContentParsingState
ABWContentParsingState()
Definition: ABWContentCollector.cpp:323
libabw::ABWContentCollector::openFoot
void openFoot(const char *id)
Definition: ABWContentCollector.cpp:1488
libabw::ABWContentCollector::m_parsingStates
std::stack< ABWContentParsingState * > m_parsingStates
Definition: ABWContentCollector.h:208
libabw::ABWContentCollector::openTable
void openTable(const char *props)
Definition: ABWContentCollector.cpp:1556
libabw::ABWContentParsingState::m_isSpanOpened
bool m_isSpanOpened
Definition: ABWContentCollector.h:71
libabw::ABWContentTableState::m_isRowWithoutCell
bool m_isRowWithoutCell
Definition: ABWContentCollector.h:56
libabw::ABWContentCollector::operator=
ABWContentCollector & operator=(const ABWContentCollector &)
libabw::ABWStyle
Definition: ABWContentCollector.h:30
libabw::ABWContentCollector::_openParagraph
void _openParagraph()
Definition: ABWContentCollector.cpp:1102
libabw::ABWContentCollector::closeLink
void closeLink()
Definition: ABWContentCollector.cpp:852
libabw::ABWContentTableState::m_isCellWithoutParagraph
bool m_isCellWithoutParagraph
Definition: ABWContentCollector.h:55
libabw::ABWContentParsingState::m_currentListId
int m_currentListId
Definition: ABWContentCollector.h:104
libabw::ABWContentTableState::~ABWContentTableState
~ABWContentTableState()
Definition: ABWContentCollector.cpp:319
libabw::ABWContentCollector::_changeList
void _changeList()
Definition: ABWContentCollector.cpp:1734
libabw::ABWContentCollector::_closeFooter
void _closeFooter()
Definition: ABWContentCollector.cpp:1300
libabw::ABWContentParsingState::m_isFooterOpened
bool m_isFooterOpened
Definition: ABWContentCollector.h:69
libabw::ABWContentParsingState::m_currentCharacterStyle
ABWPropertyMap m_currentCharacterStyle
Definition: ABWContentCollector.h:78
libabw::ABWContentCollector::collectData
void collectData(const char *name, const char *mimeType, const librevenge::RVNGBinaryData &data)
Definition: ABWContentCollector.cpp:1630
libabw::ABWContentCollector::m_textStyles
std::map< std::string, ABWStyle > m_textStyles
Definition: ABWContentCollector.h:210
libabw::ABWContentCollector::insertColumnBreak
void insertColumnBreak()
Definition: ABWContentCollector.cpp:873
libabw::ABWContentCollector::m_documentStyle
ABWPropertyMap m_documentStyle
Definition: ABWContentCollector.h:212
libabw::ABWContentCollector::m_iface
librevenge::RVNGTextInterface * m_iface
Definition: ABWContentCollector.h:207
libabw::ABWContentParsingState::m_deferredColumnBreak
bool m_deferredColumnBreak
Definition: ABWContentCollector.h:99
libabw::ABWContentCollector::m_dummyListElements
std::vector< ABWListElement * > m_dummyListElements
Definition: ABWContentCollector.h:220
libabw::ABWContentCollector::_openListElement
void _openListElement()
Definition: ABWContentCollector.cpp:1142
libabw::ABWContentCollector::collectDocumentProperties
void collectDocumentProperties(const char *props)
Definition: ABWContentCollector.cpp:530
libabw::ABWContentParsingState::m_footerLeftId
int m_footerLeftId
Definition: ABWContentCollector.h:87
libabw::ABWContentCollector::endDocument
void endDocument()
Definition: ABWContentCollector.cpp:753
libabw::ABWContentCollector::closeParagraphOrListElement
void closeParagraphOrListElement()
Definition: ABWContentCollector.cpp:821
libabw::ABWContentCollector::openEndnote
void openEndnote(const char *id)
Definition: ABWContentCollector.cpp:1522
libabw::ABWContentCollector
Definition: ABWContentCollector.h:111
libabw::ABWContentCollector::endSection
void endSection()
Definition: ABWContentCollector.cpp:812
libabw::ABWContentCollector::closeEndnote
void closeEndnote()
Definition: ABWContentCollector.cpp:1539
libabw::ABWContentCollector::m_listElements
const std::map< int, ABWListElement * > & m_listElements
Definition: ABWContentCollector.h:219
libabw::ABWContentParsingState::m_isPageSpanOpened
bool m_isPageSpanOpened
Definition: ABWContentCollector.h:66
libabw::ABWContentCollector::collectParagraphProperties
void collectParagraphProperties(const char *level, const char *listid, const char *parentid, const char *style, const char *props)
Definition: ABWContentCollector.cpp:536
libabw::ABWContentCollector::insertImage
void insertImage(const char *dataid, const char *props)
Definition: ABWContentCollector.cpp:1634
libabw::ABWContentTableState::m_isTableRowOpened
bool m_isTableRowOpened
Definition: ABWContentCollector.h:52
libabw
Definition: ABWCollector.h:17
libabw::ABWContentTableState::m_currentTableCol
int m_currentTableCol
Definition: ABWContentCollector.h:48
libabw::ABWContentCollector::m_outputElements
ABWOutputElements m_outputElements
Definition: ABWContentCollector.h:218
libabw::ABWContentCollector::m_tableCounter
int m_tableCounter
Definition: ABWContentCollector.h:217
libabw::ABWContentCollector::_openPageSpan
void _openPageSpan()
Definition: ABWContentCollector.cpp:902
libabw::ABWContentCollector::collectTextStyle
void collectTextStyle(const char *name, const char *basedon, const char *followedby, const char *props)
Definition: ABWContentCollector.cpp:448
libabw::ABW_FOOTER
Definition: ABWContentCollector.h:27
libabw::ABW_SECTION
Definition: ABWContentCollector.h:25
libabw::ABWContentCollector::_closeSection
void _closeSection()
Definition: ABWContentCollector.cpp:1262
libabw::ABWContentCollector::_closeTableRow
void _closeTableRow()
Definition: ABWContentCollector.cpp:1429
libabw::ABWContentCollector::insertPageBreak
void insertPageBreak()
Definition: ABWContentCollector.cpp:880
libabw::ABWOutputElements
Definition: ABWOutputElements.h:22
libabw::ABWContentTableState::m_currentTableRow
int m_currentTableRow
Definition: ABWContentCollector.h:49
libabw::ABWContentCollector::ABWContentCollector
ABWContentCollector(librevenge::RVNGTextInterface *iface, const std::map< int, int > &tableSizes, const std::map< std::string, ABWData > &data, const std::map< int, ABWListElement * > &listElements)
Definition: ABWContentCollector.cpp:421
libabw::ABWContentParsingState
Definition: ABWContentCollector.h:59
libabw::ABWContentParsingState::m_isHeaderOpened
bool m_isHeaderOpened
Definition: ABWContentCollector.h:68
libabw::ABWContentCollector::m_data
const std::map< std::string, ABWData > & m_data
Definition: ABWContentCollector.h:215
libabw::ABWContentCollector::_closeTableCell
void _closeTableCell()
Definition: ABWContentCollector.cpp:1472
libabw::ABWContentTableState::ABWContentTableState
ABWContentTableState()
Definition: ABWContentCollector.cpp:287
libabw::ABWContentParsingState::m_deferredPageBreak
bool m_deferredPageBreak
Definition: ABWContentCollector.h:98
libabw::ABWContentCollector::closeTable
void closeTable()
Definition: ABWContentCollector.cpp:1591
libabw::ABWContentParsingState::m_headerId
int m_headerId
Definition: ABWContentCollector.h:90
libabw::ABWContentCollector::_findDocumentProperty
std::string _findDocumentProperty(const char *name)
Definition: ABWContentCollector.cpp:490
libabw::ABWContentParsingState::m_footerId
int m_footerId
Definition: ABWContentCollector.h:86
libabw::ABWContentCollector::_openTableCell
void _openTableCell()
Definition: ABWContentCollector.cpp:1446
libabw::ABWContentCollector::_openTableRow
void _openTableRow()
Definition: ABWContentCollector.cpp:1414
libabw::ABWContentCollector::startDocument
void startDocument()
Definition: ABWContentCollector.cpp:738
libabw::ABWContentParsingState::m_headerFirstId
int m_headerFirstId
Definition: ABWContentCollector.h:92
libabw::ABW_HEADER
Definition: ABWContentCollector.h:26
libabw::ABWContentParsingState::m_pageMarginRight
double m_pageMarginRight
Definition: ABWContentCollector.h:85
libabw::ABWContentCollector::_closeHeader
void _closeHeader()
Definition: ABWContentCollector.cpp:1280
libabw::ABWContentParsingState::m_pageMarginTop
double m_pageMarginTop
Definition: ABWContentCollector.h:82
libabw::ABWContentCollector::_recurseListLevels
void _recurseListLevels(int oldLevel, int newLevel, int listId)
Definition: ABWContentCollector.cpp:1712
libabw::ABWContentParsingState::m_footerLastId
int m_footerLastId
Definition: ABWContentCollector.h:89
libabw::ABWContentCollector::_findTableProperty
std::string _findTableProperty(const char *name)
Definition: ABWContentCollector.cpp:500
libabw::ABWContentCollector::closeSpan
void closeSpan()
Definition: ABWContentCollector.cpp:859
libabw::ABWContentCollector::~ABWContentCollector
virtual ~ABWContentCollector()
Definition: ABWContentCollector.cpp:440
libabw::ABWContentParsingState::m_pageHeight
double m_pageHeight
Definition: ABWContentCollector.h:81
libabw::ABWContentCollector::closeFoot
void closeFoot()
Definition: ABWContentCollector.cpp:1505
libabw::ABWContentCollector::_openSpan
void _openSpan()
Definition: ABWContentCollector.cpp:1180
libabw::ABWContentCollector::_closeTable
void _closeTable()
Definition: ABWContentCollector.cpp:1401
libabw::ABWContentCollector::insertLineBreak
void insertLineBreak()
Definition: ABWContentCollector.cpp:865
libabw::ABWContentParsingState::m_currentHeaderFooterOccurrence
librevenge::RVNGString m_currentHeaderFooterOccurrence
Definition: ABWContentCollector.h:95
libabw::ABWStyle::basedon
std::string basedon
Definition: ABWContentCollector.h:34
libabw::ABWContentCollector::_findCharacterProperty
std::string _findCharacterProperty(const char *name)
Definition: ABWContentCollector.cpp:517
libabw::ABWContentTableState::m_isTableCellOpened
bool m_isTableCellOpened
Definition: ABWContentCollector.h:54
libabw::ABWContentCollector::_handleListChange
void _handleListChange()
Definition: ABWContentCollector.cpp:1670
libabw::ABWContentCollector::closeCell
void closeCell()
Definition: ABWContentCollector.cpp:1621
libabw::ABWStyle::followedby
std::string followedby
Definition: ABWContentCollector.h:35
libabw::ABWContentParsingState::m_pageWidth
double m_pageWidth
Definition: ABWContentCollector.h:80
libabw::ABWContentCollector::openLink
void openLink(const char *href)
Definition: ABWContentCollector.cpp:832
libabw::ABWStyle::~ABWStyle
~ABWStyle()
Definition: ABWContentCollector.h:33
libabw::ABWContentParsingState::m_currentListLevel
int m_currentListLevel
Definition: ABWContentCollector.h:103
libabw::ABWContentParsingState::~ABWContentParsingState
~ABWContentParsingState()
Definition: ABWContentCollector.cpp:417
libabw::ABWContentParsingState::m_pageMarginBottom
double m_pageMarginBottom
Definition: ABWContentCollector.h:83
libabw::ABWContentCollector::_setMetadata
void _setMetadata()
Definition: ABWContentCollector.cpp:781
libabw::ABWContentTableState::m_isTableColumnOpened
bool m_isTableColumnOpened
Definition: ABWContentCollector.h:53
libabw::ABWContentCollector::_openTable
void _openTable()
Definition: ABWContentCollector.cpp:1340
libabw::ABWContentCollector::_openFooter
void _openFooter()
Definition: ABWContentCollector.cpp:990
libabw::ABWContentCollector::_closeListElement
void _closeListElement()
Definition: ABWContentCollector.cpp:1741
libabw::ABWContentCollector::m_dontLoop
std::set< std::string > m_dontLoop
Definition: ABWContentCollector.h:209
libabw::ABWContentCollector::addMetadataEntry
void addMetadataEntry(const char *name, const char *value)
Definition: ABWContentCollector.cpp:1754
libabw::ABWCollector
Definition: ABWCollector.h:103
libabw::ABWContentParsingState::m_currentHeaderFooterId
int m_currentHeaderFooterId
Definition: ABWContentCollector.h:94
libabw::ABWContentParsingState::m_isDocumentStarted
bool m_isDocumentStarted
Definition: ABWContentCollector.h:65
libabw::ABWContentParsingState::m_headerLastId
int m_headerLastId
Definition: ABWContentCollector.h:93
libabw::ABWContentCollector::openCell
void openCell(const char *props)
Definition: ABWContentCollector.cpp:1600
libabw::ABWContentCollector::collectList
void collectList(const char *, const char *, const char *, const char *, const char *, const char *)
Definition: ABWContentCollector.h:145
libabw::ABWContentCollector::_openHeader
void _openHeader()
Definition: ABWContentCollector.cpp:1002
libabw::ABWContext
ABWContext
Definition: ABWContentCollector.h:23
libabw::ABWContentParsingState::m_pageMarginLeft
double m_pageMarginLeft
Definition: ABWContentCollector.h:84
libabw::ABWContentParsingState::m_tableStates
std::stack< ABWContentTableState > m_tableStates
Definition: ABWContentCollector.h:107
libabw::ABWContentTableState::m_currentCellProperties
ABWPropertyMap m_currentCellProperties
Definition: ABWContentCollector.h:46
libabw::ABWContentParsingState::m_footerFirstId
int m_footerFirstId
Definition: ABWContentCollector.h:88
libabw::ABWStyle::properties
ABWPropertyMap properties
Definition: ABWContentCollector.h:36
libabw::ABWContentCollector::_openSection
void _openSection()
Definition: ABWContentCollector.cpp:941
libabw::ABWContentTableState::m_currentTableCellNumberInRow
int m_currentTableCellNumberInRow
Definition: ABWContentCollector.h:50
libabw::ABWContentCollector::collectSectionProperties
void collectSectionProperties(const char *footer, const char *footerLeft, const char *footerFirst, const char *footerLast, const char *header, const char *headerLeft, const char *headerFirst, const char *headerLast, const char *props)
Definition: ABWContentCollector.cpp:577
libabw::ABWContentCollector::_writeOutDummyListLevels
void _writeOutDummyListLevels(int oldLevel, int newLevel)
Definition: ABWContentCollector.cpp:1698
libabw::ABWContentParsingState::m_isNote
bool m_isNote
Definition: ABWContentCollector.h:101
libabw::ABWContentParsingState::m_listLevels
std::stack< std::pair< int, ABWListElement * > > m_listLevels
Definition: ABWContentCollector.h:108
libabw::ABWStyle::ABWStyle
ABWStyle()
Definition: ABWContentCollector.h:32
libabw::ABWContentParsingState::m_isListElementOpened
bool m_isListElementOpened
Definition: ABWContentCollector.h:73
libabw::ABWContentParsingState::m_currentParagraphStyle
ABWPropertyMap m_currentParagraphStyle
Definition: ABWContentCollector.h:77
libabw::ABWContentCollector::_closeSpan
void _closeSpan()
Definition: ABWContentCollector.cpp:1332
libabw::ABWContentCollector::insertText
void insertText(const char *text)
Definition: ABWContentCollector.cpp:887
libabw::ABWContentParsingState::m_currentSectionStyle
ABWPropertyMap m_currentSectionStyle
Definition: ABWContentCollector.h:76
libabw::ABWContentTableState
Definition: ABWContentCollector.h:39
libabw::ABWPropertyMap
std::map< std::string, std::string > ABWPropertyMap
Definition: ABWCollector.h:38
libabw::ABWContentCollector::collectCharacterProperties
void collectCharacterProperties(const char *style, const char *props)
Definition: ABWContentCollector.cpp:559
libabw::ABWContentCollector::_findParagraphProperty
std::string _findParagraphProperty(const char *name)
Definition: ABWContentCollector.cpp:495
libabw::ABWContentCollector::_closeParagraph
void _closeParagraph()
Definition: ABWContentCollector.cpp:1320
libabw::ABWContentCollector::_findCellProperty
std::string _findCellProperty(const char *name)
Definition: ABWContentCollector.cpp:506
libabw::ABWContentParsingState::m_isParagraphOpened
bool m_isParagraphOpened
Definition: ABWContentCollector.h:72
libabw::ABWContentParsingState::m_headerLeftId
int m_headerLeftId
Definition: ABWContentCollector.h:91
libabw::ABWContentCollector::m_ps
ABWContentParsingState * m_ps
Definition: ABWContentCollector.h:206
ABWCollector.h
libabw::ABWContentCollector::_recurseTextProperties
void _recurseTextProperties(const char *name, ABWPropertyMap &styleProps)
Definition: ABWContentCollector.cpp:459
libabw::ABWContentCollector::_findMetadataEntry
std::string _findMetadataEntry(const char *name)
Definition: ABWContentCollector.cpp:525
libabw::ABWContentCollector::m_metadata
ABWPropertyMap m_metadata
Definition: ABWContentCollector.h:213
libabw::ABWContentParsingState::m_parsingContext
ABWContext m_parsingContext
Definition: ABWContentCollector.h:96
libabw::ABWContentTableState::m_currentTableId
int m_currentTableId
Definition: ABWContentCollector.h:51
libabw::ABWContentParsingState::m_isFirstTextInListElement
bool m_isFirstTextInListElement
Definition: ABWContentCollector.h:105
libabw::ABWContentCollector::m_tableSizes
const std::map< int, int > & m_tableSizes
Definition: ABWContentCollector.h:216
libabw::ABWContentParsingState::m_isSectionOpened
bool m_isSectionOpened
Definition: ABWContentCollector.h:67
libabw::ABWContentCollector::_fillParagraphProperties
void _fillParagraphProperties(librevenge::RVNGPropertyList &propList, bool isListElement)
Definition: ABWContentCollector.cpp:1014