textinput/peninputsplititut/inc/peninputsplititutdatamgr.h
branchRCL_3
changeset 21 ecbabf52600f
equal deleted inserted replaced
20:ebd48d2de13c 21:ecbabf52600f
       
     1 /*
       
     2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  split itut data manager
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_SPLITITUTDATAMGR_H
       
    20 #define C_SPLITITUTDATAMGR_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <PtiDefs.h>
       
    24 #include <AknLayout2Def.h>
       
    25 
       
    26 #include "peninputsplititutpropertysubscriber.h"
       
    27 #include "peninputsplititutdata.h"
       
    28 
       
    29 class CPtiEngine;
       
    30 class CFont;
       
    31 class MSplitItutLayoutContext;
       
    32 class CSplitItutWindowManager;
       
    33 
       
    34 extern const TInt KInvalidResId;
       
    35 extern const TInt KMaxPredictCandCnt;
       
    36 extern const TInt KInvalidImMode;
       
    37 const TInt KMaxFileLength = 80;
       
    38 
       
    39 /**
       
    40 * Class  CSplitItutDataMgr
       
    41 *  
       
    42 * Wrapper of L&F data.
       
    43 *
       
    44 * @lib peninputsplititut.lib
       
    45 * @since S60 v5.0
       
    46 */
       
    47 
       
    48 class CSplitItutDataMgr : public CBase
       
    49     {  
       
    50 public:
       
    51     /**
       
    52      * Symbian constructor.
       
    53      *
       
    54      * @since S60 v5.0
       
    55      * @return Pointer to created object.
       
    56      */ 
       
    57     static CSplitItutDataMgr* NewL( MSplitItutLayoutContext* aLayoutContext, 
       
    58                                     CPtiEngine* aPtiEngine );
       
    59 
       
    60     /**
       
    61      * standard c++ destructor.
       
    62      *
       
    63      * @since S60 v5.0
       
    64      * @return None
       
    65      */ 
       
    66     ~CSplitItutDataMgr();
       
    67 
       
    68     /**
       
    69      * Add subscriber
       
    70      *
       
    71      * @since S60 v5.0
       
    72      * @param aSubscriber sub scriber
       
    73      * @return None
       
    74      */
       
    75     void AddSubscriber(MItutPropertySubscriber* aSubscriber);
       
    76 
       
    77     /**
       
    78      * read laf data.
       
    79      *
       
    80      * @since S60 v5.0
       
    81      * @return None
       
    82      */
       
    83     void ReadLafInfo();
       
    84 
       
    85     /**
       
    86      * Set input language
       
    87      *
       
    88      * @since S60 v5.0
       
    89      * @param aLanguage input language
       
    90      * @return None
       
    91      */
       
    92     void SetLanguageL(TInt aLanguage);
       
    93 
       
    94     /**
       
    95      * read laf data.
       
    96      *
       
    97      * @since S60 v5.0
       
    98      * @param aMode input mode  
       
    99      * @return None
       
   100      */
       
   101     void SetInputModeL(TInt aMode);
       
   102 
       
   103     /**
       
   104      * Set input case
       
   105      *
       
   106      * @since S60 v5.0
       
   107      * @param aCase input case  
       
   108      * @return None
       
   109      */
       
   110     void SetCase(TInt aCase);
       
   111 
       
   112     /**
       
   113      * Request data
       
   114      *
       
   115      * @since S60 v5.0
       
   116      * @param aDataType data type 
       
   117      * @return date
       
   118      */
       
   119     TAny* RequestData(TInt aDataType);
       
   120 
       
   121     /**
       
   122      * Get ptiengine pointer
       
   123      *
       
   124      * @since S60 v5.0
       
   125      * @return ptiengine
       
   126      */
       
   127     inline CPtiEngine* PtiEngine();
       
   128 
       
   129     /**
       
   130      * Notify change control layout
       
   131      *
       
   132      * @since S60 v5.0
       
   133      * @param aPropertyName property name
       
   134      * @param aCtrlResId control id  
       
   135      * @return None
       
   136      */
       
   137     void NotifyChangeControlLayout(MItutPropertySubscriber::TItutProperty aPropertyName, 
       
   138                                    TInt aCtrlResId);
       
   139 
       
   140     /**
       
   141      * Get input language
       
   142      *
       
   143      * @since S60 v5.0
       
   144      * @return language id
       
   145      */
       
   146     inline TInt InputLanguage();
       
   147     
       
   148     /**
       
   149      * Is valid language
       
   150      *
       
   151      * @since S60 v5.0
       
   152      * @param aLanguage language id    
       
   153      * @return TBool
       
   154      */
       
   155 	inline TBool IsValidLanguage(TInt aLanguage);
       
   156 	
       
   157     /**
       
   158      * Get input mode
       
   159      *
       
   160      * @since S60 v5.0
       
   161      * @return input mode
       
   162      */
       
   163     inline TInt InputMode();
       
   164     
       
   165     /**
       
   166      * Get text case
       
   167      *
       
   168      * @since S60 v5.0
       
   169      * @return text case
       
   170      */
       
   171     inline TInt TextCase();
       
   172 
       
   173     /**
       
   174      * Is exist plus char
       
   175      *
       
   176      * @since S60 v5.0
       
   177      * @return TBool
       
   178      */
       
   179     TBool IsExistPlusChar();
       
   180     
       
   181     /**
       
   182      * Set latin only flag
       
   183      *
       
   184      * @since S60 v5.0
       
   185      * @param aLatinOnly latin only flag
       
   186      * @return TBool
       
   187      */
       
   188     inline void SetLatinOnly( TBool aLatinOnly );
       
   189 
       
   190     /**
       
   191      * Is in Spell mode
       
   192      *
       
   193      * @since S60 v5.0
       
   194      * @return TBool
       
   195      */    
       
   196     inline TBool IsSpellMode();
       
   197     
       
   198     /**
       
   199      * Set Spell mode flag
       
   200      *
       
   201      * @since S60 v5.0
       
   202      * @param aSpellMode Spell mode flag
       
   203      * @return void
       
   204      */
       
   205     inline void SetSpellMode(TBool aSpellMode);
       
   206     
       
   207     /**
       
   208      * Set Indicator Data
       
   209      *
       
   210      * @since S60 v5.0
       
   211      * @param aIndicatorData Indicator Data
       
   212      * @return void
       
   213      */
       
   214     inline void SetIndicatorData(TFepIndicatorInfo &aIndicatorData);
       
   215     
       
   216     /**
       
   217      * Get Indicator Data
       
   218      *
       
   219      * @since S60 v5.0
       
   220      * @return TFepIndicatorInfo
       
   221      */
       
   222     inline TFepIndicatorInfo IndicatorData();
       
   223     
       
   224     /**
       
   225      * Set update flag
       
   226      *
       
   227      * @since S60 v5.0
       
   228      * @param aNeedUpdate need update flag
       
   229      * @return None
       
   230      */
       
   231 	void SetUpdate(TBool aNeedUpdate);
       
   232 
       
   233     /**
       
   234      * get update flag
       
   235      *
       
   236      * @since S60 v5.0
       
   237      * @return update flag
       
   238      */
       
   239 	TBool IsUpdate() const;
       
   240 
       
   241 //    TInt GetNextPageCandidateL(RPointerArray<HBufC>& aList);
       
   242 
       
   243 //    TBool NextPageCandidateExist();
       
   244 
       
   245 //    void ClearChnCandidates(TInt aCmd);
       
   246 
       
   247     /**
       
   248      * get keypad resource id
       
   249      *
       
   250      * @since S60 v5.0
       
   251      * @return keypad resource id
       
   252      */
       
   253     TInt KeypadResourceId();
       
   254     
       
   255     /**
       
   256      * Is chinese
       
   257      *
       
   258      * @since S60 v5.0
       
   259      * @return TBool
       
   260      */
       
   261     TBool IsChinese();
       
   262     
       
   263     /**
       
   264      * Is Hindi
       
   265      *
       
   266      * @since S60 v5.0
       
   267      * @return TBool
       
   268      */
       
   269     TBool IsHindi();
       
   270     
       
   271     /**
       
   272      * Is Thai
       
   273      *
       
   274      * @since S60 v5.0
       
   275      * @return TBool
       
   276      */
       
   277     TBool IsThai();
       
   278 
       
   279     /**
       
   280      * Is right to left language
       
   281      *
       
   282      * @since S60 v5.0
       
   283      * @return TBool
       
   284      */
       
   285     TBool IsRtoLLanguage();
       
   286     
       
   287     /**
       
   288      * Is right to left language
       
   289      *
       
   290      * @since S60 v5.0
       
   291      * @param aLanguage language id
       
   292      * @return TBool
       
   293      */
       
   294     TBool IsRtoLLanguage( TInt aLanguage );
       
   295     
       
   296     /**
       
   297      * Is language direction switch
       
   298      *
       
   299      * @since S60 v5.0
       
   300      * @return TBool
       
   301      */
       
   302     TBool IsLangDirectionSwitch() const;
       
   303     
       
   304     /**
       
   305      * set language direction switch
       
   306      *
       
   307      * @since S60 v5.0
       
   308      * @param aIsChange change flag
       
   309      * @return None
       
   310      */
       
   311     inline void SetLangDirectionSwitch( TBool aIsChange );
       
   312     
       
   313     /**
       
   314      * set numeric keymap
       
   315      *
       
   316      * @since S60 v5.0
       
   317      * @param aKeymap
       
   318      * @return None
       
   319      */
       
   320     void SetNumericKeymap( const TInt aKeymap );
       
   321     
       
   322     /**
       
   323      * set numeric keymap data
       
   324      *
       
   325      * @since S60 v5.0
       
   326      * @param aKeymapData
       
   327      * @return None
       
   328      */
       
   329     void SetNumericKeymapData( TInt* aKeymapData );
       
   330     
       
   331     /**
       
   332      * is char flag changed
       
   333      *
       
   334      * @since S60 v5.0
       
   335      * @return TBool
       
   336      */
       
   337     inline TBool IsCharFlagChanged();
       
   338     
       
   339     /**
       
   340      * set numeric only
       
   341      *
       
   342      * @since S60 v5.0
       
   343      * @param aIsNumberOnly
       
   344      * @return None
       
   345      */
       
   346     inline void SetNumericOnly( TBool aIsNumberOnly );
       
   347     
       
   348     /**
       
   349      * get numeric only flag
       
   350      *
       
   351      * @since S60 v5.0
       
   352      * @return TBool
       
   353      */
       
   354     inline TBool IsNumericOnly() const;
       
   355 	
       
   356 	TRect iShiftIconRect;
       
   357 	TRect iStarIconRect;
       
   358 	
       
   359 private:
       
   360     /**
       
   361      * C++ constructor
       
   362      *
       
   363      * @since S60 v5.0
       
   364      * @return None
       
   365      */
       
   366     CSplitItutDataMgr(MSplitItutLayoutContext* aLayoutContext, CPtiEngine* aPtiEngine );
       
   367 
       
   368     /**
       
   369      * Symbian second-phase constructor
       
   370      *
       
   371      * @since S60 v5.0
       
   372      * @return None
       
   373      */
       
   374     void ConstructL();
       
   375 
       
   376     /**
       
   377      * Notify subscriber
       
   378      * 
       
   379      * @since S60 v5.0
       
   380      * @param aPropertyName
       
   381      * @param aValue
       
   382      * @return None
       
   383      */
       
   384     void NotifySubscriber( MItutPropertySubscriber::TItutProperty aPropertyName, 
       
   385                            const TDesC& aValue);
       
   386 
       
   387     /**
       
   388      * Get config resource file name
       
   389      * 
       
   390      * @since S60 v5.0
       
   391      * @param aLang Language id
       
   392      * @return None
       
   393      */
       
   394     TInt GetConfigResFileName(TInt aLang);
       
   395     
       
   396     /**
       
   397      * Find language in an array
       
   398      * 
       
   399      * @since S60 v5.0
       
   400      * @param aArray
       
   401      * @param aEndIdx
       
   402      * @param aLang
       
   403      * @return index in the array
       
   404      */
       
   405     TInt FindLang(const TInt* aArray, TInt aEndIdx, TInt aLang);
       
   406     
       
   407     /**
       
   408      * get resource file string
       
   409      * 
       
   410      * @since S60 v5.0
       
   411      * @param aIndex
       
   412      * @return resource file
       
   413      */
       
   414     static const TDesC& ResFileExtByScriptIdx(const TScriptExtIndex aIndex);
       
   415    
       
   416     /**
       
   417      * Get chinese keypad resource id
       
   418      * 
       
   419      * @since S60 v5.0
       
   420      * @return resource id
       
   421      */
       
   422     TInt ChineseKeypadResourceId();
       
   423     
       
   424     /**
       
   425      * Get chinese keypad resource id
       
   426      * 
       
   427      * @since S60 v5.0
       
   428      * @return resource id
       
   429      */
       
   430     TInt HindiKeypadResourceId();
       
   431 public: 
       
   432     TInt iIcfTextLeftMargin;
       
   433 	TInt iIcfTextRightMargin;
       
   434 	TInt iIcfTextTopMargin;
       
   435 	TInt iIcfTextBottomMargin;
       
   436 	TInt iIcfTextLineSpaceMargin;
       
   437 	TInt iIcfTextHeight;
       
   438     
       
   439 private: // data member
       
   440     RPointerArray<MItutPropertySubscriber> iSubscriberList;
       
   441     CPtiEngine* iPtiEngine;
       
   442     TInt iLanguage;
       
   443     TInt iInputMode;
       
   444     TInt iCase;
       
   445 
       
   446     TSize iScreenSize;
       
   447 
       
   448     // offset of layout, compare to screen
       
   449     TPoint iLayoutOffset;
       
   450     TRect iLayoutRect;
       
   451     TRect iLayoutRectSpell;
       
   452     TRect iBackgroundRect;
       
   453 
       
   454     TRect iBackspaceRect;
       
   455     TRect iBackspaceInnerRect;
       
   456     TRect iBackspaceCnRect;
       
   457     TRect iBackspaceInnerCnRect;
       
   458     TRect iArrowLeftRect;
       
   459     TRect iArrowLeftInnerRect;
       
   460     TRect iArrowLeftCnRect;
       
   461     TRect iArrowLeftInnerCnRect;
       
   462     TRect iArrowRightRect;
       
   463     TRect iArrowRightInnerRect;
       
   464     TRect iArrowRightCnRect;
       
   465     TRect iArrowRightInnerCnRect;
       
   466     TRect iArrowUpRect;
       
   467     TRect iArrowDownRect;  
       
   468     TRect iArrowUpInnerRect;
       
   469     TRect iArrowDownInnerRect;
       
   470 
       
   471     TRect iKeypadRect;  
       
   472     TRect iKeypadRectCn;
       
   473     TRect iKeypadRectQuery;
       
   474     RArray<TRect> iKeypadCellRects;
       
   475 //    RArray<TRect> iKeypadCellRectsCn;
       
   476 	
       
   477     // properties of candidate list
       
   478     /*
       
   479     TInt iCandsUnitWidth;
       
   480     TInt iCandsUnitHeight;
       
   481     TInt iCandsHorizontalMargin;
       
   482     TInt iCandsVerticalMargin;
       
   483     TInt iCandsNaviWidth;
       
   484     TInt iCandsSpinBtnHeight;    
       
   485     TPoint iCandsSpellLTPos;
       
   486     TPoint iCandsLTPos;
       
   487     TPoint iCandsPuncLTPos;
       
   488     CFont* iCandsFont;
       
   489     TInt iCandsTextMargin;
       
   490     TRgb iCandsTextColor;    
       
   491     */
       
   492 
       
   493     TAknTextLineLayout iVkBigNumTextForPrtWest;
       
   494     TAknTextLineLayout iVkAlphaText1;
       
   495     TAknTextLineLayout iVkAlphaText2;
       
   496     TAknTextLineLayout iVkAlphaText3;
       
   497     TAknTextLineLayout iVkNumText;
       
   498     TAknTextLineLayout iVkTextPlusForNumbericOnly;
       
   499 
       
   500     // resource id for generic itut resource file
       
   501     TInt iCommonResId;
       
   502     TInt iConfigResId;
       
   503 
       
   504     TInt iAvkonResId;
       
   505     
       
   506     // not own
       
   507     MSplitItutLayoutContext* iLayoutContext;
       
   508 
       
   509     // chinese related candidates
       
   510 //    RPointerArray<HBufC> iCandidates;
       
   511 //    RPointerArray<HBufC> iPuncCandidates;
       
   512 
       
   513     TRect iOptionsRect;
       
   514     TRect iCloseRect;
       
   515     TRect iCloseInnerRect;
       
   516     TRect iOptionInnerRect;
       
   517     TRect iOptionsRectCn;
       
   518     TRect iCloseRectCn;    
       
   519     TRect iCloseInnerRectCn;
       
   520     TRect iOptionInnerRectCn;
       
   521     
       
   522     // preview bubble
       
   523     TRect iPreviewWndRect;
       
   524     TRect iPreviewWndInnerRect;
       
   525     CFont* iBubbleFont;
       
   526 	TAknTextLineLayout iPreviewWndText;
       
   527 
       
   528     TBuf<KMaxFileLength> iResourceFilename;
       
   529     TBool iLangCaseSensitive;
       
   530     TInt iCurrentScriptIdx;
       
   531 
       
   532     TAknTextLineLayout iBtnTextFormat;
       
   533     TAknTextLineLayout iBtnTextFormat1; 
       
   534     
       
   535 
       
   536     TBool iNeedUpdate;
       
   537     TBool iLatinOnly;
       
   538 	
       
   539 	TBool iIsLangDirectionSwitch;    
       
   540 	
       
   541 	TInt iNumericKeymap;
       
   542 	HBufC* iNumericKeymapData;
       
   543 	TBool iExistPlusChar;
       
   544 	TBool iPlusCharFlagChanged;
       
   545 	TBool iNumberOnly;
       
   546 	// For spell mode
       
   547 	TBool iSpellMode;
       
   548 	TRect iSpellICFRect;
       
   549 	TRect iSpellEditIndicator;
       
   550 	TRect iOkRect;
       
   551 	TRect iCancelRect;
       
   552 	CFont* iIcfFont;
       
   553 	TInt iIcfTextAlignment;
       
   554 	
       
   555 	// Spell Back space rect
       
   556 	TRect iSpellBackSpcace;
       
   557 	TRect iSpellBackSpcaceInner;
       
   558 	
       
   559 	// Left&Right arrow
       
   560 	TRect iSpellArrowLeftRect;
       
   561 	TRect iSpellArrowLeftRectInner;
       
   562 	TRect iSpellArrowRightRect;
       
   563 	TRect iSpellArrowRightRectInner;
       
   564 	
       
   565     //TRect iIndiPaneRectWithTextForPrtWest;
       
   566     TRect iIndiPaneRectWithoutTextForPrtWest;
       
   567     //TRect iIndiIconRectWithTextForPrtWest;
       
   568     TRect iIndiIconRectWithoutTextForPrtWest;
       
   569     TAknTextLineLayout iIndiTextForPrtWest;
       
   570 
       
   571 	TAknTextLineLayout iSpellBtnTextFormat;
       
   572 	TFepIndicatorInfo iIndicatorData;
       
   573     };
       
   574 
       
   575 // ---------------------------------------------------------------------------
       
   576 // CSplitItutDataMgr::PtiEngine
       
   577 // ---------------------------------------------------------------------------
       
   578 //
       
   579 inline CPtiEngine* CSplitItutDataMgr::PtiEngine()
       
   580     {
       
   581     return iPtiEngine;
       
   582     }
       
   583 
       
   584 // ---------------------------------------------------------------------------
       
   585 // CSplitItutDataMgr::InputMode
       
   586 // ---------------------------------------------------------------------------
       
   587 //
       
   588 inline TInt CSplitItutDataMgr::InputMode()
       
   589     {
       
   590     return iInputMode;
       
   591     }
       
   592     
       
   593 // ---------------------------------------------------------------------------
       
   594 // CSplitItutDataMgr::InputLanguage
       
   595 // ---------------------------------------------------------------------------
       
   596 //
       
   597 inline TInt CSplitItutDataMgr::InputLanguage()
       
   598     {
       
   599     return iLanguage;
       
   600     }
       
   601 
       
   602 // ---------------------------------------------------------------------------
       
   603 // CSplitItutDataMgr::TextCase
       
   604 // ---------------------------------------------------------------------------
       
   605 //
       
   606 inline TInt CSplitItutDataMgr::TextCase()
       
   607     {
       
   608     return iCase;
       
   609     }
       
   610     
       
   611 // ---------------------------------------------------------------------------
       
   612 // CSplitItutDataMgr::SetLatinOnly
       
   613 // ---------------------------------------------------------------------------
       
   614 //
       
   615 inline void CSplitItutDataMgr::SetLatinOnly( TBool aLatinOnly )
       
   616     {
       
   617     iLatinOnly = aLatinOnly;
       
   618     } 
       
   619 
       
   620 // ---------------------------------------------------------------------------
       
   621 // CSplitItutDataMgr::IsSpellMode
       
   622 // ---------------------------------------------------------------------------
       
   623 //
       
   624 inline TBool CSplitItutDataMgr::IsSpellMode()
       
   625     {
       
   626     return iSpellMode;
       
   627     }
       
   628 
       
   629 // ---------------------------------------------------------------------------
       
   630 // CSplitItutDataMgr::SetSpellMode
       
   631 // ---------------------------------------------------------------------------
       
   632 //
       
   633 inline void CSplitItutDataMgr::SetSpellMode(TBool aSpellMode)
       
   634     {
       
   635     iSpellMode = aSpellMode;
       
   636     }
       
   637  
       
   638 // ---------------------------------------------------------------------------
       
   639 // CSplitItutDataMgr::SetIndicatorData
       
   640 // ---------------------------------------------------------------------------
       
   641 //
       
   642 inline void CSplitItutDataMgr::SetIndicatorData(TFepIndicatorInfo &aIndicatorData)
       
   643     {
       
   644     iIndicatorData.iIndicatorImgID = aIndicatorData.iIndicatorImgID;
       
   645     iIndicatorData.iIndicatorMaskID = aIndicatorData.iIndicatorMaskID;
       
   646     iIndicatorData.iIndicatorTextImgID = aIndicatorData.iIndicatorTextImgID;
       
   647     iIndicatorData.iIndicatorTextMaskID = aIndicatorData.iIndicatorTextMaskID;
       
   648     }
       
   649  
       
   650 // ---------------------------------------------------------------------------
       
   651 // CSplitItutDataMgr::IndicatorData
       
   652 // ---------------------------------------------------------------------------
       
   653 //
       
   654 inline TFepIndicatorInfo CSplitItutDataMgr::IndicatorData()
       
   655     {
       
   656     return iIndicatorData;
       
   657     } 
       
   658 
       
   659 
       
   660 // ---------------------------------------------------------------------------
       
   661 // CSplitItutDataMgr::IsValidLanguage
       
   662 // ---------------------------------------------------------------------------
       
   663 //
       
   664 inline TBool CSplitItutDataMgr::IsValidLanguage(TInt aLanguage)
       
   665 	{
       
   666 	return (aLanguage != ELangTest && aLanguage != ELangNone);	
       
   667 	}
       
   668 	
       
   669 // ---------------------------------------------------------------------------
       
   670 // CSplitItutDataMgr::SetLangDirectionSwitch
       
   671 // ---------------------------------------------------------------------------
       
   672 //
       
   673 inline void CSplitItutDataMgr::SetLangDirectionSwitch( TBool aIsChange )
       
   674 	{
       
   675 	iIsLangDirectionSwitch = aIsChange;
       
   676 	}
       
   677 
       
   678 // ---------------------------------------------------------------------------
       
   679 // CSplitItutDataMgr::IsCharFlagChanged
       
   680 // ---------------------------------------------------------------------------
       
   681 //
       
   682 inline TBool CSplitItutDataMgr::IsCharFlagChanged()
       
   683     {
       
   684     if( iExistPlusChar != IsExistPlusChar() )
       
   685     	{
       
   686     	iExistPlusChar = IsExistPlusChar();
       
   687         iPlusCharFlagChanged = ETrue;
       
   688     	}
       
   689     else
       
   690     	{
       
   691         iPlusCharFlagChanged = EFalse;
       
   692     	}
       
   693     return iPlusCharFlagChanged;
       
   694     }
       
   695 
       
   696 // ---------------------------------------------------------------------------
       
   697 // CSplitItutDataMgr::SetNumericOnly
       
   698 // ---------------------------------------------------------------------------
       
   699 //
       
   700 inline void CSplitItutDataMgr::SetNumericOnly( TBool aIsNumberOnly )
       
   701 	{
       
   702 	iNumberOnly = aIsNumberOnly;
       
   703 	}
       
   704 
       
   705 // ---------------------------------------------------------------------------
       
   706 // CSplitItutDataMgr::IsNumericOnly
       
   707 // ---------------------------------------------------------------------------
       
   708 //
       
   709 inline TBool CSplitItutDataMgr::IsNumericOnly() const
       
   710 	{
       
   711 	return iNumberOnly;
       
   712 	}
       
   713 
       
   714 #endif // C_SPLITITUTDATAMGR_H