Location:
txtfrmat.h
Link against: etext.lib
TBullet
Supported from 5.0
A bullet point 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. The data members of this class
are public.
Defined in TBullet
:
TBullet()
, iCharacterCode
, iColor
, iHangingIndent
, iHeightInTwips
, iTypeface
, operator!=()
, operator==()
TBullet();
The default C++ constructor constructs a TBullet
,
initializing the character code to 0x2022, the height to zero, the colour to
the system's default foreground colour and the hanging indent to
ETrue
. The typeface is not initialised.
TBool operator==(const TBullet& aBullet)const;
Compares two bullet points for equality. For two bullet points to be equal, all data members must be equal.
|
|
TBool operator!=(const TBullet& aBullet)const;
Compares two bullet points for inequality. Two bullet points are unequal if any of their data members are different.
|
|
TChar iCharacterCode
The Unicode character used to represent the bullet point. By default 0x2022.
TUint32 iHeightInTwips
The height in twips of the font used for the bullet point character. By default, zero.
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.
TRgb iColor
Withdrawn in 6.0
The colour of the bullet point character. By default, black.
TLogicalRgb iColor
Supported from 6.0
The colour of the bullet point character. By default, the system's default foreground colour.