After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 365698 - Cannot change font of cell imported from Excel format
Cannot change font of cell imported from Excel format
Status: RESOLVED DUPLICATE of bug 163410
Product: Gnumeric
Classification: Applications
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-10-27 11:19 UTC by Jon Kåre Hellan
Modified: 2009-05-07 22:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bug sample (5.00 KB, application/vnd.ms-excel)
2006-10-27 11:20 UTC, Jon Kåre Hellan
Details

Description Jon Kåre Hellan 2006-10-27 11:19:05 UTC
Open the attached Excel 97 file.

There is only one cell, text: "Originally Arial 8". The font is Arial 8.
Try to change the font or size, boldness, etc. You cannot. If you change the size, column height changes, that's all.

Seen on 1.6.3 and CVS.

When I write the file as gnumeric XML, the cell has this value format (line breaks added for clarity):
ValueFormat="
@[family=Arial:0:2147483647]
[size=8192:0:2147483647]
[bold=0:0:2147483647]
[italic=0:0:2147483647]
[strikthrough=0:0:2147483647]
[underline=none:0:2147483647]
[rise=0:0:2147483647][
color=00x00x00:0:2147483647]"

This does not happen when I create a spredsheet like this in Excel 2003. I think the example started out in Excel, but has been written both by OOCalc and Gnumeric. The uploaded version is a single cell extract.
Comment 1 Jon Kåre Hellan 2006-10-27 11:20:26 UTC
Created attachment 75498 [details]
Bug sample
Comment 2 Jon Kåre Hellan 2007-09-09 15:21:16 UTC
See also libgoffice bug 475136. With that one fixed, opening the cell format dialog of HEAD on A1 results in format code @[Invalid][Invalid][Invalid][Invalid][Invalid][Invalid][Invalid][Color0]
Comment 3 Andreas J. Guelzow 2009-05-07 22:53:18 UTC
This is really just a special case of 163410

you can change the font, size, boldness etc. if you first start editing the cell, select a range of characters (or all characters) and then apply your format changes. This cell has formatting at the character level for all cells and so changes at the cell level are overwritten at the character level.  

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 163410 ***