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  * 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 WP6CHARACTERGROUP_H
28 #define WP6CHARACTERGROUP_H
29 
30 #include "WP6VariableLengthGroup.h"
32 
34 {
35 public:
36  WP6CharacterGroup_SetAlignmentCharacterSubGroup(WPXInputStream *input, WPXEncryption *encryption);
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:
47  WP6CharacterGroup_ColorSubGroup(WPXInputStream *input, WPXEncryption *encryption);
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:
59  WP6CharacterGroup_CharacterShadingChangeSubGroup(WPXInputStream *input, WPXEncryption *encryption);
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:
88  WP6CharacterGroup_FontSizeChangeSubGroup(WPXInputStream *input, WPXEncryption *encryption);
89  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
90 
91 private:
93 };
94 
96 {
97 public:
98  WP6CharacterGroup_SetDotLeaderCharactersSubGroup(WPXInputStream *input, WPXEncryption *encryption);
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:
110  WP6CharacterGroup_ParagraphNumberOnSubGroup(WPXInputStream *input, WPXEncryption *encryption);
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:
122  WP6CharacterGroup_TableDefinitionOnSubGroup(WPXInputStream *input, WPXEncryption *encryption);
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:
134  WP6CharacterGroup_TableDefinitionOffSubGroup(WPXInputStream *input, WPXEncryption *encryption);
135  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
136 
137 private:
138 
139 };
140 
142 {
143 public:
144  WP6CharacterGroup_TableColumnSubGroup(WPXInputStream *input, WPXEncryption *encryption);
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:
162  WP6CharacterGroup_CommentSubGroup(WPXInputStream *input, WPXEncryption *encryption);
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