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
}
	protected boolean checkAvailableSpace( )
	{
		if ( parent != null )
		{
			int leftHeight =  parent.getCurrentMaxContentHeight( ) ;
			if ( leftHeight < Math.max( PDFConstants.MIN_LAYOUT_HEIGHT,
					specifiedHeight ) )
			{
				context.setAutoPageBreak( true );
				return true;
			}
		}
		return false;
	}
	protected void removeBoxProperty( IStyle style )
	{
		removePadding( style );
		removeBorder( style );
		removeMargin( style );
	}
	protected void removePadding( IStyle style )
	{
		if ( style != null )
		{
			style.setProperty( IStyle.STYLE_PADDING_LEFT, IStyle.NUMBER_0 );
			style.setProperty( IStyle.STYLE_PADDING_RIGHT, IStyle.NUMBER_0 );
			style.setProperty( IStyle.STYLE_PADDING_TOP, IStyle.NUMBER_0 );
			style.setProperty( IStyle.STYLE_PADDING_BOTTOM, IStyle.NUMBER_0 );
		}