Bug 187481 [Automation][Regression] the attached report designs cannot be previewed properly in viewer
steps to reproduce: - use the attached report designs (custom style applied to grid cell, grid row, and grid column in respective report design) - preview in viewer expected behavior: - report should be previewed properly actual behavior: - it seemed that data in grid cell, row, and column were lost when preview in viewer
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/document/v4/CellExecutor.java
package org.eclipse.birt.report.engine.internal.document.v4;
import org.eclipse.birt.report.engine.api.InstanceID;
import org.eclipse.birt.report.engine.content.IContent;
import org.eclipse.birt.report.engine.ir.CellDesign;
import org.eclipse.birt.report.engine.ir.ReportItemDesign;
public class CellExecutor extends ContainerExecutor
{
	private int nextItem;
	protected CellExecutor( ExecutorManager manager )
	{
		super( manager, ExecutorManager.CELLITEM );
		nextItem = 0;
	}
	protected IContent doCreateContent( )
	{
		return report.createCellContent( );
	}
	public void close( )
	{
		nextItem = 0;
		super.close( );
	}
	protected ReportItemExecutor doCreateExecutor( long offset )
			throws Exception