WP3AttributeGroup.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 WP3ATTRIBUTEGROUP_H
28 #define WP3ATTRIBUTEGROUP_H
29 
30 #include "WP3FixedLengthGroup.h"
31 
33 {
34 public:
35  WP3AttributeGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID);
36  void parse(WP3Listener *listener) override;
37 
38 protected:
39  void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override;
40 
41 private:
42  unsigned char m_attribute;
43  unsigned char m_state;
44 };
45 
46 #endif /* WP3ATTRIBUTEGROUP_H */
47 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP3FixedLengthGroup::_read
void _read(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP3FixedLengthGroup.cpp:99
WP3AttributeGroup::m_state
unsigned char m_state
Definition: WP3AttributeGroup.h:43
WP3AttributeGroup::WP3AttributeGroup
WP3AttributeGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char groupID)
Definition: WP3AttributeGroup.cpp:31
WP3FixedLengthGroup
Definition: WP3FixedLengthGroup.h:36
WP3Listener
Definition: WP3Listener.h:39
libwpd_internal.h
WP3Listener.h
WP3AttributeGroup.h
WP3AttributeGroup::parse
void parse(WP3Listener *listener) override
Definition: WP3AttributeGroup.cpp:45
WP3Listener::attributeChange
virtual void attributeChange(bool isOn, unsigned char attribute)=0
WP3AttributeGroup
Definition: WP3AttributeGroup.h:33
WP3FixedLengthGroup.h
WP3AttributeGroup::m_attribute
unsigned char m_attribute
Definition: WP3AttributeGroup.h:42
WP3AttributeGroup::_readContents
void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override
Definition: WP3AttributeGroup.cpp:39
readU8
unsigned char readU8(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: libwpd_internal.cpp:106
WPXEncryption
Definition: WPXEncryption.h:36

Generated for libwpd by doxygen 1.8.20