Issue 72692 - Disabling XML optimization does not work in Chart 1 and Chart 2
Summary: Disabling XML optimization does not work in Chart 1 and Chart 2
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: bjoern.milcke
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-18 08:45 UTC by jogi
Modified: 2013-02-24 21:19 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jogi 2006-12-18 08:45:25 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.
Comment 1 jogi 2006-12-19 09:25:09 UTC
Target 2.x
Comment 2 bjoern.milcke 2006-12-19 11:55:58 UTC
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).
Comment 3 jogi 2007-01-08 09:25:30 UTC
I now also have pretty printed XML.... strange.
Comment 4 bjoern.milcke 2007-01-12 16:29:50 UTC
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.