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  * 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 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.3