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/PDFLineAreaLM.java
}
			}
		}
	}
	public void setBaseLevel( int baseLevel )
	{
		this.baseLevel = baseLevel;
	}
	public boolean isEmptyLine( )
	{
		return isRootEmpty( );
	}
	
	private boolean needLineBreak(IContent content)
	{
		int specWidth = 0;
		int avaWidth = getMaxAvaWidth( ) - this.getCurrentIP( );
		int calWidth = getDimensionValue( content.getWidth( ) );
		if ( calWidth > 0 && calWidth < getMaxAvaWidth() )
		{
			specWidth = calWidth;
		}
		if(specWidth<=avaWidth && specWidth>0)
		{
			expectedIP = currentIP + specWidth;
		}
		return specWidth>avaWidth;
	}
}