API published in: S60 1st Ed
Link against: richbio.lib
Required Capabilities
LocalServices Location NetworkControl NetworkServices ReadDeviceData ReadUserData SwEvent UserEnvironment WriteDeviceData
WriteUserData
#include <crichbio.h>
This control owns an editor, which is capable of viewing rich text content. NOTE! This is only intended for use with the Smart Message Viewers.
Public Member Functions |
|
IMPORT_C | CRichBio (TRichBioMode aMode) |
Constructor. |
|
IMPORT_C void | ConstructL (const CCoeControl *aParent) |
Second phase constructor. |
|
~CRichBio () | |
Destructor. |
|
IMPORT_C void | AddItemL (const TDesC &aLabel, const TDesC &aValue) |
Adds a label and value pair. |
|
IMPORT_C TRect | CurrentLineRect () |
This is needed for scrolling with Editor Base. |
|
IMPORT_C CEikRichTextEditor & | Editor () |
For accessing the richtext editor. |
|
IMPORT_C TBool | IsEditorBaseMode () const |
Is the editor base mode on. |
|
IMPORT_C void | Reset () |
Empties the data contents. |
|
IMPORT_C void | SetAndGetSizeL (TSize &aSize) |
Returns the preferred size of the control. |
|
IMPORT_C TInt | VirtualHeight () |
Returns the rich text virtual length. |
|
IMPORT_C TInt | VirtualVisibleTop () |
Returns the current cursor position. |
|
IMPORT_C TBool | IsCursorLocation (TMsgCursorLocation aLocation) const |
Find out if the cursor is at a certain position. |
|
IMPORT_C TInt | ScrollL (TInt aPixelsToScroll, TMsgScrollDirection aDirection) |
Performs the internal scrolling of control if needed. |
|
IMPORT_C void | NotifyViewEvent (TMsgViewEvent aEvent, TInt aParam) |
Prepares control for viewing. |
|
TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
Static Public Member Functions |
|
static IMPORT_C CRichBio * | NewL (const CCoeControl *aParent, TRichBioMode aMode) |
Two-phased constructor. |
|
Friends |
|
class | CEdwinSizeObserver |
Declare inner class friend. |
|
class | T_RichBioTestSuite |
|
Constructor. ConstructL must be called after the container window is get. The type (TRichBioMode) is legacy code and has no effect on the construction or use of the object. Either ERichBioModeEditorBase or ERichBioModeStandard can be used with the same effect
|
|
Destructor. |
|
Adds a label and value pair. The client does not need to check the length of the strings. This function will wrap strings that are too long.
|
|
Second phase constructor. The parent control has to have a container window at this stage.
|
|
This is needed for scrolling with Editor Base.
|
|
For accessing the richtext editor. Must not be called before ConstructL has been called.
|
|
Find out if the cursor is at a certain position.
|
|
Is the editor base mode on.
|
|
Two-phased constructor. Constructs the complete object. The parent control has to have a container window at this stage. The type (TRichBioMode) is legacy code and has no effect on the construction or use of the object. Either ERichBioModeEditorBase or ERichBioModeStandard can be used with the same effect
|
|
Prepares control for viewing.
|
|
|
Empties the data contents. |
|
Performs the internal scrolling of control if needed.
|
|
Returns the preferred size of the control.
|
|
Returns the rich text virtual length.
|
|
Returns the current cursor position. Even in the viewer mode control contains a hidden cursor. This method return its position.
|
|
Declare inner class friend. |
|