summaryrefslogtreecommitdiff
path: root/sc/inc/dpresfilter.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-04-18 11:19:01 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-04-19 00:30:10 -0400
commit09d8d7554d6fa02aefcd84a898b12fa63c344b26 (patch)
treeebf14c09f7d1d8f321a4a2a60d1fe6627533c479 /sc/inc/dpresfilter.hxx
parentac569ed4cf5064248b9952f182f6572f20dc9bcb (diff)
Add some more notes to make it easier to pick up on this for my next visit.
Looks like I have to put this on the shelf once again... Change-Id: I6288d019170278e484befaac3ee57cea24a69c0e
Diffstat (limited to 'sc/inc/dpresfilter.hxx')
-rw-r--r--sc/inc/dpresfilter.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/sc/inc/dpresfilter.hxx b/sc/inc/dpresfilter.hxx
index db32f6e16d90..05bcdcb45ae1 100644
--- a/sc/inc/dpresfilter.hxx
+++ b/sc/inc/dpresfilter.hxx
@@ -32,6 +32,20 @@ struct ScDPResultFilter
ScDPResultFilter(const OUString& rDimName, bool bDataLayout);
};
+/**
+ * This class maintains pivot table calculation result in a tree structure
+ * which represents the logical structure of pivot table result layout as
+ * presented in the sheet.
+ *
+ * <p>The root node has two child nodes if the pivot table consists of both
+ * column and row dimensions. The first child stores the result tree that is
+ * first filtered by row dimensions then by column dimensions. The second
+ * child stores the result tree that is filtered by column dimensions only
+ * (for column grand totals).</p>
+ *
+ * <p>If the pivot table layout only consists of either column or row
+ * dimensions, the root node only has one child node.</p>
+ */
class ScDPResultFilterSet : boost::noncopyable
{
struct MemberNode;
@@ -74,6 +88,7 @@ class ScDPResultFilterSet : boost::noncopyable
#endif
};
+ OUString maPrimaryDimName;
MemberNode* mpRoot;
public: