Bug 213958 [Automation][Regression]Page break does not work in PDF
Description: Add some page break in report , but the pagebreak feature does not work at all in PDF. Test Date: 20071228 Test Build: BIRT2.3.0 Daily Build: v20071228-1005 Step to reproduce: 1. Use the report attached 2. Preview it in PDF format Expect result: There are 3 pages Actual result: Page break does not take any effect.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFLeafItemLM.java
{
	public PDFLeafItemLM( PDFLayoutEngineContext context, PDFStackingLM parent,
			IContent content, IReportItemExecutor executor )
	{
		super( context, parent, content,  executor );
	}
	protected void cancelChildren( )
	{
	}
	/**
	 * need overwrite this mothod to change default behavour.
	 * For inline leaf elements, page-break is handled by this layout manager.
	 * For block leaf elements. page-break is handled by it's block container
	 */
	protected boolean handlePageBreakBefore( )
	{
		if ( content != null )
		{
			return super.handlePageBreakBefore( );
		}
		return false;
	}
	/**
	 * need overwrite this mothod to change default behavour.