Bug 151202 [regression]Set default master page to item in cell will cause blank page
Description: Set default master page to item in cell will cause blank page Steps to reproduce: 1. New a report 2. Insert a grid(1*1) 3. Insert a label to grid cell 4. Select the label and set default master page to it 5. Preview in Web Viewer and pdf Expected result: No blank page, just one page for grid display. Actual result: A blank page before grid page
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFAbstractLM.java
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 );
																								
																								
			}
			else
			{
				return (int) ( ( Float.valueOf( d ).floatValue( ) ) );
			}
		}
		catch ( NumberFormatException ex )
		{
			logger.log( Level.WARNING, ex.getLocalizedMessage( ) );
			return 0;
		}
	}
	protected int getDimensionValue( DimensionType d )
	{
		return getDimensionValue( d, 0 );
	}
	protected int getDimensionValue( DimensionType d, int referenceLength )
	{
		if ( d == null )
		{
			return 0;