Bug 190141 Could not view img with height/width in doc
Build ID: RC0-0518 Steps To Reproduce: 1. create a report design 2. insert a text with <IMG src="C:\WINDOWS\Blue Lace 16.bmp" height="100"> result: view as html or pdf is ok view as doc, exception occurs: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is: java.lang.IllegalArgumentException: "fromUnits"must be one of the absolute units(CM, IN, MM, PT). More information: It should accept the default unit in html the whole report will fail once this exception occurs. Appreciate it could be fixed as soon as possible. Thanks!
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
htmlDisplayMode.add( "dd" ); 
		htmlDisplayMode.add( "div" ); 
		htmlDisplayMode.add( "dl" ); 
		htmlDisplayMode.add( "dt" ); 
		htmlDisplayMode.add( "h1" ); 
		htmlDisplayMode.add( "h2" ); 
		htmlDisplayMode.add( "h3" ); 
		htmlDisplayMode.add( "h4" ); 
		htmlDisplayMode.add( "h5" ); 
		htmlDisplayMode.add( "h6" ); 
		htmlDisplayMode.add( "hr" ); 
		htmlDisplayMode.add( "ol" ); 
		htmlDisplayMode.add( "p" ); 
		htmlDisplayMode.add( "pre" ); 
		htmlDisplayMode.add( "ul" ); 
		htmlDisplayMode.add( "li" ); 
		htmlDisplayMode.add( "body" ); 
		htmlDisplayMode.add( "center" ); 
		
		textTypeMapping.put( IForeignContent.HTML_TYPE, TextParser.TEXT_TYPE_HTML );
		textTypeMapping.put( IForeignContent.TEXT_TYPE, TextParser.TEXT_TYPE_PLAIN );
		textTypeMapping.put( IForeignContent.UNKNOWN_TYPE, TextParser.TEXT_TYPE_AUTO );
	}
	
	public HTML2Content(ReportDesignHandle report)
	{
		this.report = report;
	}