class TBullet |
A bullet point.
This is a paragraph format attribute, stored as the iBullet member of class CParaFormat.
Bullet points have a typeface, height, colour and a character code (defines the symbol displayed). Single level bullets only are supported. Bullets may also have a hanging indent. If set, this means that the rest of the paragraph following the line containing the bullet point is indented.
Public Member Functions | |
---|---|
TBullet() | |
TBool | operator!=(const TBullet &) |
IMPORT_C TBool | operator==(const TBullet &) |
Public Member Enumerations | |
---|---|
enum | TAlignment { ELeftAlign, ECenterAlign, ERightAlign } |
enum | TStyle { ENullStyle, EBulletStyle, EArabicNumberStyle, ESmallRomanNumberStyle, ECapitalRomanNumberStyle, ESmallLetterStyle, ECapitalLetterStyle } |
Public Attributes | |
---|---|
TAlignment | iAlignment |
TChar | iCharacterCode |
TLogicalRgb | iColor |
TBool | iHangingIndent |
TUint | iHeightInTwips |
TInt | iStartNumber |
TStyle | iStyle |
TTypeface | iTypeface |
TBool | operator!= | ( | const TBullet & | aBullet | ) | const [inline] |
Compares two bullet points for inequality. Two bullet points are unequal if any of their data members are different.
ETrue if the two bullet points are different, EFalse if not.
const TBullet & aBullet | The bullet point to compare. |
IMPORT_C TBool | operator== | ( | const TBullet & | aBullet | ) | const |
const TBullet & aBullet |
Paragraph alignment
ELeftAlign |
Paragraph left aligned. |
ECenterAlign |
Paragraph centre aligned. |
ERightAlign |
Paragraph right aligned. |
Identifies the bullet style.
Note: Styles other than ENullStyle and EBulletStyle are not currently supported. They have the same effect as the EBulletStyle.
ENullStyle |
No bullet. Used for style layers that override a bullet with the absence of a bullet. |
EBulletStyle |
A bullet point. Character with code 0x2022 is used by default. |
EArabicNumberStyle | |
ESmallRomanNumberStyle | |
ECapitalRomanNumberStyle | |
ESmallLetterStyle | |
ECapitalLetterStyle |
TChar | iCharacterCode |
The Unicode character used to represent the bullet point. By default 0x2022.
TLogicalRgb | iColor |
The colour of the bullet point character. By default, the system's default foreground colour.
TBool | iHangingIndent |
ETrue to indent the rest of the paragraph from the bullet point. EFalse to align the bullet point character with the rest of the paragraph.
TUint | iHeightInTwips |
The height in twips of the font used for the bullet point character. By default, zero.