Apache OpenOffice (AOO) Bugzilla – Issue 74062
New Chart: Loading binary Documents with Charts getting Data form other Sheet fails
Last modified: 2013-02-24 21:21:36 UTC
Load a binary document (see attached one) with the property: it contains a chart that uses data from a sheet on the "right hand" of the one the chart is on. (E.g. chart on sheet1 getting data from sheet2) => The data comes only from sheets left of the chart or the one the chart is on. The reason for this is that binfilter exports the document as a flat XML file, so when the chart is being read only the sheets up to the current one have been loaded. The used data of a chart are stored in an XML-range string like "Sheet2.$A$5:.$C$12 Sheet3.$D$5:.$E$12". The call to XRangeXMLConversion::convertRangeFromXML() (the implementation is the same as the XDataProvider in Calc) yields (assuming that the chart is on Sheet1) "$Sheet1.$A$5:C12;$Sheet1.$D$5:E12". The problem is that the not-yet-existing sheets are converted to Sheet1. It looks also not correct that the $s are only replaced at the last part of the range and not the first one.
Sorry, forgot to say that this affects the new chart only. So, currently only appears on the CWS chart2mst3.
Created attachment 42610 [details] Bugdoc
taking back.
Turns out that this a quite a big task to implement. As this is not a very common scenario and the binary format is also no longer very common, I think it doesn't make sense to put so much time in fixing this.
closing