Location:
txtfrmat.h
Link against: etext.lib
TFontPresentation
Supported from 5.0
Specifies all font-independent character format attributes,
including bold, italics and underlining. An instance of this class is owned by
the character formatting container (class TCharFormat
).
Defined in TFontPresentation
:
EAlignBaseLine
, EAlignBottom
, EAlignCentered
, EAlignTop
, EFontHighlightFirstCustomStyle
, EFontHighlightLastCustomStyle
, EFontHighlightNone
, EFontHighlightNormal
, EFontHighlightRounded
, EFontHighlightShadow
, IsEqual()
, TAlignment
, TFontHighlightStyle
, TFontPresentation()
, iHiddenText
, iHighlightColor
, iHighlightStyle
, iPictureAlignment
, iStrikethrough
, iTextColor
, iUnderline
TFontPresentation();
The default C++ constructor constructs a
TFontPresentation
object, initializing all member data to default
values. For details of these values, see the table below.
TBool IsEqual(const TFontPresentation& aFontPresentation,const TCharFormatMask& aMask)const;
Compares selected attribute values for equality. Only the attributes specified in the mask are involved in the comparison.
|
|
TLogicalRgb iTextColor
Supported from 6.0
The text colour. By default, the default system foreground colour.
TRgb iHighlightColor
Withdrawn in 6.0
The highlight colour for selected text. Only takes effect if
iHighlightStyle
is not EFontHighlightNone
. By default
KRgbBlack
.
TLogicalRgb iHighlightColor
Supported from 6.0
The highlight colour for selected text. Only takes effect if
iHighlightStyle
is not EFontHighlightNone
. By
default, the default system foreground colour.
TFontHighlightStyle iHighlightStyle
Style for character highlighting. By default
EFontHighlightNone
.
TFontStrikethrough iStrikethrough
The value of the strikethrough attribute. By default
EStrikethroughOff
.
TFontUnderline iUnderline
The value of the underline attribute. By default
EUnderlineOff
.
TBool iHiddenText
Specifies whether or not text is hidden. Note that hidden text is not
currently supported by EPOC's text layout engine. This attribute is provided to
preserve information when copying from and to devices which support hidden
text. By default EFalse
.
TAlignment iPictureAlignment
The vertical alignment of a picture character. By default
EAlignBaseLine
.
TFontHighlightStyle
Highlight style
|
TAlignment
Vertical picture alignment
|