|
|
|
|
Location:
FLDBLTIN.H
Link against: field.lib
class CPageFieldBase : public CTextField;
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.
CBase - Base class for all classes to be instantiated on the heap
CTextField - Abstract class: derive from this to instantiate a particular type of field (eg date etc) Abstract base class for all field
types
CPageFieldBase - Stores a style for displaying the value of numeric fields
Defined in CPageFieldBase:
EAlphabeticLower, EAlphabeticUpper, EArabic, ERomanLower, ERomanUpper, ExternalizeL(), InternalizeL(), NumberStyle(), SetNumberStyle(), TNumberStyle, iStyle
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CTextField:
RestoreL(),
StoreL(),
Type(),
Value()
inline void SetNumberStyle(TNumberStyle aStyle);
Sets the numeric style.
|
virtual IMPORT_C void InternalizeL(RReadStream &aStream);
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.
|
virtual IMPORT_C void ExternalizeL(RWriteStream &aStream) const;
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.
|
IMPORT_C TNumberStyle NumberStyle() const;
Gets the numeric style.
|
TNumberStyle
Numeric style
|
protected: TNumberStyle iStyle;