Bug 212238 [Regression] Pagebreak on chart does not work when preview in PDF/PPT/PostScritp.
Description: Pagebreak on chart does not work when preview in PDF/PPT/PostScritp. build version: 2.3.0 v20071207-0800. steps to reproduce: 1. New a report. 2. Insert a label in layout. 3. Insert a chart in layout. 4. Add pagebreak: Before Always on chart. 5. Preview in PDF/PPT/Postscript. Expected result: The chart should be displayed on the second page. Actual result: The chart is displayed on the first page.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFAbstractLM.java
public PDFAbstractLM( PDFLayoutEngineContext context, PDFStackingLM parent,
			IContent content, IReportItemExecutor executor )
	{
		this.context = context;
		this.content = content;
		this.parent = parent;
		this.executor = executor;
	}
	/**
	 * layout the content and its children.
	 * 
	 * It can be called in three status:
	 * <ol> 
	 * <li> start, the first time it is called. In this status, 
	 * it first check if it need page-break-before,
	 * 
	 * <li> inprogress, the second or more time it is called. In this status, it
	 * tries to layout the content and its children to the current page.
	 * 
	 * <li> end, the last time it is called. In this status, it means all the
	 * content has been layout, it is the time to handle the page-break-after.
	 * </ol>
	 */
	public boolean layout( )
	{
		boolean hasNextPage = false;
		switch ( status )
		{
			case STATUS_START :