TTmFormatParamBase Class Reference

class TTmFormatParamBase

WARNING: this Class is for internal use ONLY. Compatibility is not guaranteed in future releases. Formatting parameters used when formatting part of a layout object.

Constructor & Destructor Documentation

TTmFormatParamBase()

IMPORT_CTTmFormatParamBase()

Construct a TTmFormatParamBase object. Set iWrapWidth, iMaxHeight and iMaxLines to 'infinity' (KMaxTInt), iFlags to 0 (wrapping off, no truncation with ellipsis, etc.), and iEllipsis to the ordinary ellipsis character, U+2026.

Member Functions Documentation

IsTruncatingWithEllipsis()

TBool IsTruncatingWithEllipsis()const [inline]

Returns true if truncation with ellipsis is turned on.

IsWrapping()

TBool IsWrapping()const [inline]

Returns true if wrapping is turned on.

LegalLineBreaksOnly()

TBool LegalLineBreaksOnly()const [inline]

Returns true if line breaking must only occur at legal line breaks, even if the line cannot legally be broken at the desired wrap width.

Member Enumerations Documentation

Enum anonymous

Enumerators

EWrap = 1
EAtLeastMaxHeight = 2
ETruncateWithEllipsis = 4
ELegalLineBreaksOnly = 8

Member Data Documentation

TChar iEllipsis

TChar iEllipsis

TInt iFlags

TInt iFlags

TInt iMaxHeight

TInt iMaxHeight

TInt iMaxLines

TInt iMaxLines

TInt iWrapWidth

TInt iWrapWidth