Issue 73791

Summary: new chart: Updates of charts in writer in Writer Undo actions
Product: Writer Reporter: thomas.lange
Component: codeAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 680m195Keywords: new_implementation
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: TASK Latest Confirmation in: ---
Developer Difficulty: ---

Description thomas.lange 2007-01-23 11:24:43 UTC
This is a follow-up to issue 71244.
Charts needs to notified about changes in a table when table related undo
actions get executed.
Comment 1 thomas.lange 2007-01-24 14:39:33 UTC
Because of new chart basically being currently unable to be informed of new
cells, rows, columns, ... in a table those will be missed within an undo operation.
For example:
If you have a table and create a chart for it it will now show all the data.
If you now remove a row or column it will be even updated accordingly.
But if you now use undo (which will restore the row/column to the table) chart
will not know about this. Thus even if the table the very same as before the
row/column was deleted the chart will not show the same data as before!
Comment 2 thomas.lange 2007-01-29 13:57:35 UTC
Fixed as described above in CWS chart2mst3.

Files changed:


sw/inc/IDocumentChartDataProviderAccess.hxx
sw/inc/doc.hxx
sw/inc/swtable.hxx
sw/inc/unochart.hxx

sw/source/core/doc/docchart.cxx
sw/source/core/doc/doclay.cxx
sw/source/core/doc/docnew.cxx
sw/source/core/doc/docsort.cxx
sw/source/core/doc/tblrwcl.cxx
sw/source/core/docnode/ndtbl.cxx
sw/source/core/edit/editsh.cxx
sw/source/core/edit/edtab.cxx
sw/source/core/text/txtfrm.cxx
sw/source/core/txtnode/ndtxt.cxx
sw/source/core/undo/untbl.cxx
sw/source/core/unocore/unochart.cxx
sw/source/core/unocore/unocoll.cxx
sw/source/core/unocore/unotbl.cxx
sw/source/ui/shells/textsh.cxx
sw/source/ui/table/chartins.cxx
sw/source/ui/uno/unotxdoc.cxx
Comment 3 thomas.lange 2007-02-08 08:21:31 UTC
.
Comment 4 thomas.lange 2007-02-19 14:48:23 UTC
TL->MRU: This if the chart is the same or not also depends on which cells the
chart operates and where the undo does the changes. 
Please ask for details if necessary.
Comment 5 IngridvdM 2007-03-01 18:33:31 UTC
set keyword and changed issue type to reflect that this issue did only occur in
the new chart and did not affect the master branch
Comment 6 michael.ruess 2007-04-13 14:42:45 UTC
Verified in CWS chart2mst3.
Comment 7 michael.ruess 2007-07-26 13:31:51 UTC
Checked in 680m222.