2.5.268 TextPropsStreamChecksumData

Office

The TextPropsStreamChecksumData structure specifies the data used to compute the checksum of the TextPropsStream record. This data can be obtained from Font and Text records associated with the TextPropsStream record, as specified in TextPropsStream. If no Font record is associated with the TextPropsStream record, the fields related to the Font record MUST be omitted from this structure and thus not used to compute the checksum. If no Text record is associated with the TextPropsStream record, the Text record associated with the DefaultText record MUST be used instead.


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

unused1

boldness

subscript

bUnderline

bFamily

bCharset

unused2

rgbFontColor

...

dwDrawingMode

...

bRotation

dwHAlignment

...

dwVAlignment

...

bReadingOrder

stFontName (variable): An array of Unicode characters that specify the font name. The size of the array MUST be equal to fontName.cch*2, where fontName is a field of the associated Font record.

The value of this field MUST be equal to value of the fontName.rgb field of the associated Font record.

dwFontHeight (4 bytes): An unsigned integer that specifies the font height. The value of this field MUST be equal to the value of the dyHeight field of the associated 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. The value of this field MUST be equal to the value of the fItalic field of the associated 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. The value of this field MUST be equal to the value of the fOutline field of the associated Font record.

E - fShadow (1 bit): A bit that specifies whether the font has a shadow effect applied. The value of this field MUST be equal to the value of the fShadow field of the associated Font record.

F - fCondense (1 bit): A bit that specifies whether the font is condensed. The value of this field MUST be equal to the value of the fCondense field of the associated Font record.

G - fExtend (1 bit): A bit that specifies whether the font is extended. The value of this field MUST be equal to the value of the fExtend field of the associated Font record.

H - fStrikeout (1 bit): A bit that specifies whether the font has strike-through effect applied. The value of this field MUST be equal to the value of the fStrikeOut field of the associated Font record.

I - fRegular (1 bit): A bit that specifies whether the font is a regular font. The value of this field MUST be equal to 1.

J - fJon (1 bit): A bit that specifies whether the font is too small to be displayed. MUST have a value of 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. The value of this field MUST be equal to 0.

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

boldness (2 bytes): An unsigned integer that specifies the font weight. The value of this field MUST be equal to the value of the bls field of the associated Font record.

subscript (2 bytes): An unsigned integer that specifies whether superscript, subscript, or normal script is used. The value of this field MUST be equal to the value of the sss field of the associated Font record.

bUnderline (1 byte): An unsigned integer that specifies the underline style. The value of this field MUST be equal to the value of the uls field of the associated Font record.

bFamily (1 byte): An unsigned integer that specifies the font family of this font. The value of this field MUST be equal to the value of the bFamily field of the associated Font record.

bCharset (1 byte): An unsigned integer that specifies the character set. The value of this field MUST be equal to the value of the bCharSet field of the associated Font record.

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

rgbFontColor (4 bytes): A LongRGB that specifies the font color. The value of this field MUST be equal to the value of the icv field of the associated Font record.

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

bRotation (1 byte): An unsigned integer that specifies the text rotation. The value of this field MUST be equal to the value of the trot field of the associated Text record.

dwHAlignment (4 bytes): An unsigned integer that specifies the horizontal alignment of the text. The value of this field MUST equal to the value of the at field of the associated Text record.

dwVAlignment (4 bytes): An unsigned integer that specifies the vertical alignment of the text. The value of this field MUST be equal to the value of the vat field of the associated Text record.

bReadingOrder (1 byte): An unsigned integer that specifies the reading order of the text. The value of this field MUST be equal to the value of the iReadingOrder field of the associated Text record.

Show: