Main Page
Namespaces
Classes
Files
File List
File Members
WP3WindowGroup.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) 2005 Fridrich Strba (fridrich.strba@bluewin.ch)
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
14
*
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18
*
19
* For further information visit http://libwpd.sourceforge.net
20
*/
21
22
/* "This product is not manufactured, approved, or supported by
23
* Corel Corporation or Corel Corporation Limited."
24
*/
25
26
#ifndef WP3WINDOWGROUP_H
27
#define WP3WINDOWGROUP_H
28
29
#include "
WP3VariableLengthGroup.h
"
30
#include "
WP3SubDocument.h
"
31
#include "
libwpd_types.h
"
32
#include <vector>
33
34
class
WPXInputStream
;
35
class
WP3Listener
;
36
37
class
WP3WindowGroup
:
public
WP3VariableLengthGroup
38
{
39
public
:
40
WP3WindowGroup
(
WPXInputStream
*input,
WPXEncryption
*encryption);
41
~WP3WindowGroup
();
42
void
_readContents
(
WPXInputStream
*input,
WPXEncryption
*encryption);
43
void
parse
(
WP3Listener
*listener);
44
45
private
:
46
uint16_t
m_figureFlags
;
47
uint8_t
m_leftColumn
,
m_rightColumn
,
m_boxType
;
48
double
m_width
,
m_height
,
m_horizontalOffset
,
m_verticalOffset
;
49
uint32_t
m_resourceID
;
50
WP3SubDocument
*
m_subDocument
, *
m_caption
;
51
// Unimplemented to prevent compiler from creating crasher ones
52
WP3WindowGroup
(
const
WP3WindowGroup
&);
53
WP3WindowGroup
&
operator=
(
const
WP3WindowGroup
&);
54
};
55
56
#endif
/* WP3WindowGroup_H */
57
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Generated for libwpd by
doxygen
1.8.3