|         |      1 /* | 
|         |      2 * Copyright (c) 2007 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:  Xhtmldef  declaration | 
|         |     15 * | 
|         |     16 */ | 
|         |     17  | 
|         |     18  | 
|         |     19  | 
|         |     20 #ifndef XHTMLDEF_H | 
|         |     21 #define XHTMLDEF_H | 
|         |     22  | 
|         |     23 #include <e32base.h> | 
|         |     24  | 
|         |     25  | 
|         |     26 //Structure - tags | 
|         |     27 _LIT(KHtmlTag,"html"); | 
|         |     28 _LIT(KTitleTag, "title");  | 
|         |     29  | 
|         |     30 // Physical styles  | 
|         |     31 _LIT(KBrTag,"br"); | 
|         |     32 // Headers | 
|         |     33 _LIT(KH1Tag,"h1"); | 
|         |     34 _LIT(KH2Tag,"h2"); | 
|         |     35 _LIT(KH3Tag,"h3"); | 
|         |     36 _LIT(KH4Tag,"h4"); | 
|         |     37 _LIT(KH5Tag,"h5"); | 
|         |     38 _LIT(KH6Tag,"h6"); | 
|         |     39 // Block  | 
|         |     40 _LIT(KBlockquoteTag, "blockquote"); | 
|         |     41 _LIT(KAddressTag,"address"); | 
|         |     42 _LIT(KDivTag,"div"); | 
|         |     43 _LIT(KPTag,"p"); | 
|         |     44 _LIT(KPreTag,"pre"); | 
|         |     45 // Logical styles | 
|         |     46 _LIT(KStrongTag,"strong"); | 
|         |     47 _LIT(KEmTag,"em"); | 
|         |     48 _LIT(KCiteTag,"cite"); | 
|         |     49 _LIT(KDfnTag,"dfn"); | 
|         |     50 _LIT(KAbbrTag,"abbr"); | 
|         |     51 _LIT(KAcronymTag,"acronym"); | 
|         |     52 _LIT(KQTag,"q"); | 
|         |     53 _LIT(KKbdTag,"kbd"); | 
|         |     54 _LIT(KCodeTag,"code"); | 
|         |     55 _LIT(KSampTag,"samp"); | 
|         |     56 _LIT(KSpanTag,"span"); | 
|         |     57 _LIT(KVarTag,"var"); | 
|         |     58  | 
|         |     59 // Presentation - tags | 
|         |     60 // Physical styles  | 
|         |     61 _LIT(KITag,"i"); | 
|         |     62 _LIT(KBTag,"b"); | 
|         |     63 _LIT(KBigTag,"big");	 | 
|         |     64 _LIT(KHrTag,"hr");		 | 
|         |     65 _LIT(KSmallTag,"small");		 | 
|         |     66  | 
|         |     67 _LIT(KImgTag, "img"); | 
|         |     68  | 
|         |     69 // List - tags | 
|         |     70 _LIT(KDdTag,"dd");			 | 
|         |     71 _LIT(KDlTag,"dl");		 | 
|         |     72 _LIT(KDtTag,"dt");		 | 
|         |     73 _LIT(KUlTag,"ul"); | 
|         |     74 _LIT(KOlTag,"ol"); | 
|         |     75 _LIT(KLiTag,"li"); | 
|         |     76  | 
|         |     77 // Style Attribute - tags | 
|         |     78 // Attributes | 
|         |     79 _LIT(KColorAttr,"color"); | 
|         |     80 _LIT(KCenterAttr,"center"); | 
|         |     81 _LIT(KJustifyAttr,"justify"); | 
|         |     82 _LIT(KTextAlignAttr, "text-align"); | 
|         |     83 _LIT(KStyleAttr,"style");   | 
|         |     84 _LIT(KTextDecorationAttr,"text-decoration");   | 
|         |     85 _LIT(KUnderlineAttr,"underline");   | 
|         |     86 _LIT(KFontTag,"font"); | 
|         |     87  | 
|         |     88  | 
|         |     89 #endif |