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
for ( int i = 0; i < oldEle.getAttributes( ).getLength( ); i++ )
		{
			String attrName = oldEle.getAttributes( ).item( i ).getNodeName( );
			newEle.setAttribute( attrName, oldEle.getAttribute( attrName ) );
		}
		
		
		
		
		for ( Node child = oldEle.getFirstChild( ); child != null; child = oldEle
				.getFirstChild( ) )
		{
			newEle.appendChild( child );
		}
		oldEle.getParentNode( ).replaceChild( newEle, oldEle );
		return newEle;
	}
	
	
	private void appendStyle(StringBuffer style, String name, String value)
	{
		if(name==null || "".equals(name) || value==null || "".equals(value)) 
		{
			return;
		}
		style.append(name + ":" + value + ";");  
	}
}