CPageFieldBase Class Reference

#include <fldbltin.h>

Link against: field.lib

class CPageFieldBase : public CTextField, public CTextField

Inherits from

Detailed Description

Stores a style for displaying the value of numeric fields.

This style is used when converting the integer value of numeric fields into a descriptor for display in another format, e.g. Arabic, Roman, alphabetic. This is the base class for the numeric fields, CPageNumField and CNumPagesField.

Member Attribute Documentation

iStyle

TNumberStyle iStyle[protected]

Member Enumeration Documentation

Enum TNumberStyle

Numeric style

EnumeratorValueDescription
EArabic

Arabic numeral, e.g. 1, 2, 3.

ERomanUpper

Upper case Roman numeral, e.g. I, II, III.

ERomanLower

Lower case Roman numeral, e.g. i, ii, iii.

EAlphabeticUpper

Upper case alphabetic.

EAlphabeticLower

Lower case alphabetic.

Member Function Documentation

ExternalizeL ( RWriteStream & )

IMPORT_C voidExternalizeL(RWriteStream &aStream)const [virtual]

Externalises the numeric style value to a write stream. The presence of this function means that the standard templated operator<<() (defined in s32strm.h) is available to externalise objects of this class.

Parameters
aStreamStream to which the numeric style should be externalised.

InsertValue ( TPtr &, TInt )

TInt InsertValue(TPtr &aValueText,
TIntaValue
)[protected]

InternalizeL ( RReadStream & )

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]

Internalises the numeric style value from a read stream. The presence of this function means that the standard templated operator>>() (defined in s32strm.h) is available to internalise objects of this class.

Parameters
aStreamStream from which the numeric style should be internalised.

NumberStyle ( )

IMPORT_C TNumberStyleNumberStyle()const

Gets the numeric style.

Return Value
The numeric style.

SetNumberStyle ( TNumberStyle )

voidSetNumberStyle(TNumberStyleaStyle)[inline]

Sets the numeric style.

Parameters
aStyleThe numeric style.