GNOME Bugzilla – Bug 630627
Compatibility issues when opening Excel 2007 file created with PHPExcel
Last modified: 2010-10-01 12:25:33 UTC
Created attachment 171127 [details] sample PHPExcel generated file, with comments and formatting When creating a Excel 2007 file with PHPExcel I have found 2 issues. 1. The first is the fact that cell-comments do show when opened in MS Excel but are missing when opening the file GNumeric. Once the file is saved in MS Excel and then opened in GNumeric the comments appear. This is probably due to the fact the comments in the PHPExcel file do not fully comply to MS's standards. But Excel seems to be more flexible in overcoming these than GNumeric is. 2. The second is the fact that formatting appears to be OK when the file is opened in GNumeric (background colors, alignment, bold, etc.). However after saving the file (2007 format) all formatting is lost. When saving the file in Excel 2000/2003 format formatting is preserved. regards, Bavo
Issue 2 is bug 532635
Are you sure we import comments from an xlsx file written by Excel itself? I do not find any related code in xlsx-read.c.
Created attachment 171262 [details] [review] Initial patch This patch does not import comment author (the sample file has an empty author node), and does not import rich text. Worse, long comments are displayed on one line and they are larger than my screen, but this is probably another issue. Should we limit comments to some maximum width? Comments are not exported to xlsx for now.
Jean the long comments issue is really unrelated to xlsx import. We get long comments even within Gnumeric.
Yes, seen that.
Comment on attachment 171262 [details] [review] Initial patch looks good to me
I'll wait a bit until I have th code to export the comments. This should be done during the week-end. I also need to import the markup.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report. At least comments are imported and exported now. #532635 is still there.