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/PDFLineAreaLM.java
AbstractArea area = (AbstractArea) iter.next( );
				if ( CSSConstants.CSS_RIGHT_VALUE.equalsIgnoreCase( align ) )
				{
					area.setAllocatedPosition( spacing + area.getAllocatedX( ),
							area.getAllocatedY( ) );
				}
				else if ( CSSConstants.CSS_CENTER_VALUE
						.equalsIgnoreCase( align ) )
				{
					area.setAllocatedPosition( spacing / 2
							+ area.getAllocatedX( ), area.getAllocatedY( ) );
				}
			}
		}
		
		
		
		
		Iterator iter = root.getChildren( );
		int height = root.getHeight( );
		
		while ( iter.hasNext( ) )
		{
			AbstractArea child = (AbstractArea) iter.next( );
			IStyle childStyle = child.getStyle( );
			String vAlign = childStyle.getVerticalAlign( );
			if ( childStyle != null )
			{
				int spacing = height - child.getAllocatedHeight( );
				assert ( spacing >= 0 );