Excel 2010 files with pen data getting corrupt

Hi,

We are having a problem when using Excel 2010 files that have pen drawings (done on a tablet computer) in them.

PDF conversion produces a blank file, and trying to open Excel file after it has been through Aspose.Cells object gives a message saying its corrupt and needs to be repaired.

If Excel 2010 has no pen data, everything works fine.

Attached is a sample Excel file with pen data, which we used for testing.

Regards,

Marko

More info from Excel

<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><logFileName>error058600_01.xml</logFileName><summary>Errors were detected in file 'C:\Users\aneezna\AppData\Local\Temp\s0\user8372\hashFqlVftfaMG\db9455ae-a3a7-45e5-a6a0-c4cd1e011319_0.xlsx'</summary><repairedRecords summary="Following is a list of repairs:"><repairedRecord>Repaired Records: Drawing from /xl/drawings/drawing1.xml part (Drawing shape)</repairedRecord></repairedRecords></recoveryLog>

Further to this, it appears that it is Save() method that corrupts the file. We are using the latest version 7.2.0.


e.g.

var wkBk = new Aspose.Cells.Workbook();
wkBk = new Aspose.Cells.Workbook(fullNewFileName);
wkBk.Save(newFilePath); // This is the line that corrupts the file.

Specifying file format as xlsx doesn’t help either

wkBk.Save(newFilePath, Aspose.Cells.SaveFormat.Xlsx); // Still corrupts the file

Original file is 152KB, after Save() it goes down to 139KB.

PDF conversion also fails
e.g.
wkBk.Save(newFilePath.Replace(fl.Extension, “.pdf”), Aspose.Cells.SaveFormat.Pdf); // Produces empty PDF file, size 1KB

Hi,

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

We were able to reproduce this issue at our end.

We have logged this issue in our database. Once, the issue is resolved or have some update, we will let you know.

This issue has been logged as CELLSNET-40598.

Hi,

Please download and try the latest fix: Aspose.Cells for NET v7.2.0.2

Hi,


As corrupted Excel file issue is sorted out by v7.2.0.2, so for your second part (of your issue) I have moved/splitted it to new thread:
<a href="

Please follow up this thread for the issue now.

Thank you.

The issues you have found earlier (filed as CELLSNET-40598) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.