2.9.289 SttbfRfs

The SttbfRfs structure is an STTB structure that contains the strings for a mail merge. This structure SHOULD<245> contain 5 strings, and MUST contain at least 4 strings, as shown in the following table. There is no extra data appended to the strings of this STTB.


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)

cchData1 (2 bytes)

Data1 (variable)

cchData2 (2 bytes)

Data2 (variable)

cchData3 (2 bytes)

Data3 (variable)

cchData4 (2 bytes)

Data4 (variable)

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

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

cData (2 bytes): This value SHOULD<246> be 0x0005, and MUST be either 0x0005 or 0x0004.

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

cchData0-4 (2 bytes): An unsigned integer that specifies the count of characters in the corresponding Data fields. This value MUST be less than 256.

Data0 (variable): A Unicode string that specifies the connection string to the mail merge data source. This string MUST be identical to the string with id=0x0000 inside ODSOPropertyBase, if neither of these two strings is empty.

Data1 (variable): A Unicode string that specifies the connection string to the source for the field names of the mail merge data. This string MUST be empty if the field names are from the same data source as Data0.

Data2 (variable): A Unicode string that specifies the e-mail subject line if the mail merge is for e-mail.

Data3 (variable): A Unicode string that specifies the name of the data column that contains either e-mail addresses, if the mail merge is for e-mail, or fax numbers, if the mail merge is for fax.

Data4 (variable): This value MUST be ignored.