2.9.20 TextPFException
Referenced by: TextMasterStyleLevel, TextPFExceptionAtom, TextPFRun
A structure that specifies paragraph-level formatting.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
masks |
|||||||||||||||||||||||||||||||
bulletFlags (optional) |
bulletChar (optional) |
||||||||||||||||||||||||||||||
bulletFontRef (optional) |
bulletSize (optional) |
||||||||||||||||||||||||||||||
bulletColor (optional) |
|||||||||||||||||||||||||||||||
textAlignment (optional) |
lineSpacing (optional) |
||||||||||||||||||||||||||||||
spaceBefore (optional) |
spaceAfter (optional) |
||||||||||||||||||||||||||||||
leftMargin (optional) |
indent (optional) |
||||||||||||||||||||||||||||||
defaultTabSize (optional) |
tabStops (variable) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
fontAlign (optional) |
wrapFlags (optional) |
||||||||||||||||||||||||||||||
textDirection (optional) |
masks (4 bytes): A PFMasks structure that specifies whether certain fields of this TextPFException record exist and are valid. Sub-fields are further specified in the following table.
-
Field
Meaning
masks.bulletBlip
MUST be zero.
masks.bulletHasScheme
MUST be zero.
masks.bulletScheme
MUST be zero.
bulletFlags (2 bytes): An optional BulletFlags structure that specifies whether certain bullet-related fields are valid. It MUST exist if and only if any of masks.hasBullet, masks.bulletHasFont, masks.bulletHasColor, or masks.bulletHasSize is TRUE.
bulletChar (2 bytes): An optional signed integer that specifies a UTF-16 Unicode [RFC2781] character to display as the bullet. The character MUST NOT be the NUL character 0x0000. It MUST exist if and only if masks.bulletChar is TRUE.
bulletFontRef (2 bytes): An optional FontIndexRef that specifies the font to use for the bullet. It MUST exist if and only if masks.bulletFont is TRUE. This field is valid if and only if bulletFlags.fBulletHasFont is TRUE.
bulletSize (2 bytes): An optional BulletSize that specifies the size of the bullet. It MUST exist if and only if masks.bulletSize is TRUE. This field is valid if and only if bulletFlags.fBulletHasSize is TRUE.
bulletColor (4 bytes): An optional ColorIndexStruct structure that specifies the color of a bullet. This field exists if and only if masks.bulletColor is TRUE. This field is valid if and only if bulletFlags.fBulletHasColor is TRUE.
textAlignment (2 bytes): An optional TextAlignmentEnum enumeration that specifies the alignment of the paragraph. It MUST exist if and only if masks.align is TRUE.
lineSpacing (2 bytes): An optional ParaSpacing that specifies the spacing between lines in the paragraph. It MUST exist if and only if masks.lineSpacing is TRUE.
spaceBefore (2 bytes): An optional ParaSpacing that specifies the size of the spacing before the paragraph. It MUST exist if and only if masks.spaceBefore is TRUE.
spaceAfter (2 bytes): An optional ParaSpacing that specifies the size of the spacing after the paragraph. It MUST exist if and only if masks.spaceAfter is TRUE.
leftMargin (2 bytes): An optional MarginOrIndent that specifies the left margin of the paragraph. It MUST exist if and only if masks.leftMargin is TRUE.
indent (2 bytes): An optional MarginOrIndent that specifies the indentation of the paragraph. It MUST exist if and only if masks.indent is TRUE.
defaultTabSize (2 bytes): An optional TabSize that specifies the default tab size of the paragraph. It MUST exist if and only if masks.defaultTabSize is TRUE.
tabStops (variable): An optional TabStops structure that specifies the tab stops for the paragraph. It MUST exist if and only if masks.tabStops is TRUE.
fontAlign (2 bytes): An optional TextFontAlignmentEnum enumeration that specifies the font alignment of the text in the paragraph. It MUST exist if and only if masks.fontAlign is TRUE.
wrapFlags (2 bytes): An optional PFWrapFlags structure that specifies text-wrapping options for the paragraph. It MUST exist if and only if any of masks.charWrap, masks.wordWrap, or masks.overflow is TRUE.
textDirection (2 bytes): An optional TextDirectionEnum enumeration that specifies the direction of the text in this paragraph. It MUST exist if and only if masks.textDirection is TRUE.