Bug 157681 PDF Report Generated With Layout But No Data
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFCellLM.java
{
		createRoot( );
		IStyle areaStyle = root.getStyle( );
		removeMargin( areaStyle );
		validateBoxProperty( root.getStyle( ), columnWidth, context.getMaxHeight( ) );
		setOffsetX( root.getContentX( ) );
		setOffsetY( isFirst ? root.getContentY( ) : 0 );
		/*
		 * int borderWidth = getDimensionValue( areaStyle .getProperty(
		 * StyleConstants.STYLE_BORDER_LEFT_WIDTH ) ) + getDimensionValue(
		 * areaStyle .getProperty( StyleConstants.STYLE_BORDER_RIGHT_WIDTH ) );
		 * int paddingWidth = getDimensionValue( areaStyle .getProperty(
		 * StyleConstants.STYLE_PADDING_LEFT ) ) + getDimensionValue( areaStyle
		 * .getProperty( StyleConstants.STYLE_PADDING_RIGHT ) ); if (
		 * borderWidth + paddingWidth < columnWidth ) { setMaxAvaWidth(
		 * columnWidth - borderWidth - paddingWidth );
		 *  } else if ( borderWidth < columnWidth )// drop padding {
		 * setMaxAvaWidth( columnWidth - borderWidth ); } else { // FIXME how to
		 * resolve this case setMaxAvaWidth( 0 ); }
		 */
		setMaxAvaWidth (root.getContentWidth( ));
		root.setAllocatedHeight( parent.getMaxAvaHeight( )
				- parent.getCurrentBP( ) );
		setMaxAvaHeight( root.getContentHeight( ) );
		if ( isFirst )
		{
			isFirst = false;
		}
		setCurrentBP( 0 );
		setCurrentIP( 0 );