https://issues.apache.org/ooo/show_bug.cgi?id=120559
--- Comment #19 from Armin Le Grand <[email protected]> --- ALG: At initial load: ::com::sun::star::chart::ChartDataRowSource gets initialized to ChartDataRowSource_COLUMNS from SchXMLPlotAreaContext constructor. Then changed to ChartDataRowSource_ROWS from SvXMLImportPropertyMapper from XMLShapeStyleContext which seems okay. At copying: In SchXMLExportHelper_Impl::exportTable the call to xChartDoc->getData() creates an InternalDataProvider. IN the constructor the call to DataSourceHelper::detectRangeSegmentation changes the m_bDataInColumns from the default true to false (correct). The createInternalDataProvider helper also copies the data, but creates four lines in this case, see lcl_internalizeSeries and the @todo comment there. The value of bHasOwnData in SchXMLExportHelper_Impl::exportTable() is no longer correct (?). The call lcl_getDataForLocalTable creates two further InternalDataProviders using ChartDataWrapper inside lcl_getDataForLocalTable for the two accesses to xAnyDescriptionAccess, this cannot be wanted (?). Have to check InternalDataProvider lifetimes... -- You are receiving this mail because: You are the assignee for the bug.
