diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-14 00:31:56 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-14 00:35:29 -0400 |
commit | 49d3e30ec975a348b7b3d82c37137eb8ff6bb52e (patch) | |
tree | 24406babfbffc1700442367369ddb6684e9eb758 /sc/inc/dpgroup.hxx | |
parent | Re-added ClearSource() which will only clear the source. Nothing else. (diff) | |
download | core-49d3e30ec975a348b7b3d82c37137eb8ff6bb52e.tar.gz core-49d3e30ec975a348b7b3d82c37137eb8ff6bb52e.zip |
When changing grouping in one pivot table, update all linked tables.
We need to do this now because we now store the group field data directly
in the pivot cache, which is shared by all referencing tables.
Also, actions involving modification of the cache is not undoable, and
making it undoable would significantly increase Calc's runtime memory
footprint. So, no way.
Diffstat (limited to 'sc/inc/dpgroup.hxx')
-rw-r--r-- | sc/inc/dpgroup.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx index b81db64d26d5..987c806de872 100644 --- a/sc/inc/dpgroup.hxx +++ b/sc/inc/dpgroup.hxx @@ -176,6 +176,8 @@ public: ScDPGroupTableData( const ::boost::shared_ptr<ScDPTableData>& pSource, ScDocument* pDocument ); virtual ~ScDPGroupTableData(); + boost::shared_ptr<ScDPTableData> GetSourceTableData(); + void AddGroupDimension( const ScDPGroupDimension& rGroup ); void SetNumGroupDimension( long nIndex, const ScDPNumGroupDimension& rGroup ); long GetDimensionIndex( const rtl::OUString& rName ); |