incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 118840] Inserted chart into other document type, copied from Calc, loses data
Date Wed, 13 Jun 2012 11:41:26 GMT

--- Comment #12 from hanya <> ---
It seems internal data provider is required to copy the selected chart when 
user copies it. 
I assume Range1 is there on Sheet1 and Range2 is there on Sheet2 in the
following comment.

When I copied the chart having Range2 as data range, internal data provider is 
created, but not for the chart bound to Range1 in
SchXMLTools::CreateDataSequence method. 
Because false in SchXMLTools::CreateDataSequence method. 
lcl_ConvertRange function returns empty string for Range2 but correct string
for Range1.  This is caused because of the instance of ScDocument kept by
ScChart2DataProvider has 
only Sheet1 (its name is depends on the localization environment). 
The "Sheet1" is required to keep copied drawing object (chart) but it does not
data on the sheet, and then NaN is returned for the pasted chart data.

So, how this fix? Please someone take over.

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

View raw message