marall80
Members-
Posts
23 -
Joined
-
Last visited
marall80's Achievements
-
I use 3.6.0 version These are my subreport codes although I set isremovelinewhenblank="true" but I still have some line space between my records what should I do? <?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="sub-NewCardRequestList" language="groovy" pageWidth="1133" pageHeight="842" columnWidth="1133" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0"> <import value="com.pardis.report.jasper.utils.JalaliDateUtil"/> <style name="style1" isDefault="false" hAlign="Right" vAlign="Middle" markup="styled" fontName="B Nazanin" fontSize="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="BNazanin.ttf" pdfEncoding="Identity-H"/> <field name="personnelFirstName" class="java.lang.String"> <fieldDescription><![CDATA[personnelFirstName]]></fieldDescription> </field> <field name="personnelLastName" class="java.lang.String"> <fieldDescription><![CDATA[personnelLastName]]></fieldDescription> </field> <field name="personnelFirstNameEn" class="java.lang.String"> <fieldDescription><![CDATA[personnelFirstNameEn]]></fieldDescription> </field> <field name="personnelLastNameEn" class="java.lang.String"> <fieldDescription><![CDATA[personnelLastNameEn]]></fieldDescription> </field> <field name="personnelNationalCode" class="java.lang.String"> <fieldDescription><![CDATA[personnelNationalCode]]></fieldDescription> </field> <field name="personnelCode" class="java.lang.String"> <fieldDescription><![CDATA[personnelCode]]></fieldDescription> </field> <field name="personnelBirthDate" class="java.util.Date"> <fieldDescription><![CDATA[personnelBirthDate]]></fieldDescription> </field> <field name="personnelGender" class="java.lang.Integer"> <fieldDescription><![CDATA[personnelGender]]></fieldDescription> </field> <field name="personnelMobileNumber" class="java.lang.String"> <fieldDescription><![CDATA[personnelMobileNumber]]></fieldDescription> </field> <field name="personnelEmailAddress" class="java.lang.String"> <fieldDescription><![CDATA[personnelEmailAddress]]></fieldDescription> </field> <field name="creditAmount" class="java.lang.String"> <fieldDescription><![CDATA[creditAmount]]></fieldDescription> </field> <variable name="issdate" class="java.lang.String" resetType="None"> <variableExpression><![CDATA[JalaliDateUtil.convertToJalaliDate(new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format($F{personnelBirthDate}))]]></variableExpression> </variable> <background> <band splitType="Stretch"/> </background> <title> <band splitType="Stretch"/> </title> <pageHeader> <band splitType="Stretch"/> </pageHeader> <columnHeader> <band splitType="Stretch"/> </columnHeader> <detail> <band height="14" splitType="Stretch"> <textField isBlankWhenNull="true"> <reportElement style="style1" positionType="Float" x="0" y="0" width="1133" height="14" isRemoveLineWhenBlank="true"/> <textElement textAlignment="Left"> <font isPdfEmbedded="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[string.valueOf($V{REPORT_COUNT}) + "," + $F{personnelFirstName} + "," + $F{personnelLastName}+ "," + $F{personnelFirstNameEn} + "," + $F{personnelLastNameEn}+ "," +$F{personnelNationalCode} + "," + (($F{personnelCode}.equals( null )) ? "" : $F{personnelCode}) + "," + $V{issdate} +"," + String.valueOf($F{personnelGender})+ "," + $F{personnelMobileNumber} + "," + (($F{personnelEmailAddress}.equals( null )) ? "" : $F{personnelEmailAddress}) + "," + $F{creditAmount}]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band splitType="Stretch"/> </columnFooter> <pageFooter> <band splitType="Stretch"/> </pageFooter> <summary> <band splitType="Stretch"/> </summary> </jasperReport>
-
was it solved or not? it is my problem now.what should i do? ii use 3.6.0 version
-
I took docx file but word can not open it.My ireport version is 3.6.0 and when i change its suffix to .pdf it easily opens as pdf format my reports work properly in pdf and xls format what should I do? these are my codes else if (ReportUtils.FORMAT_DOCX.equals(outputFormat)) { JRDocxExporter exporter = new JRDocxExporter(); export(out, exporter, jasperPrint, exportParameters); ******* private void export(OutputStream out, JRExporter exporter, JasperPrint jasperPrint, Map exportParameters) throws JRException { exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, out); if(exportParameters != null) exporter.getParameters().putAll(exportParameters); exporter.exportReport(); }
-
My language is arabic but in some cases I have texts both in arabic and english in one field for example "مخابرات TCT" when i use arabic font ,english text doesn't show and by english font ,the arabic text doesn't show what should I do?
-
How to make multiple reports with one report file?
marall80 replied to prileep1699955918's topic in Products
did you find out the solution ? tell me please -
is it possible to have xls and pdf output just by one file? i always make 2 separate files because i check ignore pagination in xls but not in pdf format
-
i have a report like this page header detail1(text fields) detail2(subreport) summary everything is ok but summary doesn't come immediately after detail 2 ,there is some space between them. and when report is 2 pages,page header doesn't show in page two. what should i do?
-
i use ireport 3.6.0 and it works with jre 5 i had to install jre 6 but i recieved Bad version number in .class file i think it still uses jre 5 . how can i change it to 6?
-
let me explain it for you at first we used ireport 3.6.0 and jar files 3.6.0 then we upgraded jar files to 4.0.1 but i used 3.6.0 and all reports work properly. when i installed ireport 4.0.1 and the jar files were 4.0.1 my reports dont work. and ireport 4.0.2 with jar files 4.0.2 are the same as 4.0.1 ther is something wrong with version 4.0.1 or 4.0.2. how it possible that ireport 3.6.0 works with jar files 4.0.1 but ireport 4.0.1 doesnt work with jar files 4.0.1 what files we should upgrade in weblogic for version 4.0.1 or 4.0.2?
-
let me explain it for you at first we used ireport 3.6.0 and jar files 3.6.0 then we upgraded jar files to 4.0.1 but i used 3.6.0 and all reports work properly. when i installed ireport 4.0.1 and the jar files were 4.0.1 my reports dont work. and ireport 4.0.2 with jar files 4.0.2 are the same as 4.0.1 ther is something wrong with version 4.0.1 or 4.0.2. how it possible that ireport 3.6.0 works with jar files 4.0.1 but ireport 4.0.1 doesnt work with jar files 4.0.1????
-
when we want to upgrade ireport , what should be updated in weblogic? what files? i worked with ireprt 3.6.0 and weblogic files were 4.0.1 and all report worked properly but when i changed ireport too 4.0.1 or 4.0.2 reports didn't work. what should i do?
-
i had ireport 3.6.0 and upgraded to 4.0.2 and i just recompiled my reports. and also we updated old files to jasperreports-4.0.2.jar ,applet,font and javaflow.are they enough? but my report don't work properly. what shoud i do now? please help me
-
i built my reports with ireport version 3.6.0 i wanted to compile my report with new version 4.0.1 or 4.0.2 but unfortunately none of my reports worked. i and my colleagues work on them i make reports and give them the jaspers then they use weblogic and put them in our site. they use jasperreports-4.0.2.jar jasperreports-fonts-4.0.2.jar jasperreports-applet-4.0.2.jar veocity-dep-1.5.jar-Lib/velocity-1.5 veocity-1.5.jar-Lib/velocity-1.5 what shoud we do ?please help us we receive this error: java.lang.RuntimeException: java.lang.ClassCastException: cannot assign instance of net.sf.jasperrep orts.engine.base.JRBaseTextField to field net.sf.jasperreports.engine.base.JRBaseParagraph.paragraph Container of type net.sf.jasperreports.engine.JRParagraphContainer in instance of net.sf.jasperrepor ts.engine.base.JRBaseParagraph at com.fanava.psp.report.Report.fill(Report.java:86) at com.fanava.psp.report.ReportUtils.report(ReportUtils.java:53) at com.fanava.psp.report.ReportUtils.report(ReportUtils.java:25) at com.fanava.bank.report.BankReportUtils.report(BankReportUtils.java:135) at com.pardis.report.card.IssuedCard.getReport(IssuedCard.java:59) at com.pardis.report.mbeans.ReportRunnerThread.run(ReportRunnerThread.java:30) Caused by: java.lang.ClassCastException: cannot assign instance of net.sf.jasperreports.engine.base. JRBaseTextField to field net.sf.jasperreports.engine.base.JRBaseParagraph.paragraphContainer of type net.sf.jasperreports.engine.JRParagraphContainer in instance of net.sf.jasperreports.engine.base.JR BaseParagraph Post Edited by marall80 at 04/25/2011 06:39
-
i built my reports with ireport version 3.6.0 i wanted to compile my report with new version 4.0.1 or 4.0.2 but unfortunately none of my reports worked. i and my colleagues work on them i make reports and give them the jaspers then they use weblogic and put them in our site. they use jasperreports-4.0.2.jar jasperreports-fonts-4.0.2.jar jasperreports-applet-4.0.2.jar veocity-dep-1.5.jar-Lib/velocity-1.5 veocity-1.5.jar-Lib/velocity-1.5 what shoud we do ?please help us we receive this error: java.lang.RuntimeException: java.lang.ClassCastException: cannot assign instance of net.sf.jasperrep orts.engine.base.JRBaseTextField to field net.sf.jasperreports.engine.base.JRBaseParagraph.paragraph Container of type net.sf.jasperreports.engine.JRParagraphContainer in instance of net.sf.jasperrepor ts.engine.base.JRBaseParagraph at com.fanava.psp.report.Report.fill(Report.java:86) at com.fanava.psp.report.ReportUtils.report(ReportUtils.java:53) at com.fanava.psp.report.ReportUtils.report(ReportUtils.java:25) at com.fanava.bank.report.BankReportUtils.report(BankReportUtils.java:135) at com.pardis.report.card.IssuedCard.getReport(IssuedCard.java:59) at com.pardis.report.mbeans.ReportRunnerThread.run(ReportRunnerThread.java:30) Caused by: java.lang.ClassCastException: cannot assign instance of net.sf.jasperreports.engine.base. JRBaseTextField to field net.sf.jasperreports.engine.base.JRBaseParagraph.paragraphContainer of type net.sf.jasperreports.engine.JRParagraphContainer in instance of net.sf.jasperreports.engine.base.JR BaseParagraph Post Edited by marall80 at 04/25/2011 05:53 Post Edited by marall80 at 04/25/2011 06:39