Bug 197454 Export report as PDF and Postscript does not work correctly [1200]
Description: Export report as PDF and Postscript does not work correctly. Build number: 2.2.1.v20070719-0630 Steps to reproduce: 1. New a report with a label, set its visibility to "hide in html". 2. Preview in Web Viewer, click "Export Report" button, select format as "PDF" or "Postscript". 3. Click "Print as PDF" button. Expected result: The label is shown. Actual result: The label disappears. Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/emitter/CompositeContentEmitter.java
import org.eclipse.birt.report.engine.content.IListContent;
import org.eclipse.birt.report.engine.content.IListGroupContent;
import org.eclipse.birt.report.engine.content.IPageContent;
import org.eclipse.birt.report.engine.content.IReportContent;
import org.eclipse.birt.report.engine.content.IRowContent;
import org.eclipse.birt.report.engine.content.ITableBandContent;
import org.eclipse.birt.report.engine.content.ITableContent;
import org.eclipse.birt.report.engine.content.ITableGroupContent;
import org.eclipse.birt.report.engine.content.ITextContent;
/**
 * Emitter the input to mutiple outputs.
 *
 */
public class CompositeContentEmitter extends ContentEmitterAdapter
{
	protected ArrayList emitters = new ArrayList();
	protected String format = "mutliple";
	
	public CompositeContentEmitter()
	{
	}
	
	public CompositeContentEmitter(String format)
	{
		this.format = format;
	}
	
	public void addEmitter(IContentEmitter emitter)
	{
		emitters.add(emitter);