dylan-mo / excellibrary

Automatically exported from code.google.com/p/excellibrary
0 stars 0 forks source link

Format get lost in excel file #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open an excel file that has formatted text using CompoundDocument.Open
2. Save it with a different name. All the format was lost

I expected that the format were kept.

The same happened when I set a bold font programmatically and then saved 
the file. Format is not taken into account

The version of the product is of 03/31/2009

Original issue reported on code.google.com by soported...@gmail.com on 28 Jul 2009 at 9:29

GoogleCodeExporter commented 8 years ago
Same thing happened here, but with a newer version.

Using "ExcelLibrary.dll - Compiled on 2009-02-12"

Original comment by Ree...@gmail.com on 13 Apr 2011 at 10:49

GoogleCodeExporter commented 8 years ago
Same here. I created a template file with Excel, then edit (add rows) and save. 
It lose everything but images and content. Cell size, font settings, it will 
delete everything.

Original comment by netr...@gmail.com on 17 Jun 2011 at 1:03

GoogleCodeExporter commented 8 years ago
This issue is still confirmed in release 55.  Create a Workbook with some 
formatting (bold, different font sizes, etc.).  Open the workbook write data to 
a cell and then save it using the ExcelLibrary.  All the original formatting is 
removed.

Original comment by ddele...@gmail.com on 22 Mar 2012 at 2:56

GoogleCodeExporter commented 8 years ago
Even without changing anything, it removes the formatting: Example:

Create a document with formatting. Save it. Open it with a stream, 
WriteToStream. And all formatting is gone.

Original comment by mysticsl...@gmail.com on 1 Apr 2012 at 9:49