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 
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;
45  unsigned char m_columnNumber;
46  unsigned char m_colSpan;
47  unsigned char m_rowSpan;
49  unsigned short m_cellAttributes;
50  unsigned char m_cellJustification;
51 };
52 
53 #endif /* WP5TABLEEOLGROUP_H */
54 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP5TableEOLGroup::m_spannedFromAbove
bool m_spannedFromAbove
Definition: WP5TableEOLGroup.h:48
WP5_TABLE_EOL_GROUP_BEGINNING_OF_COLUMN_AT_EOL
#define WP5_TABLE_EOL_GROUP_BEGINNING_OF_COLUMN_AT_EOL
Definition: WP5FileStructure.h:124
WP5TableEOLGroup
Definition: WP5TableEOLGroup.h:33
WP5Listener::insertRow
virtual void insertRow(unsigned short rowHeight, bool isMinimumHeight, bool isHeaderRow)=0
WP5TableEOLGroup::_readContents
void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override
Definition: WP5TableEOLGroup.cpp:52
WP5VariableLengthGroup::getSubGroup
unsigned char getSubGroup() const
Definition: WP5VariableLengthGroup.h:54
WP5TableEOLGroup::m_cellVerticalAlignment
unsigned char m_cellVerticalAlignment
Definition: WP5TableEOLGroup.h:42
RGBSColor
Definition: libwpd_internal.h:167
WP5TableEOLGroup::m_colSpan
unsigned char m_colSpan
Definition: WP5TableEOLGroup.h:46
WPD_DEBUG_MSG
#define WPD_DEBUG_MSG(M)
Definition: libwpd_internal.h:50
readU16
unsigned short readU16(librevenge::RVNGInputStream *input, WPXEncryption *encryption, bool bigendian)
Definition: libwpd_internal.cpp:119
WP5TableEOLGroup::m_useCellAttributes
bool m_useCellAttributes
Definition: WP5TableEOLGroup.h:43
WP5TableEOLGroup::~WP5TableEOLGroup
~WP5TableEOLGroup() override
Definition: WP5TableEOLGroup.cpp:48
libwpd_internal.h
WP5Listener
Definition: WP5Listener.h:41
WP5_TABLE_EOL_GROUP_BEGINNING_OF_ROW_AT_EOL
#define WP5_TABLE_EOL_GROUP_BEGINNING_OF_ROW_AT_EOL
Definition: WP5FileStructure.h:125
WP5TableEOLGroup::m_cellAttributes
unsigned short m_cellAttributes
Definition: WP5TableEOLGroup.h:49
WP5TableEOLGroup.h
WP5Listener.h
WP5_TABLE_EOL_GROUP_TABLE_OFF_AT_EOL
#define WP5_TABLE_EOL_GROUP_TABLE_OFF_AT_EOL
Definition: WP5FileStructure.h:126
WP5TableEOLGroup::m_rowSpan
unsigned char m_rowSpan
Definition: WP5TableEOLGroup.h:47
WP5FileStructure.h
WP5TableEOLGroup::m_columnNumber
unsigned char m_columnNumber
Definition: WP5TableEOLGroup.h:45
WP5VariableLengthGroup.h
WP5Listener::endTable
virtual void endTable()=0
WP5TableEOLGroup::m_cellJustification
unsigned char m_cellJustification
Definition: WP5TableEOLGroup.h:50
TOP
@ TOP
Definition: libwpd_internal.h:107
WP5Listener::insertCell
virtual void insertCell(unsigned char colSpan, unsigned char rowSpan, unsigned char borderBits, const RGBSColor *cellFgColor, const RGBSColor *cellBgColor, const RGBSColor *cellBorderColor, WPXVerticalAlignment cellVerticalAlignment, bool useCellAttributes, unsigned cellAttributes)=0
WP5TableEOLGroup::WP5TableEOLGroup
WP5TableEOLGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP5TableEOLGroup.cpp:33
WP5TableEOLGroup::m_useCellJustification
bool m_useCellJustification
Definition: WP5TableEOLGroup.h:44
readU8
unsigned char readU8(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: libwpd_internal.cpp:106
WP5VariableLengthGroup::_read
void _read(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP5VariableLengthGroup.cpp:113
WPXEncryption
Definition: WPXEncryption.h:36
WP5TableEOLGroup::parse
void parse(WP5Listener *listener) override
Definition: WP5TableEOLGroup.cpp:83
WP5VariableLengthGroup
Definition: WP5VariableLengthGroup.h:41

Generated for libwpd by doxygen 1.8.20