Jump to content
We've recently updated our Privacy Statement, available here ×

abdullah.a

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by abdullah.a

  1. 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]
  2. I am using Java APIs to compile Jasperreports jrxml templates without groups and parts, using only subreports. I am able to successfully generate a PDF report with bookmarks. I need to create a table of contents subreport. The API net.sf.jasperreports.engine.JasperPrint.getBookmarks returns correctly a bookmarks arrayList with (label, level, pageIndex). I need help in passing this bookmarks arraylist property as a parameter in the dataSourceExpression tag to my table of contents subreport from my master jrxml template. The textfields in my ToC subreport have evaluation set to "report" so I can get the values during report generation. Please help.
×
×
  • Create New...