meetingrequest/mrgui/mrfieldbuildercommon/inc/cesmrrichtextviewer.h
branchRCL_3
changeset 16 b5fbb9b25d57
parent 12 4ce476e64c59
equal deleted inserted replaced
14:b13141f05c3d 16:b5fbb9b25d57
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 *  Description : CEikRichTextEditor based Rich Text viewer
    14 *  Description : CEikRichTextEditor based Rich Text viewer
    15 *  Version     : %version: e002sa32#19 %
    15 *  Version     : %version: e002sa32#19.1.1 %
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 #ifndef CESMRRICHTEXTVIEWER_H
    19 #ifndef CESMRRICHTEXTVIEWER_H
    20 #define CESMRRICHTEXTVIEWER_H
    20 #define CESMRRICHTEXTVIEWER_H
   215 
   215 
   216     /*
   216     /*
   217      * Applies the layout changes to the rich text component.
   217      * Applies the layout changes to the rich text component.
   218      */
   218      */
   219     IMPORT_C void ApplyLayoutChangesL();
   219     IMPORT_C void ApplyLayoutChangesL();
   220     
   220 
   221     /*
   221     /*
   222      * Set selected link according to the index in the array.
   222      * Set selected link according to the index in the array.
   223      * @param aLinkIndex the index of link need to be selected.
   223      * @param aLinkIndex the index of link need to be selected.
   224      */
   224      */
   225     IMPORT_C void SetFocusLink( TInt aLinkIndex );
   225     IMPORT_C void SetFocusLink( TInt aLinkIndex );
   227     /*
   227     /*
   228      * Get the index of selected link in the array.
   228      * Get the index of selected link in the array.
   229      * @return The index of selected link in the array.
   229      * @return The index of selected link in the array.
   230      */
   230      */
   231     IMPORT_C TInt GetFocusLink( ) const;
   231     IMPORT_C TInt GetFocusLink( ) const;
       
   232 
       
   233     /*
       
   234      * Finds out if given pointer event occured on a link
       
   235      * @param aPointerEvent, the event to which the possible link areas are compared to
       
   236      * @return TBool, ETrue if pointer event occured on a link
       
   237      */
       
   238     IMPORT_C TBool PointerEventOccuresOnALinkL( const TPointerEvent &aPointerEvent );
   232 
   239 
   233 protected: // From MEikCommandObserver
   240 protected: // From MEikCommandObserver
   234 
   241 
   235     /**
   242     /**
   236      * Process commands from contact menu handler.
   243      * Process commands from contact menu handler.