Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <GULUTIL.H>
Link against: egul.lib

Class TFindWidthOfWidestDateSuffix

class TFindWidthOfWidestDateSuffix : public TFindWidthOfWidestTextItem;

Description

Finds the width in pixels of the widest date suffix (for instance st, nd), when displayed in a specified font.

After construction, call TFindWidthOfWidestTextItem::MaximumWidthInPixels(const CFont &)const, defined in the base class, specifying the font.

Derivation

Members

Defined in TFindWidthOfWidestDateSuffix:

Inherited from TFindWidthOfWidestTextItem:


Construction and destruction


TFindWidthOfWidestDateSuffix()

IMPORT_C TFindWidthOfWidestDateSuffix();

Description

Default constructor.

[Top]


Member functions


GetFirstAndLastIndex(TInt &,TInt &)const

private: virtual void GetFirstAndLastIndex(TInt &aFirstIndex, TInt &aLastIndex) const;

Description

Gets the first and last index in the range of items.

Parameters

TInt &aFirstIndex

On return, the first index.

TInt &aLastIndex

On return, the last index.


GetTextItem(TDes &,TInt)const

private: virtual void GetTextItem(TDes &aText, TInt aIndex) const;

Description

Gets the text item at the specfied index.

Parameters

TDes16 &aText

On return, the indexed text item.

TInt aIndex

The index.