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/PDFPageLM.java
IContent con = context.getUnresolvedContent( );
		if ( !( con instanceof IAutoTextContent ) )
		{
			return;
		}
		IAutoTextContent totalPageContent = (IAutoTextContent) con;
		if ( null != totalPageContent )
		{
			NumberFormatter nf = new NumberFormatter( );
			String patternStr = totalPageContent.getComputedStyle( )
					.getNumberFormat( );
			nf.applyPattern( patternStr );
			totalPageContent.setText( nf.format( pageNumber ) );
			ITextArea totalPageArea = null;
			ChunkGenerator cg = new ChunkGenerator( totalPageContent );
			if ( cg.hasMore( ) )
			{
				FontSplitter fontSplitter = new FontSplitter( cg.getNext( ),
						totalPageContent );
				if ( fontSplitter.hasMore( ) )
				{
					Chunk c = fontSplitter.getNext( );
					Dimension d = new Dimension(
							(int) ( c.getFontInfo( )
									.getWordWidth( c.getText( ) ) * PDFConstants.LAYOUT_TO_PDF_RATIO ),
							(int) ( c.getFontInfo( ).getWordHeight( ) * PDFConstants.LAYOUT_TO_PDF_RATIO ) );
					totalPageArea = (ITextArea) AreaFactory
							.createBlockTextArea( c.getText( ),
									totalPageContent, 0,
									c.getText( ).length( ), c.getFontInfo( ), d );