Bug 147639 PDF output generated from document and report are different
Steps to reproduce: 1.Run the attached report with "run?" and "__format=pdf" 2.Run the attached report with "frameset" and "__format=pdf" Expected result: Two pdf output should be the same Actual result: 1.The page number of two output files are different 2.Page 12-13 of two output files are different
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
{
			Node node = doc.getFirstChild( );
			
			if ( node instanceof Element )
			{
				body = (Element) node;
			}
		}
		if ( body != null )
		{
			htmlProcessor.execute( body, styleMap );
			processNodes( body, checkEscapeSpace( doc ), styleMap, foreign );
		}
	}
	
	/**
	 * Visits the children nodes of the specific node
	 * 
	 * @param visitor
	 *            the ITextNodeVisitor instance
	 * @param ele
	 *            the specific node
	 * @param needEscape
	 *            the flag indicating the content needs escaping
	 */
	private void processNodes( Element ele, boolean needEscape, HashMap cssStyles, IContent content )
	{
		int level=0;
		for ( Node node = ele.getFirstChild( ); node != null; node = node
				.getNextSibling( ) )