MCoeFepLayDocExtension Class Reference

class MCoeFepLayDocExtension

MCoeFepLayDocExtension is an interface class which should be derived from by test editors to provide access to the current MLayDoc object, and to set a new MLayDoc object. Used directly from the FEP to decorate the inline edit text, without changing the actual document text.

Member Functions Documentation

GetCurrentMLayDoc()

MLayDoc *GetCurrentMLayDoc()const [pure virtual]

Retrives the current MLayDoc object from the text editor

GetFepEditorState(TInt &, TInt &, TInt &)

voidGetFepEditorState(TInt &aPositionInDocument,
TInt &aCursorPositionInDocument,
TInt &aSelectionLength
)[pure virtual]

Retrives inline edit positioning information from the editor

Parameters

TInt & aPositionInDocument
TInt & aCursorPositionInDocument
TInt & aSelectionLength

HandleInsertDeleteL(TCursorSelection, TInt)

voidHandleInsertDeleteL(TCursorSelectionaSelection,
TIntaDeletedChars
)[pure virtual]

Used to tell the editor when the size of the inline edit has changed, so the text layout can update itself. Should be called before and after the inline edit has been decorated.

Parameters

TCursorSelection aSelection
TInt aDeletedChars

MCoeFepLayDocExtension_Reserved_1()

IMPORT_C voidMCoeFepLayDocExtension_Reserved_1()[private, virtual]

MCoeFepLayDocExtension_Reserved_2()

IMPORT_C voidMCoeFepLayDocExtension_Reserved_2()[private, virtual]

SetMLayDoc(MLayDoc *)

voidSetMLayDoc(MLayDoc *aLayDoc)[pure virtual]

Sets a new MLayDoc object into the CTextLayout object

Parameters

MLayDoc * aLayDocThe new layout document