Jump to content
JasperReports Library 7.0 is now available ×

pedro.riky

Members
  • Posts

    106
  • Joined

  • Last visited

pedro.riky's Achievements

Collaborator

Collaborator (7/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Hi all i need to save pdf file to a blob.i try: Create the file. String fileName = it.dpe.lib.gui.Main.bufferPath+ System.getProperty("file.separator")+ "Bollato"+ ".pdf"; File file = new File(fileName);file.createNewFile();byte[] xml = JasperExportManager.exportReportToPdf(jasperPrintTotale);file.deleteOnExit(); insert blob Is only a part of the method, but it works fine for text file, image eccc OutputStream outstreamBlob = blobStampa.getBinaryOutputStream();System.out.println("prima del write " + System.currentTimeMillis());outstreamBlob.write(stampa);outstreamBlob.flush();outstreamBlob.close();System.out.println("dopo write " + System.currentTimeMillis());System.out.println("Size BLOB:" + blobStampa.length());preparedStatement.setBlob(1, blobStampa); If y try to read the blob saved, i get back an empty pdf file. Where i fault?
  2. Hi all i have a 3.7.2 Jasper version and i want to improve speed filling by setting net.sf.jasperreports.engine.util.JRProperties.setProperty("net.sf.jasperreports.xpath.executer.factory","net.sf.jasperreports.engine.util.xml.JaxenXPathExecuterFactory"); but it seems that not works. Any idea?
  3. Hi all i have a simple Jasper thath print 3 column. One of this column, is under a printwhen expression, the value is printed in the same xy but print different value depending of some condition. If i print and save a pdf file i have the right result, but if i save an Excel file i lose the cell corrisponding at the printwhenexpression, only in one case. The cell corrisponding to $F{sbilancioDare} is blank. Any ide? resetGroup="MastroGroup" calculation="Sum" incrementType="None"> $F{bilanciodare}</div><div> resetGroup="MastroGroup" calculation="Sum" incrementType="None"> $F{bilancioavere}</div><div> calculation="Sum" incrementType="None"> $F{bilanciodare}</div><div> calculation="Sum" incrementType="None"> $F{bilancioavere}</div><div> resetGroup="MastroGroup" calculation="Sum" incrementType="None"> $F{sbilancioAvere}</div><div> resetGroup="MastroGroup" calculation="Sum" incrementType="None"> $F{sbilancioDare}</div><div> resetGroup="MastroGroup" calculation="Sum" incrementType="None"> $F{saldodareSaldo}</div><div> resetGroup="MastroGroup" calculation="Sum" incrementType="None"> $F{saldoavereSaldo}</div><div> resetGroup="MastroGroup" calculation="Sum" incrementType="None"> $F{sbilancioAvereSaldo}</div><div> resetGroup="MastroGroup" calculation="Sum" incrementType="None"> $F{sbilancioDareSaldo}</div><div> resetGroup="PrefiGroup" calculation="Sum" incrementType="None"> $F{bilanciodare}</div><div> resetGroup="PrefiGroup" calculation="Sum" incrementType="None"> $F{bilancioavere}</div><div> resetGroup="PrefiGroup" calculation="Sum" incrementType="None"> $F{saldodareSaldo}</div><div> resetGroup="PrefiGroup" calculation="Sum" incrementType="None"> $F{saldoavereSaldo}</div><div> calculation="Sum" incrementType="None"> $F{saldodareSaldo}</div><div> calculation="Sum" incrementType="None"> $F{saldoavereSaldo}</div><div> calculation="Sum" incrementType="None"> $P{mapAttivita}.containsKey($F{prefisso}) ? $F{bilanciodare}.subtract($F{bilancioavere}) : new BigDecimal(0) calculation="Sum" incrementType="None"> $P{mapPassivita}.containsKey($F{prefisso}) ? $F{bilancioavere}.subtract($F{bilanciodare}) : new BigDecimal(0) incrementType="None"> $P{mapNetto}.containsKey($F{prefisso}) ? $F{bilancioavere}.subtract($F{bilanciodare}) : new BigDecimal(0) incrementType="None"> $P{mapCosti}.containsKey($F{prefisso}) ? $F{bilanciodare}.subtract($F{bilancioavere}) : new BigDecimal(0) incrementType="None"> $P{mapRicavi}.containsKey($F{prefisso}) ? $F{bilancioavere}.subtract($F{bilanciodare}) : new BigDecimal(0) calculation="Sum" incrementType="None"> $P{mapAttivita}.containsKey($F{prefisso}) ? $F{saldodareSaldo}.subtract($F{saldoavereSaldo}) : new BigDecimal(0) calculation="Sum" incrementType="None"> $P{mapPassivita}.containsKey($F{prefisso}) ? $F{saldoavereSaldo}.subtract($F{saldodareSaldo}) : new BigDecimal(0) calculation="Sum" incrementType="None"> $P{mapNetto}.containsKey($F{prefisso}) ? $F{saldoavereSaldo}.subtract($F{saldodareSaldo}) : new BigDecimal(0) calculation="Sum" incrementType="None"> $P{mapCosti}.containsKey($F{prefisso}) ? $F{saldodareSaldo}.subtract($F{saldoavereSaldo}) : new BigDecimal(0) calculation="Sum" incrementType="None"> $P{mapRicavi}.containsKey($F{prefisso}) ? $F{saldoavereSaldo}.subtract($F{saldodareSaldo}) : new BigDecimal(0) isReprintHeaderOnEachPage="false"> $F{prefisso} stringUtility.fillSx($F{prefisso}+"",3,'0') + " " + Converter.objectFormatter($P{mapDescPref}.get($F{prefisso}),FieldProps.TYPE_STRING) new Boolean($V{TotalePrefissoDare} .compareTo($V{TotalePrefissoAvere} ) >= 0 && $V{TotalePrefissoDare} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) </div><div> </div><div> $V{TotalePrefissoDare}.subtract($V{TotalePrefissoAvere})</div><div> </div><div> </div><div> new Boolean($V{TotalePrefissoDare} .compareTo($V{TotalePrefissoAvere} ) >= 0 && $V{TotalePrefissoDare} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) D new Boolean($V{TotalePrefissoAvere} .compareTo($V{TotalePrefissoDare} ) >= 0 && $V{TotalePrefissoAvere} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) $V{TotalePrefissoAvere}.subtract($V{TotalePrefissoDare}) new Boolean($V{TotalePrefissoAvere} .compareTo($V{TotalePrefissoDare} ) > 0 && $V{TotalePrefissoAvere} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) A isReprintHeaderOnEachPage="true"> $F{mastro} isPrintRepeatedValues="true"> $P{mapMastri}.get($F{prefisso}.toString() + $F{mastro}.toString()) != null "Totale mastro "+ $P{mapMastri}.get($F{prefisso}.toString() + $F{mastro}.toString()) isPrintRepeatedValues="true"> $P{mapMastri}.get($F{prefisso}.toString() + $F{mastro}.toString()) == null "Totale mastro " + $F{mastro}.toString() new Boolean($V{TotaleBilancioDare} .compareTo($V{TotaleBilancioAvere} ) >= 0 && $V{TotaleBilancioDare} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) $V{TotaleBilancioDare}.subtract($V{TotaleBilancioAvere}) new Boolean($V{TotaleBilancioDare} .compareTo($V{TotaleBilancioAvere} ) >= 0 && $V{TotaleBilancioDare} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) D new Boolean($V{TotaleBilancioAvere} .compareTo($V{TotaleBilancioDare} ) >0 && $V{TotaleBilancioAvere} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) $V{TotaleBilancioAvere}.subtract($V{TotaleBilancioDare}) new Boolean($V{TotaleBilancioAvere} .compareTo($V{TotaleBilancioDare} ) >0 && $V{TotaleBilancioDare} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) A hyperlinkTarget="Self" bookmarkLevel="0"> stretchType="NoStretch" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/> $P{intestazione} hyperlinkTarget="Self" bookmarkLevel="0"> stretchType="NoStretch" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/> "Pagina " + ( $V{PAGE_NUMBER}.intValue()) hyperlinkTarget="Self" bookmarkLevel="0"> stretchType="NoStretch" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/> $P{titolo} Conto Descrizione Saldo new Boolean($V{REPORT_COUNT}.intValue()%2 == 1 && !$P{soloMastri} && (!$P{soloTotCliForn} || ($P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0'))))) isPrintRepeatedValues="true"> !$P{soloMastri} && (!$P{soloTotCliForn} || ($P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0')))) $F{conto} !$P{soloMastri} && ( !$P{soloTotCliForn} || ($P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0')))) isPrintRepeatedValues="true" stretchType="RelativeToBandHeight"> !$P{soloMastri} && ( !$P{soloTotCliForn} || ($P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0')))) $F{nome8_1} !$P{soloMastri} && ( !$P{soloTotCliForn} || ($P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0')))) !$P{soloMastri} && ( !$P{soloTotCliForn} || ($P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0')))) new Boolean($F{sbilancioDare} != null && $F{sbilancioDare}.compareTo(new BigDecimal(BigInteger.ZERO)) != 0 && (!$P{soloTotCliForn} && !$P{soloMastri} || (( $P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0'))))) ) $F{sbilancioDare} !$P{soloMastri} && ( !$P{soloTotCliForn} || ($P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0')))) new Boolean($F{sbilancioDare} != null && $F{sbilancioDare}.compareTo(new BigDecimal(BigInteger.ZERO)) != 0 && (!$P{soloTotCliForn} && !$P{soloMastri} || (( $P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0'))))) ) D !$P{soloMastri} &&( !$P{soloTotCliForn} || ($P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0')))) new Boolean($F{sbilancioAvere} != null && $F{sbilancioAvere}.compareTo(new BigDecimal(BigInteger.ZERO)) != 0 && (!$P{soloTotCliForn} && !$P{soloMastri} || (( $P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0'))))) ) $F{sbilancioAvere} new Boolean($F{sbilancioAvere} != null && $F{sbilancioAvere}.compareTo(new BigDecimal(BigInteger.ZERO)) != 0 && (!$P{soloTotCliForn} && !$P{soloMastri} || (( $P{soloTotCliForn} && !$P{mapCliForn}.containsKey(it.dpe.lib.util.StringUtility.fillSx($F{prefisso}+"",3,'0') + "."+ it.dpe.lib.util.StringUtility.fillSx($F{mastro}+"",4,'0'))))) ) A backcolor="#CCCCCC"/> TOTALI GENERALI TOTALE ATTIVITA' TOTALE PASSIVITA' TOTALE NETTO style="Arial_Bold"> ($V{TotaleAttivita}.subtract($V{TotaleNetto}).subtract($V{TotalePassivita})).compareTo(new BigDecimal(BigInteger.ZERO)) >= 0 UTILE PATRIMONIALE style="Arial_Bold"> ($V{TotaleAttivita}.subtract($V{TotaleNetto}).subtract($V{TotalePassivita})).compareTo(new BigDecimal(BigInteger.ZERO)) < 0 PERDITA PATRIMONIALE TOTALE COSTI TOTALE RICAVI style="Arial_Bold"> ($V{TotaleCosti}) .compareTo($V{TotaleRicavi}) > 0 PERDITA ECONOMICA style="Arial_Bold"> ($V{TotaleRicavi}).compareTo($V{TotaleCosti}.abs()) >= 0 UTILE ECONOMICO new Boolean($V{TotaleBilancioDareReport} .compareTo($V{TotaleBilancioAvereReport} ) >= 0 && $V{TotaleBilancioDareReport} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) $V{TotaleBilancioDareReport}.subtract($V{TotaleBilancioAvereReport}) new Boolean($V{TotaleBilancioDareReport} .compareTo($V{TotaleBilancioAvereReport} ) >= 0 && $V{TotaleBilancioDareReport} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) D new Boolean($V{TotaleBilancioAvereReport} .compareTo($V{TotaleBilancioDareReport} ) >=0 && $V{TotaleBilancioAvereReport} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) $V{TotaleBilancioAvereReport}.subtract($V{TotaleBilancioDareReport}) new Boolean($V{TotaleBilancioAvereReport} .compareTo($V{TotaleBilancioDareReport} ) > 0 && $V{TotaleBilancioAvereReport} .compareTo(new BigDecimal(BigInteger.ZERO) ) != 0 ) A $V{TotaleAttivita}.abs() $V{TotaleAttivita}.signum() == -1 ? "A" : "D" $V{TotalePassivita}.abs() $V{TotalePassivita}.signum() == -1 ? "D" : "A" $V{TotaleNetto}.abs() $V{TotaleNetto}.signum() == -1 ? "D" : "A" ($V{TotaleAttivita}.subtract($V{TotalePassivita}).subtract($V{TotaleNetto})).abs() $V{TotaleCosti}.abs() $V{TotaleCosti}.signum() == -1 ? "A" : "D" $V{TotaleRicavi}.abs() $V{TotaleRicavi}.signum() == -1 ? "D" : "A" ($V{TotaleRicavi}.subtract($V{TotaleCosti})).abs() ($P{mapReturn}.put("patrimoniale", $V{TotaleAttivita}.subtract($V{TotaleNetto}).subtract($V{TotalePassivita})) == null ?Boolean.FALSE:Boolean.FALSE) ($P{mapReturn}.put("economico", ($V{TotaleRicavi}.subtract($V{TotaleCosti}))) == null ?Boolean.FALSE:Boolean.FALSE) [/code] The cell corrisponding to $F{sbilancioDare} is blank.Why? any idea?
  4. Hi all i have a jtextarea in my java program and i pass the text of it to Jasper. I put the text in a Texfield but i lose my text format, like new line and carriage return? The text can be inserted by the users so i don't know the lenght and the formatting of the text. Any solution?
  5. Hi all i found thath the subreport lose some data because i set keepTogether=true. Any idea? I want thath the subreport data stay together, there is any solution?
  6. If i put the subreport in the summary it works, is a groupfooter problem.any idea? I try to debug Jasperreport library, and i see when xPathExecuter.selectNodeList(document,selectExpression) is called it return the right number of node but the first node in the list is not the first node in the xml file thath rappresent the xPath expression. How i can get the nodes in the right order? Post Edited by pedro.riky at 07/31/2012 10:01
  7. Is only an idea..Is possible that the font you use doesn't inlcude euro symbol? Is the printer driver up to dtae? try in another pc and verify if is a behaviour problem or a Jasper problem.
  8. Hi all i have a report with a subreport. The sub report is printing in a groupfooter of the master report. I passa, to the master, a org.w3c.dom.Document that rappresent the subreport data. I call the sub report in the following mode : <subreport> <reportElement isPrintRepeatedValues="true" x="0" y="0" width="507" height="10" isRemoveLineWhenBlank="true" backcolor="#ffcc99"> </reportElement> <subreportParameter name="REPORT_DATA_SOURCE"> <subreportParameterExpression> <![CDATA[new net.sf.jasperreports.engine.data.JRXmlDataSource( $P{subTotale},"/totali/totale[@giro='" + $F{giro}+ "']/tot-cau")]]> </subreportParameterExpression> </subreportParameter> <subreportParameter name="XML_DATE_PATTERN"> <subreportParameterExpression>$P{XML_DATE_PATTERN}</subreportParameterExpression> </subreportParameter> <subreportParameter name="XML_NUMBER_PATTERN"> <subreportParameterExpression>$P{XML_NUMBER_PATTERN}</subreportParameterExpression> </subreportParameter> <subreportParameter name="XML_LOCALE"> <subreportParameterExpression>$P{XML_LOCALE}</subreportParameterExpression> </subreportParameter> <subreportParameter name="XML_TIME_ZONE"> <subreportParameterExpression>$P{XML_TIME_ZONE}</subreportParameterExpression> </subreportParameter> <subreportParameter name="pageNumberMaster"> <subreportParameterExpression>$V{PAGE_NUMBER}</subreportParameterExpression> </subreportParameter> <subreportExpression class="net.sf.jasperreports.engine.JasperReport" >$P{subReport}</subreportExpression> </subreport> Then the query of the subreport is : <queryString language="xPath"><![CDATA[totali/totale/tot-cau]]></queryString> My xml data : <totali> <totale giro="1"> <tot-cau> <cod-cau-tot>5</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Resa Periodici Esteri</desc-cau-tot> <importo-cau>9,74 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>201</cod-cau-tot> <tipo-cau-tot>1</tipo-cau-tot> <desc-cau-tot>NS.FATTURA 20%</desc-cau-tot> <importo-cau>6.254,70 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>52</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Fornitura Periodici esteri</desc-cau-tot> <importo-cau>15,10-</importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>11</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>RESA X CESS.ATTIVITA'</desc-cau-tot> <importo-cau>79,18 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>38</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Diff. resa quotidiani</desc-cau-tot> <importo-cau>169,32 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>76</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Add.lavorazione extra</desc-cau-tot> <importo-cau>0,00 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>54</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Fornitura Quot./Illus.</desc-cau-tot> <importo-cau>30,54 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>2</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Resa Quotidiani</desc-cau-tot> <importo-cau>28,26 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>1</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Versamento</desc-cau-tot> <importo-cau>23.319,64 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>8</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Integrazione resa periodici</desc-cau-tot> <importo-cau>210,16 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>3</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Resa PERIODICI</desc-cau-tot> <importo-cau>353,72 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>46</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Versamento RID</desc-cau-tot> <importo-cau>19.439,04 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>4</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Resa Periodici esteri</desc-cau-tot> <importo-cau>332,32 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>41</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>ACCREDITO RESA FUORI BOLLA</desc-cau-tot> <importo-cau>3,00 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>51</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Fornitura PERIODICI</desc-cau-tot> <importo-cau>26.464,00 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>108</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Insoluto RID</desc-cau-tot> <importo-cau>200,00 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>50</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>Fornitura Quotidiani</desc-cau-tot> <importo-cau>90,10 </importo-cau> </tot-cau> <tot-cau> <cod-cau-tot>86</cod-cau-tot> <tipo-cau-tot>10</tipo-cau-tot> <desc-cau-tot>ADDEBITO CONTO DEPOSITO</desc-cau-tot> <importo-cau>21.205,66 </importo-cau> </tot-cau> </totale> </totali> The data sometime are printed, sometime no sometime partially. Sure i do an error in one of the xpath query, but i try many solution without find the right, any idea?
  9. Hi all i need to design a diagonal line in the lastpagefooter that goes from left to right and fill the entire remaining space, is possible?
  10. Hi all i have a page header with two group of fields thath rappresents one the address of the reciver and the other the address of the secon receiver. Just because my xml file, for the data, is come from a procedure that i can't change can i have the follow situation: t=text n=no text address1 address2 row1 t t row2 t n row3 t t So i have a white space in the right section that is no pretty-look. I try removelinewhenblank but because the two text field are on the same horrizzontal row not works. The only thing that i think is to change the xml data. Any idea?
  11. Hi all i have some old xml print file saved with &#8364; sequence instead the € symbol,if i put this sequence in a textfield is not converted in €. Is there a easy way to do this? Thanks
  12. Hi Frank thanks for the answer, i try but i'm not able to use it. I have my default style </conditionalStyle> </style> the field is <field name="rowstyle" class="java.lang.String"> <fieldDescription><![CDATA[@rowstyle]]></fieldDescription> </field> and my data is <totale titolo="2) costi di ricerca, di sviluppo e di pubblicita`;" rowstyle="D" font-size="" font-type="" text-align="" testo-sostitutivo=""/> What is wrong? the only font is used is my default.
  13. Hi all i have my application that use Jasper to print a document, the user can decide row for row the font and the size of the text. is there the possibility to substitute the attribute of a reportElement? I want something like this : <textField isBlankWhenNull="true" isStretchWithOverflow="true"> <reportElement positionType="FixRelativeToTop" x="0" y="0" width="505" height="8" isPrintWhenDetailOverflows="true" style="mystyle" isPrintInFirstWholeBand="true"> </reportElement> <textElement textAlignment="Left" verticalAlignment="Top"> <font size="@mysize"/> </textElement> <textFieldExpression class="java.lang.String"> <![CDATA[$F{titolo}]]> </textFieldExpression> </textField> any idea?
  14. Hi all i have a goup without header and i want that his footer will be printed on a new page. I try isStartNewPage but i think it works only for the header. Any idea?
  15. The problem is that i forgot parameter.put(JRParameter.REPORT_LOCALE, Locale.ITALY);
×
×
  • Create New...