Apache OpenOffice (AOO) Bugzilla – Issue 72692
Disabling XML optimization does not work in Chart 1 and Chart 2
Last modified: 2013-02-24 21:19:38 UTC
Testcase - File / New / Spreadsheet - Tools / Options / Load Save / tab page General - Uncheck "Size optimization for XML format" - Leave dialog with OK - Create a simple chart - Save the Chart as OpenDocument file format (ODF) - unzip the content.xml from "/Object 1" in the ZIP archive => use a simple editor to see the bug that the complete XML code is in one line. - if you unzip the content.xml in the root (/) of the ZIP archive you see that the spreadsheet itself is not size optimized.
Target 2.x
I can't believe this as I use this feature every day (except when being on vacation ;-) ). It does not work when you load a file with "one-line XML", change the setting and save with a different file name, because then the original "stream" is just copied and remains in one line. I had problems with setting Tools/Options/Paths/Documents to a different location in m195, maybe there is also a problem with the optimization setting. (But I am pretty sure that the switching off XML optimization works in the mst10 build, because I used it also a lot).
I now also have pretty printed XML.... strange.
Maybe you had this scenario: Setting: "No pretty printing" 1. Create a chart 2. Leave inplace-mode (results in a save) 3. Change setting to "Pretty printing" 4. Save document => the chart is not saved again, instead the existing non-pretty-printed version is just copied into the package. IMHO, it is not necessary to change this behavior.