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
protected RowWrapper lastRow = null;
	protected RowWrapper currentRow = null;
	protected RowArea lastRowArea = null;
	protected TableLayoutInfo layoutInfo = null;
	protected PDFTableRegionLM regionLM = null;
	/**
	 * current row id
	 */
	protected int currentRowID = 0;
	protected int hiddenRowCount = 0;
	protected ITableBandContent currentBand = null;
	protected int repeatRowCount = 0;
	protected Stack groupStack = new Stack( );
	public PDFTableLM( PDFLayoutEngineContext context, PDFStackingLM parent,
			IContent content, IContentEmitter emitter,
			IReportItemExecutor executor )
	{
		super( context, parent, content, emitter, executor );
		tableContent = (ITableContent) content;
		repeatHeader = tableContent.isHeaderRepeat( );
		columnNumber = tableContent.getColumnCount( );
		lastRowContent = new CellWrapper[columnNumber];
		currentRowContent = new CellWrapper[columnNumber];
	}
	public int getRepeatCount( )
	{
		return this.repeatRowCount;
	}
	public void setRepeatCount( int repeatRowCount )
	{