- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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