WPXFileStructure.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 Library 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 WPXFILESTRUCTURE_H
28 #define WPXFILESTRUCTURE_H
29 
30 #define WPX_NUM_WPUS_PER_INCH 1200
31 
32 // header defines
33 #define WPX_HEADER_MAGIC_OFFSET 1
34 #define WPX_HEADER_DOCUMENT_POINTER_OFFSET 4
35 #define WPX_HEADER_PRODUCT_TYPE_OFFSET 8
36 #define WPX_HEADER_FILE_TYPE_OFFSET 9
37 #define WPX_HEADER_MAJOR_VERSION_OFFSET 10
38 #define WPX_HEADER_MINOR_VERSION_OFFSET 11
39 #define WPX_HEADER_ENCRYPTION_OFFSET 12
40 
41 #define WPX_NUM_HEADER_FOOTER_TYPES 6
42 #define WPX_HEADER_A 0x00
43 #define WPX_HEADER_B 0x01
44 #define WPX_FOOTER_A 0x02
45 #define WPX_FOOTER_B 0x03
46 #define WPX_WATERMARK_A 0x04
47 #define WPX_WATERMARK_B 0x05
48 
49 #define WPX_CHARACTER 0x00
50 #define WPX_PARAGRAPH 0x01
51 #define WPX_PAGE 0x01
52 
53 #endif /* WPXFILESTRUCTURE_H */
54 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */

Generated for libwpd by doxygen 1.8.1.2