No images in xls export

Summary

When exporting a report to xls (Excel) from JasperReports Server, resulting report contains no images.

Reason

By default XLS exporter is set to skip images when exporting from JasperReports Server

Resolution

  • Locate /WEB-INF/applicationContext.xml
  • In file search for xlsExportParameters bean:

<bean id="xlsExportParameters" class="com.jaspersoft.jasperserver.api.engine.jasperreports.common.XlsExportParametersBean">
    ...
    <property name="ignoreGraphics" value="true"/>
    ...
</bean>

  • Change property ignoreGraphics value to false:

<property name="ignoreGraphics" value="false"/>

 

 

Feedback