abdullah.a Posted September 28, 2020 Share Posted September 28, 2020 My Jasper report's table of contents works fine. But I am not able to get the background image to cover the entire page since it is not allowing to declare the band height of the background tag to the complete page height (842 px). (Other text elements in the pageHeader, detail and pageFooter tag declare their band heights as well). Please help.<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="TocReport" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="2d2696e4-c268-49e6-88d8-64a44e147b2c"><background> <band height="610"> <image> <reportElement x="0" y="0" width="595" height="610" mode="Transparent" stretchType="ElementGroupHeight"/> <imageExpression class="java.io.InputStream"><![CDATA[$P{backgroundImage1}]]></imageExpression> </image> </band></background>[/code] Link to comment Share on other sites More sharing options...
Recommended Posts
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