Bug 191629 Use different master page in Web Viewer and PDF [04]
Description: Use different master page in Web Viewer and PDF Build number: 2.2.0.v20070607-1421 Steps to reproduce: 1. Preview the attached design file in PDF and Web Viewer. Expected result: The first page use the same master page. Actual result: See the screenshot. Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/HTMLReportLayoutEngine.java
protected IPageHint pageHint;
	public HTMLReportLayoutEngine( )
	{
		options = new HashMap();
		context = new HTMLLayoutContext( this );
		factory = new HTMLLayoutManagerFactory( this );
	}
	HTMLLayoutContext getContext( )
	{
		return context;
	}
	HTMLLayoutManagerFactory getFactory( )
	{
		return factory;
	}
	public void layout( IReportExecutor executor, IReportContent report, IContentEmitter emitter, boolean pagination )
	{
		this.executor = executor;
		
		context.setAllowPageBreak( pagination );
		setupLayoutOptions();		
		context.setFinish(  false );
		if(pageHint!=null)
		{
			context.setLayoutPageHint( pageHint );
		}
		HTMLPageLM pageLM = new HTMLPageLM( this, report, executor, emitter );
		boolean finished = false;
		do