WP6ParagraphGroup.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 WP6PARAGRAPHGROUP_H
28 #define WP6PARAGRAPHGROUP_H
29 
30 #include "WP6VariableLengthGroup.h"
31 #include "WP6FileStructure.h"
32 #include <vector>
33 
35 {
36 public:
38  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
39 
40 private:
41  double m_lineSpacing;
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_justification;
52 };
53 
55 {
56 public:
57  WP6ParagraphGroup_SpacingAfterParagraphSubGroup(WPXInputStream *input, WPXEncryption *encryption, const uint16_t sizeNonDeletable);
58  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
59 
60 private:
64 };
65 
67 {
68 public:
71  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
72 
73 private:
76  std::vector<bool> m_usePreWP9LeaderMethods;
77  std::vector<WPXTabStop> m_tabStops;
78 };
79 
81 {
82 public:
84  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
85 
86 private:
88 };
89 
91 {
92 public:
94  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
95 
96 private:
97  int16_t m_leftMargin;
98 };
99 
101 {
102 public:
104  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
105 
106 private:
107  int16_t m_rightMargin;
108 };
109 
111 {
112 public:
114  void parse(WP6Listener *listener, const uint8_t numPrefixIDs, uint16_t const *prefixIDs) const;
115 
116 private:
117  uint16_t m_outlineHash;
120 };
121 
123 {
124 public:
125  WP6ParagraphGroup(WPXInputStream *input, WPXEncryption *encryption);
127  void _readContents(WPXInputStream *input, WPXEncryption *encryption);
128  void parse(WP6Listener *listener);
129 private:
133 };
134 
135 #endif /* WP6PARAGRAPHGROUP_H */
136 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */

Generated for libwpd by doxygen 1.8.4