Hi,
Hi,
Thanks for your posting and using Aspose.Cells.
We were able to observe the issue relating to not opening password protected ODS file by Aspose.Cells.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as
- CELLSNET-43556 - Not able to open the password protected ODS file
We have tested this issue with the following sample code but it throws exception.
For your other issues, please provide us your sample codes and screenshots highlighting your issues. We will look into them and help you asap.
C#
string filePath = @“F:\Shak-Data-RW\Downloads\Test.ods”;
LoadOptions opts = new LoadOptions(LoadFormat.ODS);
opts.Password = “test”;
Workbook workbook = new Workbook(filePath, opts);
at ..a()
at ..()
at ..Read()
at ..Read( )
at ..()
at ..Read( )
at ..Read(Stream )
at Aspose.Cells.Workbook.(Stream , LoadOptions , Boolean )
at Aspose.Cells.Workbook.(String , LoadOptions )
at Aspose.Cells.Workbook..ctor(String file, LoadOptions loadOptions)
Additional information: Unexcepted eof.
Thank you for your response.
Hi,Ankurkumar:Thank you for your response.Are you able to see other issue.2) workbook.Settings.Password = "test"; // does not work for .ods file
Thanks for your posting and using Aspose.Cells.
It seems to be a New Feature. It seems, neither opening nor creating of encrypted ODS file is supported, so I have changed the earlier issue to new feature and create this issue also a new feature.
We will look into it and support these features. Once, these are implemented or we have some other update for you, we will let you know asap.
These issues have been logged as
- CELLSNET-43556 - Open encrypted ODS file
- CELLSNET-43560 - Encrypt ODS file
I have tested this issue with the following sample code.
C#
workbook.Settings.Password = "test";
workbook.Save("output.xlsx");
workbook.Save("output.ods");
Hi,Ankurkumar:Thank you for your response.Are you able to see other issue.3) worksheet.AutoFitRows(1, 4); // does not work for .ods file
Thanks for using Aspose.Cells.
For this issue, it will be helpful if you could provide us your runnable sample code and also let us know the file name with sheet name ( is it TestTemplate.ods which you have attached earlier, what is the sheet name to test the code with? ).
Hi,Ankurkumar:Thank you for your response.Are you able to see other issue.4)FileStream excleFileFS = new FileStream(templateFile, FileMode.Open);Workbook workbookTemp = new Workbook(excleFileFS, loadOptions);excleFileFS.Close();workbookTemp .Save("C:\temp\MyODS.ods", SaveFormat.ODS); // loos some functionality
Thanks for your posting and using Apsose.Cells.
Which file the variable templateFile is referring to. Is it CM EXEC REPORTS.xlsx which you have attache earlier or is it TestTemplate.ods file?
Also, highlight your issues in a screenshot or provide some word document with screenshots showing the issues. It will help us look into the issues more closely and precisely and we will be able to fix it soon.
Hi,Ankurkumar:HiThank you for your quick response.From above code and Attached files.Temp file is : CM EXEC REPORTS.xlsxSave file : TestTemplate.odsSee TestTemplate.ods ,, it is lossing some format,,like graphs. Filtering columnThanks !!!
Thanks for your posting and using Aspose.Cells.
We have converted your XLSX file into ODS file using the following code with the latest version: Aspose.Cells for .NET 8.4.1 and were able to observe these issues.
We have logged them in our database. We will look into them and fix them. Once, these issues are resolved or we have some other update for you, we will let you know asap.
These issues have been logged as
- CELLSNET-43562 - Filtering on columns is lost when XLSX is converted to ODS
- CELLSNET-43563 - Charts are lost when XLSX is converted to ODS
C#
Workbook workbook = new Workbook(filePath);
workbook.Save(filePath + ".out.ods");
Hi,
The issues you have found earlier (filed as CELLSNET-43562) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Thanks for using Aspose APIs.
For your issues
- CELLSNET-43556 - Open encrypted ODS file
- CELLSNET-43560 - Encrypt ODS file
Please download and try the following fix and let us know your feedback.
Download Link:
The issues you have found earlier (filed as CELLSNET-43560,CELLSNET-43556,CELLSNET-43563) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi