- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

WPXContentListener.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* libwpd
3 * Version: MPL 2.0 / LGPLv2.1+
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 * Major Contributor(s):
10 * Copyright (C) 2006 Fridrich Strba (fridrich.strba@bluewin.ch)
11 *
12 * For minor contributions see the git repository.
13 *
14 * Alternatively, the contents of this file may be used under the terms
15 * of the GNU Lesser General Public License Version 2.1 or later
16 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
17 * applicable instead of those above.
18 *
19 * For further information visit http://libwpd.sourceforge.net
20 */
21
22 /* "This product is not manufactured, approved, or supported by
23 * Corel Corporation or Corel Corporation Limited."
24 */
25
26 #ifndef WPXCONTENTLISTENER_H
27 #define WPXCONTENTLISTENER_H
28
29 #include "WPXTable.h"
30 #include "libwpd_internal.h"
31 #include "WPXSubDocument.h"
32 #include "WPXPageSpan.h"
33 #include "WPXListener.h"
34 #include <vector>
35 #include <list>
36 #include <set>
37
38 typedef struct _WPXTableDefinition WPXTableDefinition;
39 struct _WPXTableDefinition
40 {
41 _WPXTableDefinition() : m_positionBits(0), m_leftOffset(0.0), m_columns(), m_columnsProperties() {}
42 unsigned char m_positionBits;
43 double m_leftOffset;
44 std::vector < WPXColumnDefinition > m_columns;
45 std::vector < WPXColumnProperties > m_columnsProperties;
46 };
47
48 typedef struct _WPXContentParsingState WPXContentParsingState;
49 struct _WPXContentParsingState
50 {
51 _WPXContentParsingState();
52 ~_WPXContentParsingState();
53
54 unsigned m_textAttributeBits;
55 double m_fontSize;
56 librevenge::RVNGString *m_fontName;
57 RGBSColor *m_fontColor;
58 RGBSColor *m_highlightColor;
59
60 bool m_isParagraphColumnBreak;
61 bool m_isParagraphPageBreak;
62 unsigned char m_paragraphJustification;
63 unsigned char m_tempParagraphJustification; // TODO: remove this one after the tabs are properly implemented
64 double m_paragraphLineSpacing;
65
66 bool m_isDocumentStarted;
67 bool m_isPageSpanOpened;
68 bool m_isSectionOpened;
69 bool m_isPageSpanBreakDeferred;
70 bool m_isHeaderFooterWithoutParagraph;
71
72 bool m_isSpanOpened;
73 bool m_isParagraphOpened;
74 bool m_isListElementOpened;
75
76 bool m_firstParagraphInPageSpan;
77
78 std::vector<unsigned int> m_numRowsToSkip;
79 WPXTableDefinition m_tableDefinition;
80 int m_currentTableCol;
81 int m_currentTableRow;
82 int m_currentTableCellNumberInRow;
83 bool m_isTableOpened;
84 bool m_isTableRowOpened;
85 bool m_isTableColumnOpened;
86 bool m_isTableCellOpened;
87 bool m_wasHeaderRow;
88 bool m_isCellWithoutParagraph;
89 bool m_isRowWithoutCell;
90 unsigned m_cellAttributeBits;
91 unsigned char m_paragraphJustificationBeforeTable;
92
93 unsigned m_currentPage;
94 unsigned m_numPagesRemainingInSpan;
95 unsigned m_currentPageNumber;
96
97 bool m_sectionAttributesChanged;
98 unsigned m_numColumns;
99 std::vector < WPXColumnDefinition > m_textColumns;
100 bool m_isTextColumnWithoutParagraph;
101
102 double m_pageFormLength;
103 double m_pageFormWidth;
104 WPXFormOrientation m_pageFormOrientation;
105
106 double m_pageMarginLeft;
107 double m_pageMarginRight;
108 double m_pageMarginTop;
109 double m_pageMarginBottom;
110 double m_paragraphMarginLeft; // resulting paragraph margin that is one of the paragraph
111 double m_paragraphMarginRight; // properties
112 double m_paragraphMarginTop;
113 double m_paragraphMarginBottom;
114 double m_leftMarginByPageMarginChange; // part of the margin due to the PAGE margin change
115 double m_rightMarginByPageMarginChange; // inside a page that already has content.
116 double m_sectionMarginLeft; // In multicolumn sections, the above two will be rather interpreted
117 double m_sectionMarginRight; // as section margin change
118 double m_leftMarginByParagraphMarginChange; // part of the margin due to the PARAGRAPH
119 double m_rightMarginByParagraphMarginChange; // margin change (in WP6)
120 double m_leftMarginByTabs; // part of the margin due to the LEFT or LEFT/RIGHT Indent; the
121 double m_rightMarginByTabs; // only part of the margin that is reset at the end of a paragraph
122
123 double m_listReferencePosition; // position from the left page margin of the list number/bullet
124 double m_listBeginPosition; // position from the left page margin of the beginning of the list
125
126 double m_paragraphTextIndent; // resulting first line indent that is one of the paragraph properties
127 double m_textIndentByParagraphIndentChange; // part of the indent due to the PARAGRAPH indent (WP6???)
128 double m_textIndentByTabs; // part of the indent due to the "Back Tab" or "Left Tab"
129
130 unsigned char m_currentListLevel;
131
132 unsigned m_alignmentCharacter;
133 std::vector<WPXTabStop> m_tabStops;
134 bool m_isTabPositionRelative;
135
136 std::set <const WPXSubDocument *> m_subDocuments;
137
138 bool m_inSubDocument;
139 bool m_isNote;
140 WPXSubDocumentType m_subDocumentType;
141
142 private:
143 _WPXContentParsingState(const _WPXContentParsingState &);
144 _WPXContentParsingState &operator=(const _WPXContentParsingState &);
145 };
146
147 class WPXContentListener : public WPXListener
148 {
149 protected:
150 WPXContentListener(std::list<WPXPageSpan> &pageList, librevenge::RVNGTextInterface *documentInterface);
151 virtual ~WPXContentListener();
152
153 void startDocument();
154 void startSubDocument();
155 void endDocument();
156 void endSubDocument();
157 void handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice);
158 void insertBreak(const unsigned char breakType);
159 void lineSpacingChange(const double lineSpacing);
160 void justificationChange(const unsigned char justification);
161
162 WPXContentParsingState *m_ps; // parse state
163 librevenge::RVNGTextInterface *m_documentInterface;
164 librevenge::RVNGPropertyList m_metaData;
165
166 virtual void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice) = 0;
167 virtual void _flushText() = 0;
168 virtual void _changeList() = 0;
169
170 void _openSection();
171 void _closeSection();
172
173 void _openPageSpan();
174 void _closePageSpan();
175
176 void _appendParagraphProperties(librevenge::RVNGPropertyList &propList, const bool isListElement=false);
177 void _getTabStops(librevenge::RVNGPropertyListVector &tabStops);
178 void _appendJustification(librevenge::RVNGPropertyList &propList, int justification);
179 void _resetParagraphState(const bool isListElement=false);
180 virtual void _openParagraph();
181 void _closeParagraph();
182
183 void _openListElement();
184 void _closeListElement();
185
186 void _openSpan();
187 void _closeSpan();
188
189 void _openTable();
190 void _closeTable();
191 void _openTableRow(const double height, const bool isMinimumHeight, const bool isHeaderRow);
192 void _closeTableRow();
193 void _openTableCell(const unsigned char colSpan, const unsigned char rowSpan, const unsigned char borderBits,
194 const RGBSColor *cellFgColor, const RGBSColor *cellBgColor,
195 const RGBSColor *cellBorderColor,
196 const WPXVerticalAlignment cellVerticalAlignment);
197 void _closeTableCell();
198
199 double _movePositionToFirstColumn(double position);
200
201 double _getNextTabStop() const;
202 double _getPreviousTabStop() const;
203
204 void _insertText(const librevenge::RVNGString &textBuffer);
205
206 void _insertBreakIfNecessary(librevenge::RVNGPropertyList &propList);
207
208 void _insertPageNumberParagraph(WPXPageNumberPosition position, WPXNumberingType type, librevenge::RVNGString fontName, double fontSize);
209
210 unsigned _mapNonUnicodeCharacter(unsigned character);
211
212 private:
213 WPXContentListener(const WPXContentListener &);
214 WPXContentListener &operator=(const WPXContentListener &);
215 librevenge::RVNGString _colorToString(const RGBSColor *color);
216 librevenge::RVNGString _mergeColorsToString(const RGBSColor *fgColor, const RGBSColor *bgColor);
217 unsigned _mapSymbolFontCharacter(unsigned character);
218 unsigned _mapDingbatsFontCharacter(unsigned character);
219 };
220
221 #endif /* WPXCONTENTLISTENER_H */
222 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WPXNumberingType
WPXNumberingType
Definition: libwpd_internal.h:92
WPXContentListener::_openTableCell
void _openTableCell(const unsigned char colSpan, const unsigned char rowSpan, const unsigned char borderBits, const RGBSColor *cellFgColor, const RGBSColor *cellBgColor, const RGBSColor *cellBorderColor, const WPXVerticalAlignment cellVerticalAlignment)
Definition: WPXContentListener.cpp:1105
_WPXContentParsingState::m_leftMarginByPageMarginChange
double m_leftMarginByPageMarginChange
Definition: WPXContentListener.h:114
WPXContentListener::_colorToString
librevenge::RVNGString _colorToString(const RGBSColor *color)
Definition: WPXContentListener.cpp:1385
_WPXContentParsingState::m_isNote
bool m_isNote
Definition: WPXContentListener.h:139
WPXContentListener::handleSubDocument
void handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice)
Creates an new document state.
Definition: WPXContentListener.cpp:1199
WPXContentListener::_getNextTabStop
double _getNextTabStop() const
Definition: WPXContentListener.cpp:1349
_WPXContentParsingState::m_isSectionOpened
bool m_isSectionOpened
Definition: WPXContentListener.h:68
_WPXContentParsingState::m_fontSize
double m_fontSize
Definition: WPXContentListener.h:55
WPXContentListener::_handleSubDocument
virtual void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice)=0
WPXContentListener::operator=
WPXContentListener & operator=(const WPXContentListener &)
_WPXContentParsingState::m_isCellWithoutParagraph
bool m_isCellWithoutParagraph
Definition: WPXContentListener.h:88
_WPXContentParsingState::m_leftMarginByParagraphMarginChange
double m_leftMarginByParagraphMarginChange
Definition: WPXContentListener.h:118
_WPXContentParsingState::m_currentPage
unsigned m_currentPage
Definition: WPXContentListener.h:93
_WPXContentParsingState::m_isHeaderFooterWithoutParagraph
bool m_isHeaderFooterWithoutParagraph
Definition: WPXContentListener.h:70
WPXContentListener::WPXContentListener
WPXContentListener(std::list< WPXPageSpan > &pageList, librevenge::RVNGTextInterface *documentInterface)
Definition: WPXContentListener.cpp:129
_WPXContentParsingState::m_numRowsToSkip
std::vector< unsigned int > m_numRowsToSkip
Definition: WPXContentListener.h:78
WPXContentListener::_openTableRow
void _openTableRow(const double height, const bool isMinimumHeight, const bool isHeaderRow)
Definition: WPXContentListener.cpp:1003
_WPXContentParsingState::m_rightMarginByPageMarginChange
double m_rightMarginByPageMarginChange
Definition: WPXContentListener.h:115
WPXContentListener::_getPreviousTabStop
double _getPreviousTabStop() const
Definition: WPXContentListener.cpp:1367
WPXContentListener::justificationChange
void justificationChange(const unsigned char justification)
Definition: WPXContentListener.cpp:1309
WPXContentListener::startSubDocument
void startSubDocument()
Definition: WPXContentListener.cpp:157
_WPXContentParsingState::m_isListElementOpened
bool m_isListElementOpened
Definition: WPXContentListener.h:74
_WPXContentParsingState::m_subDocuments
std::set< const WPXSubDocument * > m_subDocuments
Definition: WPXContentListener.h:136
WPXTable.h
WPXContentListener::endDocument
void endDocument()
Definition: WPXContentListener.cpp:163
WPXContentListener::_resetParagraphState
void _resetParagraphState(const bool isListElement=false)
Definition: WPXContentListener.cpp:532
WPXPageSpan.h
_WPXContentParsingState::m_cellAttributeBits
unsigned m_cellAttributeBits
Definition: WPXContentListener.h:90
WPXContentListener::_openSection
void _openSection()
Definition: WPXContentListener.cpp:197
_WPXContentParsingState::m_rightMarginByTabs
double m_rightMarginByTabs
Definition: WPXContentListener.h:121
WPXContentListener::_closeListElement
void _closeListElement()
Definition: WPXContentListener.cpp:776
WPXContentListener::_mapDingbatsFontCharacter
unsigned _mapDingbatsFontCharacter(unsigned character)
Definition: WPXContentListener.cpp:1511
_WPXContentParsingState::m_numColumns
unsigned m_numColumns
Definition: WPXContentListener.h:98
WPXContentListener::_changeList
virtual void _changeList()=0
_WPXContentParsingState::m_numPagesRemainingInSpan
unsigned m_numPagesRemainingInSpan
Definition: WPXContentListener.h:94
WPXContentListener::_closeSection
void _closeSection()
Definition: WPXContentListener.cpp:237
WPXListener
Definition: WPXListener.h:34
WPXSubDocument.h
WPXContentListener::_openSpan
void _openSpan()
Definition: WPXContentListener.cpp:795
_WPXContentParsingState::m_paragraphMarginBottom
double m_paragraphMarginBottom
Definition: WPXContentListener.h:113
_WPXContentParsingState::m_alignmentCharacter
unsigned m_alignmentCharacter
Definition: WPXContentListener.h:132
_WPXContentParsingState::m_paragraphMarginTop
double m_paragraphMarginTop
Definition: WPXContentListener.h:112
WPXContentListener::insertBreak
void insertBreak(const unsigned char breakType)
Definition: WPXContentListener.cpp:1247
_WPXContentParsingState::m_inSubDocument
bool m_inSubDocument
Definition: WPXContentListener.h:138
_WPXContentParsingState::m_paragraphMarginRight
double m_paragraphMarginRight
Definition: WPXContentListener.h:111
libwpd_internal.h
_WPXContentParsingState::m_textIndentByTabs
double m_textIndentByTabs
Definition: WPXContentListener.h:128
_WPXContentParsingState::m_sectionAttributesChanged
bool m_sectionAttributesChanged
Definition: WPXContentListener.h:97
WPXContentListener::_getTabStops
void _getTabStops(librevenge::RVNGPropertyListVector &tabStops)
Definition: WPXContentListener.cpp:677
WPXContentListener::_openParagraph
virtual void _openParagraph()
Definition: WPXContentListener.cpp:500
WPXContentListener::m_metaData
librevenge::RVNGPropertyList m_metaData
Definition: WPXContentListener.h:164
WPXSubDocumentType
WPXSubDocumentType
Definition: libwpd_internal.h:111
_WPXContentParsingState::m_currentTableRow
int m_currentTableRow
Definition: WPXContentListener.h:81
WPXContentListener::_closeTableCell
void _closeTableCell()
Definition: WPXContentListener.cpp:1176
_WPXContentParsingState::m_isPageSpanOpened
bool m_isPageSpanOpened
Definition: WPXContentListener.h:67
_WPXContentParsingState::m_currentTableCol
int m_currentTableCol
Definition: WPXContentListener.h:80
_WPXContentParsingState::m_pageFormWidth
double m_pageFormWidth
Definition: WPXContentListener.h:103
_WPXContentParsingState::m_isTableRowOpened
bool m_isTableRowOpened
Definition: WPXContentListener.h:84
WPXContentListener::_openPageSpan
void _openPageSpan()
Definition: WPXContentListener.cpp:299
_RGBSColor
Definition: libwpd_internal.h:167
WPXContentListener
Definition: WPXContentListener.h:147
_WPXContentParsingState::m_sectionMarginLeft
double m_sectionMarginLeft
Definition: WPXContentListener.h:116
WPXContentListener::_insertBreakIfNecessary
void _insertBreakIfNecessary(librevenge::RVNGPropertyList &propList)
Definition: WPXContentListener.cpp:664
WPXContentListener::_mapSymbolFontCharacter
unsigned _mapSymbolFontCharacter(unsigned character)
Definition: WPXContentListener.cpp:1466
_WPXContentParsingState::m_pageMarginRight
double m_pageMarginRight
Definition: WPXContentListener.h:107
WPXListener.h
WPXTableList
Definition: WPXTable.h:81
_WPXContentParsingState::m_tableDefinition
WPXTableDefinition m_tableDefinition
Definition: WPXContentListener.h:79
WPXContentListener::_openTable
void _openTable()
Definition: WPXContentListener.cpp:915
WPXContentListener::_insertText
void _insertText(const librevenge::RVNGString &textBuffer)
Definition: WPXContentListener.cpp:628
_WPXContentParsingState::m_listReferencePosition
double m_listReferencePosition
Definition: WPXContentListener.h:123
_WPXContentParsingState::m_currentListLevel
unsigned char m_currentListLevel
Definition: WPXContentListener.h:130
_WPXTableDefinition::m_positionBits
unsigned char m_positionBits
Definition: WPXContentListener.h:42
_WPXContentParsingState::m_tabStops
std::vector< WPXTabStop > m_tabStops
Definition: WPXContentListener.h:133
_WPXContentParsingState::~_WPXContentParsingState
~_WPXContentParsingState()
Definition: WPXContentListener.cpp:122
_WPXContentParsingState::operator=
_WPXContentParsingState & operator=(const _WPXContentParsingState &)
_WPXContentParsingState::m_isTextColumnWithoutParagraph
bool m_isTextColumnWithoutParagraph
Definition: WPXContentListener.h:100
WPXContentListener::_insertPageNumberParagraph
void _insertPageNumberParagraph(WPXPageNumberPosition position, WPXNumberingType type, librevenge::RVNGString fontName, double fontSize)
Definition: WPXContentListener.cpp:254
_WPXTableDefinition::m_columnsProperties
std::vector< WPXColumnProperties > m_columnsProperties
Definition: WPXContentListener.h:45
WPXFormOrientation
WPXFormOrientation
Definition: libwpd_internal.h:105
_WPXContentParsingState::m_isRowWithoutCell
bool m_isRowWithoutCell
Definition: WPXContentListener.h:89
WPXContentListener::~WPXContentListener
virtual ~WPXContentListener()
Definition: WPXContentListener.cpp:137
_WPXContentParsingState::m_fontColor
RGBSColor * m_fontColor
Definition: WPXContentListener.h:57
_WPXContentParsingState::m_leftMarginByTabs
double m_leftMarginByTabs
Definition: WPXContentListener.h:120
WPXSubDocument
Definition: WPXSubDocument.h:34
_WPXContentParsingState::m_wasHeaderRow
bool m_wasHeaderRow
Definition: WPXContentListener.h:87
_WPXTableDefinition::m_columns
std::vector< WPXColumnDefinition > m_columns
Definition: WPXContentListener.h:44
_WPXContentParsingState::m_textIndentByParagraphIndentChange
double m_textIndentByParagraphIndentChange
Definition: WPXContentListener.h:127
WPXVerticalAlignment
WPXVerticalAlignment
Definition: libwpd_internal.h:107
WPXContentListener::_movePositionToFirstColumn
double _movePositionToFirstColumn(double position)
Definition: WPXContentListener.cpp:1435
_WPXContentParsingState::m_isPageSpanBreakDeferred
bool m_isPageSpanBreakDeferred
Definition: WPXContentListener.h:69
WPXContentListener::_mergeColorsToString
librevenge::RVNGString _mergeColorsToString(const RGBSColor *fgColor, const RGBSColor *bgColor)
Definition: WPXContentListener.cpp:1404
WPXContentListener::_closeTableRow
void _closeTableRow()
Definition: WPXContentListener.cpp:1038
_WPXContentParsingState::m_isParagraphPageBreak
bool m_isParagraphPageBreak
Definition: WPXContentListener.h:61
WPXContentListener::_closeTable
void _closeTable()
Definition: WPXContentListener.cpp:974
_WPXContentParsingState::m_pageMarginLeft
double m_pageMarginLeft
Definition: WPXContentListener.h:106
_WPXTableDefinition
Definition: WPXContentListener.h:39
_WPXContentParsingState::m_sectionMarginRight
double m_sectionMarginRight
Definition: WPXContentListener.h:117
_WPXContentParsingState::m_isParagraphColumnBreak
bool m_isParagraphColumnBreak
Definition: WPXContentListener.h:60
_WPXContentParsingState::m_highlightColor
RGBSColor * m_highlightColor
Definition: WPXContentListener.h:58
_WPXContentParsingState::m_textAttributeBits
unsigned m_textAttributeBits
Definition: WPXContentListener.h:54
_WPXContentParsingState::m_textColumns
std::vector< WPXColumnDefinition > m_textColumns
Definition: WPXContentListener.h:99
_WPXContentParsingState::_WPXContentParsingState
_WPXContentParsingState()
Definition: WPXContentListener.cpp:31
_WPXContentParsingState::m_isTableColumnOpened
bool m_isTableColumnOpened
Definition: WPXContentListener.h:85
WPXContentListener::endSubDocument
void endSubDocument()
Definition: WPXContentListener.cpp:184
WPXContentListener::_openListElement
void _openListElement()
Definition: WPXContentListener.cpp:746
_WPXContentParsingState::m_pageMarginTop
double m_pageMarginTop
Definition: WPXContentListener.h:108
WPXContentListener::_appendJustification
void _appendJustification(librevenge::RVNGPropertyList &propList, int justification)
Definition: WPXContentListener.cpp:560
_WPXContentParsingState::m_isTableCellOpened
bool m_isTableCellOpened
Definition: WPXContentListener.h:86
_WPXContentParsingState::m_tempParagraphJustification
unsigned char m_tempParagraphJustification
Definition: WPXContentListener.h:63
WPXContentListener::_closeSpan
void _closeSpan()
Definition: WPXContentListener.cpp:903
WPXContentListener::_closeParagraph
void _closeParagraph()
Definition: WPXContentListener.cpp:729
WPXPageNumberPosition
WPXPageNumberPosition
Definition: libwpd_internal.h:97
_WPXContentParsingState::m_listBeginPosition
double m_listBeginPosition
Definition: WPXContentListener.h:124
_WPXTableDefinition::_WPXTableDefinition
_WPXTableDefinition()
Definition: WPXContentListener.h:41
_WPXTableDefinition::m_leftOffset
double m_leftOffset
Definition: WPXContentListener.h:43
_WPXContentParsingState::m_fontName
librevenge::RVNGString * m_fontName
Definition: WPXContentListener.h:56
_WPXContentParsingState::m_pageFormOrientation
WPXFormOrientation m_pageFormOrientation
Definition: WPXContentListener.h:104
_WPXContentParsingState::m_pageFormLength
double m_pageFormLength
Definition: WPXContentListener.h:102
_WPXContentParsingState::m_paragraphMarginLeft
double m_paragraphMarginLeft
Definition: WPXContentListener.h:110
WPXContentListener::_flushText
virtual void _flushText()=0
_WPXContentParsingState
Definition: WPXContentListener.h:49
_WPXContentParsingState::m_paragraphTextIndent
double m_paragraphTextIndent
Definition: WPXContentListener.h:126
WPXContentListener::startDocument
void startDocument()
Definition: WPXContentListener.cpp:142
_WPXContentParsingState::m_paragraphJustification
unsigned char m_paragraphJustification
Definition: WPXContentListener.h:62
_WPXContentParsingState::m_pageMarginBottom
double m_pageMarginBottom
Definition: WPXContentListener.h:109
_WPXContentParsingState::m_isParagraphOpened
bool m_isParagraphOpened
Definition: WPXContentListener.h:73
WPXContentListener::lineSpacingChange
void lineSpacingChange(const double lineSpacing)
Definition: WPXContentListener.cpp:1301
_WPXContentParsingState::m_currentPageNumber
unsigned m_currentPageNumber
Definition: WPXContentListener.h:95
_WPXContentParsingState::m_paragraphJustificationBeforeTable
unsigned char m_paragraphJustificationBeforeTable
Definition: WPXContentListener.h:91
WPXContentListener::m_documentInterface
librevenge::RVNGTextInterface * m_documentInterface
Definition: WPXContentListener.h:163
_WPXContentParsingState::m_isSpanOpened
bool m_isSpanOpened
Definition: WPXContentListener.h:72
_WPXContentParsingState::m_isDocumentStarted
bool m_isDocumentStarted
Definition: WPXContentListener.h:66
WPXContentListener::_closePageSpan
void _closePageSpan()
Definition: WPXContentListener.cpp:486
_WPXContentParsingState::m_firstParagraphInPageSpan
bool m_firstParagraphInPageSpan
Definition: WPXContentListener.h:76
_WPXContentParsingState::m_isTableOpened
bool m_isTableOpened
Definition: WPXContentListener.h:83
WPXContentListener::m_ps
WPXContentParsingState * m_ps
Definition: WPXContentListener.h:162
_WPXContentParsingState::m_isTabPositionRelative
bool m_isTabPositionRelative
Definition: WPXContentListener.h:134
_WPXContentParsingState::m_subDocumentType
WPXSubDocumentType m_subDocumentType
Definition: WPXContentListener.h:140
_WPXContentParsingState::m_currentTableCellNumberInRow
int m_currentTableCellNumberInRow
Definition: WPXContentListener.h:82
WPXContentListener::_appendParagraphProperties
void _appendParagraphProperties(librevenge::RVNGPropertyList &propList, const bool isListElement=false)
Definition: WPXContentListener.cpp:586
_WPXContentParsingState::m_rightMarginByParagraphMarginChange
double m_rightMarginByParagraphMarginChange
Definition: WPXContentListener.h:119
_WPXContentParsingState::m_paragraphLineSpacing
double m_paragraphLineSpacing
Definition: WPXContentListener.h:64
WPXContentListener::_mapNonUnicodeCharacter
unsigned _mapNonUnicodeCharacter(unsigned character)
Definition: WPXContentListener.cpp:1455