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

wiwi.trashinbox

Members
  • Posts

    3
  • Joined

  • Last visited

wiwi.trashinbox'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. hello, i want to modifiy color of my table (in detail block). I tried to modify using Style ( table_CH, table_TH, table_1 ... and all the list) But i don't find the good color. So i want to modifiy values of colors manually using RGB code or html code. Is it possible ? how to do this? Thank you. wiwi
  2. hello. I have 1 master report with 3 subreport (into 3 groups) and in the result, i have 2 blank page at the end. List of my master report: Title, Page Header, SubreportGroup1, SubreportGroup2, SubreportGroup3, and Page Footer No more All my subreport returns data. I tryied to execute all subreport 1 by 1 and and i don't have blank pages, but in my master report, i have these blank pages. So i don't understand the problem can you help me please. <?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="Master" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="adb14907-01c9-4f5a-8e34-1d25cce67c07"><property name="ireport.zoom" value="1.0"/><property name="ireport.x" value="0"/><property name="ireport.y" value="0"/><parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"><defaultValueExpression><![CDATA["C:\Users\wsanny\Desktop\testJava\Sous rapport\"]]></defaultValueExpression></parameter><parameter name="PM_TITRE" class="java.lang.String"/><parameter name="BEG" class="java.lang.String"/><parameter name="END" class="java.lang.String"/><queryString language="SQL"><![CDATA[select code_langage, count(*) from gem_objetwhere date_creation between to_date('01/09/2013','DD/MM/YYYY') and to_date('30/09/2013','DD/MM/YYYY')group by code_langage]]></queryString><field name="CODE_LANGAGE" class="java.lang.String"/><field name="COUNT(*)" class="java.math.BigDecimal"/><variable name="AValueFromSubRep" class="java.lang.String"/><group name="SubreportGroup" minHeightToStartNewPage="10"><groupExpression><![CDATA[$F{CODE_LANGAGE}]]></groupExpression><groupHeader><band height="40" splitType="Immediate"><printWhenExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()==1)]]></printWhenExpression><subreport><reportElement uuid="b352cfbb-27a9-42bd-a3d8-06e32b96fea2" x="0" y="10" width="200" height="20" isPrintWhenDetailOverflows="true"/><subreportParameter name="END"><subreportParameterExpression><![CDATA[$P{END}]]></subreportParameterExpression></subreportParameter><subreportParameter name="BEG"><subreportParameterExpression><![CDATA[$P{BEG}]]></subreportParameterExpression></subreportParameter><connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression><subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "ListeObjets.jasper"]]></subreportExpression></subreport></band></groupHeader></group><group name="SubreportGroup2" isStartNewPage="true" minHeightToStartNewPage="10"><groupExpression><![CDATA[$F{CODE_LANGAGE}]]></groupExpression><groupHeader><band height="40"><printWhenExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()==1)]]></printWhenExpression><subreport><reportElement uuid="ea891b7b-377f-4897-8d77-1c448f7be5de" x="0" y="10" width="200" height="20" isPrintWhenDetailOverflows="true"/><subreportParameter name="END"><subreportParameterExpression><![CDATA[$P{END}]]></subreportParameterExpression></subreportParameter><subreportParameter name="BEG"><subreportParameterExpression><![CDATA[$P{BEG}]]></subreportParameterExpression></subreportParameter><connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression><subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "NomsObjets.jasper"]]></subreportExpression></subreport></band></groupHeader></group><group name="SubreportGroup3" minHeightToStartNewPage="10"><groupExpression><![CDATA[$F{CODE_LANGAGE}]]></groupExpression><groupHeader><band height="20" splitType="Prevent"><printWhenExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()==1)]]></printWhenExpression><subreport><reportElement uuid="7a8e340f-c164-4e60-9ec3-4c0023b691c1" x="5" y="0" width="200" height="20" isPrintWhenDetailOverflows="true"/><subreportParameter name="END"><subreportParameterExpression><![CDATA[$P{END}]]></subreportParameterExpression></subreportParameter><subreportParameter name="BEG"><subreportParameterExpression><![CDATA[$P{BEG}]]></subreportParameterExpression></subreportParameter><connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression><subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "DetailsObjets.jasper"]]></subreportExpression></subreport></band></groupHeader></group><title><band height="79" splitType="Stretch"><frame><reportElement uuid="8fe8462e-a9a4-4ab2-aec3-f477c10e4f03" mode="Opaque" x="0" y="-9" width="555" height="88" backcolor="#006699"/><textField><reportElement uuid="df2cba1b-f521-48ca-a5cc-d0a68f69cb3b" x="154" y="28" width="334" height="32" forecolor="#FFFFFF"/><textElement><font size="24" isBold="true"/></textElement><textFieldExpression><![CDATA[$P{PM_TITRE}]]></textFieldExpression></textField><staticText><reportElement uuid="a1758731-9c61-4041-a688-3b4e4e3d5990" x="5" y="9" width="189" height="20" forecolor="#FFFFFF"/><textElement><font size="14" isBold="true"/></textElement><text><![CDATA[Reporting ]]></text></staticText></frame></band></title><pageHeader><band height="20" splitType="Stretch"><rectangle><reportElement uuid="5018992e-9972-4473-9ddc-9ac5788e328a" x="0" y="0" width="555" height="20" backcolor="#CCCCCC"/><graphicElement><pen lineWidth="0.0"/></graphicElement></rectangle><staticText><reportElement uuid="2d9bf388-f5b8-46e8-a860-cbe10d887738" x="92" y="0" width="89" height="20"/><textElement><font size="14" isBold="true"/></textElement><text><![CDATA[Période du :]]></text></staticText><staticText><reportElement uuid="c12d8b52-b6a6-4d08-8324-f22382cc4b3f" x="281" y="0" width="31" height="20"/><textElement><font size="14" isBold="true"/></textElement><text><![CDATA[au]]></text></staticText><textField><reportElement uuid="4193ba9a-ae38-434f-835b-6911061e9189" x="194" y="0" width="77" height="20"/><textElement><font size="14" isBold="true"/></textElement><textFieldExpression><![CDATA[$P{BEG}]]></textFieldExpression></textField><textField><reportElement uuid="eec8c6b5-9340-40df-94ed-1ed121970cba" x="342" y="0" width="119" height="20"/><textElement><font size="14" isBold="true"/></textElement><textFieldExpression><![CDATA[$P{END}]]></textFieldExpression></textField></band></pageHeader><pageFooter><band height="26" splitType="Immediate"><rectangle><reportElement uuid="d1fe6a59-9d69-4b59-a93c-faa078b3485d" x="0" y="0" width="555" height="20" backcolor="#CCCCCC"/></rectangle><textField><reportElement uuid="171fab8a-703c-4bb5-83d4-9b6d55d1e528" x="434" y="0" width="80" height="20"/><textElement textAlignment="Right"/><textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression></textField><textField evaluationTime="Report"><reportElement uuid="5c02d5f0-5172-4c42-915b-650a47dcca66" x="515" y="0" width="40" height="20"/><textElement/><textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression></textField><textField pattern="dd/MM/yyyy"><reportElement uuid="3e8e12cb-8237-428c-92a0-565acf6d1fe7" x="14" y="0" width="100" height="20"/><textElement/><textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression></textField></band></pageFooter></jasperReport>
×
×
  • Create New...