[jasperreports-questions] ODT exporting

2007-09-05 Thread Marcos Sánchez Provencio
Hello from Spain

I have tried to export a report to odt, but I get a strange error:

java.lang.NoSuchMethodError:
net.sf.jasperreports.engine.export.oasis.JROdtExporter.getStringParameter(Lnet/sf/jasperreports/engine/JRExporterParameter;Ljava/lang/String;)Ljava/lang/String;
at
net.sf.jasperreports.engine.export.oasis.JROdtExporter.exportReport(JROdtExporter.java:187)
at
es.burke.gotta.dll.InformeJasper.sacaProducto(InformeJasper.java:331)
[my stuff]

Any hint to correct/avoid this? I believe I have copied what iReport 2.0
does to export to odt:

JROdtExporter exporter = new JROdtExporter();
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME,
/tmp/xx.odt);
//exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,
baos); //tried with this, too
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OFFSET_X, new
Integer(0)); //tried without this, too
exporter.setParameter(JRExporterParameter.OFFSET_Y, new
Integer(0)); //tried without this, too
exporter.setParameter(JRExporterParameter.CHARACTER_ENCODING,
UTF-8); //tried without this, too

exporter.exportReport();


Thank you for your time.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] I am in vacation.

2007-09-05 Thread Rusi Popov
I am in vacation. 
Please call me on ++ 359 889 301 678
I will be back on Sept 10
With best regards
Rusi

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions