Bug 119817 properities using percentage dimension as value don't work in BIRT PDF Emitter.
Description: properities using percentage dimension as value don't work in BIRT PDF Emitter. Steps to reproduce: 1. Set percentage value to Margin/Padding 2. Preview Expected result: Percentage values work. Actual result: No effects.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFImageLM.java
{
		Image image = null;
		switch ( content.getImageSource( ) )
		{
			case IImageContent.IMAGE_FILE :
				image = Image.getInstance( content.getURI( ) );
				break;
			case IImageContent.IMAGE_NAME :
			case IImageContent.IMAGE_EXPRESSION :
				image = Image.getInstance( content.getData( ) );
				break;
			case IImageContent.IMAGE_URL :
				image = Image.getInstance( new URL( content.getURI( ) ) );
				break;
			default :
				assert ( false );
		}
		if ( image != null )
		{
			Object design = content.getGenerateBy( );
			int resolution = 96;
			if ( design instanceof ExtendedItemDesign )
			{
				resolution = 192;
			}
			return new Dimension( (int) ( image.plainWidth( ) * 1000
					/ resolution * 72 ), (int) ( image.plainHeight( ) * 1000
					/ resolution * 72 ) );
		}
		return null;