Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
GetCurrentMLayDoc(), GetFepEditorState(), HandleInsertDeleteL(), MCoeFepLayDocExtension_Reserved_1(), MCoeFepLayDocExtension_Reserved_2(), SetMLayDoc()


Member functions


GetCurrentMLayDoc()

virtual MLayDoc *GetCurrentMLayDoc() const=0;

Description

Retrives the current MLayDoc object from the text editor

Return value

MLayDoc *

Pointer to a MLayDoc object.


SetMLayDoc()

virtual void SetMLayDoc(MLayDoc *aLayDoc)=0;

Description

Sets a new MLayDoc object into the CTextLayout object

Parameters

MLayDoc *aLayDoc

The new layout document


GetFepEditorState()

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

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: virtual IMPORT_C void MCoeFepLayDocExtension_Reserved_1();

Description


MCoeFepLayDocExtension_Reserved_2()

private: virtual IMPORT_C void MCoeFepLayDocExtension_Reserved_2();

Description