Closed GoogleCodeExporter closed 9 years ago
I am just looking at this library, and want to say thank you very much for
providing this!
I saw the commit in http://code.google.com/p/excellibrary/source/detail?r=51,
but that commit does not resolve the situation, but makes it even more strange.
It seems, when CompoundDocument is disposed, then the Stream is closed as well.
This is the testing code that fails:
Workbook workbook = new Workbook();
Worksheet worksheet1 = new Worksheet("Test 1");
MemoryStream stream = new MemoryStream();
workbook.Save(stream);
Assert.Greater(stream.Length, 0);
ExcelLibrary.Test.SimpleTest.WriteStream:
System.ObjectDisposedException : Cannot access a closed Stream.
Original comment by timotheu...@gmail.com
on 6 Apr 2011 at 1:22
Fixed by r53.
Original comment by China.LiuJunFeng
on 14 Apr 2011 at 12:48
Original issue reported on code.google.com by
uti...@gmail.com
on 30 Dec 2010 at 10:34Attachments: