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
{
			pageLM.layout( );
			finished = pageLM.isFinished( );
		} while ( !finished );
		
		pageLM.close( );
		context.setFinish(  true );
		if ( pageHandler != null )
		{
			pageHandler.onPage( context.getPageNumber( ), context );
		}
		executor.close( );
		context.reset( );
		pageHint = null;
	}
	public void layout( ILayoutManager parent, IReportItemExecutor executor, IContentEmitter emitter )
	{
		IContent content = executor.execute( );
		ILayoutManager layoutManager = factory.createLayoutManager(
				(HTMLAbstractLM) parent, content, executor, emitter );
		boolean hasNext = layoutManager.layout( );
		while ( hasNext )
		{
			hasNext = layoutManager.layout( );
		}
		layoutManager.close( );
	}
	public void layout( ILayoutManager parent, IContent content, IContentEmitter output )
	{
		IReportItemExecutor executor = new DOMReportItemExecutor( content );