Bug 183585 [Automation][Regression] embedded image referenced in text item did not work properly in pdf
steps to reproduce: - use the attached report design - preview in pdf expected behavior: - embedded image shows actual behavior: - it showed nothing
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
}
		
		HashMap styleMap = new HashMap( );
		HTMLStyleProcessor htmlProcessor = new HTMLStyleProcessor( report );
		Object rawValue = foreign.getRawValue();
		Document doc = null;
		if ( null != rawValue )
		{
			doc = new TextParser( ).parse( foreign.getRawValue( ).toString( ), 
					( String )textTypeMapping.get( foreign.getRawType( ) ) );	
		}
		
		Element body = null;
		if ( doc != null )
		{
			Node node = doc.getFirstChild( );
			
			if ( node instanceof Element )
			{
				body = (Element) node;
			}
		}
		if ( body != null )
		{
			htmlProcessor.execute( body, styleMap );
			processNodes( body, checkEscapeSpace( doc ), styleMap, foreign );
		}
	}
	
	/**