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

WP5FileStructure.h

Go to the documentation of this file.
00001 /* libwpd
00002  * Copyright (C) 2003 William Lachance (wrlach@gmail.com)
00003  * Copyright (C) 2003 Marc Maurer (uwog@uwog.net)
00004  * Copyright (C) 2005-2007 Fridrich Strba (fridrich.strba@bluewin.ch)
00005  * Copyright (C) 2007 Novell, Inc. (http://www.novell.com)
00006  *  
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Library General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Library General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Library General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
00020  *
00021  * For further information visit http://libwpd.sourceforge.net
00022  */
00023 
00024 /* "This product is not manufactured, approved, or supported by 
00025  * Corel Corporation or Corel Corporation Limited."
00026  */
00027 
00028 #ifndef WP5FILESTRUCTURE_H
00029 #define WP5FILESTRUCTURE_H
00030 
00031 /* size of the fixed length functiongroups 0xC0 to 0xCF */
00032 extern int WP5_FIXED_LENGTH_FUNCTION_GROUP_SIZE[16]; 
00033 
00034 #define WP5_ATTRIBUTE_EXTRA_LARGE 0x00
00035 #define WP5_ATTRIBUTE_VERY_LARGE 0x01
00036 #define WP5_ATTRIBUTE_LARGE 0x02
00037 #define WP5_ATTRIBUTE_SMALL_PRINT 0x03
00038 #define WP5_ATTRIBUTE_FINE_PRINT 0x04
00039 #define WP5_ATTRIBUTE_SUPERSCRIPT 0x05
00040 #define WP5_ATTRIBUTE_SUBSCRIPT 0x06
00041 #define WP5_ATTRIBUTE_OUTLINE 0x07
00042 #define WP5_ATTRIBUTE_ITALICS 0x08
00043 #define WP5_ATTRIBUTE_SHADOW 0x09
00044 #define WP5_ATTRIBUTE_REDLINE 0x0A
00045 #define WP5_ATTRIBUTE_DOUBLE_UNDERLINE 0xB
00046 #define WP5_ATTRIBUTE_BOLD 0x0C
00047 #define WP5_ATTRIBUTE_STRIKE_OUT 0x0D
00048 #define WP5_ATTRIBUTE_UNDERLINE 0x0E
00049 #define WP5_ATTRIBUTE_SMALL_CAPS 0x0F
00050 
00051 /* Genearal data packet list */
00052 #define WP50_LIST_FONTS_USED_PACKET 0x02
00053 #define WP5_FONT_NAME_STRING_POOL_PACKET 0x07
00054 #define WP51_LIST_FONTS_USED_PACKET 0x0F
00055 
00056 /* Main function group list  */
00057 #define WP5_TOP_EXTENDED_CHARACTER 0xC0
00058 #define WP5_TOP_TAB_GROUP 0xC1
00059 #define WP5_TOP_INDENT_GROUP 0xC2
00060 #define WP5_TOP_ATTRIBUTE_ON 0xC3
00061 #define WP5_TOP_ATTRIBUTE_OFF 0xC4
00062 #define WP5_TOP_PAGE_FORMAT_GROUP 0xD0
00063 #define WP5_TOP_FONT_GROUP 0xD1
00064 #define WP5_TOP_DEFINITION_GROUP 0xD2
00065 #define WP5_TOP_FORMAT_GROUP 0xD4
00066 #define WP5_TOP_HEADER_FOOTER_GROUP 0xD5
00067 #define WP5_TOP_FOOTNOTE_ENDNOTE_GROUP 0xD6
00068 #define WP5_TOP_TABLE_EOL_GROUP 0xDC
00069 #define WP5_TOP_TABLE_EOP_GROUP 0xDD
00070 
00071 /* Page Format Group */
00072 #define WP5_TOP_PAGE_FORMAT_GROUP_LEFT_RIGHT_MARGIN_SET 0x01
00073 #define WP5_TOP_PAGE_FORMAT_GROUP_SPACING_SET 0x02
00074 #define WP5_TOP_PAGE_FORMAT_GROUP_TAB_SET 0x04
00075 #define WP5_TOP_PAGE_FORMAT_GROUP_TOP_BOTTOM_MARGIN_SET 0x05
00076 #define WP5_TOP_PAGE_FORMAT_GROUP_JUSTIFICATION 0x06
00077 #define WP5_TOP_PAGE_FORMAT_GROUP_SUPPRESS_PAGE_CHARACTERISTICS 0x07
00078 #define WP5_TOP_PAGE_FORMAT_GROUP_FORM 0x0B
00079 
00080 #define WP5_PAGE_GROUP_SUPPRESS_PAGE_NUMBER 0x01
00081 #define WP5_PAGE_GROUP_PAGE_NUMBER_TO_BOTTOM 0x02
00082 #define WP5_PAGE_GROUP_SUPPRESS_HEADER_A 0x04
00083 #define WP5_PAGE_GROUP_SUPPRESS_HEADER_B 0x08
00084 #define WP5_PAGE_GROUP_SUPPRESS_FOOTER_A 0x10
00085 #define WP5_PAGE_GROUP_SUPPRESS_FOOTER_B 0x20
00086 #define WP5_PAGE_GROUP_SUPPRESS_CODE_NOT_AT_TOP_OF_PAGE 0x80
00087 
00088 /* Font Group */
00089 #define WP5_TOP_FONT_GROUP_COLOR 0x00
00090 #define WP5_TOP_FONT_GROUP_FONT_CHANGE 0x01
00091 
00092 /* Header Footer Group */
00093 #define WP5_HEADER_FOOTER_GROUP_HEADER_A 0x00
00094 #define WP5_HEADER_FOOTER_GROUP_HEADER_B 0x01
00095 #define WP5_HEADER_FOOTER_GROUP_FOOTER_A 0x02
00096 #define WP5_HEADER_FOOTER_GROUP_FOOTER_B 0x03
00097 
00098 #define WP5_HEADER_FOOTER_GROUP_ALL_BIT 0x01
00099 #define WP5_HEADER_FOOTER_GROUP_ODD_BIT 0x02
00100 #define WP5_HEADER_FOOTER_GROUP_EVEN_BIT 0x04
00101 
00102 /* Format Group */
00103 #define WP5_FORMAT_GROUP_END_OF_PAGE 0x00
00104 
00105 /* Footnote Endnote Group */
00106 #define WP5_FOOTNOTE_ENDNOTE_GROUP_FOOTNOTE 0x00
00107 #define WP5_FOOTNOTE_ENDNOTE_GROUP_ENDNOTE 0x01
00108 
00109 /* Definition Group */
00110 #define WP5_TOP_DEFINITION_GROUP_DEFINE_TABLES 0x0B
00111 
00112 /* Table EOL Group */
00113 #define WP5_TABLE_EOL_GROUP_BEGINNING_OF_COLUMN_AT_EOL 0x00
00114 #define WP5_TABLE_EOL_GROUP_BEGINNING_OF_ROW_AT_EOL 0x01
00115 #define WP5_TABLE_EOL_GROUP_TABLE_OFF_AT_EOL 0x02
00116 
00117 /* Table EOP Group */
00118 #define WP5_TABLE_EOP_GROUP_BEGINNING_OF_ROW_AT_EOP 0x01
00119 #define WP5_TABLE_EOP_GROUP_TABLE_OFF_AT_EOP 0x02
00120 #define WP5_TABLE_EOP_GROUP_BEGINNING_OF_ROW_AT_HARD_EOP 0x03
00121 
00122 /* Extended Character */
00123 #define WP5_INTERNATIONAL_1_CHARACTER_SET 1
00124 #define WP5_INTERNATIONAL_2_CHARACTER_SET 2
00125 #define WP5_BOX_DRAWING_CHARACTER_SET 3
00126 #define WP5_TYPOGRAPHIC_SYMBOL_CHARACTER_SET 4
00127 #define WP5_ICONIC_SYMBOL_CHARACTER_SET 5
00128 #define WP5_MATH_SCIENTIFIC_CHARACTER_SET 6
00129 #define WP5_MATH_SCIENTIFIC_EXTENDED_CHARACTER_SET 7
00130 #define WP5_GREEK_CHARACTER_SET 8
00131 #define WP5_HEBREW_CHARACTER_SET 9
00132 #define WP5_CYRILLIC_CHARACTER_SET 10
00133 #define WP5_JAPANESE_CHARACTER_SET 11
00134 
00135 #define WP5_NUM_INTERNATIONAL_1_CHARACTERS 234
00136 #define WP5_NUM_INTERNATIONAL_2_CHARACTERS 28
00137 #define WP5_NUM_BOX_DRAWING_CHARACTERS 88
00138 #define WP5_NUM_TYPOGRAPHIC_CHARACTERS 85
00139 #define WP5_NUM_ICONIC_CHARACTERS 35
00140 #define WP5_NUM_MATH_SCIENTIFIC_CHARACTERS 56
00141 #define WP5_NUM_MATH_SCIENTIFIC_EXTENDED_CHARACTERS 229
00142 #define WP5_NUM_GREEK_CHARACTERS 210
00143 #define WP5_NUM_HEBREW_CHARACTERS 44
00144 #define WP5_NUM_CYRILLIC_CHARACTERS 150
00145 #define WP5_NUM_JAPANESE_CHARACTERS 185
00146 
00147 /* Tab Group */
00148 #define WP5_TAB_GROUP_LEFT_TAB 0x00
00149 #define WP5_TAB_GROUP_DECIMAL_TAB 0x08
00150 #define WP5_TAB_GROUP_RIGHT_TAB 0x09
00151 #define WP5_TAB_GROUP_FLUSH_RIGHT 0x0C
00152 #define WP5_TAB_GROUP_BACK_TAB 0x10
00153 #define WP5_TAB_GROUP_CENTER_ON_CURRENT_POSITION 0x18
00154 #define WP5_TAB_GROUP_CENTER_TAB 0x19
00155 #define WP5_TAB_GROUP_CENTER_ON_MARGINS 0x1C
00156 
00157 /* Indent Group */
00158 #define WP5_INDENT_GROUP_LEFT_INDENT 0x00
00159 #define WP5_INDENT_GROUP_LEFT_RIGHT_INDENT 0x01
00160 
00161 
00162 #endif /* WP5FILESTRUCTURE_H */

Generated on Sat Aug 20 05:20:56 2022 for libwpd by doxygen 1.3.5