WP5FileStructure.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) 2003 William Lachance (wrlach@gmail.com)
11 * Copyright (C) 2003 Marc Maurer (uwog@uwog.net)
12 * Copyright (C) 2005-2007 Fridrich Strba (fridrich.strba@bluewin.ch)
13 *
14 * For minor contributions see the git repository.
15 *
16 * Alternatively, the contents of this file may be used under the terms
17 * of the GNU Lesser General Public License Version 2.1 or later
18 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
19 * applicable instead of those above.
20 *
21 * For further information visit http://libwpd.sourceforge.net
22 */
23
24/* "This product is not manufactured, approved, or supported by
25 * Corel Corporation or Corel Corporation Limited."
26 */
27
28#ifndef WP5FILESTRUCTURE_H
29#define WP5FILESTRUCTURE_H
30
31/* size of the fixed length functiongroups 0xC0 to 0xCF */
33
34#define WP5_ATTRIBUTE_EXTRA_LARGE 0x00
35#define WP5_ATTRIBUTE_VERY_LARGE 0x01
36#define WP5_ATTRIBUTE_LARGE 0x02
37#define WP5_ATTRIBUTE_SMALL_PRINT 0x03
38#define WP5_ATTRIBUTE_FINE_PRINT 0x04
39#define WP5_ATTRIBUTE_SUPERSCRIPT 0x05
40#define WP5_ATTRIBUTE_SUBSCRIPT 0x06
41#define WP5_ATTRIBUTE_OUTLINE 0x07
42#define WP5_ATTRIBUTE_ITALICS 0x08
43#define WP5_ATTRIBUTE_SHADOW 0x09
44#define WP5_ATTRIBUTE_REDLINE 0x0A
45#define WP5_ATTRIBUTE_DOUBLE_UNDERLINE 0xB
46#define WP5_ATTRIBUTE_BOLD 0x0C
47#define WP5_ATTRIBUTE_STRIKE_OUT 0x0D
48#define WP5_ATTRIBUTE_UNDERLINE 0x0E
49#define WP5_ATTRIBUTE_SMALL_CAPS 0x0F
50
51/* Genearal data packet list */
52#define WP50_LIST_FONTS_USED_PACKET 0x02
53#define WP5_FONT_NAME_STRING_POOL_PACKET 0x07
54#define WP5_GRAPHICS_INFORMATION_PACKET 0x08
55#define WP51_LIST_FONTS_USED_PACKET 0x0F
56
57/* Main function group list */
58#define WP5_TOP_EXTENDED_CHARACTER 0xC0
59#define WP5_TOP_TAB_GROUP 0xC1
60#define WP5_TOP_INDENT_GROUP 0xC2
61#define WP5_TOP_ATTRIBUTE_ON 0xC3
62#define WP5_TOP_ATTRIBUTE_OFF 0xC4
63#define WP5_TOP_PAGE_FORMAT_GROUP 0xD0
64#define WP5_TOP_FONT_GROUP 0xD1
65#define WP5_TOP_DEFINITION_GROUP 0xD2
66#define WP5_TOP_FORMAT_GROUP 0xD4
67#define WP5_TOP_HEADER_FOOTER_GROUP 0xD5
68#define WP5_TOP_FOOTNOTE_ENDNOTE_GROUP 0xD6
69#define WP5_TOP_BOX_GROUP 0xDA
70#define WP5_TOP_TABLE_EOL_GROUP 0xDC
71#define WP5_TOP_TABLE_EOP_GROUP 0xDD
72
73/* Page Format Group */
74#define WP5_TOP_PAGE_FORMAT_GROUP_LEFT_RIGHT_MARGIN_SET 0x01
75#define WP5_TOP_PAGE_FORMAT_GROUP_SPACING_SET 0x02
76#define WP5_TOP_PAGE_FORMAT_GROUP_TAB_SET 0x04
77#define WP5_TOP_PAGE_FORMAT_GROUP_TOP_BOTTOM_MARGIN_SET 0x05
78#define WP5_TOP_PAGE_FORMAT_GROUP_JUSTIFICATION 0x06
79#define WP5_TOP_PAGE_FORMAT_GROUP_SUPPRESS_PAGE_CHARACTERISTICS 0x07
80#define WP5_TOP_PAGE_FORMAT_GROUP_FORM 0x0B
81
82#define WP5_PAGE_GROUP_SUPPRESS_PAGE_NUMBER 0x01
83#define WP5_PAGE_GROUP_PAGE_NUMBER_TO_BOTTOM 0x02
84#define WP5_PAGE_GROUP_SUPPRESS_HEADER_A 0x04
85#define WP5_PAGE_GROUP_SUPPRESS_HEADER_B 0x08
86#define WP5_PAGE_GROUP_SUPPRESS_FOOTER_A 0x10
87#define WP5_PAGE_GROUP_SUPPRESS_FOOTER_B 0x20
88#define WP5_PAGE_GROUP_SUPPRESS_CODE_NOT_AT_TOP_OF_PAGE 0x80
89
90/* Font Group */
91#define WP5_TOP_FONT_GROUP_COLOR 0x00
92#define WP5_TOP_FONT_GROUP_FONT_CHANGE 0x01
93
94/* Header Footer Group */
95#define WP5_HEADER_FOOTER_GROUP_HEADER_A 0x00
96#define WP5_HEADER_FOOTER_GROUP_HEADER_B 0x01
97#define WP5_HEADER_FOOTER_GROUP_FOOTER_A 0x02
98#define WP5_HEADER_FOOTER_GROUP_FOOTER_B 0x03
99
100#define WP5_HEADER_FOOTER_GROUP_ALL_BIT 0x01
101#define WP5_HEADER_FOOTER_GROUP_ODD_BIT 0x02
102#define WP5_HEADER_FOOTER_GROUP_EVEN_BIT 0x04
103
104/* Format Group */
105#define WP5_FORMAT_GROUP_END_OF_PAGE 0x00
106
107/* Footnote Endnote Group */
108#define WP5_FOOTNOTE_ENDNOTE_GROUP_FOOTNOTE 0x00
109#define WP5_FOOTNOTE_ENDNOTE_GROUP_ENDNOTE 0x01
110
111/* Box Group */
112#define WP5_TOP_BOX_GROUP_FIGURE 0x00
113#define WP5_TOP_BOX_GROUP_TABLE 0x01
114#define WP5_TOP_BOX_GROUP_TEXT_BOX 0x02
115#define WP5_TOP_BOX_GROUP_USER_DEFINED_BOX 0x03
116#define WP5_TOP_BOX_GROUP_EQUATION 0x04
117#define WP5_TOP_BOX_GROUP_HORIZONTAL_LINE 0x05
118#define WP5_TOP_BOX_GROUP_VERTICAL_LINE 0x06
119
120/* Definition Group */
121#define WP5_TOP_DEFINITION_GROUP_DEFINE_TABLES 0x0B
122
123/* Table EOL Group */
124#define WP5_TABLE_EOL_GROUP_BEGINNING_OF_COLUMN_AT_EOL 0x00
125#define WP5_TABLE_EOL_GROUP_BEGINNING_OF_ROW_AT_EOL 0x01
126#define WP5_TABLE_EOL_GROUP_TABLE_OFF_AT_EOL 0x02
127
128/* Table EOP Group */
129#define WP5_TABLE_EOP_GROUP_BEGINNING_OF_ROW_AT_EOP 0x01
130#define WP5_TABLE_EOP_GROUP_TABLE_OFF_AT_EOP 0x02
131#define WP5_TABLE_EOP_GROUP_BEGINNING_OF_ROW_AT_HARD_EOP 0x03
132
133/* Extended Character */
134#define WP5_INTERNATIONAL_1_CHARACTER_SET 1
135#define WP5_INTERNATIONAL_2_CHARACTER_SET 2
136#define WP5_BOX_DRAWING_CHARACTER_SET 3
137#define WP5_TYPOGRAPHIC_SYMBOL_CHARACTER_SET 4
138#define WP5_ICONIC_SYMBOL_CHARACTER_SET 5
139#define WP5_MATH_SCIENTIFIC_CHARACTER_SET 6
140#define WP5_MATH_SCIENTIFIC_EXTENDED_CHARACTER_SET 7
141#define WP5_GREEK_CHARACTER_SET 8
142#define WP5_HEBREW_CHARACTER_SET 9
143#define WP5_CYRILLIC_CHARACTER_SET 10
144#define WP5_JAPANESE_CHARACTER_SET 11
145#define WP5_ARABIC_CHARACTER_SET 13
146#define WP5_ARABIC_SCRIPT_CHARACTER_SET 14
147
148/* Tab Group */
149#define WP5_TAB_GROUP_LEFT_TAB 0x00
150#define WP5_TAB_GROUP_DECIMAL_TAB 0x08
151#define WP5_TAB_GROUP_RIGHT_TAB 0x09
152#define WP5_TAB_GROUP_FLUSH_RIGHT 0x0C
153#define WP5_TAB_GROUP_BACK_TAB 0x10
154#define WP5_TAB_GROUP_CENTER_ON_CURRENT_POSITION 0x18
155#define WP5_TAB_GROUP_CENTER_TAB 0x19
156#define WP5_TAB_GROUP_CENTER_ON_MARGINS 0x1C
157
158/* Indent Group */
159#define WP5_INDENT_GROUP_LEFT_INDENT 0x00
160#define WP5_INDENT_GROUP_LEFT_RIGHT_INDENT 0x01
161
162
163#endif /* WP5FILESTRUCTURE_H */
164/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
int WP5_FIXED_LENGTH_FUNCTION_GROUP_SIZE[16]
Definition WP5FileStructure.cpp:30

Generated for libwpd by doxygen 1.14.0