WP6ContentListener.h Source File documentation

WP6ContentListener.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) 2002 William Lachance (wrlach@gmail.com)
11 * Copyright (C) 2002 Marc Maurer (uwog@uwog.net)
12 * Copyright (C) 2005-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
13 *
14 * For minor contributions see the git repository.
15 *
16 * Alternatively, the contents of this file may be used under the terms
17 * of the GNU Lesser General Public License Version 2.1 or later
18 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
19 * applicable instead of those above.
20 *
21 * For further information visit http://libwpd.sourceforge.net
22 */
23
24 /* "This product is not manufactured, approved, or supported by
25 * Corel Corporation or Corel Corporation Limited."
26 */
27
28 #ifndef WP6CONTENTLISTENER_H
29 #define WP6CONTENTLISTENER_H
30
31 #include <librevenge/librevenge.h>
32 #include "WP6Listener.h"
33 #include "WPXContentListener.h"
34 #include "WP6FileStructure.h"
35
36 #include <stack>
37 #include <map>
38 #include <memory>
39 #include <vector>
40
41 class WPXTable;
42
43 enum WP6StyleState { NORMAL, DOCUMENT_NOTE, DOCUMENT_NOTE_GLOBAL,
44 BEGIN_BEFORE_NUMBERING,
45 BEGIN_NUMBERING_BEFORE_DISPLAY_REFERENCING,
46 DISPLAY_REFERENCING,
47 BEGIN_NUMBERING_AFTER_DISPLAY_REFERENCING,
48 BEGIN_AFTER_NUMBERING, STYLE_BODY, STYLE_END
49 };
50
51 enum WP6ListType { ORDERED, UNORDERED };
52
53 const int STATE_MEMORY = 3;
54 class WP6StyleStateSequence
55 {
56 public:
57 WP6StyleStateSequence() : m_stateSequence()
58 {
59 clear();
60 }
61 void setCurrentState(WP6StyleState state)
62 {
63 for (unsigned i=(STATE_MEMORY-1); i>0; i--) m_stateSequence[i] = m_stateSequence[i-1];
64 m_stateSequence[0]=state;
65 }
66 WP6StyleState getCurrentState() const
67 {
68 return m_stateSequence[0];
69 }
70 WP6StyleState getPreviousState() const
71 {
72 return m_stateSequence[1];
73 }
74 void clear()
75 {
76 m_stateSequence.clear();
77 for (int i=0; i<STATE_MEMORY; i++) m_stateSequence.push_back(NORMAL);
78 }
79
80 private:
81 std::vector<WP6StyleState> m_stateSequence;
82 };
83
84 struct WP6ContentParsingState
85 {
86 WP6ContentParsingState(WPXTableList tableList, unsigned nextTableIndice = 0);
87 ~WP6ContentParsingState();
88 librevenge::RVNGString m_bodyText;
89 librevenge::RVNGString m_textBeforeNumber;
90 librevenge::RVNGString m_textBeforeDisplayReference;
91 librevenge::RVNGString m_numberText;
92 librevenge::RVNGString m_textAfterDisplayReference;
93 librevenge::RVNGString m_textAfterNumber;
94
95 double m_paragraphMarginBottomRelative;
96 double m_paragraphMarginBottomAbsolute;
97
98 unsigned m_numRemovedParagraphBreaks;
99
100 unsigned m_numListExtraTabs;
101 bool m_isListReference;
102
103 WPXTableList m_tableList;
104 std::shared_ptr<WPXTable> m_currentTable;
105 unsigned m_nextTableIndice;
106
107 std::stack<unsigned> m_listLevelStack;
108 std::stack<WP6ListType> m_listTypeStack;
109 unsigned short m_currentOutlineHash; // probably should replace Hash with Key in these sorts of cases
110 unsigned char m_oldListLevel;
111 WP6StyleStateSequence m_styleStateSequence;
112 bool m_putativeListElementHasParagraphNumber;
113 bool m_putativeListElementHasDisplayReferenceNumber;
114
115 unsigned m_noteTextPID;
116 unsigned m_numNestedNotes;
117
118 bool m_isFrameOpened;
119
120 bool m_isLinkOpened;
121
122 unsigned m_leaderCharacter;
123 unsigned char m_leaderNumSpaces;
124 std::vector<WPXTabStop> m_tempTabStops;
125 std::vector<bool> m_tempUsePreWP9LeaderMethod;
126
127 WPXNumberingType m_currentPageNumberingType;
128
129 private:
130 WP6ContentParsingState(const WP6ContentParsingState &);
131 WP6ContentParsingState &operator=(const WP6ContentParsingState &);
132 };
133
134 struct WP6ListLevel
135 {
136 int m_level;
137 bool m_isListElementOpenAtLevel;
138 };
139
140 class WP6OutlineDefinition
141 {
142 public:
143 WP6OutlineDefinition();
144 WP6OutlineDefinition(const unsigned char *numberingMethods, const unsigned char tabBehaviourFlag);
145 void update(const unsigned char *numberingMethods, const unsigned char tabBehaviourFlag);
146
147 WPXNumberingType getListType(int level)
148 {
149 if (level >= 0 && unsigned(level) < WPD_NUM_ELEMENTS(m_listTypes))
150 return m_listTypes[level];
151 return WPXNumberingType();
152 }
153
154 protected:
155 void _updateNumberingMethods(const unsigned char *numberingMethods);
156
157 private:
158 WPXNumberingType m_listTypes[WP6_NUM_LIST_LEVELS];
159 };
160
161 class WP6ContentListener : public WP6Listener, protected WPXContentListener
162 {
163 public:
164 WP6ContentListener(std::list<WPXPageSpan> &pageList, WPXTableList tableList, librevenge::RVNGTextInterface *documentInterface);
165 ~WP6ContentListener() override;
166
167 void startDocument() override
168 {
169 WPXContentListener::startDocument();
170 }
171 void startSubDocument() override
172 {
173 WPXContentListener::startSubDocument();
174 }
175 void setDate(const unsigned short type, const unsigned short year,
176 const unsigned char month, const unsigned char day,
177 const unsigned char hour, const unsigned char minute,
178 const unsigned char second, const unsigned char dayOfWeek,
179 const unsigned char timeZone, const unsigned char unused) override;
180 void setExtendedInformation(const unsigned short type, const librevenge::RVNGString &data) override;
181 void setAlignmentCharacter(const unsigned character) override;
182 void setLeaderCharacter(const unsigned character, const unsigned char numSpaces) override;
183 void defineTabStops(const bool isRelative, const std::vector<WPXTabStop> &tabStops,
184 const std::vector<bool> &usePreWP9LeaderMethods) override;
185 void insertCharacter(unsigned character) override;
186 void insertTab(const unsigned char tabType, double tabPosition) override;
187 void handleLineBreak() override;
188 void insertEOL() override;
189 void insertBreak(const unsigned char breakType) override
190 {
191 WPXContentListener::insertBreak(breakType);
192 }
193 void lineSpacingChange(const double lineSpacing) override
194 {
195 WPXContentListener::lineSpacingChange(lineSpacing);
196 }
197 void justificationChange(const unsigned char justification) override
198 {
199 WPXContentListener::justificationChange(justification);
200 }
201 void characterColorChange(const unsigned char red, const unsigned char green, const unsigned char blue) override;
202 void characterShadingChange(const unsigned char shading) override;
203 void highlightChange(const bool isOn, const RGBSColor &color) override;
204 void fontChange(const unsigned short matchedFontPointSize, const unsigned short fontPID, const librevenge::RVNGString &fontName) override;
205 void attributeChange(const bool isOn, const unsigned char attribute) override;
206 void spacingAfterParagraphChange(const double spacingRelative, const double spacingAbsolute) override;
207 void pageNumberingChange(const WPXPageNumberPosition /* page numbering position */, const unsigned short /* matchedFontPointSize */, const unsigned short /* fontPID */) override {}
208 void pageMarginChange(const unsigned char /* side */, const unsigned short /* margin */) override {}
209 void pageFormChange(const unsigned short /* length */, const unsigned short /* width */, const WPXFormOrientation /* orientation */) override {}
210 void marginChange(const unsigned char side, const unsigned short margin) override;
211 void paragraphMarginChange(const unsigned char side, const signed short margin) override;
212 void indentFirstLineChange(const signed short offset) override;
213 void columnChange(const WPXTextColumnType columnType, const unsigned char numColumns, const std::vector<double> &columnWidth,
214 const std::vector<bool> &isFixedWidth) override;
215 void updateOutlineDefinition(const unsigned short outlineHash, const unsigned char *numberingMethods, const unsigned char tabBehaviourFlag) override;
216
217 void paragraphNumberOn(const unsigned short outlineHash, const unsigned char level, const unsigned char flag) override;
218 void paragraphNumberOff() override;
219 void displayNumberReferenceGroupOn(const unsigned char subGroup, const unsigned char level) override;
220 void displayNumberReferenceGroupOff(const unsigned char subGroup) override;
221 void styleGroupOn(const unsigned char subGroup) override;
222 void styleGroupOff(const unsigned char subGroup) override;
223 void globalOn(const unsigned char systemStyle) override;
224 void globalOff() override;
225 void noteOn(const unsigned short textPID) override;
226 void noteOff(const WPXNoteType noteType) override;
227 void headerFooterGroup(const unsigned char /* headerFooterType */, const unsigned char /* occurrenceBits */, const unsigned short /* textPID */) override {}
228 void suppressPageCharacteristics(const unsigned char /* suppressCode */) override {}
229 void setPageNumber(const unsigned short /* pageNumber */) override {}
230 void setPageNumberingType(const WPXNumberingType pageNumberingType) override;
231 void endDocument() override
232 {
233 WPXContentListener::endDocument();
234 }
235 void endSubDocument() override
236 {
237 WPXContentListener::endSubDocument();
238 }
239
240 void defineTable(const unsigned char position, const unsigned short leftOffset) override;
241 void addTableColumnDefinition(const unsigned width, const unsigned leftGutter, const unsigned rightGutter,
242 const unsigned attributes, const unsigned char alignment) override;
243 void startTable() override;
244 void insertRow(const unsigned short rowHeight, const bool isMinimumHeight, const bool isHeaderRow) override;
245 void insertCell(const unsigned char colSpan, const unsigned char rowSpan, const unsigned char borderBits,
246 const RGBSColor *cellFgColor, const RGBSColor *cellBgColor,
247 const RGBSColor *cellBorderColor, const WPXVerticalAlignment cellVerticalAlignment,
248 const bool useCellAttributes, const unsigned cellAttributes) override;
249 void endTable() override;
250 void boxOn(const unsigned char anchoringType, const unsigned char generalPositioningFlags, const unsigned char horizontalPositioningFlags,
251 const signed short horizontalOffset, const unsigned char leftColumn, const unsigned char rightColumn,
252 const unsigned char verticalPositioningFlags, const signed short verticalOffset, const unsigned char widthFlags, const unsigned short width,
253 const unsigned char heightFlags, const unsigned short height, const unsigned char boxContentType, const unsigned short nativeWidth,
254 const unsigned short nativeHeight,
255 const librevenge::RVNGString &linkTarget) override;
256 void boxOff() override;
257 void insertGraphicsData(const unsigned short packetId) override;
258 void insertTextBox(const WP6SubDocument *subDocument) override;
259 void commentAnnotation(const unsigned short textPID) override;
260
261 void undoChange(const unsigned char undoType, const unsigned short undoLevel) override;
262
263 protected:
264 void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice = 0) override;
265
266 //void _handleLineBreakElementBegin();
267 void _paragraphNumberOn(const unsigned short outlineHash, const unsigned char level);
268 void _flushText() override;
269 void _handleListChange(const unsigned short outlineHash);
270
271 void _changeList() override;
272
273 private:
274 WP6ContentListener(const WP6ContentListener &);
275 WP6ContentListener &operator=(const WP6ContentListener &);
276 std::unique_ptr<WP6ContentParsingState> m_parseState;
277
278 std::map<unsigned short,WP6OutlineDefinition> m_outlineDefineHash;
279 std::map<unsigned, librevenge::RVNGPropertyList> m_listDefinitions;
280 };
281
282 #endif /* WP6CONTENTLISTENER_H */
283 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP6ContentListener::paragraphMarginChange
void paragraphMarginChange(const unsigned char side, const signed short margin) override
Definition: WP6ContentListener.cpp:861
WPXContentListener::_closeSpan
void _closeSpan()
Definition: WPXContentListener.cpp:899
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DESCRIPTIVE_TYPE
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DESCRIPTIVE_TYPE
Definition: WP6FileStructure.h:80
WPXContentListener::endDocument
void endDocument()
Definition: WPXContentListener.cpp:159
WPXColumnDefinition::m_rightGutter
double m_rightGutter
Definition: libwpd_internal.h:183
WP6ContentParsingState::m_tableList
WPXTableList m_tableList
Definition: WP6ContentListener.h:103
WP6ContentListener::updateOutlineDefinition
void updateOutlineDefinition(const unsigned short outlineHash, const unsigned char *numberingMethods, const unsigned char tabBehaviourFlag) override
Definition: WP6ContentListener.cpp:998
WP6OutlineDefinition
Definition: WP6ContentListener.h:141
DAYSINWEEK
#define DAYSINWEEK
WP6ContentListener::spacingAfterParagraphChange
void spacingAfterParagraphChange(const double spacingRelative, const double spacingAbsolute) override
Definition: WP6ContentListener.cpp:798
WP6_INDEX_HEADER_OUTLINE_STYLE_LOWERCASE_ROMAN_NUMBERING
#define WP6_INDEX_HEADER_OUTLINE_STYLE_LOWERCASE_ROMAN_NUMBERING
Definition: WP6FileStructure.h:130
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_SUBJECT
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_SUBJECT
Definition: WP6FileStructure.h:73
WP6ListLevel::m_level
int m_level
Definition: WP6ContentListener.h:136
WP6ContentListener::styleGroupOff
void styleGroupOff(const unsigned char subGroup) override
Definition: WP6ContentListener.cpp:1160
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_RECEIVED_FROM
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_RECEIVED_FROM
Definition: WP6FileStructure.h:109
WPXContentListener::_closeListElement
void _closeListElement()
Definition: WPXContentListener.cpp:772
WP6Listener.h
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DESTINATION
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DESTINATION
Definition: WP6FileStructure.h:96
WP6ContentListener::noteOff
void noteOff(const WPXNoteType noteType) override
Definition: WP6ContentListener.cpp:1227
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_VERSION_DATE
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_VERSION_DATE
Definition: WP6FileStructure.h:122
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_ENDNOTE_NUMBER_DISPLAY_ON
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_ENDNOTE_NUMBER_DISPLAY_ON
Definition: WP6FileStructure.h:389
WP6_STYLE_GROUP_PARASTYLE_END_ON
#define WP6_STYLE_GROUP_PARASTYLE_END_ON
Definition: WP6FileStructure.h:280
WP6ContentListener::insertCharacter
void insertCharacter(unsigned character) override
Definition: WP6ContentListener.cpp:413
WPXContentListener::lineSpacingChange
void lineSpacingChange(const double lineSpacing)
Definition: WPXContentListener.cpp:1296
RGBSColor::m_s
unsigned char m_s
Definition: libwpd_internal.h:175
WP6_INDEX_HEADER_OUTLINE_STYLE_UPPERCASE_NUMBERING
#define WP6_INDEX_HEADER_OUTLINE_STYLE_UPPERCASE_NUMBERING
Definition: WP6FileStructure.h:129
WP6ContentListener::justificationChange
void justificationChange(const unsigned char justification) override
Definition: WP6ContentListener.h:197
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_USER_DEFINED_NUMBER_DISPLAY_OFF
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_USER_DEFINED_NUMBER_DISPLAY_OFF
Definition: WP6FileStructure.h:374
WP6_STYLE_GROUP_PARASTYLE_END_OFF
#define WP6_STYLE_GROUP_PARASTYLE_END_OFF
Definition: WP6FileStructure.h:281
BEGIN_BEFORE_NUMBERING
@ BEGIN_BEFORE_NUMBERING
Definition: WP6ContentListener.h:44
WPX_SUPERSCRIPT_BIT
#define WPX_SUPERSCRIPT_BIT
Definition: libwpd_internal.h:119
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_SECURITY
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_SECURITY
Definition: WP6FileStructure.h:117
WPXContentListener::_openSpan
void _openSpan()
Definition: WPXContentListener.cpp:791
WPX_REDLINE_BIT
#define WPX_REDLINE_BIT
Definition: libwpd_internal.h:124
WPXListener::setUndoOn
void setUndoOn(bool isOn)
Definition: WPXListener.h:44
WP6_TAB_GROUP_DECIMAL_TAB
#define WP6_TAB_GROUP_DECIMAL_TAB
Definition: WP6FileStructure.h:481
WP6_COLUMN_GROUP_LEFT_MARGIN_SET
#define WP6_COLUMN_GROUP_LEFT_MARGIN_SET
Definition: WP6FileStructure.h:423
BEGIN_NUMBERING_AFTER_DISPLAY_REFERENCING
@ BEGIN_NUMBERING_AFTER_DISPLAY_REFERENCING
Definition: WP6ContentListener.h:47
WP6FileStructure.h
WPXVerticalAlignment
WPXVerticalAlignment
Definition: libwpd_internal.h:107
UNORDERED
@ UNORDERED
Definition: WP6ContentListener.h:51
WPXPageNumberPosition
WPXPageNumberPosition
Definition: libwpd_internal.h:97
WP6SubDocument
Definition: WP6SubDocument.h:34
WP6ContentParsingState::m_isLinkOpened
bool m_isLinkOpened
Definition: WP6ContentListener.h:120
WP6ContentParsingState::m_putativeListElementHasParagraphNumber
bool m_putativeListElementHasParagraphNumber
Definition: WP6ContentListener.h:112
WPXContentListener::_openParagraph
virtual void _openParagraph()
Definition: WPXContentListener.cpp:496
WP6ContentParsingState::m_currentTable
std::shared_ptr< WPXTable > m_currentTable
Definition: WP6ContentListener.h:104
WP6_TAB_GROUP_TABLE_TAB
#define WP6_TAB_GROUP_TABLE_TAB
Definition: WP6FileStructure.h:471
WPXContentListener::_movePositionToFirstColumn
double _movePositionToFirstColumn(double position)
Definition: WPXContentListener.cpp:1430
BEGIN_NUMBERING_BEFORE_DISPLAY_REFERENCING
@ BEGIN_NUMBERING_BEFORE_DISPLAY_REFERENCING
Definition: WP6ContentListener.h:45
WPX_PARAGRAPH_JUSTIFICATION_RIGHT
#define WPX_PARAGRAPH_JUSTIFICATION_RIGHT
Definition: libwpd_internal.h:137
WPXFormOrientation
WPXFormOrientation
Definition: libwpd_internal.h:105
WP6OutlineDefinition::WP6OutlineDefinition
WP6OutlineDefinition()
Definition: WP6ContentListener.cpp:54
WPX_UNDERLINE_BIT
#define WPX_UNDERLINE_BIT
Definition: libwpd_internal.h:128
WP6ContentParsingState::m_tempUsePreWP9LeaderMethod
std::vector< bool > m_tempUsePreWP9LeaderMethod
Definition: WP6ContentListener.h:125
WP6ContentListener::paragraphNumberOff
void paragraphNumberOff() override
Definition: WP6ContentListener.cpp:1014
WP6ContentListener::highlightChange
void highlightChange(const bool isOn, const RGBSColor &color) override
Definition: WP6ContentListener.cpp:689
WP6_ATTRIBUTE_VERY_LARGE
#define WP6_ATTRIBUTE_VERY_LARGE
Definition: WP6FileStructure.h:433
WP6Listener::getPrefixDataPacket
const WP6PrefixDataPacket * getPrefixDataPacket(const int prefixID) const
Definition: WP6Listener.cpp:44
WPXColumnProperties
Definition: libwpd_internal.h:187
wpuToFontPointSize
double wpuToFontPointSize(const unsigned short wpuNumber)
Definition: libwpd_internal.cpp:1179
WP6ContentParsingState::m_noteTextPID
unsigned m_noteTextPID
Definition: WP6ContentListener.h:115
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_TOTAL_NUMBER_OF_PAGES_DISPLAY_OFF
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_TOTAL_NUMBER_OF_PAGES_DISPLAY_OFF
Definition: WP6FileStructure.h:394
WPXTable.h
WP6ContentListener::endDocument
void endDocument() override
Definition: WP6ContentListener.h:231
WPX_DOUBLE_UNDERLINE_BIT
#define WPX_DOUBLE_UNDERLINE_BIT
Definition: libwpd_internal.h:125
WPX_SMALL_PRINT_BIT
#define WPX_SMALL_PRINT_BIT
Definition: libwpd_internal.h:117
RGBSColor
Definition: libwpd_internal.h:167
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_SOURCE
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_SOURCE
Definition: WP6FileStructure.h:118
WP6ContentListener::undoChange
void undoChange(const unsigned char undoType, const unsigned short undoLevel) override
Definition: WP6ContentListener.cpp:1985
WP6ContentListener::displayNumberReferenceGroupOn
void displayNumberReferenceGroupOn(const unsigned char subGroup, const unsigned char level) override
Definition: WP6ContentListener.cpp:1028
WP6ContentListener::fontChange
void fontChange(const unsigned short matchedFontPointSize, const unsigned short fontPID, const librevenge::RVNGString &fontName) override
Definition: WP6ContentListener.cpp:700
WP6ContentParsingState::m_bodyText
librevenge::RVNGString m_bodyText
Definition: WP6ContentListener.h:88
WP6_SYSTEM_STYLE_ENDNOTE
#define WP6_SYSTEM_STYLE_ENDNOTE
Definition: WP6FileStructure.h:286
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_EDITOR
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_EDITOR
Definition: WP6FileStructure.h:100
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_MATTER
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_MATTER
Definition: WP6FileStructure.h:104
WP6StyleStateSequence::getPreviousState
WP6StyleState getPreviousState() const
Definition: WP6ContentListener.h:70
WPX_RIGHT
#define WPX_RIGHT
Definition: libwpd_internal.h:161
WP6_STYLE_GROUP_PARASTYLE_BEGIN_OFF_PART1
#define WP6_STYLE_GROUP_PARASTYLE_BEGIN_OFF_PART1
Definition: WP6FileStructure.h:277
WP6ListLevel::m_isListElementOpenAtLevel
bool m_isListElementOpenAtLevel
Definition: WP6ContentListener.h:137
RGBSColor::m_b
unsigned char m_b
Definition: libwpd_internal.h:174
WPXContentListener::_openListElement
void _openListElement()
Definition: WPXContentListener.cpp:742
WP6_TAB_GROUP_FLUSH_RIGHT
#define WP6_TAB_GROUP_FLUSH_RIGHT
Definition: WP6FileStructure.h:479
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DIVISION
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DIVISION
Definition: WP6FileStructure.h:98
WPD_DEBUG_MSG
#define WPD_DEBUG_MSG(M)
Definition: libwpd_internal.h:50
WP6ContentListener::globalOff
void globalOff() override
Definition: WP6ContentListener.cpp:1193
WPXContentListener::_closeTable
void _closeTable()
Definition: WPXContentListener.cpp:970
WP6_ATTRIBUTE_UNDERLINE
#define WP6_ATTRIBUTE_UNDERLINE
Definition: WP6FileStructure.h:446
WP6_STYLE_GROUP_PARASTYLE_BEGIN_ON_PART1
#define WP6_STYLE_GROUP_PARASTYLE_BEGIN_ON_PART1
Definition: WP6FileStructure.h:276
WPX_SHADOW_BIT
#define WPX_SHADOW_BIT
Definition: libwpd_internal.h:123
WPXContentListener::endSubDocument
void endSubDocument()
Definition: WPXContentListener.cpp:180
WPXSubDocument
Definition: WPXSubDocument.h:37
WP6ContentListener::columnChange
void columnChange(const WPXTextColumnType columnType, const unsigned char numColumns, const std::vector< double > &columnWidth, const std::vector< bool > &isFixedWidth) override
Definition: WP6ContentListener.cpp:920
WPX_LEFT
#define WPX_LEFT
Definition: libwpd_internal.h:160
WP6ContentListener::insertEOL
void insertEOL() override
Definition: WP6ContentListener.cpp:655
WPXTextColumnType
WPXTextColumnType
Definition: libwpd_internal.h:109
WP6ContentListener::_paragraphNumberOn
void _paragraphNumberOn(const unsigned short outlineHash, const unsigned char level)
Definition: WP6ContentListener.cpp:1815
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_RECORDED_BY
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_RECORDED_BY
Definition: WP6FileStructure.h:110
TMMONTHOFFSET
#define TMMONTHOFFSET
WP6ContentParsingState::WP6ContentParsingState
WP6ContentParsingState(WPXTableList tableList, unsigned nextTableIndice=0)
Definition: WP6ContentListener.cpp:105
STYLE_BODY
@ STYLE_BODY
Definition: WP6ContentListener.h:48
WP6ContentListener::WP6ContentListener
WP6ContentListener(const WP6ContentListener &)
WPX_SUBSCRIPT_BIT
#define WPX_SUBSCRIPT_BIT
Definition: libwpd_internal.h:120
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_TOTAL_NUMBER_OF_PAGES_DISPLAY_ON
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_TOTAL_NUMBER_OF_PAGES_DISPLAY_ON
Definition: WP6FileStructure.h:393
WP6_COLUMN_GROUP_RIGHT_MARGIN_SET
#define WP6_COLUMN_GROUP_RIGHT_MARGIN_SET
Definition: WP6FileStructure.h:424
WP6ContentListener::insertBreak
void insertBreak(const unsigned char breakType) override
Definition: WP6ContentListener.h:189
WPXColumnDefinition::m_width
double m_width
Definition: libwpd_internal.h:181
DOCUMENT_NOTE_GLOBAL
@ DOCUMENT_NOTE_GLOBAL
Definition: WP6ContentListener.h:43
WPXContentListener::_closeParagraph
void _closeParagraph()
Definition: WPXContentListener.cpp:725
WP6ContentListener::boxOff
void boxOff() override
Definition: WP6ContentListener.cpp:1692
WP6_TAB_GROUP_LEFT_TAB
#define WP6_TAB_GROUP_LEFT_TAB
Definition: WP6FileStructure.h:472
WP6OutlineDefinition::getListType
WPXNumberingType getListType(int level)
Definition: WP6ContentListener.h:147
WP6ContentListener::m_outlineDefineHash
std::map< unsigned short, WP6OutlineDefinition > m_outlineDefineHash
Definition: WP6ContentListener.h:278
WP6DefaultInitialFontPacket.h
WP6_ATTRIBUTE_STRIKE_OUT
#define WP6_ATTRIBUTE_STRIKE_OUT
Definition: WP6FileStructure.h:445
WP6ContentListener::setLeaderCharacter
void setLeaderCharacter(const unsigned character, const unsigned char numSpaces) override
Definition: WP6ContentListener.cpp:393
WP6_UNDO_GROUP_INVALID_TEXT_START
#define WP6_UNDO_GROUP_INVALID_TEXT_START
Definition: WP6FileStructure.h:551
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CLIENT
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CLIENT
Definition: WP6FileStructure.h:93
WPX_SUBDOCUMENT_NOTE
@ WPX_SUBDOCUMENT_NOTE
Definition: libwpd_internal.h:111
WP6ContentListener::lineSpacingChange
void lineSpacingChange(const double lineSpacing) override
Definition: WP6ContentListener.h:193
WPXContentListener::_openSection
void _openSection()
Definition: WPXContentListener.cpp:193
WPXContentListener::justificationChange
void justificationChange(const unsigned char justification)
Definition: WPXContentListener.cpp:1304
DOCUMENT_NOTE
@ DOCUMENT_NOTE
Definition: WP6ContentListener.h:43
STYLE_END
@ STYLE_END
Definition: WP6ContentListener.h:48
WP6StyleStateSequence::m_stateSequence
std::vector< WP6StyleState > m_stateSequence
Definition: WP6ContentListener.h:81
WP6ContentListener::setExtendedInformation
void setExtendedInformation(const unsigned short type, const librevenge::RVNGString &data) override
Definition: WP6ContentListener.cpp:238
WPXContentListener::m_ps
std::unique_ptr< WPXContentParsingState > m_ps
Definition: WPXContentListener.h:162
WP6ContentListener.h
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CARBON_COPY
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CARBON_COPY
Definition: WP6FileStructure.h:91
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_REFERENCE
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_REFERENCE
Definition: WP6FileStructure.h:112
WPXColumnProperties::m_attributes
unsigned m_attributes
Definition: libwpd_internal.h:189
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_TYPIST
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_TYPIST
Definition: WP6FileStructure.h:121
libwpd_internal.h
WPXNoteType
WPXNoteType
Definition: libwpd_internal.h:93
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_LANGUAGE
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_LANGUAGE
Definition: WP6FileStructure.h:77
WP6Listener
Definition: WP6Listener.h:41
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_REVISION_NUMBER
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_REVISION_NUMBER
Definition: WP6FileStructure.h:115
WP6ContentListener::_handleListChange
void _handleListChange(const unsigned short outlineHash)
Definition: WP6ContentListener.cpp:1888
WPXColumnDefinition
Definition: libwpd_internal.h:179
WPXContentListener::startDocument
void startDocument()
Definition: WPXContentListener.cpp:138
WPX_FINE_PRINT_BIT
#define WPX_FINE_PRINT_BIT
Definition: libwpd_internal.h:118
WP6_TAB_GROUP_LEFT_RIGHT_INDENT
#define WP6_TAB_GROUP_LEFT_RIGHT_INDENT
Definition: WP6FileStructure.h:475
NORMAL
@ NORMAL
Definition: WP6ContentListener.h:43
WP6_TAB_GROUP_LEFT_INDENT
#define WP6_TAB_GROUP_LEFT_INDENT
Definition: WP6FileStructure.h:474
WP6ContentParsingState::m_numberText
librevenge::RVNGString m_numberText
Definition: WP6ContentListener.h:91
WP6ContentListener::endSubDocument
void endSubDocument() override
Definition: WP6ContentListener.h:235
WPX_BOLD_BIT
#define WPX_BOLD_BIT
Definition: libwpd_internal.h:126
LOWERCASE_ROMAN
@ LOWERCASE_ROMAN
Definition: libwpd_internal.h:92
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_PROJECT
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_PROJECT
Definition: WP6FileStructure.h:107
WP6ContentParsingState::m_leaderCharacter
unsigned m_leaderCharacter
Definition: WP6ContentListener.h:122
WPXContentListener
Definition: WPXContentListener.h:148
WP6_TAB_GROUP_CENTER_ON_CURRENT_POSITION
#define WP6_TAB_GROUP_CENTER_ON_CURRENT_POSITION
Definition: WP6FileStructure.h:477
WP6ContentListener::suppressPageCharacteristics
void suppressPageCharacteristics(const unsigned char) override
Definition: WP6ContentListener.h:228
WP6ContentListener::insertTab
void insertTab(const unsigned char tabType, double tabPosition) override
Definition: WP6ContentListener.cpp:475
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_VERSION_NUMBER
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_VERSION_NUMBER
Definition: WP6FileStructure.h:124
WP6_SYSTEM_STYLE_FOOTNOTE
#define WP6_SYSTEM_STYLE_FOOTNOTE
Definition: WP6FileStructure.h:285
WPX_BLINK_BIT
#define WPX_BLINK_BIT
Definition: libwpd_internal.h:130
WP6ContentListener::paragraphNumberOn
void paragraphNumberOn(const unsigned short outlineHash, const unsigned char level, const unsigned char flag) override
Definition: WP6ContentListener.cpp:1006
TMYEAROFFSET
#define TMYEAROFFSET
LOWERCASE
@ LOWERCASE
Definition: libwpd_internal.h:92
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_ENDNOTE_NUMBER_DISPLAY_OFF
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_ENDNOTE_NUMBER_DISPLAY_OFF
Definition: WP6FileStructure.h:390
WPX_SUBDOCUMENT_HEADER_FOOTER
@ WPX_SUBDOCUMENT_HEADER_FOOTER
Definition: libwpd_internal.h:111
WP6_ATTRIBUTE_SMALL_CAPS
#define WP6_ATTRIBUTE_SMALL_CAPS
Definition: WP6FileStructure.h:447
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_AUTHORIZATION
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_AUTHORIZATION
Definition: WP6FileStructure.h:88
WP6_ATTRIBUTE_BLINK
#define WP6_ATTRIBUTE_BLINK
Definition: WP6FileStructure.h:448
WP6ContentListener::WP6ContentListener
WP6ContentListener(std::list< WPXPageSpan > &pageList, WPXTableList tableList, librevenge::RVNGTextInterface *documentInterface)
Definition: WP6ContentListener.cpp:157
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_AUTHOR
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_AUTHOR
Definition: WP6FileStructure.h:72
WP6_UNDO_GROUP_INVALID_TEXT_END
#define WP6_UNDO_GROUP_INVALID_TEXT_END
Definition: WP6FileStructure.h:552
WPX_NUM_WPUS_PER_INCH
#define WPX_NUM_WPUS_PER_INCH
Definition: WPXFileStructure.h:30
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_KEYWORDS
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_KEYWORDS
Definition: WP6FileStructure.h:76
WP6ContentListener::displayNumberReferenceGroupOff
void displayNumberReferenceGroupOff(const unsigned char subGroup) override
Definition: WP6ContentListener.cpp:1068
WP6ContentListener::defineTable
void defineTable(const unsigned char position, const unsigned short leftOffset) override
Definition: WP6ContentListener.cpp:1272
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:1101
WPXContentListener::insertBreak
void insertBreak(const unsigned char breakType)
Definition: WPXContentListener.cpp:1242
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DESCRIPTIVE_NAME
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DESCRIPTIVE_NAME
Definition: WP6FileStructure.h:79
WP6ContentListener::pageMarginChange
void pageMarginChange(const unsigned char, const unsigned short) override
Definition: WP6ContentListener.h:208
WP6OutlineDefinition::_updateNumberingMethods
void _updateNumberingMethods(const unsigned char *numberingMethods)
Definition: WP6ContentListener.cpp:72
WP6ContentListener::pageNumberingChange
void pageNumberingChange(const WPXPageNumberPosition, const unsigned short, const unsigned short) override
Definition: WP6ContentListener.h:207
BEGIN_AFTER_NUMBERING
@ BEGIN_AFTER_NUMBERING
Definition: WP6ContentListener.h:48
ARABIC
@ ARABIC
Definition: libwpd_internal.h:92
WPD_NUM_ELEMENTS
#define WPD_NUM_ELEMENTS(array)
Definition: libwpd_internal.h:53
WP6FontDescriptorPacket.h
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CHECKED_BY
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CHECKED_BY
Definition: WP6FileStructure.h:92
WPXContentListener::m_documentInterface
librevenge::RVNGTextInterface * m_documentInterface
Definition: WPXContentListener.h:163
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_FOOTNOTE_NUMBER_DISPLAY_ON
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_FOOTNOTE_NUMBER_DISPLAY_ON
Definition: WP6FileStructure.h:387
WP6GraphicsCachedFileDataPacket
Definition: WP6GraphicsCachedFileDataPacket.h:33
_numberingTypeToString
librevenge::RVNGString _numberingTypeToString(WPXNumberingType t)
Definition: libwpd_internal.cpp:1323
WP6ContentParsingState
Definition: WP6ContentListener.h:85
WPXContentListener::_mapNonUnicodeCharacter
unsigned _mapNonUnicodeCharacter(unsigned character)
Definition: WPXContentListener.cpp:1450
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_FORWARD_TO
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_FORWARD_TO
Definition: WP6FileStructure.h:101
WP6ContentListener::noteOn
void noteOn(const unsigned short textPID) override
Definition: WP6ContentListener.cpp:1202
WP6_ATTRIBUTE_EXTRA_LARGE
#define WP6_ATTRIBUTE_EXTRA_LARGE
Definition: WP6FileStructure.h:432
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_ATTACHMENTS
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_ATTACHMENTS
Definition: WP6FileStructure.h:87
WPXContentListener::handleSubDocument
void handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice)
Creates an new document state.
Definition: WPXContentListener.cpp:1195
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_BILL_TO
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_BILL_TO
Definition: WP6FileStructure.h:89
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DATE_COMPLETED
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DATE_COMPLETED
Definition: WP6FileStructure.h:83
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_OWNER
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_OWNER
Definition: WP6FileStructure.h:106
WPX_TABLE_POSITION_ABSOLUTE_FROM_LEFT_MARGIN
#define WPX_TABLE_POSITION_ABSOLUTE_FROM_LEFT_MARGIN
Definition: libwpd_internal.h:146
WP6ContentParsingState::m_leaderNumSpaces
unsigned char m_leaderNumSpaces
Definition: WP6ContentListener.h:123
WPX_VERY_LARGE_BIT
#define WPX_VERY_LARGE_BIT
Definition: libwpd_internal.h:115
RGBSColor::m_g
unsigned char m_g
Definition: libwpd_internal.h:173
WP6ContentListener::setPageNumber
void setPageNumber(const unsigned short) override
Definition: WP6ContentListener.h:229
WP6ContentParsingState::m_isFrameOpened
bool m_isFrameOpened
Definition: WP6ContentListener.h:118
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_ACCOUNT
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_ACCOUNT
Definition: WP6FileStructure.h:85
WPXColumnProperties::m_alignment
unsigned char m_alignment
Definition: libwpd_internal.h:190
WP6_ATTRIBUTE_FINE_PRINT
#define WP6_ATTRIBUTE_FINE_PRINT
Definition: WP6FileStructure.h:436
_extractWPXNumberingTypeFromBuf
WPXNumberingType _extractWPXNumberingTypeFromBuf(const librevenge::RVNGString &buf, const WPXNumberingType putativeWPXNumberingType)
Definition: libwpd_internal.cpp:1303
WP6ContentListener::attributeChange
void attributeChange(const bool isOn, const unsigned char attribute) override
Definition: WP6ContentListener.cpp:725
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_PAGE_NUMBER_DISPLAY_OFF
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_PAGE_NUMBER_DISPLAY_OFF
Definition: WP6FileStructure.h:378
WP6ContentParsingState::m_textAfterNumber
librevenge::RVNGString m_textAfterNumber
Definition: WP6ContentListener.h:93
STATE_MEMORY
const int STATE_MEMORY
Definition: WP6ContentListener.h:53
WP6ContentParsingState::m_numListExtraTabs
unsigned m_numListExtraTabs
Definition: WP6ContentListener.h:100
WP6ContentListener::handleLineBreak
void handleLineBreak() override
Definition: WP6ContentListener.cpp:636
WP6_TAB_GROUP_CENTER_TAB
#define WP6_TAB_GROUP_CENTER_TAB
Definition: WP6FileStructure.h:478
WP6_ATTRIBUTE_SHADOW
#define WP6_ATTRIBUTE_SHADOW
Definition: WP6FileStructure.h:441
WP6ContentListener::defineTabStops
void defineTabStops(const bool isRelative, const std::vector< WPXTabStop > &tabStops, const std::vector< bool > &usePreWP9LeaderMethods) override
Definition: WP6ContentListener.cpp:458
libwpd_math.h
WPXContentListener::_openPageSpan
void _openPageSpan()
Definition: WPXContentListener.cpp:295
WPXTableList
Definition: WPXTableList.h:36
WP6_STYLE_GROUP_PARASTYLE_BEGIN_OFF_PART2
#define WP6_STYLE_GROUP_PARASTYLE_BEGIN_OFF_PART2
Definition: WP6FileStructure.h:279
WP6ContentParsingState::m_tempTabStops
std::vector< WPXTabStop > m_tempTabStops
Definition: WP6ContentListener.h:124
WP6ContentListener::characterColorChange
void characterColorChange(const unsigned char red, const unsigned char green, const unsigned char blue) override
Definition: WP6ContentListener.cpp:669
WPX_ITALICS_BIT
#define WPX_ITALICS_BIT
Definition: libwpd_internal.h:122
WPXContentListener::_openTable
void _openTable()
Definition: WPXContentListener.cpp:911
WP6ContentParsingState::m_textBeforeDisplayReference
librevenge::RVNGString m_textBeforeDisplayReference
Definition: WP6ContentListener.h:90
WPXColumnDefinition::m_leftGutter
double m_leftGutter
Definition: libwpd_internal.h:182
UPPERCASE
@ UPPERCASE
Definition: libwpd_internal.h:92
WP6_INDEX_HEADER_OUTLINE_STYLE_UPPERCASE_ROMAN_NUMBERING
#define WP6_INDEX_HEADER_OUTLINE_STYLE_UPPERCASE_ROMAN_NUMBERING
Definition: WP6FileStructure.h:131
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_ADDRESS
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_ADDRESS
Definition: WP6FileStructure.h:86
RGBSColor::m_r
unsigned char m_r
Definition: libwpd_internal.h:172
WPXContentListener::startSubDocument
void startSubDocument()
Definition: WPXContentListener.cpp:153
WP6_TAB_GROUP_BACK_TAB
#define WP6_TAB_GROUP_BACK_TAB
Definition: WP6FileStructure.h:470
WP6_ATTRIBUTE_SUPERSCRIPT
#define WP6_ATTRIBUTE_SUPERSCRIPT
Definition: WP6FileStructure.h:437
WP6_ATTRIBUTE_SUBSCRIPT
#define WP6_ATTRIBUTE_SUBSCRIPT
Definition: WP6FileStructure.h:438
WP6ListLevel
Definition: WP6ContentListener.h:135
WP6ContentParsingState::operator=
WP6ContentParsingState & operator=(const WP6ContentParsingState &)
WP6ContentListener::_handleSubDocument
void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice=0) override
Definition: WP6ContentListener.cpp:1768
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_USER_DEFINED_NUMBER_DISPLAY_ON
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_USER_DEFINED_NUMBER_DISPLAY_ON
Definition: WP6FileStructure.h:373
WP6ContentListener::insertTextBox
void insertTextBox(const WP6SubDocument *subDocument) override
Definition: WP6ContentListener.cpp:1726
ORDERED
@ ORDERED
Definition: WP6ContentListener.h:51
WP6ContentListener::_flushText
void _flushText() override
Definition: WP6ContentListener.cpp:1826
WPXContentListener::_closeSection
void _closeSection()
Definition: WPXContentListener.cpp:233
WP6ContentParsingState::m_putativeListElementHasDisplayReferenceNumber
bool m_putativeListElementHasDisplayReferenceNumber
Definition: WP6ContentListener.h:113
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_RECORDED_DATE
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_RECORDED_DATE
Definition: WP6FileStructure.h:111
WP6ContentListener::m_listDefinitions
std::map< unsigned, librevenge::RVNGPropertyList > m_listDefinitions
Definition: WP6ContentListener.h:279
WP6ContentListener::addTableColumnDefinition
void addTableColumnDefinition(const unsigned width, const unsigned leftGutter, const unsigned rightGutter, const unsigned attributes, const unsigned char alignment) override
Definition: WP6ContentListener.cpp:1325
WP6ContentListener::~WP6ContentListener
~WP6ContentListener() override
Definition: WP6ContentListener.cpp:165
WP6_INDEX_HEADER_OUTLINE_STYLE_LOWERCASE_NUMBERING
#define WP6_INDEX_HEADER_OUTLINE_STYLE_LOWERCASE_NUMBERING
Definition: WP6FileStructure.h:128
UPPERCASE_ROMAN
@ UPPERCASE_ROMAN
Definition: libwpd_internal.h:92
WP6_ATTRIBUTE_OUTLINE
#define WP6_ATTRIBUTE_OUTLINE
Definition: WP6FileStructure.h:439
WPXListener::isUndoOn
bool isUndoOn()
Definition: WPXListener.h:40
WPXTable
Definition: WPXTable.h:50
WPX_SUBDOCUMENT_TEXT_BOX
@ WPX_SUBDOCUMENT_TEXT_BOX
Definition: libwpd_internal.h:111
WP6ContentParsingState::~WP6ContentParsingState
~WP6ContentParsingState()
Definition: WP6ContentListener.cpp:152
WP6ContentParsingState::m_textAfterDisplayReference
librevenge::RVNGString m_textAfterDisplayReference
Definition: WP6ContentListener.h:92
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_SECTION
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_SECTION
Definition: WP6FileStructure.h:116
WP6ContentParsingState::m_paragraphMarginBottomAbsolute
double m_paragraphMarginBottomAbsolute
Definition: WP6ContentListener.h:96
WPX_TABLE_POSITION_CENTER_BETWEEN_MARGINS
#define WPX_TABLE_POSITION_CENTER_BETWEEN_MARGINS
Definition: libwpd_internal.h:144
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_BLIND_COPY
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_BLIND_COPY
Definition: WP6FileStructure.h:90
WP6ContentListener::insertRow
void insertRow(const unsigned short rowHeight, const bool isMinimumHeight, const bool isHeaderRow) override
Definition: WP6ContentListener.cpp:1377
WP6_ATTRIBUTE_BOLD
#define WP6_ATTRIBUTE_BOLD
Definition: WP6FileStructure.h:444
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_OFFICE
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_OFFICE
Definition: WP6FileStructure.h:105
WP6ContentParsingState::m_nextTableIndice
unsigned m_nextTableIndice
Definition: WP6ContentListener.h:105
WP6ContentListener::globalOn
void globalOn(const unsigned char systemStyle) override
Definition: WP6ContentListener.cpp:1184
WP6ContentListener::_changeList
void _changeList() override
Definition: WP6ContentListener.cpp:1976
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_PARAGRAPH_NUMBER_DISPLAY_ON
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_PARAGRAPH_NUMBER_DISPLAY_ON
Definition: WP6FileStructure.h:385
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CREATION_DATE
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CREATION_DATE
Definition: WP6FileStructure.h:82
WP6ContentParsingState::m_isListReference
bool m_isListReference
Definition: WP6ContentListener.h:101
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CATEGORY
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CATEGORY
Definition: WP6FileStructure.h:75
WP6ContentListener::characterShadingChange
void characterShadingChange(const unsigned char shading) override
Definition: WP6ContentListener.cpp:680
WPX_PARAGRAPH_JUSTIFICATION_CENTER
#define WPX_PARAGRAPH_JUSTIFICATION_CENTER
Definition: libwpd_internal.h:136
WP6_NUM_LIST_LEVELS
#define WP6_NUM_LIST_LEVELS
Definition: WP6FileStructure.h:36
WP6PrefixData.h
WPX_OUTLINE_BIT
#define WPX_OUTLINE_BIT
Definition: libwpd_internal.h:121
DISPLAY_REFERENCING
@ DISPLAY_REFERENCING
Definition: WP6ContentListener.h:46
WP6_TAB_GROUP_BAR_TAB
#define WP6_TAB_GROUP_BAR_TAB
Definition: WP6FileStructure.h:473
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_REVISION_NOTES
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_REVISION_NOTES
Definition: WP6FileStructure.h:114
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DEPARTMENT
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DEPARTMENT
Definition: WP6FileStructure.h:95
WP6ContentParsingState::m_listTypeStack
std::stack< WP6ListType > m_listTypeStack
Definition: WP6ContentListener.h:108
WP6_STYLE_GROUP_PARASTYLE_BEGIN_ON_PART2
#define WP6_STYLE_GROUP_PARASTYLE_BEGIN_ON_PART2
Definition: WP6FileStructure.h:278
WPX_TABLE_POSITION_ALIGN_WITH_LEFT_MARGIN
#define WPX_TABLE_POSITION_ALIGN_WITH_LEFT_MARGIN
Definition: libwpd_internal.h:142
WP6ContentListener::startSubDocument
void startSubDocument() override
Definition: WP6ContentListener.h:171
WPXFileStructure.h
WP6_ATTRIBUTE_REDLINE
#define WP6_ATTRIBUTE_REDLINE
Definition: WP6FileStructure.h:442
DATEBUFLEN
#define DATEBUFLEN
WP6ContentParsingState::m_paragraphMarginBottomRelative
double m_paragraphMarginBottomRelative
Definition: WP6ContentListener.h:95
WP6ContentListener::marginChange
void marginChange(const unsigned char side, const unsigned short margin) override
Definition: WP6ContentListener.cpp:814
WP6ContentListener::endTable
void endTable() override
Definition: WP6ContentListener.cpp:1435
WP6OutlineDefinition::update
void update(const unsigned char *numberingMethods, const unsigned char tabBehaviourFlag)
Definition: WP6ContentListener.cpp:67
WPX_STRIKEOUT_BIT
#define WPX_STRIKEOUT_BIT
Definition: libwpd_internal.h:127
WP6ListType
WP6ListType
Definition: WP6ContentListener.h:51
WP6_ATTRIBUTE_LARGE
#define WP6_ATTRIBUTE_LARGE
Definition: WP6FileStructure.h:434
WPXNumberingType
WPXNumberingType
Definition: libwpd_internal.h:92
WP6ContentParsingState::m_numNestedNotes
unsigned m_numNestedNotes
Definition: WP6ContentListener.h:116
WP6StyleState
WP6StyleState
Definition: WP6ContentListener.h:43
WP6ContentParsingState::m_numRemovedParagraphBreaks
unsigned m_numRemovedParagraphBreaks
Definition: WP6ContentListener.h:98
WP6StyleStateSequence
Definition: WP6ContentListener.h:55
WP6ContentListener::m_parseState
std::unique_ptr< WP6ContentParsingState > m_parseState
Definition: WP6ContentListener.h:276
WP6_ATTRIBUTE_ITALICS
#define WP6_ATTRIBUTE_ITALICS
Definition: WP6FileStructure.h:440
WP6ContentListener::operator=
WP6ContentListener & operator=(const WP6ContentListener &)
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_STATUS
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_STATUS
Definition: WP6FileStructure.h:119
WPXSubDocumentType
WPXSubDocumentType
Definition: libwpd_internal.h:111
WPX_SMALL_CAPS_BIT
#define WPX_SMALL_CAPS_BIT
Definition: libwpd_internal.h:129
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_ABSTRACT
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_ABSTRACT
Definition: WP6FileStructure.h:78
WP6_ATTRIBUTE_DOUBLE_UNDERLINE
#define WP6_ATTRIBUTE_DOUBLE_UNDERLINE
Definition: WP6FileStructure.h:443
WP6ContentListener::setAlignmentCharacter
void setAlignmentCharacter(const unsigned character) override
Definition: WP6ContentListener.cpp:385
WP6ContentListener::insertGraphicsData
void insertGraphicsData(const unsigned short packetId) override
Definition: WP6ContentListener.cpp:1709
WP6StyleStateSequence::clear
void clear()
Definition: WP6ContentListener.h:74
WPMONDAYOFFSET
#define WPMONDAYOFFSET
WP6StyleStateSequence::WP6StyleStateSequence
WP6StyleStateSequence()
Definition: WP6ContentListener.h:57
WP6ContentParsingState::m_textBeforeNumber
librevenge::RVNGString m_textBeforeNumber
Definition: WP6ContentListener.h:89
WPX_TABLE_POSITION_ALIGN_WITH_RIGHT_MARGIN
#define WPX_TABLE_POSITION_ALIGN_WITH_RIGHT_MARGIN
Definition: libwpd_internal.h:143
WP6ContentListener::pageFormChange
void pageFormChange(const unsigned short, const unsigned short, const WPXFormOrientation) override
Definition: WP6ContentListener.h:209
WP6SubDocument.h
WP6_INDEX_HEADER_OUTLINE_STYLE_ARABIC_NUMBERING
#define WP6_INDEX_HEADER_OUTLINE_STYLE_ARABIC_NUMBERING
Definition: WP6FileStructure.h:127
WP6ContentParsingState::m_currentPageNumberingType
WPXNumberingType m_currentPageNumberingType
Definition: WP6ContentListener.h:127
WP6OutlineDefinition::m_listTypes
WPXNumberingType m_listTypes[WP6_NUM_LIST_LEVELS]
Definition: WP6ContentListener.h:158
WP6Listener::getFontNameForPID
librevenge::RVNGString getFontNameForPID(const int prefixID) const
Definition: WP6Listener.cpp:52
WP6ContentListener::insertCell
void insertCell(const unsigned char colSpan, const unsigned char rowSpan, const unsigned char borderBits, const RGBSColor *cellFgColor, const RGBSColor *cellBgColor, const RGBSColor *cellBorderColor, const WPXVerticalAlignment cellVerticalAlignment, const bool useCellAttributes, const unsigned cellAttributes) override
Definition: WP6ContentListener.cpp:1387
WPXContentListener::m_metaData
librevenge::RVNGPropertyList m_metaData
Definition: WPXContentListener.h:164
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_COMMENTS
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_COMMENTS
Definition: WP6FileStructure.h:94
WP6ContentListener::boxOn
void boxOn(const unsigned char anchoringType, const unsigned char generalPositioningFlags, const unsigned char horizontalPositioningFlags, const signed short horizontalOffset, const unsigned char leftColumn, const unsigned char rightColumn, const unsigned char verticalPositioningFlags, const signed short verticalOffset, const unsigned char widthFlags, const unsigned short width, const unsigned char heightFlags, const unsigned short height, const unsigned char boxContentType, const unsigned short nativeWidth, const unsigned short nativeHeight, const librevenge::RVNGString &linkTarget) override
Definition: WP6ContentListener.cpp:1447
appendUCS4
void appendUCS4(librevenge::RVNGString &str, unsigned ucs4)
Definition: libwpd_internal.cpp:154
WP6StyleStateSequence::setCurrentState
void setCurrentState(WP6StyleState state)
Definition: WP6ContentListener.h:61
WPXContentListener::_openTableRow
void _openTableRow(const double height, const bool isMinimumHeight, const bool isHeaderRow)
Definition: WPXContentListener.cpp:999
WP6ContentListener::startDocument
void startDocument() override
Definition: WP6ContentListener.h:167
WP6ContentListener::setPageNumberingType
void setPageNumberingType(const WPXNumberingType pageNumberingType) override
Definition: WP6ContentListener.cpp:1264
_extractDisplayReferenceNumberFromBuf
int _extractDisplayReferenceNumberFromBuf(const librevenge::RVNGString &buf, const WPXNumberingType listType)
Definition: libwpd_internal.cpp:1257
WP6ContentParsingState::m_oldListLevel
unsigned char m_oldListLevel
Definition: WP6ContentListener.h:110
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_PAGE_NUMBER_DISPLAY_ON
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_PAGE_NUMBER_DISPLAY_ON
Definition: WP6FileStructure.h:377
WP6ContentParsingState::WP6ContentParsingState
WP6ContentParsingState(const WP6ContentParsingState &)
WP6ContentParsingState::m_listLevelStack
std::stack< unsigned > m_listLevelStack
Definition: WP6ContentListener.h:107
WPXContentListener::_insertText
void _insertText(const librevenge::RVNGString &textBuffer)
Definition: WPXContentListener.cpp:624
WP6_TAB_GROUP_CENTER_ON_MARGINS
#define WP6_TAB_GROUP_CENTER_ON_MARGINS
Definition: WP6FileStructure.h:476
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DOCUMENT_NUMBER
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DOCUMENT_NUMBER
Definition: WP6FileStructure.h:99
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_PUBLISHER
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_PUBLISHER
Definition: WP6FileStructure.h:74
WP6ContentParsingState::m_styleStateSequence
WP6StyleStateSequence m_styleStateSequence
Definition: WP6ContentListener.h:111
WP6ContentListener::commentAnnotation
void commentAnnotation(const unsigned short textPID) override
Definition: WP6ContentListener.cpp:1742
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_GROUP
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_GROUP
Definition: WP6FileStructure.h:102
WP6ContentListener::indentFirstLineChange
void indentFirstLineChange(const signed short offset) override
Definition: WP6ContentListener.cpp:903
WPX_SUBDOCUMENT_COMMENT_ANNOTATION
@ WPX_SUBDOCUMENT_COMMENT_ANNOTATION
Definition: libwpd_internal.h:111
FOOTNOTE
@ FOOTNOTE
Definition: libwpd_internal.h:93
WP6ContentListener
Definition: WP6ContentListener.h:162
WP6ContentParsingState::m_currentOutlineHash
unsigned short m_currentOutlineHash
Definition: WP6ContentListener.h:109
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_MAIL_STOP
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_MAIL_STOP
Definition: WP6FileStructure.h:103
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_VERSION_NOTES
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_VERSION_NOTES
Definition: WP6FileStructure.h:123
WP6_TAB_GROUP_RIGHT_TAB
#define WP6_TAB_GROUP_RIGHT_TAB
Definition: WP6FileStructure.h:480
WPX_LARGE_BIT
#define WPX_LARGE_BIT
Definition: libwpd_internal.h:116
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_PURPOSE
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_PURPOSE
Definition: WP6FileStructure.h:108
WP6ContentListener::startTable
void startTable() override
Definition: WP6ContentListener.cpp:1350
WPXContentListener.h
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_TELEPHONE_NUMBER
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_TELEPHONE_NUMBER
Definition: WP6FileStructure.h:120
WP6_ATTRIBUTE_SMALL_PRINT
#define WP6_ATTRIBUTE_SMALL_PRINT
Definition: WP6FileStructure.h:435
WP6ContentListener::setDate
void setDate(const unsigned short type, const unsigned short year, const unsigned char month, const unsigned char day, const unsigned char hour, const unsigned char minute, const unsigned char second, const unsigned char dayOfWeek, const unsigned char timeZone, const unsigned char unused) override
Definition: WP6ContentListener.cpp:169
WP6ContentListener::styleGroupOn
void styleGroupOn(const unsigned char subGroup) override
Definition: WP6ContentListener.cpp:1125
WP6GraphicsCachedFileDataPacket.h
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_PARAGRAPH_NUMBER_DISPLAY_OFF
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_PARAGRAPH_NUMBER_DISPLAY_OFF
Definition: WP6FileStructure.h:386
WP6StyleStateSequence::getCurrentState
WP6StyleState getCurrentState() const
Definition: WP6ContentListener.h:66
WPX_EXTRA_LARGE_BIT
#define WPX_EXTRA_LARGE_BIT
Definition: libwpd_internal.h:114
WP6ContentListener::headerFooterGroup
void headerFooterGroup(const unsigned char, const unsigned char, const unsigned short) override
Definition: WP6ContentListener.h:227
WPX_TABLE_POSITION_FULL
#define WPX_TABLE_POSITION_FULL
Definition: libwpd_internal.h:145
ParseException
Definition: libwpd_internal.h:213
WP6_DISPLAY_NUMBER_REFERENCE_GROUP_FOOTNOTE_NUMBER_DISPLAY_OFF
#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_FOOTNOTE_NUMBER_DISPLAY_OFF
Definition: WP6FileStructure.h:388
WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DISPOSITION
#define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DISPOSITION
Definition: WP6FileStructure.h:97