JasperPluginRMI output types?

JasperReports supports the following output formats:
view
pdf
xls
xml
csv
html
rdf
odt

However, I can only get “view” and “pdf” to work with the Servoy JasperPluginRMI.

Can anyone give me some examples of how to use it to output the other formats?

Has anyone ever gotten it to work with anything other than “pdf” or “view”?

When I try any of the other output formats, I get a Java error that says “output type not recognized”. Since Jasper supports these other output types, I can only summize that either the plugin has a bug and does not support these other output types, or I am not using the correct syntax and it is different from “pdf”.

Anyone?

Tested using Servoy 3.5 with the Jasper Reports 3.5 plugin and all the examples that I tried below worked.

View:
plugins.jasperPluginRMI.jasperReport(controller.getServerName(),'classic.jrxml',null,'view',null);
PDF:
plugins.jasperPluginRMI.jasperReport(controller.getServerName(),'classic.jrxml','C:\\reports\\jasper.pdf','pdf',null);
HTML:
plugins.jasperPluginRMI.jasperReport(controller.getServerName(),'classic.jrxml','C:\\reports\\jasper.html','html',null);
Excel:
plugins.jasperPluginRMI.jasperReport(controller.getServerName(),'classic.jrxml','C:\\reports\\jasper.xls','excel',null);

Okay, thanks Scott. I was calling it ‘xls’ instead of ‘excel’.

I must have a problem with my report definition files, because the excel version gives me an error (my report does have passed in parameters) and the html version does not include any images (lots of missing graphic elements, like lines, in the rendered html report).

I still can not get xml, cvs or rtf to work for me; says “output type not recognized”. Do you have some documentation to clarify what these output types should be called?

The only types I see implemented in the Jasper plugin are:

view
print
pdf
html
excel

Can I configure the view so I limit the posibilities for saving at the view to only to pdf or html?