Undo: fix problem with col widths after paste undo.
[gnumeric.git] / plugins / lotus-123 / lotus-types.h
blobc719d3e45c34e9d3458082250bef149cfbb3b304
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef GNUMERIC_PLUGIN_LOTUS_123_LOTUS_TYPES_H
3 #define GNUMERIC_PLUGIN_LOTUS_123_LOTUS_TYPES_H
5 /* Lotus' record types */
7 #define LOTUS_BOF 0x0
8 #define LOTUS_EOF 0x1
9 #define LOTUS_CALCMODE 0x2
10 #define LOTUS_CALCORDER 0x3
11 #define LOTUS_SPLIT 0x4
12 #define LOTUS_SYNC 0x5
13 #define LOTUS_RANGE 0x6
14 #define LOTUS_WINDOW1 0x7
15 #define LOTUS_COLW1 0x8
17 #define LOTUS_WINTWO 0x9
18 #define LOTUS_COLW2 0xa
20 #define LOTUS_NAME 0xb
21 #define LOTUS_BLANK 0xc
22 #define LOTUS_INTEGER 0xd
23 #define LOTUS_NUMBER 0xe
24 #define LOTUS_LABEL 0xf
25 #define LOTUS_FORMULA 0x10
26 #define LOTUS_TABLE 0x18
27 #define LOTUS_ORANGE 0x19
28 #define LOTUS_PRANGE 0x1a
29 #define LOTUS_SRANGE 0x1b
30 #define LOTUS_FRANGE 0x1c
31 #define LOTUS_KRANGE1 0x1d
32 #define LOTUS_HRANGE 0x20
33 #define LOTUS_KRANGE2 0x23
35 #define LOTUS_PROTEC 0x24
36 #define LOTUS_FOOTER 0x25
37 #define LOTUS_HEADER 0x26
38 #define LOTUS_SETUP 0x27
39 #define LOTUS_MARGINS 0x28
40 #define LOTUS_STRING 0x33
42 /* Stuff observed in new formats only: */
43 #define LOTUS_USER_RANGE 0x9
44 #define LOTUS_SYSTEMRANGE 0xa
45 #define LOTUS_ZEROFORCE 0xb
46 #define LOTUS_SORTKEY_DIR 0xc
47 #define LOTUS_FORMAT 0x13
48 #define LOTUS_ERRCELL 0x14
49 #define LOTUS_NACELL 0x15
50 #define LOTUS_LABEL2 0x16
51 #define LOTUS_EXTENDED_FLOAT 0x17 /* wk4... */
52 #define LOTUS_SMALLNUM 0x18 /* wk3,wk4 */
53 #define LOTUS_FORMULA3 0x19 /* wk3,wk4 */
54 #define LOTUS_STYLE 0x1b
55 #define LOTUS_DTLABELMISC 0x1c
56 #define LOTUS_CPA 0x1f
57 #define LOTUS_NAMED_SHEET 0x23
58 #define LOTUS_PACKED_NUMBER 0x25
59 #define LOTUS_CELL_COMMENT 0x26
60 #define LOTUS_NUMBER2 0x27
61 #define LOTUS_FORMULA2 0x28
62 #define LOTUS_PERSISTENT_ID 0x100
63 #define LOTUS_WINDOW 0x103
64 #define LOTUS_BEGIN_OBJECT 0x104
65 #define LOTUS_END_OBJECT 0x105
66 #define LOTUS_BEGIN_GROUP 0x106
67 #define LOTUS_END_GROUP 0x107
68 #define LOTUS_DOCUMENT_WINDOW 0x109
69 #define LOTUS_DOCUMENT_1 0x10a
70 #define LOTUS_OBJECT_SELECT 0x10b
71 #define LOTUS_OBJECT_NAME_INDEX 0x10c
72 #define LOTUS_LARGE_DATA 0x10d
73 #define LOTUS_STYLE_MANAGER_BEGIN 0x10e
74 #define LOTUS_STYLE_MANAGER_END 0x10f
75 #define LOTUS_DOCUMENT_2 0x200
76 #define LOTUS_WORKBOOK_VIEW 0x201
77 #define LOTUS_SPLIT_MANAGEMENT 0x202
78 #define LOTUS_SHEET_NAME 0x204
79 #define LOTUS_SHEET_OBJECT_ID 0x205
80 #define LOTUS_SHEET 0x280
81 #define LOTUS_SHEET_VIEW 0x281
82 #define LOTUS_RLDB_DEFAULTS 0x282
83 #define LOTUS_RLDB_NAMEDSTYLES 0x283
84 #define LOTUS_RLDB_STYLES 0x284
85 #define LOTUS_FIRST_WORKSHEET 0x285
86 #define LOTUS_CA_DB 0x286
87 #define LOTUS_SHEET_PROPS 0x287
88 #define LOTUS_RESERVED_288 0x288
89 #define LOTUS_DEFAULTS_DB 0x292
90 #define LOTUS_RLDB_FORMATS 0x293
91 #define LOTUS_RLDB_BORDERS 0x294
92 #define LOTUS_RLDB_COLWIDTHS 0x295
93 #define LOTUS_RLDB_ROWHEIGHTS 0x296
94 #define LOTUS_RL2DB 0x299
95 #define LOTUS_RL3DB 0x29a
96 #define LOTUS_SCRIPT_STREAM 0x304
97 #define LOTUS_PRINT_SETTINGS 0x400
98 #define LOTUS_PRINT_STRINGS 0x401
99 #define LOTUS_RANGE_REGION 0x640
100 #define LOTUS_RANGE_MISC 0x642
101 #define LOTUS_RANGE_ALIAS 0x643
102 #define LOTUS_DATA_FILL 0x701
103 #define LOTUS_BACKSOLVER 0x702
104 #define LOTUS_SORT_HEADER 0x703
105 #define LOTUS_CELL_EOF 0x704
106 #define LOTUS_FILE_PREFERENCE 0x780
107 #define LOTUS_RLDB_NODE 0x800
108 #define LOTUS_RLDB_DATANODE 0x801
109 #define LOTUS_RLDB_REGISTERID 0x802
110 #define LOTUS_RLDB_USEREGISTEREDID 0x803
111 #define LOTUS_RLDB_PACKINFO 0x804
112 #define LOTUS_NAMED_STYLE_DB 0xa80
113 #define LOTUS_END_DATA 0x2af6
115 /* -------------------------------------------------------------------------- */
117 #define WORKS_VERSION_3 0x0404 /* == LOTUS_VERSION_ORIG_123 */
119 #define WORKS_BOF 0xff
120 #define WORKS_FONT 0x5456
121 #define WORKS_STYLE 0x545a
122 #define WORKS_SMALL_FLOAT 0x545b
124 /* -------------------------------------------------------------------------- */
126 #endif