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/HTMLPageLM.java
protected IReportContent report;
	protected long pageNumber = 0;
	protected long startOffset;
	protected long endOffset;
	protected IPageContent pageContent;
	protected IReportExecutor reportExecutor = null;
	public HTMLPageLM( HTMLReportLayoutEngine engine, IReportContent report,
			IReportExecutor executor, IContentEmitter emitter )
	{
		super( engine.getFactory( ) );
		this.report = report;
		this.reportExecutor = executor;
		this.emitter = emitter;
		this.pageNumber = Math.max(  context.getPageNumber( ) - 1, 0);
		this.executor = new ReportItemExecutorBase( ) {
			public void close( )
			{
			}
			public IContent execute( )
			{
				return pageContent;
			}
			public IReportItemExecutor getNextChild( )
			{
				return reportExecutor.getNextChild( );
			}
			public boolean hasNextChild( )
			{
				return reportExecutor.hasNextChild( );
			}