Bug 164599 [Regression]Can not get the correct output when preview in PDF[0000][0300]
Description: There is a label with top padding (6 in), can not be displayed in pdf. While it works in html output. Build Number: 2.2.0.v20061115-1059 Steps to reproduce: 1.Get the attached report design file. 2.There is a dataset in the report layout. And a label with top padding (6 in) in the layout too. 3.Preview in HTML, it works. While preview in PDF, the label is missed. Expect result: The report should work in pdf.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTextBlockContainerLM.java
{
				return Integer.parseInt( widows );
			}
			catch(NumberFormatException e)
			{
				logger.log(Level.WARNING, "invalid widows: {0}", widows ); 
			}
		}
		return 2;
	}
	
	protected int getOrphans()
	{
		IStyle style = content.getStyle( );
		String orphans = style.getOrphans( );
		if(orphans!=null)
		{
			try
			{
				return Integer.parseInt( orphans );
			}
			catch(NumberFormatException e)
			{
				logger.log(Level.WARNING, "invalid orphans: {0}", orphans ); 
			}
		}
		return 2;
	}
}