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

anupp1983

Members
  • Posts

    49
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by anupp1983

  1. Hi, I am using jasper report4.0.1 and i want to set classpath in Ireport but i have to set Classpath in the configuration file.then it will give error.. Save failed Pleasec check wheather if this file is opened in another program. C:Program FilesJaspersoftiReport-4.0.1etcireport.conf Plz help me... thanks Anup
  2. Hi, I am usnig jasper report4.0.1.Actually i want to generate internatilization report but i m facing issue error is-- but proepriies file is there and jrxml also..I am sending the code plz verify my code where i m stucking code in jrxml or java code. plz help me... Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name localization, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260) at java.util.ResourceBundle.getBundle(ResourceBundle.java:962) at net.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundle(JRResourcesUtil.java:571) at net.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundle(JRResourcesUtil.java:509) at net.sf.jasperreports.engine.fill.JRFillDataset.loadResourceBundle(JRFillDataset.java:533) at net.sf.jasperreports.engine.fill.JRFillDataset.setParameterValues(JRFillDataset.java:568) at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1280) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:901) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:864) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:84) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:624) at client.LocalizationDemoReportFill.main(LocalizationDemoReportFill.java:41) Process exited with exit code 1. Thanks& Regads Anup Code:package client;import java.io.IOException;import java.io.InputStream;import java.util.HashMap;import java.util.Locale;import java.util.Properties;import net.sf.jasperreports.engine.JREmptyDataSource;import net.sf.jasperreports.engine.JRException;import net.sf.jasperreports.engine.JRParameter;import net.sf.jasperreports.engine.JasperCompileManager;import net.sf.jasperreports.engine.JasperExportManager;import net.sf.jasperreports.engine.JasperFillManager;import net.sf.jasperreports.engine.JasperPrint;import net.sf.jasperreports.engine.JasperReport;import net.sf.jasperreports.view.JasperViewer;public class LocalizationDemoReportFill { private static final String PROP_FILE="localization.properties"; public static void main(String[] args) { // Read properties file. Properties properties = new Properties(); String text1=null; try { InputStream is = LocalizationDemoReportFill.class.getResourceAsStream(PROP_FILE); properties.load(is); text1 = properties.getProperty("localization.text1"); System.out.println("Prop key val------- "+text1); HashMap parameterMap = new HashMap(); parameterMap.put(JRParameter.REPORT_LOCALE,Locale.ENGLISH); System.out.println("Filling report..."); String str_reportName="C:\\Users\\admin\\Desktop\\LocalizationDemoReport.jrxml"; JasperReport jasperReport =JasperCompileManager.compileReport(str_reportName); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,parameterMap,new JREmptyDataSource()); JasperExportManager.exportReportToPdfFile(jasperPrint, "D://val12.pdf"); JasperViewer.viewReport(jasperPrint); System.out.println("Done!"); } catch (IOException e) { } catch (JRException e) { } }}
  3. Hi, I am using jasper report4.0.1.I want to generate Dynamic Internationalization report. So how to implement the Dynamic Internationalization report PDF. Plz help me . Thanks Anup
  4. Hi, I am using jasper report4.0.1.I want to generate Arabic word in PDF.My simple java code its working but when i am running the web application through servlet generate report it is comming error because i m using dynamic path name . According to My project i have given My Folder struture is --> C:UsersadminAppDataRoamingJDevelopersystem11.1.1.2.36.55.36o.j2eedrsXBSystemMastersXBSystemMastersUIWebApp.warFontsARIAL.TTF But in my JRXML i have given dynamic path is in place of --> "../../Fonts/ARIAL.TTF" but error is showing Info 9 0 R/Size 10>> startxref 1013 %%EOF net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font : pdfFontName : ../../Fonts/ARIAL.TTF pdfEncoding : Identity-H isPdfEmbedded : true at net.sf.jasperreports.engine.export.JRPdfExporter.getFont(JRPdfExporter.java:1961) at net.sf.jasperreports.engine.export.JRPdfExporter.getChunk(JRPdfExporter.java:1725) a I am using for arabic word <textElement textAlignment="Center"> <font fontName="Arial" size="14" isBold="true" isStrikeThrough="false" pdfFontName="../../Fonts/ARIAL.TTF" pdfEncoding="Identity-H" isPdfEmbedded="true"/> </textElement> but showing error .. so can i dynamic path used..? so plz help me ..how to resolve this issue... Thanks Anup Prasad Post Edited by anup1983 at 07/27/2012 13:56
  5. Hi, I am using jasper report4.0.1.And I want to generate Page Header(Contains) Center in Excel Report . So how to merger cell In Excel . Thanks Anup
  6. Hi, I am using jasper report4.0.1.My Requirement is On Screen , User select 3(check Box) column then According to Report should be displayed,if user select 5(checkbox) Column then according to Report should be Displayed. Let me know if any solution then please give me link . Thanks Anup Prasad
  7. Hi, I am using jasreport4.0.1 and i want to generate report without gap Row and Column. I am facing problem is to generate report ,Row and column very gap is comming. And also attaching Excel file also. My code is below. ByteArrayOutputStream output = new ByteArrayOutputStream(); OutputStream outputfile= new FileOutputStream(new File("D:/TestReportExcel.xls")); JRXlsExporter exporterXLS = new JRXlsExporter(); exporterXLS.setParameter(JRXlsExporterParameter.JASPER_PRINT, jasperPrint); exporterXLS.setParameter(JRXlsExporterParameter.OUTPUT_STREAM, output); exporterXLS.setParameter(JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.FALSE); exporterXLS.setParameter(JRXlsExporterParameter.IS_AUTO_DETECT_CELL_TYPE, Boolean.TRUE); exporterXLS.setParameter(JRXlsExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE); exporterXLS.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE); exporterXLS.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS, Boolean.TRUE); exporterXLS.setParameter(JRXlsExporterParameter.IS_COLLAPSE_ROW_SPAN, Boolean.TRUE); exporterXLS.exportReport(); outputfile.write(output.toByteArray()); Thanks Anup Prasad
  8. Thanks ,,I have Resolved the issue... But I dont want to create Jar File.So without creating jar file I want to use parameter Report_Format_Factory .Is any idea how to use this one.. public void customize(JFreeChart chart, JRChart jasperChart) { PiePlot3D piePlot3D = (PiePlot3D) chart.getPlot(); ((StandardPieSectionLabelGenerator)piePlot3D.getLabelGenerator()).getPercentFormat().setMaximumFractionDigits(2); } Thanks Anup Post Edited by anupp1983 at 08/09/2011 06:00
  9. Hi, I am using jasper report4.0.1. <pie3DPlot labelFormat="{2}" > <plot/> </pie3DPlot Using this i can display only decimal values..... Like 20% 55%.......... I want to display output in pie chart like 12.25%, 55.30%, 0.05%......... I am also attaching JRXML and JPEG file also. plz Check it my jrxml where is exactly i am missing...In pie chart.. Thanks in Advance Anup
  10. Hi, I am using jasper report4.0.1.I want to generate report using Store procedure.So give me any link or send me the example of how to call store procedure in ireport..I am usign oracle database. please help me... Thanks Anup
  11. Hi, I am using jasper report4.0.1.My problem is how to use installation parameter pattern Dynalically in Ireport. Actually i dont want to use static pattern(#,##0.0000) in ireport4.0.1.Is it possible pattern dynamically in IReport. can i use Dynamically Pattern in Ireport4.0.1? Can any one give suggestion .... thanks in advance. Anup Post Edited by anupp1983 at 07/20/2011 12:17
  12. Hi, I am using jasper report4.0.1. and i want to generate pie chart in fraction value . example: 12.52% 45.56% like that showing in pie chart... So please give me any ideas... So please help me . Thanks Anup Post Edited by anupp1983 at 07/12/2011 06:48
  13. Hi, I am using ireport4.0.1. <pie3DPlot labelFormat="{2}" legendLabelFormat="{0} {1}"> <plot/> </pie3DPlot Using this i can display only decimal values..... Like 20% 55%.......... I want to display output in pie chart like 12.25%, 55.30%, 0.05%......... How can implement this.............. I am sending Pie char t JRXMl.plz Check it my jrxml where is exactly i am missing...In pie chart.. plz help me.. Thanks in Advance Anup
  14. Hi, I am using jasper report3.6.How to use pow function in ireport .I want to calculate fraction value in pow function. Example: BigDecimal tempvar= new BigDecimal("20"); tempvar.pow(2.5) ---------------->this is error because Bigdecmal pow function return integer value.. So i want to use Math.pow(20,2.5) but Math function is not in ireport. So how to use Math function in ireport . Can any one give suggestion .... thanks in advance. Anup
  15. Hi, how to put bind variable stored procedure in iReport .. Thanks Anup
  16. Hi, I am using jasper report3.6.Can we call oracle store procedure in ireport.? Can any one give suggestion .... thanks in advance. Anup
  17. Hi, I am using jasper report3.6.My Question is how to calculate difference beween two date is ireport.. Can any one give suggestion .... thanks in advance. Anup Post Edited by anupp1983 at 05/18/2011 12:04
  18. Hi, Is it possible Dynamic Column header in IRort.? Thanks Anup
  19. Hi, Actually i m not unable to generate the pdf report in Mozilla version4. Sometimes PDF Report Data is generated and sometimes PDF Report Data is blank.but In Old version mozilla3.6 everything is working. Can any one give suggestion .... thanks in advance. Anup
  20. Hi, I am using jasper report3.6.In mozilla browser version3.6 ,Jasper report is running properly but in Mozilla Browser version 4.0 jasper report is not working properly.sometimes pdf report is generated or sometimes PDF report is not generated... is the jasper version problem ? so wht is the solution... Thanks&Regards Anup
  21. Hi, I am sending JRXMl.and I am using ireport3.6 and java vesion is 1.6. According to ur above suggestion,I m getting error.. java.lang.ClassNotFoundException Thanks in Advance Anup
  22. Hi, I am using ireport3.6.According to your suggestion java.text.NumberFormat.getPercentInstance($P{REPORT_LOCALE}) i am getting exception java.lang.ClassNotFoundException: java.text.NumberFormat.getPercentInstance($P{REPORT_LOCALE}) is thr any jar file required for this exception? how to resolve the issue... Thanks in advance.. Anup
  23. Hi, How to display the fractional values in Pie chart........... <pie3DPlot labelFormat="{0} {2}" legendLabelFormat="{0} {1}"> <plot/> </pie3DPlot Using this i can display only decimal values..... Like 20% 55%.......... I want to display output in pie chart like 12.25%, 55.30%, 0.05%......... How can implement this.............. plz help me.. Thanks in advance...
  24. Hi, I am using jasper report3.6.In PIE chart I want to show percenatge in Bigdecimal value as a label . but Problem is i m getting round value as a label . So plz how can i show the chart Report as a label format in decimal percenatge value. I am attachihng PDF Also. plz response by mail..How can i resolve the issue. Thanks in Advance Anup
  25. Hi, I m using jasper report 3.6. I have a requiment , to calculate the TOTAL at runtime on basis of Transaction type, i have to add and subtract the TOTAL with AMOUNT. Ex : Txn Type AMOUNT TOTAL Depost 100 100 Depost 200 300(Add 100+200) as a example WithDrawal 50 250 Depost 500 750 Plz help me thanks advance Anup
×
×
  • Create New...