1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
|
# dumper settings ============================================================
# Enable entire dumper (default=off). If dumper is disabled, no output into
# a text file is done. This option does not affect the options 'enable-import'
# and 'extract-storage-streams'.
# 0=off, 1=on
enable-dumper=1
# Enable import after dumping (default=on). Disabling this option allows
# to dump a file without loading it. This option is independent from the
# 'enable-dumper' option.
# 0=off, 1=on
enable-import=1
# Maximum size of binary stream dumps (default=infinite).
max-binary-stream-size=0x1000
# Maximum size of binary data blocks in content dumps (default=infinite).
max-binary-data-size=0x0200
# Shows unknown trailing data as binary dump (default=on).
# 0=off, 1=on
show-trailing-unknown=1
# DFF record settings --------------------------------------------------------
# Show total stream position of the DFF record (default=on).
# 0=off, 1=on
show-dff-record-pos=0
# Show total DFF record size in bytes (default=on).
# 0=off, 1=on
show-dff-record-size=1
# Show DFF record identifier (default=on).
# 0=off, 1=on
show-dff-record-id=1
# Show DFF record name, if known (default=on).
# 0=off, 1=on
show-dff-record-name=1
# Show DFF record contents (default=on).
# 0=off, 1=on
show-dff-record-body=1
# name lists =================================================================
unitconverter=CONV-DEC,1
unitconverter=CONV-PERCENT,1,%
unitconverter=CONV-DEG,1,°
unitconverter=CONV-INCH-TO-CM,2.54,cm
unitconverter=CONV-TWIP-TO-PT,/20,pt
unitconverter=CONV-PT-TO-CM,/28.346457,cm
unitconverter=CONV-PT1616-TO-CM,/1857713.4,cm
unitconverter=CONV-TWIP-TO-CM,/566.92913,cm
constlist=BOOLEAN
0=FALSE
default=TRUE
end
combilist=RK-FLAGS
0x00000001=div-100
0x00000002=integer
0xFFFFFFFC=int32,dec,value
end
constlist=CHARSET
0=win-1252-latin-1
1=system-default
2=symbol
77=apple-roman
128=win-932-japanese-shift-jis
129=win-949-korean-hangul
130=win-1361-korean-johab
134=win-936-chinese-simplified-gbk
136=win-950-chinese-traditional-big5
161=win-1253-greek
162=win-1254-turkish
163=win-1258-vietnamese
177=win-1255-hebrew
178=win-1256-arabic
186=win-1257-baltic
204=win-1251-cyrillic
222=win-874-thai
238=win-1250-latin-2-central-european
255=ibm-850-latin-1
end
constlist=CODEPAGES
367=ascii
437=ibm-437-us
708=iso-8859-6
720=ibm-720-arabic
737=ibm-737-greek
775=ibm-775-baltic
850=ibm-850-latin-1
852=ibm-852-latin-2-central-european
855=ibm-855-cyrillic
857=ibm-857-turkish
858=ibm-858-multilingual-latin-1-with-euro
860=ibm-860-portuguese
861=ibm-861-icelandic
862=ibm-862-hebrew
863=ibm-863-canadian-french
864=ibm-864-arabic
865=ibm-865-nordic
866=ibm-866-cyrillic-russian
869=ibm-869-greek-modern
874=win-874-thai
932=win-932-japanese-shift-jis
936=win-936-chinese-simplified-gbk
949=win-949-korean-wansung
950=win-950-chinese-traditional-big5
1200=utf-16
1250=win-1250-latin-2-central-european
1251=win-1251-cyrillic
1252=win-1252-latin-1
1253=win-1253-greek
1254=win-1254-turkish
1255=win-1255-hebrew
1256=win-1256-arabic
1257=win-1257-baltic
1258=win-1258-vietnamese
1361=win-1361-korean-johab
10000=apple-roman
10001=apple-japanese
10002=apple-chinese-traditional
10003=apple-korean
10004=apple-arabic
10005=apple-hebrew
10006=apple-greek
10007=apple-cyrillic
10008=apple-chinese-simplified
10010=apple-romanian
10017=apple-ukrainian
10029=apple-central-european-with-euro
10079=apple-icelandic
10081=apple-turkish
10082=apple-croatian
20127=ascii
20866=koi8-r
21866=koi8-u
28591=iso-8859-1
28592=iso-8859-2
28593=iso-8859-3
28594=iso-8859-4
28595=iso-8859-5
28596=iso-8859-6
28597=iso-8859-7
28598=iso-8859-8
28599=iso-8859-9
28605=iso-8859-15
32768=apple-romanian
32769=win-1252-latin-1
50220=iso-2022-jp
50225=iso-2022-kr
51932=euc-jp
51936=euc-cn
51949=euc-kr
65000=utf-7
65001=utf-8
end
# DFF stream -----------------------------------------------------------------
multilist=DFF-RECORD-NAMES
0xF000=DFFDGGCONTAINER,DFFBSTORECONTAINER,DFFDGCONTAINER,DFFSPGRCONTAINER,DFFSPCONTAINER,DFFSOLVERCONTAINER,DFFDGG,DFFBSE
0xF008=DFFDG,DFFSPGR,DFFSP,DFFOPT,DFFTEXTBOX,DFFCLIENTTEXTBOX,DFFANCHOR,DFFCHILDANCHOR
0xF010=DFFCLIENTANCHOR,DFFCLIENTDATA,DFFCONNECTORRULE,DFFALIGNRULE,DFFARCRULE,DFFCLIENTRULE,DFFCLASSID,DFFCALLOUTRULE
# 0xF018-0xF117 reserved for pictures
0xF118=DFFREGROUPITEM,DFFSELECTION,DFFCOLORMRU,,,DFFDELETEDPSPL,DFFSPLITMENUCOLORS,DFFOLEOBJECT
0xF120=DFFCOLORSCHEME,,DFFUSERDEFPROP
end
combilist=DFF-RECORD-INST
0x000F=uint8,hex,version,DFF-RECORD-VERSION
0xFFF0=uint16,dec,instance
end
constlist=DFF-RECORD-VERSION
default=
15=container
end
flagslist=DFFCLIENTANCHOR-FLAGS
0x0001=pos-locked
0x0002=size-locked
end
combilist=DFFOPT-PROPERTY-ID
0x3FFF=uint16,dec,id,DFFOPT-PROPERTY-NAMES
0x4000=picture
0x8000=complex
end
multilist=DFFOPT-PROPERTY-NAMES
# transform
0x0004=rotation
# protection
0x007F=lock-flags
# text
0x0080=text-id,text-left,text-top,text-right,text-bottom,text-wrap-mode,text-scale,text-anchor-mode
0x0088=text-flow,text-font-rotation,text-next-shape,text-bidi
0x00BF=text-flags
# text geometry
0x00C0=text-unicode-string,text-rtf-string,text-curve-align,text-def-size,text-spacing,text-font-family
0x00FF=text-geometry-flags
# picture
0x0100=pic-crop-top,pic-crop-bottom,pic-crop-left,pic-crop-right,pic-data,pic-file-name,pic-flags,pic-transparency-color
0x0108=pic-contrast,pic-brightness,pic-gamma,pic-id,pic-double-cr-mod,pic-fill-cr-mod,pic-line-cr-mod,pic-data-print
0x0110=pic-name-print,pic-flags-print
0x013F=pic-flags
# geometry
0x0140=geo-left,geo-top,geo-right,geo-bottom,geo-shape-path,geo-vertices,geo-segment-info,geo-adjust-1
0x0148=geo-adjust-2,geo-adjust-3,geo-adjust-4,geo-adjust-5,geo-adjust-6,geo-adjust-7,geo-adjust-8,geo-adjust-9
0x0150=geo-adjust-10,geo-connect-points,geo-stretch-x,geo-stretch-y,geo-handles,geo-formulas,geo-text-recs
0x0158=geo-connector-type
0x017F=geo-flags
# fill style
0x0180=fill-type,fill-color,fill-opacity,fill-back-color,fill-back-opacity,fill-cr-mod,fill-blip,fill-blip-name
0x0188=fill-blip-flags,fill-width,fill-height,fill-angle,fill-focus,fill-to-left,fill-to-top,fill-to-right
0x0190=fill-to-bottom,fill-rect-left,fill-rect-top,fill-rect-right,fill-rect-bottom,fill-dz-type,fill-shade-preset,fill-shade-colors
0x0198=fill-origin-x,fill-origin-y,fill-shape-origin-x,fill-shape-origin-y,fill-shade-type
0x01BF=fill-flags
# line style
0x01C0=line-color,line-opacity,line-back-color,line-cr-mod,line-type,line-fill-blip,line-fill-blip-name,line-fill-blip-flags
0x01C8=line-fill-width,line-fill-height,line-fill-dz-type,line-width,line-miter-limit,line-style,line-dash,line-dash-style
0x01D0=line-start-arrow-head,line-end-arrow-head,line-start-arrow-width,line-start-arrow-length,line-end-arrow-width,line-end-arrow-length,line-join-style,line-end-cap-style
0x01FF=line-flags
# shadow style
0x0200=shadow-type,shadow-color,shadow-highlight,shadow-cr-mod,shadow-opacity,shadow-offset-x,shadow-offset-y,shadow-2nd-offset-x
0x0208=shadow-2nd-offset-y,shadow-scale-x-to-x,shadow-scale-y-to-x,shadow-scale-x-to-y,shadow-scale-y-to-y,shadow-persp-x,shadow-persp-y,shadow-weight
0x0210=shadow-origin-x,shadow-origin-y
0x023F=shadow-flags
# perspective
0x0240=persp-type,persp-offset-x,persp-offsety,persp-scale-x-to-x,persp-scale-y-to-x,persp-scale-x-to-y,persp-scale-y-to-y,persp-persp-x
0x0248=persp-persp-y,persp-weight,persp-origin-x,persp-origin-y
0x027F=persp-flags
# 3d object
0x0280=3dobj-specular-amt,3dobj-diffuse-amt,3dobj-shininess,3dobj-edge-thickness,3dobj-extrude-forward,3dobj-extrude-backward,3dobj-extrude-plane,3dobj-extrusion-color
0x0288=3dobj-cr-mod
0x02BF=3dobj-flags
# 3d style
0x02C0=3dstyle-y-rotation,3dstyle-x-rotation,3dstyle-rotation-axis-x,3dstyle-rotation-axis-y,3dstyle-rotation-axis-z,3dstyle-rotation,3dstyle-rotation-center-x,3dstyle-rotation-center-y
0x02C8=3dstyle-rotation-center-z,3dstyle-render-mode,3dstyle-tolerance,3dstyle-view-point-x,3dstyle-view-point-y,3dstyle-view-point-z,3dstyle-origin-x,3dstyle-origin-y
0x02D0=3dstyle-skew-angle,3dstyle-skew-amount,3dstyle-ambient-intensity,3dstyle-key-light-x,3dstyle-key-light-y,3dstyle-key-light-z,3dstyle-key-light-intensity,3dstyle-fill-light-x
0x02D8=3dstyle-fill-light-y,3dstyle-fill-light-z,3dstyle-fill-light-intensity
0x02FF=3dstyle-flags
# shape 1
0x0301=,shape-master,,shape-connect-style,shape-bw-mod,shape-bw-mode-pure-bw,shape-bw-mode-bw
0x033F=shape1-flags
# callout
0x0340=callout-type,callout-box-distance,callout-angle,callout-drop-type,callout-drop-distance,callout-length
0x037F=callout-flags
# shape 2
0x0380=shape-name,shape-description,shape-hyperlink,shape-wrap-polygon-vertices,shape-wrap-left,shape-wrap-top,shape-wrap-right,shape-wrap-bottom
0x0388=shape-regroup-id
0x03BF=shape2-flags
end
flagslist=DFFOPT-LOCK-FLAGS
0x00000001=lock-against-grouping
0x00000002=lock-adjust-handles
0x00000004=lock-text
0x00000008=lock-vertices
0x00000010=lock-cropping
0x00000020=lock-against-select
0x00000040=lock-position
0x00000080=lock-aspect-ratio
0x00000100=lock-rotation
end
flagslist=DFFOPT-TEXT-FLAGS
0x00000001=fit-text-to-shape
0x00000002=fit-shape-to-text
0x00000004=rotate-text
0x00000008=auto-text-margin
0x00000010=select-text
end
flagslist=DFFOPT-TEXTGEO-FLAGS
0x00000001=strike-through
0x00000002=small-caps
0x00000004=shadow
0x00000008=underline
0x00000010=italic
0x00000020=bold
0x00000040=no-measure-along-path
0x00000080=stretch-height
0x00000100=scale-on-path
0x00000200=shrink-to-fit
0x00000400=stretch-to-fit
0x00000800=tightening
0x00001000=kerning
0x00002000=vertical
0x00004000=has-effect
0x00008000=reverse-rows
end
flagslist=DFFOPT-PICTURE-FLAGS
0x00000001=ole-alive
0x00000002=bi-level-display
0x00000004=grayscale
0x00000008=no-hit-test
end
flagslist=DFFOPT-GEO-FLAGS
0x00000001=fill-support
0x00000002=fill-shade-shape-support
0x00000004=fontwork-support
0x00000008=line-support
0x00000010=3d-support
0x00000020=shadow-support
end
flagslist=DFFOPT-FILL-FLAGS
0x00000001=no-fill-hit-test
0x00000002=use-large-rect
0x00000004=register-pattern
0x00000008=hit-test-fill
0x00000010=has-fill
end
flagslist=DFFOPT-LINE-FLAGS
0x00000001=draw-dash-for-invisible
0x00000002=register-pattern
0x00000004=hit-test-line
0x00000008=has-line
0x00000010=arrowhead-support
end
flagslist=DFFOPT-SHADOW-FLAGS
0x00000001=excel5-style
0x00000002=has-shadow
end
flagslist=DFFOPT-PERSP-FLAGS
0x00000001=has-perspective
end
flagslist=DFFOPT-3DOBJ-FLAGS
0x00000001=light-face
0x00000002=extrusion-color
0x00000004=metallic
0x00000008=has-3d
end
flagslist=DFFOPT-3DSTYLE-FLAGS
0x00000001=fill-color-harsh
0x00000002=key-color-harsh
0x00000004=parallel
0x00000008=rotation-center-auto
0x00000010=constrain-rotation
end
flagslist=DFFOPT-SHAPE1-FLAGS
0x00000001=background
0x00000002=delete-attached-object
0x00000008=lock-shape-type
0x00000010=prefer-rel-resize
0x00000020=ole-iconified
end
flagslist=DFFOPT-CALLOUT-FLAGS
0x00000001=length-specified
0x00000002=drop-auto
0x00000004=minus-y
0x00000008=minus-x
0x00000010=has-text-border
0x00000020=has-accent-bar
0x00000040=is-callout
end
flagslist=DFFOPT-SHAPE2-FLAGS
0x00000001=print
0x00000002=hidden
0x00000004=1d-adjustment
0x00000008=action-attached
0x00000010=notify-double-click
0x00000020=behind-text
0x00000040=wrap-edited
end
# OLE property stream --------------------------------------------------------
F29F85E0-4FF9-1068-AB91-08002B27B3D9=GlobalDocProp
D5CDD502-2E9C-101B-9397-08002B2CF9AE=BuiltinDocProp
D5CDD505-2E9C-101B-9397-08002B2CF9AE=CustomDocProp
constlist=OLEPROP-BYTE-ORDER
0xFEFF=big-endian
0xFFFE=little-endian
end
shortlist=OLEPROP-OSTYPE,0,dos,mac,win32,unix
multilist=OLEPROP-BASEIDS
quote-names=1
default=
0=dictionary,codepage
end
multilist=OLEPROP-GLOBALIDS
include=OLEPROP-BASEIDS
2=title,subject,author,keywords,comments,template,last-author,rev-number
10=edit-time,last-printed,create-time,last-saved,page-count,word-count,char-count,thumbnail,appname,security
end
multilist=OLEPROP-BUILTINIDS
include=OLEPROP-BASEIDS
2=category,pres-target,byte-count,line-count,para-count,slide-count,note-count,hidden-slide-count
10=clips,scale-crop,heading-pairs,part-titles,manager,company,links-uptodate
end
multilist=OLEPROP-TYPE-SIMPLE
0=empty,null,int16,int32,float,double,fixed,date,string8,dispatch
10=error,bool,variant,unknown,decimal,int8,uint8,uint16,uint32
20=int64,uint64,int,uint,void,hresult,ptr,savearray,c-array,userdef
30=string8,string16
64=time-stamp,blob,stream,storage,stream-obj,storage-obj
70=blob-obj,clip-fmt,guid,vers-stream
0x0FFF=str8-blob
end
combilist=OLEPROP-TYPE
0x0FFF=int32,dec,base-type,OLEPROP-TYPE-SIMPLE
0x1000=vector
0x2000=array
0x4000=byref
end
# ============================================================================
|