Bug 197742 Underline does not take effect when preview as POSTSCRIPT [1201]
Description: Underline does not take effect when preview as POSTSCRIPT. Build number: 2.2.1.v20070724-0630 Steps to reproduce: 1. Preview the attached design file as POSTSCRIPT. Expected result: "Additional Information" is underlined. Actual result: Underline does not take effect. Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
import org.eclipse.birt.report.engine.content.impl.ContainerContent;
import org.eclipse.birt.report.engine.content.impl.ImageContent;
import org.eclipse.birt.report.engine.content.impl.LabelContent;
import org.eclipse.birt.report.engine.content.impl.ReportContent;
import org.eclipse.birt.report.engine.content.impl.TextContent;
import org.eclipse.birt.report.engine.css.dom.StyleDeclaration;
import org.eclipse.birt.report.engine.css.engine.value.css.CSSValueConstants;
import org.eclipse.birt.report.engine.ir.DimensionType;
import org.eclipse.birt.report.engine.ir.EngineIRConstants;
import org.eclipse.birt.report.engine.parser.TextParser;
import org.eclipse.birt.report.engine.util.FileUtil;
import org.eclipse.birt.report.model.api.IResourceLocator;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.css.CSSValue;
public class HTML2Content
{
	protected static final HashMap tag2Style = new HashMap( );
	
	protected static final HashSet htmlDisplayMode = new HashSet( );
	
	protected static final HashMap textTypeMapping = new HashMap( );
	static
	{
		tag2Style.put( "code", 
				"font-family: monospace"); 
		
		tag2Style.put( "em",