Issue 80225 - Copying chart from Calc to Writer is wrong if data comes from rows
Summary: Copying chart from Calc to Writer is wrong if data comes from rows
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords: oooqa, regression
: 81898 82109 82363 83180 83650 84384 (view as issue list)
Depends on:
Blocks: 84957
  Show dependency tree
 
Reported: 2007-07-31 16:23 UTC by bjoern.milcke
Modified: 2013-02-24 21:22 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
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 2007-07-31 16:23:16 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.
Comment 1 bjoern.milcke 2007-07-31 16:29:33 UTC
The interesting thing is that it works when pasting into Impress.
Comment 2 Martin Hollmichel 2007-09-12 13:13:41 UTC
move to target 3.x according http://wiki.services.openoffice.org/wiki/Target_3x
Comment 3 Rainer Bielefeld 2007-09-30 20:51:39 UTC
*** Issue 82109 has been marked as a duplicate of this issue. ***
Comment 4 Rainer Bielefeld 2007-09-30 21:03:30 UTC
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.
Comment 5 bjoern.milcke 2007-10-08 08:28:54 UTC
trying to address this for 2.4
Comment 6 bjoern.milcke 2007-10-29 18:47:16 UTC
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.
Comment 7 bjoern.milcke 2007-10-31 17:33:10 UTC
*** Issue 82363 has been marked as a duplicate of this issue. ***
Comment 8 michael.ruess 2007-11-15 08:11:49 UTC
*** Issue 83650 has been marked as a duplicate of this issue. ***
Comment 9 bjoern.milcke 2007-11-29 07:54:42 UTC
*** Issue 83180 has been marked as a duplicate of this issue. ***
Comment 10 bjoern.milcke 2007-12-04 12:55:53 UTC
*** Issue 81898 has been marked as a duplicate of this issue. ***
Comment 11 Regina Henschel 2007-12-08 22:57:12 UTC
*** Issue 84384 has been marked as a duplicate of this issue. ***
Comment 12 bjoern.milcke 2007-12-11 12:46:09 UTC
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.
Comment 13 bjoern.milcke 2008-01-16 10:31:30 UTC
->iha: as you have a fix for this, please take over
Comment 14 IngridvdM 2008-01-16 10:51:35 UTC
Fixed in CWS chart21.
Comment 15 IngridvdM 2008-01-18 17:51:41 UTC
->Thomas, please verify in CWS chart21.
Comment 16 kla 2008-01-22 16:07:02 UTC
Seen ok in cws chart21 on lin/sol and win -> verified
Comment 17 p9w.vu.31122010 2008-02-06 11:18:54 UTC
Verified fixed in OOH680_m5; closing