CTextLayout::TTagmaForwarder Class Reference

class CTextLayout::TTagmaForwarder : public MTmTextLayoutForwarder

A standard inquiry interface for the text formatting engine, built on top of a CTextView object.

To use it, construct a TTagmaForwarder object, then call InitL(), which finishes background formatting, then call the MTmTextLayoutForwarder functions.

The class should only be used internally by FORM component.

Inherits from

Public Member Functions
TTagmaForwarder(const CTextLayout &)
Private Member Functions
voidGetOrigin(TPoint &)
const CTmTextLayout &TextLayout()
Inherited Functions
MTmTextLayoutForwarder::DocPosToLine(const TTmDocPos &,TTmLineInfo &)const
MTmTextLayoutForwarder::DocPosToLine(const TTmDocPosSpec &,TTmLineInfo &)const
MTmTextLayoutForwarder::DrawBackground(CGraphicsContext &,const TPoint &,const TRect &,const TLogicalRgb &)const
MTmTextLayoutForwarder::DrawLayout(CGraphicsContext &,const TPoint &,const TRect &,const TLogicalRgb *,TBool)const
MTmTextLayoutForwarder::EndChar()const
MTmTextLayoutForwarder::FindDocPos(const TTmDocPos &,TTmPosInfo &,TTmLineInfo &)const
MTmTextLayoutForwarder::FindDocPos(const TTmDocPosSpec &,TTmPosInfo2 &,TTmLineInfo &)const
MTmTextLayoutForwarder::FindXyPos(const TPoint &,TTmPosInfo &,TTmLineInfo &)const
MTmTextLayoutForwarder::FindXyPos(const TPoint &,TTmPosInfo2 &,TTmLineInfo &)const
MTmTextLayoutForwarder::FindXyPosWithDisambiguation(const TPoint &,TTmPosInfo2 &,TTmPosInfo2 &,TTmLineInfo &)const
MTmTextLayoutForwarder::GetCursor(const TTmDocPos &,TTmCursorPlacement,TTmLineInfo &,TPoint &,TInt &,TInt &,TInt &)const
MTmTextLayoutForwarder::GetCursor(const TTmDocPosSpec &,TTmCursorPlacement,TTmLineInfo &,TPoint &,TInt &,TInt &,TInt &)const
MTmTextLayoutForwarder::GetDisplayedText(TInt,TDes &,TInt &)const
MTmTextLayoutForwarder::GetMinimumLayoutSizeL(TInt,TBool,TSize &)const
MTmTextLayoutForwarder::GetMinimumLayoutSizeL(TInt,TSize &)const
MTmTextLayoutForwarder::GetNextPosLeftWithDisambiguation(const TTmDocPosSpec &,TTmPosInfo2 &,TTmPosInfo2 &)const
MTmTextLayoutForwarder::GetNextPosRightWithDisambiguation(const TTmDocPosSpec &,TTmPosInfo2 &,TTmPosInfo2 &)const
MTmTextLayoutForwarder::GetNextVisualCursorPos(const TTmDocPos &,TTmPosInfo &,TBool)const
MTmTextLayoutForwarder::GetNextVisualCursorPos(const TTmDocPosSpec &,TTmPosInfo2 &,TBool)const
MTmTextLayoutForwarder::HorizontalExtremes(TInt &,TInt &,TInt,TInt)const
MTmTextLayoutForwarder::InvertLayout(CGraphicsContext &,const TPoint &,TInt,TInt)
MTmTextLayoutForwarder::LayoutHeight()const
MTmTextLayoutForwarder::LayoutWidth()const
MTmTextLayoutForwarder::LineNumberToLine(TInt,TTmLineInfo &)const
MTmTextLayoutForwarder::Lines()const
MTmTextLayoutForwarder::ParNumberToLine(TInt,TInt,TTmLineInfo &)const
MTmTextLayoutForwarder::Paragraphs()const
MTmTextLayoutForwarder::StartChar()const
MTmTextLayoutForwarder::WidthOfWidestLine(TInt,TInt)const
MTmTextLayoutForwarder::YPosToLine(TInt,TTmLineInfo &)const
Private Attributes
const CTextLayout &iLayout

Constructor & Destructor Documentation

TTagmaForwarder(const CTextLayout &)

TTagmaForwarder(const CTextLayout &aLayout)[inline]

Parameters

const CTextLayout & aLayout

Member Functions Documentation

GetOrigin(TPoint &)

voidGetOrigin(TPoint &aPoint)const [private, inline, virtual]

The origin is subtracted from coordinates passed in and added to those passed out.

Parameters

TPoint & aPoint

TextLayout()

const CTmTextLayout &TextLayout()const [private, inline, virtual]

Returns a reference to the CTmTextLayoutObject this MTmTextLayoutForwarder forwards inquiries to.

Member Data Documentation

const CTextLayout & iLayout

const CTextLayout &iLayout[private]