diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2017-04-28 18:05:57 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2017-04-29 12:28:39 +0200 |
commit | 9e5314f19c9dcff35b5cee5c5a1b7f744e495b2e (patch) | |
tree | f6247953df15c2d606753ba09d2a13a378e1d99d /offapi/com/sun/star | |
parent | 0a3ded1def24194b01c9f2849ed91af4954fbb5f (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: https://gerrit.libreoffice.org/37086
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'offapi/com/sun/star')
-rw-r--r-- | offapi/com/sun/star/chart2/data/XPivotTableDataProvider.idl | 4 |
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 |