summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpobject.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-11 17:16:54 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-04-19 00:30:10 -0400
commitac569ed4cf5064248b9952f182f6572f20dc9bcb (patch)
tree44789fb45958b6cc8ce21f1742a04a407d5f6c75 /sc/inc/dpobject.hxx
parentfdo#63197: convert 3 out 4 from scripting part (diff)
downloadcore-ac569ed4cf5064248b9952f182f6572f20dc9bcb.tar.gz
core-ac569ed4cf5064248b9952f182f6572f20dc9bcb.zip
fdo#60300: Work-in-progress change to rework pivot table core.
The idea is to avoid parsing the pivot table sheet output in order to calculate GETPIVOTDATA. The table outout is configurable, and it will only be more configurable in the future. The gist of my rework is to calcualte the result of GETPIVOTDATA with the internl result tree alone. Also, the same result tree can be used for drill down too, which also currently parses the table output, therefore subject to the same limitation & fragility. Change-Id: Ib0147e2aa2b710dfd627df7f535a685301214a52
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r--sc/inc/dpobject.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index c2c07f5b8741..fd7c59822fcf 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -179,6 +179,11 @@ public:
Rectangle& rPosRect, sal_uInt16& rOrient, long& rDimPos );
bool IsFilterButton( const ScAddress& rPos );
+ double GetPivotData(
+ const OUString& rDataFieldName,
+ const com::sun::star::uno::Sequence<
+ com::sun::star::sheet::DataPilotFieldFilter>& rFilters);
+
bool GetPivotData( ScDPGetPivotDataField& rTarget, /* returns result */
const std::vector< ScDPGetPivotDataField >& rFilters );
bool ParseFilters( ScDPGetPivotDataField& rTarget,