Bug 153244 Master Page content is lost when set pagination for RenderTask
Description: Master Page content is lost when set pagination to false in HTMLRenderOption for RenderTask. Steps to reproduce: 1. Render a report with master page. Codes: IRenderOption options = new HTMLRenderOption( ); options.setOutputFileName( outputFile ); options.setOutputFormat( format ); ( (HTMLRenderOption) options ).setHtmlPagination( false ); HashMap appContext = new HashMap( ); task.setRenderOption( options ); task.render( ); task.close( ); Expected result: In output html, master page content is displayed. Actual result: Master page content is lost in output html file.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/HTMLRenderOption.java
public IHTMLActionHandler getActionHandle( )
	{
		return (IHTMLActionHandler) options.get( ACTION_HANDLER );
	}
	
	public void setRenderTemplateUseDefault(boolean option)
	{
		options.put( OBSERVE_TEMPLATE_DEFAULT, new Boolean(option) );
	}
	
	public boolean getRenderTemplateUseDefault()
	{
		Boolean value = (Boolean) options.get( OBSERVE_TEMPLATE_DEFAULT);
		if ( value != null )
		{
			return value.booleanValue( );
	}
		return false;
	}
	
	/**
	 * @deprecated includeSelectionHandle is replaced by eanableMetadata flag.
	 */
	public void setIncludeSelectionHandle(boolean option)
	{
		options.put( HTML_INCLUDE_SELECTION_HANDLE, new Boolean(option) );
	}
	
	/**
	 * @deprecated includeSelectionHandle is replaced by eanableMetadata flag.