Main Page
Namespaces
Classes
Files
File List
File Members
WP5PageFormatGroup.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
* Copyright (C) 2007 Fridrich Strba (fridrich.strba@bluewin.ch)
6
* Copyright (C) 2007 Novell, Inc. (http://www.novell.com)
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Library General Public License for more details.
17
*
18
* You should have received a copy of the GNU Library General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
21
*
22
* For further information visit http://libwpd.sourceforge.net
23
*/
24
25
/* "This product is not manufactured, approved, or supported by
26
* Corel Corporation or Corel Corporation Limited."
27
*/
28
29
#ifndef WP5PAGEFORMATGROUP_H
30
#define WP5PAGEFORMATGROUP_H
31
32
#include "
WP5VariableLengthGroup.h
"
33
#include <vector>
34
35
class
WP5PageFormatGroup
:
public
WP5VariableLengthGroup
36
{
37
public
:
38
WP5PageFormatGroup
(
WPXInputStream
*input,
WPXEncryption
*encryption);
39
~WP5PageFormatGroup
();
40
void
_readContents
(
WPXInputStream
*input,
WPXEncryption
*encryption);
41
void
parse
(
WP5Listener
*listener);
42
43
private
:
44
// variables needed for subgroup 1 (Left/Right Margin Set)
45
uint16_t
m_leftMargin
;
46
uint16_t
m_rightMargin
;
47
// variable needed for subgroup 2 (Spacing Set)
48
double
m_lineSpacing
;
49
// variables needed for subbroup 4 (Tab Set)
50
std::vector<WPXTabStop>
m_tabStops
;
51
uint16_t
m_marginOffset
;
52
// variables needed for subgroup 5 (Top/Bottom Margin Set)
53
uint16_t
m_topMargin
;
54
uint16_t
m_bottomMargin
;
55
// variables needed for subgroup 6 (Justification)
56
uint8_t
m_justification
;
57
// variable needed for subgroup 7 (Suppress Page Characteristics)
58
uint8_t
m_suppressCode
;
59
// variables needed for subgroup 11 (Form)
60
uint16_t
m_formLength
;
61
uint16_t
m_formWidth
;
62
WPXFormOrientation
m_formOrientation
;
63
64
};
65
66
#endif
/* WP5PAGEFORMATGROUP_H */
67
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Generated for libwpd by
doxygen
1.8.3