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
static
	{
		tag2Style.put( "code", 
				"font-family: monospace"); 
		
		tag2Style.put( "em", 
				"font-style: italic"); 
		tag2Style.put( "h1", 
			"font-size: 2em; margin-top: 0.67em; margin-bottom:0.67em; font-weight: bold; page-break-after: avoid"); 
		tag2Style.put( "h2", 
			"font-size: 1.5em; margin-top: 0.75em; margin-bottom:0.75em; font-weight: bold; page-break-after: avoid"); 
		tag2Style.put( "h3", 
			"font-size: 1.17em; margin-top: 0.83em; margin-bottom:0.83em; font-weight: bold; page-break-after: avoid"); 
	
		tag2Style.put( "h4", 
			"font-size: 1.12em; margin-top: 1.12em; margin-bottom:1.12em; font-weight: bold; page-break-after: avoid"); 
	
		tag2Style.put( "h5", 
			"font-size: 0.83em; margin-top: 1.5em; margin-bottom:1.5em; font-weight: bold; page-break-after: avoid"); 
	
		tag2Style.put( "h6", 
			"font-size: 0.75em; margin-top: 1.67em; margin-bottom:1.67em; font-weight: bold; page-break-after: avoid"); 
		tag2Style.put( "pre", 
				"font-family: monospace; white-space: no-wrap; "); 
		tag2Style.put( "strong", 
				"font-weight: bold"); 
		tag2Style.put( "sub", 
				"vertical-align: bottom; font-size: 75%");