views:

51

answers:

1

In JAVA you'd say :

JRXhtmlExporter exporter = new JRXhtmlExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, destFile.toString());

But using jni4Net I cant find setParameter instance method (Note: It's inherited from JRAbstractExporter).

I dont know If this work around works in C#:

        JRXhtmlExporter exporter = new JRXhtmlExporter();
        exporter.getExportParameters().put(JRExporterParameter.JASPER_PRINT,print);
        java.lang.String FileName = "rep.html";
        exporter.getExportParameters().put(JRExporterParameter.OUTPUT_FILE_NAME, FileName);

But I had another roadblock : I cant find JRXhtmlExporter.exportReport method !!

What can cause this ?

A: 

jni4net is under heavy development yet, so that's probably not implemented yet. Anyway this is not good place for reporting such problems. Use email group.

Pavel Savara