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.
Public Member Functions | |
---|---|
MLayDoc * | GetCurrentMLayDoc() |
void | GetFepEditorState(TInt &, TInt &, TInt &) |
void | HandleInsertDeleteL(TCursorSelection, TInt) |
void | SetMLayDoc(MLayDoc *) |
Private Member Functions | |
---|---|
IMPORT_C void | MCoeFepLayDocExtension_Reserved_1() |
IMPORT_C void | MCoeFepLayDocExtension_Reserved_2() |
MLayDoc * | GetCurrentMLayDoc | ( | ) | const [pure virtual] |
Retrives the current MLayDoc object from the text editor
Pointer to a MLayDoc object.
void | GetFepEditorState | ( | TInt & | aPositionInDocument, |
TInt & | aCursorPositionInDocument, | |||
TInt & | aSelectionLength | |||
) | [pure virtual] |
Retrives inline edit positioning information from the editor
void | HandleInsertDeleteL | ( | TCursorSelection | aSelection, |
TInt | aDeletedChars | |||
) | [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.
TCursorSelection aSelection | |
TInt aDeletedChars |
IMPORT_C void | MCoeFepLayDocExtension_Reserved_1 | ( | ) | [private, virtual] |
IMPORT_C void | MCoeFepLayDocExtension_Reserved_2 | ( | ) | [private, virtual] |
void | SetMLayDoc | ( | MLayDoc * | aLayDoc | ) | [pure virtual] |
Sets a new MLayDoc object into the CTextLayout object
MLayDoc * aLayDoc | The new layout document |