WP5SingleByteFunction.h Source File documentation

WP5SingleByteFunction.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) 2004 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 WP5SINGLEBYTEFUNCTION_H
29 #define WP5SINGLEBYTEFUNCTION_H
30
31 #include "WP5Part.h"
32
33 class WP5SingleByteFunction : public WP5Part
34 {
35 public:
36 static WP5SingleByteFunction *constructSingleByteFunction(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID);
37 };
38
39 class WP5EOLFunction : public WP5SingleByteFunction
40 {
41 public:
42 void parse(WP5Listener *listener) override;
43 };
44
45 class WP5SpaceFunction : public WP5SingleByteFunction
46 {
47 public:
48 void parse(WP5Listener *listener) override;
49 };
50
51 class WP5HardSpaceFunction : public WP5SingleByteFunction
52 {
53 public:
54 void parse(WP5Listener *listener) override;
55 };
56
57
58 class WP5HyphenFunction : public WP5SingleByteFunction
59 {
60 public:
61 void parse(WP5Listener *listener) override;
62 };
63
64 class WP5SoftHyphenFunction : public WP5SingleByteFunction
65 {
66 public:
67 void parse(WP5Listener *listener) override;
68 };
69
70 #endif /* WP5SINGLEBYTEFUNCTION_H */
71 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP5SingleByteFunction
Definition: WP5SingleByteFunction.h:33
WP5Listener
Definition: WP5Listener.h:39
WP5EOLFunction
Definition: WP5SingleByteFunction.h:39
WP5Part
Definition: WP5Part.h:37
WP5Part.h
WP5Part::parse
virtual void parse(WP5Listener *listener)=0
WP5SpaceFunction
Definition: WP5SingleByteFunction.h:45
WP5SingleByteFunction::constructSingleByteFunction
static WP5SingleByteFunction * constructSingleByteFunction(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID)
Definition: WP5SingleByteFunction.cpp:32
WPXEncryption
Definition: WPXEncryption.h:35
WP5HardSpaceFunction
Definition: WP5SingleByteFunction.h:51
WP5HyphenFunction
Definition: WP5SingleByteFunction.h:58
WP5SoftHyphenFunction
Definition: WP5SingleByteFunction.h:64