WPXFileStructure.h Source File documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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 * Version: MPL 2.0 / LGPLv2.1+
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * Major Contributor(s):
10 * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
11 * Copyright (C) 2002 Marc Maurer (uwog@uwog.net)
12 *
13 * For minor contributions see the git repository.
14 *
15 * Alternatively, the contents of this file may be used under the terms
16 * of the GNU Lesser General Public License Version 2.1 or later
17 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
18 * applicable instead of those above.
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: */