Apache OpenOffice (AOO) Bugzilla – Issue 73791
new chart: Updates of charts in writer in Writer Undo actions
Last modified: 2013-08-07 14:42:39 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.
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!
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
.
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.
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
Verified in CWS chart2mst3.
Checked in 680m222.