Hi,
Using Aspose Cells 19.6 for Java.
Sample code:
Workbook workbook = new Workbook("simple.xlsx");
WorksheetCollection worksheets = workbook.getWorksheets();
worksheets.setActiveSheetIndex(0);
HtmlSaveOptions saveOptions = new HtmlSaveOptions(SaveFormat.HTML);
saveOptions.setExportActiveWorksheetOnly(true);
saveOptions.setExportImagesAsBase64(true);
workbook.save(new ByteArrayOutputStream(), saveOptions);
Running the code above throws the following exception:
Exception in thread "main" com.aspose.cells.a.c.zb:
at com.aspose.cells.b.a.b.zi.d(Unknown Source)
at com.aspose.cells.zail.a(Unknown Source)
at com.aspose.cells.zail.a(Unknown Source)
at com.aspose.cells.zail.f(Unknown Source)
at com.aspose.cells.zail.d(Unknown Source)
at com.aspose.cells.zail.f(Unknown Source)
at com.aspose.cells.zaib.a(Unknown Source)
at com.aspose.cells.zaib.a(Unknown Source)
at com.aspose.cells.zaib.c(Unknown Source)
at com.aspose.cells.zaib.a(Unknown Source)
at com.aspose.cells.zaid.b(Unknown Source)
at com.aspose.cells.zahz.a(Unknown Source)
at com.aspose.cells.zaie.b(Unknown Source)
at com.aspose.cells.zaie.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.save(Unknown Source)
at <my code>
simple.zip (49.9 KB)
Kind regards,
Taras