2.5.248 Stxp

Office

The Stxp structure specifies various formatting attributes of a font.


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

twpHeight

ts

bls

sss

uls

bFamily

bCharSet

unused

twpHeight (4 bytes): A signed integer that specifies the height of the font in twips. This value MUST be -1, 0, or between 20 and 8191. This value SHOULD NOT<181> be 0. A value of -1 specifies that this field is to be ignored.

ts (4 bytes): A Ts that specifies additional formatting attributes.

bls (2 bytes): A signed integer that specifies the font weight. This value MUST be 0, or a value from the following table. The value SHOULD NOT<182> be 0.

Value

Description

0xFFFF

Indicates that this specification is to be ignored

0x0190

Normal font weight

0x02BC

Bold font weight

sss (2 bytes): A signed integer that specifies whether the superscript or subscript or normal style of the font is used. MUST be set to a value from the following table:

Value

Description

0xFFFF

Indicates that this specification is to be ignored

0x0000

Normal script

0x0001

Superscript

0x0002

Subscript

uls (1 byte): An unsigned integer that specifies the underline style. The value MUST be one of the following:

Value

Description

0x00

No underline

0x01

Single

0x02

Double

0x21

single accounting

0x22

double accounting

0xFF

Indicates that this specification is to be ignored

bFamily (1 byte): An unsigned integer that specifies the font family, as defined by Windows API LOGFONT structure in [MSDN-FONTS]. MUST be greater than or equal to 0 or less than or equal to 5.

bCharSet (1 byte): An unsigned integer that specifies the character set, as defined by Windows API LOGFONT structure in [MSDN-FONTS].

unused (1 byte): Undefined and MUST be ignored.

Show: