TTmParFormatMask Class Reference

class TTmParFormatMask

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

Public Member Functions
TTmParFormatMask ()
TTmParFormatMask (const TParaFormatMask &)
void Clear ( TAttrib )
IMPORT_C void GetTParaFormatMask ( TParaFormatMask &)
TBool IsSet ( TAttrib )
void Set ( TAttrib )
Public Member Enumerations
enum TAttrib {
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_C TTmParFormatMask ( const TParaFormatMask & aMask )

Parameters

const TParaFormatMask & aMask

Member Functions Documentation

Clear(TAttrib)

void Clear ( TAttrib aAttrib ) [inline]

Clears the selected flag.

Parameters

TAttrib aAttrib

GetTParaFormatMask(TParaFormatMask &)

IMPORT_C void GetTParaFormatMask ( TParaFormatMask & aMask ) const

Parameters

TParaFormatMask & aMask

IsSet(TAttrib)

TBool IsSet ( TAttrib aAttrib ) [inline]

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