2.5.215 RichTextStreamChecksumFontInformation

The RichTextStreamChecksumFontInformation structure specifies the data used to compute the checksum of the RichTextStream record. This data can be obtained from Text and Font records 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

stFontName (variable)

...

dwFontHeight

A

B

C

D

E

F

G

H

I

J

K

reserved1

boldness

subscript

bUnderline

bFamily

bCharset

reserved2

rgbFontColor

...

dwDrawingMode

...

stFontName (variable): An array of Unicode characters that contains the font name. MUST be the font name specified by the fontName field of the related Font record.

dwFontHeight (4 bytes): An unsigned integer that specifies the font height. MUST equal the value specified by the dyHeight field of the related Font record.

A - fBold (1 bit): A bit that specifies whether the font is bold. The value of this field MUST be 1 when the value of the bls field of the associated Font record is greater than 400.

B - fItalic (1 bit): A bit that specifies whether the font is italic. MUST equal the value specified by the fItalic field of the related Font record.

C - fUnderline (1 bit): A bit that specifies whether the font is single-underlined. The value of this field MUST be 1 when the value of the uls field of the associated Font record is not equal to 0x00.

D - fOutline (1 bit): A bit that specifies whether the font has an outline effect applied. MUST equal the value specified by the fOutline field of the related Font record.

E - fShadow (1 bit): A bit that specifies whether the font has a shadow effect applied. MUST equal the value specified by the fShadow field of the related Font record.

F - fCondense (1 bit): A bit that specifies whether the font is condensed. MUST equal the value specified by the fCondense field of the related Font record.

G - fExtend (1 bit): A bit that specifies whether the font is extended. MUST equal the value specified by the fExtend field of the related Font record

H - fStrikeout (1 bit): A bit that specifies whether the font has strikethrough formatting applied. MUST equal the value specified by the fStrikeOut field of the related Font record.

I - fRegular (1 bit): A bit that specifies whether the font is a regular font. MUST equal 1.

J - fJon (1 bit): A bit that specifies whether the font is too small to be displayed. MUST equal 1 if the font height in pixels is less than 6.

K - fDialogBox (1 bit): A bit that specifies whether the font is used in the context of a dialog box. MUST equal 0.

reserved1 (5 bits): MUST be zero, and MUST be ignored.

boldness (2 bytes): An unsigned integer that specifies the font weight. MUST equal the value specified by the bls field of the related Font record.

subscript (2 bytes): An unsigned integer that specifies whether superscript, subscript, or normal script is used. MUST equal the value specified by the sss field of the related Font record.

bUnderline (1 byte): An unsigned integer that specifies the underline style. MUST equal the value specified by the uls field of the related Font record.

bFamily (1 byte): An unsigned integer that specifies the font family of this font. MUST equal the value specified by the bFamily field of the related Font record.

bCharset (1 byte): An unsigned integer that specifies the character set. MUST equal the value specified by the bCharSet field of the related Font record.

reserved2 (1 byte): MUST be zero, and MUST be ignored.

rgbFontColor (4 bytes): A LongRGB that specifies the font color. MUST equal the color specified by the icv field of the related Font record.

dwDrawingMode (4 bytes): An unsigned integer that specifies the display mode of the background of the text. MUST be equal to 0x0000010D when the wBkgMode field of the related Text record is equal to 0x0001; otherwise, it MUST be equal to 0x0000020D.