TTmCharFormatMask Class Reference

class TTmCharFormatMask

A bit mask for selecting one or more attributes of a TTmCharFormat object.

Public Member Functions
TTmCharFormatMask()
TTmCharFormatMask(const TCharFormatMask &)
voidClear(TAttrib)
IMPORT_C voidGetTCharFormatMask(TCharFormatMask &)
TBool IsSet(TAttrib)
voidSet(TAttrib)
Public Member Enumerations
enumTAttrib {
EFontName = 0x1, EFontCoverage = 0x2, EBold = 0x4, EItalic = 0x8, ESerif = 0x10, EMonoWidth = 0x20, EHeight = 0x40, EPrintPosition = 0x80, ETextColor = 0x100, EBackgroundColor = 0x200, EBackground = 0x400, EUnderline = 0x800, EStrikethrough = 0x1000, EShadow = 0x2000, EUserDefinedEffects = 0x4000, ELanguage = 0x8000, EPictureAlignment = 0x10000
}
Public Attributes
TUint iFlags

Constructor & Destructor Documentation

TTmCharFormatMask()

TTmCharFormatMask()[inline]

Constructs a TTmCharFormatMask. Turns all the flags on.

TTmCharFormatMask(const TCharFormatMask &)

IMPORT_CTTmCharFormatMask(const TCharFormatMask &aMask)

Parameters

const TCharFormatMask & aMask

Member Functions Documentation

Clear(TAttrib)

voidClear(TAttribaAttrib)[inline]

Clears the selected flag.

Parameters

TAttrib aAttrib

GetTCharFormatMask(TCharFormatMask &)

IMPORT_C voidGetTCharFormatMask(TCharFormatMask &aMask)const

Parameters

TCharFormatMask & aMask

IsSet(TAttrib)

TBool IsSet(TAttribaAttrib)[inline]

Returns true if the selected attribute is set.

Parameters

TAttrib aAttrib

Set(TAttrib)

voidSet(TAttribaAttrib)[inline]

Sets the selected flag.

Parameters

TAttrib aAttrib

Member Enumerations Documentation

Enum TAttrib

Constants, that are also bit assignments, representing character format attributes

Enumerators

EFontName = 0x1
EFontCoverage = 0x2
EBold = 0x4
EItalic = 0x8
ESerif = 0x10
EMonoWidth = 0x20
EHeight = 0x40
EPrintPosition = 0x80
ETextColor = 0x100
EBackgroundColor = 0x200
EBackground = 0x400
EUnderline = 0x800
EStrikethrough = 0x1000
EShadow = 0x2000
EUserDefinedEffects = 0x4000
ELanguage = 0x8000
EPictureAlignment = 0x10000

Member Data Documentation

TUint iFlags

TUint iFlags