Reputation: 1
So I’m loading a XLSB file into a workbook using Apose.cells (21.5.0) then saving it out. The issue I’m having is that the produced file will out open, when the original file opens just fine. Below is a walkthrough of what I have found.
Code being used. I simplified it to ensure nothing else was introducing the error.
var wb = new Workbook("FilewithPwProtectedStructure.xlsb");
wb.Save("FilewithPwProtectedStructureSavedFromAspose.xlsb", SaveFormat.Xlsb);
This file has the protection level of “structure”, and is protected is a password.
When opening the original file as an archive, we get the following.
InternalFileStructureOfOriginalFile
This file opens without issue, and the structure is password protected. But once this file is opened then saved again by Aspose we get the following when opened as an archive.
InternalFileStructurePostAsposeSave
As we can see aspose saved the file out in an encrypted format.
I would like to know if this is expected behavior, and if so how could I configure Aspose to export the file in a way that will preserve the original files internal structure.
Any help is greatly appreciated.
Upvotes: -1
Views: 129