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
}
			else
			{
				colWidth[j] = -1;
				colHasNoWidth++;
			}
		}
		if ( colHasNoWidth == 0 )
		{
			tableWidth = colSum;
			return colWidth;
		}
		tableWidth = PropertyUtil.getDimensionValue( tableContent.getWidth( ) );
		int avaWidth = parent.getMaxAvaWidth( ) - parent.getCurrentIP( );
		int parentMaxWidth = parent.getMaxAvaWidth( );
		boolean isInline = PropertyUtil.isInlineElement( content );
		if ( tableWidth == 0 )
		{
			
			if ( !isInline )
			{
				tableWidth = avaWidth;
			}
			else
			{
				if ( avaWidth > parentMaxWidth / 4 )
				{
					tableWidth = avaWidth;
				}
				else