- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

VSDDocumentStructure.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* libvisio
3 * Version: MPL 1.1 / GPLv2+ / LGPLv2+
4 *
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License or as specified alternatively below. You may obtain a copy of
8 * the License at http://www.mozilla.org/MPL/
9 *
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
13 * License.
14 *
15 * Major Contributor(s):
16 * Copyright (C) 2011 Fridrich Strba <fridrich.strba@bluewin.ch>
17 * Copyright (C) 2011 Eilidh McAdam <tibbylickle@gmail.com>
18 *
19 *
20 * All Rights Reserved.
21 *
22 * For minor contributions see the git repository.
23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPLv2+"), or
26 * the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
27 * in which case the provisions of the GPLv2+ or the LGPLv2+ are applicable
28 * instead of those above.
29 */
30
31 #ifndef VSDDOCUMENTSTRUCTURE_H
32 #define VSDDOCUMENTSTRUCTURE_H
33
34 #define VSD_FOREIGN_DATA 0x0c
35 #define VSD_OLE_LIST 0x0d
36 #define VSD_TEXT 0x0e
37
38 #define VSD_TRAILER_STREAM 0x14
39 #define VSD_PAGE 0x15
40 #define VSD_COLORS 0x16
41 #define VSD_FONT_LIST 0x18
42 #define VSD_FONT_IX 0x19
43 #define VSD_STYLES 0x1a
44 #define VSD_STENCILS 0x1d
45 #define VSD_STENCIL_PAGE 0x1e
46 #define VSD_OLE_DATA 0x1f
47
48 #define VSD_PAGES 0x27
49
50 #define VSD_NAME_LIST 0x2c
51 #define VSD_NAME 0x2d
52
53 #define VSD_NAME_LIST2 0x32
54 #define VSD_NAME2 0x33
55 #define VSD_NAMEIDX123 0x34
56
57 #define VSD_PAGE_SHEET 0x46
58 #define VSD_SHAPE_GROUP 0x47
59 #define VSD_SHAPE_SHAPE 0x48
60 #define VSD_SHAPE_GUIDE 0x4d
61 #define VSD_SHAPE_FOREIGN 0x4e
62
63 #define VSD_STYLE_SHEET 0x4a
64
65 #define VSD_SCRATCH_LIST 0x64
66 #define VSD_SHAPE_LIST 0x65
67 #define VSD_FIELD_LIST 0x66
68 #define VSD_PROP_LIST 0x68
69 #define VSD_CHAR_LIST 0x69
70 #define VSD_PARA_LIST 0x6a
71 #define VSD_TABS_DATA_LIST 0x6b
72 #define VSD_GEOM_LIST 0x6c
73 #define VSD_CUST_PROPS_LIST 0x6d
74 #define VSD_ACT_ID_LIST 0x6e
75 #define VSD_LAYER_LIST 0x6f
76 #define VSD_CTRL_LIST 0x70
77 #define VSD_C_PNTS_LIST 0x71
78 #define VSD_CONNECT_LIST 0x72
79 #define VSD_HYPER_LNK_LIST 0x73
80
81 #define VSD_SMART_TAG_LIST 0x76
82
83 #define VSD_SHAPE_ID 0x83
84 #define VSD_EVENT 0x84
85 #define VSD_LINE 0x85
86 #define VSD_FILL_AND_SHADOW 0x86
87 #define VSD_TEXT_BLOCK 0x87
88 #define VSD_TABS_DATA_1 0x88
89 #define VSD_GEOMETRY 0x89
90 #define VSD_MOVE_TO 0x8a
91 #define VSD_LINE_TO 0x8b
92 #define VSD_ARC_TO 0x8c
93 #define VSD_INFINITE_LINE 0x8d
94
95 #define VSD_ELLIPSE 0x8f
96 #define VSD_ELLIPTICAL_ARC_TO 0x90
97
98 #define VSD_PAGE_PROPS 0x92
99 #define VSD_STYLE_PROPS 0x93
100 #define VSD_CHAR_IX 0x94
101 #define VSD_PARA_IX 0x95
102 #define VSD_TABS_DATA_2 0x96
103 #define VSD_TABS_DATA_3 0x97
104 #define VSD_FOREIGN_DATA_TYPE 0x98
105 #define VSD_CONNECTION_POINTS 0x99
106
107 #define VSD_XFORM_DATA 0x9b
108 #define VSD_TEXT_XFORM 0x9c
109 #define VSD_XFORM_1D 0x9d
110 #define VSD_SCRATCH 0x9e
111
112 #define VSD_PROTECTION 0xa0
113 #define VSD_TEXT_FIELD 0xa1
114 #define VSD_CONTROL_ANOTHER_TYPE 0xa2
115
116 #define VSD_MISC 0xa4
117 #define VSD_SPLINE_START 0xa5
118 #define VSD_SPLINE_KNOT 0xa6
119 #define VSD_LAYER_MEMBERSHIP 0xa7
120 #define VSD_LAYER 0xa8
121 #define VSD_ACT_ID 0xa9
122 #define VSD_CONTROL 0xaa
123
124 #define VSD_USER_DEFINED_CELLS 0xb5
125 #define VSD_TABS_DATA_4 0xb5
126 #define VSD_CUSTOM_PROPS 0xb6
127 #define VSD_RULER_GRID 0xb7
128
129 #define VSD_CONNECTION_POINTS_ANOTHER_TYPE 0xba
130
131 #define VSD_DOC_PROPS 0xbc
132 #define VSD_IMAGE 0xbd
133 #define VSD_GROUP 0xbe
134 #define VSD_LAYOUT 0xbf
135 #define VSD_PAGE_LAYOUT_IX 0xc0
136
137 #define VSD_POLYLINE_TO 0xc1
138 #define VSD_NURBS_TO 0xc3
139 #define VSD_HYPERLINK 0xc4
140 #define VSD_REVIEWER 0xc5
141 #define VSD_ANNOTATION 0xc6
142 #define VSD_SMART_TAG_DEF 0xc7
143 #define VSD_PRINT_PROPS 0xc8
144 #define VSD_NAMEIDX 0xc9
145
146 #define VSD_SHAPE_DATA 0xd1
147 #define VSD_FONTFACE 0xd7
148 #define VSD_FONTFACES 0xd8
149
150 // Field formats
151
152 #define VSD_FIELD_FORMAT_NumGenNoUnits 0
153 #define VSD_FIELD_FORMAT_NumGenDefUnits 1
154 #define VSD_FIELD_FORMAT_0PlNoUnits 2
155 #define VSD_FIELD_FORMAT_0PlDefUnits 3
156 #define VSD_FIELD_FORMAT_1PlNoUnits 4
157 #define VSD_FIELD_FORMAT_1PlDefUnits 5
158 #define VSD_FIELD_FORMAT_2PlNoUnits 6
159 #define VSD_FIELD_FORMAT_2PlDefUnits 7
160 #define VSD_FIELD_FORMAT_3PlNoUnits 8
161 #define VSD_FIELD_FORMAT_3PlDefUnits 9
162 #define VSD_FIELD_FORMAT_FeetAndInches 10
163 #define VSD_FIELD_FORMAT_Radians 11
164 #define VSD_FIELD_FORMAT_Degrees 12
165 #define VSD_FIELD_FORMAT_FeetAndInches1Pl 13
166 #define VSD_FIELD_FORMAT_FeetAndInches2Pl 14
167 #define VSD_FIELD_FORMAT_Fraction1PlNoUnits 15
168 #define VSD_FIELD_FORMAT_Fraction1PlDefUnits 16
169 #define VSD_FIELD_FORMAT_Fraction2PlNoUnits 17
170 #define VSD_FIELD_FORMAT_Fraction2PlDefUnits 18
171
172 #define VSD_FIELD_FORMAT_DateShort 20
173 #define VSD_FIELD_FORMAT_DateLong 21
174 #define VSD_FIELD_FORMAT_DateMDYY 22
175 #define VSD_FIELD_FORMAT_DateMMDDYY 23
176 #define VSD_FIELD_FORMAT_DateMmmDYYYY 24
177 #define VSD_FIELD_FORMAT_DateMmmmDYYYY 25
178 #define VSD_FIELD_FORMAT_DateDMYY 26
179 #define VSD_FIELD_FORMAT_DateDDMMYY 27
180 #define VSD_FIELD_FORMAT_DateDMMMYYYY 28
181 #define VSD_FIELD_FORMAT_DateDMMMMYYYY 29
182 #define VSD_FIELD_FORMAT_TimeGen 30
183 #define VSD_FIELD_FORMAT_TimeHMM 31
184 #define VSD_FIELD_FORMAT_TimeHHMM 32
185 #define VSD_FIELD_FORMAT_TimeHMM24 33
186 #define VSD_FIELD_FORMAT_TimeHHMM24 34
187 #define VSD_FIELD_FORMAT_TimeHMMAMPM 35
188 #define VSD_FIELD_FORMAT_TimeHHMMAMPM 36
189 #define VSD_FIELD_FORMAT_StrNormal 37
190 #define VSD_FIELD_FORMAT_StrLower 38
191 #define VSD_FIELD_FORMAT_StrUpper 39
192
193 #define VSD_FIELD_FORMAT_Dateyyyymd 44
194 #define VSD_FIELD_FORMAT_Dateyymmdd 45
195 #define VSD_FIELD_FORMAT_TimeAMPMhmm_J 46
196
197 #define VSD_FIELD_FORMAT_DateTWNfYYYYMMDDD_C 50
198 #define VSD_FIELD_FORMAT_DateTWNsYYYYMMDDD_C 51
199 #define VSD_FIELD_FORMAT_DateTWNfyyyymmddww_C 52
200 #define VSD_FIELD_FORMAT_DateTWNfyyyymmdd_C 53
201 #define VSD_FIELD_FORMAT_Dategggemdww_J 54
202 #define VSD_FIELD_FORMAT_Dateyyyymdww_J 55
203 #define VSD_FIELD_FORMAT_Dategggemd_J 56
204 #define VSD_FIELD_FORMAT_Dateyyyymd_J 57
205 #define VSD_FIELD_FORMAT_DateYYYYMMMDDDWWW_C 58
206 #define VSD_FIELD_FORMAT_DateYYYYMMMDDD_C 59
207 #define VSD_FIELD_FORMAT_DategeMMMMddddww_K 60
208 #define VSD_FIELD_FORMAT_Dateyyyymdww_K 61
209 #define VSD_FIELD_FORMAT_DategeMMMMddd_K 62
210 #define VSD_FIELD_FORMAT_Dateyyyymd_K 63
211 #define VSD_FIELD_FORMAT_Dateyyyy_m_d 64
212 #define VSD_FIELD_FORMAT_Dateyy_mm_dd 65
213 #define VSD_FIELD_FORMAT_TimeAMPMhmm_C 66
214 #define VSD_FIELD_FORMAT_TimeAMPMhmm_K 67
215 #define VSD_FIELD_FORMAT_TimeAMPM_hmm_J 68
216 #define VSD_FIELD_FORMAT_Timehmm_J 69
217 #define VSD_FIELD_FORMAT_TimeAMPM_hmm_C 70
218 #define VSD_FIELD_FORMAT_Timehmm_C 71
219 #define VSD_FIELD_FORMAT_TimeAMPM_hmm_K 72
220 #define VSD_FIELD_FORMAT_Timehmm_K 73
221 #define VSD_FIELD_FORMAT_TimeHMMAMPM_E 74
222 #define VSD_FIELD_FORMAT_TimeHHMMAMPM_E 75
223 #define VSD_FIELD_FORMAT_Dateyyyymd_S 76
224 #define VSD_FIELD_FORMAT_Dateyyyymmdd_S 77
225 #define VSD_FIELD_FORMAT_Datewwyyyymmdd_S 78
226 #define VSD_FIELD_FORMAT_Datewwyyyymd_S 79
227 #define VSD_FIELD_FORMAT_TimeAMPMhmm_S 80
228 #define VSD_FIELD_FORMAT_TimeAMPMhhmm_S 81
229
230 #define VSD_FIELD_FORMAT_MsoDateShort 200
231 #define VSD_FIELD_FORMAT_MsoDateLongDay 201
232 #define VSD_FIELD_FORMAT_MsoDateLong 202
233 #define VSD_FIELD_FORMAT_MsoDateShortAlt 203
234 #define VSD_FIELD_FORMAT_MsoDateISO 204
235 #define VSD_FIELD_FORMAT_MsoDateShortMon 205
236 #define VSD_FIELD_FORMAT_MsoDateShortSlash 206
237 #define VSD_FIELD_FORMAT_MsoDateShortAbb 207
238 #define VSD_FIELD_FORMAT_MsoDateEnglish 208
239 #define VSD_FIELD_FORMAT_MsoDateMonthYr 209
240 #define VSD_FIELD_FORMAT_MsoDateMon_Yr 210
241 #define VSD_FIELD_FORMAT_MsoTimeDatePM 211
242 #define VSD_FIELD_FORMAT_MsoTimeDateSecPM 212
243 #define VSD_FIELD_FORMAT_MsoTimePM 213
244 #define VSD_FIELD_FORMAT_MsoTimeSecPM 214
245 #define VSD_FIELD_FORMAT_MsoTime24 215
246 #define VSD_FIELD_FORMAT_MsoTimeSec24 216
247 #define VSD_FIELD_FORMAT_MsoFEExtra1 217
248 #define VSD_FIELD_FORMAT_MsoFEExtra2 218
249 #define VSD_FIELD_FORMAT_MsoFEExtra3 219
250 #define VSD_FIELD_FORMAT_MsoFEExtra4 220
251 #define VSD_FIELD_FORMAT_MsoFEExtra5 221
252
253 #define VSD_FIELD_FORMAT_Unknown 0xffff
254
255 #endif /* VSDDOCUMENTSTRUCTURE_H */
256 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */