GNOME Bugzilla – Bug 652492
incorrect style import from ODF
Last modified: 2011-06-18 16:57:24 UTC
Created attachment 189844 [details] sample file (ODF file) If you open the enclosed file you see some strange background rendering: The background of cell A1 is slightly larger than that of A2 and A3. Note that the text "Hello" and the background are attached to A1 spanned across A1:A3.
Created attachment 189845 [details] screen shot
Looks like a style region import issue: saving to gnumeric format does not change things, but after setting the back color in A1 to black make things behave as wanted. The two gnumeric files are not that different. Seems to me that the relevant difference is: - <gnm:StyleRegion startCol="0" startRow="1" endCol="0" endRow="15"> + <gnm:StyleRegion startCol="0" startRow="1" endCol="2" endRow="15"> <gnm:Style HAlign="1" VAlign="2" WrapText="0" ShrinkToFit="0" Rotation="0" Shade="0" Indent="0" Locked="1" Hidden="0" Fore="0:0:0" Back="FFFF:FFFF:FFFF" PatternColor="0:0:0" Format="General"> <gnm:Font Unit="10" Bold="0" Italic="0" Underline="0" StrikeThrough="0" Script="0">Sans</gnm:Font> ODF import sets endCol to 0 while gnumeric uses 2.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.