Bug 119807 Repeat header doesn't work in birt pdf emitter.
Description: Repeat header doesn't work in birt pdf emitter. Steps to reproduce: 1. New a report and insert a table containing data more than one page. 2. Preview in pdf through birt pdf emitter. 3. Change table repeatHeader to false and preview in pdf again. Expected result: Repeat header property works. Actual result: Table header wasn't repeated no matter repeatHeader was set to true or false.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/TableItemExecutor.java
import org.eclipse.birt.report.engine.executor.buffermgr.Row;
import org.eclipse.birt.report.engine.executor.buffermgr.Table;
import org.eclipse.birt.report.engine.ir.CellDesign;
import org.eclipse.birt.report.engine.ir.ColumnDesign;
import org.eclipse.birt.report.engine.ir.IReportItemVisitor;
import org.eclipse.birt.report.engine.ir.ListingDesign;
import org.eclipse.birt.report.engine.ir.ReportItemDesign;
import org.eclipse.birt.report.engine.ir.RowDesign;
import org.eclipse.birt.report.engine.ir.TableBandDesign;
import org.eclipse.birt.report.engine.ir.TableGroupDesign;
import org.eclipse.birt.report.engine.ir.TableItemDesign;
import org.eclipse.birt.report.engine.script.internal.CellScriptExecutor;
import org.eclipse.birt.report.engine.script.internal.TableDetailRowScriptExecutor;
import org.eclipse.birt.report.engine.script.internal.TableFooterRowScriptExecutor;
import org.eclipse.birt.report.engine.script.internal.TableHeaderRowScriptExecutor;
import org.eclipse.birt.report.engine.script.internal.TableScriptExecutor;
/**
 * Defines execution logic for a List report item.
 * <p>
 * Currently table header and footer do not support data items
 * 
 * <p>
 * if the table contains any drop cells, we need buffer the cell contents unitl
 * we resolved all the drop cells. we resovles the drop cells at the end of each
 * group as the drop cells can only start from the group header and terminate in
 * the group footer.
 * 
 * @version $Revision: 1.33 $ $Date: 2005/12/03 02:01:49 $
 */
public class TableItemExecutor extends ListingElementExecutor