Hi
I’m using Aspose.Cells to convert from spreadsheetML into excel, I observe that Aspose library generate comments differently from what Excel dose. On attached print screen you can see the result. comments_issue.png
In first test scenario file test.xml (spreadsheetML) was open directly in Excel.
In second the same file (test.xml) is convert in code to xlsx file and open in Excel.
Below is covering method code, to save on return workbook object is call save method.
public Workbook Convert( string spreadsheetFilePath )
{
var loadOptions = new LoadOptions( LoadFormat.SpreadsheetML );
using ( var stream = new FileStream( path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite ) )
{
return new Workbook( stream, loadOptions);
}
}
In attachment you can find spradsheetML source file (text.xml) and both output excel files.
CommentIssue.zip (17.9 KB)
Thanks fro help
Mietek