GNOME Bugzilla – Bug 114153
18.40 - Compression level 0, should output uncompressed XML
Last modified: 2004-12-22 21:47:04 UTC
In the File->Prefernces dialog in the File tab, Default level for compression of Gnumeric files. If this is set to Zero files should be plain XML uncompressed. This feature would be VERY usefull to me
You can already do this by saving with type gnumeric and a file name ending in .xml
I don't think we want level 0 to skip the gzip envelope, but we might want to have a setting for default save extension.
How about a checkbox, right next to the compression level? [ ] Compress output Compresion Level |[<|>] 0 |
Seems to obscure Chema. I don't see alot of use working outside the existing framework. If this is a desirable feature we can define a saver type that uses default extension of .xml.
Using the .xml extension with the gnumeric saver does give an ugly warning about using the wrong extension message though!
*** Bug 147531 has been marked as a duplicate of this bug. ***
*** Bug 148833 has been marked as a duplicate of this bug. ***
Being able to set the compression level to zero seems like the most straighforward easily discoverable method to provide no compression. Sure there is the save as .xml but that wasn't obvious and straighforward enough for someone as smart as Chema. It would definately be better to add compression level zero than to add an unnecessary checkbox. I also prefer to keep my documents uncompressed in case I want to quickly dive in and make minor changes (I even know about applications like 'zcat' but I still always use 'more') I did some tests, saving differnt documents at differnt compression levels and either the differnces are negligible or it is not working at all. The Preferences dialog in Gnumeric 1.2.13 actually has a tooltip saying: This integer (between 0 and 9) specifies the amount of compression performed by Gnumeric when saving files in the default file format. O is no compression while 9 is maximum compression. Whoever wrote the tooltip also expected things to work as Chema suggested. In the file preferences you should not be able to choose 0 at all if it does to have the effect of disabling compression.
Of course the tooltip in 1.3.2 doesn't say that anymore.
k, you've changed my mind. 1.3.91 will respect the setting somewhat. if the default == 0, or the suffix == xml we won't compress for sax or dom export. Andreas : solving the warning for .xml will require the pending rewrite of the i/o descriptors.