Main Page
Namespaces
Classes
Files
File List
File Members
WP6PageGroup.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 WP6PAGEGROUP_H
28
#define WP6PAGEGROUP_H
29
30
#include "
WP6VariableLengthGroup.h
"
31
32
class
WP6PageGroup
:
public
WP6VariableLengthGroup
33
{
34
public
:
35
WP6PageGroup
(
WPXInputStream
*input,
WPXEncryption
*encryption);
36
~WP6PageGroup
();
37
void
_readContents
(
WPXInputStream
*input,
WPXEncryption
*encryption);
38
void
parse
(
WP6Listener
*listener);
39
40
private
:
41
// variables needed for subgroup 0 and 1 (Left/Right Margin Set)
42
uint16_t
m_margin
;
43
uint8_t
m_marginType
;
44
// variables needed for subgroup 2 (suppress page characteristics)
45
uint8_t
m_suppressedCode
;
46
// variables needed for subgroup 3 (page number position)
47
uint16_t
m_pageNumberTypefaceDesc
;
48
uint8_t
m_pageNumberUseFlag
;
49
uint16_t
m_pageNumberingFontPIDCopy
;
50
uint16_t
m_pageNumberPointSize
;
51
uint8_t
m_pageNumberPosition
;
52
uint16_t
m_pageNumberMatchedFontIndex
;
53
uint16_t
m_pageNumberMatchedFontPointSize
;
54
uint16_t
m_pageNumberAttributes1
;
55
uint16_t
m_pageNumberAttributes2
;
56
RGBSColor
m_pageNumberColor
;
57
uint16_t
m_pageNumberHeight
;
58
uint8_t
m_pageNumberNewPagePosition
;
59
60
// variables needed for subgroup 0x11 (Form)
61
uint16_t
m_formLength
;
62
uint16_t
m_formWidth
;
63
uint8_t
m_formType
;
64
WPXFormOrientation
m_formOrientation
;
65
66
};
67
68
#endif
/* WP6PAGEGROUP_H */
69
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Generated for libwpd by
doxygen
1.8.1.2