textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutmultilineicf.h
branchRCL_3
changeset 50 5a1685599b76
parent 44 ecbabf52600f
equal deleted inserted replaced
46:bd83ceabce89 50:5a1685599b76
   504 
   504 
   505     void RecalcualteTextPositionL();
   505     void RecalcualteTextPositionL();
   506                            
   506                            
   507     inline TBool TextSelectionOn();
   507     inline TBool TextSelectionOn();
   508 
   508 
   509     void SetInlineStateL(TBool aInline, 
   509     /**
       
   510      * @return ETrue if redraw is required.
       
   511      */
       
   512     TBool SetInlineStateL(TBool aInline, 
   510                          TInt aStartPos = 0, 
   513                          TInt aStartPos = 0, 
   511                          TInt aEndPos = 0, 
   514                          TInt aEndPos = 0, 
   512                          TBool aNoMatchState = EFalse, 
   515                          TBool aNoMatchState = EFalse, 
   513                          const TDesC& aNoMatchText = KNullDesC);
   516                          const TDesC& aNoMatchText = KNullDesC);
   514 
   517 
   515     void SetAutoCompleteStateL(TBool aAutoComplete, 
   518     /**
       
   519      * @return ETrue if redraw is required.
       
   520      */
       
   521     TBool SetAutoCompleteStateL(TBool aAutoComplete, 
   516                                TInt aStartPos = 0, 
   522                                TInt aStartPos = 0, 
   517                                TInt aMidPos = 0,
   523                                TInt aMidPos = 0,
   518                                TInt aEndPos = 0);
   524                                TInt aEndPos = 0);
   519 
   525 
   520     void SetSpecialStateL(TBool aStateOn, 
   526     void SetSpecialStateL(TBool aStateOn, 
   560      */    
   566      */    
   561     TInt FindOverlappedCtrl(CFepUiBaseCtrl* aCtrl);
   567     TInt FindOverlappedCtrl(CFepUiBaseCtrl* aCtrl);
   562     
   568     
   563     TBool IsTextPosValid(TInt aPos);
   569     TBool IsTextPosValid(TInt aPos);
   564     
   570     
   565     void UpdateTextL(const TFepInputContextFieldData& aData);
   571     /**
       
   572      * @return ETrue if text was updated.
       
   573      */
       
   574     TBool UpdateTextL(const TFepInputContextFieldData& aData);
   566     
   575     
   567     static TInt UpdateSecretTextL(TAny* aEditArea);
   576     static TInt UpdateSecretTextL(TAny* aEditArea);
   568     
   577     
   569     void SetSelectionL(TCursorSelection aCurSel);
   578     /**
   570 
   579      * @return ETrue if redraw is required.
   571     void UpdateNoMatchTextL(TInt aPos, const TDesC& aNoMatchText, TBool aNoMatchState);
   580      */
       
   581     TBool SetSelectionL(TCursorSelection aCurSel);
       
   582 
       
   583     /**
       
   584      * @return ETrue if text was modified.
       
   585      */
       
   586     TBool UpdateNoMatchTextL(TInt aPos, const TDesC& aNoMatchText, TBool aNoMatchState);
   572     
   587     
   573     void RemoveOverlappedCtrlIfNeeded();
   588     void RemoveOverlappedCtrlIfNeeded();
   574 
   589 
   575     void DeletePromptTextL();
   590     void DeletePromptTextL();
   576 
   591 
   602     
   617     
   603     TInt TextWidth( const TDesC& aText );
   618     TInt TextWidth( const TDesC& aText );
   604     
   619     
   605     void ResetApplyFont();
   620     void ResetApplyFont();
   606     
   621     
   607     void TryDisplayMaxTextL(TInt aCursorPos);
   622     /**
       
   623      * Scrolls text so that cursor becomes visible.
       
   624      * 
       
   625      * @return ETrue if text was scrolled.
       
   626      */
       
   627     TBool TryDisplayMaxTextL(TInt aCursorPos);
   608     
   628     
   609     TBool MoveCursorL( const TPoint& aPt, TInt& aCursorPos );
   629     TBool MoveCursorL( const TPoint& aPt, TInt& aCursorPos );
   610     
   630     
   611     void ResetViewHeightL();
   631     /**
       
   632      * @return ETrue if redraw is required.
       
   633      */
       
   634     TBool ResetViewHeightL();
   612     
   635     
   613     void SetMfneTextL(const TFepInputContextFieldData& aData);
   636     void SetMfneTextL(const TFepInputContextFieldData& aData);
   614     
   637     
   615     void DrawMfneText();
   638     void DrawMfneText();
   616     
   639     
   622     
   645     
   623     void HideBubbleTemp();
   646     void HideBubbleTemp();
   624     
   647     
   625     TBool HighlightOverlapWithBubble( const TRect& aRect );
   648     TBool HighlightOverlapWithBubble( const TRect& aRect );
   626     
   649     
   627     void AdjustSelectionL( const TCursorSelection& aCurSel );
   650     TBool AdjustSelectionL( const TCursorSelection& aCurSel );
   628     
   651     
   629     void ApplyLineSpaceFormatL( TInt aLineHeight );
   652     void ApplyLineSpaceFormatL( TInt aLineHeight );
   630     void CalcPromptTextRectL();        
   653     void CalcPromptTextRectL();        
   631             
   654             
   632     inline void SetCursorSelVisibility( TBool aCursorSelVisible );
   655     inline void SetCursorSelVisibility( TBool aCursorSelVisible );