WP5HeaderFooterGroup.h Source File documentation

WP5HeaderFooterGroup.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) 2006 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 WP5HEADERFOOTERGROUP_H
27 #define WP5HEADERFOOTERGROUP_H
28
29 #include <memory>
30
31 #include "WP5VariableLengthGroup.h"
32 #include "WP5SubDocument.h"
33
34 class WP5HeaderFooterGroup : public WP5VariableLengthGroup
35 {
36 public:
37 WP5HeaderFooterGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption);
38 ~WP5HeaderFooterGroup() override;
39 void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override;
40 void parse(WP5Listener *listener) override;
41
42 private:
43 WP5HeaderFooterGroup(const WP5HeaderFooterGroup &);
44 WP5HeaderFooterGroup &operator=(const WP5HeaderFooterGroup &);
45 unsigned char m_occurrenceBits;
46 std::shared_ptr<WP5SubDocument> m_subDocument;
47 };
48
49 #endif /* WP5HEADERFOOTERGROUP_H */
50 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP5HeaderFooterGroup::WP5HeaderFooterGroup
WP5HeaderFooterGroup(const WP5HeaderFooterGroup &)
WP5VariableLengthGroup::getSubGroup
unsigned char getSubGroup() const
Definition: WP5VariableLengthGroup.h:54
WPD_DEBUG_MSG
#define WPD_DEBUG_MSG(M)
Definition: libwpd_internal.h:50
WP5Listener::headerFooterGroup
virtual void headerFooterGroup(unsigned char headerFooterType, unsigned char occurrenceBits, const std::shared_ptr< WP5SubDocument > &subDocument)=0
libwpd_internal.h
WP5Listener
Definition: WP5Listener.h:41
WP5HeaderFooterGroup::m_occurrenceBits
unsigned char m_occurrenceBits
Definition: WP5HeaderFooterGroup.h:45
WP5HeaderFooterGroup::operator=
WP5HeaderFooterGroup & operator=(const WP5HeaderFooterGroup &)
WP5HeaderFooterGroup::~WP5HeaderFooterGroup
~WP5HeaderFooterGroup() override
Definition: WP5HeaderFooterGroup.cpp:37
WP5VariableLengthGroup::getSize
unsigned short getSize() const
Definition: WP5VariableLengthGroup.h:58
WP5HeaderFooterGroup::m_subDocument
std::shared_ptr< WP5SubDocument > m_subDocument
Definition: WP5HeaderFooterGroup.h:46
WP5VariableLengthGroup.h
WP5HeaderFooterGroup::WP5HeaderFooterGroup
WP5HeaderFooterGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP5HeaderFooterGroup.cpp:29
WP5SubDocument.h
readU8
unsigned char readU8(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: libwpd_internal.cpp:106
WP5HeaderFooterGroup.h
WP5VariableLengthGroup::_read
void _read(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP5VariableLengthGroup.cpp:113
WP5HeaderFooterGroup::parse
void parse(WP5Listener *listener) override
Definition: WP5HeaderFooterGroup.cpp:55
WP5HeaderFooterGroup
Definition: WP5HeaderFooterGroup.h:35
WPXEncryption
Definition: WPXEncryption.h:36
WP5HeaderFooterGroup::_readContents
void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override
Definition: WP5HeaderFooterGroup.cpp:41
WP5VariableLengthGroup
Definition: WP5VariableLengthGroup.h:41