WP6StyleGroup.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 WP6STYLEGROUP_H
28 #define WP6STYLEGROUP_H
29 
30 #include <memory>
31 
32 #include "WP6VariableLengthGroup.h"
33 
35 {
36 public:
37  WP6StyleGroup_GlobalOnSubGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption);
38  void parse(WP6Listener *listener, const unsigned char numPrefixIDs, unsigned short const *prefixIDs) const override;
39 
40 private:
41  unsigned short m_hash;
42  unsigned char m_systemStyleNumber;
43 };
44 
46 {
47 public:
48  WP6StyleGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption);
49  ~WP6StyleGroup() override;
50  void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override;
51  void parse(WP6Listener *listener) override;
52 
53 private:
56  std::unique_ptr<WP6VariableLengthGroup_SubGroup> m_subGroupData;
57 };
58 
59 #endif /* WP6STYLEGROUP_H */
60 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Definition: WP6Listener.h:41
Definition: WP6StyleGroup.h:35
WP6StyleGroup_GlobalOnSubGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP6StyleGroup.cpp:32
unsigned char m_systemStyleNumber
Definition: WP6StyleGroup.h:42
void parse(WP6Listener *listener, const unsigned char numPrefixIDs, unsigned short const *prefixIDs) const override
Definition: WP6StyleGroup.cpp:39
unsigned short m_hash
Definition: WP6StyleGroup.h:41
Definition: WP6StyleGroup.h:46
WP6StyleGroup & operator=(const WP6StyleGroup &)
WP6StyleGroup(const WP6StyleGroup &)
void parse(WP6Listener *listener) override
Definition: WP6StyleGroup.cpp:69
std::unique_ptr< WP6VariableLengthGroup_SubGroup > m_subGroupData
Definition: WP6StyleGroup.h:56
~WP6StyleGroup() override
Definition: WP6StyleGroup.cpp:51
WP6StyleGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP6StyleGroup.cpp:44
void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override
Definition: WP6StyleGroup.cpp:55
Definition: WP6VariableLengthGroup.h:36
Definition: WP6VariableLengthGroup.h:43
Definition: WPXEncryption.h:36

Generated for libwpd by doxygen 1.9.1