WP6StylesListener.h Source File documentation

WP6StylesListener.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) 2003 William Lachance (wrlach@gmail.com)
11 * Copyright (C) 2003 Marc Maurer (uwog@uwog.net)
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 // WP6StylesListener: creates an intermediate table representation, given a
28 // sequence of messages passed to it by the parser.
29
30 #ifndef WP6STYLESLISTENER_H
31 #define WP6STYLESLISTENER_H
32
33 #include "WP6Listener.h"
34 #include "WPXStylesListener.h"
35 #include <vector>
36 #include <set>
37 #include <list>
38 #include "WPXPageSpan.h"
39 #include "WPXTable.h"
40
41 class WPXSubDocument;
42
43 class WP6StylesListener : public WP6Listener, protected WPXStylesListener
44 {
45 public:
46 WP6StylesListener(std::list<WPXPageSpan> &pageList, WPXTableList tableList);
47
48 void setDate(const unsigned short /* type */, const unsigned short /* year */,
49 const unsigned char /* month */, const unsigned char /* day */,
50 const unsigned char /* hour */, const unsigned char /* minute */,
51 const unsigned char /* second */, const unsigned char /* dayOfWeek */,
52 const unsigned char /* timeZone */, const unsigned char /* unused */) override {}
53 void setExtendedInformation(const unsigned short /* type */, const librevenge::RVNGString & /*data*/) override {}
54 void startDocument() override {}
55 void startSubDocument() override {}
56 void setAlignmentCharacter(const unsigned /* character */) override {}
57 void setLeaderCharacter(const unsigned /* character */, const unsigned char /* numberOfSpaces */) override {}
58 void defineTabStops(const bool /* isRelative */, const std::vector<WPXTabStop> & /* tabStops */,
59 const std::vector<bool> & /* usePreWP9LeaderMethods */) override {}
60 void insertCharacter(unsigned /* character */) override
61 {
62 if (!isUndoOn()) m_currentPageHasContent = true;
63 }
64 void insertTab(const unsigned char /* tabType */, double /* tabPosition */) override
65 {
66 if (!isUndoOn()) m_currentPageHasContent = true;
67 }
68 void handleLineBreak() override
69 {
70 if (!isUndoOn()) m_currentPageHasContent = true;
71 }
72 void insertEOL() override
73 {
74 if (!isUndoOn()) m_currentPageHasContent = true;
75 }
76 void insertBreak(const unsigned char breakType) override;
77 void characterColorChange(const unsigned char /* red */, const unsigned char /* green */, const unsigned char /* blue */) override {}
78 void characterShadingChange(const unsigned char /* shading */) override {}
79 void highlightChange(const bool /* isOn */, const RGBSColor & /* color */) override {}
80 void fontChange(const unsigned short /* matchedFontPointSize */, const unsigned short /* fontPID */, const librevenge::RVNGString & /* fontName */) override {}
81 void attributeChange(const bool /* isOn */, const unsigned char /* attribute */) override {}
82 void lineSpacingChange(const double /* lineSpacing */) override {}
83 void spacingAfterParagraphChange(const double /* spacingRelative */, const double /* spacingAbsolute */) override {}
84 void justificationChange(const unsigned char /* justification */) override {}
85 void pageNumberingChange(const WPXPageNumberPosition /* page numbering position */, const unsigned short /* matchedFontPointSize */, const unsigned short /* fontPID */) override;
86 void pageMarginChange(const unsigned char side, const unsigned short margin) override;
87 void pageFormChange(const unsigned short length, const unsigned short width, const WPXFormOrientation orientation) override;
88 void marginChange(const unsigned char side, const unsigned short margin) override;
89 void paragraphMarginChange(const unsigned char /* side */, const signed short /* margin */) override {}
90 void indentFirstLineChange(const signed short /* offset */) override {}
91 void columnChange(const WPXTextColumnType /* columnType */, const unsigned char /* numColumns */,
92 const std::vector<double> & /* columnWidth */, const std::vector<bool> & /* isFixedWidth */) override {}
93 void updateOutlineDefinition(const unsigned short /* outlineHash */, const unsigned char * /* numberingMethods */, const unsigned char /* tabBehaviourFlag */) override {}
94
95 void paragraphNumberOn(const unsigned short /* outlineHash */, const unsigned char /* level */, const unsigned char /* flag */) override {}
96 void paragraphNumberOff() override
97 {
98 if (!isUndoOn()) m_currentPageHasContent = true;
99 }
100 void displayNumberReferenceGroupOn(const unsigned char /* subGroup */, const unsigned char /* level */) override {}
101 void displayNumberReferenceGroupOff(const unsigned char /* subGroup */) override
102 {
103 if (!isUndoOn()) m_currentPageHasContent = true;
104 }
105 void styleGroupOn(const unsigned char /* subGroup */) override {}
106 void styleGroupOff(const unsigned char /* subGroup */) override {}
107 void globalOn(const unsigned char /* systemStyle */) override {}
108 void globalOff() override {}
109 void noteOn(const unsigned short textPID) override;
110 void noteOff(const WPXNoteType /* noteType */) override {}
111 void headerFooterGroup(const unsigned char headerFooterType, const unsigned char occurrenceBits, const unsigned short textPID) override;
112 void suppressPageCharacteristics(const unsigned char suppressCode) override;
113 void setPageNumber(const unsigned short pageNumber) override;
114 void setPageNumberingType(const WPXNumberingType pageNumberingType) override;
115
116 void endDocument() override;
117 void endSubDocument() override;
118
119 void defineTable(const unsigned char position, const unsigned short leftOffset) override;
120 void addTableColumnDefinition(const unsigned /* width */, const unsigned /* leftGutter */, const unsigned /* rightGutter */,
121 const unsigned /* attributes */, const unsigned char /* alignment */) override {}
122 void startTable() override;
123 void insertRow(const unsigned short rowHeight, const bool isMinimumHeight, const bool isHeaderRow) override;
124 void insertCell(const unsigned char colSpan, const unsigned char rowSpan, const unsigned char borderBits,
125 const RGBSColor *cellFgColor, const RGBSColor *cellBgColor,
126 const RGBSColor *cellBorderColor, const WPXVerticalAlignment cellVerticalAlignment,
127 const bool useCellAttributes, const unsigned cellAttributes) override;
128 void endTable() override;
129 void boxOn(const unsigned char /* anchoringType */, const unsigned char /* generalPositioningFlags */, const unsigned char /* horizontalPositioningFlags */,
130 const signed short /* horizontalOffset */, const unsigned char /* leftColumn */, const unsigned char /* rightColumn */,
131 const unsigned char /* verticalPositioningFlags */, const signed short /* verticalOffset */, const unsigned char /* widthFlags */,
132 const unsigned short /* width */, const unsigned char /* heightFlags */, const unsigned short /* height */, const unsigned char /* boxContentType */,
133 const unsigned short /* nativeWidth */, const unsigned short /* nativeHeight */,
134 const librevenge::RVNGString & /* linkTarget */) override {}
135 void boxOff() override {}
136 void insertGraphicsData(const unsigned short /* packetId */) override {}
137 void insertTextBox(const WP6SubDocument *subDocument) override;
138 void commentAnnotation(const unsigned short textPID) override;
139
140 void undoChange(const unsigned char undoType, const unsigned short undoLevel) override;
141
142 protected:
143 void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, int nextTableIndice = 0);
144
145 void _flushText() {}
146 void _changeList() {}
147
148 private:
149 WP6StylesListener(const WP6StylesListener &);
150 WP6StylesListener &operator=(const WP6StylesListener &);
151 WPXPageSpan m_currentPage;
152
153 WPXTableList m_tableList;
154 std::shared_ptr<WPXTable> m_currentTable;
155 double m_tempMarginLeft, m_tempMarginRight;
156 bool m_currentPageHasContent;
157 bool m_isTableDefined;
158 bool m_isSubDocument;
159 std::set <const WPXSubDocument *> m_subDocuments;
160 std::list<WPXPageSpan>::iterator m_pageListHardPageMark;
161 };
162
163 #endif /* WP6STYLESLISTENER_H */
164 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WPXPageSpan::setPageNumberSuppression
void setPageNumberSuppression(const bool suppress)
Definition: WPXPageSpan.h:121
WP6StylesListener::highlightChange
void highlightChange(const bool, const RGBSColor &) override
Definition: WP6StylesListener.h:79
WPXPageSpan.h
WP6StylesListener::updateOutlineDefinition
void updateOutlineDefinition(const unsigned short, const unsigned char *, const unsigned char) override
Definition: WP6StylesListener.h:93
WPXPageSpan::setMarginBottom
void setMarginBottom(const double marginBottom)
Definition: WPXPageSpan.h:153
FOOTER
@ FOOTER
Definition: libwpd_internal.h:94
WPXPageSpan::setPageSpan
void setPageSpan(const int pageSpan)
Definition: WPXPageSpan.h:178
WP6StylesListener::styleGroupOn
void styleGroupOn(const unsigned char) override
Definition: WP6StylesListener.h:105
WP6StylesListener::paragraphMarginChange
void paragraphMarginChange(const unsigned char, const signed short) override
Definition: WP6StylesListener.h:89
WP6Listener.h
WP6StylesListener::_flushText
void _flushText()
Definition: WP6StylesListener.h:145
WP6StylesListener::insertBreak
void insertBreak(const unsigned char breakType) override
Definition: WP6StylesListener.cpp:65
WP6StylesListener::justificationChange
void justificationChange(const unsigned char) override
Definition: WP6StylesListener.h:84
WP6StylesListener::insertGraphicsData
void insertGraphicsData(const unsigned short) override
Definition: WP6StylesListener.h:136
WPXListener::setUndoOn
void setUndoOn(bool isOn)
Definition: WPXListener.h:44
WP6StylesListener::lineSpacingChange
void lineSpacingChange(const double) override
Definition: WP6StylesListener.h:82
WP6StylesListener::m_isTableDefined
bool m_isTableDefined
Definition: WP6StylesListener.h:157
WPX_HEADER_A
#define WPX_HEADER_A
Definition: WPXFileStructure.h:42
WP6StylesListener::startDocument
void startDocument() override
Definition: WP6StylesListener.h:54
WP6FileStructure.h
WPXVerticalAlignment
WPXVerticalAlignment
Definition: libwpd_internal.h:107
WPXPageNumberPosition
WPXPageNumberPosition
Definition: libwpd_internal.h:97
WP6SubDocument
Definition: WP6SubDocument.h:34
WP6StylesListener::WP6StylesListener
WP6StylesListener(const WP6StylesListener &)
WP6StylesListener::startTable
void startTable() override
Definition: WP6StylesListener.cpp:276
WPXFormOrientation
WPXFormOrientation
Definition: libwpd_internal.h:105
WP6StylesListener::setPageNumberingType
void setPageNumberingType(const WPXNumberingType pageNumberingType) override
Definition: WP6StylesListener.cpp:257
WP6Listener::getPrefixDataPacket
const WP6PrefixDataPacket * getPrefixDataPacket(const int prefixID) const
Definition: WP6Listener.cpp:44
WP6StylesListener::m_tempMarginLeft
double m_tempMarginLeft
Definition: WP6StylesListener.h:155
WP6StylesListener::setDate
void setDate(const unsigned short, const unsigned short, const unsigned char, const unsigned char, const unsigned char, const unsigned char, const unsigned char, const unsigned char, const unsigned char, const unsigned char) override
Definition: WP6StylesListener.h:48
wpuToFontPointSize
double wpuToFontPointSize(const unsigned short wpuNumber)
Definition: libwpd_internal.cpp:1179
WP6StylesListener::headerFooterGroup
void headerFooterGroup(const unsigned char headerFooterType, const unsigned char occurrenceBits, const unsigned short textPID) override
Definition: WP6StylesListener.cpp:201
WPXTable.h
RGBSColor
Definition: libwpd_internal.h:167
WP6StylesListener::attributeChange
void attributeChange(const bool, const unsigned char) override
Definition: WP6StylesListener.h:81
WPXPageSpan::setPageNumberPosition
void setPageNumberPosition(const WPXPageNumberPosition pageNumberPosition)
Definition: WPXPageSpan.h:157
WP6StylesListener::startSubDocument
void startSubDocument() override
Definition: WP6StylesListener.h:55
WPX_RIGHT
#define WPX_RIGHT
Definition: libwpd_internal.h:161
WP6StylesListener::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: WP6StylesListener.cpp:306
WP6StylesListener::indentFirstLineChange
void indentFirstLineChange(const signed short) override
Definition: WP6StylesListener.h:90
WP6StylesListener::WP6StylesListener
WP6StylesListener(std::list< WPXPageSpan > &pageList, WPXTableList tableList)
Definition: WP6StylesListener.cpp:39
WPX_FOOTER_A
#define WPX_FOOTER_A
Definition: WPXFileStructure.h:44
WPD_DEBUG_MSG
#define WPD_DEBUG_MSG(M)
Definition: libwpd_internal.h:50
WPXSubDocument
Definition: WPXSubDocument.h:37
WPX_LEFT
#define WPX_LEFT
Definition: libwpd_internal.h:160
WPXTextColumnType
WPXTextColumnType
Definition: libwpd_internal.h:109
WP6StylesListener.h
WP6StylesListener::boxOff
void boxOff() override
Definition: WP6StylesListener.h:135
WP6StylesListener::defineTabStops
void defineTabStops(const bool, const std::vector< WPXTabStop > &, const std::vector< bool > &) override
Definition: WP6StylesListener.h:58
WPXPageSpan::setMarginRight
void setMarginRight(const double marginRight)
Definition: WPXPageSpan.h:145
HEADER
@ HEADER
Definition: libwpd_internal.h:94
WP6StylesListener::m_pageListHardPageMark
std::list< WPXPageSpan >::iterator m_pageListHardPageMark
Definition: WP6StylesListener.h:160
WP6_PAGE_GROUP_SUPPRESS_HEADER_A
#define WP6_PAGE_GROUP_SUPPRESS_HEADER_A
Definition: WP6FileStructure.h:213
WP6_HEADER_FOOTER_GROUP_ODD_BIT
#define WP6_HEADER_FOOTER_GROUP_ODD_BIT
Definition: WP6FileStructure.h:337
WPX_TOP
#define WPX_TOP
Definition: libwpd_internal.h:163
WP6StylesListener::setExtendedInformation
void setExtendedInformation(const unsigned short, const librevenge::RVNGString &) override
Definition: WP6StylesListener.h:53
WP6StylesListener::undoChange
void undoChange(const unsigned char undoType, const unsigned short undoLevel) override
Definition: WP6StylesListener.cpp:384
WPX_SOFT_PAGE_BREAK
#define WPX_SOFT_PAGE_BREAK
Definition: libwpd_internal.h:156
WP6_UNDO_GROUP_INVALID_TEXT_START
#define WP6_UNDO_GROUP_INVALID_TEXT_START
Definition: WP6FileStructure.h:551
WPX_SUBDOCUMENT_NOTE
@ WPX_SUBDOCUMENT_NOTE
Definition: libwpd_internal.h:111
WPX_PAGE_BREAK
#define WPX_PAGE_BREAK
Definition: libwpd_internal.h:155
WPXPageSpan::setPageNumberingFontName
void setPageNumberingFontName(const librevenge::RVNGString &pageNumberingFontName)
Definition: WPXPageSpan.h:174
libwpd_internal.h
WP6StylesListener::m_subDocuments
std::set< const WPXSubDocument * > m_subDocuments
Definition: WP6StylesListener.h:159
WPXNoteType
WPXNoteType
Definition: libwpd_internal.h:93
WP6Listener
Definition: WP6Listener.h:41
WP6StylesListener::marginChange
void marginChange(const unsigned char side, const unsigned short margin) override
Definition: WP6StylesListener.cpp:154
WPXPageSpan::setHeaderFooter
void setHeaderFooter(const WPXHeaderFooterType type, const unsigned char headerFooterType, const WPXHeaderFooterOccurrence occurrence, const std::shared_ptr< WPXSubDocument > &subDocument, WPXTableList tableList)
Definition: WPXPageSpan.cpp:87
WP6StylesListener::m_isSubDocument
bool m_isSubDocument
Definition: WP6StylesListener.h:158
ALL
@ ALL
Definition: libwpd_internal.h:96
WPXPageSpan::getMarginRight
double getMarginRight() const
Definition: WPXPageSpan.h:74
WPXPageSpan::setMarginLeft
void setMarginLeft(const double marginLeft)
Definition: WPXPageSpan.h:141
WPXPageSpan::setPageNumberingFontSize
void setPageNumberingFontSize(const double pageNumberingFontSize)
Definition: WPXPageSpan.h:170
WPX_SUBDOCUMENT_HEADER_FOOTER
@ WPX_SUBDOCUMENT_HEADER_FOOTER
Definition: libwpd_internal.h:111
WP6StylesListener::endDocument
void endDocument() override
Definition: WP6StylesListener.cpp:55
WP6_PAGE_GROUP_SUPPRESS_HEADER_B
#define WP6_PAGE_GROUP_SUPPRESS_HEADER_B
Definition: WP6FileStructure.h:214
WP6_PAGE_GROUP_SUPPRESS_FOOTER_A
#define WP6_PAGE_GROUP_SUPPRESS_FOOTER_A
Definition: WP6FileStructure.h:215
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
WP6StylesListener::_changeList
void _changeList()
Definition: WP6StylesListener.h:146
WP6StylesListener::suppressPageCharacteristics
void suppressPageCharacteristics(const unsigned char suppressCode) override
Definition: WP6StylesListener.cpp:229
WP6StylesListener::defineTable
void defineTable(const unsigned char position, const unsigned short leftOffset) override
Definition: WP6StylesListener.cpp:265
WP6StylesListener::commentAnnotation
void commentAnnotation(const unsigned short textPID) override
Definition: WP6StylesListener.cpp:336
WPXTableList::add
void add(const std::shared_ptr< WPXTable > &table)
Definition: WPXTableList.h:44
WP6StylesListener::setPageNumber
void setPageNumber(const unsigned short pageNumber) override
Definition: WP6StylesListener.cpp:249
WP6StylesListener::insertTextBox
void insertTextBox(const WP6SubDocument *subDocument) override
Definition: WP6StylesListener.cpp:327
WP6StylesListener::boxOn
void boxOn(const unsigned char, const unsigned char, const unsigned char, const signed short, const unsigned char, const unsigned char, const unsigned char, const signed short, const unsigned char, const unsigned short, const unsigned char, const unsigned short, const unsigned char, const unsigned short, const unsigned short, const librevenge::RVNGString &) override
Definition: WP6StylesListener.h:129
WP6StylesListener::insertTab
void insertTab(const unsigned char, double) override
Definition: WP6StylesListener.h:64
WP6StylesListener::styleGroupOff
void styleGroupOff(const unsigned char) override
Definition: WP6StylesListener.h:106
WP6StylesListener::insertEOL
void insertEOL() override
Definition: WP6StylesListener.h:72
WPXPageSpan::setFormWidth
void setFormWidth(const double formWidth)
Definition: WPXPageSpan.h:133
WP6StylesListener::globalOn
void globalOn(const unsigned char) override
Definition: WP6StylesListener.h:107
WP6StylesListener::pageNumberingChange
void pageNumberingChange(const WPXPageNumberPosition, const unsigned short, const unsigned short) override
Definition: WP6StylesListener.cpp:103
WPX_FOOTER_B
#define WPX_FOOTER_B
Definition: WPXFileStructure.h:45
EVEN
@ EVEN
Definition: libwpd_internal.h:96
WPXTableList
Definition: WPXTableList.h:36
WP6StylesListener::characterShadingChange
void characterShadingChange(const unsigned char) override
Definition: WP6StylesListener.h:78
WP6StylesListener::characterColorChange
void characterColorChange(const unsigned char, const unsigned char, const unsigned char) override
Definition: WP6StylesListener.h:77
WP6StylesListener::displayNumberReferenceGroupOff
void displayNumberReferenceGroupOff(const unsigned char) override
Definition: WP6StylesListener.h:101
WP6PrefixDataPacket.h
WP6StylesListener::setAlignmentCharacter
void setAlignmentCharacter(const unsigned) override
Definition: WP6StylesListener.h:56
WPXListener::isUndoOn
bool isUndoOn()
Definition: WPXListener.h:40
WPX_SUBDOCUMENT_TEXT_BOX
@ WPX_SUBDOCUMENT_TEXT_BOX
Definition: libwpd_internal.h:111
WP6StylesListener::setLeaderCharacter
void setLeaderCharacter(const unsigned, const unsigned char) override
Definition: WP6StylesListener.h:57
WP6StylesListener::spacingAfterParagraphChange
void spacingAfterParagraphChange(const double, const double) override
Definition: WP6StylesListener.h:83
WP6_PAGE_GROUP_SUPPRESS_PAGE_NUMBER
#define WP6_PAGE_GROUP_SUPPRESS_PAGE_NUMBER
Definition: WP6FileStructure.h:211
WPX_BOTTOM
#define WPX_BOTTOM
Definition: libwpd_internal.h:164
WPXPageSpan::setMarginTop
void setMarginTop(const double marginTop)
Definition: WPXPageSpan.h:149
WP6StylesListener::noteOff
void noteOff(const WPXNoteType) override
Definition: WP6StylesListener.h:110
WPXPageSpan
Definition: WPXPageSpan.h:43
WP6_PAGE_GROUP_SUPPRESS_FOOTER_B
#define WP6_PAGE_GROUP_SUPPRESS_FOOTER_B
Definition: WP6FileStructure.h:216
WP6StylesListener::handleLineBreak
void handleLineBreak() override
Definition: WP6StylesListener.h:68
WP6StylesListener::_handleSubDocument
void _handleSubDocument(const WPXSubDocument *subDocument, WPXSubDocumentType subDocumentType, WPXTableList tableList, int nextTableIndice=0)
Definition: WP6StylesListener.cpp:345
WP6StylesListener::endSubDocument
void endSubDocument() override
Definition: WP6StylesListener.cpp:60
WP6StylesListener::columnChange
void columnChange(const WPXTextColumnType, const unsigned char, const std::vector< double > &, const std::vector< bool > &) override
Definition: WP6StylesListener.h:91
WP6StylesListener::paragraphNumberOff
void paragraphNumberOff() override
Definition: WP6StylesListener.h:96
WPXListener::m_pageList
std::list< WPXPageSpan > & m_pageList
Definition: WPXListener.h:49
WP6StylesListener::m_currentPageHasContent
bool m_currentPageHasContent
Definition: WP6StylesListener.h:156
ODD
@ ODD
Definition: libwpd_internal.h:96
WPXFileStructure.h
WP6StylesListener::m_tableList
WPXTableList m_tableList
Definition: WP6StylesListener.h:153
WPXPageSpan::setFormLength
void setFormLength(const double formLength)
Definition: WPXPageSpan.h:129
WP6StylesListener::m_tempMarginRight
double m_tempMarginRight
Definition: WP6StylesListener.h:155
WP6StylesListener::globalOff
void globalOff() override
Definition: WP6StylesListener.h:108
WPXNumberingType
WPXNumberingType
Definition: libwpd_internal.h:92
WPXStylesListener
Definition: WPXStylesListener.h:34
WP6_HEADER_FOOTER_GROUP_FOOTER_B
#define WP6_HEADER_FOOTER_GROUP_FOOTER_B
Definition: WP6FileStructure.h:333
WP6StylesListener::displayNumberReferenceGroupOn
void displayNumberReferenceGroupOn(const unsigned char, const unsigned char) override
Definition: WP6StylesListener.h:100
WP6StylesListener::insertRow
void insertRow(const unsigned short rowHeight, const bool isMinimumHeight, const bool isHeaderRow) override
Definition: WP6StylesListener.cpp:297
WP6PrefixDataPacket::getSubDocument
virtual std::shared_ptr< WP6SubDocument > getSubDocument() const
Definition: WP6PrefixDataPacket.h:44
WP6StylesListener::m_currentTable
std::shared_ptr< WPXTable > m_currentTable
Definition: WP6StylesListener.h:154
WP6StylesListener::operator=
WP6StylesListener & operator=(const WP6StylesListener &)
WP6StylesListener::m_currentPage
WPXPageSpan m_currentPage
Definition: WP6StylesListener.h:151
WPXSubDocumentType
WPXSubDocumentType
Definition: libwpd_internal.h:111
WP6StylesListener
Definition: WP6StylesListener.h:44
WP6StylesListener::pageFormChange
void pageFormChange(const unsigned short length, const unsigned short width, const WPXFormOrientation orientation) override
Definition: WP6StylesListener.cpp:139
WPXPageSpan::setPageNumberingType
void setPageNumberingType(const WPXNumberingType pageNumberingType)
Definition: WPXPageSpan.h:166
WP6SubDocument.h
WPX_HEADER_B
#define WPX_HEADER_B
Definition: WPXFileStructure.h:43
WP6StylesListener::fontChange
void fontChange(const unsigned short, const unsigned short, const librevenge::RVNGString &) override
Definition: WP6StylesListener.h:80
WP6Listener::getFontNameForPID
librevenge::RVNGString getFontNameForPID(const int prefixID) const
Definition: WP6Listener.cpp:52
WP6StylesListener::pageMarginChange
void pageMarginChange(const unsigned char side, const unsigned short margin) override
Definition: WP6StylesListener.cpp:120
WP6_HEADER_FOOTER_GROUP_EVEN_BIT
#define WP6_HEADER_FOOTER_GROUP_EVEN_BIT
Definition: WP6FileStructure.h:338
WP6StylesListener::addTableColumnDefinition
void addTableColumnDefinition(const unsigned, const unsigned, const unsigned, const unsigned, const unsigned char) override
Definition: WP6StylesListener.h:120
WPXStylesListener.h
WP6_HEADER_FOOTER_GROUP_HEADER_B
#define WP6_HEADER_FOOTER_GROUP_HEADER_B
Definition: WP6FileStructure.h:331
WP6StylesListener::paragraphNumberOn
void paragraphNumberOn(const unsigned short, const unsigned char, const unsigned char) override
Definition: WP6StylesListener.h:95
WP6StylesListener::endTable
void endTable() override
Definition: WP6StylesListener.cpp:288
WPXHeaderFooterOccurrence
WPXHeaderFooterOccurrence
Definition: libwpd_internal.h:96
WPX_SUBDOCUMENT_COMMENT_ANNOTATION
@ WPX_SUBDOCUMENT_COMMENT_ANNOTATION
Definition: libwpd_internal.h:111
WPXPageSpan::getMarginLeft
double getMarginLeft() const
Definition: WPXPageSpan.h:70
WP6StylesListener::insertCharacter
void insertCharacter(unsigned) override
Definition: WP6StylesListener.h:60
WP6StylesListener::noteOn
void noteOn(const unsigned short textPID) override
Definition: WP6StylesListener.cpp:318
WPXPageSpan::setPageNumber
void setPageNumber(const int pageNumberOverride)
Definition: WPXPageSpan.h:161
WPXPageSpan::setFormOrientation
void setFormOrientation(const WPXFormOrientation formOrientation)
Definition: WPXPageSpan.h:137
WPXHeaderFooterType
WPXHeaderFooterType
Definition: libwpd_internal.h:94
WPXPageSpan::setHeadFooterSuppression
void setHeadFooterSuppression(const unsigned char headerFooterType, const bool suppress)
Definition: WPXPageSpan.h:125