WP6CharacterGroup.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  * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
4  * Copyright (C) 2002 Marc Maurer (uwog@uwog.net)
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
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 WP6CHARACTERGROUP_H
28 #define WP6CHARACTERGROUP_H
29 
30 #include "WP6VariableLengthGroup.h"
32 
34 {
35 public:
37  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
38 
39 private:
40  uint8_t m_character;
41  uint8_t m_characterSet;
42 };
43 
45 {
46 public:
48  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
49 
50 private:
51  uint8_t m_red;
52  uint8_t m_green;
53  uint8_t m_blue;
54 };
55 
57 {
58 public:
60  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
61 
62 private:
63  uint8_t m_shading;
64 };
65 
67 {
68 public:
69  WP6CharacterGroup_FontFaceChangeSubGroup(WPXInputStream *input, WPXEncryption *encryption, uint16_t sizeDeletable);
71  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
72 
73 private:
75  uint16_t m_hash;
79  // Unimplemented to prevent compiler from creating crasher ones
82 
83 };
84 
86 {
87 public:
89  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
90 
91 private:
93 };
94 
96 {
97 public:
99  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
100 
101 private:
102  uint8_t m_character;
103  uint8_t m_characterSet;
105 };
106 
108 {
109 public:
111  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
112 
113 private:
114  uint16_t m_outlineHash;
115  uint8_t m_level;
116  uint8_t m_flag;
117 };
118 
120 {
121 public:
123  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
124 
125 private:
126  uint8_t m_flags;
127  uint8_t m_position;
128  uint16_t m_leftOffset;
129 };
130 
132 {
133 public:
135  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
136 
137 private:
138 
139 };
140 
142 {
143 public:
145  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
146 
147 private:
148  uint8_t m_flags;
149  uint16_t m_width;
150  uint16_t m_leftGutter;
151  uint16_t m_rightGutter;
152  uint32_t m_attributes;
153  uint8_t m_alignment;
155  uint16_t m_numberType;
157 };
158 
160 {
161 public:
163  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
164 
165 private:
166 
167 };
168 
170 {
171 public:
172  WP6CharacterGroup(WPXInputStream *input, WPXEncryption *encryption);
174  void _readContents(WPXInputStream *input, WPXEncryption *encryption);
175  void parse(WP6Listener *listener);
176 
177 private:
181 
182 };
183 
184 #endif /* WP6CHARACTERGROUP_H */
185 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */

Generated for libwpd by doxygen 1.8.1.2