TTmCharFormat Class Reference
A character format; all dimensions are in twips. A character format object stores all text style attributes that can differ from any one character to the next. Attributes that affect an entire paragraph only are kept in
RTmParFormat
objects. The class should only be used internally by FORM component.
Public Member Enumerations
|
enum
|
anonymous
{
EBackground
= 1,
ERounded
= 2,
EUnderline
= 4,
EStrikethrough
= 8,
EShadow
= 16,
EUserDefinedMask
= 0xFF000000,
EUserDefinedShift
= 24,
ENoMatchesIndicator
= 0x4000000,
ECustomDrawEffectIsExternallyDefined
= 0x80000000
}
|
enum
|
TPictureAlignment
{
EPictureAlignBaseline
,
EPictureAlignTop
,
EPictureAlignBottom
,
EPictureAlignCenter
}
|
Constructor & Destructor Documentation
TTmCharFormat()
IMPORT_C
|
TTmCharFormat
|
(
|
)
|
|
TTmCharFormat(const TDesC &, TInt)
IMPORT_C
|
TTmCharFormat
|
(
|
const
TDesC
&
|
aFontName,
|
|
TInt
|
aFontHeight
|
|
)
|
|
TTmCharFormat(const TCharFormat &)
Member Functions Documentation
GetTCharFormat(TCharFormat &)
IMPORT_C void
|
GetTCharFormat
|
(
|
TCharFormat
&
|
aFormat
|
)
|
const
|
operator!=(const TTmCharFormat &)
The inequality operator. Return TRUE if this object and aFormat differ in any way.
operator=(const TCharFormat &)
IMPORT_C void
|
operator=
|
(
|
const
TCharFormat
&
|
aFormat
|
)
|
|
operator==(const TTmCharFormat &)
Member Enumerations Documentation
Enum anonymous
Bit assignments for effects
Enumerators
EBackground = 1
|
|
ERounded = 2
|
|
EUnderline = 4
|
|
EStrikethrough = 8
|
|
EShadow = 16
|
|
EUserDefinedMask = 0xFF000000
|
Bits 24-31 are reserved for styles defined by the custom drawer.
|
EUserDefinedShift = 24
|
Shift
TCharFormat
highlight styles left by this to get the
TTmCharFormat
effects portion.
|
ENoMatchesIndicator = 0x4000000
|
For custom drawers: draw whatever is wanted for "no matches" in the FEP.
|
ECustomDrawEffectIsExternallyDefined = 0x80000000
|
Reset if the effect in bits 24-30 is defined defined by Symbian, set if it is defined externally.
|
Enum TPictureAlignment
Enumerators
EPictureAlignBaseline
|
|
EPictureAlignTop
|
|
EPictureAlignBottom
|
|
EPictureAlignCenter
|
|
Member Data Documentation
TLogicalRgb
iBackgroundColor
TPictureAlignment
iPictureAlignment
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.