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
cellContentStyle, cellAreaStyle );
			}
			else
			{
				/*
				 *  not the first column  resolve row span conflict
				 * if(isSameCell(rowID-1, columnID-1, rowID, columnID-1)) {
				 * IStyle topStyle = getCellAreaStyle(rowID-1, columnID);
				 * if(topStyle!=null) {
				 * cellAreaStyle.setProperty(IStyle.STYLE_BORDER_LEFT_STYLE,
				 * topStyle.getProperty(IStyle.STYLE_BORDER_LEFT_STYLE));
				 * cellAreaStyle.setProperty(IStyle.STYLE_BORDER_LEFT_WIDTH,
				 * topStyle.getProperty(IStyle.STYLE_BORDER_LEFT_WIDTH));
				 * cellAreaStyle.setProperty(IStyle.STYLE_BORDER_LEFT_COLOR,
				 * topStyle.getProperty(IStyle.STYLE_BORDER_LEFT_COLOR)); } }
				 * else {  without row span bcr.resolveCellLeftBorder(
				 * preColumnStyle, columnStyle, leftCellContentStyle,
				 * cellContentStyle, cellAreaStyle ); }
				 */
				
				bcr.resolveCellLeftBorder( preColumnStyle, columnStyle,
						leftCellContentStyle, cellContentStyle, cellAreaStyle );
			}
			
			if ( columnID + colSpan == columnNumber )
			{
				bcr.resolveTableRightBorder( tableStyle, rowStyle, columnStyle,
						cellContentStyle, cellAreaStyle );
			}
		}