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/PDFTextLM.java
return freeSpace;
	}
	public void setBaseLevel( int baseLevel )
	{
		lineLM.setBaseLevel( baseLevel );
	}
	/*
	 * private String collapseWhiteSpace(String text) { StringBuffer str = new
	 * StringBuffer(); boolean whiteSpace = false; for (int i = 0; i <
	 * text.length(); i++) { char c = text.charAt(i); if (whiteSpace) { if (c != ' ') {
	 * whiteSpace = false; str.append(c); } } else { if (c == ' ') { whiteSpace =
	 * true; } str.append(c); } } return str.toString(); }
	 */
	public void transform( ITextContent textContent )
	{
		String transformType = textContent.getComputedStyle( )
				.getTextTransform( );
		if ( transformType.equalsIgnoreCase( "uppercase" ) ) 
		{
			textContent.setText( textContent.getText( ).toUpperCase( ) );
		}
		else if ( transformType.equalsIgnoreCase( "lowercase" ) ) 
		{
			textContent.setText( textContent.getText( ).toLowerCase( ) );
		}
		else if ( transformType.equalsIgnoreCase( "capitalize" ) ) 
		{
			textContent.setText( capitalize( textContent.getText( ) ) );
		}
	}