Bug 192791 Lost first row level of xtab after page break in ps and pdf.[1102]
Description: Lost first row level of xtab after page break in ps and pdf. Build number:2.2.0.v20070615 Steps to reproduce: 1. Open attached xtab. 2. Preview in pdf or postscript. 3. check second and the third page. Expected result: The last two level values "Mountain" and "Saddles" display Actual result: The two values in first row level lost. Error log:n/a
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/cache/TableAreaLayout.java
{
				AbstractArea area = (AbstractArea) iter.next( );
				int spacing = cell.getContentWidth( ) - area.getAllocatedWidth( ) ;
				if(spacing>0)
				{
					if ( IStyle.RIGHT_VALUE.equals( align ) )
					{
						area.setAllocatedPosition( spacing + area.getAllocatedX( ),
								area.getAllocatedY( ) );
					}
					else if ( IStyle.CENTER_VALUE
							.equals( align ) )
					{
						area.setAllocatedPosition( spacing / 2
								+ area.getAllocatedX( ), area.getAllocatedY( ) );
					}
				}
			}
		}
	}
	
	public void reset(TableArea table)
	{
		firstRow = true;
		Iterator iter = rows.iterator( );
		while(iter.hasNext( ))
		{
			Row row = (Row)iter.next( );
			if(table.contains( row.getArea( ) ))
			{