path: root/offapi
diff options
authorTomaž Vajngerl <>2017-04-28 18:05:57 +0200
committerTomaž Vajngerl <>2017-04-29 12:28:39 +0200
commit9e5314f19c9dcff35b5cee5c5a1b7f744e495b2e (patch)
treef6247953df15c2d606753ba09d2a13a378e1d99d /offapi
parent0a3ded1def24194b01c9f2849ed91af4954fbb5f (diff)
tdf#107097 invoke internal DP and correctly handle "range" names
When we copy/paste a pivot chart to another (new) document, we "send" a chart data as ODC to the other document. In the new document we can't use the pivot table (as there is none in this document) so we read-in the table data from the document to the internal data provider. The problem was that we didn't match the (fake) range names from the pivot table correctly in the internal data provider and the data wasn't populated. This commit fixes that and changes the fake range names to something that is easy to parse and matches the names in internal data provider. Change-Id: I9872160cca68abd91738a25bf9b3b27bc77ce38d Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Tomaž Vajngerl <>
Diffstat (limited to 'offapi')
1 files changed, 4 insertions, 0 deletions
diff --git a/offapi/com/sun/star/chart2/data/XPivotTableDataProvider.idl b/offapi/com/sun/star/chart2/data/XPivotTableDataProvider.idl
index 731988bc2167..540304113b89 100644
--- a/offapi/com/sun/star/chart2/data/XPivotTableDataProvider.idl
+++ b/offapi/com/sun/star/chart2/data/XPivotTableDataProvider.idl
@@ -58,6 +58,10 @@ interface XPivotTableDataProvider : com::sun::star::uno::XInterface
void setPivotTableName([in] string sPivotTableName);
+ /** check if the associated pivot table exists
+ */
+ boolean hasPivotTable();
/** creates a single data sequence of values for the given data series index.
* @param nIndex