2.9.32 TextSIException
Referenced by: StyleTextProp11, StyleTextProp9, TextSIExceptionAtom, TextSIRun
A structure that specifies additional text properties.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
reserved2 |
|||||||||||||||||||||
spellInfo (optional) |
lid (optional) |
||||||||||||||||||||||||||||||
altLid (optional) |
bidi (optional) |
||||||||||||||||||||||||||||||
K (optional) |
reserved3 (optional) |
L (optional) |
|||||||||||||||||||||||||||||
smartTags (variable) |
|||||||||||||||||||||||||||||||
... |
A - spell (1 bit): A bit that specifies whether the spellInfo field exists.
B - lang (1 bit): A bit that specifies whether the lid field exists.
C - altLang (1 bit): A bit that specifies whether the altLid field exists.
D - unused1 (1 bit): Undefined and MUST be ignored.
E - unused2 (1 bit): Undefined and MUST be ignored.
F - fPp10ext (1 bit): A bit that specifies whether the pp10runid, reserved3, and grammarError fields exist.
G - fBidi (1 bit): A bit that specifies whether the bidi field exists.
H - unused3 (1 bit): Undefined and MUST be ignored.
I - reserved1 (1 bit): MUST be zero and MUST be ignored.
J - smartTag (1 bit): A bit that specifies whether the smartTags field exists.
reserved2 (22 bits): MUST be zero and MUST be ignored.
spellInfo (2 bytes): An optional SpellingFlags structure that specifies the spelling status of this text. It MUST exist if and only if spell is TRUE. The spellInfo.grammar sub-field MUST be zero.
lid (2 bytes): An optional TxLCID that specifies the language identifier of this text. It MUST exist if and only if lang is TRUE.
altLid (2 bytes): An optional TxLCID that specifies the alternate language identifier of this text. It MUST exist if and only if altLang is TRUE.
bidi (2 bytes): An optional signed integer that specifies whether the text contains bidirectional characters. It MUST exist if and only if fBidi is TRUE. It MUST be a value from the following table:
-
Value
Meaning
0x0000
Contains no bidirectional characters.
0x0001
Contains bidirectional characters.
K - pp10runid (4 bits): An optional unsigned integer that specifies an identifier for a character run that contains StyleTextProp11 data. It MUST exist if and only if fPp10ext is TRUE.
reserved3 (27 bits): An optional unsigned integer that MUST be zero, and MUST be ignored. It MUST exist if and only if fPp10ext is TRUE.
L - grammarError (1 bit): An optional bit that specifies a grammar error. It MUST exist if and only if fPp10ext is TRUE.
smartTags (variable): An optional SmartTags structure that specifies smart tags applied to the text. It MUST exist if and only if smartTag is TRUE.