Apache OpenOffice (AOO) Bugzilla – Issue 66865
New chart: Load and update charts if their data changes while they are not loaded
Last modified: 2013-02-24 21:22:38 UTC
If you load a Calc document that contains charts, the charts are usually not loaded immediately. Even charts that are visible are nowadays only shown with a replacement image. Thus when data of visible charts changes or the address of a ranges changes of a chart that is not yet loaded, there must be a listener that does the following on a change: 1. Load the corresponding chart (set the OLE-object's embed state to ACTIVE). This should result in querying the data and therefore adding as listener to all relevant data. 2. Perform the action that is scheduled to be done. This should notify the change to the now loaded chart via the usual mechanisms. To be able to know which ranges a chart uses, the XML-attribute "draw:notify-on-update-of-ranges" containing the used ranges is stored. To correctly fill this attribute, the chart's XModel, which is also an XDataReceiver offers this information via the method getUsedRangeRepresentations(), which returns a sequence of strings.
added keyword new_implementation
Already implemented on the chart2mst3 CWS.
Fixed in CWS chart2mst3 milestone10, please verify.
changed target to 2.3
verified
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 ~