Apache OpenOffice (AOO) Bugzilla – Issue 59288
Fileformat Violation when saving manual scales for percent charts
Last modified: 2013-02-24 21:22:27 UTC
Create a percent stacked chart (e.g. an percent stacked area chart). Change the scale of the y axis from automatic values to manual values. For example: Minimum 12 Percent, Maximum 160 Percent, Major Interval 18 Percent and Axis at 15 Percent. The number format is percent ( 0,00% ). Saving the chart you get following result in the content.xml: chart:minimum="12" chart:maximum="160" chart:origin="15" chart:interval-major="18" and a percent numberformat. These values are wrong. It should be: chart:minimum="0.12" chart:maximum="1.6" chart:origin="0.15" chart:interval-major="0.18" and a percent numberformat.
Created attachment 32345 [details] Example File
The attached File containes the percent stacked area chart from the example and a not stacked column chart with same scale values where the number format was changed manually to percent. In the column chart example the values are exported correctly to the file. After the export is fixed, the import also has to be fixed. The old wrong format and the new corrected format both have to be imported properly.
accepted
Files created with OOo 2.0 or OOo 2.0.1 and saved with OOo 2.0.2 will get corrupted due to a missing working fileformat versioning. When a file is created with OOo 2.0 and loaded with a version containing these fixes and saved again, the files will get corrupted, because the OLE objects are just copied as they are (saved with OOo 2.0), but the parent document is re-saved with the new version. As OLE objects have no own meta information, they inherit it from their parent which in this case (the default) is wrong.
This issue depends on the existence of Meta information for OLE objects (Issue 60323).
*** Issue 65523 has been marked as a duplicate of this issue. ***
Changed Target to 2.x
I'll take over.
fixed in CWS chart2mst3.
@Thomas: Fixed in CWS chart2mst3 milestone10, please verify.
*** Issue 72978 has been marked as a duplicate of this issue. ***
changed target to 2.3
@Jsi: pls verify this issue
Created attachment 44923 [details] test case
The issue has been fixed but the Object 1/content.xml is invalid against ODF 1.1 because of #76130# which also has been fixed in that build. @mib: We don't distinguish in the UI of the application that we write now different versions of ODF. Would be nice to know what we want to do to make that more transparent.
This Issue is 'Verified' and not updated in 1yr+, so Closing. A Closed Issue is a Happy Issue (TM). Regards, Andrew Cleaning-up and Closing old Issues as part of: ~ The Grand Bug Squash, pre v3 ~