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 int getDimensionValue( String d )
	{
		if ( d == null )
		{
			return 0;
		}
		try
		{
			if ( d.endsWith( "in" ) || d.endsWith( "in" ) ) 
			{
				return (int) ( ( Float.valueOf( d
						.substring( 0, d.length( ) - 2 ) ).floatValue( ) ) * 72000.0f );
			}
			else if ( d.endsWith( "cm" ) || d.endsWith( "CM" ) ) 
			{
				return (int) ( ( Float.valueOf( d
						.substring( 0, d.length( ) - 2 ) ).floatValue( ) ) * 72000.0f / 2.54f );
			}
			else if ( d.endsWith( "mm" ) || d.endsWith( "MM" ) ) 
			{
				return (int) ( ( Float.valueOf( d
						.substring( 0, d.length( ) - 2 ) ).floatValue( ) ) * 7200.0f / 2.54f );
			}
			else if ( d.endsWith( "px" ) || d.endsWith( "PX" ) ) 
			{
				return (int) ( ( Float.valueOf( d
						.substring( 0, d.length( ) - 2 ) ).floatValue( ) ) / 96.0f * 72000.0f );
																								
																								
			}