Bug 152948 Print as pdf not working for bar chart having Y-Series interactivity.
In BIRT2.1 release, a bar chart having a drill-through set on its Y-Series when rendered works fine, but on clicking the print as pdf option, produces a blank page. In the same report, if the drill-through is set on the chart area interactivity, everything including the print as pdf option works fine.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
import org.eclipse.birt.report.engine.api.PDFRenderContext;
import org.eclipse.birt.report.engine.api.script.IReportContext;
import org.eclipse.birt.report.model.api.ModuleHandle;
import org.eclipse.birt.report.utility.DataUtil;
import org.eclipse.birt.report.utility.ParameterAccessor;
/**
 * HTML action handler for url generation.
 */
class ViewerHTMLActionHandler extends HTMLActionHandler
{
	/**
	 * Logger for this handler.
	 */
	protected Logger log = Logger.getLogger( ViewerHTMLActionHandler.class
			.getName( ) );
	/**
	 * Document instance.
	 */
	protected IReportDocument document = null;
	/**
	 * Locale of the requester.
	 */
	protected Locale locale = null;
	/**
	 * Page number of the action requester.
	 */
	protected long page = -1;
	/**
	 * if the page is embedded, the bookmark should always be a url to submit.
	 */