Community

Export to XLS

Hello,

I'm trying to export the result to all of the possibilities, to check the results.

I'm exporting document results in TXT, CSV and XML.

But I didn't can export to XLS format, and the engine doesn't bring error information. The code is:

IFileExportParams params = engine.CreateFileExportParams();

params.setFileFormat(FileExportFormatEnum.FEF_XLS);

processor.ExportDocumentEx(document, path, imageName, params);

 

Is the same code that have in another export types, but with fileformat in XLS.

Is needed to configure some things in the export to achieve the export in XLS?

I tried to tune the configuration via:

params.getExcelParams().setXLFileFormat(XLFileFormatEnum.XLFF_DoubleStream);

params.getExcelParams().setPreserveValueTypes(false);

 

All configurations I tried but doesn't work.

 

Could anyone help me?

 

Regards,

Alex

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    Please explain in more detail what "doesn't work" mean: is the resulting .xls file not created, is it created but empty, etc.?

    On my side, in the standard Hello code sample with export settings identical to yours the documents were successfully exported.

    0

Please sign in to leave a comment.