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/HTMLStyleProcessor.java
}
		}
			
		if(style!=null)
		{
			styles.put(ele, style);
		}
		
		for ( int i = 0; i < ele.getChildNodes( ).getLength( ); i++ )
		{
			Node child = ele.getChildNodes( ).item( i );
			if ( child.getNodeType( ) == Node.ELEMENT_NODE )
			{
				execute( (Element) child, styles );
			}
		}
	}
	/**
	 * Replaces the previous element with the new tag name in the same position
	 * and return it
	 * 
	 * @param oldEle
	 *            the replaced element
	 * @param tag
	 *            the tag name of the new HTML element
	 * @return the new HTML element
	 */
	private Element replaceElement( Element oldEle, String tag )
	{
		Element newEle = oldEle.getOwnerDocument( ).createElement( tag );