Apache OpenOffice (AOO) Bugzilla – Issue 51307
Ommitted position and size attributes in Chart XML lead to strange values
Last modified: 2013-02-24 21:22:33 UTC
1. Create a default chart (where no object has been moved or resized) 2. Save 3. Remove the positions of diagram, legend or titles (main, sub or axis-titles) or the size of the diagram in the XML file.* => When loading the file the positions and sizes do not match the original defaults. *Notes: 1. It is a bug that default positions and sizes (except the size in the chart-element) are written to the file 2. The non-existence of positions and sizes is conforming to the OASIS specification and should result in the corrrect default positions, including proper auto-arrangement (e.g. the diagram size changes when you change the legend preset-position from right to bottom). 3. Other programs like Gnumeric or KChart may ommit the positions and size in the file. This should result in the proper defaults in OOo 2.0. Specifically, we plan to ommit the default positions and size in OOo 3.0 (or whatever the next release might be called) Testing Notes: As there exist currently no files without positions of chart objects (except those being patched by hand) I wouldn't test this. For this bug, it would be enough to ensure that loading of files created with OOo 2.0 works like before (if the fix is done properly, the exact same instructions should be executed for files created with OOo 2.0). Note again, that saving will not be changed, only loading (the import).
Fixed Developer's Note: There are changes in headers that are delivered, but those are compatible (an enum was extended) and the affected ojects are only used inside xmloff/source/chart (checked with LXR)
please verify in CWS sch10 re-open issue and reassign to kla@openoffice.org
reassign to kla@openoffice.org
reset resolution to FIXED
kla: verified in cws sch10
Note: review done by IHA
ok in master m115 -> closed