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/presentation/LocalizedContentVisitor.java
{
		assert ( content != null );
		assert ( content.getGenerateBy( ) != null );
		DesignElementHandle element = ( (ReportItemDesign) content
				.getGenerateBy( ) ).getHandle( );
		if ( key != null && element != null )
		{
			String t = ModuleUtil.getExternalizedValue( element, key, text,
					ULocale.forLocale( locale ) );
			if ( t != null )
			{
				return t;
			}
		}
		return text;
	}
	public Object visitImage( IImageContent image, Object value )
	{
		ImageScriptExecutor.handleOnRender( image, context );
		processImage( image );
		return image;
	}
	protected void processImage( IImageContent image )
	{
		String altText = localize( image, image.getAltTextKey( ), image.getAltText( ) );
		image.setAltText( altText );
		String helpText = localize( image, image.getHelpKey( ), image.getHelpText( ) );
		image.setHelpText( helpText );
	}
	/**