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
}
			}
		}
		data.setText( text );
	}
	/**
	 * handle the label.
	 * 
	 * @param label
	 *            label content
	 */
	public Object visitLabel( ILabelContent label, Object value )
	{
		if ( label.getGenerateBy( ) instanceof LabelItemDesign )
			LabelScriptExecutor.handleOnRender( label, context );
		else if ( label.getGenerateBy( ) instanceof TextItemDesign )
			TextItemScriptExecutor.handleOnRender( label, context );
		processLabel( label );
		return label;
	}
	/**
	 * process the label content
	 * 
	 * <li> localize the help text
	 * <li> localize the label content
	 * <li> handle it as it is an text
	 * 
	 * @param label
	 *            label object
	 */