WP3IndentGroup.h Source File documentation

WP3IndentGroup.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) 2007 Fridrich Strba (fridrich.strba@bluewin.ch)
11 *
12 * For minor contributions see the git repository.
13 *
14 * Alternatively, the contents of this file may be used under the terms
15 * of the GNU Lesser General Public License Version 2.1 or later
16 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
17 * applicable instead of those above.
18 *
19 * For further information visit http://libwpd.sourceforge.net
20 */
21
22 /* "This product is not manufactured, approved, or supported by
23 * Corel Corporation or Corel Corporation Limited."
24 */
25
26 #ifndef WP3INDENTGROUP_H
27 #define WP3INDENTGROUP_H
28
29 #include "WP3FixedLengthGroup.h"
30 #include "WP3FileStructure.h"
31
32 class WP3IndentGroup : public WP3FixedLengthGroup
33 {
34 public:
35 WP3IndentGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID);
36 void parse(WP3Listener *listener) override;
37
38 protected:
39 void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override;
40
41 private:
42 unsigned char m_subGroup;
43 double m_offset;
44 };
45
46 #endif /* WP3INDENTGROUP_H */
47 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP3FixedLengthGroup::_read
void _read(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP3FixedLengthGroup.cpp:99
WP3FileStructure.h
WP3IndentGroup::m_offset
double m_offset
Definition: WP3IndentGroup.h:43
WP3FixedLengthGroup
Definition: WP3FixedLengthGroup.h:36
fixedPointToDouble
double fixedPointToDouble(const unsigned fixedPointNumber)
Definition: libwpd_internal.cpp:1172
WP3_INDENT_GROUP_LEFT_INDENT
#define WP3_INDENT_GROUP_LEFT_INDENT
Definition: WP3FileStructure.h:69
WP3IndentGroup::m_subGroup
unsigned char m_subGroup
Definition: WP3IndentGroup.h:42
WP3Listener
Definition: WP3Listener.h:39
libwpd_internal.h
WP3IndentGroup
Definition: WP3IndentGroup.h:33
WP3IndentGroup::parse
void parse(WP3Listener *listener) override
Definition: WP3IndentGroup.cpp:45
WP3Listener.h
WP3_INDENT_GROUP_LEFT_RIGHT_INDENT
#define WP3_INDENT_GROUP_LEFT_RIGHT_INDENT
Definition: WP3FileStructure.h:70
WP3IndentGroup::WP3IndentGroup
WP3IndentGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID)
Definition: WP3IndentGroup.cpp:31
WP3IndentGroup.h
WP3Listener::leftIndent
virtual void leftIndent()=0
WP3IndentGroup::_readContents
void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override
Definition: WP3IndentGroup.cpp:39
readU32
unsigned readU32(librevenge::RVNGInputStream *input, WPXEncryption *encryption, bool bigendian)
Definition: libwpd_internal.cpp:139
WP3FixedLengthGroup.h
readU8
unsigned char readU8(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: libwpd_internal.cpp:106
WP3Listener::leftRightIndent
virtual void leftRightIndent()=0
WPXEncryption
Definition: WPXEncryption.h:36