Bug 313882 [Regression]pageoverflow plus pagebreakinternal shows different pdf pages in web viewer and preview
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunAndRenderTask.java
{
			IContentEmitter emitter = createContentEmitter( );
			IReportExecutor executor = new ReportExecutor( executionContext );
			executor = new SuppressDuplciateReportExecutor( executor );
			executor = new LocalizedReportExecutor(
					executionContext, executor );
			executionContext.setExecutor( executor );
			LayoutPageHandler layoutHandler = new LayoutPageHandler();
			if ( ExtensionManager.PAPER_SIZE_PAGINATION.equals( pagination ) )
			{
				LayoutEngine pdfLayoutEmitter = new LayoutEngine( executor,
						emitter, renderOptions, executionContext, 0l );
				pdfLayoutEmitter.setPageHandler( layoutHandler );
				emitter = pdfLayoutEmitter;
			}
			initializeContentEmitter( emitter, executor );
			
			String format = executionContext.getOutputFormat( );
			
			
			boolean paginate = true;
			if ( FORMAT_HTML.equalsIgnoreCase( format )
					|| FORMAT_XHTML.equalsIgnoreCase( format ) ) 
			{
				HTMLRenderOption htmlOption = new HTMLRenderOption(
						renderOptions );
				paginate = htmlOption.getHtmlPagination( );
			}
			
			if ( ExtensionManager.NO_PAGINATION.equals( pagination ) )