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/presentation/LocalizedContentVisitor.java
}
	public Object visitTable( ITableContent table, Object value )
	{
		if ( table.getGenerateBy( ) instanceof TableItemDesign )
			TableScriptExecutor.handleOnRender( table, context );
		else if ( table.getGenerateBy( ) instanceof GridItemDesign )
			GridScriptExecutor.handleOnRender( table, context );
		
		String captionText = table.getCaption( );
		String captionKey = table.getCaptionKey( );
		captionText = localize( table, captionKey, captionText );
		table.setCaption( captionText );
		
		return table;
	}
	public Object visitRow( IRowContent row, Object value )
	{
		RowScriptExecutor.handleOnRender( row, context );
		return row;
	}
	public Object visitCell( ICellContent cell, Object value )
	{
		CellScriptExecutor.handleOnRender( cell, context );
		return cell;
	}
	/**
	 * handle the data content.
	 * 
	 * @param data
	 *            data content object