2.5.298 XLUnicodeStringSegmentedRTD

The XLUnicodeStringSegmentedRTD structure specifies a Unicode string that contains a set of sub-strings.


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

cch

A

reserved

rgb (variable)

...

cch (4 bytes): An unsigned integer that specifies the size of rgb.

A - fHighByte (1 bit): A bit that specifies whether the characters in rgb are double-byte characters. MUST be a value from the following table:

Value

Meaning

0x0

All the characters in the string have a high byte of 0x00 and only the low bytes are in rgb.

0x1

All the characters in the string are saved as double-byte characters in rgb.

reserved (7 bits): MUST be zero, and MUST be ignored.

rgb (variable): An array of bytes that specifies a set of sub-strings. If fHighByte is 0x0, the size of the array is cch. If fHighByte is 0x1, the size of the array is cch*2. Each sub-string begins with one or two bytes specifying the count of characters in the sub-string. The count is one byte in length if fHighByte is zero and two bytes in length if fHighByte is 1. The number of the sub-strings MUST be greater than 2 and less than 40.