CTextLayout::TUtf32SourceCache Class Reference

class CTextLayout::TUtf32SourceCache

Accesses text supplied by MTmSource .

Constructor & Destructor Documentation

TUtf32SourceCache(const MTmSource &)

TUtf32SourceCache ( const MTmSource & aSource )

Constructs an iterator over the text referenced by aSource.

Parameters

const MTmSource & aSource The source of the text to be iterated over.

TUtf32SourceCache(const CTextLayout &)

TUtf32SourceCache ( const CTextLayout & aLayout )

Constructs an iterator over the text formatted by aLayout.

Parameters

const CTextLayout & aLayout The formatter of the text to be iterated over.

Member Functions Documentation

GetUtf16(TInt)

TText GetUtf16 ( TInt aIndex )
Gets the specified character without uniting surrogate pairs.
Pre-condition
0 <= aIndex && aIndex < {document length}

Parameters

TInt aIndex The document position to retrieve.

GetUtf32(TInt)

TChar GetUtf32 ( TInt aIndex )

Gets the specified character, uniting surrogate pairs if appropriate.

Parameters

TInt aIndex The document position to retrive.

Member Data Documentation

TPtrC16 iCurrentView

TPtrC16 iCurrentView [private]

TInt iCurrentViewIndex

TInt iCurrentViewIndex [private]

const MTmSource * iSource

const MTmSource * iSource [private]