libwpd: WP5FileStructure.h Source File documentation

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

# WP5FileStructure.h

Go to the documentation of this file.

    00001 /* libwpd
    00002  * Copyright (C) 2003 William Lachance (william.lachance@sympatico.ca)
    00003  * Copyright (C) 2003 Marc Maurer (j.m.maurer@student.utwente.nl)
    00004  * Copyright (C) 2005 Fridrich Strba (fridrich.strba@bluewin.ch)
    00005  *
    00006  * This library is free software; you can redistribute it and/or
    00007  * modify it under the terms of the GNU Library General Public
    00008  * License as published by the Free Software Foundation; either
    00009  * version 2 of the License, or (at your option) any later version.
    00010  *
    00011  * This library is distributed in the hope that it will be useful,
    00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00014  * Library General Public License for more details.
    00015  *
    00016  * You should have received a copy of the GNU Library General Public
    00017  * License along with this library; if not, write to the Free Software
    00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
    00019  *
    00020  * For further information visit http://libwpd.sourceforge.net
    00021  */
    00022
    00023 /* "This product is not manufactured, approved, or supported by
    00024  * Corel Corporation or Corel Corporation Limited."
    00025  */
    00026
    00027 #ifndef WP5FILESTRUCTURE_H
    00028 #define WP5FILESTRUCTURE_H
    00029
    00030 /* size of the fixed length functiongroups 0xC0 to 0xCF */
    00031 extern int WP5_FIXED_LENGTH_FUNCTION_GROUP_SIZE[16];
    00032
    00033 #define WP5_ATTRIBUTE_EXTRA_LARGE 0x00
    00034 #define WP5_ATTRIBUTE_VERY_LARGE 0x01
    00035 #define WP5_ATTRIBUTE_LARGE 0x02
    00036 #define WP5_ATTRIBUTE_SMALL_PRINT 0x03
    00037 #define WP5_ATTRIBUTE_FINE_PRINT 0x04
    00038 #define WP5_ATTRIBUTE_SUPERSCRIPT 0x05
    00039 #define WP5_ATTRIBUTE_SUBSCRIPT 0x06
    00040 #define WP5_ATTRIBUTE_OUTLINE 0x07
    00041 #define WP5_ATTRIBUTE_ITALICS 0x08
    00042 #define WP5_ATTRIBUTE_SHADOW 0x09
    00043 #define WP5_ATTRIBUTE_REDLINE 0x0A
    00044 #define WP5_ATTRIBUTE_DOUBLE_UNDERLINE 0xB
    00045 #define WP5_ATTRIBUTE_BOLD 0x0C
    00046 #define WP5_ATTRIBUTE_STRIKE_OUT 0x0D
    00047 #define WP5_ATTRIBUTE_UNDERLINE 0x0E
    00048 #define WP5_ATTRIBUTE_SMALL_CAPS 0x0F
    00049
    00050 /* Main function group list  */
    00051
    00052 #define WP5_TOP_EXTENDED_CHARACTER 0xC0
    00053 #define WP5_TOP_ATTRIBUTE_ON 0xC3
    00054 #define WP5_TOP_ATTRIBUTE_OFF 0xC4
    00055 #define WP5_TOP_PAGE_FORMAT_GROUP 0xD0
    00056 #define WP5_TOP_FONT_GROUP 0xD1
    00057 #define WP5_TOP_DEFINITION_GROUP 0xD2
    00058 #define WP5_TOP_FORMAT_GROUP 0xD4
    00059 #define WP5_TOP_TABLE_EOL_GROUP 0xDC
    00060 #define WP5_TOP_TABLE_EOP_GROUP 0xDD
    00061
    00062 /* Page Format Group */
    00063 #define WP5_TOP_PAGE_FORMAT_GROUP_LEFT_RIGHT_MARGIN_SET 0x01
    00064 #define WP5_TOP_PAGE_FORMAT_GROUP_SPACING_SET 0x02
    00065 #define WP5_TOP_PAGE_FORMAT_GROUP_TOP_BOTTOM_MARGIN_SET 0x05
    00066 #define WP5_TOP_PAGE_FORMAT_GROUP_JUSTIFICATION 0x06
    00067 #define WP5_TOP_PAGE_FORMAT_GROUP_FORM 0x0B
    00068
    00069 /* Font Group */
    00070 #define WP5_TOP_FONT_GROUP_COLOR 0x00
    00071 #define WP5_TOP_FONT_GROUP_FONT_CHANGE 0x01
    00072
    00073 /* Format Group */
    00074 #define WP5_FORMAT_GROUP_END_OF_PAGE 0x00
    00075
    00076 /* Definition Group */
    00077 #define WP5_TOP_DEFINITION_GROUP_DEFINE_TABLES 0x0B
    00078
    00079 /* Table EOL Group */
    00080 #define WP5_TABLE_EOL_GROUP_BEGINNING_OF_COLUMN_AT_EOL 0x00
    00081 #define WP5_TABLE_EOL_GROUP_BEGINNING_OF_ROW_AT_EOL 0x01
    00082 #define WP5_TABLE_EOL_GROUP_TABLE_OFF_AT_EOL 0x02
    00083
    00084 /* Table EOP Group */
    00085 #define WP5_TABLE_EOP_GROUP_BEGINNING_OF_ROW_AT_EOP 0x01
    00086 #define WP5_TABLE_EOP_GROUP_TABLE_OFF_AT_EOP 0x02
    00087 #define WP5_TABLE_EOP_GROUP_BEGINNING_OF_ROW_AT_HARD_EOP 0x03
    00088
    00089 /* Extended Character */
    00090 #define WP5_INTERNATIONAL_1_CHARACTER_SET 1
    00091 #define WP5_INTERNATIONAL_2_CHARACTER_SET 2
    00092 #define WP5_BOX_DRAWING_CHARACTER_SET 3
    00093 #define WP5_TYPOGRAPHIC_SYMBOL_CHARACTER_SET 4
    00094 #define WP5_ICONIC_SYMBOL_CHARACTER_SET 5
    00095 #define WP5_MATH_SCIENTIFIC_CHARACTER_SET 6
    00096 #define WP5_MATH_SCIENTIFIC_EXTENDED_CHARACTER_SET 7
    00097 #define WP5_GREEK_CHARACTER_SET 8
    00098 #define WP5_HEBREW_CHARACTER_SET 9
    00099 #define WP5_CYRILLIC_CHARACTER_SET 10
    00100 #define WP5_JAPANESE_CHARACTER_SET 11
    00101
    00102 #define WP5_NUM_INTERNATIONAL_1_CHARACTERS 234
    00103 #define WP5_NUM_INTERNATIONAL_2_CHARACTERS 28
    00104 #define WP5_NUM_BOX_DRAWING_CHARACTERS 88
    00105 #define WP5_NUM_TYPOGRAPHIC_CHARACTERS 85
    00106 #define WP5_NUM_ICONIC_CHARACTERS 35
    00107 #define WP5_NUM_MATH_SCIENTIFIC_CHARACTERS 56
    00108 #define WP5_NUM_MATH_SCIENTIFIC_EXTENDED_CHARACTERS 229
    00109 #define WP5_NUM_GREEK_CHARACTERS 210
    00110 #define WP5_NUM_HEBREW_CHARACTERS 44
    00111 #define WP5_NUM_CYRILLIC_CHARACTERS 150
    00112 #define WP5_NUM_JAPANESE_CHARACTERS 185
    00113
    00114 #endif /* WP5FILESTRUCTURE_H */