Apache OpenOffice (AOO) Bugzilla – Issue 63944
new chart: Implement listening mechanism for Calc data
Last modified: 2013-08-07 15:14:03 UTC
1. Implement add-/removeModifyListener at the implementation of XDataSequence and XLabeledDataSequence. (See sc/source/ui/unoobj/chart2uno.cxx, sc/inc/chart2uno.hxx). 2. Implement calling the added listeners whenever in one of the following occasions: * setValues or setLabels at the XLabeledDataSequence was called (with a new object). * Data of a range represented by an XDataSequence has changed * The range of an XDataSequence changed by move or reduction (enlarging?) * The range became invalid (deleted sheet, column or row) To be discussed: What does the implementation do in this case, exception, return no data and a range which is invalid like "#REF.A3:A7"?
Note the mentioned methods to be implemented are the methods of the interface com::sun::star::util::XModifyBroadcaster.
Note, that the XLabeledDataSequence must also send a change event, when the data of its values or labels change.
added keyword new_implementation
Changed target to 2.x
Marking the range "invalid" if it's deleted will be added later. The other cases are implemented on the chart2mst3 CWS.
Fixed in CWS chart2mst3 milestone10, please verify. (chart is updated when cells are modified or moved)
changed target to 2.3
works fine -> 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 ~