Issue 63944 - new chart: Implement listening mechanism for Calc data
Summary: new chart: Implement listening mechanism for Calc data
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: 680m152
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@sc
URL:
Keywords: new_implementation, oooqa
Depends on:
Blocks:
 
Reported: 2006-04-03 17:58 UTC by bjoern.milcke
Modified: 2013-08-07 15:14 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bjoern.milcke 2006-04-03 17:58:57 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"?
Comment 1 bjoern.milcke 2006-04-03 18:01:01 UTC
Note the mentioned methods to be implemented are the methods of the interface
com::sun::star::util::XModifyBroadcaster.
Comment 2 bjoern.milcke 2006-04-05 14:07:29 UTC
Note, that the XLabeledDataSequence must also send a change event, when the data
of its values or labels change.
Comment 3 IngridvdM 2006-04-22 14:33:48 UTC
added keyword new_implementation
Comment 4 bjoern.milcke 2006-06-23 10:20:01 UTC
Changed target to 2.x
Comment 5 niklas.nebel 2006-12-04 16:43:08 UTC
Marking the range "invalid" if it's deleted will be added later.
The other cases are implemented on the chart2mst3 CWS.
Comment 6 niklas.nebel 2006-12-13 11:52:02 UTC
Fixed in CWS chart2mst3 milestone10, please verify.
(chart is updated when cells are modified or moved)
Comment 7 IngridvdM 2007-01-18 12:07:24 UTC
changed target to 2.3
Comment 8 kla 2007-02-26 11:30:13 UTC
works fine -> verified
Comment 9 ace_dent 2008-05-16 03:33:08 UTC
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 ~