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

Generated for libwpd by doxygen 1.8.3