Bug 164072 [Regression] Vertical alignments has different defaults behavior between PDF and web viewer [0300]
Description: Vertical alignment has defferent defual behavior between PDF and web viewer.In PDF defual vertical alignment is bottom and webviewer's is middle. Build number: 2.2.0.v20061110-0630 Step to reproduce: 1. use attach report 2. preview it in the PDf and web viewer Actual result: The behavior is different
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFLineAreaLM.java
public boolean isEmptyLine( )
	{
		return isRootEmpty( );
	}
	
	private boolean needLineBreak(IContent content)
	{
		int specWidth = 0;
		int avaWidth = getCurrentMaxContentWidth( );
		int calWidth = getDimensionValue( content.getWidth( ) );
		if ( calWidth > 0 && calWidth < this.maxAvaWidth )
		{
			specWidth = calWidth;
		}
		if(specWidth<=avaWidth && specWidth>0)
		{
			expectedIP = currentIP + specWidth;
		}
		return specWidth>avaWidth;
	}
	public void submit( AbstractArea area )
	{
		root.addChild( area );
		area.setAllocatedPosition( getCurrentIP( ), getCurrentBP( ) );
		setCurrentIP( getCurrentIP( ) + area.getAllocatedWidth( ) );
		lineFinished = false;
		
	}
}