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 &)
void Clear ( TAttrib )
IMPORT_C void GetTCharFormatMask ( TCharFormatMask &)
TBool IsSet ( TAttrib )
void Set ( TAttrib )
Public Member Enumerations
enum TAttrib {
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_C TTmCharFormatMask ( const TCharFormatMask & aMask )

Parameters

const TCharFormatMask & aMask

Member Functions Documentation

Clear(TAttrib)

void Clear ( TAttrib aAttrib ) [inline]

Clears the selected flag.

Parameters

TAttrib aAttrib

GetTCharFormatMask(TCharFormatMask &)

IMPORT_C void GetTCharFormatMask ( TCharFormatMask & aMask ) const

Parameters

TCharFormatMask & aMask

IsSet(TAttrib)

TBool IsSet ( TAttrib aAttrib ) [inline]

Returns true if the selected attribute is set.

Parameters

TAttrib aAttrib

Set(TAttrib)

void Set ( TAttrib aAttrib ) [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