Apache OpenOffice (AOO) Bugzilla – Issue 80225
Copying chart from Calc to Writer is wrong if data comes from rows
Last modified: 2013-02-24 21:22:33 UTC
1. Create a chart from some cells in Calc, using "Data Series in rows" 2. Copy the chart to the clipboard 3. Paste into a Writer document => The data (see Chart Data) of the pasted chart is rotated 90degrees, i.e. like "Data Series in columns" was selected.
The interesting thing is that it works when pasting into Impress.
move to target 3.x according http://wiki.services.openoffice.org/wiki/Target_3x
*** Issue 82109 has been marked as a duplicate of this issue. ***
3.x? This problem is too serious for such a late fix. Issue 82109 might contain interesting additional information. Good news: It seems that opening 2.2.1 WRITER documents with 2.3 will not destroy affected charts. Bad news: copy / paste of a chart in such a document will show the ugly effect for the pasted chart, also delete and undo.
trying to address this for 2.4
Problem is that the Writer's data provider is set in setTargetDocument(). It should have an internal one instead. This is the old problem that we cannot determine reliably which data provider should be used.
*** Issue 82363 has been marked as a duplicate of this issue. ***
*** Issue 83650 has been marked as a duplicate of this issue. ***
*** Issue 83180 has been marked as a duplicate of this issue. ***
*** Issue 81898 has been marked as a duplicate of this issue. ***
*** Issue 84384 has been marked as a duplicate of this issue. ***
In SchXMLChartContext::EndElement() in the situation where the chart is pasted into Writer applyTable() is called. Instead applyTableSimple() should be called. However, when pasting into Calc, it is correct to call applyTable(). Maybe the methods XDataProvider::createDataSourcePossible or XDataProvider::createDataSequenceByRangeRepresentationPossible can be used to check if the ranges are fitting for the destination document's data provider.
->iha: as you have a fix for this, please take over
Fixed in CWS chart21.
->Thomas, please verify in CWS chart21.
Seen ok in cws chart21 on lin/sol and win -> verified
Verified fixed in OOH680_m5; closing