Try the latest release of Aspose.Cells. It includes the carriage returns and line breaks. If you are displaying the string value in a browser, then all line breaks will be ignored unless you wrap in pre tag.
You can do the following to verify it.
- Check the value of the String variable in Visual Studio debugger.
Write the String value to a text file and view it's contents in any Notepad or any editor. It should include the line breaks.
File.WriteAllText(@"D:\Data\Aspose\Forums\data\a1.txt", a1);
And here is the screenshot of the Excel file that I used.
I work for Aspose as a Developer Evangelist.