Please run following code:
import com.aspose.cells.FileFormatType;
import com.aspose.cells.Workbook;
public class Aspose
{
public static void main(String[] args) throws Exception
{
String inputFile = "C:\\aspose\\input.xls";
String outputXlsx = "C:\\aspose\\output.xlsx";
String outputXls = "C:\\aspose\\output.xls";
Workbook xlsWorkbook = new Workbook(inputFile);
xlsWorkbook.save(outputXlsx, FileFormatType.XLSX);
Workbook xlsxWorkbook = new Workbook(outputXlsx);
xlsxWorkbook.save(outputXls, FileFormatType.EXCEL_97_TO_2003);
}
}
on input.xls file attached files.zip (15.3 KB). Then open output.xls file, you will notice following issues:
- symbols from cells I24:J25 get a white background and border shadow
- style of data series “UCL” changes on the chart - type of marker changes from “X” to a square