2.9.278 SttbfAutoCaption

The SttbfAutoCaption structure is an STTB that contains AutoCaption information. Each string is the ProgID of an OLE object that, when inserted into the document, automatically has a caption inserted with it. The extra data which is appended to each string is an unsigned 16-bit integer that specifies a zero-based index into SttbfCaption. The data at that index defines the caption that is inserted.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

fExtend (2 bytes)

cData (2 bytes)

cbExtra (2 bytes)

cchData0 (2 bytes)

Data0 (variable)

ExtraData0 (2 bytes)

cchData1 (2 bytes)

Data1 (variable)

ExtraData1 (2 bytes)

cchDatacData-1 (2 bytes)

DatacData-1 (variable)

ExtraDatacData-1 (2 bytes)

The SttbfAutoCaption structure is an STTB structure that has following additional restrictions on its field values:

fExtend (2 bytes): This value MUST be 0xFFFF.

cbExtra (2 bytes): This value MUST be 0x0002.