Open GoogleCodeExporter opened 9 years ago
For resolve add this line:
stream.Position = 0;
at end of method public void Save(Stream stream) in Workbook.cs:
public void Save(Stream stream)
{
CompoundDocument doc = CompoundDocument.Create(stream);
using (MemoryStream memStream = new MemoryStream())
{
WorkbookEncoder.Encode(this, memStream);
doc.WriteStreamData(new string[] { "Workbook" }, memStream.ToArray());
doc.Save();
}
stream.Position = 0;
}
Original comment by silveir...@gmail.com
on 18 Sep 2011 at 10:34
Original issue reported on code.google.com by
gersoncz...@gmail.com
on 15 Sep 2011 at 2:32