VSDDocumentStructure.h Source File documentation

VSDDocumentStructure.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libvisio project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #ifndef VSDDOCUMENTSTRUCTURE_H
11 #define VSDDOCUMENTSTRUCTURE_H
12
13 #define VSD_FOREIGN_DATA 0x0c
14 #define VSD_OLE_LIST 0x0d
15 #define VSD_TEXT 0x0e
16
17 #define VSD_TRAILER_STREAM 0x14
18 #define VSD_PAGE 0x15
19 #define VSD_COLORS 0x16
20 #define VSD_FONT_LIST 0x18
21 #define VSD_FONT_IX 0x19
22 #define VSD_STYLES 0x1a
23 #define VSD_STENCILS 0x1d
24 #define VSD_STENCIL_PAGE 0x1e
25 #define VSD_OLE_DATA 0x1f
26
27 #define VSD_PAGES 0x27
28
29 #define VSD_NAME_LIST 0x2c
30 #define VSD_NAME 0x2d
31
32 #define VSD_NAME_LIST2 0x32
33 #define VSD_NAME2 0x33
34 #define VSD_NAMEIDX123 0x34
35
36 #define VSD_PAGE_SHEET 0x46
37 #define VSD_SHAPE_GROUP 0x47
38 #define VSD_SHAPE_SHAPE 0x48
39 #define VSD_SHAPE_GUIDE 0x4d
40 #define VSD_SHAPE_FOREIGN 0x4e
41
42 #define VSD_STYLE_SHEET 0x4a
43
44 #define VSD_SCRATCH_LIST 0x64
45 #define VSD_SHAPE_LIST 0x65
46 #define VSD_FIELD_LIST 0x66
47 #define VSD_PROP_LIST 0x68
48 #define VSD_CHAR_LIST 0x69
49 #define VSD_PARA_LIST 0x6a
50 #define VSD_TABS_DATA_LIST 0x6b
51 #define VSD_GEOM_LIST 0x6c
52 #define VSD_CUST_PROPS_LIST 0x6d
53 #define VSD_ACT_ID_LIST 0x6e
54 #define VSD_LAYER_LIST 0x6f
55 #define VSD_CTRL_LIST 0x70
56 #define VSD_C_PNTS_LIST 0x71
57 #define VSD_CONNECT_LIST 0x72
58 #define VSD_HYPER_LNK_LIST 0x73
59
60 #define VSD_SMART_TAG_LIST 0x76
61
62 #define VSD_SHAPE_ID 0x83
63 #define VSD_EVENT 0x84
64 #define VSD_LINE 0x85
65 #define VSD_FILL_AND_SHADOW 0x86
66 #define VSD_TEXT_BLOCK 0x87
67 #define VSD_TABS_DATA_1 0x88
68 #define VSD_GEOMETRY 0x89
69 #define VSD_MOVE_TO 0x8a
70 #define VSD_LINE_TO 0x8b
71 #define VSD_ARC_TO 0x8c
72 #define VSD_INFINITE_LINE 0x8d
73
74 #define VSD_ELLIPSE 0x8f
75 #define VSD_ELLIPTICAL_ARC_TO 0x90
76
77 #define VSD_PAGE_PROPS 0x92
78 #define VSD_STYLE_PROPS 0x93
79 #define VSD_CHAR_IX 0x94
80 #define VSD_PARA_IX 0x95
81 #define VSD_TABS_DATA_2 0x96
82 #define VSD_TABS_DATA_3 0x97
83 #define VSD_FOREIGN_DATA_TYPE 0x98
84 #define VSD_CONNECTION_POINTS 0x99
85
86 #define VSD_XFORM_DATA 0x9b
87 #define VSD_TEXT_XFORM 0x9c
88 #define VSD_XFORM_1D 0x9d
89 #define VSD_SCRATCH 0x9e
90
91 #define VSD_PROTECTION 0xa0
92 #define VSD_TEXT_FIELD 0xa1
93 #define VSD_CONTROL_ANOTHER_TYPE 0xa2
94
95 #define VSD_MISC 0xa4
96 #define VSD_SPLINE_START 0xa5
97 #define VSD_SPLINE_KNOT 0xa6
98 #define VSD_LAYER_MEMBERSHIP 0xa7
99 #define VSD_LAYER 0xa8
100 #define VSD_ACT_ID 0xa9
101 #define VSD_CONTROL 0xaa
102
103 #define VSD_USER_DEFINED_CELLS 0xb4
104 #define VSD_TABS_DATA_4 0xb5
105 #define VSD_CUSTOM_PROPS 0xb6
106 #define VSD_RULER_GRID 0xb7
107
108 #define VSD_CONNECTION_POINTS_ANOTHER_TYPE 0xba
109
110 #define VSD_DOC_PROPS 0xbc
111 #define VSD_IMAGE 0xbd
112 #define VSD_GROUP 0xbe
113 #define VSD_LAYOUT 0xbf
114 #define VSD_PAGE_LAYOUT_IX 0xc0
115
116 #define VSD_POLYLINE_TO 0xc1
117 #define VSD_NURBS_TO 0xc3
118 #define VSD_HYPERLINK 0xc4
119 #define VSD_REVIEWER 0xc5
120 #define VSD_ANNOTATION 0xc6
121 #define VSD_SMART_TAG_DEF 0xc7
122 #define VSD_PRINT_PROPS 0xc8
123 #define VSD_NAMEIDX 0xc9
124
125 #define VSD_SHAPE_DATA 0xd1
126 #define VSD_FONTFACE 0xd7
127 #define VSD_FONTFACES 0xd8
128
129 // Unit conversions:
130 #define CELL_TYPE_Number 32
131 #define CELL_TYPE_Percent 33
132 #define CELL_TYPE_Acre 36
133 #define CELL_TYPE_Hectare 37
134 #define CELL_TYPE_Date 40
135 #define CELL_TYPE_DurationUnits 42
136 #define CELL_TYPE_ElapsedWeek 43
137 #define CELL_TYPE_ElapsedDay 44
138 #define CELL_TYPE_ElapsedHour 45
139 #define CELL_TYPE_ElapsedMin 46
140 #define CELL_TYPE_ElapsedSec 47
141 #define CELL_TYPE_TypeUnits 48
142 #define CELL_TYPE_PicasAndPoints 49
143 #define CELL_TYPE_Points 50
144 #define CELL_TYPE_Picas 51
145 #define CELL_TYPE_CicerosAndDidots 52
146 #define CELL_TYPE_Didots 53
147 #define CELL_TYPE_Ciceros 54
148 #define CELL_TYPE_PageUnits 63
149 #define CELL_TYPE_DrawingUnits 64
150 #define CELL_TYPE_Inches 65
151 #define CELL_TYPE_Feet 66
152 #define CELL_TYPE_FeetAndInches 67
153 #define CELL_TYPE_Centimeters 69
154 #define CELL_TYPE_Miles 68
155 #define CELL_TYPE_Millimeters 70
156 #define CELL_TYPE_Meters 71
157 #define CELL_TYPE_Kilometers 72
158 #define CELL_TYPE_InchFractions 73
159 #define CELL_TYPE_MileFractions 74
160 #define CELL_TYPE_Yards 75
161 #define CELL_TYPE_NauticalMiles 76
162 #define CELL_TYPE_AngleUnits 80
163 #define CELL_TYPE_Degrees 81
164 #define CELL_TYPE_DegreeMinuteSecond 82
165 #define CELL_TYPE_Radians 83
166 #define CELL_TYPE_Minutes 84
167 #define CELL_TYPE_Sec 85
168 #define CELL_TYPE_GUID 95
169 #define CELL_TYPE_Currency 111
170 #define CELL_TYPE_NURBS 138
171 #define CELL_TYPE_Polyline 139
172 #define CELL_TYPE_Point 225
173 #define CELL_TYPE_String 231
174 #define CELL_TYPE_StringWithoutUnit 232
175 #define CELL_TYPE_Multidimensional 233 // like Acre, square meters, sq. inches, hectare, sq. yards
176 #define CELL_TYPE_Color 251
177 #define CELL_TYPE_NoCast 252 // No unit conversion
178 #define CELL_TYPE_Invalid 255
179
180 // Field formats
181
182 #define VSD_FIELD_FORMAT_NumGenNoUnits 0
183 #define VSD_FIELD_FORMAT_NumGenDefUnits 1
184 #define VSD_FIELD_FORMAT_0PlNoUnits 2
185 #define VSD_FIELD_FORMAT_0PlDefUnits 3
186 #define VSD_FIELD_FORMAT_1PlNoUnits 4
187 #define VSD_FIELD_FORMAT_1PlDefUnits 5
188 #define VSD_FIELD_FORMAT_2PlNoUnits 6
189 #define VSD_FIELD_FORMAT_2PlDefUnits 7
190 #define VSD_FIELD_FORMAT_3PlNoUnits 8
191 #define VSD_FIELD_FORMAT_3PlDefUnits 9
192 #define VSD_FIELD_FORMAT_FeetAndInches 10
193 #define VSD_FIELD_FORMAT_Radians 11
194 #define VSD_FIELD_FORMAT_Degrees 12
195 #define VSD_FIELD_FORMAT_FeetAndInches1Pl 13
196 #define VSD_FIELD_FORMAT_FeetAndInches2Pl 14
197 #define VSD_FIELD_FORMAT_Fraction1PlNoUnits 15
198 #define VSD_FIELD_FORMAT_Fraction1PlDefUnits 16
199 #define VSD_FIELD_FORMAT_Fraction2PlNoUnits 17
200 #define VSD_FIELD_FORMAT_Fraction2PlDefUnits 18
201
202 #define VSD_FIELD_FORMAT_DateShort 20
203 #define VSD_FIELD_FORMAT_DateLong 21
204 #define VSD_FIELD_FORMAT_DateMDYY 22
205 #define VSD_FIELD_FORMAT_DateMMDDYY 23
206 #define VSD_FIELD_FORMAT_DateMMMDYYYY 24
207 #define VSD_FIELD_FORMAT_DateMMMMDYYYY 25
208 #define VSD_FIELD_FORMAT_DateDMYY 26
209 #define VSD_FIELD_FORMAT_DateDDMMYY 27
210 #define VSD_FIELD_FORMAT_DateDMMMYYYY 28
211 #define VSD_FIELD_FORMAT_DateDMMMMYYYY 29
212 #define VSD_FIELD_FORMAT_TimeGen 30
213 #define VSD_FIELD_FORMAT_TimeHMM 31
214 #define VSD_FIELD_FORMAT_TimeHHMM 32
215 #define VSD_FIELD_FORMAT_TimeHMM24 33
216 #define VSD_FIELD_FORMAT_TimeHHMM24 34
217 #define VSD_FIELD_FORMAT_TimeHMMAMPM 35
218 #define VSD_FIELD_FORMAT_TimeHHMMAMPM 36
219 #define VSD_FIELD_FORMAT_StrNormal 37
220 #define VSD_FIELD_FORMAT_StrLower 38
221 #define VSD_FIELD_FORMAT_StrUpper 39
222
223 #define VSD_FIELD_FORMAT_Dateyyyymd 44
224 #define VSD_FIELD_FORMAT_Dateyymmdd 45
225 #define VSD_FIELD_FORMAT_TimeAMPMhmm_J 46
226
227 #define VSD_FIELD_FORMAT_DateTWNfYYYYMMDDD_C 50
228 #define VSD_FIELD_FORMAT_DateTWNsYYYYMMDDD_C 51
229 #define VSD_FIELD_FORMAT_DateTWNfyyyymmddww_C 52
230 #define VSD_FIELD_FORMAT_DateTWNfyyyymmdd_C 53
231 #define VSD_FIELD_FORMAT_Dategggemdww_J 54
232 #define VSD_FIELD_FORMAT_Dateyyyymdww_J 55
233 #define VSD_FIELD_FORMAT_Dategggemd_J 56
234 #define VSD_FIELD_FORMAT_Dateyyyymd_J 57
235 #define VSD_FIELD_FORMAT_DateYYYYMMMDDDWWW_C 58
236 #define VSD_FIELD_FORMAT_DateYYYYMMMDDD_C 59
237 #define VSD_FIELD_FORMAT_DategeMMMMddddww_K 60
238 #define VSD_FIELD_FORMAT_Dateyyyymdww_K 61
239 #define VSD_FIELD_FORMAT_DategeMMMMddd_K 62
240 #define VSD_FIELD_FORMAT_Dateyyyymd_K 63
241 #define VSD_FIELD_FORMAT_Dateyyyy_m_d 64
242 #define VSD_FIELD_FORMAT_Dateyy_mm_dd 65
243 #define VSD_FIELD_FORMAT_TimeAMPMhmm_C 66
244 #define VSD_FIELD_FORMAT_TimeAMPMhmm_K 67
245 #define VSD_FIELD_FORMAT_TimeAMPM_hmm_J 68
246 #define VSD_FIELD_FORMAT_Timehmm_J 69
247 #define VSD_FIELD_FORMAT_TimeAMPM_hmm_C 70
248 #define VSD_FIELD_FORMAT_Timehmm_C 71
249 #define VSD_FIELD_FORMAT_TimeAMPM_hmm_K 72
250 #define VSD_FIELD_FORMAT_Timehmm_K 73
251 #define VSD_FIELD_FORMAT_TimeHMMAMPM_E 74
252 #define VSD_FIELD_FORMAT_TimeHHMMAMPM_E 75
253 #define VSD_FIELD_FORMAT_Dateyyyymd_S 76
254 #define VSD_FIELD_FORMAT_Dateyyyymmdd_S 77
255 #define VSD_FIELD_FORMAT_Datewwyyyymmdd_S 78
256 #define VSD_FIELD_FORMAT_Datewwyyyymd_S 79
257 #define VSD_FIELD_FORMAT_TimeAMPMhmm_S 80
258 #define VSD_FIELD_FORMAT_TimeAMPMhhmm_S 81
259
260 #define VSD_FIELD_FORMAT_MsoDateShort 200
261 #define VSD_FIELD_FORMAT_MsoDateLongDay 201
262 #define VSD_FIELD_FORMAT_MsoDateLong 202
263 #define VSD_FIELD_FORMAT_MsoDateShortAlt 203
264 #define VSD_FIELD_FORMAT_MsoDateISO 204
265 #define VSD_FIELD_FORMAT_MsoDateShortMon 205
266 #define VSD_FIELD_FORMAT_MsoDateShortSlash 206
267 #define VSD_FIELD_FORMAT_MsoDateShortAbb 207
268 #define VSD_FIELD_FORMAT_MsoDateEnglish 208
269 #define VSD_FIELD_FORMAT_MsoDateMonthYr 209
270 #define VSD_FIELD_FORMAT_MsoDateMon_Yr 210
271 #define VSD_FIELD_FORMAT_MsoTimeDatePM 211
272 #define VSD_FIELD_FORMAT_MsoTimeDateSecPM 212
273 #define VSD_FIELD_FORMAT_MsoTimePM 213
274 #define VSD_FIELD_FORMAT_MsoTimeSecPM 214
275 #define VSD_FIELD_FORMAT_MsoTime24 215
276 #define VSD_FIELD_FORMAT_MsoTimeSec24 216
277 #define VSD_FIELD_FORMAT_MsoFEExtra1 217
278 #define VSD_FIELD_FORMAT_MsoFEExtra2 218
279 #define VSD_FIELD_FORMAT_MsoFEExtra3 219
280 #define VSD_FIELD_FORMAT_MsoFEExtra4 220
281 #define VSD_FIELD_FORMAT_MsoFEExtra5 221
282
283 #define VSD_FIELD_FORMAT_Unknown 0xffff
284
285 #endif /* VSDDOCUMENTSTRUCTURE_H */
286 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */