Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <FEPBASE.H>
Link against: fepbase.lib

Class MCoeFepLayDocExtension

class MCoeFepLayDocExtension;

Description

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.

Members

Defined in MCoeFepLayDocExtension:


Member functions


GetCurrentMLayDoc()const

virtual MLayDoc* GetCurrentMLayDoc() const=0;

Description

Retrives the current MLayDoc object from the text editor

Return value

MLayDoc *

Pointer to a MLayDoc object.


SetMLayDoc(MLayDoc *)

virtual void SetMLayDoc(MLayDoc *aLayDoc)=0;

Description

Sets a new MLayDoc object into the CTextLayout object

Parameters

MLayDoc *aLayDoc

The new layout document


GetFepEditorState(TInt &,TInt &,TInt &)

virtual void GetFepEditorState(TInt &aPositionInDocument, TInt &aCursorPositionInDocument, TInt &aSelectionLength)=0;

Description

Retrives inline edit positioning information from the editor

Parameters

TInt &aPositionInDocument

TInt &aCursorPositionInDocument

TInt &aSelectionLength


HandleInsertDeleteL(TCursorSelection,TInt)

virtual void HandleInsertDeleteL(TCursorSelection aSelection, TInt aDeletedChars)=0;

Description

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()

private: IMPORT_C virtual void MCoeFepLayDocExtension_Reserved_1();

Description


MCoeFepLayDocExtension_Reserved_2()

private: IMPORT_C virtual void MCoeFepLayDocExtension_Reserved_2();

Description