186 * @return TBool |
186 * @return TBool |
187 */ |
187 */ |
188 inline void SetLatinOnly( TBool aLatinOnly ); |
188 inline void SetLatinOnly( TBool aLatinOnly ); |
189 |
189 |
190 /** |
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 /** |
191 * Set update flag |
225 * Set update flag |
192 * |
226 * |
193 * @since S60 v5.0 |
227 * @since S60 v5.0 |
194 * @param aNeedUpdate need update flag |
228 * @param aNeedUpdate need update flag |
195 * @return None |
229 * @return None |
391 * |
425 * |
392 * @since S60 v5.0 |
426 * @since S60 v5.0 |
393 * @return resource id |
427 * @return resource id |
394 */ |
428 */ |
395 TInt HindiKeypadResourceId(); |
429 TInt HindiKeypadResourceId(); |
|
430 public: |
|
431 TInt iIcfTextLeftMargin; |
|
432 TInt iIcfTextRightMargin; |
|
433 TInt iIcfTextTopMargin; |
|
434 TInt iIcfTextBottomMargin; |
|
435 TInt iIcfTextLineSpaceMargin; |
|
436 TInt iIcfTextHeight; |
396 |
437 |
397 private: // data member |
438 private: // data member |
398 RPointerArray<MItutPropertySubscriber> iSubscriberList; |
439 RPointerArray<MItutPropertySubscriber> iSubscriberList; |
399 CPtiEngine* iPtiEngine; |
440 CPtiEngine* iPtiEngine; |
400 TInt iLanguage; |
441 TInt iLanguage; |
404 TSize iScreenSize; |
445 TSize iScreenSize; |
405 |
446 |
406 // offset of layout, compare to screen |
447 // offset of layout, compare to screen |
407 TPoint iLayoutOffset; |
448 TPoint iLayoutOffset; |
408 TRect iLayoutRect; |
449 TRect iLayoutRect; |
|
450 TRect iLayoutRectSpell; |
409 TRect iBackgroundRect; |
451 TRect iBackgroundRect; |
410 |
452 |
411 TRect iBackspaceRect; |
453 TRect iBackspaceRect; |
412 TRect iBackspaceInnerRect; |
454 TRect iBackspaceInnerRect; |
413 TRect iBackspaceCnRect; |
455 TRect iBackspaceCnRect; |
496 TInt iNumericKeymap; |
538 TInt iNumericKeymap; |
497 HBufC* iNumericKeymapData; |
539 HBufC* iNumericKeymapData; |
498 TBool iExistPlusChar; |
540 TBool iExistPlusChar; |
499 TBool iPlusCharFlagChanged; |
541 TBool iPlusCharFlagChanged; |
500 TBool iNumberOnly; |
542 TBool iNumberOnly; |
501 |
543 // For spell mode |
|
544 TBool iSpellMode; |
|
545 TRect iSpellICFRect; |
|
546 TRect iSpellEditIndicator; |
|
547 TRect iOkRect; |
|
548 TRect iCancelRect; |
|
549 CFont* iIcfFont; |
|
550 TInt iIcfTextAlignment; |
|
551 |
|
552 // Spell Back space rect |
|
553 TRect iSpellBackSpcace; |
|
554 TRect iSpellBackSpcaceInner; |
|
555 |
|
556 // Left&Right arrow |
|
557 TRect iSpellArrowLeftRect; |
|
558 TRect iSpellArrowLeftRectInner; |
|
559 TRect iSpellArrowRightRect; |
|
560 TRect iSpellArrowRightRectInner; |
|
561 |
|
562 //TRect iIndiPaneRectWithTextForPrtWest; |
|
563 TRect iIndiPaneRectWithoutTextForPrtWest; |
|
564 //TRect iIndiIconRectWithTextForPrtWest; |
|
565 TRect iIndiIconRectWithoutTextForPrtWest; |
|
566 TAknTextLineLayout iIndiTextForPrtWest; |
|
567 |
|
568 TAknTextLineLayout iSpellBtnTextFormat; |
|
569 TFepIndicatorInfo iIndicatorData; |
502 }; |
570 }; |
503 |
571 |
504 // --------------------------------------------------------------------------- |
572 // --------------------------------------------------------------------------- |
505 // CSplitItutDataMgr::PtiEngine |
573 // CSplitItutDataMgr::PtiEngine |
506 // --------------------------------------------------------------------------- |
574 // --------------------------------------------------------------------------- |
543 // |
611 // |
544 inline void CSplitItutDataMgr::SetLatinOnly( TBool aLatinOnly ) |
612 inline void CSplitItutDataMgr::SetLatinOnly( TBool aLatinOnly ) |
545 { |
613 { |
546 iLatinOnly = aLatinOnly; |
614 iLatinOnly = aLatinOnly; |
547 } |
615 } |
|
616 |
|
617 // --------------------------------------------------------------------------- |
|
618 // CSplitItutDataMgr::IsSpellMode |
|
619 // --------------------------------------------------------------------------- |
|
620 // |
|
621 inline TBool CSplitItutDataMgr::IsSpellMode() |
|
622 { |
|
623 return iSpellMode; |
|
624 } |
|
625 |
|
626 // --------------------------------------------------------------------------- |
|
627 // CSplitItutDataMgr::SetSpellMode |
|
628 // --------------------------------------------------------------------------- |
|
629 // |
|
630 inline void CSplitItutDataMgr::SetSpellMode(TBool aSpellMode) |
|
631 { |
|
632 iSpellMode = aSpellMode; |
|
633 } |
|
634 |
|
635 // --------------------------------------------------------------------------- |
|
636 // CSplitItutDataMgr::SetIndicatorData |
|
637 // --------------------------------------------------------------------------- |
|
638 // |
|
639 inline void CSplitItutDataMgr::SetIndicatorData(TFepIndicatorInfo &aIndicatorData) |
|
640 { |
|
641 iIndicatorData.iIndicatorImgID = aIndicatorData.iIndicatorImgID; |
|
642 iIndicatorData.iIndicatorMaskID = aIndicatorData.iIndicatorMaskID; |
|
643 iIndicatorData.iIndicatorTextImgID = aIndicatorData.iIndicatorTextImgID; |
|
644 iIndicatorData.iIndicatorTextMaskID = aIndicatorData.iIndicatorTextMaskID; |
|
645 } |
|
646 |
|
647 // --------------------------------------------------------------------------- |
|
648 // CSplitItutDataMgr::IndicatorData |
|
649 // --------------------------------------------------------------------------- |
|
650 // |
|
651 inline TFepIndicatorInfo CSplitItutDataMgr::IndicatorData() |
|
652 { |
|
653 return iIndicatorData; |
|
654 } |
|
655 |
548 |
656 |
549 // --------------------------------------------------------------------------- |
657 // --------------------------------------------------------------------------- |
550 // CSplitItutDataMgr::IsValidLanguage |
658 // CSplitItutDataMgr::IsValidLanguage |
551 // --------------------------------------------------------------------------- |
659 // --------------------------------------------------------------------------- |
552 // |
660 // |