diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/richtexteditorrte_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/richtexteditorrte_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,84 @@ + + + + +TB9.2 Example Applications: examples/ForumNokia/ThreadExample/inc/richtexteditorrte.h Source File + + + + + +

examples/ForumNokia/ThreadExample/inc/richtexteditorrte.h

00001 /*
+00002 * ============================================================================
+00003 *  Name     : CRichTextEditorRTE from CRichTextEditorRTE.h
+00004 *  Part of  : Thread
+00005 *  Created  : 04.02.2005 by Forum Nokia
+00006 *  Description:
+00007 *      RichtTextEditor that prints text on the screen and handles scrolling.
+00008 *  Version  : 1.0
+00009 *  Copyright: Nokia Corporation
+00010 * ============================================================================
+00011 */
+00012 
+00013 #ifndef CRICHTEXTEDITOR_H
+00014 #define CRICHTEXTEDITOR_H
+00015 
+00016 // INCLUDES
+00017 #include <eikrted.h> // CCEikRichTextEditor
+00018 #include <txtfrmat.h> // TCharFormatMask
+00019 #include <gdi.h>
+00020 
+00021 // CLASS DECLARATION
+00022 
+00026 class CRichTextEditorRTE : public CEikRichTextEditor
+00027         {
+00028 public: 
+00029 
+00036         static CRichTextEditorRTE* NewL(const CCoeControl& aView);
+00037 
+00042         static CRichTextEditorRTE* NewLC(const CCoeControl& aView);
+00043 
+00044 
+00045 public: // from CoeControl
+00046 
+00047         TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
+00048 
+00049 public: // members
+00050 
+00051 /* 
+00052 * AddCarriageReturnL ()
+00053 *   
+00054 * discussion Add one carriage return
+00055 *
+00056 */
+00057         void AddCarriageReturnL ();
+00058 
+00059 /* 
+00060 * AddTextL (const TDesC& aText)
+00061 *   
+00062 * discussion Print text on the screen.
+00063 * param aText text to be displayed
+00064 *
+00065 */
+00066         void AddTextL (const TDesC& aText);
+00067 
+00068 private: // Basic two-phase EPOC constructors
+00069 
+00070         void ConstructL(const CCoeControl& aView);
+00071 
+00078         CRichTextEditorRTE();
+00079 
+00080 private: //data
+00081 
+00082         // formatting options for the RichText that will be displayed
+00083         TCharFormatMask iCharacterFormatMask;  
+00084         TCharFormat iCharacterFormat; 
+00085         };
+00086 
+00087 #endif  // #ifndef CRICHTEXTEDITOR_H
+
+
Generated by  + +doxygen 1.6.2
+ +