Issue:
When a report is exported to XLSX, XLS, CSV, ODS or Excel formats, the resulting files do not have logo. This issue is present for the sample reports with the Jaspersoft logo as well as company logos in reports.
Solution:
By default, JasperReports Server ignores graphics on certain exports such as excel. To get the logo to display, there will be a configuration change that needs to be done and a server restart.
The configuration change is in the applicationContext.xml file located in the WEB-INF folder. My specific location is here:
C:\Jaspersoft\jasperreports-server-7.1.0\apache-tomcat\webapps\jasperserver-pro\WEB-INF
In the file, there is a property as follows:
<property name="ignoreGraphics" value="true"/>
with will need to be changed to:
<property name="ignoreGraphics" value="false"/>
Once this change has been made, a server restart will be required to take effect. Logos will be displayed in excel exports.
ref: 01634483
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now