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
if ( embeddable )
			options.put( HTML_TYPE, HTML_NOCSS );
		else
			options.put( HTML_TYPE, HTML );
	}
	/**
	 * @return whether the output is embeddable
	 */
	public boolean getEmbeddable( )
	{
		String htmlType = (String) options.get( HTML_TYPE );
		if ( htmlType != null && htmlType.compareTo( HTML_NOCSS ) == 0 )
			return true;
		return false;
	}
	/**
	 * @param userAgent
	 *            the user agent of the request
	 */
	public void setUserAgent( String userAgent )
	{
		options.put( USER_AGENT, userAgent );
	}
	/**
	 * @return the user agent for the request
	 */
	public String getUserAgent( )
	{
		return (String) options.get( USER_AGENT );
	}