Bug 189625 line-height is not supported in word
Build ID: RC0-v20070518 Steps To Reproduce: 1.create a report design 2.add a new style <style name="NewStyle" id="7"> <property name="fontSize">xx-large</property> <property name="textLineThrough">line-through</property> <property name="lineHeight">10in</property> </style> 3. add a text "hello world" and apply this style result: view as html is ok view as doc, "lineHeight" is no effective view as pdf, viewer hangs up for quite long time until I kill it. my report design is attached.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFLineAreaLM.java
int childHeight = child.getAllocatedHeight( );
			height = Math.max( height, childHeight );
		}
		height = Math.max( height, lineHeight );
		root.setContentHeight( height );
		
	}
	protected void align( boolean lastLine)
	{
		if ( root == null )
		{
			return;
		}
		assert ( parent instanceof PDFBlockStackingLM );
		String align = ( (PDFBlockStackingLM) parent ).getTextAlign( );
		
		if ( ( CSSConstants.CSS_RIGHT_VALUE.equalsIgnoreCase( align ) || CSSConstants.CSS_CENTER_VALUE
				.equalsIgnoreCase( align ) ) )
		{
			int spacing = root.getContentWidth( ) - getCurrentIP( );
			Iterator iter = root.getChildren( );
			while ( iter.hasNext( ) )
			{
				AbstractArea area = (AbstractArea) iter.next( );
				if ( CSSConstants.CSS_RIGHT_VALUE.equalsIgnoreCase( align ) )
				{
					area.setAllocatedPosition( spacing + area.getAllocatedX( ),
							area.getAllocatedY( ) );
				}
				else if ( CSSConstants.CSS_CENTER_VALUE