dbertoni 00/11/20 08:17:58
Modified: c/src/XMLSupport FormatterToHTML.cpp
Log:
Added properties for more HTML elements.
Revision Changes Path
1.33 +28 -6 xml-xalan/c/src/XMLSupport/FormatterToHTML.cpp
Index: FormatterToHTML.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XMLSupport/FormatterToHTML.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- FormatterToHTML.cpp 2000/11/03 19:27:49 1.32
+++ FormatterToHTML.cpp 2000/11/20 16:17:55 1.33
@@ -54,11 +54,8 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
-/**
- * $Id: FormatterToHTML.cpp,v 1.32 2000/11/03 19:27:49 auriemma Exp $
- *
- * $State: Exp $
- *
+
+ /**
* @author David N. Bertoni <[email protected]>
*/
@@ -1503,11 +1500,36 @@
ElementFlagsMapType::value_type(
c_wstr(XALAN_STATIC_UCODE_STRING("NOSCRIPT")),
ElemDesc(0|ElemDesc::BLOCK|ElemDesc::BLOCKFORM|ElemDesc::BLOCKFORMFIELDSET)));
-
+
theElementFlags.insert(
ElementFlagsMapType::value_type(
c_wstr(XALAN_STATIC_UCODE_STRING("HTML")),
ElemDesc(0|ElemDesc::BLOCK)));
+
+ theElementFlags.insert(
+ ElementFlagsMapType::value_type(
+ c_wstr(XALAN_STATIC_UCODE_STRING("FONT")),
+ ElemDesc(0 | ElemDesc::FONTSTYLE)));
+
+ theElementFlags.insert(
+ ElementFlagsMapType::value_type(
+ c_wstr(XALAN_STATIC_UCODE_STRING("S")),
+ ElemDesc(0 | ElemDesc::FONTSTYLE)));
+
+ theElementFlags.insert(
+ ElementFlagsMapType::value_type(
+ c_wstr(XALAN_STATIC_UCODE_STRING("STRIKE")),
+ ElemDesc(0 | ElemDesc::FONTSTYLE)));
+
+ theElementFlags.insert(
+ ElementFlagsMapType::value_type(
+ c_wstr(XALAN_STATIC_UCODE_STRING("U")),
+ ElemDesc(0 | ElemDesc::FONTSTYLE)));
+
+ theElementFlags.insert(
+ ElementFlagsMapType::value_type(
+ c_wstr(XALAN_STATIC_UCODE_STRING("NOBR")),
+ ElemDesc(0 | ElemDesc::FONTSTYLE)));
}