Re: [jasperreports-questions] convert cm - point

2006-09-13 Thread Vincenzo Manzoni
the user give me that dimension in centimeters. How can I convert it to the one use by JaserDesign.setPageWidth and setPageHeight ? You can try to trasform the dimensions from cm to inch and then multiply for 72 dpi (dots, or pixels, per inch). Dimension in pixel = (Dimension_in_cm / 2.54) *

Re: [jasperreports-questions] classloader broken

2006-06-21 Thread Vincenzo Manzoni
I get the following error when I try to compile a jrxml file: Can you post us your jrxml file? Vincenzo ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net

Re: [jasperreports-questions] Retrieve image informations

2006-06-16 Thread Vincenzo Manzoni
is there the possibility to retrieve design informations about a graphic object, such an image? Surfing with Google, I have found a solution: JasperReport jr = (JasperReport) JRLoader.loadObject(MyReport.jasper); JRBand jb = jr.getDetail(); JasperElement je = jb.getElementByKey(image-1); //

[jasperreports-questions] Bug in method JasperFillManager.fillReport()?

2006-06-12 Thread Vincenzo Manzoni
Title: Bug in method JasperFillManager.fillReport()? Hi, my file .jrxml contains only static text; if I call JasperFillManager.fillReport() without DataSource, next the method JasperExportManager.exportReportToPdfFile(jp, A4p.pdf) creates an empty pdf file. // Empty pdf jp =