summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/dbdocfun.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-13 11:57:08 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-14 00:35:28 -0400
commit9be40516455eef80d7c121455c08da41b27373bf (patch)
treefd3ec920a8bb3788d117f9ad29f0902d63d33a54 /sc/source/ui/inc/dbdocfun.hxx
parentc18dc2e2047f07fb13ec5890db4dbd4357cfa7ce (diff)
Dedicated method for refreshing multiple linked pivot tables.
Diffstat (limited to 'sc/source/ui/inc/dbdocfun.hxx')
-rw-r--r--sc/source/ui/inc/dbdocfun.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx
index 35ad8489c6e1..79956e573e4a 100644
--- a/sc/source/ui/inc/dbdocfun.hxx
+++ b/sc/source/ui/inc/dbdocfun.hxx
@@ -33,6 +33,8 @@
#include <tools/solar.h>
#include <com/sun/star/uno/Sequence.hxx>
+#include <set>
+
class String;
struct ScImportParam;
@@ -100,6 +102,14 @@ public:
bool DataPilotUpdate( ScDPObject* pOldObj, const ScDPObject* pNewObj,
bool bRecord, bool bApi, bool bAllowMove = false );
+
+ /**
+ * Refresh multiple pivot tables that reference the same pivot cache.
+ * Before calling this method, the caller must take care of reloading the
+ * cache and providing the correct pivot table objects referencing the
+ * cache.
+ */
+ void RefreshPivotTables(std::set<ScDPObject*>& rRefs, bool bRecord, bool bApi);
};