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
IContainerContent childContainer = new ContainerContent((ReportContent)content.getReportContent());
			addChild(container, childContainer);
			childContainer.setInlineStyle(style);
			processNodes( ele, needEscape, cssStyles, childContainer );
		}
		else if (tagName.toLowerCase().equals("dd") || tagName.toLowerCase().equals("dt")) //
		{
			IContainerContent container = new ContainerContent((ReportContent)content.getReportContent());
			addChild(content, container);
			handleStyle(ele, cssStyles, container);
			
			if (tagName.toLowerCase().equals("dd")) 
			{
				StyleDeclaration style = new StyleDeclaration(content.getCSSEngine());
				style.setProperty( IStyle.STYLE_DISPLAY, CSSValueConstants.INLINE_VALUE );
				TextContent text = new TextContent((ReportContent) content
						.getReportContent());
				addChild(content, text);
				if (ele.getParentNode().getNodeName().equals("dl")) 
				{
					text.setText(""); 
				}
				style.setTextIndent("3em"); 
				text.setInlineStyle(style);
				
				IContainerContent childContainer = new ContainerContent((ReportContent)content.getReportContent());
				childContainer.setInlineStyle(style);
				addChild(container, childContainer);
				
				processNodes( ele, needEscape, cssStyles, container );