Bug 317397 [Automation][Regression] Pagebreak does not work when preview in DOC/PDF/PPT/PostScript
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunAndRenderTask.java
{
				paginate = false;
			}
			synchronized ( this )
			{
				if ( !executionContext.isCanceled( ) )
				{
					layoutEngine = createReportLayoutEngine( pagination,
							renderOptions );
				}
			}
			if ( layoutEngine != null )
			{
				layoutEngine.setLocale( executionContext.getLocale( ) );
				CompositeLayoutPageHandler layoutPageHandler = new CompositeLayoutPageHandler( );
				OnPageBreakLayoutPageHandle handle = new OnPageBreakLayoutPageHandle(
						executionContext );
				layoutPageHandler.addPageHandler( handle );
				layoutPageHandler.addPageHandler( new ContextPageBreakHandler(
						executionContext ) );
				if ( !ExtensionManager.PAPER_SIZE_PAGINATION.equals( pagination ) )
				{
					layoutPageHandler.addPageHandler( layoutHandler );
				}
				layoutEngine.setPageHandler( layoutPageHandler );
				CompositeContentEmitter outputEmitters = new CompositeContentEmitter(
						format );
				outputEmitters.addEmitter( emitter );
				outputEmitters.addEmitter( handle.getEmitter( ) );
				IReportContent report = executor.execute( );