WP3ContentListener.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) 2004 Marc Maurer (uwog@uwog.net)
11  * Copyright (C) 2005-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
12  *
13  * For minor contributions see the git repository.
14  *
15  * Alternatively, the contents of this file may be used under the terms
16  * of the GNU Lesser General Public License Version 2.1 or later
17  * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
18  * applicable instead of those above.
19  *
20  * For further information visit http://libwpd.sourceforge.net
21  */
22 
23 /* "This product is not manufactured, approved, or supported by
24  * Corel Corporation or Corel Corporation Limited."
25  */
26 
27 #ifndef WP3CONTENTLISTENER_H
28 #define WP3CONTENTLISTENER_H
29 
30 #include <memory>
31 
32 #include "WP3Listener.h"
33 #include "WPXContentListener.h"
34 #include "WP3SubDocument.h"
35 
37 {
40  unsigned short m_colSpan;
41  unsigned short m_rowSpan;
42  librevenge::RVNGString m_textBuffer;
43  std::unique_ptr<RGBSColor> m_cellFillColor;
44  librevenge::RVNGString m_noteReference;
45 
47 private:
50 };
51 
53 {
54 public:
55  WP3ContentListener(std::list<WPXPageSpan> &pageList, librevenge::RVNGTextInterface *documentInterface);
56  ~WP3ContentListener() override;
57 
58  void startDocument() override
59  {
61  }
62  void startSubDocument() override
63  {
65  }
66  void insertCharacter(unsigned character) override;
67  void insertTab() override;
68  void insertTab(unsigned char tabType, double tabPosition) override;
69  void insertBreak(unsigned char breakType) override
70  {
72  }
73  void insertEOL() override;
74  void attributeChange(bool isOn, unsigned char attribute) override;
75  void lineSpacingChange(double lineSpacing) override
76  {
78  }
79  void pageMarginChange(unsigned char /* side */, unsigned short /* margin */) override {}
80  void pageFormChange(unsigned short /* length */, unsigned short /* width */, WPXFormOrientation /* orientation */) override {}
81  void marginChange(unsigned char side, unsigned short margin) override;
82  void indentFirstLineChange(double offset) override;
83  void setTabs(bool isRelative, const std::vector<WPXTabStop> tabStops) override;
84  void columnChange(WPXTextColumnType columnType, unsigned char numColumns, const std::vector<double> &columnWidth,
85  const std::vector<bool> &isFixedWidth) override;
86  void endDocument() override
87  {
89  }
90  void endSubDocument() override
91  {
93  }
94 
95  void defineTable(unsigned char position, unsigned short leftOffset) override;
96  void addTableColumnDefinition(unsigned width, unsigned leftGutter, unsigned rightGutter,
97  unsigned attributes, unsigned char alignment) override;
98  void startTable() override;
99  void insertRow();
100  void insertCell();
101  void closeCell() override;
102  void closeRow() override;
103  void setTableCellSpan(unsigned short colSpan, unsigned short rowSpan) override;
104  void setTableCellFillColor(const RGBSColor *cellFillColor) override;
105  void endTable() override;
106  void undoChange(unsigned char undoType, unsigned short undoLevel) override;
107  void justificationChange(unsigned char justification) override;
108  void setTextColor(const RGBSColor *fontColor) override;
109  void setTextFont(const librevenge::RVNGString &fontName) override;
110  void setFontSize(unsigned short fontSize) override;
111  void insertPageNumber(const librevenge::RVNGString &pageNumber) override;
112  void insertNoteReference(const librevenge::RVNGString &noteReference) override;
113  void insertNote(WPXNoteType noteType, const WP3SubDocument *subDocument) override;
114  void headerFooterGroup(unsigned char headerFooterType, unsigned char occurrenceBits, const std::shared_ptr<WP3SubDocument> &subDocument) override;
115  void suppressPage(unsigned short /* suppressCode */) override {}
116  void backTab() override;
117  void leftIndent() override;
118  void leftIndent(double offset) override;
119  void leftRightIndent() override;
120  void leftRightIndent(double offset) override;
121  void insertPicture(double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn,
122  unsigned short figureFlags, const librevenge::RVNGBinaryData &binaryData) override;
123  void insertTextBox(double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn,
124  unsigned short figureFlags, const WP3SubDocument *subDocument, const WP3SubDocument *caption) override;
125  void insertWP51Table(double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn,
126  unsigned short figureFlags, const WP3SubDocument *subDocument, const WP3SubDocument *caption) override;
127 
128 protected:
129  void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice = 0) override;
130  void _openParagraph() override;
131 
132  void _flushText() override;
133  void _changeList() override {}
134 
135  void _handleFrameParameters(librevenge::RVNGPropertyList &propList, double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn,
136  unsigned short figureFlags);
137 
138 private:
141  std::unique_ptr<WP3ContentParsingState> m_parseState;
142 };
143 
144 #endif /* WP3CONTENTLISTENER_H */
145 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WPXContentListener::_closeSpan
void _closeSpan()
Definition: WPXContentListener.cpp:899
WPXContentListener::endDocument
void endDocument()
Definition: WPXContentListener.cpp:159
WPXColumnDefinition::m_rightGutter
double m_rightGutter
Definition: libwpd_internal.h:183
WP3ContentListener::setFontSize
void setFontSize(unsigned short fontSize) override
Definition: WP3ContentListener.cpp:588
WPXContentListener::_closeListElement
void _closeListElement()
Definition: WPXContentListener.cpp:772
WP3ContentParsingState::WP3ContentParsingState
WP3ContentParsingState(const WP3ContentParsingState &)
WP3_TAB_GROUP_FLUSH_RIGHT
#define WP3_TAB_GROUP_FLUSH_RIGHT
Definition: WP3FileStructure.h:62
WP3ContentParsingState::m_colSpan
unsigned short m_colSpan
Definition: WP3ContentListener.h:40
WP3ContentListener::insertBreak
void insertBreak(unsigned char breakType) override
Definition: WP3ContentListener.h:69
WPXContentListener::lineSpacingChange
void lineSpacingChange(const double lineSpacing)
Definition: WPXContentListener.cpp:1296
WP3ContentListener::_changeList
void _changeList() override
Definition: WP3ContentListener.h:133
WP3ContentListener::insertTextBox
void insertTextBox(double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn, unsigned short figureFlags, const WP3SubDocument *subDocument, const WP3SubDocument *caption) override
Definition: WP3ContentListener.cpp:807
WPX_SUPERSCRIPT_BIT
#define WPX_SUPERSCRIPT_BIT
Definition: libwpd_internal.h:119
WPXContentListener::_openSpan
void _openSpan()
Definition: WPXContentListener.cpp:791
WPX_PARAGRAPH_JUSTIFICATION_DECIMAL_ALIGNED
#define WPX_PARAGRAPH_JUSTIFICATION_DECIMAL_ALIGNED
Definition: libwpd_internal.h:139
WPX_REDLINE_BIT
#define WPX_REDLINE_BIT
Definition: libwpd_internal.h:124
WPXListener::setUndoOn
void setUndoOn(bool isOn)
Definition: WPXListener.h:44
WPXContentListener::_openParagraph
virtual void _openParagraph()
Definition: WPXContentListener.cpp:496
WPXContentListener::_movePositionToFirstColumn
double _movePositionToFirstColumn(double position)
Definition: WPXContentListener.cpp:1430
WPX_PARAGRAPH_JUSTIFICATION_RIGHT
#define WPX_PARAGRAPH_JUSTIFICATION_RIGHT
Definition: libwpd_internal.h:137
WPXFormOrientation
WPXFormOrientation
Definition: libwpd_internal.h:105
WPX_UNDERLINE_BIT
#define WPX_UNDERLINE_BIT
Definition: libwpd_internal.h:128
WP3FileStructure.h
WP3_ATTRIBUTE_REDLINE
#define WP3_ATTRIBUTE_REDLINE
Definition: WP3FileStructure.h:79
WPXColumnProperties
Definition: libwpd_internal.h:187
WP3ContentListener::_handleSubDocument
void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice=0) override
Definition: WP3ContentListener.cpp:1110
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
WP3ContentListener::justificationChange
void justificationChange(unsigned char justification) override
Definition: WP3ContentListener.cpp:437
WP3ContentListener::insertRow
void insertRow()
Definition: WP3ContentListener.cpp:238
WP3ContentListener::insertCharacter
void insertCharacter(unsigned character) override
Definition: WP3ContentListener.cpp:67
WP3ContentListener::setTextFont
void setTextFont(const librevenge::RVNGString &fontName) override
Definition: WP3ContentListener.cpp:578
WPX_RIGHT
#define WPX_RIGHT
Definition: libwpd_internal.h:161
WP3ContentListener::m_parseState
std::unique_ptr< WP3ContentParsingState > m_parseState
Definition: WP3ContentListener.h:141
WP3ContentListener::backTab
void backTab() override
Definition: WP3ContentListener.cpp:650
WPXContentListener::_closeTableRow
void _closeTableRow()
Definition: WPXContentListener.cpp:1034
WPXContentListener::_closeTable
void _closeTable()
Definition: WPXContentListener.cpp:970
WPX_SHADOW_BIT
#define WPX_SHADOW_BIT
Definition: libwpd_internal.h:123
WPXContentListener::endSubDocument
void endSubDocument()
Definition: WPXContentListener.cpp:180
WP3ContentListener::insertNote
void insertNote(WPXNoteType noteType, const WP3SubDocument *subDocument) override
Definition: WP3ContentListener.cpp:616
WPXSubDocument
Definition: WPXSubDocument.h:37
WPX_LEFT
#define WPX_LEFT
Definition: libwpd_internal.h:160
WPXTextColumnType
WPXTextColumnType
Definition: libwpd_internal.h:109
WP3_ATTRIBUTE_SMALL_CAPS
#define WP3_ATTRIBUTE_SMALL_CAPS
Definition: WP3FileStructure.h:89
WP3_ATTRIBUTE_ITALICS
#define WP3_ATTRIBUTE_ITALICS
Definition: WP3FileStructure.h:74
WPXContentListener::_getPreviousTabStop
double _getPreviousTabStop() const
Definition: WPXContentListener.cpp:1362
WPX_SUBSCRIPT_BIT
#define WPX_SUBSCRIPT_BIT
Definition: libwpd_internal.h:120
WP3ContentListener::startTable
void startTable() override
Definition: WP3ContentListener.cpp:217
WPX_PARAGRAPH_JUSTIFICATION_FULL_ALL_LINES
#define WPX_PARAGRAPH_JUSTIFICATION_FULL_ALL_LINES
Definition: libwpd_internal.h:138
WPXColumnDefinition::m_width
double m_width
Definition: libwpd_internal.h:181
WP3_ATTRIBUTE_SUBSCRIPT
#define WP3_ATTRIBUTE_SUBSCRIPT
Definition: WP3FileStructure.h:81
WP3ContentListener::addTableColumnDefinition
void addTableColumnDefinition(unsigned width, unsigned leftGutter, unsigned rightGutter, unsigned attributes, unsigned char alignment) override
Definition: WP3ContentListener.cpp:192
WPXContentListener::_closeParagraph
void _closeParagraph()
Definition: WPXContentListener.cpp:725
WP3ContentParsingState::m_tableList
WPXTableList m_tableList
Definition: WP3ContentListener.h:46
WP3ContentListener::setTableCellFillColor
void setTableCellFillColor(const RGBSColor *cellFillColor) override
Definition: WP3ContentListener.cpp:291
WPX_SUBDOCUMENT_NOTE
@ WPX_SUBDOCUMENT_NOTE
Definition: libwpd_internal.h:111
WPXContentListener::_openSection
void _openSection()
Definition: WPXContentListener.cpp:193
WP3_ATTRIBUTE_SMALL_PRINT
#define WP3_ATTRIBUTE_SMALL_PRINT
Definition: WP3FileStructure.h:87
WPXContentListener::m_ps
std::unique_ptr< WPXContentParsingState > m_ps
Definition: WPXContentListener.h:162
WP3Listener
Definition: WP3Listener.h:39
WPXColumnProperties::m_attributes
unsigned m_attributes
Definition: libwpd_internal.h:189
libwpd_internal.h
WPXNoteType
WPXNoteType
Definition: libwpd_internal.h:93
WP3ContentListener::headerFooterGroup
void headerFooterGroup(unsigned char headerFooterType, unsigned char occurrenceBits, const std::shared_ptr< WP3SubDocument > &subDocument) override
Definition: WP3ContentListener.cpp:1155
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
WP3ContentListener::insertTab
void insertTab() override
Definition: WP3ContentListener.cpp:78
WP3ContentParsingState::operator=
WP3ContentParsingState & operator=(const WP3ContentParsingState &)
WPX_BOLD_BIT
#define WPX_BOLD_BIT
Definition: libwpd_internal.h:126
WP3_TAB_GROUP_CENTER
#define WP3_TAB_GROUP_CENTER
Definition: WP3FileStructure.h:61
WP3ContentParsingState::m_noteReference
librevenge::RVNGString m_noteReference
Definition: WP3ContentListener.h:44
WP3ContentListener::attributeChange
void attributeChange(bool isOn, unsigned char attribute) override
Definition: WP3ContentListener.cpp:313
WPXContentListener
Definition: WPXContentListener.h:148
WPXContentListener::_getNextTabStop
double _getNextTabStop() const
Definition: WPXContentListener.cpp:1344
WP3ContentListener::indentFirstLineChange
void indentFirstLineChange(double offset) override
Definition: WP3ContentListener.cpp:467
WPX_SUBDOCUMENT_HEADER_FOOTER
@ WPX_SUBDOCUMENT_HEADER_FOOTER
Definition: libwpd_internal.h:111
WP3_ATTRIBUTE_UNDERLINE
#define WP3_ATTRIBUTE_UNDERLINE
Definition: WP3FileStructure.h:75
WPX_NUM_WPUS_PER_INCH
#define WPX_NUM_WPUS_PER_INCH
Definition: WPXFileStructure.h:30
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
libwpd::WPD_FILE_FORMAT_WP5
@ WPD_FILE_FORMAT_WP5
Definition: WPDocument.h:53
WPXSubDocument::getStream
WPXMemoryInputStream * getStream() const
Definition: WPXSubDocument.h:42
WP3Listener.h
ARABIC
@ ARABIC
Definition: libwpd_internal.h:92
WPXContentListener::m_documentInterface
librevenge::RVNGTextInterface * m_documentInterface
Definition: WPXContentListener.h:163
WPXContentListener::_mapNonUnicodeCharacter
unsigned _mapNonUnicodeCharacter(unsigned character)
Definition: WPXContentListener.cpp:1450
WP3ContentListener::operator=
WP3ContentListener & operator=(const WP3ContentListener &)
WP3_ATTRIBUTE_DOUBLE_UNDERLINE
#define WP3_ATTRIBUTE_DOUBLE_UNDERLINE
Definition: WP3FileStructure.h:83
WP3ContentParsingState::WP3ContentParsingState
WP3ContentParsingState()
Definition: WP3ContentListener.cpp:37
WPXContentListener::handleSubDocument
void handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, unsigned nextTableIndice)
Creates an new document state.
Definition: WPXContentListener.cpp:1195
WPX_TABLE_POSITION_ABSOLUTE_FROM_LEFT_MARGIN
#define WPX_TABLE_POSITION_ABSOLUTE_FROM_LEFT_MARGIN
Definition: libwpd_internal.h:146
WP3ContentListener::setTableCellSpan
void setTableCellSpan(unsigned short colSpan, unsigned short rowSpan) override
Definition: WP3ContentListener.cpp:282
WPX_VERY_LARGE_BIT
#define WPX_VERY_LARGE_BIT
Definition: libwpd_internal.h:115
WPXColumnProperties::m_alignment
unsigned char m_alignment
Definition: libwpd_internal.h:190
_extractWPXNumberingTypeFromBuf
WPXNumberingType _extractWPXNumberingTypeFromBuf(const librevenge::RVNGString &buf, const WPXNumberingType putativeWPXNumberingType)
Definition: libwpd_internal.cpp:1303
WP3ContentListener.h
WPXContentListener::_closeTableCell
void _closeTableCell()
Definition: WPXContentListener.cpp:1172
WP3ContentListener::closeCell
void closeCell() override
Definition: WP3ContentListener.cpp:261
WP3SubDocument
Definition: WP3SubDocument.h:34
WP3ContentListener::endDocument
void endDocument() override
Definition: WP3ContentListener.h:86
WP3ContentListener::insertWP51Table
void insertWP51Table(double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn, unsigned short figureFlags, const WP3SubDocument *subDocument, const WP3SubDocument *caption) override
Definition: WP3ContentListener.cpp:839
WPXContentListener::_openPageSpan
void _openPageSpan()
Definition: WPXContentListener.cpp:295
WPXTableList
Definition: WPXTableList.h:36
WP3ContentListener::insertCell
void insertCell()
Definition: WP3ContentListener.cpp:244
WPX_ITALICS_BIT
#define WPX_ITALICS_BIT
Definition: libwpd_internal.h:122
WPXContentListener::_openTable
void _openTable()
Definition: WPXContentListener.cpp:911
WP3ContentListener::insertEOL
void insertEOL() override
Definition: WP3ContentListener.cpp:132
WPXColumnDefinition::m_leftGutter
double m_leftGutter
Definition: libwpd_internal.h:182
WP3_ATTRIBUTE_SUPERSCRIPT
#define WP3_ATTRIBUTE_SUPERSCRIPT
Definition: WP3FileStructure.h:82
WPXContentListener::startSubDocument
void startSubDocument()
Definition: WPXContentListener.cpp:153
WP3_ATTRIBUTE_BOLD
#define WP3_ATTRIBUTE_BOLD
Definition: WP3FileStructure.h:73
WPX_PARAGRAPH_JUSTIFICATION_LEFT
#define WPX_PARAGRAPH_JUSTIFICATION_LEFT
Definition: libwpd_internal.h:134
WP3ContentListener::_handleFrameParameters
void _handleFrameParameters(librevenge::RVNGPropertyList &propList, double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn, unsigned short figureFlags)
Definition: WP3ContentListener.cpp:872
WP3ContentListener::WP3ContentListener
WP3ContentListener(const WP3ContentListener &)
WP3_ATTRIBUTE_OUTLINE
#define WP3_ATTRIBUTE_OUTLINE
Definition: WP3FileStructure.h:76
WPXContentListener::_closeSection
void _closeSection()
Definition: WPXContentListener.cpp:233
WP3ContentListener::_flushText
void _flushText() override
Definition: WP3ContentListener.cpp:1180
WPXListener::isUndoOn
bool isUndoOn()
Definition: WPXListener.h:40
WPX_SUBDOCUMENT_TEXT_BOX
@ WPX_SUBDOCUMENT_TEXT_BOX
Definition: libwpd_internal.h:111
WP3ContentListener::columnChange
void columnChange(WPXTextColumnType columnType, unsigned char numColumns, const std::vector< double > &columnWidth, const std::vector< bool > &isFixedWidth) override
Definition: WP3ContentListener.cpp:490
WPX_TABLE_POSITION_CENTER_BETWEEN_MARGINS
#define WPX_TABLE_POSITION_CENTER_BETWEEN_MARGINS
Definition: libwpd_internal.h:144
WP3ContentListener::pageFormChange
void pageFormChange(unsigned short, unsigned short, WPXFormOrientation) override
Definition: WP3ContentListener.h:80
WP3_ATTRIBUTE_EXTRA_LARGE
#define WP3_ATTRIBUTE_EXTRA_LARGE
Definition: WP3FileStructure.h:84
WP3ContentListener::marginChange
void marginChange(unsigned char side, unsigned short margin) override
Definition: WP3ContentListener.cpp:392
WP3ContentParsingState::m_rowSpan
unsigned short m_rowSpan
Definition: WP3ContentListener.h:41
WPX_PARAGRAPH_JUSTIFICATION_CENTER
#define WPX_PARAGRAPH_JUSTIFICATION_CENTER
Definition: libwpd_internal.h:136
WP3ContentListener::startSubDocument
void startSubDocument() override
Definition: WP3ContentListener.h:62
WPX_OUTLINE_BIT
#define WPX_OUTLINE_BIT
Definition: libwpd_internal.h:121
WP3ContentListener::leftIndent
void leftIndent() override
Definition: WP3ContentListener.cpp:670
WP3ContentParsingState
Definition: WP3ContentListener.h:37
WP3ContentListener::insertPageNumber
void insertPageNumber(const librevenge::RVNGString &pageNumber) override
Definition: WP3ContentListener.cpp:598
WP3_ATTRIBUTE_LARGE
#define WP3_ATTRIBUTE_LARGE
Definition: WP3FileStructure.h:86
WP3ContentListener::defineTable
void defineTable(unsigned char position, unsigned short leftOffset) override
Definition: WP3ContentListener.cpp:157
WPX_TABLE_POSITION_ALIGN_WITH_LEFT_MARGIN
#define WPX_TABLE_POSITION_ALIGN_WITH_LEFT_MARGIN
Definition: libwpd_internal.h:142
WP3ContentListener
Definition: WP3ContentListener.h:53
WPXFileStructure.h
WPX_STRIKEOUT_BIT
#define WPX_STRIKEOUT_BIT
Definition: libwpd_internal.h:127
WP3ContentParsingState::m_cellFillColor
std::unique_ptr< RGBSColor > m_cellFillColor
Definition: WP3ContentListener.h:43
WPXNumberingType
WPXNumberingType
Definition: libwpd_internal.h:92
TOP
@ TOP
Definition: libwpd_internal.h:107
WP3ContentParsingState::~WP3ContentParsingState
~WP3ContentParsingState()
Definition: WP3ContentListener.cpp:47
WPXSubDocumentType
WPXSubDocumentType
Definition: libwpd_internal.h:111
WPX_SMALL_CAPS_BIT
#define WPX_SMALL_CAPS_BIT
Definition: libwpd_internal.h:129
WPX_PARAGRAPH_JUSTIFICATION_FULL
#define WPX_PARAGRAPH_JUSTIFICATION_FULL
Definition: libwpd_internal.h:135
WPX_TABLE_POSITION_ALIGN_WITH_RIGHT_MARGIN
#define WPX_TABLE_POSITION_ALIGN_WITH_RIGHT_MARGIN
Definition: libwpd_internal.h:143
WP3ContentListener::startDocument
void startDocument() override
Definition: WP3ContentListener.h:58
WP3ContentListener::suppressPage
void suppressPage(unsigned short) override
Definition: WP3ContentListener.h:115
WP3ContentListener::leftRightIndent
void leftRightIndent() override
Definition: WP3ContentListener.cpp:726
WP3ContentListener::insertNoteReference
void insertNoteReference(const librevenge::RVNGString &noteReference) override
Definition: WP3ContentListener.cpp:608
WP3SubDocument.h
WP3ContentListener::closeRow
void closeRow() override
Definition: WP3ContentListener.cpp:272
WP3_ATTRIBUTE_VERY_LARGE
#define WP3_ATTRIBUTE_VERY_LARGE
Definition: WP3FileStructure.h:85
appendUCS4
void appendUCS4(librevenge::RVNGString &str, unsigned ucs4)
Definition: libwpd_internal.cpp:154
WP3ContentListener::pageMarginChange
void pageMarginChange(unsigned char, unsigned short) override
Definition: WP3ContentListener.h:79
WPXContentListener::_openTableRow
void _openTableRow(const double height, const bool isMinimumHeight, const bool isHeaderRow)
Definition: WPXContentListener.cpp:999
_extractDisplayReferenceNumberFromBuf
int _extractDisplayReferenceNumberFromBuf(const librevenge::RVNGString &buf, const WPXNumberingType listType)
Definition: libwpd_internal.cpp:1257
WP3ContentListener::setTextColor
void setTextColor(const RGBSColor *fontColor) override
Definition: WP3ContentListener.cpp:568
WPXContentListener::_insertText
void _insertText(const librevenge::RVNGString &textBuffer)
Definition: WPXContentListener.cpp:624
WP3ContentListener::WP3ContentListener
WP3ContentListener(std::list< WPXPageSpan > &pageList, librevenge::RVNGTextInterface *documentInterface)
Definition: WP3ContentListener.cpp:51
WP3ContentParsingState::m_textBuffer
librevenge::RVNGString m_textBuffer
Definition: WP3ContentListener.h:42
WP3_ATTRIBUTE_SHADOW
#define WP3_ATTRIBUTE_SHADOW
Definition: WP3FileStructure.h:77
WP3ContentListener::lineSpacingChange
void lineSpacingChange(double lineSpacing) override
Definition: WP3ContentListener.h:75
WP3ContentListener::endTable
void endTable() override
Definition: WP3ContentListener.cpp:297
WP3ContentListener::insertPicture
void insertPicture(double height, double width, double verticalOffset, double horizontalOffset, unsigned char leftColumn, unsigned char rightColumn, unsigned short figureFlags, const librevenge::RVNGBinaryData &binaryData) override
Definition: WP3ContentListener.cpp:786
WPX_SUBDOCUMENT_COMMENT_ANNOTATION
@ WPX_SUBDOCUMENT_COMMENT_ANNOTATION
Definition: libwpd_internal.h:111
FOOTNOTE
@ FOOTNOTE
Definition: libwpd_internal.h:93
WP3ContentListener::endSubDocument
void endSubDocument() override
Definition: WP3ContentListener.h:90
libwpd
Definition: libwpd_internal.h:56
WPX_LARGE_BIT
#define WPX_LARGE_BIT
Definition: libwpd_internal.h:116
WPXContentListener.h
WP3ContentListener::undoChange
void undoChange(unsigned char undoType, unsigned short undoLevel) override
Definition: WP3ContentListener.cpp:384
WP3ContentListener::setTabs
void setTabs(bool isRelative, const std::vector< WPXTabStop > tabStops) override
Definition: WP3ContentListener.cpp:481
WP3_ATTRIBUTE_STRIKE_OUT
#define WP3_ATTRIBUTE_STRIKE_OUT
Definition: WP3FileStructure.h:80
WP3_ATTRIBUTE_FINE_PRINT
#define WP3_ATTRIBUTE_FINE_PRINT
Definition: WP3FileStructure.h:88
WP3ContentListener::~WP3ContentListener
~WP3ContentListener() override
Definition: WP3ContentListener.cpp:58
WPX_EXTRA_LARGE_BIT
#define WPX_EXTRA_LARGE_BIT
Definition: libwpd_internal.h:114
WPX_TABLE_POSITION_FULL
#define WPX_TABLE_POSITION_FULL
Definition: libwpd_internal.h:145
ParseException
Definition: libwpd_internal.h:213
WP3ContentListener::_openParagraph
void _openParagraph() override
Definition: WP3ContentListener.cpp:1159

Generated for libwpd by doxygen 1.8.20