WP5TableEOLGroup.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 WP5TABLEEOLGROUP_H
28 #define WP5TABLEEOLGROUP_H
29
30 #include "WP5VariableLengthGroup.h"
31
32 class WP5TableEOLGroup : public WP5VariableLengthGroup
33 {
34 public:
35 WP5TableEOLGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption);
36 ~WP5TableEOLGroup() override;
37 void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override;
38 void parse(WP5Listener *listener) override;
39
40 private:
41 // Beginning column sub-function
42 unsigned char m_cellVerticalAlignment;
43 bool m_useCellAttributes;
44 bool m_useCellJustification;
45 unsigned char m_columnNumber;
46 unsigned char m_colSpan;
47 unsigned char m_rowSpan;
48 bool m_spannedFromAbove;
49 unsigned short m_cellAttributes;
50 unsigned char m_cellJustification;
51 };
52
53 #endif /* WP5TABLEEOLGROUP_H */
54 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP5VariableLengthGroup.h
WP5Listener
Definition: WP5Listener.h:41
WP5TableEOLGroup
Definition: WP5TableEOLGroup.h:33
WP5TableEOLGroup::_readContents
void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override
Definition: WP5TableEOLGroup.cpp:52
WP5TableEOLGroup::m_rowSpan
unsigned char m_rowSpan
Definition: WP5TableEOLGroup.h:47
WP5TableEOLGroup::m_colSpan
unsigned char m_colSpan
Definition: WP5TableEOLGroup.h:46
WP5TableEOLGroup::parse
void parse(WP5Listener *listener) override
Definition: WP5TableEOLGroup.cpp:83
WP5TableEOLGroup::m_useCellJustification
bool m_useCellJustification
Definition: WP5TableEOLGroup.h:44
WP5TableEOLGroup::m_cellJustification
unsigned char m_cellJustification
Definition: WP5TableEOLGroup.h:50
WP5TableEOLGroup::m_useCellAttributes
bool m_useCellAttributes
Definition: WP5TableEOLGroup.h:43
WP5TableEOLGroup::m_spannedFromAbove
bool m_spannedFromAbove
Definition: WP5TableEOLGroup.h:48
WP5TableEOLGroup::m_columnNumber
unsigned char m_columnNumber
Definition: WP5TableEOLGroup.h:45
WP5TableEOLGroup::m_cellVerticalAlignment
unsigned char m_cellVerticalAlignment
Definition: WP5TableEOLGroup.h:42
WP5TableEOLGroup::m_cellAttributes
unsigned short m_cellAttributes
Definition: WP5TableEOLGroup.h:49
WP5TableEOLGroup::WP5TableEOLGroup
WP5TableEOLGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP5TableEOLGroup.cpp:33
WP5TableEOLGroup::~WP5TableEOLGroup
~WP5TableEOLGroup() override
Definition: WP5TableEOLGroup.cpp:48
WP5VariableLengthGroup
Definition: WP5VariableLengthGroup.h:41
WPXEncryption
Definition: WPXEncryption.h:36