2.5.214 RichTextStreamChecksumData

The RichTextStreamChecksumData structure specifies the data used to compute the checksum of the RichTextStream record. This data can be obtained from Text record, FontX record, Font record, BRAI record, and ObjectLink record associated with the RichTextStream record, as specified in RichTextStream. If no Text record is associated with the RichTextStream record, the Text record associated with the DefaultText record MUST be used. If no Font record is associated with the RichTextStream record, the first Font record specified in the global substream MUST be used.


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

fibFontInformation (variable)

...

A

B

C

bTextRotation

D

E

F

G

H

I

J

K

L

bSeriesIdentifier

M

N

O

bTextFormat

StText (variable)

...

fibFontInformationArray (variable)

...

fibFontInformation (variable): A RichTextStreamChecksumFontInformation structure that specifies the default font information to use for the rich text string.

A - fAutoSize (1 bit): A bit that specifies whether the font size is automatic. MUST be equal to 1 if the value of the iFont field of the related FontX record is 0.  Otherwise, MUST be equal to 0. If no FontX record is associated with the RichTextStream record, MUST be equal to 0.

B - fAutoColor (1 bit): A bit that specifies whether the foreground text color is determined automatically. MUST be equal to the value of the fAutoColor field of the related Text record.

C - fAutoMode (1 bit): A bit that specifies if the background color is determined automatically. MUST be equal to the value of the fAutoMode field of the related Text record.

bTextRotation (8 bits): An unsigned integer that specifies the text rotation. MUST be equal to the value of the trot field of the related Text record.

D - fAutoRot (1 bit): MUST be zero. 

E - reserved1 (1 bit): MUST be 1, and MUST be ignored.

F - iReadingOrder (2 bits): An unsigned integer that specifies the text reading order. MUST be equal to the value of the iReadingOrder field of the related Text record.

G - reserved2 (1 bit): MUST be zero, and MUST be ignored.

H - fAttached (1 bit): A bit that specifies whether the text position is absolute or attached. If the RichTextStream record is contained in the sequence of records that conforms to the LD rule, this field MUST be 1. If the RichTextStream is not contained in the LD rule, and the dlp field of the associated Text record is set to 0xA, this field MUST be 1. Otherwise, it MUST be 0.

I - fUserPos (1 bit): A bit that specifies whether the text position is automatic. If the value is 0, the text position is automatic. If the dlp field of the associated Text record is set to 0xA, this field MUST be 1. Otherwise, it MUST be 0.

J - bObjectType (4 bits): An unsigned integer that specifies the object type. Based on the record the RichTextStream is associated with, the value MUST be from the following table:

Record associated with RichTextStream

Value

Meaning

Chart

0x1

Default text associated with the chart.

Axis where wType is 0x0001

0x2

Attached label of the value axis (or the vertical value axis) in the primary axis group.

Axis where wType is 0x0000

0x3

Attached label of the category (2) axis (or the horizontal value axis) in the primary axis group.

Series

0x4

Attached label of the series.

Legend

0x5

Attached label of the legend.

Axis where wType is 0x0003

0x7

Attached label of the series axis.

Second Axis record where wType is 0x0001

0x8

Attached label of the value axis (or the vertical value axis) in the secondary axis group.

Second Axis record where wType is 0x0000

0x9

Attached label of the category (2) axis (or the horizontal value axis) in the secondary axis group.

DataTable

0xB

Attached label of the chart DataTable.

YMult

0xC

Attached label of the axis multiplier.

K - fBuildable (1 bit): A bit that specifies whether the text value of the Text record associated with the RichTextStream is automatically generated and unchanged. MUST be equal to the value of the fAutoText field of the related Text record.

L - reserved3 (1 bit): MUST be zero, and MUST be ignored.

bSeriesIdentifier (8 bits): An unsigned integer that specifies the zero-based index of the Series record of the current chart to which the attached label is attached.

M - reserved4 (2 bits): MUST be 0x3, and MUST be ignored.

N - fReference (2 bits): An unsigned integer that specifies the type of data that is being referenced. MUST be equal to the value of the rt field of the BRAI record associated with the RichTextStream.

O - stSource (4 bits): An unsigned integer that specifies the part of the series, trendline, or error bars the referenced data of the BRAI record associated with the RichTextStream specifies. MUST be equal to the value of the id field of the BRAI record associated with the RichTextStream.

bTextFormat (8 bits): An IFmt that specifies the number formatting used for the data. MUST be equal to the value of the ifmt field of the BRAI record associated with the RichTextStream.

StText (variable): An array of Unicode characters that contains the text content of the rich text. This field only takes the text content into consideration and ignores the size and header fields of the text string. If the RichTextStream is associated with a BRAI record, the text value MUST correspond to the text value identified by the BRAI record. If the RichTextStream record is associated with an ObjectLink record, the text value MUST correspond to the text value identified by the ObjectLink record.

fibFontInformationArray (variable): An array of RichTextStreamChecksumFontInformationArrayItem that specifies the formatting of the StText field.