Link against: avkon.lib eikcoctl.lib eikctl.lib form.lib uiklaf.lib 
 None
#include <EIKGTED.H>
      
      Inherits CEikEdwin.
Inherited by CEikRichTextEditor.
This is an edit window which supports globally formatted text. Supports a line cursor and provides functions which make it easy to launch various dialogs, for instance search, replace, set font etc.
Public Types | 
         |
| enum | TFontStyleFlags { EStandard = 0x00, EBold = 0x01, EItalic = 0x02, EUnderline = 0x04 } | 
| Font style.  More... | 
         |
Public Member Functions | 
         |
| IMPORT_C | CEikGlobalTextEditor () | 
| C++ default constructor.   | 
         |
| IMPORT_C | CEikGlobalTextEditor (const TGulBorder &aBorder) | 
| C++ default constructor.   | 
         |
| IMPORT_C | ~CEikGlobalTextEditor () | 
| Destructor.   | 
         |
| IMPORT_C void | ConstructL (const CCoeControl *aParent, TInt aNumberOfLines, TInt aTextLimit, TInt aEdwinFlags, TInt aFontControlFlags, TInt aFontNameFlags) | 
| By Default symbian 2nd phase constructor is private.   | 
         |
| IMPORT_C void | SetButtonGroup (CCoeControl *aButtonGroup) | 
| Not implemented.   | 
         |
| IMPORT_C void | SetLineCursorBitmapL (CFbsBitmap *aBitmap) | 
| Not implemented.   | 
         |
| IMPORT_C TBool | RunFontDialogL (TInt aFontFlags=EGulNoSymbolFonts, CGraphicsDevice *aGraphicsDevice=NULL, TInt aFontControlFlags=EGulFontControlAll) | 
| Runs a dialog enabling a user to set the font.   | 
         |
| IMPORT_C void | RunTabsDialogL (TInt aPageWidth) | 
| Runs a dialog enabling an user to set tab position.   | 
         |
| IMPORT_C void | RunIndentsDialogL (TInt aPageWidth) | 
| Runs indents dialog.   | 
         |
| IMPORT_C void | SetGraphicsDevice (CGraphicsDevice *aGraphicsDevice) | 
| Sets the Graphics device to be used.   | 
         |
| IMPORT_C void | RunFindDialogL () | 
| Runs the find dialog.   | 
         |
| IMPORT_C void | RunFindAgainDialogL () | 
| Runs the find dialog again.   | 
         |
| IMPORT_C void | RunReplaceDialogL () | 
| Runs the replace dialog.   | 
         |
| IMPORT_C void | InitFindL (SEdwinFindModel *&aModel, CDesCArray *&aFindList, CDesCArray *&aReplaceList) | 
| Sets up the find model, the find list and the replace list ready for find or replace operations.   | 
         |
| IMPORT_C TBool | DoFindL () | 
| Searches for text.   | 
         |
| IMPORT_C void | RunParaDialogsL (TInt aCommand) | 
| Runs a dialog enabling a user to set one of text alignment, spacing or borders.   | 
         |
| IMPORT_C TBool | RunPaginateDialogL (CPrintSetup *aPrintSetup, CArrayFix< TInt > *aCharsPerPage) | 
| Runs a dialog enabling a user to do pagination.   | 
         |
| IMPORT_C CGlobalText * | GlobalText () const | 
| Gets the global text that is being edited.   | 
         |
| IMPORT_C void | ApplyParaFormatL (CParaFormat *aParaFormat, TParaFormatMask &aParaMask) | 
| Applies the paragraph formatting and updates the screen layout.   | 
         |
| IMPORT_C void | ApplyCharFormatL (TCharFormat &aCharFormat, TCharFormatMask &aCharMask) | 
| Applies the character formatting and updates the screen layout.   | 
         |
| IMPORT_C void | BoldItalicUnderlineEventL (TInt aFontFlag) | 
| Toggles format in the current selection.   | 
         |
| IMPORT_C void | UpdateButtonGroup () | 
| Update the buttons in the button group so that they reflect the formatting of the global text object.   | 
         |
| IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) | 
From CCoeControl.   | 
         |
| IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) | 
From CCoeControl.   | 
         |
| IMPORT_C void | ActivateL () | 
From CCoeControl.   | 
         |
| IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) | 
From CCoeControl.   | 
         |
| IMPORT_C TInt | LineCursorWidth () const | 
From CEikEdwin.   | 
         |
Protected Member Functions | 
         |
| IMPORT_C void | BaseConstructL () | 
Completes the second-phase construction of a CEikEdwin object.   | 
         |
| IMPORT_C void | WriteInternalStateL (RWriteStream &aWriteStream) const | 
From CCoeControl.   | 
         |
Protected Attributes | 
         |
| CCharFormatLayer * | iCharFormatLayer | 
| Stores the object's global character formatting.   | 
         |
| CParaFormatLayer * | iParaFormatLayer | 
| Stores the object's global paragraph formatting.   | 
         |
               
               
  | 
         
| 
               
               
                Font style.  | 
         
               
               
  | 
         
| 
               
               
                C++ default constructor.  | 
         
               
               
  | 
         
| 
               
               
                C++ default constructor. 
  | 
         
               
               
  | 
         
| 
               
               
                Destructor.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Sets the editor ready for drawing. Reimplemented from CEikEdwin. Reimplemented in CEikRichTextEditor.  | 
         
               
               
  | 
         ||||||||||||
| 
               
               
                Applies the character formatting and updates the screen layout. 
                  The attributes which are set in the mask are read from  
  | 
         
               
               
  | 
         ||||||||||||
| 
               
               
                Applies the paragraph formatting and updates the screen layout. 
                  The attributes which are set in the mask are read from  
  | 
         
               
               
  | 
         
| 
               
               
                
                  Completes the second-phase construction of a  
                  This protected function is called by  Reimplemented from CEikEdwin.  | 
         
               
               
  | 
         
| 
               
               
                Toggles format in the current selection. For a global text editor the format change is applied globally. For a rich text editor where there is no selection the format change is applied to the word at the current cursor position. 
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Completes construction of the global text editor from a resource file. The editor's paragraph and character formatting is set to default values. 
                  See the  
 Reimplemented from CEikEdwin. Reimplemented in CEikRichTextEditor.  | 
         
               
               
  | 
         ||||||||||||||||||||||||||||
| 
               
               
                By Default symbian 2nd phase constructor is private. Completes construction of the global text editor. The editor's paragraph and character formatting is set to default values. 
 Reimplemented in CEikRichTextEditor.  | 
         
               
               
  | 
         
| 
               
               
                Searches for text. 
                  Returns  
                  Used by  
  | 
         
               
               
  | 
         
| 
               
               
                Gets the global text that is being edited. 
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Handles pointer events. 
 Reimplemented from CEikEdwin. Reimplemented in CEikRichTextEditor.  | 
         
               
               
  | 
         ||||||||||||||||
| 
               
               
                Sets up the find model, the find list and the replace list ready for find or replace operations. 
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Gets the width of a line cursor in pixels. 
 Reimplemented from CEikEdwin.  | 
         
               
               
  | 
         ||||||||||||
| 
               
               
                
                  From  Handles key events. 
 
 Reimplemented from CEikEdwin. Reimplemented in CEikRichTextEditor.  | 
         
               
               
  | 
         
| 
               
               
                Runs the find dialog again.  | 
         
               
               
  | 
         
| 
               
               
                Runs the find dialog. Enables an user to specify the text for which to search for.  | 
         
               
               
  | 
         ||||||||||||||||
| 
               
               
                Runs a dialog enabling a user to set the font. Updates the button group to reflect any text formatting applied. 
 
  | 
         
               
               
  | 
         
| 
               
               
                Runs indents dialog. Changes the paragraph format to indent all text. 
  | 
         
               
               
  | 
         ||||||||||||
| 
               
               
                Runs a dialog enabling a user to do pagination. 
 
  | 
         
               
               
  | 
         
| 
               
               
                Runs a dialog enabling a user to set one of text alignment, spacing or borders. Depending on the user's choice another dialog is run enabling them to set their requirements. 
  | 
         
               
               
  | 
         
| 
               
               
                Runs the replace dialog. Enables the user to specify the text to be searched for and the replacement for that text. Can replace single or multiple occurances.  | 
         
               
               
  | 
         
| 
               
               
                Runs a dialog enabling an user to set tab position. 
  | 
         
               
               
  | 
         
| 
               
               
                Not implemented. 
  | 
         
               
               
  | 
         
| 
               
               
                Sets the Graphics device to be used. 
  | 
         
               
               
  | 
         
| 
               
               
                Not implemented. 
  | 
         
               
               
  | 
         
| 
               
               
                Update the buttons in the button group so that they reflect the formatting of the global text object.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Writes the internal state to the specified stream. Does nothing in release mode. 
 Reimplemented from CEikEdwin. Reimplemented in CEikRichTextEditor.  | 
         
               
               
  | 
         
| 
               
               
                Stores the object's global character formatting. Reimplemented from CEikEdwin.  | 
         
               
               
  | 
         
| 
               
               
                Stores the object's global paragraph formatting. Reimplemented from CEikEdwin.  |