Export format is not known/supported
I have a java application that uses Crystal Report JRC (CR4E) to generate and export reports to different format.
My code successfully generated reports in formats like PDF, RTF, CSV, and RPT. But I still need to format to MS Excel and paginated text format. Although there are MSExcel and Text formats available from ReportExportFormat, I cannot use it successfully. Here is how I export:
... int format = ReportExportFormat._MSExcel; InputStream inputStream = reportClientDoc.getPrintOutputController().export(ReportExportFormat.from_int(format)); ...
I got this error:
2009-04-30 12:22:39,328 ERROR com.businessobjects.reports.sdk.JRCCommunicationAdapter - Export format is not known/supported 2009-04-30 12:22:39,343 ERROR com.businessobjects.reports.sdk.JRCCommunicationAdapter - JRCAgent1 detected an exception: Export format is not supported or not recognized
How I can export to MS Excel without creating a report on web first? Is ReportExportFormat._MSExcel really not supported? I am using the com.businessobjects.sdks.jrc.11.8.0_11.8.8.v1541 from CR4E.