456 TRect GetLabelRectL( ); |
471 TRect GetLabelRectL( ); |
457 |
472 |
458 |
473 |
459 void SetLabelContentL( CEikLabel& aLabel ); |
474 void SetLabelContentL( CEikLabel& aLabel ); |
460 |
475 |
461 /** |
|
462 * Reads the shared data value used to initialize automatic highlighting |
|
463 * @return TBool, ETrue if automatic highlighting is to be used |
|
464 */ |
|
465 void ReadAutoHlCenRepValueAndSetNotifyL(); |
|
466 |
|
467 /** |
|
468 * From MCenRepNotifyHandlerCallback |
|
469 * Handles the incoming notifications of key changes |
|
470 * @since Series60 3.0 |
|
471 * @param aId, Key that has changed |
|
472 * @param aNewValue, New value of the key |
|
473 */ |
|
474 void HandleNotifyInt( TUint32 aId, TInt aNewValue ); |
|
475 |
476 |
476 /** |
477 /** |
477 * From MCenRepNotifyHandlerCallback |
478 * From MCenRepNotifyHandlerCallback |
478 * Handles the notifier errors |
479 * Handles the notifier errors |
479 * @since Series60 3.0 |
480 * @since Series60 3.0 |
480 * @param aId, Key that has changed |
481 * @param aId, Key that has changed |
481 * @param aNewValue, New value of the key |
482 * @param aNewValue, New value of the key |
482 */ |
483 */ |
483 void HandleNotifyError( TUint32 aId,TInt aError,CCenRepNotifyHandler* aHandler ); |
484 void HandleNotifyError( TUint32 aId,TInt aError,CCenRepNotifyHandler* aHandler ); |
484 |
485 |
485 /** |
|
486 * Set the state of automatic highlighting |
|
487 * @param aSwitchON, ETrue if automatic highlighting is to used, otherwise EFalse |
|
488 */ |
|
489 void SetAutomaticHighlightL( const TBool aSwitchON ); |
|
490 |
|
491 /** |
|
492 * This method is used when phone number is |
|
493 * found and pressing phone key would make call |
|
494 */ |
|
495 void HandleNumberCallL(); |
|
496 |
486 |
497 /** |
487 /** |
498 * Add calendar info field to the viewer |
488 * Add calendar info field to the viewer |
499 */ |
489 */ |
500 void AddCalendarInfoFieldL(); |
490 void AddCalendarInfoFieldL(); |
597 private: |
587 private: |
598 CRepository* iCenRepSession; // Central Repository session |
588 CRepository* iCenRepSession; // Central Repository session |
599 // Notifier to listen changes of offline state |
589 // Notifier to listen changes of offline state |
600 CCenRepNotifyHandler* iNotifier; |
590 CCenRepNotifyHandler* iNotifier; |
601 TInt iNumOfLinesBeforeLocField; // Number of lines before locaiton field in the rich text editor |
591 TInt iNumOfLinesBeforeLocField; // Number of lines before locaiton field in the rich text editor |
602 TInt iTimeFieldLines; // Number of lines occupied by time field on the viewer |
592 TInt iTimeFieldLines; // Number of lines occupied by time field on the viewer |
603 TBool iAutomaticHlValue; |
|
604 TBool iAutomaticHlInitialized; |
|
605 TBool iEmbeddedFileOpened; |
593 TBool iEmbeddedFileOpened; |
606 CItemFinder* iAutoFinder; // text finder |
|
607 CFindItemMenu* iFindMenu; |
594 CFindItemMenu* iFindMenu; |
608 TCursorSelection iSelectedText; // Cursor selection for the text editor |
595 TCursorSelection iSelectedText; // Cursor selection for the text editor |
609 TBool iLocaleChanged; |
596 TBool iLocaleChanged; |
610 CEikLabel* iLabel; |
597 CEikLabel* iLabel; |
611 CDocumentHandler* iDocHandler; |
598 CDocumentHandler* iDocHandler; |