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 & aSourceThe 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 & aLayoutThe formatter of the text to be iterated over.

Member Functions Documentation

GetUtf16(TInt)

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

Parameters

TInt aIndexThe document position to retrieve.

GetUtf32(TInt)

TChar GetUtf32(TIntaIndex)

Gets the specified character, uniting surrogate pairs if appropriate.

Parameters

TInt aIndexThe document position to retrive.

Member Data Documentation

TPtrC16 iCurrentView

TPtrC16 iCurrentView[private]

TInt iCurrentViewIndex

TInt iCurrentViewIndex[private]

const MTmSource * iSource

const MTmSource *iSource[private]