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) *
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
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);
//
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 =