I have a workbook that contains "List"-type data validation in one of the cells (because my users want a dropdown list in the UI). When I copy the workbook in Java, the Data Validation setting for the cell in the copied workbook reverts to "All values". Attached is my workbook, and here is some code:
Workbook templateWorkbook = new Workbook();
templateWorkbook.open("C:/temp/template.xls");
Workbook mergedWorkbook = new Workbook();
mergedWorkbook.copy(templateWorkbook);
mergedWorkbook.save("c:/temp/testCopyWorkbook.xls");
When I run the exact same code using the .NET version of Aspose.Cells, it works correctly.
Is there anything I can do here? I am using the 2.1.0 version of Aspose.Cells for Java. Thanks.