}
/**
* Image columns
*/
else if (column instanceof ImageColumn) {
ImageColumn imageColumn = (ImageColumn)column;
JRDesignImage image = new JRDesignImage(new JRDesignStyle().getDefaultStyleProvider());
JRDesignExpression imageExp = new JRDesignExpression();
imageExp.setText(column.getTextForExpression());
imageExp.setValueClassName(imageColumn.getColumnProperty().getValueClassName());
image.setExpression(imageExp);
image.setHeight(getReport().getOptions().getDetailHeight().intValue());
image.setWidth(column.getWidth().intValue());
image.setX(column.getPosX().intValue());
image.setScaleImage(imageColumn.getScaleMode().getValue());
applyStyleToElement(column.getStyle(), image);
if (column.getLink() != null) {
String name = "column_" + getReport().getColumns().indexOf(column);