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
ImageArea imageArea = (ImageArea)AreaFactory.createImageArea(image, content);
		root.addChild(imageArea);
		
		int posX = (borderWidth==0 ? 0 : 
				getDimensionValue(areaStyle.getProperty(StyleConstants.STYLE_BORDER_LEFT_WIDTH)))
				+ (paddingWidth ==0 ? 0 : 
				getDimensionValue(areaStyle.getProperty(StyleConstants.STYLE_PADDING_LEFT)));
		int posY = getDimensionValue(areaStyle.getProperty(StyleConstants.STYLE_BORDER_TOP_WIDTH))
					+ getDimensionValue(areaStyle.getProperty(StyleConstants.STYLE_PADDING_TOP));
		
		imageArea.setPosition( posX, posY );
		
		root.setWidth(content.getWidth()
				+ ( borderWidth==0 ? 0 : 
					(getDimensionValue(image.getComputedStyle().getProperty(StyleConstants.STYLE_BORDER_LEFT_WIDTH))
					+getDimensionValue(image.getComputedStyle().getProperty(StyleConstants.STYLE_BORDER_RIGHT_WIDTH))))
				+ ( paddingWidth==0 ? 0 : 
					(getDimensionValue(image.getComputedStyle().getProperty(StyleConstants.STYLE_PADDING_LEFT))
					+getDimensionValue(image.getComputedStyle().getProperty(StyleConstants.STYLE_PADDING_RIGHT))))
		);
		root.setHeight(content.getHeight()
				+getDimensionValue(image.getComputedStyle().getProperty(StyleConstants.STYLE_BORDER_TOP_WIDTH))
				+getDimensionValue(image.getComputedStyle().getProperty(StyleConstants.STYLE_BORDER_BOTTOM_WIDTH))
				+getDimensionValue(image.getComputedStyle().getProperty(StyleConstants.STYLE_PADDING_TOP))
				+getDimensionValue(image.getComputedStyle().getProperty(StyleConstants.STYLE_PADDING_BOTTOM))
		);
		imageArea.setWidth(content.getWidth());
		imageArea.setHeight(content.getHeight());
	}
}