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
emptyCell.setWidth( getCellWidth( startColumn, endColumn ) );
					emptyCell.setPosition( layoutInfo.getXPosition( i ), 0 );
					row.addChild( emptyCell );
					emptyCell.setHeight( height );
					for ( int j = startColumn; j < endColumn; j++ )
					{
						hasCell[j] = true;
					}
					if ( cells[i] != null )
					{
						if ( cells[i].rowSpan != 1 )
						{
							
							dropList.add( new DropCellInfo( emptyCell, 0,
									cells[i].rowSpan ) );
						}
					}
				}
			}
			iter = row.getChildren( );
			while ( iter.hasNext( ) )
			{
				CellArea cell = (CellArea) iter.next( );
				int colID = cell.getColumnID( );
				if ( currentRowContent[colID]!=null && currentRowContent[colID].rowSpan==1)
				{
					cell.setHeight( height );
					verticalAlign( cell );
				}