Main Page
Namespaces
Classes
Files
File List
File Members
WPS.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) 2006, 2007 Andrew Ziem
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library 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
*/
20
21
#ifndef WPS_H
22
#define WPS_H
23
29
class
WPSFPROP
30
{
31
public
:
32
WPSFPROP
() :
m_cch
(0),
m_rgchProp
() {};
33
uint8_t
m_cch
;
/* number of bytes in this FPROP */
34
std::string
m_rgchProp
;
/* Prefix for a CHP or PAP sufficient to handle differing bits from default */
35
};
36
40
class
WPSFOD
41
{
42
public
:
43
WPSFOD
() :
m_fcLim
(0),
m_bfprop
(0),
m_bfpropAbs
(0),
m_fprop
() {}
44
uint32_t
m_fcLim
;
/* byte number of last character covered by this FOD */
45
uint16_t
m_bfprop
;
/* byte offset from beginning of FOD array to corresponding FPROP */
46
uint32_t
m_bfpropAbs
;
/* bfprop from beginning of stream offset */
47
WPSFPROP
m_fprop
;
/* character or paragraph formatting */
48
};
49
50
#endif
51
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
52
Generated on Wed Aug 8 2012 16:07:55 for libwps by
doxygen
1.8.1.2