TTmParFormatMask Class Reference

class TTmParFormatMask

A bit mask for selecting one or more attributes of an RTmParFormat.

Public Member Functions
TTmParFormatMask()
TTmParFormatMask(const TParaFormatMask &)
voidClear(TAttrib)
IMPORT_C voidGetTParaFormatMask(TParaFormatMask &)
TBool IsSet(TAttrib)
voidSet(TAttrib)
Public Member Enumerations
enumTAttrib {
EAlignment = 0x1, EDirection = 0x2, EKeepTogether = 0x4, EKeepWithNext = 0x8, EStartNewPage = 0x10, EWidowOrphan = 0x20, ENoWrap = 0x40, EExactLineSpacing = 0x80, EPixelLineSpacing = 0x100, ELeadingMargin = 0x200, ETrailingMargin = 0x400, EFirstLineIndent = 0x800, ELineSpacing = 0x1000, ESpaceAbove = 0x2000, ESpaceBelow = 0x4000, ETabSize = 0x8000, EBorderMargin = 0x10000, ETabList = 0x20000, EBullet = 0x40000, EBorder = 0x80000
}
Public Attributes
TUint iFlags

Constructor & Destructor Documentation

TTmParFormatMask()

TTmParFormatMask()[inline]

Constructs a TTmParFormatMask with all the flags on.

TTmParFormatMask(const TParaFormatMask &)

IMPORT_CTTmParFormatMask(const TParaFormatMask &aMask)

Parameters

const TParaFormatMask & aMask

Member Functions Documentation

Clear(TAttrib)

voidClear(TAttribaAttrib)[inline]

Clears the selected flag.

Parameters

TAttrib aAttrib

GetTParaFormatMask(TParaFormatMask &)

IMPORT_C voidGetTParaFormatMask(TParaFormatMask &aMask)const

Parameters

TParaFormatMask & aMask

IsSet(TAttrib)

TBool IsSet(TAttribaAttrib)[inline]

Returns true if the selected flag 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 paragraph format attributes

Enumerators

EAlignment = 0x1
EDirection = 0x2
EKeepTogether = 0x4
EKeepWithNext = 0x8
EStartNewPage = 0x10
EWidowOrphan = 0x20
ENoWrap = 0x40
EExactLineSpacing = 0x80
EPixelLineSpacing = 0x100
ELeadingMargin = 0x200
ETrailingMargin = 0x400
EFirstLineIndent = 0x800
ELineSpacing = 0x1000
ESpaceAbove = 0x2000
ESpaceBelow = 0x4000
ETabSize = 0x8000
EBorderMargin = 0x10000
ETabList = 0x20000
EBullet = 0x40000
EBorder = 0x80000

Member Data Documentation

TUint iFlags

TUint iFlags