Bug 211978 [Automation][Acceptance]Exception is thrown out when preview report in PDF
Description: Exception is thrown out when preview report in PDF Test Date: 20071205 Test Build: BIRT2.3.0 DailyBuildv20071205 0800 Step to reproduce: 1. Use the report attached 2. Preview it in PDF Expect result: Report should be previewed without any exception Actual result: A StringIndexOUtOfBoundsException is thrown out
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFInlineContainerLM.java
else
		{
			child = null;
		}
		return hasNextPage;
	}
	protected void initialize( )
	{
		createRoot( );
		maxAvaWidth =  parent.getCurrentMaxContentWidth( ) ;
		maxAvaHeight = parent.getCurrentMaxContentHeight( )  ;
		currentBP =0;
		currentIP = 0;
	}
	public boolean addArea( IArea area, boolean keepWithPrevious, boolean keepWithNext )
	{
		AbstractArea child = (AbstractArea) area;
		submit( child );
		
		return true;
	}
	public void submit( AbstractArea area )
	{
		root.addChild( area );
		area.setAllocatedPosition( getCurrentIP( ), getCurrentBP( ) );
		setCurrentIP( getCurrentIP( ) + area.getAllocatedWidth( ) );
	}
	public boolean endLine( )
	{
		if ( root != null && root.getChildrenCount( ) > 0 )