libwpd: WP6FileStructure.h Source File documentation

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

# WP6FileStructure.h

Go to the documentation of this file.

    00001 /* libwpd
    00002  * Copyright (C) 2002 William Lachance (william.lachance@sympatico.ca)
    00003  * Copyright (C) 2002-2003 Marc Maurer (j.m.maurer@student.utwente.nl)
    00004  *
    00005  * This library is free software; you can redistribute it and/or
    00006  * modify it under the terms of the GNU Library General Public
    00007  * License as published by the Free Software Foundation; either
    00008  * version 2 of the License, or (at your option) any later version.
    00009  *
    00010  * This library is distributed in the hope that it will be useful,
    00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00013  * Library General Public License for more details.
    00014  *
    00015  * You should have received a copy of the GNU Library General Public
    00016  * License along with this library; if not, write to the Free Software
    00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
    00018  *
    00019  * For further information visit http://libwpd.sourceforge.net
    00020  */
    00021
    00022 /* "This product is not manufactured, approved, or supported by
    00023  * Corel Corporation or Corel Corporation Limited."
    00024  */
    00025
    00026 #ifndef WP6FILESTRUCTURE_H
    00027 #define WP6FILESTRUCTURE_H
    00028
    00029 // size of the fixed length functiongroups 0xF0 to 0xFF
    00030 extern int WP6_FIXED_LENGTH_FUNCTION_GROUP_SIZE[16];
    00031
    00032 /* standard sizes */
    00033 #define WP6_NUM_LIST_LEVELS 8
    00034
    00035 /* header defines */
    00036 #define WP6_HEADER_DOCUMENT_SIZE_OFFSET 20
    00037 #define WP6_HEADER_INDEX_HEADER_POINTER_OFFSET 14
    00038
    00039 #define WP6_EXPECTED_MAJOR_VERSION 2
    00040 #define WP6_DOCUMENT_FILE_TYPE 10
    00041
    00042 /* index header information */
    00043
    00044 #define WP6_INDEX_HEADER_NUM_INDICES_POSITION 2
    00045 #define WP6_INDEX_HEADER_INDICES_POSITION 14
    00046 #define WP6_INDEX_HEADER_ELEMENT_CHILD_PACKET_BIT 1
    00047 #define WP6_INDEX_HEADER_GRAPHICS_BOX_STYLE 65
    00048
    00049 #define WP6_INDEX_HEADER_GENERAL_WORDPERFECT_TEXT 0x08
    00050 #define WP6_INDEX_HEADER_PRINTER_SELECTION_DESCRIPTOR_POOL 0x23
    00051 #define WP6_INDEX_HEADER_FILL_STYLE 0x43
    00052 #define WP6_INDEX_HEADER_DESIRED_FONT_DESCRIPTOR_POOL 0x55
    00053 #define WP6_INDEX_HEADER_INITIAL_FONT 0x25
    00054 #define WP6_INDEX_HEADER_SYLE_DATA_DESCRIPTOR_POOL 0x30
    00055 #define WP6_INDEX_HEADER_PREFIX_TIME_STAMP_DESCRIPTOR_POOL 0x5E
    00056 #define WP6_INDEX_HEADER_UNDO_INFORMATION_DESCRIPTOR_POOL 0x77 /* WordPerfect 6.1 */
    00057 #define WP6_INDEX_HEADER_SHARED_PERSONAL_FILE_DATES_DESCRIPTOR_POOL 0x34
    00058 #define WP6_INDEX_HEADER_DOCUMENT_SETTINGS_DESCRIPTOR_POOL 0x02
    00059 #define WP6_INDEX_HEADER_NEXT_TOTAL_PAGE_COUNT_DESCRIPTOR_POOL 0x10
    00060 #define WP6_INDEX_HEADER_WORLD_WIDE_WEB_DESCRIPTOR_POOL 0x6D
    00061 #define WP6_INDEX_HEADER_CHECK_AS_YOU_GO_DESCRIPTOR_POOL 0x4E
    00062
    00063 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY 0x12
    00064 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_AUTHOR 5
    00065 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_SUBJECT 46
    00066 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_PUBLISHER 33
    00067 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CATEGORY 10
    00068 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_KEYWORDS 26
    00069 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_LANGUAGE 27
    00070 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_ABSTRACT 1
    00071 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DESCRIPTIVE_NAME 17
    00072 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DESCRIPTIVE_TYPE 18
    00073
    00074 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_CREATION_DATE 0x0E
    00075 #define WP6_INDEX_HEADER_EXTENDED_DOCUMENT_SUMMARY_DATE_COMPLETED 0x0F
    00076
    00077 #define WP6_INDEX_HEADER_OUTLINE_STYLE 0x31
    00078 #define WP6_INDEX_HEADER_OUTLINE_STYLE_ARABIC_NUMBERING 0
    00079 #define WP6_INDEX_HEADER_OUTLINE_STYLE_LOWERCASE_NUMBERING 1
    00080 #define WP6_INDEX_HEADER_OUTLINE_STYLE_UPPERCASE_NUMBERING 2
    00081 #define WP6_INDEX_HEADER_OUTLINE_STYLE_LOWERCASE_ROMAN_NUMBERING 3
    00082 #define WP6_INDEX_HEADER_OUTLINE_STYLE_UPPERCASE_ROMAN_NUMBERING 4
    00083
    00084 #define WP6_VARIABLE_GROUP_PREFIX_ID_BIT 128 /* bit 7 */
    00085
    00086 /* Main function group list  */
    00087
    00088 #define WP6_TOP_SOFT_SPACE 0x80
    00089 #define WP6_TOP_HARD_SPACE 0x81
    00090 #define WP6_TOP_SOFT_HYPHEN_IN_LINE 0x82
    00091 #define WP6_TOP_SOFT_HYPHEN_AT_EOL 0x83
    00092 #define WP6_TOP_HARD_HYPHEN 0x84
    00093 #define WP6_TOP_AUTO_HYPHEN 0x85
    00094 #define WP6_TOP_DORMANT_HARD_RETURN 0x87
    00095
    00096 #define WP6_TOP_DELETABLE_HARD_EOP 0xB4
    00097 #define WP6_TOP_DELETABLE_HARD_EOC_AT_EOP 0xB5
    00098 #define WP6_TOP_DELETABLE_HARD_EOC 0xB6
    00099 #define WP6_TOP_DELETABLE_HARD_EOL_AT_EOC_AT_EOP 0xB7
    00100 #define WP6_TOP_DELETABLE_HARD_EOL_AT_EOC 0xB8
    00101 #define WP6_TOP_DELETABLE_HARD_EOL 0xB9
    00102 #define WP6_TOP_DELETABLE_SOFT_EOL_AT_EOC_AT_EOP 0xBA
    00103 #define WP6_TOP_DELETABLE_SOFT_EOL_AT_EOC 0xBB
    00104 #define WP6_TOP_DELETABLE_SOFT_EOL 0xBC
    00105
    00106 #define WP6_TOP_TABLE_OFF_AT_EOC_AT_EOP 0xBD
    00107 #define WP6_TOP_TABLE_OFF_AT_EOC 0xBE
    00108 #define WP6_TOP_TABLE_OFF 0xBF
    00109 #define WP6_TOP_TABLE_ROW_AT_HARD_EOP 0xC0
    00110 #define WP6_TOP_TABLE_ROW_AT_HARD_EOC_AT_HARD_EOP 0xC1
    00111 #define WP6_TOP_TABLE_ROW_AT_HARD_EOC 0xC2
    00112 #define WP6_TOP_TABLE_ROW_AT_EOC_AT_EOP 0xC3
    00113 #define WP6_TOP_TABLE_ROW_AT_EOC 0xC4
    00114 #define WP6_TOP_TABLE_ROW 0xC5
    00115 #define WP6_TOP_TABLE_CELL 0xC6
    00116
    00117 #define WP6_TOP_HARD_EOP 0xC7
    00118 #define WP6_TOP_HARD_EOC_AT_EOP 0xC8
    00119 #define WP6_TOP_HARD_EOC 0xC9
    00120 #define WP6_TOP_HARD_EOL_AT_EOC_AT_EOP 0xCA
    00121 #define WP6_TOP_HARD_EOL_AT_EOC 0xCB
    00122 #define WP6_TOP_HARD_EOL 0xCC
    00123 #define WP6_TOP_SOFT_EOL_AT_EOC_AT_EOP 0xCD
    00124 #define WP6_TOP_SOFT_EOL_AT_EOC 0xCE
    00125 #define WP6_TOP_SOFT_EOL 0xCF
    00126
    00127 #define WP6_TOP_EOL_GROUP 0xD0
    00128 #define WP6_TOP_PAGE_GROUP 0xD1
    00129 #define WP6_TOP_COLUMN_GROUP 0xD2
    00130 #define WP6_TOP_PARAGRAPH_GROUP 0xD3
    00131 #define WP6_TOP_CHARACTER_GROUP 0xD4
    00132 #define WP6_TOP_CROSSREFERENCE_GROUP 0xD5
    00133 #define WP6_TOP_HEADER_FOOTER_GROUP 0xD6
    00134 #define WP6_TOP_FOOTNOTE_ENDNOTE_GROUP 0xD7
    00135 #define WP6_TOP_SET_NUMBER_GROUP 0xD8
    00136 #define WP6_TOP_NUMBERING_METHOD_GROUP 0xD9
    00137 #define WP6_TOP_DISPLAY_NUMBER_REFERENCE_GROUP 0xDA
    00138 #define WP6_TOP_INCREMENT_NUMBER_GROUP 0xDB
    00139 #define WP6_TOP_DECREMENT_NUMBER_GROUP 0xDC
    00140 #define WP6_TOP_STYLE_GROUP 0xDD
    00141 #define WP6_TOP_MERGE_GROUP 0xDE
    00142 #define WP6_TOP_BOX_GROUP 0xDF
    00143 #define WP6_TOP_TAB_GROUP 0xE0
    00144 #define WP6_TOP_PLATFORM_GROUP 0xE1
    00145 #define WP6_TOP_FORMATTER_GROUP 0xE2
    00146
    00147 #define WP6_TOP_EXTENDED_CHARACTER 0xF0
    00148 #define WP6_TOP_UNDO_GROUP 0xF1
    00149 #define WP6_TOP_ATTRIBUTE_ON 0xF2
    00150 #define WP6_TOP_ATTRIBUTE_OFF 0xF3
    00151 #define WP6_TOP_HIGHLIGHT_ON 0xFB
    00152 #define WP6_TOP_HIGHLIGHT_OFF 0xFC
    00153
    00154 /* Page Group */
    00155 #define WP6_PAGE_GROUP_TOP_MARGIN_SET 0x00
    00156 #define WP6_PAGE_GROUP_BOTTOM_MARGIN_SET 0x01
    00157 #define WP6_PAGE_GROUP_SUPPRESS_PAGE_CHARACTERISTICS 0x02
    00158 #define WP6_PAGE_GROUP_FORM 0x11
    00159
    00160 // breaking style here so our symbols aren't (as) ridiculously long
    00161 #define WP6_PAGE_GROUP_SUPPRESS_PAGE_NUMBER 1
    00162 #define WP6_PAGE_GROUP_SUPPRESS_CURRENT_PAGE_NUMBERING_AND_PRINT_NUMBER_AT_BOTTOM_CENTER 2
    00163 #define WP6_PAGE_GROUP_SUPPRESS_HEADER_A 4
    00164 #define WP6_PAGE_GROUP_SUPPRESS_HEADER_B 8
    00165 #define WP6_PAGE_GROUP_SUPPRESS_FOOTER_A 16
    00166 #define WP6_PAGE_GROUP_SUPPRESS_FOOTER_B 32
    00167 #define WP6_PAGE_GROUP_SUPPRESS_WATERMARK_A 64
    00168 #define WP6_PAGE_GROUP_SUPPRESS_WATERMARK_B 128
    00169
    00170 /* EOL Group */
    00171 #define WP6_EOL_GROUP_SOFT_EOL 0x01
    00172 #define WP6_EOL_GROUP_SOFT_EOC 0x02
    00173 #define WP6_EOL_GROUP_SOFT_EOC_AT_EOP 0x03
    00174 #define WP6_EOL_GROUP_HARD_EOL 0x04
    00175 #define WP6_EOL_GROUP_HARD_EOL_AT_EOC 0x05
    00176 #define WP6_EOL_GROUP_HARD_EOL_AT_EOP 0x06
    00177 #define WP6_EOL_GROUP_HARD_EOC 0x07
    00178 #define WP6_EOL_GROUP_HARD_EOC_AT_EOP 0x08
    00179 #define WP6_EOL_GROUP_HARD_EOP 0x09
    00180 #define WP6_EOL_GROUP_TABLE_CELL 0x0A
    00181 #define WP6_EOL_GROUP_TABLE_ROW_AND_CELL 0x0B
    00182 #define WP6_EOL_GROUP_TABLE_ROW_AT_EOC 0x0C
    00183 #define WP6_EOL_GROUP_TABLE_ROW_AT_EOP 0x0D
    00184 #define WP6_EOL_GROUP_TABLE_ROW_AT_HARD_EOC 0x0E
    00185 #define WP6_EOL_GROUP_TABLE_ROW_AT_HARD_EOC_AT_HARD_EOP 0x0F
    00186 #define WP6_EOL_GROUP_TABLE_ROW_AT_HARD_EOP 0x10
    00187 #define WP6_EOL_GROUP_TABLE_OFF 0x11
    00188 #define WP6_EOL_GROUP_TABLE_OFF_AT_EOC 0x12
    00189 #define WP6_EOL_GROUP_TABLE_OFF_AT_EOC_AT_EOP 0x13
    00190 #define WP6_EOL_GROUP_DELETABLE_SOFT_EOL 0x14
    00191 #define WP6_EOL_GROUP_DELETABLE_SOFT_EOC 0x15
    00192 #define WP6_EOL_GROUP_DELETABLE_SOFT_EOC_AT_EOP 0x16
    00193 #define WP6_EOL_GROUP_DELETABLE_HARD_EOL 0x17
    00194 #define WP6_EOL_GROUP_DELETABLE_HARD_EOL_AT_EOC 0x18
    00195 #define WP6_EOL_GROUP_DELETABLE_HARD_EOL_AT_EOP 0x19
    00196 #define WP6_EOL_GROUP_DELETABLE_HARD_EOC 0x1A
    00197 #define WP6_EOL_GROUP_DELETABLE_HARD_EOC_AT_EOP 0x1B
    00198 #define WP6_EOL_GROUP_DELETABLE_HARD_EOP 0x1C
    00199 #define WP6_EOL_GROUP_ROW_INFORMATION 128
    00200 #define WP6_EOL_GROUP_ROW_INFORMATION_SIZE 5
    00201 #define WP6_EOL_GROUP_CELL_FORMULA 129 // cell_formula size is variable
    00202 #define WP6_EOL_GROUP_TOP_GUTTER_SPACING 130
    00203 #define WP6_EOL_GROUP_TOP_GUTTER_SPACING_SIZE 4
    00204 #define WP6_EOL_GROUP_BOTTOM_GUTTER_SPACING 131
    00205 #define WP6_EOL_GROUP_BOTTOM_GUTTER_SPACING_SIZE 4
    00206 #define WP6_EOL_GROUP_CELL_INFORMATION 132
    00207 #define WP6_EOL_GROUP_CELL_INFORMATION_SIZE 9
    00208 #define WP6_EOL_GROUP_CELL_SPANNING_INFORMATION 133
    00209 #define WP6_EOL_GROUP_CELL_SPANNING_INFORMATION_SIZE 4
    00210 #define WP6_EOL_GROUP_CELL_FILL_COLORS 134
    00211 #define WP6_EOL_GROUP_CELL_FILL_COLORS_SIZE 10
    00212 #define WP6_EOL_GROUP_CELL_LINE_COLOR 135
    00213 #define WP6_EOL_GROUP_CELL_LINE_COLOR_SIZE 6
    00214 #define WP6_EOL_GROUP_CELL_NUMBER_TYPE 136
    00215 #define WP6_EOL_GROUP_CELL_NUMBER_TYPE_SIZE 6
    00216 #define WP6_EOL_GROUP_CELL_FLOATING_POINT_NUMBER 137
    00217 #define WP6_EOL_GROUP_CELL_FLOATING_POINT_NUMBER_SIZE 11
    00218 #define WP6_EOL_GROUP_CELL_PREFIX_FLAG 139
    00219 #define WP6_EOL_GROUP_CELL_PREFIX_FLAG_SIZE 3
    00220 #define WP6_EOL_GROUP_CELL_RECALCULATION_ERROR_NUMBER 140
    00221 #define WP6_EOL_GROUP_CELL_RECALCULATION_ERROR_NUMBER_SIZE 3
    00222 #define WP6_EOL_GROUP_DONT_END_A_PARAGRAPH_STYLE_FOR_THIS_HARD_RETURN 141
    00223 #define WP6_EOL_GROUP_DONT_END_A_PARAGRAPH_STYLE_FOR_THIS_HARD_RETURN_SIZE 1
    00224
    00225 /* Style Group */
    00226 #define WP6_STYLE_GROUP_PARASTYLE_BEGIN_ON_PART1 0x04
    00227 #define WP6_STYLE_GROUP_PARASTYLE_BEGIN_OFF_PART1 0x05
    00228 #define WP6_STYLE_GROUP_PARASTYLE_BEGIN_ON_PART2 0x06
    00229 #define WP6_STYLE_GROUP_PARASTYLE_BEGIN_OFF_PART2 0x07
    00230 #define WP6_STYLE_GROUP_PARASTYLE_END_ON 0x08
    00231 #define WP6_STYLE_GROUP_PARASTYLE_END_OFF 0x09
    00232 #define WP6_STYLE_GROUP_GLOBAL_ON 0x0A
    00233 #define WP6_STYLE_GROUP_GLOBAL_OFF 0x0B
    00234
    00235 #define WP6_SYSTEM_STYLE_FOOTNOTE 36
    00236 #define WP6_SYSTEM_STYLE_ENDNOTE 37
    00237
    00238 /* Paragraph Group */
    00239 #define WP6_PARAGRAPH_GROUP_LINE_SPACING 0x01
    00240 #define WP6_PARAGRAPH_GROUP_TAB_SET 0x04
    00241 #define WP6_PARAGRAPH_GROUP_JUSTIFICATION 0x05
    00242 #define WP6_PARAGRAPH_GROUP_SPACING_AFTER_PARAGRAPH 0x0A
    00243 #define WP6_PARAGRAPH_GROUP_INDENT_FIRST_LINE_OF_PARAGRAPH 0x0B
    00244 #define WP6_PARAGRAPH_GROUP_LEFT_MARGIN_ADJUSTMENT 0x0C
    00245 #define WP6_PARAGRAPH_GROUP_RIGHT_MARGIN_ADJUSTMENT 0x0D
    00246 #define WP6_PARAGRAPH_GROUP_OUTLINE_DEFINE 0x0E
    00247 #define WP6_PARAGRAPH_GROUP_OUTLINE_DEFINE_BULLETED_NUMBERING 0
    00248 #define WP6_PARAGRAPH_GROUP_OUTLINE_DEFINE_ARABIC_NUMBERING 256
    00249 #define WP6_PARAGRAPH_GROUP_OUTLINE_DEFINE_LOWERCASE_NUMBERING 3
    00250 #define WP6_PARAGRAPH_GROUP_OUTLINE_DEFINE_LOWERCASE_ROMAN_NUMBERING 769
    00251
    00252 #define WP6_PARAGRAPH_JUSTIFICATION_LEFT 0x00
    00253 #define WP6_PARAGRAPH_JUSTIFICATION_FULL 0x01
    00254 #define WP6_PARAGRAPH_JUSTIFICATION_CENTER 0x02
    00255 #define WP6_PARAGRAPH_JUSTIFICATION_RIGHT 0x03
    00256 #define WP6_PARAGRAPH_JUSTIFICATION_FULL_ALL_LINES 0x04
    00257 #define WP6_PARAGRAPH_JUSTIFICATION_RESERVED 0x05
    00258
    00259 /* Display Number Reference Group */
    00260 #define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_USER_DEFINED_ON 0x00
    00261 #define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_USER_DEFINED_OFF 0x01
    00262 //#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_CHAPTER_ON 0x08
    00263 //#define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_CHAPTER_OFF 0x09
    00264 #define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_PARAGRAPH_NUMBER_ON 0x0C
    00265 #define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_PARAGRAPH_NUMBER_OFF 0x0D
    00266 #define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_FOOTNOTE_NUMBER_ON 0x0E
    00267 #define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_FOOTNOTE_NUMBER_OFF 0x0F
    00268 #define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_ENDNOTE_NUMBER_ON 0x10
    00269 #define WP6_DISPLAY_NUMBER_REFERENCE_GROUP_ENDNOTE_NUMBER_OFF 0x11
    00270
    00271 /* Character Group */
    00272 #define WP6_CHARACTER_GROUP_SET_ALIGNMENT_CHARACTER 0x00
    00273 #define WP6_CHARACTER_GROUP_COLOR 0x18
    00274 #define WP6_CHARACTER_GROUP_CHARACTER_SHADING_CHANGE 0x19
    00275 #define WP6_CHARACTER_GROUP_FONT_FACE_CHANGE 0x1A
    00276 #define WP6_CHARACTER_GROUP_FONT_SIZE_CHANGE 0x1B
    00277 #define WP6_CHARACTER_GROUP_SET_DOT_LEADER_CHARACTERS 0x1E
    00278 #define WP6_CHARACTER_GROUP_PARAGRAPH_NUMBER_ON 0x32
    00279 #define WP6_CHARACTER_GROUP_PARAGRAPH_NUMBER_OFF 0x33
    00280 #define WP6_CHARACTER_GROUP_TABLE_DEFINITION_ON 0x2A
    00281 #define WP6_CHARACTER_GROUP_TABLE_DEFINITION_OFF 0x2B
    00282 #define WP6_CHARACTER_GROUP_TABLE_COLUMN 0x2C
    00283
    00284 /* Footnote/endnote Group */
    00285 #define WP6_FOOTNOTE_ENDNOTE_GROUP_FOOTNOTE_ON 0x00
    00286 #define WP6_FOOTNOTE_ENDNOTE_GROUP_ENDNOTE_ON 0x02
    00287 #define WP6_FOOTNOTE_ENDNOTE_GROUP_FOOTNOTE_OFF 0x01
    00288 #define WP6_FOOTNOTE_ENDNOTE_GROUP_ENDNOTE_OFF 0x03
    00289
    00290 /* Header/footer Group */
    00291 #define WP6_NUM_HEADER_FOOTER_TYPES 6
    00292 #define WP6_HEADER_FOOTER_GROUP_HEADER_A 0x00
    00293 #define WP6_HEADER_FOOTER_GROUP_HEADER_B 0x01
    00294 #define WP6_HEADER_FOOTER_GROUP_FOOTER_A 0x02
    00295 #define WP6_HEADER_FOOTER_GROUP_FOOTER_B 0x03
    00296 #define WP6_HEADER_FOOTER_GROUP_WATERMARK_A 0x04
    00297 #define WP6_HEADER_FOOTER_GROUP_WATERMARK_B 0x05
    00298
    00299 #define WP6_HEADER_FOOTER_GROUP_ODD_BIT 0x01
    00300 #define WP6_HEADER_FOOTER_GROUP_EVEN_BIT 0x02
    00301
    00302 /* Column Group */
    00303 #define WP6_COLUMN_GROUP_LEFT_MARGIN_SET 0
    00304 #define WP6_COLUMN_GROUP_RIGHT_MARGIN_SET 1
    00305
    00306 #define WP6_COLUMN_TYPE_NEWSPAPER 0x00
    00307 #define WP6_COLUMN_TYPE_NEWSPAPER_VERTICAL_BALANCE 0x01
    00308 #define WP6_COLUMN_TYPE_PARALLEL 0x02
    00309 #define WP6_COLUMN_TYPE_PARALLEL_PROTECT 0x03
    00310
    00311 /* Attribute Group */
    00312 #define WP6_ATTRIBUTE_EXTRA_LARGE 0
    00313 #define WP6_ATTRIBUTE_VERY_LARGE 1
    00314 #define WP6_ATTRIBUTE_LARGE 2
    00315 #define WP6_ATTRIBUTE_SMALL_PRINT 3
    00316 #define WP6_ATTRIBUTE_FINE_PRINT 4
    00317 #define WP6_ATTRIBUTE_SUPERSCRIPT 5
    00318 #define WP6_ATTRIBUTE_SUBSCRIPT 6
    00319 #define WP6_ATTRIBUTE_OUTLINE 7
    00320 #define WP6_ATTRIBUTE_ITALICS 8
    00321 #define WP6_ATTRIBUTE_SHADOW 9
    00322 #define WP6_ATTRIBUTE_REDLINE 10
    00323 #define WP6_ATTRIBUTE_DOUBLE_UNDERLINE 11
    00324 #define WP6_ATTRIBUTE_BOLD 12
    00325 #define WP6_ATTRIBUTE_STRIKE_OUT 13
    00326 #define WP6_ATTRIBUTE_UNDERLINE 14
    00327 #define WP6_ATTRIBUTE_SMALL_CAPS 15
    00328 #define WP6_ATTRIBUTE_BLINK 16
    00329
    00330 /* Tab Group */
    00331 // these elements are defined in terms of bits 3-8 of the tab group
    00332 #define WP6_TAB_GROUP_BACK_TAB 0x00
    00333 #define WP6_TAB_GROUP_TABLE_TAB 0x01
    00334 #define WP6_TAB_GROUP_LEFT_TAB 0x02
    00335 #define WP6_TAB_GROUP_BAR_TAB 0x04
    00336 #define WP6_TAB_GROUP_LEFT_INDENT 0x06
    00337 #define WP6_TAB_GROUP_LEFT_RIGHT_INDENT 0x07
    00338 #define WP6_TAB_GROUP_CENTER_ON_MARGINS 0x08
    00339 #define WP6_TAB_GROUP_CENTER_ON_CURRENT_POSITION 0x09
    00340 #define WP6_TAB_GROUP_CENTER_TAB 0x0A
    00341 #define WP6_TAB_GROUP_FLUSH_RIGHT 0x10
    00342 #define WP6_TAB_GROUP_RIGHT_TAB 0x12
    00343 #define WP6_TAB_GROUP_DECIMAL_TAB 0x1A
    00344
    00345
    00346 /* Extended Character */
    00347 #define WP6_MULTINATIONAL_CHARACTER_SET 1
    00348 #define WP6_PHONETIC_SYMBOL_CHARACTER_SET 2
    00349 #define WP6_BOX_DRAWING_CHARACTER_SET 3
    00350 #define WP6_TYPOGRAPHIC_SYMBOL_CHARACTER_SET 4
    00351 #define WP6_ICONIC_SYMBOL_CHARACTER_SET 5
    00352 #define WP6_MATH_SCIENTIFIC_CHARACTER_SET 6
    00353 #define WP6_MATH_SCIENTIFIC_EXTENDED_CHARACTER_SET 7
    00354 #define WP6_GREEK_CHARACTER_SET 8
    00355 #define WP6_HEBREW_CHARACTER_SET 9
    00356 #define WP6_CYRILLIC_CHARACTER_SET 10
    00357 #define WP6_JAPANESE_CHARACTER_SET 11
    00358 #define WP6_TIBETAN_CHARACTER_SET 12
    00359 #define WP6_ARABIC_CHARACTER_SET 13
    00360 #define WP6_ARABIC_SCRIPT_CHARACTER_SET 14
    00361
    00362 #define WP6_NUM_MULTINATIONAL_CHARACTERS 242
    00363 #define WP6_NUM_PHONETIC_CHARACTERS 145
    00364 #define WP6_NUM_BOX_DRAWING_CHARACTERS 88
    00365 #define WP6_NUM_TYPOGRAPHIC_CHARACTERS 102
    00366 #define WP6_NUM_ICONIC_CHARACTERS 255
    00367 #define WP6_NUM_MATH_SCIENTIFIC_CHARACTERS 238
    00368 #define WP6_NUM_MATH_SCIENTIFIC_EXTENDED_CHARACTERS 229
    00369 #define WP6_NUM_GREEK_CHARACTERS 219
    00370 #define WP6_NUM_HEBREW_CHARACTERS 123
    00371 #define WP6_NUM_CYRILLIC_CHARACTERS 250
    00372 #define WP6_NUM_JAPANESE_CHARACTERS 63
    00373 #define WP6_NUM_ARABIC_CHARACTERS 196
    00374 #define WP6_NUM_ARABIC_SCRIPT_CHARACTERS 220
    00375
    00376 /* Undo Group */
    00377 #define WP6_UNDO_GROUP_INVALID_TEXT_START 0
    00378 #define WP6_UNDO_GROUP_INVALID_TEXT_END 1
    00379 #define WP6_UNDO_GROUP_VALID_TEXT_START 2
    00380 #define WP6_UNDO_GROUP_VALID_TEXT_END 3
    00381
    00382 #endif /* WP6FILESTRUCTURE_H */