Hi,
Thanks for your posting and using Aspose.Cells for .NET.
We have fixed the issues.
Please download and try this fix: Aspose.Cells for .NET v7.4.1.1 and let us know your feedback.
Hello,
our project is targeting the .NET Client Profile, so I would require a version of Aspose.Cells.dll for this. Could you send me a link to the correct version?
thanks,
Johnny Andersen
Hi,
Hello,
would it be possible to get a fix out for me faster? My application is in the late release stage and is scheduled for release to customers monday..
thanks, Johnny Andersen
Hi,
Hi,
Hello,
I have installed and tested the fix. Aspose.Cells does not crash anymore when AutoFitWidth is set, but the columns are not actually sized when the file is opened in Excel. So the proposed solution still does not restore functionality as it was in version 7.3.2.0.
thanks,
Johnny Andersen
Hi,
Hello,
I have tested the fix withy the simple code written earlier in this issue (https://forum.aspose.com/t/97638)
The testdata is also the same, but I attach a file that illustrates the problem further. In Cell A1 there is a text that is a bit longer than the other cells - Column A is not expanded to fit this text (See attached output file for result).
thanks,
Johnny Andersen
Hi,
Hello,
the reason why I reported this issue is that our application is converting data from XML Spreadsheet format to Excel format (xlsx) without knowing the structure of the file. We do not know whether a column is supposed to be fixed or autofit at the time of the conversion.
I understand that I can call AutoFitWidth for a column in a spreadsheet but as I do not know which columns should be autofit we have relied on Aspose.Cells to retain the setting in the XML Spreadsheet file when writing the XLSX Format.
This worked perfectly fine until it was changed from version 7.3.2.0 to 7.3.4.0. If you could please run the test case with Aspose 7.3.2.0 you would notice that the first column in the resulting file would adjust its width to the contents when opened in Excel. In newer versions of Aspose.Cells (that is from 7.3.4.0 onwards) The AutoFit information seems to be lost when writing XLSX.
We would very much like to get this functionality back as the AutoFit functionality is an importent feature when formatting documents to our end-users.
thanks,
johnny Andersen
Hi,
Here is the simplest code that I used with v7.3.2.
Sample code:
Workbook wbk = new Workbook(“e:\test2\AutoFitWidth+Error.xml”);
wbk.Save(“e:\test2\out1_AutoFitWidth+Error.xlsx”, SaveFormat.Xlsx);
Hello,
and thanks for checking out the issue further. Please get in touch again if you need more information.
Johnny Andersen
Hi,
Hello,
could you also post a version for :NET 4 Client Profile?
thanks,
Johnny Andersen
Hi,
Thanks for your posting and using Aspose.Cells for .NET.
We will provide you a client profile version tomorrow or as soon as possible.
Hi,
Thanks for your posting and using Aspose.Cells for .NET.
Please download and try the latest client profile version: Aspose.Cells for .NET v7.4.1.2 (Client Profile).
Thank you,
the latest version v7.4.1.2 solved the issue. Autofit columns are now working as expected.
regards,
Johnny Andersen
Hi,
The issues you have found earlier (filed as CELLSNET-41456) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.