3.2.2.1 "CONTENTS" Stream
The following table shows the binary contents of the "CONTENTS" stream.
Stream contents |
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
x0 |
x1 |
x2 |
x3 |
x4 |
x5 |
x6 |
x7 |
x8 |
x9 |
xA |
xB |
xC |
xD |
xE |
xF |
00x |
FE |
FF |
01 |
00 |
06 |
00 |
02 |
00 |
53 |
FF |
4B |
99 |
F9 |
DD |
AD |
42 |
01x |
A5 |
6A |
FF |
EA |
36 |
17 |
AC |
16 |
01 |
00 |
00 |
00 |
01 |
18 |
00 |
20 |
02x |
E6 |
5D |
D1 |
11 |
8E |
38 |
00 |
C0 |
4F |
B9 |
38 |
6D |
30 |
00 |
00 |
00 |
03x |
DC |
01 |
00 |
00 |
0A |
00 |
00 |
00 |
01 |
00 |
00 |
00 |
58 |
00 |
00 |
00 |
04x |
00 |
00 |
00 |
80 |
60 |
00 |
00 |
00 |
01 |
00 |
00 |
80 |
68 |
00 |
00 |
00 |
05x |
00 |
00 |
00 |
00 |
70 |
00 |
00 |
00 |
04 |
00 |
00 |
00 |
38 |
01 |
00 |
00 |
06x |
06 |
00 |
00 |
00 |
4C |
01 |
00 |
00 |
07 |
00 |
00 |
00 |
70 |
01 |
00 |
00 |
07x |
0C |
00 |
00 |
00 |
7C |
01 |
00 |
00 |
27 |
00 |
00 |
00 |
94 |
01 |
00 |
00 |
08x |
92 |
00 |
00 |
00 |
C0 |
01 |
00 |
00 |
02 |
00 |
00 |
00 |
B0 |
04 |
00 |
00 |
09x |
13 |
00 |
00 |
00 |
00 |
00 |
09 |
08 |
13 |
00 |
00 |
00 |
01 |
00 |
00 |
00 |
0Ax |
06 |
00 |
00 |
00 |
04 |
00 |
00 |
00 |
0E |
00 |
00 |
00 |
44 |
00 |
69 |
00 |
0Bx |
73 |
00 |
70 |
00 |
6C |
00 |
61 |
00 |
79 |
00 |
43 |
00 |
6F |
00 |
6C |
00 |
0Cx |
6F |
00 |
75 |
00 |
72 |
00 |
00 |
00 |
06 |
00 |
00 |
00 |
09 |
00 |
00 |
00 |
0Dx |
4D |
00 |
79 |
00 |
53 |
00 |
74 |
00 |
72 |
00 |
65 |
00 |
61 |
00 |
6D |
00 |
0Ex |
00 |
00 |
00 |
00 |
07 |
00 |
00 |
00 |
0B |
00 |
00 |
00 |
50 |
00 |
72 |
00 |
0Fx |
69 |
00 |
63 |
00 |
65 |
00 |
28 |
00 |
47 |
00 |
42 |
00 |
50 |
00 |
29 |
00 |
10x |
00 |
00 |
00 |
00 |
0C |
00 |
00 |
00 |
0A |
00 |
00 |
00 |
4D |
00 |
79 |
00 |
11x |
53 |
00 |
74 |
00 |
6F |
00 |
72 |
00 |
61 |
00 |
67 |
00 |
65 |
00 |
00 |
00 |
12x |
27 |
00 |
00 |
00 |
0E |
00 |
00 |
00 |
43 |
00 |
61 |
00 |
73 |
00 |
65 |
00 |
13x |
53 |
00 |
65 |
00 |
6E |
00 |
73 |
00 |
69 |
00 |
74 |
00 |
69 |
00 |
76 |
00 |
14x |
65 |
00 |
00 |
00 |
92 |
00 |
00 |
00 |
0E |
00 |
00 |
00 |
43 |
00 |
41 |
00 |
15x |
53 |
00 |
45 |
00 |
53 |
00 |
45 |
00 |
4E |
00 |
53 |
00 |
49 |
00 |
54 |
00 |
16x |
49 |
00 |
56 |
00 |
45 |
00 |
00 |
00 |
08 |
00 |
00 |
00 |
0A |
00 |
00 |
00 |
17x |
47 |
00 |
72 |
00 |
65 |
00 |
79 |
00 |
00 |
00 |
00 |
00 |
49 |
00 |
00 |
00 |
18x |
CA |
84 |
95 |
F9 |
23 |
CA |
0B |
47 |
83 |
94 |
22 |
01 |
77 |
90 |
7A |
AD |
19x |
0C |
00 |
00 |
00 |
70 |
00 |
72 |
00 |
6F |
00 |
70 |
00 |
36 |
00 |
00 |
00 |
1Ax |
06 |
00 |
00 |
00 |
00 |
50 |
14 |
00 |
00 |
00 |
00 |
00 |
45 |
00 |
00 |
00 |
1Bx |
0E |
00 |
00 |
00 |
70 |
00 |
72 |
00 |
6F |
00 |
70 |
00 |
31 |
00 |
32 |
00 |
1Cx |
00 |
00 |
00 |
00 |
10 |
20 |
00 |
00 |
10 |
00 |
00 |
00 |
02 |
00 |
00 |
00 |
1Dx |
03 |
00 |
00 |
00 |
FF |
FF |
FF |
FF |
05 |
00 |
00 |
00 |
00 |
00 |
00 |
00 |
1Ex |
03 |
F8 |
14 |
17 |
12 |
87 |
45 |
29 |
25 |
11 |
33 |
56 |
79 |
A2 |
9C |
00 |
1Fx |
0C |
10 |
00 |
00 |
02 |
00 |
00 |
00 |
11 |
00 |
00 |
00 |
A9 |
00 |
00 |
00 |
20x |
14 |
00 |
00 |
00 |
A9 |
00 |
76 |
99 |
3B |
22 |
10 |
9C |
|
|
|
|
The stream contains a PropertySetStream packet, with the following field values:
Note Field offsets in this example are calculated from the beginning of the PropertySetStream packet.
ByteOrder (2 bytes at offset 0): 0xFFFE, as required.
Version (2 bytes at offset 2): 0x0001, indicating that this is a version 1 property set. This value was set by the OLEPS implementation, because the application used the following features not supported by version 0 property sets:
A property of type VT_ARRAY | VT_I1 (0x2010).
The Behavior property.
SystemIdentifier (4 bytes at offset 4): 0x00020006, which is the operating system identifier.<10>
CLSID (16 bytes at offset 8): {994BFF53-DDF9-42AD-A56A-FFEA3617AC16}. This is the same value as the associated CLSID of the storage in which this property set is stored.
NumPropertySets (4 bytes at offset 24): 0x00000001, which indicates that there is only one property set in this stream (as required, because this is not the special case of FMTID_DocSummaryInformation/FMTID_UserDefinedProperties).
FMTID 0 (16 bytes at offset 28): FMTID_PropertyBag ({20001801-5DE6-11D1-8E38-00C04FB9386D}).
Offset 0 (4 bytes at offset 44): 0x00000030, the offset from the beginning of this structure to the beginning of the field PropertySet 0.
FMTID 1 (0 bytes): Absent, as required for a PropertySetStream with only one property set.
Offset 1 (0 bytes): Absent, as required for a PropertySetStream with only one property set.
PropertySet 0 (396 bytes at offset 48): A PropertySet packet (consists of the remainder of the stream contents).
-
The field PropertySet 0 has the following subfield values:
-
Size (4 bytes at offset 48): 0x000001DC (decimal 496).
-
NumProperties (4 bytes at offset 52): 0x0000000A (decimal 10).
-
PropertyIdentifierAndOffset 0–9 (80 bytes total at offset 56): This consists of the following sequence of PropertyIdentifierAndOffset packets.
-
-
PropertyIdentifier
Offset
0x00000001 (property identifier for the CodePage property)
0x00000058
0x80000000 (property identifier for the Locale property)
0x00000060
0x80000001 (property identifier for the Behavior property)
0x00000068
0x00000000 (property identifier for the Dictionary property)
0x00000070
0x00000004
0x00000138
0x00000006
0x0000014C
0x00000007
0x00000170
0x0000000c
0x0000017C
0x00000027
0x00000194
0x00000092
0x000001C0
-
-
-
Property 0–9 (496 bytes total at offset 136): A sequence of 10 TypedPropertyValue packets, except the Dictionary property, which is a Dictionary packet, as described in section 3.2.2.1.4.
-