WP1FootnoteEndnoteGroup.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 WP1FOOTNOTEENDNOTEGROUP_H
27 #define WP1FOOTNOTEENDNOTEGROUP_H
28
29 #include <memory>
30
31 #include "WP1VariableLengthGroup.h"
32 #include "libwpd_internal.h"
33
34 class WP1SubDocument;
35
36 class WP1FootnoteEndnoteGroup : public WP1VariableLengthGroup
37 {
38 public:
39 WP1FootnoteEndnoteGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char group);
40 ~WP1FootnoteEndnoteGroup() override;
41 void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override;
42 void parse(WP1Listener *listener) override;
43
44 private:
45 WP1FootnoteEndnoteGroup(const WP1FootnoteEndnoteGroup &);
46 WP1FootnoteEndnoteGroup &operator=(const WP1FootnoteEndnoteGroup &);
47 WPXNoteType m_noteType;
48 unsigned short m_noteNumber;
49 std::unique_ptr<WP1SubDocument> m_subDocument;
50 };
51
52 #endif /* WP1FOOTNOTEENDNOTEGROUP_H */
53 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP1VariableLengthGroup.h
WP1FootnoteEndnoteGroup
Definition: WP1FootnoteEndnoteGroup.h:37
WP1FootnoteEndnoteGroup::WP1FootnoteEndnoteGroup
WP1FootnoteEndnoteGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char group)
Definition: WP1FootnoteEndnoteGroup.cpp:30
WP1FootnoteEndnoteGroup::m_noteType
WPXNoteType m_noteType
Definition: WP1FootnoteEndnoteGroup.h:47
WP1FootnoteEndnoteGroup::_readContents
void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override
Definition: WP1FootnoteEndnoteGroup.cpp:43
WP1FootnoteEndnoteGroup::m_subDocument
std::unique_ptr< WP1SubDocument > m_subDocument
Definition: WP1FootnoteEndnoteGroup.h:49
WP1FootnoteEndnoteGroup::m_noteNumber
unsigned short m_noteNumber
Definition: WP1FootnoteEndnoteGroup.h:48
WP1FootnoteEndnoteGroup::operator=
WP1FootnoteEndnoteGroup & operator=(const WP1FootnoteEndnoteGroup &)
WP1FootnoteEndnoteGroup::WP1FootnoteEndnoteGroup
WP1FootnoteEndnoteGroup(const WP1FootnoteEndnoteGroup &)
WP1FootnoteEndnoteGroup::parse
void parse(WP1Listener *listener) override
Definition: WP1FootnoteEndnoteGroup.cpp:61
WP1FootnoteEndnoteGroup::~WP1FootnoteEndnoteGroup
~WP1FootnoteEndnoteGroup() override
Definition: WP1FootnoteEndnoteGroup.cpp:39
WP1Listener
Definition: WP1Listener.h:39
WP1SubDocument
Definition: WP1SubDocument.h:34
WP1VariableLengthGroup
Definition: WP1VariableLengthGroup.h:34
WPXEncryption
Definition: WPXEncryption.h:36
libwpd_internal.h
WPXNoteType
WPXNoteType
Definition: libwpd_internal.h:93