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
protected static final HashSet supportedHTMLElementTags = new HashSet();
	
	protected static final HashMap textTypeMapping = new HashMap( );
	
	protected ActionContent action = null;
	
	protected String rootPath;
	
	protected Stack inlineContainerStack = new Stack();
	
	static
	{
		tag2Style.put( "code", 
				"font-family: monospace"); 
		
		tag2Style.put( "em", 
				"font-style: italic"); 
		tag2Style.put( "h1", 
			"font-size: 2em; margin-top: 0.67em; margin-bottom:0.67em; font-weight: bold; page-break-after: avoid"); 
		tag2Style.put( "h2", 
			"font-size: 1.5em; margin-top: 0.75em; margin-bottom:0.75em; font-weight: bold; page-break-after: avoid"); 
		tag2Style.put( "h3", 
			"font-size: 1.17em; margin-top: 0.83em; margin-bottom:0.83em; font-weight: bold; page-break-after: avoid"); 
	
		tag2Style.put( "h4", 
			"font-size: 1.12em; margin-top: 1.12em; margin-bottom:1.12em; font-weight: bold; page-break-after: avoid"); 
	
		tag2Style.put( "h5", 
			"font-size: 0.83em; margin-top: 1.5em; margin-bottom:1.5em; font-weight: bold; page-break-after: avoid");