class CEikEdwin::CEikEdwinExtension : public CBase |
Private Member Functions | |
---|---|
CEikEdwinExtension() | |
void | ConstructL(CEikEdwin *) |
Public Member Enumerations | |
---|---|
enum | TDrawState { ENotDraw = 0, EDrawn, EDrawing } |
Private Member Enumerations | |
---|---|
enum | TFlagIndices { ESkinBackgroundControlContextHasBeenSetIndex = 0, ESuppressBackgroundDrawing, EKineticScrollingEnabled } |
Public Attributes | |
---|---|
CEdwinAsyncFormat * | iAsyncFormat |
TBool | iCursorWasVisible |
TBool * | iDestroyedPtr |
TBool | iDisableConvertInFormat |
TBool | iDragging |
TInt | iDrawInvoked |
SAknRgb | iEditorBackgroundColor |
CEikEdwin * | iEdwin |
TBool | iEndBorderExceeded |
CAknExtendedInputCapabilities * | iExtendedInputCapabilities |
TBool | iInlineEditing |
CAknEdwinPhysicsHandler * | iPhysicsHandler |
TInt | iPixelsOutOfBorder |
CAknPointerEventSuppressor * | iPtSuppressor |
TInt | iRecordCursor |
TInt | iRecordFormattedHeight |
TBool | iRecordScroll |
TRect | iScrollRect |
TInt | iScrollbarPosition |
TBool | iScrolledByScrollBar |
TInt | iScrolledDelta |
TAknsHighlightStyle | iSkinHighlightStyle |
TInt | iSkinIdForText |
MAknsSkinInstance * | iSkinInstance |
CSmileyManager * | iSmiley |
CSmileyCustomWrap * | iSmileyWrap |
TBool | iStartBorderExceeded |
TInt | iTempAnchorPos |
TInt | iTempCursorPos |
TInt | iTempSelect |
TRect | iTextLinesRect |
TInt | iThumbPos |
TInt | iUpperFullFormattingLength |
TBool | iUseRateScroll |
TCursorSelection | iVisibleRange |
Private Attributes | |
---|---|
TInt | iAlignment |
CRepository * | iCenRep |
CCenRepNotifyHandler * | iCenRepNotifyHandler |
TInt | iClearDirection |
TBitFlags | iFlags |
CAknEdwinFormAccessor * | iFormAccessor |
CFormCursorModifier * | iFormCursorModifier |
CAknEdwinFormExtendedInterfaceProvider * | iFormExtendedInterfaceProvider |
CAknNoMatchesIndicatorInlineTextSource * | iNoMatchesIndicatorFormatter |
CAknInlineTextSource * | iPhoneNumberFormatter |
TCallBack | iPictoCallBack |
TAknEdwinPictographDrawer | iPictographDrawer |
CAknPictographInterface * | iPictographInterface |
CIdle * | iSetScrollBar |
MAknsControlContext * | iSkinBackgroundControlContext |
TAvkonEditorCustomWrap | iTextWrapper |
TInt | ClearDirection | ( | ) | const |
Returns the value of ClearDirection
value of current ClearDirection
void | CreateFormExtendedInterfaceProviderIfNeededL | ( | ) |
Creates the CAknFormExtendedInterfaceProvider object if it does not exist.
void | CreateNoMatchesIndicatorFormatterL | ( | CTextLayout & | aTextLayout | ) |
Create a custom formatter for pure phone number content.
Calls CreateFormExtendedInterfaceProviderIfNeededL to ensure that there is an ExtendedInterfaceProvider object built.
CTextLayout & aTextLayout | Reference to the CTextLayout object used for this editor |
void | CreatePurePhoneNumberFormatterL | ( | CTextLayout & | aTextLayout, |
const CPlainText & | aText | |||
) |
Create a custom formatter for pure phone number content.
Calls CreateFormExtendedInterfaceProviderIfNeededL to ensure that there is an ExtendedInterfaceProvider object built.
CTextLayout & aTextLayout | Reference to the CTextLayout object used for this editor. aText CPlainText object reference for the text used in the editor. |
const CPlainText & aText |
void | CreateRichTextPhoneNumberFormatterL | ( | CTextLayout & | aTextLayout, |
const CRichText & | aText | |||
) |
Create a custom formatter for rich text editor with general content. Phone numbers are recognized using an internal parser and formatted with the number grouping engine
Calls CreateFormExtendedInterfaceProviderIfNeededL to ensure that there is an ExtendedInterfaceProvider object built.
CTextLayout & aTextLayout | Reference to the CTextLayout object used for this editor |
const CRichText & aText |
TInt | CurrentAlignment | ( | ) | const |
Returns the stored alignment value.
Value of the current editor alignment.
IMPORT_C CAknEdwinFormAccessor * | FormAccessor | ( | ) | const |
Gets the form accessor.
The form accessor.
CAknEdwinFormExtendedInterfaceProvider * | FormExtendedInferfaceProvider | ( | ) | const |
Access to Form's extended interface provider.
CAknInlineTextSource * | InlineTextSource | ( | ) | const |
This allows the caller to access the single inline text interface that will be seen by Tagma. All installed inline text source classes are held behind this single interface
pointer to the inline text source object that will be provided to Tagma Null is returned if none is installed.
TBool | IsBackgroundDrawingSuppressed | ( | ) | const |
Tests if the background drawing is suppressed.
CEikEdwinExtension * | NewL | ( | CEikEdwin * | aEdwin | ) | [static] |
Allocates and constructs a CEikEdwinExtension.
A newly constructed edwin extension.
CEikEdwin * aEdwin | Pointer to the CEikEdwin creating the extension. |
CAknPictographInterface * | PictographInterface | ( | ) | const |
Returns pointer to pictograph interface.
Pointer to pictograph interface. The value can be NULL if pictographs are not supported.
void | SetAlignment | ( | TInt | aAlignment | ) |
Stores the alignment value.
TInt aAlignment | Editor alignment to be stored. |
IMPORT_C void | SetFormAccessor | ( | CAknEdwinFormAccessor * | aFormAccessor | ) |
Sets the form accessor.
CAknEdwinFormAccessor * aFormAccessor | The form accessor. |
void | SetPictoCallBack | ( | TCallBack & | aCallBack | ) |
Sets pictograph animation callback.
TCallBack & aCallBack |
IMPORT_C void | SetScrollBarSetter | ( | CIdle * | aScrollBarSetter | ) |
Sets the CIdle object to update scroll bar.
CIdle * aScrollBarSetter |
void | SetSkinBackgroundControlContext | ( | MAknsControlContext * | aBackgroundControlContext | ) |
Store a locally stored (but externally set) Skins background control context.
MAknsControlContext * aBackgroundControlContext | Control context to store. Not owned. Can be NULL. |
void | SetSuppressBackgroundDrawing | ( | TBool | aSuppress | ) |
Used for suppressing all editor's background drawing.
TBool aSuppress |
MAknsControlContext * | SkinBackgroundControlContext | ( | ) | const |
Access to locally stored Skins background control context.
Pointer to locally stored control context
TBool | SkinBackgroundControlContextHasBeenSet | ( | ) | const |
This returns a flag that records whether the background context has ever been set by API.
EFalse iff control context has never been set.
IMPORT_C const TAvkonEditorCustomWrap & | TextWrapper | ( | ) |
Gets the custom wrapper.
The custom wrapper.
ESkinBackgroundControlContextHasBeenSetIndex = 0 | |
ESuppressBackgroundDrawing | |
EKineticScrollingEnabled |
TBool | iCursorWasVisible |
If ETrue, text cursor was visible before drag or flick started. Used to store cursor state so that it is possible to enable cursor again when dragging, flicking or bounce stops.
TBool * | iDestroyedPtr |
iDestroyedPtr is used for the object destruction check. If it has non-null value, the destruction check is turned on, and the value points to a local boolean variable that keeps the destroyed state.
TBool | iEndBorderExceeded |
Content has moved up so that empty space below the editor content is visible.
CAknExtendedInputCapabilities * | iExtendedInputCapabilities |
CAknEdwinFormExtendedInterfaceProvider * | iFormExtendedInterfaceProvider | [private] |
CAknNoMatchesIndicatorInlineTextSource * | iNoMatchesIndicatorFormatter | [private] |
CAknEdwinPhysicsHandler * | iPhysicsHandler |
Physics handler. Used only when physics feature is enabled. Own.
CAknPictographInterface * | iPictographInterface | [private] |
TInt | iPixelsOutOfBorder |
Amount of pixels out of border. In practice width of empty space above or below editor content.
TInt | iScrollbarPosition |
Used with each step of dragging scrollbar to record the thumb position before dragging action
TBool | iScrolledByScrollBar |
If ETrue, ongoing scrolling is caused by moving scrollbar thumb.
MAknsControlContext * | iSkinBackgroundControlContext | [private] |
TBool | iStartBorderExceeded |
Content has moved down so that empty space above the editor content is visible.