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/area/impl/AreaFactory.java
import org.eclipse.birt.report.engine.content.Dimension;
import org.eclipse.birt.report.engine.content.IAutoTextContent;
import org.eclipse.birt.report.engine.content.ICellContent;
import org.eclipse.birt.report.engine.content.IContent;
import org.eclipse.birt.report.engine.content.IImageContent;
import org.eclipse.birt.report.engine.content.IPageContent;
import org.eclipse.birt.report.engine.content.IRowContent;
import org.eclipse.birt.report.engine.content.IStyle;
import org.eclipse.birt.report.engine.content.ITableContent;
import org.eclipse.birt.report.engine.content.ITextContent;
import org.eclipse.birt.report.engine.css.engine.StyleConstants;
import org.eclipse.birt.report.engine.layout.area.IArea;
import org.eclipse.birt.report.engine.layout.area.IContainerArea;
import org.eclipse.birt.report.engine.layout.area.IImageArea;
import org.eclipse.birt.report.engine.layout.area.ITemplateArea;
import org.eclipse.birt.report.engine.layout.pdf.font.FontInfo;
import org.eclipse.birt.report.engine.layout.pdf.util.PropertyUtil;
/**
 * 
 * area factory.
 * create area object by content or area
 * FIXME support backgroud-image offset
 *
 */
public class AreaFactory
{
	/**
	 * create image area by image content
	 * @param image the image content
	 * @param contentDimension content dimension