1 /* AbiWord 2 * Copyright (C) 2002 AbiSource, Inc. 3 * Copyright (C) 2002 Marc Maurer (uwog@uwog.net) 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License 7 * as published by the Free Software Foundation; either version 2 8 * of the License, or (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 18 * 02110-1301 USA. 19 */ 20 21 /* See bug 1764 22 * "This product is not manufactured, approved, or supported by 23 * Corel Corporation or Corel Corporation Limited." 24 */ 25 26 #include "ie_imp_WordPerfect.h" 27 #include "xap_Module.h" 28 29 #define IE_MIMETYPE_WP_51 "application/wordperfect5.1" 30 #define IE_MIMETYPE_WP_6 "application/wordperfect6" 31 32 #define WP_TOP_SOFT_SPACE 128 33 #define WP_TOP_HARD_HYPHEN 132 // (0x84) 34 #define WP_TOP_DORMANT_HARD_RETURN 135 // (0x87) 35 #define WP_TOP_HARD_EOL 204 36 #define WP_TOP_SOFT_EOL 207 37 #define WP_TOP_EOL_GROUP 0xD0 38 #define WP_TOP_PAGE_GROUP 0xD1 39 #define WP_TOP_COLUMN_GROUP 0xD2 40 #define WP_TOP_PARAGRAPH_GROUP 0xD3 41 #define WP_TOP_CHARACTER_GROUP 0xD4 42 #define WP_TOP_CROSSREFERENCE_GROUP 0xD5 43 #define WP_TOP_HEADER_FOOTER_GROUP 0xD6 44 #define WP_TOP_FOOTENDNOTE_GROUP 215 // (0xD7) 45 #define WP_TOP_SET_NUMBER_GROUP 216 // (0xD8) 46 #define WP_TOP_NUMBERING_METHOD_GROUP 217 // (0xD9) 47 #define WP_TOP_DISPLAY_NUMBER_REFERENCE_GROUP 218 // (0xDA) 48 #define WP_TOP_INCREMENT_NUMBER_GROUP 219 // (0xDB) 49 #define WP_TOP_DECREMENT_NUMBER_GROUP 220 // (0xDC) 50 #define WP_TOP_STYLE_GROUP 221 // (0xDD) 51 #define WP_TOP_MERGE_GROUP 222 // (0xDE) 52 #define WP_TOP_BOX_GROUP 223 // (0xDF) 53 #define WP_TOP_TAB_GROUP 224 // (0xE0) 54 #define WP_TOP_PLATFORM_GROUP 225 // (0xE1) 55 #define WP_TOP_FORMATTER_GROUP 226 // (0xE2) 56 #define WP_TOP_EXTENDED_CHARACTER 240// (0xF0) 57 #define WP_TOP_UNDO_GROUP 241 // (0xF1) 58 #define WP_TOP_ATTRIBUTE_ON 242 // (0xF2) 59 #define WP_TOP_ATTRIBUTE_OFF 243 // (0xF3) 60 61 #define WP_PARAGRAPH_GROUP_JUSTIFICATION 0x05 62 #define WP_PARAGRAPH_GROUP_OUTLINE_DEFINE 0x0E 63 #define WP_PARAGRAPH_GROUP_JUSTIFICATION_LEFT 0x00 64 #define WP_PARAGRAPH_GROUP_JUSTIFICATION_FULL 0x01 65 #define WP_PARAGRAPH_GROUP_JUSTIFICATION_CENTER 0x02 66 #define WP_PARAGRAPH_GROUP_JUSTIFICATION_RIGHT 0x03 67 #define WP_PARAGRAPH_GROUP_JUSTIFICATION_FULL_ALL_LINES 0x04 68 #define WP_PARAGRAPH_GROUP_JUSTIFICATION_RESERVED 0x05 69 70 #define WP_MULTINATIONAL_CHARACTER_SET 1 71 #define WP_PHONETIC_SYMBOL_CHARACTER_SET 2 72 #define WP_TYPOGRAPHIC_SYMBOL_CHARACTER_SET 4 73 #define WP_ICONIC_SYMBOL_CHARACTER_SET 5 74 #define WP_MATH_SCIENTIFIC_CHARACTER_SET 6 75 #define WP_MATH_SCIENTIFIC_EXTENDED_CHARACTER_SET 7 76 #define WP_GREEK_CHARACTER_SET 8 77 #define WP_HEBREW_CHARACTER_SET 9 78 #define WP_CYRILLIC_CHARACTER_SET 10 79 #define WP_JAPANESE_CHARACTER_SET 11 80