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

lreddy

Members
  • Posts

    10
  • 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 lreddy

  1. Hi Gaby, I am attaching the jrxml files,please find it
  2. Hi , I need to display the No Data Found when no data retrieved from database.I have set the when No data to : No-Data Section in Report Propertiess.I am able to get the No data Found in my report if there is no data, but if there is data then the No Data Found string is displaying after every row. I have set the No Data Found test in noData band. Can anybody help to solve this? please find the attached Report
  3. JRDesignTextField txt = new JRDesignTextField(); txt.setStretchWithOverflow(true);
  4. set that particular text filed to setStretchWithOverflow to true,then it will stretch only to that field. find the follwoing code FYI: JRDesignTextField txt = new JRDesignTextField(); txt.setStretchWithOverflow(true);
  5. Got the solution for this,it is because of using ByteArrayOutputStream,ByteArrayOutputStream is not supporting UTF encoding properly,replaced this with CharacterArray or Writer,working fine.
  6. got the solution for this,it is because of ByteArrayOutputStream is not suppoting UTF encoding properly,Replace this with Writer or CharacterWriter then working fine
  7. hi i am having problem in exporting foreign characters to csv file using jasper report. input data : à À â  è È é É ê Ê ë Ë î Î ï Ï ô Ô û ù Ù Û ü Ü ÿ ç Ç « » £ when i export to csv its not exporting properly.it is displaying like : à À â  è È é É ê Ê ë Ë î ÃŽ ï àô Ô û ù Ù Û ü Ãœ ÿ ç Ç « » £ here is the java code : new HashMap();REPORT_LOCALE, Locale.US)new FileInputStream(new File("CSV_Report.xml")); new FileOutputStream(new File("CSVReport.csv"));new ByteArrayOutputStream();new JRCsvExporter();JASPER_PRINT, print);OUTPUT_STREAM, byteArrayCSV); But it is working fine for other formate like PDF and HTML,XLS.please suggest any thhing i need to change for CSV formate. OutputStream ouputCSV = ByteArrayOutputStream byteArrayCSV = JRCsvExporter exporterCSV = exporterCSV.setParameter(JRCsvExporterParameter. exporterCSV.setParameter(JRCsvExporterParameter. exporterCSV.exportReport(); ouputCSV.write(byteArrayCSV.toByteArray()); ouputCSV.flush(); ouputCSV.close(); params.put(JRParameter.; InputStream input = design = JRXmlLoader.load(input); report = JasperCompileManager.compileReport(design); print = JasperFillManager.fillReport(report, params, conn); Map params =
  8. hi i am having problem in exporting foreign characters to csv file using jasper report. input data : à À â  è È é É ê Ê ë Ë î Î ï Ï ô Ô û ù Ù Û ü Ü ÿ ç Ç « » £ when i export to csv its not exporting properly.it is displaying like : à À â  è È é É ê Ê ë Ë î ÃŽ ï àô Ô û ù Ù Û ü Ãœ ÿ ç Ç « » £ here is the java code : new HashMap();REPORT_LOCALE, Locale.US)new FileInputStream(new File("CSV_Report.xml")); new FileOutputStream(new File("CSVReport.csv"));new ByteArrayOutputStream();new JRCsvExporter();JASPER_PRINT, print);OUTPUT_STREAM, byteArrayCSV); But it is working fine for other formate like PDF and HTML,XLS.please suggest any thhing i need to change for CSV formate. OutputStream ouputCSV = ByteArrayOutputStream byteArrayCSV = JRCsvExporter exporterCSV = exporterCSV.setParameter(JRCsvExporterParameter. exporterCSV.setParameter(JRCsvExporterParameter. exporterCSV.exportReport(); ouputCSV.write(byteArrayCSV.toByteArray()); ouputCSV.flush(); ouputCSV.close(); params.put(JRParameter.; InputStream input = design = JRXmlLoader.load(input); report = JasperCompileManager.compileReport(design); print = JasperFillManager.fillReport(report, params, conn); Map params = Post Edited by lreddy at 05/27/2009 19:09 Post Edited by lreddy at 05/27/2009 19:11
  9. hi i am having problem in exporting foreign characters to csv file using jasper report. input data : à À â  è È é É ê Ê ë Ë î Î ï Ï ô Ô û ù Ù Û ü Ü ÿ ç Ç « » £ when i export to csv its not exporting properly.it is displaying like : à À â  è È é É ê Ê ë Ë î ÃŽ ï àô Ô û ù Ù Û ü Ãœ ÿ ç Ç « » £ here is the java code : Map params = new HashMap();REPORT_LOCALE, Locale.US)new FileInputStream(new File("CSV_Report.xml")); OutputStream ouputCSV = ByteArrayOutputStream byteArrayCSV = JRCsvExporter exporterCSV = exporterCSV.setParameter(JRCsvExporterParameter. exporterCSV.setParameter(JRCsvExporterParameter. exporterCSV.exportReport(); ouputCSV.write(byteArrayCSV.toByteArray()); ouputCSV.flush(); ouputCSV.close(); new FileOutputStream(new File("CSVReport.csv"));new ByteArrayOutputStream();new JRCsvExporter();JASPER_PRINT, print);OUTPUT_STREAM, byteArrayCSV); But it is working fine for other formate like PDF and HTML,XLS.please suggest any thhing i need to change for CSV formate.params.put(JRParameter.; InputStream input = design = JRXmlLoader.load(input); report = JasperCompileManager.compileReport(design); print = JasperFillManager.fillReport(report, params, conn);
×
×
  • Create New...