CTextView::MObserver Class Reference

class CTextView::MObserver

Provides notification to the owner of the text view object of changes to the formatting.

Its OnReformatL() function is called after reformatting but before redisplay, so that edit windows etc. can be resized.

Public Member Functions
void OnReformatL (const CTextView *)

Member Functions Documentation

OnReformatL(const CTextView *)

void OnReformatL ( const CTextView * aTextView ) [pure virtual]

Called after reformatting but before redisplay, so that the height of edit windows, etc., can be adjusted. There is no need to adjust the width of displaying components as formatting is always done to fit the specified width. Implementers are not allowed to call any formatting functions while handling reformatting notifications as it may cause recursive loops leading to unexpected consequences.

Parameters

const CTextView * aTextView A pointer to the current text view object.