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
throw new EngineException( MessageConstants.REPORT_RUN_ERROR, t ); 
		}
	}
	public void cancel( )
	{
		super.cancel( );
		if ( layoutEngine != null )
		{
			layoutEngine.cancel( );
		}
	}
	
	public void setMaxRowsPerQuery( int maxRows )
	{
		executionContext.setMaxRowsPerQuery( maxRows );
	}
	
	private class LayoutPageHandler implements ILayoutPageHandler
	{
		public void onPage( long pageNumber, Object context )
		{
			if ( pageHandler != null )
			{
				pageHandler.onPage( (int) pageNumber, false, null );
			}
			executionContext.getProgressMonitor( ).onProgress(
					IProgressMonitor.END_PAGE, (int) pageNumber );
		}
	}
}