Bug 151185 Chart position wrong at PDF
- Create a 1x1 table. - Put a chart in the table - Position of chart is vertical=middle, textaligment=center, style=middle (The Chart is in the middle of the table-cell) - Use reportengine to create html -> All works fine - Use reportengine to create pdf -> The chart is left (not in the middle!)
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTableLM.java
repeatRowCount = 0;
		setCurrentIP( 0 );
	}
	protected int getAvaHeight( )
	{
		root.setAllocatedHeight( parent.getMaxAvaHeight( )
				- parent.getCurrentBP( ) );
		return root.getContentHeight( );
	}
	protected void closeLayout( )
	{
 		if ( root.getChildrenCount( ) == 0 )
		{
			return;
		}
 		ArrayList lastDropCells = new ArrayList();
 		Iterator it = dropList.iterator( );
 		while ( it.hasNext( ) )
		{
			DropCellInfo dropCell = (DropCellInfo) it.next( );
			for (int columnID = dropCell.cell.getColumnID(); columnID < dropCell.cell
					.getColumnID()
					+ dropCell.cell.getColSpan(); columnID++)
				lastDropCells.add(new Integer(columnID));
		}
		if ( !isLast )
		{
			updateAllUnresolvedCellArea(lastDropCells);
			root.setHeight( getCurrentBP( ) + getOffsetY( ) );
			return;