0

This is part of my code in eclipse to generate the Excel file. Based on BIRT.

if (ArrayUtils.contains(reportFormats, EXCEL)) {
    // set output options
    EXCELRenderOption options = new EXCELRenderOption();
    options.setOutputFormat("xls");
    options.setOutputFileName(reportName + ".xls");
    options.setSupportedImageFormats("PNG;GIF;JPG;BMP");
    renderTask.setRenderOption(options);
    renderTask.render();
}

I searched a lot on the internet, but cannot find the solution, please help. Thanks, everyone.

Simulant
  • 19,190
  • 8
  • 63
  • 98
Berlixs
  • 1
  • 2
  • I think you need to change the excel emitter. Seach for something like that. There is a lot to be found on this subject. If not, please clarify your problem, BIRT version etc. – Jeroen Apr 04 '16 at 09:41
  • @Jeroen Hi, thanks for the reply. The BIRT version is 4.4.1, when it generate the excel file, I wanna to add a password on the file, no one can modify the file. – Berlixs Apr 05 '16 at 01:55
  • does anyone know any possible solution, i cannot find any information about it. please help – Berlixs May 09 '16 at 01:31

0 Answers0