// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java // Load sample source file Workbook wb = new Workbook(srcDir + "sampleForScalableColumns.xlsx"); // Specify Html Save Options HtmlSaveOptions options = new HtmlSaveOptions(); // Set the property for scalable width options.setWidthScalable(true); // Specify image save format options.setExportImagesAsBase64(true); // Save the workbook in Html format with specified Html Save Options wb.save(outDir + "outsampleForScalableColumns.html", options);