Bug 207141 [Automation][Regression]There is a faint secondary image in column when preview reportdesign in PDF
Description: There is a faint secondary image in one column when preview reportdesign in PDF TestDate: 20071023 steps to reproduce: - use the attached report design - preview it in PDF Expected Result: Report should be preview correctly Actual Result: There is a faint secondary image.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/cache/TableAreaLayout.java
public void reset(TableArea table)
	{
		firstRow = true;
		Iterator iter = rows.iterator( );
		while(iter.hasNext( ))
		{
			Row row = (Row)iter.next( );
			if(table.contains( row.getArea( ) ))
			{
				iter.remove( );
			}
		}
		
		rows.resetCursor( );
	}
	
	public int resolveDropCells(int dropValue)
	{
		/*
		 * 1. scan current row and calculate row height
		 * 2. update the height of drop cells
		 * 3. update the height of row
		 */
		assert(dropValue<0);
		
		if(rows.size( )==0 || !hasDropCell)
		{
			return 0;
		}
		Row row = (Row)rows.getCurrent( );