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

kamil.sobczyk

Members
  • Posts

    3
  • Joined

  • Last visited

kamil.sobczyk's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I've tested it and it works! Nice solution - thanks! But... I can't change enything in program source code and I must do the same only using template file :(
  2. Unfortunatelly, It dosn't work as I expected to. Let's assume that i have six elements in datasource (Item1..6). Only two items fits on every page. When I add new datail band like you suggested, I've got: Page 1: Item1 Item2 Page 2: Item3 Rest of the page blank Page 3: Item4 Item5 Page 4: Item6 Rest of the page blank Page 5: Blank Page I do something wrong, but I don't know what :(
  3. I want to have a blank page on every even page (Details->Blak Page->Details->Blank page->and so on....). I'm trying to use code like below and it dosn't work (iReport 5.5.1). Why? <?xml version="1.0" encoding="UTF-8"?><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="Test" language="groovy" pageWidth="595" pageHeight="842" columnWidth="515" leftMargin="40" rightMargin="40" topMargin="40" bottomMargin="40" uuid="708c39d4-ead6-4a83-9edc-835992d74c0f"> <property name="ireport.layers" value="##Thu Mar 12 19:12:05 CET 2015nlayer.0.name=Backgroundnlayer.0.visible=truenlayer.0.id=0"/> <property name="ireport.zoom" value="1.5"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA["D:\Eclipse_workspace\GTL_Przepustki"]]></defaultValueExpression> </parameter> <queryString> <![CDATA[]]> </queryString> <field name="nazwaFirmy" class="java.lang.String"> <fieldDescription><![CDATA[nazwaFirmy]]></fieldDescription> </field> <detail> <band height="372"> <textField> <reportElement x="222" y="172" width="100" height="20" uuid="bde0b02c-5e68-47d9-9b5f-3cffe3551f35"/> <textFieldExpression><![CDATA[$F{nazwaFirmy}]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="11"> <break> <reportElement x="0" y="0" width="515" height="1" uuid="2d41f247-9f4a-4cb9-8bcb-e0d6e0b77bab"/> </break> </band> </columnFooter></jasperReport>[/code]
×
×
  • Create New...