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
if ( columnID + colSpan == columnNumber )
			{
				bcr.resolveTableRightBorder( tableStyle, rowStyle, columnStyle,
						cellContentStyle, cellAreaStyle );
			}
		}
		else
		{
			
			/*
			 * if(columnID>0 && isSameCell(rowID-1, columnID-1,rowID-1,
			 * columnID)) {  column span if(leftCellAreaStyle!=null) {
			 * cellAreaStyle.setProperty(IStyle.STYLE_BORDER_TOP_STYLE,
			 * leftCellAreaStyle.getProperty(IStyle.STYLE_BORDER_TOP_STYLE));
			 * cellAreaStyle.setProperty(IStyle.STYLE_BORDER_TOP_WIDTH,
			 * leftCellAreaStyle.getProperty(IStyle.STYLE_BORDER_TOP_WIDTH));
			 * cellAreaStyle.setProperty(IStyle.STYLE_BORDER_TOP_COLOR,
			 * leftCellAreaStyle.getProperty(IStyle.STYLE_BORDER_TOP_COLOR)); } }
			 * else { bcr.resolveCellTopBorder( preRowStyle, rowStyle,
			 * topCellStyle, cellContentStyle, cellAreaStyle ); }
			 */
			
			bcr.resolveCellTopBorder( preRowStyle, rowStyle, topCellStyle,
					cellContentStyle, cellAreaStyle );
			
			if ( columnID == 0 )
			{
				
				bcr.resolveTableLeftBorder( tableStyle, rowStyle, columnStyle,