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
label.setInlineStyle( inlineStyle );
		}
		else if (tagName.toLowerCase().equals("li") 
				&& ele.getParentNode().getNodeType() == Node.ELEMENT_NODE)
		{
			StyleDeclaration style = new StyleDeclaration(content.getCSSEngine());
			style.setProperty( IStyle.STYLE_DISPLAY, CSSValueConstants.BLOCK_VALUE );
			style.setProperty( IStyle.STYLE_VERTICAL_ALIGN, CSSValueConstants.MIDDLE_VALUE );
			IContainerContent container = new ContainerContent((ReportContent)content.getReportContent());
			container.setInlineStyle(style);
			addChild(content, container, inlineParent );
			handleStyle(ele, cssStyles, container);
			
			
			
			style = new StyleDeclaration(content.getCSSEngine());
			style.setProperty( IStyle.STYLE_DISPLAY, CSSValueConstants.INLINE_VALUE );
			style.setProperty( IStyle.STYLE_VERTICAL_ALIGN, CSSValueConstants.TOP_VALUE );
			
			IContainerContent orderContainer = new ContainerContent((ReportContent)content.getReportContent());
			CSSValue fontSizeValue = content.getComputedStyle( ).getProperty( IStyle.STYLE_FONT_SIZE ); 
			orderContainer.setWidth( new DimensionType(2.1*PropertyUtil.getDimensionValue( fontSizeValue )/1000.0, EngineIRConstants.UNITS_PT) );
			orderContainer.setInlineStyle( style );
			addChild(container, orderContainer, inlineParent );
			TextContent text = new TextContent((ReportContent)content.getReportContent());
			addChild(orderContainer, text, inlineParent );
			if(ele.getParentNode().getNodeName().equals("ol")) 
			{
				text.setText(new Integer(index).toString()+"."); 
			}