Bug 157264 Pictures became less when the attached report was previewed in PDF
Pictures became less when the attached report was previewed in PDF Steps to reproduce: 1.run the attached file in PDF Expected result: There will be 6 pictures in PDF Actual result : There were only 2 pictures in PDF
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
this.rootPath = rootPath;
	}
	
	
	public void html2Content( IForeignContent foreign)
	{
		processForeignData(foreign);
	}
	
	protected void processForeignData( IForeignContent foreign )
	{
		if(foreign.getChildren( )!=null && foreign.getChildren( ).size( )>0)
		{
			return;
		}
		HashMap styleMap = new HashMap( );
		HTMLStyleProcessor htmlProcessor = new HTMLStyleProcessor( this.rootPath );
		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( );