WP6SingleByteFunction.h Source File documentation

WP6SingleByteFunction.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 *
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 WP6SINGLEBYTEFUNCTION_H
28 #define WP6SINGLEBYTEFUNCTION_H
29
30 #include "WP6Part.h"
31
32 class WP6SingleByteFunction : public WP6Part
33 {
34 public:
35 static WP6SingleByteFunction *constructSingleByteFunction(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID);
36 };
37
38 class WP6SpaceFunction : public WP6SingleByteFunction
39 {
40 public:
41 void parse(WP6Listener *listener) override;
42 };
43
44 class WP6HardSpaceFunction : public WP6SingleByteFunction
45 {
46 public:
47 void parse(WP6Listener *listener) override;
48 };
49
50 class WP6EOLFunction : public WP6SingleByteFunction
51 {
52 public:
53 void parse(WP6Listener *listener) override;
54 };
55
56 class WP6EOCFunction : public WP6SingleByteFunction
57 {
58 public:
59 void parse(WP6Listener *listener) override;
60 };
61
62 class WP6EOPFunction : public WP6SingleByteFunction
63 {
64 public:
65 void parse(WP6Listener *listener) override;
66 };
67
68 class WP6SoftEOPFunction : public WP6SingleByteFunction
69 {
70 public:
71 void parse(WP6Listener *listener) override;
72 };
73
74 class WP6SoftHyphenFunction : public WP6SingleByteFunction
75 {
76 public:
77 void parse(WP6Listener *listener) override;
78 };
79
80 class WP6HyphenFunction : public WP6SingleByteFunction
81 {
82 public:
83 void parse(WP6Listener *listener) override;
84 };
85
86 class WP6TableOffFunction : public WP6SingleByteFunction
87 {
88 public:
89 void parse(WP6Listener *listener) override;
90 };
91
92 class WP6TableCellFunction : public WP6SingleByteFunction
93 {
94 public:
95 void parse(WP6Listener *listener) override;
96 };
97
98 class WP6TableRowFunction : public WP6SingleByteFunction
99 {
100 public:
101 void parse(WP6Listener *listener) override;
102 };
103
104 class WP6TableOffAtSoftEOPFunction : public WP6SingleByteFunction
105 {
106 public:
107 void parse(WP6Listener *listener) override;
108 };
109
110 class WP6TableRowAtSoftEOPFunction : public WP6SingleByteFunction
111 {
112 public:
113 void parse(WP6Listener *listener) override;
114 };
115
116 class WP6TableRowAtEOPFunction : public WP6SingleByteFunction
117 {
118 public:
119 void parse(WP6Listener *listener) override;
120 };
121
122 class WP6TableRowAtEOCFunction : public WP6SingleByteFunction
123 {
124 public:
125 void parse(WP6Listener *listener) override;
126 };
127
128 #endif /* WP6SINGLEBYTEFUNCTION_H */
129 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP6_TOP_HARD_EOL_AT_EOC_AT_EOP
#define WP6_TOP_HARD_EOL_AT_EOC_AT_EOP
Definition: WP6FileStructure.h:169
WP6_TOP_DELETABLE_HARD_EOL_AT_EOC
#define WP6_TOP_DELETABLE_HARD_EOL_AT_EOC
Definition: WP6FileStructure.h:149
WP6EOCFunction
Definition: WP6SingleByteFunction.h:57
WP6Listener.h
WP6TableRowAtEOCFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:191
WP6EOLFunction
Definition: WP6SingleByteFunction.h:51
WP6SpaceFunction
Definition: WP6SingleByteFunction.h:39
WP6Listener::insertCharacter
virtual void insertCharacter(unsigned character)=0
WP6_TOP_TABLE_ROW_AT_HARD_EOC_AT_HARD_EOP
#define WP6_TOP_TABLE_ROW_AT_HARD_EOC_AT_HARD_EOP
Definition: WP6FileStructure.h:159
WP6_TOP_TABLE_ROW_AT_HARD_EOC
#define WP6_TOP_TABLE_ROW_AT_HARD_EOC
Definition: WP6FileStructure.h:160
WP6FileStructure.h
WP6SoftEOPFunction
Definition: WP6SingleByteFunction.h:69
WP6_TOP_TABLE_OFF_AT_EOC
#define WP6_TOP_TABLE_OFF_AT_EOC
Definition: WP6FileStructure.h:156
WP6_TOP_HARD_EOP
#define WP6_TOP_HARD_EOP
Definition: WP6FileStructure.h:166
WP6HyphenFunction
Definition: WP6SingleByteFunction.h:81
WP6EOPFunction
Definition: WP6SingleByteFunction.h:63
RGBSColor
Definition: libwpd_internal.h:167
WP6Listener::endTable
virtual void endTable()=0
WP6_TOP_TABLE_ROW_AT_EOC
#define WP6_TOP_TABLE_ROW_AT_EOC
Definition: WP6FileStructure.h:162
WP6_TOP_DELETABLE_HARD_EOC_AT_EOP
#define WP6_TOP_DELETABLE_HARD_EOC_AT_EOP
Definition: WP6FileStructure.h:146
WP6TableRowFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:144
WP6Listener::insertEOL
virtual void insertEOL()=0
WP6_TOP_DELETABLE_HARD_EOL
#define WP6_TOP_DELETABLE_HARD_EOL
Definition: WP6FileStructure.h:150
WP6_TOP_SOFT_EOL_AT_EOC
#define WP6_TOP_SOFT_EOL_AT_EOC
Definition: WP6FileStructure.h:173
WP6TableOffFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:160
WP6_TOP_TABLE_OFF
#define WP6_TOP_TABLE_OFF
Definition: WP6FileStructure.h:157
WP6_TOP_DELETABLE_HARD_EOP
#define WP6_TOP_DELETABLE_HARD_EOP
Definition: WP6FileStructure.h:145
WP6SingleByteFunction.h
WP6EOPFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:129
WPX_SOFT_PAGE_BREAK
#define WPX_SOFT_PAGE_BREAK
Definition: libwpd_internal.h:156
WP6SoftEOPFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:134
WPX_PAGE_BREAK
#define WPX_PAGE_BREAK
Definition: libwpd_internal.h:155
WP6_TOP_DELETABLE_HARD_EOL_AT_EOC_AT_EOP
#define WP6_TOP_DELETABLE_HARD_EOL_AT_EOC_AT_EOP
Definition: WP6FileStructure.h:148
WP6TableOffAtSoftEOPFunction
Definition: WP6SingleByteFunction.h:105
WP6Part
Definition: WP6Part.h:37
libwpd_internal.h
WP6Listener
Definition: WP6Listener.h:41
WP6SingleByteFunction
Definition: WP6SingleByteFunction.h:33
WP6_TOP_HARD_EOL
#define WP6_TOP_HARD_EOL
Definition: WP6FileStructure.h:171
WP6_TOP_TABLE_ROW_AT_HARD_EOP
#define WP6_TOP_TABLE_ROW_AT_HARD_EOP
Definition: WP6FileStructure.h:158
WP6_TOP_SOFT_EOL_AT_EOC_AT_EOP
#define WP6_TOP_SOFT_EOL_AT_EOC_AT_EOP
Definition: WP6FileStructure.h:172
WP6_TOP_SOFT_EOL
#define WP6_TOP_SOFT_EOL
Definition: WP6FileStructure.h:174
WP6TableRowAtEOCFunction
Definition: WP6SingleByteFunction.h:123
WP6Part.h
WP6_TOP_TABLE_OFF_AT_EOC_AT_EOP
#define WP6_TOP_TABLE_OFF_AT_EOC_AT_EOP
Definition: WP6FileStructure.h:155
WP6TableCellFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:153
WP6Listener::insertBreak
virtual void insertBreak(const unsigned char breakType)=0
WP6_TOP_HARD_EOC_AT_EOP
#define WP6_TOP_HARD_EOC_AT_EOP
Definition: WP6FileStructure.h:167
WP6SoftHyphenFunction
Definition: WP6SingleByteFunction.h:75
WP6_TOP_HARD_HYPHEN
#define WP6_TOP_HARD_HYPHEN
Definition: WP6FileStructure.h:141
WP6Listener::insertRow
virtual void insertRow(const unsigned short rowHeight, const bool isMinimumHeight, const bool isHeaderRow)=0
WP6EOCFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:124
WP6HyphenFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:139
WP6_TOP_SOFT_HYPHEN_IN_LINE
#define WP6_TOP_SOFT_HYPHEN_IN_LINE
Definition: WP6FileStructure.h:139
WP6TableOffAtSoftEOPFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:165
WP6SingleByteFunction::constructSingleByteFunction
static WP6SingleByteFunction * constructSingleByteFunction(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID)
Definition: WP6SingleByteFunction.cpp:33
WP6_TOP_SOFT_SPACE
#define WP6_TOP_SOFT_SPACE
Definition: WP6FileStructure.h:137
WP6TableRowAtEOPFunction
Definition: WP6SingleByteFunction.h:117
WPX_COLUMN_BREAK
#define WPX_COLUMN_BREAK
Definition: libwpd_internal.h:157
WP6SoftHyphenFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:114
WP6HardSpaceFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:109
TOP
@ TOP
Definition: libwpd_internal.h:107
WP6SpaceFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:104
WP6_TOP_TABLE_CELL
#define WP6_TOP_TABLE_CELL
Definition: WP6FileStructure.h:164
WP6TableRowAtSoftEOPFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:171
WP6_TOP_DORMANT_HARD_RETURN
#define WP6_TOP_DORMANT_HARD_RETURN
Definition: WP6FileStructure.h:143
WP6HardSpaceFunction
Definition: WP6SingleByteFunction.h:45
WP6Listener::insertCell
virtual 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)=0
WP6_TOP_SOFT_HYPHEN_AT_EOL
#define WP6_TOP_SOFT_HYPHEN_AT_EOL
Definition: WP6FileStructure.h:140
WP6TableOffFunction
Definition: WP6SingleByteFunction.h:87
WP6_TOP_HARD_SPACE
#define WP6_TOP_HARD_SPACE
Definition: WP6FileStructure.h:138
WP6_TOP_HARD_EOL_AT_EOC
#define WP6_TOP_HARD_EOL_AT_EOC
Definition: WP6FileStructure.h:170
WP6TableRowAtEOPFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:181
WP6TableRowFunction
Definition: WP6SingleByteFunction.h:99
WP6_TOP_TABLE_ROW_AT_EOC_AT_EOP
#define WP6_TOP_TABLE_ROW_AT_EOC_AT_EOP
Definition: WP6FileStructure.h:161
WP6_TOP_DELETABLE_HARD_EOC
#define WP6_TOP_DELETABLE_HARD_EOC
Definition: WP6FileStructure.h:147
WP6_TOP_TABLE_ROW
#define WP6_TOP_TABLE_ROW
Definition: WP6FileStructure.h:163
WPXEncryption
Definition: WPXEncryption.h:36
WP6TableCellFunction
Definition: WP6SingleByteFunction.h:93
WP6TableRowAtSoftEOPFunction
Definition: WP6SingleByteFunction.h:111
WP6_TOP_HARD_EOC
#define WP6_TOP_HARD_EOC
Definition: WP6FileStructure.h:168
WP6EOLFunction::parse
void parse(WP6Listener *listener) override
Definition: WP6SingleByteFunction.cpp:119