Free Support Forum - aspose.com

calcChain.xml dropped from openXML package after save to a new workbook using Aspose.Cells for Java

We are using aspose.cells workbook to save to a renamed .xlsx file:
e.g. //read “source.xlsx” to asposeWorkbook object
then save it to "target.xlsx"
asposeWorkbook.setFileName(“target.xlsx”);

The newly generated “target.xlsx” compared with “source.xlsx”, there are 2 differences:

1. I found “calcChain.xml” was dropped from “target.xlsx” openXML packet, I tried the following code:
asposeWorkbook.getSettings().setCreateCalcChain(true);
It doesn’t help.

2. In the source.xslx->workbook.xml, there is:


However, for target.xlsx-> workbook.xml, it becomes:


How can I make the target.xlsx same as source.xlsx? Any settings need to be set? Please help with it, thank you.


Hi,

Thanks for your posting and using Aspose.Cells for Java.

Please provide us your sample code or project to look into this issue along with input and output files. We will investigate your issue at our end and help you asap.