GNOME Bugzilla – Bug 672622
support for saving uncompressed xml
Last modified: 2012-08-04 06:40:30 UTC
I've recently been using gnumeric to get on top of my finances. Now I want to start checking the files into version control. Plain text would clearly be best for this. I noticed that the .gnumeric file format is just gzipped XML. I also noticed that if presented with the XML content in uncompressed form, gnumeric will open it without problems. There is no support for saving it back again, uncompressed. Even simply opening an uncompressed .gnumeric file, making a trivial change and pressing ctrl+s will result in a compressed file being written. It would be nice if gnumeric supported writing uncompressed XML, possibly with a different file extension (.gnumeric.xml)?
Select Edit->Preferences and go to the Files tab. There you can choose the compression level to be used for .gnumeric files. If you select a compression level of 0 you will get uncompressed XML.
Edit->Preferences->Files->Default Compression Level 0 That said, we should probably never compress when saving to .xml.
Ya -- the issue is not that I don't ever want compressed files. I just want *some* files uncompressed.
Ryan, we already now (try to?) turn of compression if you use a name like foo.xml. Does that not work for you?
I didn't know about this -- and it works perfectly well. The only (small) snag is that when you type "foo.xml" into the save dialog you get a warning "the file type does not match the extension. continue?". If you say yes, then everything works perfectly. So I guess the only thing that I could recommend at this point is 1) Add "Uncompressed gnumeric (*.xml)" to the list of formats in the dropdown 2) Drop the warning if it's selected
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.