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
* root.getChildrenCount( )>0) { if(endLine()) { return addArea(area); }
	 * else { return false; } } else { if(getMaxAvaHeight( )<cArea.getAllocatedHeight( ) &&
	 * !parent.isPageEmpty()) { //change to new page, end current line boolean
	 * end = endLine(); assert(end); return addArea(area); } else {
	 * root.addChild(cArea); cArea.setAllocatedPosition(currentIP, 0);
	 * setCurrentIP(currentIP +cArea.getAllocatedWidth()); return true; } } }
	 */
	public boolean addArea( IArea area )
	{
		AbstractArea cArea = (AbstractArea) area;
		root.addChild( cArea );
		cArea.setAllocatedPosition( getCurrentIP( ), getCurrentBP( ) );
		setCurrentIP( getCurrentIP( ) + cArea.getAllocatedWidth( ) );
		lineFinished = false;
		return true;
	}
	protected void setupMinHeight( )
	{
		assert ( parent instanceof PDFBlockStackingLM );
		int lineHeight = ( (PDFBlockStackingLM) parent ).getLineHeight( );
		if ( lineHeight > 0 )
		{
			minHeight = lineHeight;
		}
	}
	protected void updateLine( )
	{
		if ( root == null )
		{
			return;